 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138176 -3.123665)', '2026-07-02 16:27:49', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123658)'), GeomFromEWKT('SRID=4674;POINT (-39.138176 -3.123665)'))) / (select extract(epoch from '2026-07-02 16:27:49'::timestamp) - extract(epoch from '2026-07-02 16:27:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123658)'), GeomFromEWKT('SRID=4674;POINT (-39.138176 -3.123665)'))) / (select extract(epoch from '2026-07-02 16:27:49'::timestamp) - extract(epoch from '2026-07-02 16:27:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138182 -3.12367)', '2026-07-02 16:28:06', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138176 -3.123665)'), GeomFromEWKT('SRID=4674;POINT (-39.138182 -3.12367)'))) / (select extract(epoch from '2026-07-02 16:28:06'::timestamp) - extract(epoch from '2026-07-02 16:27:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138176 -3.123665)'), GeomFromEWKT('SRID=4674;POINT (-39.138182 -3.12367)'))) / (select extract(epoch from '2026-07-02 16:28:06'::timestamp) - extract(epoch from '2026-07-02 16:27: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'), 47520, 'SRID=4674;POINT (-39.138183 -3.123667)', '2026-07-02 16:28:13', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138182 -3.12367)'), GeomFromEWKT('SRID=4674;POINT (-39.138183 -3.123667)'))) / (select extract(epoch from '2026-07-02 16:28:13'::timestamp) - extract(epoch from '2026-07-02 16:28:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138182 -3.12367)'), GeomFromEWKT('SRID=4674;POINT (-39.138183 -3.123667)'))) / (select extract(epoch from '2026-07-02 16:28:13'::timestamp) - extract(epoch from '2026-07-02 16:28:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138171 -3.123667)', '2026-07-02 16:28:16', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138183 -3.123667)'), GeomFromEWKT('SRID=4674;POINT (-39.138171 -3.123667)'))) / (select extract(epoch from '2026-07-02 16:28:16'::timestamp) - extract(epoch from '2026-07-02 16:28:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138183 -3.123667)'), GeomFromEWKT('SRID=4674;POINT (-39.138171 -3.123667)'))) / (select extract(epoch from '2026-07-02 16:28:16'::timestamp) - extract(epoch from '2026-07-02 16:28:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138181 -3.123662)', '2026-07-02 16:28:18', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138171 -3.123667)'), GeomFromEWKT('SRID=4674;POINT (-39.138181 -3.123662)'))) / (select extract(epoch from '2026-07-02 16:28:18'::timestamp) - extract(epoch from '2026-07-02 16:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138171 -3.123667)'), GeomFromEWKT('SRID=4674;POINT (-39.138181 -3.123662)'))) / (select extract(epoch from '2026-07-02 16:28:18'::timestamp) - extract(epoch from '2026-07-02 16:28: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'), 47520, 'SRID=4674;POINT (-39.138175 -3.123657)', '2026-07-02 16:28:22', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138181 -3.123662)'), GeomFromEWKT('SRID=4674;POINT (-39.138175 -3.123657)'))) / (select extract(epoch from '2026-07-02 16:28:22'::timestamp) - extract(epoch from '2026-07-02 16:28:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138181 -3.123662)'), GeomFromEWKT('SRID=4674;POINT (-39.138175 -3.123657)'))) / (select extract(epoch from '2026-07-02 16:28:22'::timestamp) - extract(epoch from '2026-07-02 16:28:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138174 -3.123658)', '2026-07-02 16:28:27', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138175 -3.123657)'), GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123658)'))) / (select extract(epoch from '2026-07-02 16:28:27'::timestamp) - extract(epoch from '2026-07-02 16:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138175 -3.123657)'), GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123658)'))) / (select extract(epoch from '2026-07-02 16:28:27'::timestamp) - extract(epoch from '2026-07-02 16:28: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'), 47520, 'SRID=4674;POINT (-39.138178 -3.123651)', '2026-07-02 16:28:36', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123658)'), GeomFromEWKT('SRID=4674;POINT (-39.138178 -3.123651)'))) / (select extract(epoch from '2026-07-02 16:28:36'::timestamp) - extract(epoch from '2026-07-02 16:28:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123658)'), GeomFromEWKT('SRID=4674;POINT (-39.138178 -3.123651)'))) / (select extract(epoch from '2026-07-02 16:28:36'::timestamp) - extract(epoch from '2026-07-02 16:28:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138169 -3.123649)', '2026-07-02 16:28:45', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138178 -3.123651)'), GeomFromEWKT('SRID=4674;POINT (-39.138169 -3.123649)'))) / (select extract(epoch from '2026-07-02 16:28:45'::timestamp) - extract(epoch from '2026-07-02 16:28:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138178 -3.123651)'), GeomFromEWKT('SRID=4674;POINT (-39.138169 -3.123649)'))) / (select extract(epoch from '2026-07-02 16:28:45'::timestamp) - extract(epoch from '2026-07-02 16:28:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.13817 -3.123643)', '2026-07-02 16:28:59', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138169 -3.123649)'), GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123643)'))) / (select extract(epoch from '2026-07-02 16:28:59'::timestamp) - extract(epoch from '2026-07-02 16:28:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138169 -3.123649)'), GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123643)'))) / (select extract(epoch from '2026-07-02 16:28:59'::timestamp) - extract(epoch from '2026-07-02 16:28: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'), 47520, 'SRID=4674;POINT (-39.138159 -3.123639)', '2026-07-02 16:29:06', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123643)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123639)'))) / (select extract(epoch from '2026-07-02 16:29:06'::timestamp) - extract(epoch from '2026-07-02 16:28:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123643)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123639)'))) / (select extract(epoch from '2026-07-02 16:29:06'::timestamp) - extract(epoch from '2026-07-02 16:28: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'), 47520, 'SRID=4674;POINT (-39.138158 -3.123643)', '2026-07-02 16:29:09', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123639)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123643)'))) / (select extract(epoch from '2026-07-02 16:29:09'::timestamp) - extract(epoch from '2026-07-02 16:29:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123639)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123643)'))) / (select extract(epoch from '2026-07-02 16:29:09'::timestamp) - extract(epoch from '2026-07-02 16:29:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138163 -3.12364)', '2026-07-02 16:29:19', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123643)'), GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.12364)'))) / (select extract(epoch from '2026-07-02 16:29:19'::timestamp) - extract(epoch from '2026-07-02 16:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123643)'), GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.12364)'))) / (select extract(epoch from '2026-07-02 16:29:19'::timestamp) - extract(epoch from '2026-07-02 16:29: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'), 47520, 'SRID=4674;POINT (-39.13816 -3.123639)', '2026-07-02 16:29:27', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.12364)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123639)'))) / (select extract(epoch from '2026-07-02 16:29:27'::timestamp) - extract(epoch from '2026-07-02 16:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.12364)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123639)'))) / (select extract(epoch from '2026-07-02 16:29:27'::timestamp) - extract(epoch from '2026-07-02 16:29: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'), 47520, 'SRID=4674;POINT (-39.138156 -3.123643)', '2026-07-02 16:29:42', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123639)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123643)'))) / (select extract(epoch from '2026-07-02 16:29:42'::timestamp) - extract(epoch from '2026-07-02 16:29:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123639)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123643)'))) / (select extract(epoch from '2026-07-02 16:29:42'::timestamp) - extract(epoch from '2026-07-02 16:29:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138157 -3.123636)', '2026-07-02 16:29:54', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123643)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123636)'))) / (select extract(epoch from '2026-07-02 16:29:54'::timestamp) - extract(epoch from '2026-07-02 16:29:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123643)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123636)'))) / (select extract(epoch from '2026-07-02 16:29:54'::timestamp) - extract(epoch from '2026-07-02 16:29:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.13817 -3.123649)', '2026-07-02 16:30:14', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123636)'), GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123649)'))) / (select extract(epoch from '2026-07-02 16:30:14'::timestamp) - extract(epoch from '2026-07-02 16:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123636)'), GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123649)'))) / (select extract(epoch from '2026-07-02 16:30:14'::timestamp) - extract(epoch from '2026-07-02 16:29:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138171 -3.123652)', '2026-07-02 16:30:15', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123649)'), GeomFromEWKT('SRID=4674;POINT (-39.138171 -3.123652)'))) / (select extract(epoch from '2026-07-02 16:30:15'::timestamp) - extract(epoch from '2026-07-02 16:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123649)'), GeomFromEWKT('SRID=4674;POINT (-39.138171 -3.123652)'))) / (select extract(epoch from '2026-07-02 16:30:15'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47520, 'SRID=4674;POINT (-39.138178 -3.123648)', '2026-07-02 16:30:23', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138171 -3.123652)'), GeomFromEWKT('SRID=4674;POINT (-39.138178 -3.123648)'))) / (select extract(epoch from '2026-07-02 16:30:23'::timestamp) - extract(epoch from '2026-07-02 16:30:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138171 -3.123652)'), GeomFromEWKT('SRID=4674;POINT (-39.138178 -3.123648)'))) / (select extract(epoch from '2026-07-02 16:30:23'::timestamp) - extract(epoch from '2026-07-02 16:30:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138165 -3.123657)', '2026-07-02 16:30:30', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138178 -3.123648)'), GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123657)'))) / (select extract(epoch from '2026-07-02 16:30:30'::timestamp) - extract(epoch from '2026-07-02 16:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138178 -3.123648)'), GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123657)'))) / (select extract(epoch from '2026-07-02 16:30:30'::timestamp) - extract(epoch from '2026-07-02 16:30:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138174 -3.123663)', '2026-07-02 16:30:38', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123657)'), GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123663)'))) / (select extract(epoch from '2026-07-02 16:30:38'::timestamp) - extract(epoch from '2026-07-02 16:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123657)'), GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123663)'))) / (select extract(epoch from '2026-07-02 16:30:38'::timestamp) - extract(epoch from '2026-07-02 16:30: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'), 47520, 'SRID=4674;POINT (-39.13816 -3.123666)', '2026-07-02 16:30:46', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123663)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123666)'))) / (select extract(epoch from '2026-07-02 16:30:46'::timestamp) - extract(epoch from '2026-07-02 16:30:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123663)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123666)'))) / (select extract(epoch from '2026-07-02 16:30:46'::timestamp) - extract(epoch from '2026-07-02 16:30:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138158 -3.12367)', '2026-07-02 16:31:15', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123666)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.12367)'))) / (select extract(epoch from '2026-07-02 16:31:15'::timestamp) - extract(epoch from '2026-07-02 16:30:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123666)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.12367)'))) / (select extract(epoch from '2026-07-02 16:31:15'::timestamp) - extract(epoch from '2026-07-02 16:30: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'), 47520, 'SRID=4674;POINT (-39.138139 -3.123668)', '2026-07-02 16:31:25', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.12367)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123668)'))) / (select extract(epoch from '2026-07-02 16:31:25'::timestamp) - extract(epoch from '2026-07-02 16:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.12367)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123668)'))) / (select extract(epoch from '2026-07-02 16:31:25'::timestamp) - extract(epoch from '2026-07-02 16:31:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138139 -3.123672)', '2026-07-02 16:31:33', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123668)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123672)'))) / (select extract(epoch from '2026-07-02 16:31:33'::timestamp) - extract(epoch from '2026-07-02 16:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123668)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123672)'))) / (select extract(epoch from '2026-07-02 16:31:33'::timestamp) - extract(epoch from '2026-07-02 16:31:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138152 -3.123671)', '2026-07-02 16:31:38', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123672)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123671)'))) / (select extract(epoch from '2026-07-02 16:31:38'::timestamp) - extract(epoch from '2026-07-02 16:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123672)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123671)'))) / (select extract(epoch from '2026-07-02 16:31:38'::timestamp) - extract(epoch from '2026-07-02 16:31: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'), 47520, 'SRID=4674;POINT (-39.138152 -3.123666)', '2026-07-02 16:31:41', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123671)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123666)'))) / (select extract(epoch from '2026-07-02 16:31:41'::timestamp) - extract(epoch from '2026-07-02 16:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123671)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123666)'))) / (select extract(epoch from '2026-07-02 16:31:41'::timestamp) - extract(epoch from '2026-07-02 16:31:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138152 -3.123661)', '2026-07-02 16:31:44', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123666)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123661)'))) / (select extract(epoch from '2026-07-02 16:31:44'::timestamp) - extract(epoch from '2026-07-02 16:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123666)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123661)'))) / (select extract(epoch from '2026-07-02 16:31:44'::timestamp) - extract(epoch from '2026-07-02 16:31:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138148 -3.123666)', '2026-07-02 16:31:51', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123661)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123666)'))) / (select extract(epoch from '2026-07-02 16:31:51'::timestamp) - extract(epoch from '2026-07-02 16:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123661)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123666)'))) / (select extract(epoch from '2026-07-02 16:31:51'::timestamp) - extract(epoch from '2026-07-02 16:31: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'), 47520, 'SRID=4674;POINT (-39.138144 -3.123662)', '2026-07-02 16:32:14', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123666)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123662)'))) / (select extract(epoch from '2026-07-02 16:32:14'::timestamp) - extract(epoch from '2026-07-02 16:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123666)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123662)'))) / (select extract(epoch from '2026-07-02 16:32:14'::timestamp) - extract(epoch from '2026-07-02 16:31: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'), 47520, 'SRID=4674;POINT (-39.138148 -3.123668)', '2026-07-02 16:32:20', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123662)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123668)'))) / (select extract(epoch from '2026-07-02 16:32:20'::timestamp) - extract(epoch from '2026-07-02 16:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123662)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123668)'))) / (select extract(epoch from '2026-07-02 16:32:20'::timestamp) - extract(epoch from '2026-07-02 16:32:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138148 -3.123669)', '2026-07-02 16:32:24', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123668)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123669)'))) / (select extract(epoch from '2026-07-02 16:32:24'::timestamp) - extract(epoch from '2026-07-02 16:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123668)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123669)'))) / (select extract(epoch from '2026-07-02 16:32:24'::timestamp) - extract(epoch from '2026-07-02 16:32:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138135 -3.123668)', '2026-07-02 16:32:25', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123669)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123668)'))) / (select extract(epoch from '2026-07-02 16:32:25'::timestamp) - extract(epoch from '2026-07-02 16:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123669)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123668)'))) / (select extract(epoch from '2026-07-02 16:32:25'::timestamp) - extract(epoch from '2026-07-02 16:32: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'), 47520, 'SRID=4674;POINT (-39.138137 -3.12367)', '2026-07-02 16:32:26', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123668)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.12367)'))) / (select extract(epoch from '2026-07-02 16:32:26'::timestamp) - extract(epoch from '2026-07-02 16:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123668)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.12367)'))) / (select extract(epoch from '2026-07-02 16:32:26'::timestamp) - extract(epoch from '2026-07-02 16:32:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138151 -3.123677)', '2026-07-02 16:32:28', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.12367)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123677)'))) / (select extract(epoch from '2026-07-02 16:32:28'::timestamp) - extract(epoch from '2026-07-02 16:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.12367)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123677)'))) / (select extract(epoch from '2026-07-02 16:32:28'::timestamp) - extract(epoch from '2026-07-02 16:32: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'), 47520, 'SRID=4674;POINT (-39.138138 -3.123674)', '2026-07-02 16:32:30', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123677)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123674)'))) / (select extract(epoch from '2026-07-02 16:32:30'::timestamp) - extract(epoch from '2026-07-02 16:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123677)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123674)'))) / (select extract(epoch from '2026-07-02 16:32:30'::timestamp) - extract(epoch from '2026-07-02 16:32:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138134 -3.12367)', '2026-07-02 16:32:32', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123674)'), GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.12367)'))) / (select extract(epoch from '2026-07-02 16:32:32'::timestamp) - extract(epoch from '2026-07-02 16:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123674)'), GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.12367)'))) / (select extract(epoch from '2026-07-02 16:32:32'::timestamp) - extract(epoch from '2026-07-02 16:32:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138148 -3.123668)', '2026-07-02 16:32:41', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.12367)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123668)'))) / (select extract(epoch from '2026-07-02 16:32:41'::timestamp) - extract(epoch from '2026-07-02 16:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.12367)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123668)'))) / (select extract(epoch from '2026-07-02 16:32:41'::timestamp) - extract(epoch from '2026-07-02 16:32: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'), 47520, 'SRID=4674;POINT (-39.138149 -3.123674)', '2026-07-02 16:32:50', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123668)'), GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.123674)'))) / (select extract(epoch from '2026-07-02 16:32:50'::timestamp) - extract(epoch from '2026-07-02 16:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123668)'), GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.123674)'))) / (select extract(epoch from '2026-07-02 16:32:50'::timestamp) - extract(epoch from '2026-07-02 16:32:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138158 -3.123663)', '2026-07-02 16:33:07', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.123674)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123663)'))) / (select extract(epoch from '2026-07-02 16:33:07'::timestamp) - extract(epoch from '2026-07-02 16:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.123674)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123663)'))) / (select extract(epoch from '2026-07-02 16:33:07'::timestamp) - extract(epoch from '2026-07-02 16:32:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138169 -3.12366)', '2026-07-02 16:33:16', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123663)'), GeomFromEWKT('SRID=4674;POINT (-39.138169 -3.12366)'))) / (select extract(epoch from '2026-07-02 16:33:16'::timestamp) - extract(epoch from '2026-07-02 16:33:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123663)'), GeomFromEWKT('SRID=4674;POINT (-39.138169 -3.12366)'))) / (select extract(epoch from '2026-07-02 16:33:16'::timestamp) - extract(epoch from '2026-07-02 16:33:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138151 -3.123653)', '2026-07-02 16:33:21', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138169 -3.12366)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123653)'))) / (select extract(epoch from '2026-07-02 16:33:21'::timestamp) - extract(epoch from '2026-07-02 16:33:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138169 -3.12366)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123653)'))) / (select extract(epoch from '2026-07-02 16:33:21'::timestamp) - extract(epoch from '2026-07-02 16:33:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138164 -3.123644)', '2026-07-02 16:33:29', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123653)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123644)'))) / (select extract(epoch from '2026-07-02 16:33:29'::timestamp) - extract(epoch from '2026-07-02 16:33:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123653)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123644)'))) / (select extract(epoch from '2026-07-02 16:33:29'::timestamp) - extract(epoch from '2026-07-02 16:33:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138156 -3.123644)', '2026-07-02 16:34:16', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123644)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123644)'))) / (select extract(epoch from '2026-07-02 16:34:16'::timestamp) - extract(epoch from '2026-07-02 16:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123644)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123644)'))) / (select extract(epoch from '2026-07-02 16:34:16'::timestamp) - extract(epoch from '2026-07-02 16:33:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138158 -3.123645)', '2026-07-02 16:34:22', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123644)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123645)'))) / (select extract(epoch from '2026-07-02 16:34:22'::timestamp) - extract(epoch from '2026-07-02 16:34:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123644)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123645)'))) / (select extract(epoch from '2026-07-02 16:34:22'::timestamp) - extract(epoch from '2026-07-02 16:34:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138142 -3.123639)', '2026-07-02 16:34:49', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123645)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123639)'))) / (select extract(epoch from '2026-07-02 16:34:49'::timestamp) - extract(epoch from '2026-07-02 16:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123645)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123639)'))) / (select extract(epoch from '2026-07-02 16:34:49'::timestamp) - extract(epoch from '2026-07-02 16:34:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138148 -3.123645)', '2026-07-02 16:34:59', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123639)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123645)'))) / (select extract(epoch from '2026-07-02 16:34:59'::timestamp) - extract(epoch from '2026-07-02 16:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123639)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123645)'))) / (select extract(epoch from '2026-07-02 16:34:59'::timestamp) - extract(epoch from '2026-07-02 16:34: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'), 47520, 'SRID=4674;POINT (-39.13815 -3.123638)', '2026-07-02 16:35:09', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123645)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123638)'))) / (select extract(epoch from '2026-07-02 16:35:09'::timestamp) - extract(epoch from '2026-07-02 16:34:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123645)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123638)'))) / (select extract(epoch from '2026-07-02 16:35:09'::timestamp) - extract(epoch from '2026-07-02 16:34: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'), 47520, 'SRID=4674;POINT (-39.138148 -3.123635)', '2026-07-02 16:35:13', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123638)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123635)'))) / (select extract(epoch from '2026-07-02 16:35:13'::timestamp) - extract(epoch from '2026-07-02 16:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123638)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123635)'))) / (select extract(epoch from '2026-07-02 16:35:13'::timestamp) - extract(epoch from '2026-07-02 16:35: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'), 47520, 'SRID=4674;POINT (-39.138144 -3.123631)', '2026-07-02 16:35:21', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123635)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123631)'))) / (select extract(epoch from '2026-07-02 16:35:21'::timestamp) - extract(epoch from '2026-07-02 16:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123635)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123631)'))) / (select extract(epoch from '2026-07-02 16:35:21'::timestamp) - extract(epoch from '2026-07-02 16:35:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138146 -3.123639)', '2026-07-02 16:35:43', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123631)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123639)'))) / (select extract(epoch from '2026-07-02 16:35:43'::timestamp) - extract(epoch from '2026-07-02 16:35:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123631)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123639)'))) / (select extract(epoch from '2026-07-02 16:35:43'::timestamp) - extract(epoch from '2026-07-02 16:35: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'), 47520, 'SRID=4674;POINT (-39.138163 -3.123636)', '2026-07-02 16:36:11', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123639)'), GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123636)'))) / (select extract(epoch from '2026-07-02 16:36:11'::timestamp) - extract(epoch from '2026-07-02 16:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123639)'), GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123636)'))) / (select extract(epoch from '2026-07-02 16:36:11'::timestamp) - extract(epoch from '2026-07-02 16:35:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138159 -3.123639)', '2026-07-02 16:36:18', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123636)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123639)'))) / (select extract(epoch from '2026-07-02 16:36:18'::timestamp) - extract(epoch from '2026-07-02 16:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123636)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123639)'))) / (select extract(epoch from '2026-07-02 16:36:18'::timestamp) - extract(epoch from '2026-07-02 16:36: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'), 47520, 'SRID=4674;POINT (-39.138155 -3.123642)', '2026-07-02 16:36:22', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123639)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123642)'))) / (select extract(epoch from '2026-07-02 16:36:22'::timestamp) - extract(epoch from '2026-07-02 16:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123639)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123642)'))) / (select extract(epoch from '2026-07-02 16:36:22'::timestamp) - extract(epoch from '2026-07-02 16:36: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'), 47520, 'SRID=4674;POINT (-39.138153 -3.123653)', '2026-07-02 16:36:35', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123642)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123653)'))) / (select extract(epoch from '2026-07-02 16:36:35'::timestamp) - extract(epoch from '2026-07-02 16:36:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123642)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123653)'))) / (select extract(epoch from '2026-07-02 16:36:35'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47520, 'SRID=4674;POINT (-39.13815 -3.12365)', '2026-07-02 16:36:38', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123653)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.12365)'))) / (select extract(epoch from '2026-07-02 16:36:38'::timestamp) - extract(epoch from '2026-07-02 16:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123653)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.12365)'))) / (select extract(epoch from '2026-07-02 16:36:38'::timestamp) - extract(epoch from '2026-07-02 16:36:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138153 -3.12365)', '2026-07-02 16:37:00', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.12365)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.12365)'))) / (select extract(epoch from '2026-07-02 16:37:00'::timestamp) - extract(epoch from '2026-07-02 16:36:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.12365)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.12365)'))) / (select extract(epoch from '2026-07-02 16:37:00'::timestamp) - extract(epoch from '2026-07-02 16:36: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'), 47520, 'SRID=4674;POINT (-39.138156 -3.123649)', '2026-07-02 16:37:08', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.12365)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123649)'))) / (select extract(epoch from '2026-07-02 16:37:08'::timestamp) - extract(epoch from '2026-07-02 16:37:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.12365)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123649)'))) / (select extract(epoch from '2026-07-02 16:37:08'::timestamp) - extract(epoch from '2026-07-02 16:37:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138162 -3.123655)', '2026-07-02 16:37:13', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123649)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123655)'))) / (select extract(epoch from '2026-07-02 16:37:13'::timestamp) - extract(epoch from '2026-07-02 16:37:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123649)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123655)'))) / (select extract(epoch from '2026-07-02 16:37:13'::timestamp) - extract(epoch from '2026-07-02 16:37: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'), 47520, 'SRID=4674;POINT (-39.138148 -3.123648)', '2026-07-02 16:37:21', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123655)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123648)'))) / (select extract(epoch from '2026-07-02 16:37:21'::timestamp) - extract(epoch from '2026-07-02 16:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123655)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123648)'))) / (select extract(epoch from '2026-07-02 16:37:21'::timestamp) - extract(epoch from '2026-07-02 16:37: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'), 47520, 'SRID=4674;POINT (-39.138137 -3.123638)', '2026-07-02 16:37:26', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123648)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123638)'))) / (select extract(epoch from '2026-07-02 16:37:26'::timestamp) - extract(epoch from '2026-07-02 16:37:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123648)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123638)'))) / (select extract(epoch from '2026-07-02 16:37:26'::timestamp) - extract(epoch from '2026-07-02 16:37:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138147 -3.123611)', '2026-07-02 16:38:01', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123638)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123611)'))) / (select extract(epoch from '2026-07-02 16:38:01'::timestamp) - extract(epoch from '2026-07-02 16:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123638)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123611)'))) / (select extract(epoch from '2026-07-02 16:38:01'::timestamp) - extract(epoch from '2026-07-02 16:37:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.13815 -3.123613)', '2026-07-02 16:38:02', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123611)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123613)'))) / (select extract(epoch from '2026-07-02 16:38:02'::timestamp) - extract(epoch from '2026-07-02 16:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123611)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123613)'))) / (select extract(epoch from '2026-07-02 16:38:02'::timestamp) - extract(epoch from '2026-07-02 16:38:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138139 -3.123604)', '2026-07-02 16:38:42', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123613)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123604)'))) / (select extract(epoch from '2026-07-02 16:38:42'::timestamp) - extract(epoch from '2026-07-02 16:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123613)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123604)'))) / (select extract(epoch from '2026-07-02 16:38:42'::timestamp) - extract(epoch from '2026-07-02 16:38:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138137 -3.123607)', '2026-07-02 16:38:43', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123604)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123607)'))) / (select extract(epoch from '2026-07-02 16:38:43'::timestamp) - extract(epoch from '2026-07-02 16:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123604)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123607)'))) / (select extract(epoch from '2026-07-02 16:38:43'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47520, 'SRID=4674;POINT (-39.138131 -3.123607)', '2026-07-02 16:38:46', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123607)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123607)'))) / (select extract(epoch from '2026-07-02 16:38:46'::timestamp) - extract(epoch from '2026-07-02 16:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123607)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123607)'))) / (select extract(epoch from '2026-07-02 16:38:46'::timestamp) - extract(epoch from '2026-07-02 16:38:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.13814 -3.123608)', '2026-07-02 16:39:02', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123607)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123608)'))) / (select extract(epoch from '2026-07-02 16:39:02'::timestamp) - extract(epoch from '2026-07-02 16:38:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123607)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123608)'))) / (select extract(epoch from '2026-07-02 16:39:02'::timestamp) - extract(epoch from '2026-07-02 16:38: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'), 47520, 'SRID=4674;POINT (-39.13814 -3.123615)', '2026-07-02 16:39:10', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123608)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123615)'))) / (select extract(epoch from '2026-07-02 16:39:10'::timestamp) - extract(epoch from '2026-07-02 16:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123608)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123615)'))) / (select extract(epoch from '2026-07-02 16:39:10'::timestamp) - extract(epoch from '2026-07-02 16:39:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138142 -3.123612)', '2026-07-02 16:39:20', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123615)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123612)'))) / (select extract(epoch from '2026-07-02 16:39:20'::timestamp) - extract(epoch from '2026-07-02 16:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123615)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123612)'))) / (select extract(epoch from '2026-07-02 16:39:20'::timestamp) - extract(epoch from '2026-07-02 16:39: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'), 47520, 'SRID=4674;POINT (-39.138142 -3.123608)', '2026-07-02 16:39:26', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123612)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123608)'))) / (select extract(epoch from '2026-07-02 16:39:26'::timestamp) - extract(epoch from '2026-07-02 16:39:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123612)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123608)'))) / (select extract(epoch from '2026-07-02 16:39:26'::timestamp) - extract(epoch from '2026-07-02 16:39: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'), 47520, 'SRID=4674;POINT (-39.138131 -3.123621)', '2026-07-02 16:39:55', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123608)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123621)'))) / (select extract(epoch from '2026-07-02 16:39:55'::timestamp) - extract(epoch from '2026-07-02 16:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123608)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123621)'))) / (select extract(epoch from '2026-07-02 16:39:55'::timestamp) - extract(epoch from '2026-07-02 16:39: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'), 47520, 'SRID=4674;POINT (-39.138133 -3.123636)', '2026-07-02 16:40:05', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123621)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123636)'))) / (select extract(epoch from '2026-07-02 16:40:05'::timestamp) - extract(epoch from '2026-07-02 16:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123621)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123636)'))) / (select extract(epoch from '2026-07-02 16:40:05'::timestamp) - extract(epoch from '2026-07-02 16:39:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138135 -3.123642)', '2026-07-02 16:40:26', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123636)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123642)'))) / (select extract(epoch from '2026-07-02 16:40:26'::timestamp) - extract(epoch from '2026-07-02 16:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123636)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123642)'))) / (select extract(epoch from '2026-07-02 16:40:26'::timestamp) - extract(epoch from '2026-07-02 16:40:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138147 -3.123641)', '2026-07-02 16:40:31', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123642)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123641)'))) / (select extract(epoch from '2026-07-02 16:40:31'::timestamp) - extract(epoch from '2026-07-02 16:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123642)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123641)'))) / (select extract(epoch from '2026-07-02 16:40:31'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47520, 'SRID=4674;POINT (-39.138153 -3.123634)', '2026-07-02 16:40:39', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123641)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123634)'))) / (select extract(epoch from '2026-07-02 16:40:39'::timestamp) - extract(epoch from '2026-07-02 16:40:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123641)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123634)'))) / (select extract(epoch from '2026-07-02 16:40:39'::timestamp) - extract(epoch from '2026-07-02 16:40:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138169 -3.12363)', '2026-07-02 16:41:00', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123634)'), GeomFromEWKT('SRID=4674;POINT (-39.138169 -3.12363)'))) / (select extract(epoch from '2026-07-02 16:41:00'::timestamp) - extract(epoch from '2026-07-02 16:40:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123634)'), GeomFromEWKT('SRID=4674;POINT (-39.138169 -3.12363)'))) / (select extract(epoch from '2026-07-02 16:41:00'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47520, 'SRID=4674;POINT (-39.138172 -3.123633)', '2026-07-02 16:41:07', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138169 -3.12363)'), GeomFromEWKT('SRID=4674;POINT (-39.138172 -3.123633)'))) / (select extract(epoch from '2026-07-02 16:41:07'::timestamp) - extract(epoch from '2026-07-02 16:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138169 -3.12363)'), GeomFromEWKT('SRID=4674;POINT (-39.138172 -3.123633)'))) / (select extract(epoch from '2026-07-02 16:41:07'::timestamp) - extract(epoch from '2026-07-02 16:41: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'), 47520, 'SRID=4674;POINT (-39.13817 -3.123635)', '2026-07-02 16:41:20', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138172 -3.123633)'), GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123635)'))) / (select extract(epoch from '2026-07-02 16:41:20'::timestamp) - extract(epoch from '2026-07-02 16:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138172 -3.123633)'), GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123635)'))) / (select extract(epoch from '2026-07-02 16:41:20'::timestamp) - extract(epoch from '2026-07-02 16:41:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138167 -3.123637)', '2026-07-02 16:41:28', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123635)'), GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123637)'))) / (select extract(epoch from '2026-07-02 16:41:28'::timestamp) - extract(epoch from '2026-07-02 16:41:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123635)'), GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123637)'))) / (select extract(epoch from '2026-07-02 16:41:28'::timestamp) - extract(epoch from '2026-07-02 16:41: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'), 47520, 'SRID=4674;POINT (-39.138159 -3.123655)', '2026-07-02 16:41:50', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123637)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123655)'))) / (select extract(epoch from '2026-07-02 16:41:50'::timestamp) - extract(epoch from '2026-07-02 16:41:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123637)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123655)'))) / (select extract(epoch from '2026-07-02 16:41:50'::timestamp) - extract(epoch from '2026-07-02 16:41: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'), 47520, 'SRID=4674;POINT (-39.13816 -3.123661)', '2026-07-02 16:42:01', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123655)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123661)'))) / (select extract(epoch from '2026-07-02 16:42:01'::timestamp) - extract(epoch from '2026-07-02 16:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123655)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123661)'))) / (select extract(epoch from '2026-07-02 16:42:01'::timestamp) - extract(epoch from '2026-07-02 16:41:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.13816 -3.12366)', '2026-07-02 16:42:04', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123661)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.12366)'))) / (select extract(epoch from '2026-07-02 16:42:04'::timestamp) - extract(epoch from '2026-07-02 16:42:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123661)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.12366)'))) / (select extract(epoch from '2026-07-02 16:42:04'::timestamp) - extract(epoch from '2026-07-02 16:42: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'), 47520, 'SRID=4674;POINT (-39.138164 -3.123661)', '2026-07-02 16:42:32', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.12366)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123661)'))) / (select extract(epoch from '2026-07-02 16:42:32'::timestamp) - extract(epoch from '2026-07-02 16:42:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.12366)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123661)'))) / (select extract(epoch from '2026-07-02 16:42:32'::timestamp) - extract(epoch from '2026-07-02 16:42: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'), 47520, 'SRID=4674;POINT (-39.138151 -3.123665)', '2026-07-02 16:42:36', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123661)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123665)'))) / (select extract(epoch from '2026-07-02 16:42:36'::timestamp) - extract(epoch from '2026-07-02 16:42:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123661)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123665)'))) / (select extract(epoch from '2026-07-02 16:42:36'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47520, 'SRID=4674;POINT (-39.138163 -3.123672)', '2026-07-02 16:43:06', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123665)'), GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123672)'))) / (select extract(epoch from '2026-07-02 16:43:06'::timestamp) - extract(epoch from '2026-07-02 16:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123665)'), GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123672)'))) / (select extract(epoch from '2026-07-02 16:43:06'::timestamp) - extract(epoch from '2026-07-02 16:42:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138164 -3.123675)', '2026-07-02 16:43:12', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123672)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123675)'))) / (select extract(epoch from '2026-07-02 16:43:12'::timestamp) - extract(epoch from '2026-07-02 16:43:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123672)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123675)'))) / (select extract(epoch from '2026-07-02 16:43:12'::timestamp) - extract(epoch from '2026-07-02 16:43: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'), 47520, 'SRID=4674;POINT (-39.138162 -3.123685)', '2026-07-02 16:43:18', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123675)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123685)'))) / (select extract(epoch from '2026-07-02 16:43:18'::timestamp) - extract(epoch from '2026-07-02 16:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123675)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123685)'))) / (select extract(epoch from '2026-07-02 16:43:18'::timestamp) - extract(epoch from '2026-07-02 16:43:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138158 -3.123689)', '2026-07-02 16:43:26', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123685)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123689)'))) / (select extract(epoch from '2026-07-02 16:43:26'::timestamp) - extract(epoch from '2026-07-02 16:43:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123685)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123689)'))) / (select extract(epoch from '2026-07-02 16:43:26'::timestamp) - extract(epoch from '2026-07-02 16:43: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'), 47520, 'SRID=4674;POINT (-39.138148 -3.123661)', '2026-07-02 16:44:03', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123689)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123661)'))) / (select extract(epoch from '2026-07-02 16:44:03'::timestamp) - extract(epoch from '2026-07-02 16:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123689)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123661)'))) / (select extract(epoch from '2026-07-02 16:44:03'::timestamp) - extract(epoch from '2026-07-02 16:43:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138158 -3.123662)', '2026-07-02 16:44:16', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123661)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123662)'))) / (select extract(epoch from '2026-07-02 16:44:16'::timestamp) - extract(epoch from '2026-07-02 16:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123661)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123662)'))) / (select extract(epoch from '2026-07-02 16:44:16'::timestamp) - extract(epoch from '2026-07-02 16:44: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'), 47520, 'SRID=4674;POINT (-39.138157 -3.123662)', '2026-07-02 16:44:56', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123662)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123662)'))) / (select extract(epoch from '2026-07-02 16:44:56'::timestamp) - extract(epoch from '2026-07-02 16:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123662)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123662)'))) / (select extract(epoch from '2026-07-02 16:44:56'::timestamp) - extract(epoch from '2026-07-02 16:44: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'), 47520, 'SRID=4674;POINT (-39.138158 -3.123658)', '2026-07-02 16:45:14', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123662)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123658)'))) / (select extract(epoch from '2026-07-02 16:45:14'::timestamp) - extract(epoch from '2026-07-02 16:44:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123662)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123658)'))) / (select extract(epoch from '2026-07-02 16:45:14'::timestamp) - extract(epoch from '2026-07-02 16:44:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138174 -3.123668)', '2026-07-02 16:45:43', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123658)'), GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123668)'))) / (select extract(epoch from '2026-07-02 16:45:43'::timestamp) - extract(epoch from '2026-07-02 16:45:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123658)'), GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123668)'))) / (select extract(epoch from '2026-07-02 16:45:43'::timestamp) - extract(epoch from '2026-07-02 16:45:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138175 -3.123663)', '2026-07-02 16:46:19', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123668)'), GeomFromEWKT('SRID=4674;POINT (-39.138175 -3.123663)'))) / (select extract(epoch from '2026-07-02 16:46:19'::timestamp) - extract(epoch from '2026-07-02 16:45:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123668)'), GeomFromEWKT('SRID=4674;POINT (-39.138175 -3.123663)'))) / (select extract(epoch from '2026-07-02 16:46:19'::timestamp) - extract(epoch from '2026-07-02 16:45: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'), 47520, 'SRID=4674;POINT (-39.138163 -3.123657)', '2026-07-02 16:46:36', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138175 -3.123663)'), GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123657)'))) / (select extract(epoch from '2026-07-02 16:46:36'::timestamp) - extract(epoch from '2026-07-02 16:46:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138175 -3.123663)'), GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123657)'))) / (select extract(epoch from '2026-07-02 16:46:36'::timestamp) - extract(epoch from '2026-07-02 16:46:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138187 -3.123667)', '2026-07-02 16:46:51', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123657)'), GeomFromEWKT('SRID=4674;POINT (-39.138187 -3.123667)'))) / (select extract(epoch from '2026-07-02 16:46:51'::timestamp) - extract(epoch from '2026-07-02 16:46:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123657)'), GeomFromEWKT('SRID=4674;POINT (-39.138187 -3.123667)'))) / (select extract(epoch from '2026-07-02 16:46:51'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47520, 'SRID=4674;POINT (-39.138186 -3.123671)', '2026-07-02 16:46:53', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138187 -3.123667)'), GeomFromEWKT('SRID=4674;POINT (-39.138186 -3.123671)'))) / (select extract(epoch from '2026-07-02 16:46:53'::timestamp) - extract(epoch from '2026-07-02 16:46:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138187 -3.123667)'), GeomFromEWKT('SRID=4674;POINT (-39.138186 -3.123671)'))) / (select extract(epoch from '2026-07-02 16:46:53'::timestamp) - extract(epoch from '2026-07-02 16:46:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138185 -3.123667)', '2026-07-02 16:47:00', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138186 -3.123671)'), GeomFromEWKT('SRID=4674;POINT (-39.138185 -3.123667)'))) / (select extract(epoch from '2026-07-02 16:47:00'::timestamp) - extract(epoch from '2026-07-02 16:46:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138186 -3.123671)'), GeomFromEWKT('SRID=4674;POINT (-39.138185 -3.123667)'))) / (select extract(epoch from '2026-07-02 16:47:00'::timestamp) - extract(epoch from '2026-07-02 16:46:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.13818 -3.123658)', '2026-07-02 16:47:15', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138185 -3.123667)'), GeomFromEWKT('SRID=4674;POINT (-39.13818 -3.123658)'))) / (select extract(epoch from '2026-07-02 16:47:15'::timestamp) - extract(epoch from '2026-07-02 16:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138185 -3.123667)'), GeomFromEWKT('SRID=4674;POINT (-39.13818 -3.123658)'))) / (select extract(epoch from '2026-07-02 16:47:15'::timestamp) - extract(epoch from '2026-07-02 16:47: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'), 47520, 'SRID=4674;POINT (-39.138178 -3.12366)', '2026-07-02 16:47:21', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13818 -3.123658)'), GeomFromEWKT('SRID=4674;POINT (-39.138178 -3.12366)'))) / (select extract(epoch from '2026-07-02 16:47:21'::timestamp) - extract(epoch from '2026-07-02 16:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13818 -3.123658)'), GeomFromEWKT('SRID=4674;POINT (-39.138178 -3.12366)'))) / (select extract(epoch from '2026-07-02 16:47:21'::timestamp) - extract(epoch from '2026-07-02 16:47: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'), 47520, 'SRID=4674;POINT (-39.138179 -3.123645)', '2026-07-02 16:47:30', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138178 -3.12366)'), GeomFromEWKT('SRID=4674;POINT (-39.138179 -3.123645)'))) / (select extract(epoch from '2026-07-02 16:47:30'::timestamp) - extract(epoch from '2026-07-02 16:47:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138178 -3.12366)'), GeomFromEWKT('SRID=4674;POINT (-39.138179 -3.123645)'))) / (select extract(epoch from '2026-07-02 16:47:30'::timestamp) - extract(epoch from '2026-07-02 16:47: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'), 47520, 'SRID=4674;POINT (-39.138166 -3.123641)', '2026-07-02 16:47:33', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138179 -3.123645)'), GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123641)'))) / (select extract(epoch from '2026-07-02 16:47:33'::timestamp) - extract(epoch from '2026-07-02 16:47:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138179 -3.123645)'), GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123641)'))) / (select extract(epoch from '2026-07-02 16:47:33'::timestamp) - extract(epoch from '2026-07-02 16:47:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.13817 -3.123642)', '2026-07-02 16:47:38', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123641)'), GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123642)'))) / (select extract(epoch from '2026-07-02 16:47:38'::timestamp) - extract(epoch from '2026-07-02 16:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123641)'), GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123642)'))) / (select extract(epoch from '2026-07-02 16:47:38'::timestamp) - extract(epoch from '2026-07-02 16:47: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'), 47520, 'SRID=4674;POINT (-39.138155 -3.123649)', '2026-07-02 16:47:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123642)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123649)'))) / (select extract(epoch from '2026-07-02 16:47:45'::timestamp) - extract(epoch from '2026-07-02 16:47:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123642)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123649)'))) / (select extract(epoch from '2026-07-02 16:47:45'::timestamp) - extract(epoch from '2026-07-02 16:47:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138156 -3.123648)', '2026-07-02 16:47:48', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123649)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123648)'))) / (select extract(epoch from '2026-07-02 16:47:48'::timestamp) - extract(epoch from '2026-07-02 16:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123649)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123648)'))) / (select extract(epoch from '2026-07-02 16:47:48'::timestamp) - extract(epoch from '2026-07-02 16:47: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'), 47520, 'SRID=4674;POINT (-39.138159 -3.123645)', '2026-07-02 16:47:49', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123648)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123645)'))) / (select extract(epoch from '2026-07-02 16:47:49'::timestamp) - extract(epoch from '2026-07-02 16:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123648)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123645)'))) / (select extract(epoch from '2026-07-02 16:47:49'::timestamp) - extract(epoch from '2026-07-02 16:47:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138147 -3.123641)', '2026-07-02 16:47:51', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123645)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123641)'))) / (select extract(epoch from '2026-07-02 16:47:51'::timestamp) - extract(epoch from '2026-07-02 16:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123645)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123641)'))) / (select extract(epoch from '2026-07-02 16:47:51'::timestamp) - extract(epoch from '2026-07-02 16:47:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138157 -3.123638)', '2026-07-02 16:47:54', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123641)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123638)'))) / (select extract(epoch from '2026-07-02 16:47:54'::timestamp) - extract(epoch from '2026-07-02 16:47:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123641)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123638)'))) / (select extract(epoch from '2026-07-02 16:47:54'::timestamp) - extract(epoch from '2026-07-02 16:47: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'), 47520, 'SRID=4674;POINT (-39.138156 -3.123634)', '2026-07-02 16:48:03', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123638)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123634)'))) / (select extract(epoch from '2026-07-02 16:48:03'::timestamp) - extract(epoch from '2026-07-02 16:47:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123638)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123634)'))) / (select extract(epoch from '2026-07-02 16:48:03'::timestamp) - extract(epoch from '2026-07-02 16:47: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'), 47520, 'SRID=4674;POINT (-39.138153 -3.12363)', '2026-07-02 16:48:10', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123634)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.12363)'))) / (select extract(epoch from '2026-07-02 16:48:10'::timestamp) - extract(epoch from '2026-07-02 16:48:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123634)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.12363)'))) / (select extract(epoch from '2026-07-02 16:48:10'::timestamp) - extract(epoch from '2026-07-02 16:48: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'), 47520, 'SRID=4674;POINT (-39.138142 -3.123638)', '2026-07-02 16:48:17', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.12363)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123638)'))) / (select extract(epoch from '2026-07-02 16:48:17'::timestamp) - extract(epoch from '2026-07-02 16:48:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.12363)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123638)'))) / (select extract(epoch from '2026-07-02 16:48:17'::timestamp) - extract(epoch from '2026-07-02 16:48: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'), 47520, 'SRID=4674;POINT (-39.138158 -3.12363)', '2026-07-02 16:48:23', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123638)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.12363)'))) / (select extract(epoch from '2026-07-02 16:48:23'::timestamp) - extract(epoch from '2026-07-02 16:48:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123638)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.12363)'))) / (select extract(epoch from '2026-07-02 16:48:23'::timestamp) - extract(epoch from '2026-07-02 16:48: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'), 47520, 'SRID=4674;POINT (-39.138161 -3.123623)', '2026-07-02 16:48:30', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.12363)'), GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123623)'))) / (select extract(epoch from '2026-07-02 16:48:30'::timestamp) - extract(epoch from '2026-07-02 16:48:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.12363)'), GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123623)'))) / (select extract(epoch from '2026-07-02 16:48:30'::timestamp) - extract(epoch from '2026-07-02 16:48: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'), 47520, 'SRID=4674;POINT (-39.138138 -3.123633)', '2026-07-02 16:48:57', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123623)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123633)'))) / (select extract(epoch from '2026-07-02 16:48:57'::timestamp) - extract(epoch from '2026-07-02 16:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123623)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123633)'))) / (select extract(epoch from '2026-07-02 16:48:57'::timestamp) - extract(epoch from '2026-07-02 16:48: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'), 47520, 'SRID=4674;POINT (-39.138149 -3.123624)', '2026-07-02 16:49:14', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123633)'), GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.123624)'))) / (select extract(epoch from '2026-07-02 16:49:14'::timestamp) - extract(epoch from '2026-07-02 16:48:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123633)'), GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.123624)'))) / (select extract(epoch from '2026-07-02 16:49:14'::timestamp) - extract(epoch from '2026-07-02 16:48:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138164 -3.123629)', '2026-07-02 16:49:27', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.123624)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123629)'))) / (select extract(epoch from '2026-07-02 16:49:27'::timestamp) - extract(epoch from '2026-07-02 16:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.123624)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123629)'))) / (select extract(epoch from '2026-07-02 16:49:27'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47520, 'SRID=4674;POINT (-39.138156 -3.123628)', '2026-07-02 16:49:47', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123629)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123628)'))) / (select extract(epoch from '2026-07-02 16:49:47'::timestamp) - extract(epoch from '2026-07-02 16:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123629)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123628)'))) / (select extract(epoch from '2026-07-02 16:49:47'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47520, 'SRID=4674;POINT (-39.138155 -3.123617)', '2026-07-02 16:49:59', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123628)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123617)'))) / (select extract(epoch from '2026-07-02 16:49:59'::timestamp) - extract(epoch from '2026-07-02 16:49:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123628)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123617)'))) / (select extract(epoch from '2026-07-02 16:49:59'::timestamp) - extract(epoch from '2026-07-02 16:49:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138164 -3.123623)', '2026-07-02 16:50:06', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123617)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123623)'))) / (select extract(epoch from '2026-07-02 16:50:06'::timestamp) - extract(epoch from '2026-07-02 16:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123617)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123623)'))) / (select extract(epoch from '2026-07-02 16:50:06'::timestamp) - extract(epoch from '2026-07-02 16:49:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138165 -3.123624)', '2026-07-02 16:50:24', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123623)'), GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123624)'))) / (select extract(epoch from '2026-07-02 16:50:24'::timestamp) - extract(epoch from '2026-07-02 16:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123623)'), GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123624)'))) / (select extract(epoch from '2026-07-02 16:50:24'::timestamp) - extract(epoch from '2026-07-02 16:50: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'), 47520, 'SRID=4674;POINT (-39.138166 -3.123626)', '2026-07-02 16:50:32', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123624)'), GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123626)'))) / (select extract(epoch from '2026-07-02 16:50:32'::timestamp) - extract(epoch from '2026-07-02 16:50:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123624)'), GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123626)'))) / (select extract(epoch from '2026-07-02 16:50:32'::timestamp) - extract(epoch from '2026-07-02 16:50: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'), 47520, 'SRID=4674;POINT (-39.138174 -3.123627)', '2026-07-02 16:50:46', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123626)'), GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123627)'))) / (select extract(epoch from '2026-07-02 16:50:46'::timestamp) - extract(epoch from '2026-07-02 16:50:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123626)'), GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123627)'))) / (select extract(epoch from '2026-07-02 16:50:46'::timestamp) - extract(epoch from '2026-07-02 16:50:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138169 -3.123628)', '2026-07-02 16:50:49', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123627)'), GeomFromEWKT('SRID=4674;POINT (-39.138169 -3.123628)'))) / (select extract(epoch from '2026-07-02 16:50:49'::timestamp) - extract(epoch from '2026-07-02 16:50:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123627)'), GeomFromEWKT('SRID=4674;POINT (-39.138169 -3.123628)'))) / (select extract(epoch from '2026-07-02 16:50:49'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47520, 'SRID=4674;POINT (-39.138169 -3.123629)', '2026-07-02 16:50:56', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138169 -3.123628)'), GeomFromEWKT('SRID=4674;POINT (-39.138169 -3.123629)'))) / (select extract(epoch from '2026-07-02 16:50:56'::timestamp) - extract(epoch from '2026-07-02 16:50:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138169 -3.123628)'), GeomFromEWKT('SRID=4674;POINT (-39.138169 -3.123629)'))) / (select extract(epoch from '2026-07-02 16:50:56'::timestamp) - extract(epoch from '2026-07-02 16:50: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'), 47520, 'SRID=4674;POINT (-39.138174 -3.123623)', '2026-07-02 16:51:06', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138169 -3.123629)'), GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123623)'))) / (select extract(epoch from '2026-07-02 16:51:06'::timestamp) - extract(epoch from '2026-07-02 16:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138169 -3.123629)'), GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123623)'))) / (select extract(epoch from '2026-07-02 16:51:06'::timestamp) - extract(epoch from '2026-07-02 16:50:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138169 -3.123617)', '2026-07-02 16:51:13', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123623)'), GeomFromEWKT('SRID=4674;POINT (-39.138169 -3.123617)'))) / (select extract(epoch from '2026-07-02 16:51:13'::timestamp) - extract(epoch from '2026-07-02 16:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123623)'), GeomFromEWKT('SRID=4674;POINT (-39.138169 -3.123617)'))) / (select extract(epoch from '2026-07-02 16:51:13'::timestamp) - extract(epoch from '2026-07-02 16:51: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'), 47520, 'SRID=4674;POINT (-39.138184 -3.123627)', '2026-07-02 16:51:43', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138169 -3.123617)'), GeomFromEWKT('SRID=4674;POINT (-39.138184 -3.123627)'))) / (select extract(epoch from '2026-07-02 16:51:43'::timestamp) - extract(epoch from '2026-07-02 16:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138169 -3.123617)'), GeomFromEWKT('SRID=4674;POINT (-39.138184 -3.123627)'))) / (select extract(epoch from '2026-07-02 16:51:43'::timestamp) - extract(epoch from '2026-07-02 16:51:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138164 -3.123617)', '2026-07-02 16:52:02', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138184 -3.123627)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123617)'))) / (select extract(epoch from '2026-07-02 16:52:02'::timestamp) - extract(epoch from '2026-07-02 16:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138184 -3.123627)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123617)'))) / (select extract(epoch from '2026-07-02 16:52:02'::timestamp) - extract(epoch from '2026-07-02 16:51:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138146 -3.123605)', '2026-07-02 16:52:10', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123617)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123605)'))) / (select extract(epoch from '2026-07-02 16:52:10'::timestamp) - extract(epoch from '2026-07-02 16:52:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123617)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123605)'))) / (select extract(epoch from '2026-07-02 16:52:10'::timestamp) - extract(epoch from '2026-07-02 16:52: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'), 47520, 'SRID=4674;POINT (-39.138154 -3.123594)', '2026-07-02 16:52:20', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123605)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123594)'))) / (select extract(epoch from '2026-07-02 16:52:20'::timestamp) - extract(epoch from '2026-07-02 16:52:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123605)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123594)'))) / (select extract(epoch from '2026-07-02 16:52:20'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47520, 'SRID=4674;POINT (-39.138154 -3.123598)', '2026-07-02 16:52:29', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123594)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123598)'))) / (select extract(epoch from '2026-07-02 16:52:29'::timestamp) - extract(epoch from '2026-07-02 16:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123594)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123598)'))) / (select extract(epoch from '2026-07-02 16:52:29'::timestamp) - extract(epoch from '2026-07-02 16:52: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'), 47520, 'SRID=4674;POINT (-39.13815 -3.123601)', '2026-07-02 16:52:36', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123598)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123601)'))) / (select extract(epoch from '2026-07-02 16:52:36'::timestamp) - extract(epoch from '2026-07-02 16:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123598)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123601)'))) / (select extract(epoch from '2026-07-02 16:52:36'::timestamp) - extract(epoch from '2026-07-02 16:52:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138151 -3.123605)', '2026-07-02 16:52:43', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123601)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123605)'))) / (select extract(epoch from '2026-07-02 16:52:43'::timestamp) - extract(epoch from '2026-07-02 16:52:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123601)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123605)'))) / (select extract(epoch from '2026-07-02 16:52:43'::timestamp) - extract(epoch from '2026-07-02 16:52: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'), 47520, 'SRID=4674;POINT (-39.138164 -3.123615)', '2026-07-02 16:52:59', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123605)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123615)'))) / (select extract(epoch from '2026-07-02 16:52:59'::timestamp) - extract(epoch from '2026-07-02 16:52:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123605)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123615)'))) / (select extract(epoch from '2026-07-02 16:52:59'::timestamp) - extract(epoch from '2026-07-02 16:52: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'), 47520, 'SRID=4674;POINT (-39.138158 -3.12362)', '2026-07-02 16:53:12', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123615)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.12362)'))) / (select extract(epoch from '2026-07-02 16:53:12'::timestamp) - extract(epoch from '2026-07-02 16:52:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123615)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.12362)'))) / (select extract(epoch from '2026-07-02 16:53:12'::timestamp) - extract(epoch from '2026-07-02 16:52: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'), 47520, 'SRID=4674;POINT (-39.138164 -3.123622)', '2026-07-02 16:53:15', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.12362)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123622)'))) / (select extract(epoch from '2026-07-02 16:53:15'::timestamp) - extract(epoch from '2026-07-02 16:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.12362)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123622)'))) / (select extract(epoch from '2026-07-02 16:53:15'::timestamp) - extract(epoch from '2026-07-02 16:53: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'), 47520, 'SRID=4674;POINT (-39.138162 -3.123626)', '2026-07-02 16:53:23', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123622)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123626)'))) / (select extract(epoch from '2026-07-02 16:53:23'::timestamp) - extract(epoch from '2026-07-02 16:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123622)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123626)'))) / (select extract(epoch from '2026-07-02 16:53:23'::timestamp) - extract(epoch from '2026-07-02 16:53: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'), 47520, 'SRID=4674;POINT (-39.138151 -3.123624)', '2026-07-02 16:53:35', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123626)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123624)'))) / (select extract(epoch from '2026-07-02 16:53:35'::timestamp) - extract(epoch from '2026-07-02 16:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123626)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123624)'))) / (select extract(epoch from '2026-07-02 16:53:35'::timestamp) - extract(epoch from '2026-07-02 16:53: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'), 47520, 'SRID=4674;POINT (-39.138157 -3.123619)', '2026-07-02 16:53:45', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123624)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123619)'))) / (select extract(epoch from '2026-07-02 16:53:45'::timestamp) - extract(epoch from '2026-07-02 16:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123624)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123619)'))) / (select extract(epoch from '2026-07-02 16:53:45'::timestamp) - extract(epoch from '2026-07-02 16:53: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'), 47520, 'SRID=4674;POINT (-39.138156 -3.123606)', '2026-07-02 16:54:02', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123619)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123606)'))) / (select extract(epoch from '2026-07-02 16:54:02'::timestamp) - extract(epoch from '2026-07-02 16:53:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123619)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123606)'))) / (select extract(epoch from '2026-07-02 16:54:02'::timestamp) - extract(epoch from '2026-07-02 16:53:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138146 -3.123601)', '2026-07-02 16:54:16', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123606)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123601)'))) / (select extract(epoch from '2026-07-02 16:54:16'::timestamp) - extract(epoch from '2026-07-02 16:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123606)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123601)'))) / (select extract(epoch from '2026-07-02 16:54:16'::timestamp) - extract(epoch from '2026-07-02 16:54:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.13814 -3.123601)', '2026-07-02 16:54:27', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123601)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123601)'))) / (select extract(epoch from '2026-07-02 16:54:27'::timestamp) - extract(epoch from '2026-07-02 16:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123601)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123601)'))) / (select extract(epoch from '2026-07-02 16:54:27'::timestamp) - extract(epoch from '2026-07-02 16:54: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'), 47520, 'SRID=4674;POINT (-39.138142 -3.123607)', '2026-07-02 16:54:35', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123601)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123607)'))) / (select extract(epoch from '2026-07-02 16:54:35'::timestamp) - extract(epoch from '2026-07-02 16:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123601)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123607)'))) / (select extract(epoch from '2026-07-02 16:54:35'::timestamp) - extract(epoch from '2026-07-02 16:54:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138153 -3.123593)', '2026-07-02 16:54:42', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123607)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123593)'))) / (select extract(epoch from '2026-07-02 16:54:42'::timestamp) - extract(epoch from '2026-07-02 16:54:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123607)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123593)'))) / (select extract(epoch from '2026-07-02 16:54:42'::timestamp) - extract(epoch from '2026-07-02 16:54: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'), 47520, 'SRID=4674;POINT (-39.138138 -3.123587)', '2026-07-02 16:54:49', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123593)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123587)'))) / (select extract(epoch from '2026-07-02 16:54:49'::timestamp) - extract(epoch from '2026-07-02 16:54:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123593)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123587)'))) / (select extract(epoch from '2026-07-02 16:54:49'::timestamp) - extract(epoch from '2026-07-02 16:54: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'), 47520, 'SRID=4674;POINT (-39.138148 -3.123587)', '2026-07-02 16:54:50', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123587)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123587)'))) / (select extract(epoch from '2026-07-02 16:54:50'::timestamp) - extract(epoch from '2026-07-02 16:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123587)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123587)'))) / (select extract(epoch from '2026-07-02 16:54:50'::timestamp) - extract(epoch from '2026-07-02 16:54:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138153 -3.123586)', '2026-07-02 16:54:52', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123587)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123586)'))) / (select extract(epoch from '2026-07-02 16:54:52'::timestamp) - extract(epoch from '2026-07-02 16:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123587)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123586)'))) / (select extract(epoch from '2026-07-02 16:54:52'::timestamp) - extract(epoch from '2026-07-02 16:54: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'), 47520, 'SRID=4674;POINT (-39.138147 -3.123579)', '2026-07-02 16:55:01', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123586)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123579)'))) / (select extract(epoch from '2026-07-02 16:55:01'::timestamp) - extract(epoch from '2026-07-02 16:54:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123586)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123579)'))) / (select extract(epoch from '2026-07-02 16:55:01'::timestamp) - extract(epoch from '2026-07-02 16:54: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'), 47520, 'SRID=4674;POINT (-39.138154 -3.123582)', '2026-07-02 16:55:11', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123579)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123582)'))) / (select extract(epoch from '2026-07-02 16:55:11'::timestamp) - extract(epoch from '2026-07-02 16:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123579)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123582)'))) / (select extract(epoch from '2026-07-02 16:55:11'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47520, 'SRID=4674;POINT (-39.13815 -3.123568)', '2026-07-02 16:55:22', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123582)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123568)'))) / (select extract(epoch from '2026-07-02 16:55:22'::timestamp) - extract(epoch from '2026-07-02 16:55:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123582)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123568)'))) / (select extract(epoch from '2026-07-02 16:55:22'::timestamp) - extract(epoch from '2026-07-02 16:55: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'), 47520, 'SRID=4674;POINT (-39.138147 -3.123567)', '2026-07-02 16:55:25', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123568)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123567)'))) / (select extract(epoch from '2026-07-02 16:55:25'::timestamp) - extract(epoch from '2026-07-02 16:55:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123568)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123567)'))) / (select extract(epoch from '2026-07-02 16:55:25'::timestamp) - extract(epoch from '2026-07-02 16:55:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138142 -3.123563)', '2026-07-02 16:55:34', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123567)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123563)'))) / (select extract(epoch from '2026-07-02 16:55:34'::timestamp) - extract(epoch from '2026-07-02 16:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123567)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123563)'))) / (select extract(epoch from '2026-07-02 16:55:34'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47520, 'SRID=4674;POINT (-39.13815 -3.123562)', '2026-07-02 16:55:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123563)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123562)'))) / (select extract(epoch from '2026-07-02 16:55:39'::timestamp) - extract(epoch from '2026-07-02 16:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123563)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123562)'))) / (select extract(epoch from '2026-07-02 16:55:39'::timestamp) - extract(epoch from '2026-07-02 16:55: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'), 47520, 'SRID=4674;POINT (-39.138138 -3.123563)', '2026-07-02 16:55:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123562)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123563)'))) / (select extract(epoch from '2026-07-02 16:55:45'::timestamp) - extract(epoch from '2026-07-02 16:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123562)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123563)'))) / (select extract(epoch from '2026-07-02 16:55:45'::timestamp) - extract(epoch from '2026-07-02 16:55: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'), 47520, 'SRID=4674;POINT (-39.138139 -3.123561)', '2026-07-02 16:55:51', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123563)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123561)'))) / (select extract(epoch from '2026-07-02 16:55:51'::timestamp) - extract(epoch from '2026-07-02 16:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123563)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123561)'))) / (select extract(epoch from '2026-07-02 16:55:51'::timestamp) - extract(epoch from '2026-07-02 16:55: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'), 47520, 'SRID=4674;POINT (-39.138144 -3.123558)', '2026-07-02 16:56:06', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123561)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123558)'))) / (select extract(epoch from '2026-07-02 16:56:06'::timestamp) - extract(epoch from '2026-07-02 16:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123561)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123558)'))) / (select extract(epoch from '2026-07-02 16:56:06'::timestamp) - extract(epoch from '2026-07-02 16:55: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'), 47520, 'SRID=4674;POINT (-39.138142 -3.123561)', '2026-07-02 16:56:12', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123558)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123561)'))) / (select extract(epoch from '2026-07-02 16:56:12'::timestamp) - extract(epoch from '2026-07-02 16:56:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123558)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123561)'))) / (select extract(epoch from '2026-07-02 16:56:12'::timestamp) - extract(epoch from '2026-07-02 16:56: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'), 47520, 'SRID=4674;POINT (-39.138144 -3.12356)', '2026-07-02 16:56:24', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123561)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.12356)'))) / (select extract(epoch from '2026-07-02 16:56:24'::timestamp) - extract(epoch from '2026-07-02 16:56:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123561)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.12356)'))) / (select extract(epoch from '2026-07-02 16:56:24'::timestamp) - extract(epoch from '2026-07-02 16:56:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138137 -3.123561)', '2026-07-02 16:56:30', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.12356)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123561)'))) / (select extract(epoch from '2026-07-02 16:56:30'::timestamp) - extract(epoch from '2026-07-02 16:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.12356)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123561)'))) / (select extract(epoch from '2026-07-02 16:56:30'::timestamp) - extract(epoch from '2026-07-02 16:56: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'), 47520, 'SRID=4674;POINT (-39.13814 -3.12357)', '2026-07-02 16:56:37', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123561)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.12357)'))) / (select extract(epoch from '2026-07-02 16:56:37'::timestamp) - extract(epoch from '2026-07-02 16:56:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123561)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.12357)'))) / (select extract(epoch from '2026-07-02 16:56:37'::timestamp) - extract(epoch from '2026-07-02 16:56: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'), 47520, 'SRID=4674;POINT (-39.138139 -3.12357)', '2026-07-02 16:56:44', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.12357)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.12357)'))) / (select extract(epoch from '2026-07-02 16:56:44'::timestamp) - extract(epoch from '2026-07-02 16:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.12357)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.12357)'))) / (select extract(epoch from '2026-07-02 16:56:44'::timestamp) - extract(epoch from '2026-07-02 16:56: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'), 47520, 'SRID=4674;POINT (-39.138137 -3.123565)', '2026-07-02 16:56:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.12357)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123565)'))) / (select extract(epoch from '2026-07-02 16:56:47'::timestamp) - extract(epoch from '2026-07-02 16:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.12357)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123565)'))) / (select extract(epoch from '2026-07-02 16:56:47'::timestamp) - extract(epoch from '2026-07-02 16:56:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138139 -3.123567)', '2026-07-02 16:56:52', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123565)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123567)'))) / (select extract(epoch from '2026-07-02 16:56:52'::timestamp) - extract(epoch from '2026-07-02 16:56:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123565)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123567)'))) / (select extract(epoch from '2026-07-02 16:56:52'::timestamp) - extract(epoch from '2026-07-02 16:56: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'), 47520, 'SRID=4674;POINT (-39.138161 -3.123563)', '2026-07-02 16:57:10', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123567)'), GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123563)'))) / (select extract(epoch from '2026-07-02 16:57:10'::timestamp) - extract(epoch from '2026-07-02 16:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123567)'), GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123563)'))) / (select extract(epoch from '2026-07-02 16:57:10'::timestamp) - extract(epoch from '2026-07-02 16:56:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138161 -3.123565)', '2026-07-02 16:57:12', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123563)'), GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123565)'))) / (select extract(epoch from '2026-07-02 16:57:12'::timestamp) - extract(epoch from '2026-07-02 16:57:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123563)'), GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123565)'))) / (select extract(epoch from '2026-07-02 16:57:12'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47520, 'SRID=4674;POINT (-39.138148 -3.123565)', '2026-07-02 16:57:16', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123565)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123565)'))) / (select extract(epoch from '2026-07-02 16:57:16'::timestamp) - extract(epoch from '2026-07-02 16:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123565)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123565)'))) / (select extract(epoch from '2026-07-02 16:57:16'::timestamp) - extract(epoch from '2026-07-02 16:57: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'), 47520, 'SRID=4674;POINT (-39.138162 -3.123572)', '2026-07-02 16:57:31', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123565)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123572)'))) / (select extract(epoch from '2026-07-02 16:57:31'::timestamp) - extract(epoch from '2026-07-02 16:57:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123565)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123572)'))) / (select extract(epoch from '2026-07-02 16:57:31'::timestamp) - extract(epoch from '2026-07-02 16:57:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138145 -3.123571)', '2026-07-02 16:57:38', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123572)'), GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123571)'))) / (select extract(epoch from '2026-07-02 16:57:38'::timestamp) - extract(epoch from '2026-07-02 16:57:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123572)'), GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123571)'))) / (select extract(epoch from '2026-07-02 16:57:38'::timestamp) - extract(epoch from '2026-07-02 16:57: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'), 47520, 'SRID=4674;POINT (-39.13815 -3.123567)', '2026-07-02 16:57:49', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123571)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123567)'))) / (select extract(epoch from '2026-07-02 16:57:49'::timestamp) - extract(epoch from '2026-07-02 16:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123571)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123567)'))) / (select extract(epoch from '2026-07-02 16:57:49'::timestamp) - extract(epoch from '2026-07-02 16:57:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138142 -3.123585)', '2026-07-02 16:57:56', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123567)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123585)'))) / (select extract(epoch from '2026-07-02 16:57:56'::timestamp) - extract(epoch from '2026-07-02 16:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123567)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123585)'))) / (select extract(epoch from '2026-07-02 16:57:56'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47520, 'SRID=4674;POINT (-39.138145 -3.12359)', '2026-07-02 16:58:02', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123585)'), GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.12359)'))) / (select extract(epoch from '2026-07-02 16:58:02'::timestamp) - extract(epoch from '2026-07-02 16:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123585)'), GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.12359)'))) / (select extract(epoch from '2026-07-02 16:58:02'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47520, 'SRID=4674;POINT (-39.138158 -3.123595)', '2026-07-02 16:58:05', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.12359)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123595)'))) / (select extract(epoch from '2026-07-02 16:58:05'::timestamp) - extract(epoch from '2026-07-02 16:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.12359)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123595)'))) / (select extract(epoch from '2026-07-02 16:58:05'::timestamp) - extract(epoch from '2026-07-02 16:58:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138136 -3.123594)', '2026-07-02 16:58:12', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123595)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123594)'))) / (select extract(epoch from '2026-07-02 16:58:12'::timestamp) - extract(epoch from '2026-07-02 16:58:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123595)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123594)'))) / (select extract(epoch from '2026-07-02 16:58:12'::timestamp) - extract(epoch from '2026-07-02 16:58: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'), 47520, 'SRID=4674;POINT (-39.138137 -3.123597)', '2026-07-02 16:58:20', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123594)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123597)'))) / (select extract(epoch from '2026-07-02 16:58:20'::timestamp) - extract(epoch from '2026-07-02 16:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123594)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123597)'))) / (select extract(epoch from '2026-07-02 16:58:20'::timestamp) - extract(epoch from '2026-07-02 16:58: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'), 47520, 'SRID=4674;POINT (-39.138151 -3.123592)', '2026-07-02 16:58:32', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123597)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123592)'))) / (select extract(epoch from '2026-07-02 16:58:32'::timestamp) - extract(epoch from '2026-07-02 16:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123597)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123592)'))) / (select extract(epoch from '2026-07-02 16:58:32'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47520, 'SRID=4674;POINT (-39.138158 -3.123597)', '2026-07-02 16:59:03', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123592)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123597)'))) / (select extract(epoch from '2026-07-02 16:59:03'::timestamp) - extract(epoch from '2026-07-02 16:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123592)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123597)'))) / (select extract(epoch from '2026-07-02 16:59:03'::timestamp) - extract(epoch from '2026-07-02 16:58:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.13816 -3.12359)', '2026-07-02 16:59:10', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123597)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.12359)'))) / (select extract(epoch from '2026-07-02 16:59:10'::timestamp) - extract(epoch from '2026-07-02 16:59:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123597)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.12359)'))) / (select extract(epoch from '2026-07-02 16:59:10'::timestamp) - extract(epoch from '2026-07-02 16:59: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'), 47520, 'SRID=4674;POINT (-39.138159 -3.123591)', '2026-07-02 16:59:18', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.12359)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123591)'))) / (select extract(epoch from '2026-07-02 16:59:18'::timestamp) - extract(epoch from '2026-07-02 16:59:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.12359)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123591)'))) / (select extract(epoch from '2026-07-02 16:59:18'::timestamp) - extract(epoch from '2026-07-02 16:59:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138157 -3.123586)', '2026-07-02 16:59:38', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123591)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123586)'))) / (select extract(epoch from '2026-07-02 16:59:38'::timestamp) - extract(epoch from '2026-07-02 16:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123591)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123586)'))) / (select extract(epoch from '2026-07-02 16:59:38'::timestamp) - extract(epoch from '2026-07-02 16:59:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.13814 -3.123579)', '2026-07-02 16:59:44', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123586)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123579)'))) / (select extract(epoch from '2026-07-02 16:59:44'::timestamp) - extract(epoch from '2026-07-02 16:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123586)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123579)'))) / (select extract(epoch from '2026-07-02 16:59:44'::timestamp) - extract(epoch from '2026-07-02 16:59: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'), 47520, 'SRID=4674;POINT (-39.138152 -3.123571)', '2026-07-02 16:59:56', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123579)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123571)'))) / (select extract(epoch from '2026-07-02 16:59:56'::timestamp) - extract(epoch from '2026-07-02 16:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123579)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123571)'))) / (select extract(epoch from '2026-07-02 16:59:56'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47520, 'SRID=4674;POINT (-39.138143 -3.123568)', '2026-07-02 17:00:00', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123571)'), GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123568)'))) / (select extract(epoch from '2026-07-02 17:00:00'::timestamp) - extract(epoch from '2026-07-02 16:59:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123571)'), GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123568)'))) / (select extract(epoch from '2026-07-02 17:00:00'::timestamp) - extract(epoch from '2026-07-02 16:59: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'), 47520, 'SRID=4674;POINT (-39.13814 -3.123568)', '2026-07-02 17:00:11', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123568)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123568)'))) / (select extract(epoch from '2026-07-02 17:00:11'::timestamp) - extract(epoch from '2026-07-02 17:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123568)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123568)'))) / (select extract(epoch from '2026-07-02 17:00:11'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.13814 -3.123569)', '2026-07-02 17:00:19', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123568)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123569)'))) / (select extract(epoch from '2026-07-02 17:00:19'::timestamp) - extract(epoch from '2026-07-02 17:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123568)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123569)'))) / (select extract(epoch from '2026-07-02 17:00:19'::timestamp) - extract(epoch from '2026-07-02 17:00: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'), 47520, 'SRID=4674;POINT (-39.138135 -3.123571)', '2026-07-02 17:00:27', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123569)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123571)'))) / (select extract(epoch from '2026-07-02 17:00:27'::timestamp) - extract(epoch from '2026-07-02 17:00:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123569)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123571)'))) / (select extract(epoch from '2026-07-02 17:00:27'::timestamp) - extract(epoch from '2026-07-02 17:00: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'), 47520, 'SRID=4674;POINT (-39.138143 -3.123574)', '2026-07-02 17:00:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123571)'), GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123574)'))) / (select extract(epoch from '2026-07-02 17:00:40'::timestamp) - extract(epoch from '2026-07-02 17:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123571)'), GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123574)'))) / (select extract(epoch from '2026-07-02 17:00:40'::timestamp) - extract(epoch from '2026-07-02 17:00: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'), 47520, 'SRID=4674;POINT (-39.138145 -3.123576)', '2026-07-02 17:00:47', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123574)'), GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123576)'))) / (select extract(epoch from '2026-07-02 17:00:47'::timestamp) - extract(epoch from '2026-07-02 17:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123574)'), GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123576)'))) / (select extract(epoch from '2026-07-02 17:00:47'::timestamp) - extract(epoch from '2026-07-02 17:00:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138147 -3.123568)', '2026-07-02 17:00:52', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123576)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123568)'))) / (select extract(epoch from '2026-07-02 17:00:52'::timestamp) - extract(epoch from '2026-07-02 17:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123576)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123568)'))) / (select extract(epoch from '2026-07-02 17:00:52'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138151 -3.123576)', '2026-07-02 17:01:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123568)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123576)'))) / (select extract(epoch from '2026-07-02 17:01:04'::timestamp) - extract(epoch from '2026-07-02 17:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123568)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123576)'))) / (select extract(epoch from '2026-07-02 17:01:04'::timestamp) - extract(epoch from '2026-07-02 17:00:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138148 -3.123571)', '2026-07-02 17:01:24', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123576)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123571)'))) / (select extract(epoch from '2026-07-02 17:01:24'::timestamp) - extract(epoch from '2026-07-02 17:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123576)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123571)'))) / (select extract(epoch from '2026-07-02 17:01:24'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138133 -3.123574)', '2026-07-02 17:01:36', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123571)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123574)'))) / (select extract(epoch from '2026-07-02 17:01:36'::timestamp) - extract(epoch from '2026-07-02 17:01:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123571)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123574)'))) / (select extract(epoch from '2026-07-02 17:01:36'::timestamp) - extract(epoch from '2026-07-02 17:01: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'), 47520, 'SRID=4674;POINT (-39.138134 -3.123575)', '2026-07-02 17:01:42', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123574)'), GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123575)'))) / (select extract(epoch from '2026-07-02 17:01:42'::timestamp) - extract(epoch from '2026-07-02 17:01:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123574)'), GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123575)'))) / (select extract(epoch from '2026-07-02 17:01:42'::timestamp) - extract(epoch from '2026-07-02 17:01:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138126 -3.123574)', '2026-07-02 17:01:45', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123575)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123574)'))) / (select extract(epoch from '2026-07-02 17:01:45'::timestamp) - extract(epoch from '2026-07-02 17:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123575)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123574)'))) / (select extract(epoch from '2026-07-02 17:01:45'::timestamp) - extract(epoch from '2026-07-02 17:01:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138134 -3.123576)', '2026-07-02 17:01:46', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123574)'), GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123576)'))) / (select extract(epoch from '2026-07-02 17:01:46'::timestamp) - extract(epoch from '2026-07-02 17:01:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123574)'), GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123576)'))) / (select extract(epoch from '2026-07-02 17:01:46'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138142 -3.123587)', '2026-07-02 17:01:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123576)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123587)'))) / (select extract(epoch from '2026-07-02 17:01:51'::timestamp) - extract(epoch from '2026-07-02 17:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123576)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123587)'))) / (select extract(epoch from '2026-07-02 17:01:51'::timestamp) - extract(epoch from '2026-07-02 17:01: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'), 47520, 'SRID=4674;POINT (-39.138141 -3.123587)', '2026-07-02 17:01:57', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123587)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123587)'))) / (select extract(epoch from '2026-07-02 17:01:57'::timestamp) - extract(epoch from '2026-07-02 17:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123587)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123587)'))) / (select extract(epoch from '2026-07-02 17:01:57'::timestamp) - extract(epoch from '2026-07-02 17:01: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'), 47520, 'SRID=4674;POINT (-39.138146 -3.123588)', '2026-07-02 17:02:04', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123587)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123588)'))) / (select extract(epoch from '2026-07-02 17:02:04'::timestamp) - extract(epoch from '2026-07-02 17:01:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123587)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123588)'))) / (select extract(epoch from '2026-07-02 17:02:04'::timestamp) - extract(epoch from '2026-07-02 17:01: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'), 47520, 'SRID=4674;POINT (-39.138144 -3.123591)', '2026-07-02 17:02:12', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123588)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123591)'))) / (select extract(epoch from '2026-07-02 17:02:12'::timestamp) - extract(epoch from '2026-07-02 17:02:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123588)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123591)'))) / (select extract(epoch from '2026-07-02 17:02:12'::timestamp) - extract(epoch from '2026-07-02 17:02:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138145 -3.123597)', '2026-07-02 17:02:19', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123591)'), GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123597)'))) / (select extract(epoch from '2026-07-02 17:02:19'::timestamp) - extract(epoch from '2026-07-02 17:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123591)'), GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123597)'))) / (select extract(epoch from '2026-07-02 17:02:19'::timestamp) - extract(epoch from '2026-07-02 17:02: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'), 47520, 'SRID=4674;POINT (-39.138138 -3.123589)', '2026-07-02 17:02:24', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123597)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123589)'))) / (select extract(epoch from '2026-07-02 17:02:24'::timestamp) - extract(epoch from '2026-07-02 17:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123597)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123589)'))) / (select extract(epoch from '2026-07-02 17:02:24'::timestamp) - extract(epoch from '2026-07-02 17:02:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138139 -3.123585)', '2026-07-02 17:02:35', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123589)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123585)'))) / (select extract(epoch from '2026-07-02 17:02:35'::timestamp) - extract(epoch from '2026-07-02 17:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123589)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123585)'))) / (select extract(epoch from '2026-07-02 17:02:35'::timestamp) - extract(epoch from '2026-07-02 17:02:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138151 -3.123579)', '2026-07-02 17:02:42', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123585)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123579)'))) / (select extract(epoch from '2026-07-02 17:02:42'::timestamp) - extract(epoch from '2026-07-02 17:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123585)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123579)'))) / (select extract(epoch from '2026-07-02 17:02:42'::timestamp) - extract(epoch from '2026-07-02 17:02: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'), 47520, 'SRID=4674;POINT (-39.138158 -3.123586)', '2026-07-02 17:02:47', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123579)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123586)'))) / (select extract(epoch from '2026-07-02 17:02:47'::timestamp) - extract(epoch from '2026-07-02 17:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123579)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123586)'))) / (select extract(epoch from '2026-07-02 17:02:47'::timestamp) - extract(epoch from '2026-07-02 17:02:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138167 -3.123583)', '2026-07-02 17:03:25', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123586)'), GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123583)'))) / (select extract(epoch from '2026-07-02 17:03:25'::timestamp) - extract(epoch from '2026-07-02 17:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123586)'), GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123583)'))) / (select extract(epoch from '2026-07-02 17:03:25'::timestamp) - extract(epoch from '2026-07-02 17:02: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'), 47520, 'SRID=4674;POINT (-39.138166 -3.123576)', '2026-07-02 17:03:47', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123583)'), GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123576)'))) / (select extract(epoch from '2026-07-02 17:03:47'::timestamp) - extract(epoch from '2026-07-02 17:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123583)'), GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123576)'))) / (select extract(epoch from '2026-07-02 17:03:47'::timestamp) - extract(epoch from '2026-07-02 17:03:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138178 -3.123583)', '2026-07-02 17:03:54', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123576)'), GeomFromEWKT('SRID=4674;POINT (-39.138178 -3.123583)'))) / (select extract(epoch from '2026-07-02 17:03:54'::timestamp) - extract(epoch from '2026-07-02 17:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123576)'), GeomFromEWKT('SRID=4674;POINT (-39.138178 -3.123583)'))) / (select extract(epoch from '2026-07-02 17:03:54'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138174 -3.123578)', '2026-07-02 17:04:04', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138178 -3.123583)'), GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123578)'))) / (select extract(epoch from '2026-07-02 17:04:04'::timestamp) - extract(epoch from '2026-07-02 17:03:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138178 -3.123583)'), GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123578)'))) / (select extract(epoch from '2026-07-02 17:04:04'::timestamp) - extract(epoch from '2026-07-02 17:03:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138175 -3.123584)', '2026-07-02 17:04:11', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123578)'), GeomFromEWKT('SRID=4674;POINT (-39.138175 -3.123584)'))) / (select extract(epoch from '2026-07-02 17:04:11'::timestamp) - extract(epoch from '2026-07-02 17:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123578)'), GeomFromEWKT('SRID=4674;POINT (-39.138175 -3.123584)'))) / (select extract(epoch from '2026-07-02 17:04:11'::timestamp) - extract(epoch from '2026-07-02 17:04: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'), 47520, 'SRID=4674;POINT (-39.138168 -3.123591)', '2026-07-02 17:04:31', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138175 -3.123584)'), GeomFromEWKT('SRID=4674;POINT (-39.138168 -3.123591)'))) / (select extract(epoch from '2026-07-02 17:04:31'::timestamp) - extract(epoch from '2026-07-02 17:04:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138175 -3.123584)'), GeomFromEWKT('SRID=4674;POINT (-39.138168 -3.123591)'))) / (select extract(epoch from '2026-07-02 17:04:31'::timestamp) - extract(epoch from '2026-07-02 17:04:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138166 -3.123599)', '2026-07-02 17:04:58', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138168 -3.123591)'), GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123599)'))) / (select extract(epoch from '2026-07-02 17:04:58'::timestamp) - extract(epoch from '2026-07-02 17:04:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138168 -3.123591)'), GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123599)'))) / (select extract(epoch from '2026-07-02 17:04:58'::timestamp) - extract(epoch from '2026-07-02 17:04: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'), 47520, 'SRID=4674;POINT (-39.138157 -3.123604)', '2026-07-02 17:05:04', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123599)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123604)'))) / (select extract(epoch from '2026-07-02 17:05:04'::timestamp) - extract(epoch from '2026-07-02 17:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123599)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123604)'))) / (select extract(epoch from '2026-07-02 17:05:04'::timestamp) - extract(epoch from '2026-07-02 17:04:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138163 -3.123618)', '2026-07-02 17:05:13', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123604)'), GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123618)'))) / (select extract(epoch from '2026-07-02 17:05:13'::timestamp) - extract(epoch from '2026-07-02 17:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123604)'), GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123618)'))) / (select extract(epoch from '2026-07-02 17:05:13'::timestamp) - extract(epoch from '2026-07-02 17:05:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138164 -3.123621)', '2026-07-02 17:05:19', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123618)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123621)'))) / (select extract(epoch from '2026-07-02 17:05:19'::timestamp) - extract(epoch from '2026-07-02 17:05:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123618)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123621)'))) / (select extract(epoch from '2026-07-02 17:05:19'::timestamp) - extract(epoch from '2026-07-02 17:05:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138174 -3.123622)', '2026-07-02 17:05:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123621)'), GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123622)'))) / (select extract(epoch from '2026-07-02 17:05:26'::timestamp) - extract(epoch from '2026-07-02 17:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123621)'), GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123622)'))) / (select extract(epoch from '2026-07-02 17:05:26'::timestamp) - extract(epoch from '2026-07-02 17:05: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'), 47520, 'SRID=4674;POINT (-39.138177 -3.12361)', '2026-07-02 17:05:46', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123622)'), GeomFromEWKT('SRID=4674;POINT (-39.138177 -3.12361)'))) / (select extract(epoch from '2026-07-02 17:05:46'::timestamp) - extract(epoch from '2026-07-02 17:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123622)'), GeomFromEWKT('SRID=4674;POINT (-39.138177 -3.12361)'))) / (select extract(epoch from '2026-07-02 17:05:46'::timestamp) - extract(epoch from '2026-07-02 17:05: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'), 47520, 'SRID=4674;POINT (-39.13819 -3.12361)', '2026-07-02 17:06:01', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138177 -3.12361)'), GeomFromEWKT('SRID=4674;POINT (-39.13819 -3.12361)'))) / (select extract(epoch from '2026-07-02 17:06:01'::timestamp) - extract(epoch from '2026-07-02 17:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138177 -3.12361)'), GeomFromEWKT('SRID=4674;POINT (-39.13819 -3.12361)'))) / (select extract(epoch from '2026-07-02 17:06:01'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138168 -3.123614)', '2026-07-02 17:06:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13819 -3.12361)'), GeomFromEWKT('SRID=4674;POINT (-39.138168 -3.123614)'))) / (select extract(epoch from '2026-07-02 17:06:25'::timestamp) - extract(epoch from '2026-07-02 17:06:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13819 -3.12361)'), GeomFromEWKT('SRID=4674;POINT (-39.138168 -3.123614)'))) / (select extract(epoch from '2026-07-02 17:06:25'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138168 -3.123606)', '2026-07-02 17:06:31', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138168 -3.123614)'), GeomFromEWKT('SRID=4674;POINT (-39.138168 -3.123606)'))) / (select extract(epoch from '2026-07-02 17:06:31'::timestamp) - extract(epoch from '2026-07-02 17:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138168 -3.123614)'), GeomFromEWKT('SRID=4674;POINT (-39.138168 -3.123606)'))) / (select extract(epoch from '2026-07-02 17:06:31'::timestamp) - extract(epoch from '2026-07-02 17:06:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138161 -3.123611)', '2026-07-02 17:06:41', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138168 -3.123606)'), GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123611)'))) / (select extract(epoch from '2026-07-02 17:06:41'::timestamp) - extract(epoch from '2026-07-02 17:06:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138168 -3.123606)'), GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123611)'))) / (select extract(epoch from '2026-07-02 17:06:41'::timestamp) - extract(epoch from '2026-07-02 17:06: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'), 47520, 'SRID=4674;POINT (-39.13816 -3.123605)', '2026-07-02 17:06:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123611)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123605)'))) / (select extract(epoch from '2026-07-02 17:06:50'::timestamp) - extract(epoch from '2026-07-02 17:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123611)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123605)'))) / (select extract(epoch from '2026-07-02 17:06:50'::timestamp) - extract(epoch from '2026-07-02 17:06: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'), 47520, 'SRID=4674;POINT (-39.138162 -3.123606)', '2026-07-02 17:06:52', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123605)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123606)'))) / (select extract(epoch from '2026-07-02 17:06:52'::timestamp) - extract(epoch from '2026-07-02 17:06:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123605)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123606)'))) / (select extract(epoch from '2026-07-02 17:06:52'::timestamp) - extract(epoch from '2026-07-02 17:06: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'), 47520, 'SRID=4674;POINT (-39.138154 -3.123606)', '2026-07-02 17:06:53', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123606)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123606)'))) / (select extract(epoch from '2026-07-02 17:06:53'::timestamp) - extract(epoch from '2026-07-02 17:06:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123606)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123606)'))) / (select extract(epoch from '2026-07-02 17:06:53'::timestamp) - extract(epoch from '2026-07-02 17:06: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'), 47520, 'SRID=4674;POINT (-39.138146 -3.123608)', '2026-07-02 17:07:01', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123606)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123608)'))) / (select extract(epoch from '2026-07-02 17:07:01'::timestamp) - extract(epoch from '2026-07-02 17:06:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123606)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123608)'))) / (select extract(epoch from '2026-07-02 17:07:01'::timestamp) - extract(epoch from '2026-07-02 17:06: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'), 47520, 'SRID=4674;POINT (-39.138157 -3.123607)', '2026-07-02 17:07:04', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123608)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123607)'))) / (select extract(epoch from '2026-07-02 17:07:04'::timestamp) - extract(epoch from '2026-07-02 17:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123608)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123607)'))) / (select extract(epoch from '2026-07-02 17:07:04'::timestamp) - extract(epoch from '2026-07-02 17:07:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138153 -3.123616)', '2026-07-02 17:07:07', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123607)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123616)'))) / (select extract(epoch from '2026-07-02 17:07:07'::timestamp) - extract(epoch from '2026-07-02 17:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123607)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123616)'))) / (select extract(epoch from '2026-07-02 17:07:07'::timestamp) - extract(epoch from '2026-07-02 17:07: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'), 47520, 'SRID=4674;POINT (-39.138151 -3.123604)', '2026-07-02 17:07:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123616)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123604)'))) / (select extract(epoch from '2026-07-02 17:07:13'::timestamp) - extract(epoch from '2026-07-02 17:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123616)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123604)'))) / (select extract(epoch from '2026-07-02 17:07:13'::timestamp) - extract(epoch from '2026-07-02 17:07:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138143 -3.12361)', '2026-07-02 17:07:29', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123604)'), GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.12361)'))) / (select extract(epoch from '2026-07-02 17:07:29'::timestamp) - extract(epoch from '2026-07-02 17:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123604)'), GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.12361)'))) / (select extract(epoch from '2026-07-02 17:07:29'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138162 -3.123598)', '2026-07-02 17:07:44', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.12361)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123598)'))) / (select extract(epoch from '2026-07-02 17:07:44'::timestamp) - extract(epoch from '2026-07-02 17:07:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.12361)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123598)'))) / (select extract(epoch from '2026-07-02 17:07:44'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138158 -3.1236)', '2026-07-02 17:07:58', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123598)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.1236)'))) / (select extract(epoch from '2026-07-02 17:07:58'::timestamp) - extract(epoch from '2026-07-02 17:07:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123598)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.1236)'))) / (select extract(epoch from '2026-07-02 17:07:58'::timestamp) - extract(epoch from '2026-07-02 17:07: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'), 47520, 'SRID=4674;POINT (-39.138156 -3.123604)', '2026-07-02 17:08:08', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.1236)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123604)'))) / (select extract(epoch from '2026-07-02 17:08:08'::timestamp) - extract(epoch from '2026-07-02 17:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.1236)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123604)'))) / (select extract(epoch from '2026-07-02 17:08:08'::timestamp) - extract(epoch from '2026-07-02 17:07:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.13815 -3.123598)', '2026-07-02 17:08:14', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123604)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123598)'))) / (select extract(epoch from '2026-07-02 17:08:14'::timestamp) - extract(epoch from '2026-07-02 17:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123604)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123598)'))) / (select extract(epoch from '2026-07-02 17:08:14'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138147 -3.123594)', '2026-07-02 17:08:36', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123598)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123594)'))) / (select extract(epoch from '2026-07-02 17:08:36'::timestamp) - extract(epoch from '2026-07-02 17:08:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123598)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123594)'))) / (select extract(epoch from '2026-07-02 17:08:36'::timestamp) - extract(epoch from '2026-07-02 17:08: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'), 47520, 'SRID=4674;POINT (-39.138154 -3.123595)', '2026-07-02 17:08:46', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123594)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123595)'))) / (select extract(epoch from '2026-07-02 17:08:46'::timestamp) - extract(epoch from '2026-07-02 17:08:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123594)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123595)'))) / (select extract(epoch from '2026-07-02 17:08:46'::timestamp) - extract(epoch from '2026-07-02 17:08: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'), 47520, 'SRID=4674;POINT (-39.138157 -3.123597)', '2026-07-02 17:08:55', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123595)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123597)'))) / (select extract(epoch from '2026-07-02 17:08:55'::timestamp) - extract(epoch from '2026-07-02 17:08:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123595)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123597)'))) / (select extract(epoch from '2026-07-02 17:08:55'::timestamp) - extract(epoch from '2026-07-02 17:08: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'), 47520, 'SRID=4674;POINT (-39.13816 -3.123598)', '2026-07-02 17:09:07', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123597)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123598)'))) / (select extract(epoch from '2026-07-02 17:09:07'::timestamp) - extract(epoch from '2026-07-02 17:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123597)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123598)'))) / (select extract(epoch from '2026-07-02 17:09:07'::timestamp) - extract(epoch from '2026-07-02 17:08: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'), 47520, 'SRID=4674;POINT (-39.138155 -3.123593)', '2026-07-02 17:09:19', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123598)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123593)'))) / (select extract(epoch from '2026-07-02 17:09:19'::timestamp) - extract(epoch from '2026-07-02 17:09:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123598)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123593)'))) / (select extract(epoch from '2026-07-02 17:09:19'::timestamp) - extract(epoch from '2026-07-02 17:09: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'), 47520, 'SRID=4674;POINT (-39.138161 -3.123589)', '2026-07-02 17:09:24', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123593)'), GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123589)'))) / (select extract(epoch from '2026-07-02 17:09:24'::timestamp) - extract(epoch from '2026-07-02 17:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123593)'), GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123589)'))) / (select extract(epoch from '2026-07-02 17:09:24'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138148 -3.123594)', '2026-07-02 17:09:31', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123589)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123594)'))) / (select extract(epoch from '2026-07-02 17:09:31'::timestamp) - extract(epoch from '2026-07-02 17:09:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123589)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123594)'))) / (select extract(epoch from '2026-07-02 17:09:31'::timestamp) - extract(epoch from '2026-07-02 17:09:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138153 -3.123598)', '2026-07-02 17:09:36', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123594)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123598)'))) / (select extract(epoch from '2026-07-02 17:09:36'::timestamp) - extract(epoch from '2026-07-02 17:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123594)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123598)'))) / (select extract(epoch from '2026-07-02 17:09:36'::timestamp) - extract(epoch from '2026-07-02 17:09: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'), 47520, 'SRID=4674;POINT (-39.138155 -3.123595)', '2026-07-02 17:09:39', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123598)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123595)'))) / (select extract(epoch from '2026-07-02 17:09:39'::timestamp) - extract(epoch from '2026-07-02 17:09:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123598)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123595)'))) / (select extract(epoch from '2026-07-02 17:09:39'::timestamp) - extract(epoch from '2026-07-02 17:09: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'), 47520, 'SRID=4674;POINT (-39.138158 -3.123598)', '2026-07-02 17:09:45', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123595)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123598)'))) / (select extract(epoch from '2026-07-02 17:09:45'::timestamp) - extract(epoch from '2026-07-02 17:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123595)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123598)'))) / (select extract(epoch from '2026-07-02 17:09:45'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138172 -3.123585)', '2026-07-02 17:09:57', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123598)'), GeomFromEWKT('SRID=4674;POINT (-39.138172 -3.123585)'))) / (select extract(epoch from '2026-07-02 17:09:57'::timestamp) - extract(epoch from '2026-07-02 17:09:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123598)'), GeomFromEWKT('SRID=4674;POINT (-39.138172 -3.123585)'))) / (select extract(epoch from '2026-07-02 17:09:57'::timestamp) - extract(epoch from '2026-07-02 17:09: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'), 47520, 'SRID=4674;POINT (-39.138162 -3.123585)', '2026-07-02 17:10:08', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138172 -3.123585)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123585)'))) / (select extract(epoch from '2026-07-02 17:10:08'::timestamp) - extract(epoch from '2026-07-02 17:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138172 -3.123585)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123585)'))) / (select extract(epoch from '2026-07-02 17:10:08'::timestamp) - extract(epoch from '2026-07-02 17:09: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'), 47520, 'SRID=4674;POINT (-39.138164 -3.123582)', '2026-07-02 17:10:28', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123585)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123582)'))) / (select extract(epoch from '2026-07-02 17:10:28'::timestamp) - extract(epoch from '2026-07-02 17:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123585)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123582)'))) / (select extract(epoch from '2026-07-02 17:10:28'::timestamp) - extract(epoch from '2026-07-02 17:10: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'), 47520, 'SRID=4674;POINT (-39.138163 -3.123583)', '2026-07-02 17:10:51', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123582)'), GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123583)'))) / (select extract(epoch from '2026-07-02 17:10:51'::timestamp) - extract(epoch from '2026-07-02 17:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123582)'), GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123583)'))) / (select extract(epoch from '2026-07-02 17:10:51'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138167 -3.123584)', '2026-07-02 17:10:59', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123583)'), GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123584)'))) / (select extract(epoch from '2026-07-02 17:10:59'::timestamp) - extract(epoch from '2026-07-02 17:10:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123583)'), GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123584)'))) / (select extract(epoch from '2026-07-02 17:10:59'::timestamp) - extract(epoch from '2026-07-02 17:10: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'), 47520, 'SRID=4674;POINT (-39.13817 -3.123585)', '2026-07-02 17:11:12', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123584)'), GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123585)'))) / (select extract(epoch from '2026-07-02 17:11:12'::timestamp) - extract(epoch from '2026-07-02 17:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138167 -3.123584)'), GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123585)'))) / (select extract(epoch from '2026-07-02 17:11:12'::timestamp) - extract(epoch from '2026-07-02 17:10: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'), 47520, 'SRID=4674;POINT (-39.138174 -3.123581)', '2026-07-02 17:11:37', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123585)'), GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123581)'))) / (select extract(epoch from '2026-07-02 17:11:37'::timestamp) - extract(epoch from '2026-07-02 17:11:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123585)'), GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123581)'))) / (select extract(epoch from '2026-07-02 17:11:37'::timestamp) - extract(epoch from '2026-07-02 17:11: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'), 47520, 'SRID=4674;POINT (-39.138172 -3.123591)', '2026-07-02 17:11:48', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123581)'), GeomFromEWKT('SRID=4674;POINT (-39.138172 -3.123591)'))) / (select extract(epoch from '2026-07-02 17:11:48'::timestamp) - extract(epoch from '2026-07-02 17:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123581)'), GeomFromEWKT('SRID=4674;POINT (-39.138172 -3.123591)'))) / (select extract(epoch from '2026-07-02 17:11:48'::timestamp) - extract(epoch from '2026-07-02 17:11:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138166 -3.123591)', '2026-07-02 17:12:07', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138172 -3.123591)'), GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123591)'))) / (select extract(epoch from '2026-07-02 17:12:07'::timestamp) - extract(epoch from '2026-07-02 17:11:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138172 -3.123591)'), GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123591)'))) / (select extract(epoch from '2026-07-02 17:12:07'::timestamp) - extract(epoch from '2026-07-02 17:11: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'), 47520, 'SRID=4674;POINT (-39.138161 -3.123592)', '2026-07-02 17:12:09', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123591)'), GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123592)'))) / (select extract(epoch from '2026-07-02 17:12:09'::timestamp) - extract(epoch from '2026-07-02 17:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123591)'), GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123592)'))) / (select extract(epoch from '2026-07-02 17:12:09'::timestamp) - extract(epoch from '2026-07-02 17:12:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138174 -3.123593)', '2026-07-02 17:12:10', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123592)'), GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123593)'))) / (select extract(epoch from '2026-07-02 17:12:10'::timestamp) - extract(epoch from '2026-07-02 17:12:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123592)'), GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123593)'))) / (select extract(epoch from '2026-07-02 17:12:10'::timestamp) - extract(epoch from '2026-07-02 17:12: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'), 47520, 'SRID=4674;POINT (-39.138168 -3.123602)', '2026-07-02 17:12:14', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123593)'), GeomFromEWKT('SRID=4674;POINT (-39.138168 -3.123602)'))) / (select extract(epoch from '2026-07-02 17:12:14'::timestamp) - extract(epoch from '2026-07-02 17:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123593)'), GeomFromEWKT('SRID=4674;POINT (-39.138168 -3.123602)'))) / (select extract(epoch from '2026-07-02 17:12:14'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138162 -3.123598)', '2026-07-02 17:12:25', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138168 -3.123602)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123598)'))) / (select extract(epoch from '2026-07-02 17:12:25'::timestamp) - extract(epoch from '2026-07-02 17:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138168 -3.123602)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123598)'))) / (select extract(epoch from '2026-07-02 17:12:25'::timestamp) - extract(epoch from '2026-07-02 17:12: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'), 47520, 'SRID=4674;POINT (-39.138159 -3.123601)', '2026-07-02 17:12:42', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123598)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123601)'))) / (select extract(epoch from '2026-07-02 17:12:42'::timestamp) - extract(epoch from '2026-07-02 17:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123598)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123601)'))) / (select extract(epoch from '2026-07-02 17:12:42'::timestamp) - extract(epoch from '2026-07-02 17:12:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138161 -3.123604)', '2026-07-02 17:13:04', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123601)'), GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123604)'))) / (select extract(epoch from '2026-07-02 17:13:04'::timestamp) - extract(epoch from '2026-07-02 17:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123601)'), GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123604)'))) / (select extract(epoch from '2026-07-02 17:13:04'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138154 -3.12361)', '2026-07-02 17:13:07', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123604)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.12361)'))) / (select extract(epoch from '2026-07-02 17:13:07'::timestamp) - extract(epoch from '2026-07-02 17:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138161 -3.123604)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.12361)'))) / (select extract(epoch from '2026-07-02 17:13:07'::timestamp) - extract(epoch from '2026-07-02 17:13: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'), 47520, 'SRID=4674;POINT (-39.138159 -3.123611)', '2026-07-02 17:13:28', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.12361)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123611)'))) / (select extract(epoch from '2026-07-02 17:13:28'::timestamp) - extract(epoch from '2026-07-02 17:13:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.12361)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123611)'))) / (select extract(epoch from '2026-07-02 17:13:28'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138165 -3.123593)', '2026-07-02 17:13:46', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123611)'), GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123593)'))) / (select extract(epoch from '2026-07-02 17:13:46'::timestamp) - extract(epoch from '2026-07-02 17:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123611)'), GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123593)'))) / (select extract(epoch from '2026-07-02 17:13:46'::timestamp) - extract(epoch from '2026-07-02 17:13:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.13816 -3.123594)', '2026-07-02 17:13:59', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123593)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123594)'))) / (select extract(epoch from '2026-07-02 17:13:59'::timestamp) - extract(epoch from '2026-07-02 17:13:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123593)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123594)'))) / (select extract(epoch from '2026-07-02 17:13:59'::timestamp) - extract(epoch from '2026-07-02 17:13:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138154 -3.123597)', '2026-07-02 17:14:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123594)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123597)'))) / (select extract(epoch from '2026-07-02 17:14:13'::timestamp) - extract(epoch from '2026-07-02 17:13:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123594)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123597)'))) / (select extract(epoch from '2026-07-02 17:14:13'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138159 -3.1236)', '2026-07-02 17:14:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123597)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.1236)'))) / (select extract(epoch from '2026-07-02 17:14:20'::timestamp) - extract(epoch from '2026-07-02 17:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123597)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.1236)'))) / (select extract(epoch from '2026-07-02 17:14:20'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138172 -3.123616)', '2026-07-02 17:14:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.1236)'), GeomFromEWKT('SRID=4674;POINT (-39.138172 -3.123616)'))) / (select extract(epoch from '2026-07-02 17:14:27'::timestamp) - extract(epoch from '2026-07-02 17:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.1236)'), GeomFromEWKT('SRID=4674;POINT (-39.138172 -3.123616)'))) / (select extract(epoch from '2026-07-02 17:14:27'::timestamp) - extract(epoch from '2026-07-02 17:14: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'), 47520, 'SRID=4674;POINT (-39.138178 -3.123617)', '2026-07-02 17:14:37', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138172 -3.123616)'), GeomFromEWKT('SRID=4674;POINT (-39.138178 -3.123617)'))) / (select extract(epoch from '2026-07-02 17:14:37'::timestamp) - extract(epoch from '2026-07-02 17:14:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138172 -3.123616)'), GeomFromEWKT('SRID=4674;POINT (-39.138178 -3.123617)'))) / (select extract(epoch from '2026-07-02 17:14:37'::timestamp) - extract(epoch from '2026-07-02 17:14:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138183 -3.123609)', '2026-07-02 17:14:39', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138178 -3.123617)'), GeomFromEWKT('SRID=4674;POINT (-39.138183 -3.123609)'))) / (select extract(epoch from '2026-07-02 17:14:39'::timestamp) - extract(epoch from '2026-07-02 17:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138178 -3.123617)'), GeomFromEWKT('SRID=4674;POINT (-39.138183 -3.123609)'))) / (select extract(epoch from '2026-07-02 17:14:39'::timestamp) - extract(epoch from '2026-07-02 17:14: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'), 47520, 'SRID=4674;POINT (-39.138174 -3.123611)', '2026-07-02 17:14:45', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138183 -3.123609)'), GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123611)'))) / (select extract(epoch from '2026-07-02 17:14:45'::timestamp) - extract(epoch from '2026-07-02 17:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138183 -3.123609)'), GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123611)'))) / (select extract(epoch from '2026-07-02 17:14:45'::timestamp) - extract(epoch from '2026-07-02 17:14: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'), 47520, 'SRID=4674;POINT (-39.13817 -3.123611)', '2026-07-02 17:14:59', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123611)'), GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123611)'))) / (select extract(epoch from '2026-07-02 17:14:59'::timestamp) - extract(epoch from '2026-07-02 17:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138174 -3.123611)'), GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123611)'))) / (select extract(epoch from '2026-07-02 17:14:59'::timestamp) - extract(epoch from '2026-07-02 17:14:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138175 -3.123606)', '2026-07-02 17:15:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123611)'), GeomFromEWKT('SRID=4674;POINT (-39.138175 -3.123606)'))) / (select extract(epoch from '2026-07-02 17:15:06'::timestamp) - extract(epoch from '2026-07-02 17:14:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13817 -3.123611)'), GeomFromEWKT('SRID=4674;POINT (-39.138175 -3.123606)'))) / (select extract(epoch from '2026-07-02 17:15:06'::timestamp) - extract(epoch from '2026-07-02 17:14:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138175 -3.123607)', '2026-07-02 17:15:16', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138175 -3.123606)'), GeomFromEWKT('SRID=4674;POINT (-39.138175 -3.123607)'))) / (select extract(epoch from '2026-07-02 17:15:16'::timestamp) - extract(epoch from '2026-07-02 17:15:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138175 -3.123606)'), GeomFromEWKT('SRID=4674;POINT (-39.138175 -3.123607)'))) / (select extract(epoch from '2026-07-02 17:15:16'::timestamp) - extract(epoch from '2026-07-02 17:15:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138164 -3.123616)', '2026-07-02 17:15:26', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138175 -3.123607)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123616)'))) / (select extract(epoch from '2026-07-02 17:15:26'::timestamp) - extract(epoch from '2026-07-02 17:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138175 -3.123607)'), GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123616)'))) / (select extract(epoch from '2026-07-02 17:15:26'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138172 -3.123628)', '2026-07-02 17:15:40', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123616)'), GeomFromEWKT('SRID=4674;POINT (-39.138172 -3.123628)'))) / (select extract(epoch from '2026-07-02 17:15:40'::timestamp) - extract(epoch from '2026-07-02 17:15:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138164 -3.123616)'), GeomFromEWKT('SRID=4674;POINT (-39.138172 -3.123628)'))) / (select extract(epoch from '2026-07-02 17:15:40'::timestamp) - extract(epoch from '2026-07-02 17:15: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'), 47520, 'SRID=4674;POINT (-39.138172 -3.123625)', '2026-07-02 17:15:46', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138172 -3.123628)'), GeomFromEWKT('SRID=4674;POINT (-39.138172 -3.123625)'))) / (select extract(epoch from '2026-07-02 17:15:46'::timestamp) - extract(epoch from '2026-07-02 17:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138172 -3.123628)'), GeomFromEWKT('SRID=4674;POINT (-39.138172 -3.123625)'))) / (select extract(epoch from '2026-07-02 17:15:46'::timestamp) - extract(epoch from '2026-07-02 17:15: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'), 47520, 'SRID=4674;POINT (-39.138153 -3.123607)', '2026-07-02 17:15:58', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138172 -3.123625)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123607)'))) / (select extract(epoch from '2026-07-02 17:15:58'::timestamp) - extract(epoch from '2026-07-02 17:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138172 -3.123625)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123607)'))) / (select extract(epoch from '2026-07-02 17:15:58'::timestamp) - extract(epoch from '2026-07-02 17:15: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'), 47520, 'SRID=4674;POINT (-39.138153 -3.123602)', '2026-07-02 17:16:08', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123607)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123602)'))) / (select extract(epoch from '2026-07-02 17:16:08'::timestamp) - extract(epoch from '2026-07-02 17:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123607)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123602)'))) / (select extract(epoch from '2026-07-02 17:16:08'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138162 -3.123597)', '2026-07-02 17:16:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123602)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123597)'))) / (select extract(epoch from '2026-07-02 17:16:21'::timestamp) - extract(epoch from '2026-07-02 17:16:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123602)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123597)'))) / (select extract(epoch from '2026-07-02 17:16:21'::timestamp) - extract(epoch from '2026-07-02 17:16:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138148 -3.123598)', '2026-07-02 17:16:38', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123597)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123598)'))) / (select extract(epoch from '2026-07-02 17:16:38'::timestamp) - extract(epoch from '2026-07-02 17:16:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123597)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123598)'))) / (select extract(epoch from '2026-07-02 17:16:38'::timestamp) - extract(epoch from '2026-07-02 17:16: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'), 47520, 'SRID=4674;POINT (-39.138152 -3.123599)', '2026-07-02 17:16:45', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123598)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123599)'))) / (select extract(epoch from '2026-07-02 17:16:45'::timestamp) - extract(epoch from '2026-07-02 17:16:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123598)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123599)'))) / (select extract(epoch from '2026-07-02 17:16:45'::timestamp) - extract(epoch from '2026-07-02 17:16:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138153 -3.123592)', '2026-07-02 17:16:55', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123599)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123592)'))) / (select extract(epoch from '2026-07-02 17:16:55'::timestamp) - extract(epoch from '2026-07-02 17:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123599)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123592)'))) / (select extract(epoch from '2026-07-02 17:16:55'::timestamp) - extract(epoch from '2026-07-02 17:16: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'), 47520, 'SRID=4674;POINT (-39.138147 -3.1236)', '2026-07-02 17:17:07', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123592)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.1236)'))) / (select extract(epoch from '2026-07-02 17:17:07'::timestamp) - extract(epoch from '2026-07-02 17:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123592)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.1236)'))) / (select extract(epoch from '2026-07-02 17:17:07'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.13814 -3.123594)', '2026-07-02 17:17:14', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.1236)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123594)'))) / (select extract(epoch from '2026-07-02 17:17:14'::timestamp) - extract(epoch from '2026-07-02 17:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.1236)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123594)'))) / (select extract(epoch from '2026-07-02 17:17:14'::timestamp) - extract(epoch from '2026-07-02 17:17: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'), 47520, 'SRID=4674;POINT (-39.138141 -3.123592)', '2026-07-02 17:17:35', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123594)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123592)'))) / (select extract(epoch from '2026-07-02 17:17:35'::timestamp) - extract(epoch from '2026-07-02 17:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123594)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123592)'))) / (select extract(epoch from '2026-07-02 17:17:35'::timestamp) - extract(epoch from '2026-07-02 17:17:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138158 -3.123602)', '2026-07-02 17:17:48', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123592)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123602)'))) / (select extract(epoch from '2026-07-02 17:17:48'::timestamp) - extract(epoch from '2026-07-02 17:17:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123592)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123602)'))) / (select extract(epoch from '2026-07-02 17:17:48'::timestamp) - extract(epoch from '2026-07-02 17:17: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'), 47520, 'SRID=4674;POINT (-39.13816 -3.123595)', '2026-07-02 17:17:59', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123602)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123595)'))) / (select extract(epoch from '2026-07-02 17:17:59'::timestamp) - extract(epoch from '2026-07-02 17:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123602)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123595)'))) / (select extract(epoch from '2026-07-02 17:17:59'::timestamp) - extract(epoch from '2026-07-02 17:17:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138163 -3.123582)', '2026-07-02 17:18:15', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123595)'), GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123582)'))) / (select extract(epoch from '2026-07-02 17:18:15'::timestamp) - extract(epoch from '2026-07-02 17:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123595)'), GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123582)'))) / (select extract(epoch from '2026-07-02 17:18:15'::timestamp) - extract(epoch from '2026-07-02 17:17:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138158 -3.123582)', '2026-07-02 17:18:21', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123582)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123582)'))) / (select extract(epoch from '2026-07-02 17:18:21'::timestamp) - extract(epoch from '2026-07-02 17:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123582)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123582)'))) / (select extract(epoch from '2026-07-02 17:18:21'::timestamp) - extract(epoch from '2026-07-02 17:18:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138154 -3.123589)', '2026-07-02 17:18:31', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123582)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123589)'))) / (select extract(epoch from '2026-07-02 17:18:31'::timestamp) - extract(epoch from '2026-07-02 17:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123582)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123589)'))) / (select extract(epoch from '2026-07-02 17:18:31'::timestamp) - extract(epoch from '2026-07-02 17:18:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138154 -3.123592)', '2026-07-02 17:18:37', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123589)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123592)'))) / (select extract(epoch from '2026-07-02 17:18:37'::timestamp) - extract(epoch from '2026-07-02 17:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123589)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123592)'))) / (select extract(epoch from '2026-07-02 17:18:37'::timestamp) - extract(epoch from '2026-07-02 17:18:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138147 -3.123592)', '2026-07-02 17:18:55', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123592)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123592)'))) / (select extract(epoch from '2026-07-02 17:18:55'::timestamp) - extract(epoch from '2026-07-02 17:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123592)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123592)'))) / (select extract(epoch from '2026-07-02 17:18:55'::timestamp) - extract(epoch from '2026-07-02 17:18: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'), 47520, 'SRID=4674;POINT (-39.138147 -3.123596)', '2026-07-02 17:19:00', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123592)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123596)'))) / (select extract(epoch from '2026-07-02 17:19:00'::timestamp) - extract(epoch from '2026-07-02 17:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123592)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123596)'))) / (select extract(epoch from '2026-07-02 17:19:00'::timestamp) - extract(epoch from '2026-07-02 17:18:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138148 -3.123588)', '2026-07-02 17:19:12', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123596)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123588)'))) / (select extract(epoch from '2026-07-02 17:19:12'::timestamp) - extract(epoch from '2026-07-02 17:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123596)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123588)'))) / (select extract(epoch from '2026-07-02 17:19:12'::timestamp) - extract(epoch from '2026-07-02 17:19:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138155 -3.123577)', '2026-07-02 17:19:22', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123588)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123577)'))) / (select extract(epoch from '2026-07-02 17:19:22'::timestamp) - extract(epoch from '2026-07-02 17:19:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123588)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123577)'))) / (select extract(epoch from '2026-07-02 17:19:22'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138154 -3.123571)', '2026-07-02 17:19:32', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123577)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123571)'))) / (select extract(epoch from '2026-07-02 17:19:32'::timestamp) - extract(epoch from '2026-07-02 17:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123577)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123571)'))) / (select extract(epoch from '2026-07-02 17:19:32'::timestamp) - extract(epoch from '2026-07-02 17:19: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'), 47520, 'SRID=4674;POINT (-39.13816 -3.123569)', '2026-07-02 17:19:44', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123571)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123569)'))) / (select extract(epoch from '2026-07-02 17:19:44'::timestamp) - extract(epoch from '2026-07-02 17:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123571)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123569)'))) / (select extract(epoch from '2026-07-02 17:19:44'::timestamp) - extract(epoch from '2026-07-02 17:19: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'), 47520, 'SRID=4674;POINT (-39.138156 -3.123567)', '2026-07-02 17:19:49', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123569)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123567)'))) / (select extract(epoch from '2026-07-02 17:19:49'::timestamp) - extract(epoch from '2026-07-02 17:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123569)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123567)'))) / (select extract(epoch from '2026-07-02 17:19:49'::timestamp) - extract(epoch from '2026-07-02 17:19:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138142 -3.123565)', '2026-07-02 17:20:06', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123567)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123565)'))) / (select extract(epoch from '2026-07-02 17:20:06'::timestamp) - extract(epoch from '2026-07-02 17:19:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123567)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123565)'))) / (select extract(epoch from '2026-07-02 17:20:06'::timestamp) - extract(epoch from '2026-07-02 17:19: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'), 47520, 'SRID=4674;POINT (-39.138142 -3.123567)', '2026-07-02 17:20:14', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123565)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123567)'))) / (select extract(epoch from '2026-07-02 17:20:14'::timestamp) - extract(epoch from '2026-07-02 17:20:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123565)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123567)'))) / (select extract(epoch from '2026-07-02 17:20:14'::timestamp) - extract(epoch from '2026-07-02 17:20:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138142 -3.123567)', '2026-07-02 17:20:17', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123567)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123567)'))) / (select extract(epoch from '2026-07-02 17:20:17'::timestamp) - extract(epoch from '2026-07-02 17:20:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123567)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123567)'))) / (select extract(epoch from '2026-07-02 17:20:17'::timestamp) - extract(epoch from '2026-07-02 17:20:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138135 -3.123563)', '2026-07-02 17:20:32', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123567)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123563)'))) / (select extract(epoch from '2026-07-02 17:20:32'::timestamp) - extract(epoch from '2026-07-02 17:20:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123567)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123563)'))) / (select extract(epoch from '2026-07-02 17:20:32'::timestamp) - extract(epoch from '2026-07-02 17:20:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138133 -3.123563)', '2026-07-02 17:20:38', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123563)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123563)'))) / (select extract(epoch from '2026-07-02 17:20:38'::timestamp) - extract(epoch from '2026-07-02 17:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123563)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123563)'))) / (select extract(epoch from '2026-07-02 17:20:38'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138134 -3.123561)', '2026-07-02 17:21:02', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123563)'), GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123561)'))) / (select extract(epoch from '2026-07-02 17:21:02'::timestamp) - extract(epoch from '2026-07-02 17:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123563)'), GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123561)'))) / (select extract(epoch from '2026-07-02 17:21:02'::timestamp) - extract(epoch from '2026-07-02 17:20:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138129 -3.123564)', '2026-07-02 17:21:12', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123561)'), GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123564)'))) / (select extract(epoch from '2026-07-02 17:21:12'::timestamp) - extract(epoch from '2026-07-02 17:21:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123561)'), GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123564)'))) / (select extract(epoch from '2026-07-02 17:21:12'::timestamp) - extract(epoch from '2026-07-02 17:21: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'), 47520, 'SRID=4674;POINT (-39.138137 -3.123559)', '2026-07-02 17:21:34', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123564)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123559)'))) / (select extract(epoch from '2026-07-02 17:21:34'::timestamp) - extract(epoch from '2026-07-02 17:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123564)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123559)'))) / (select extract(epoch from '2026-07-02 17:21:34'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138135 -3.123554)', '2026-07-02 17:21:40', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123559)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123554)'))) / (select extract(epoch from '2026-07-02 17:21:40'::timestamp) - extract(epoch from '2026-07-02 17:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123559)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123554)'))) / (select extract(epoch from '2026-07-02 17:21:40'::timestamp) - extract(epoch from '2026-07-02 17:21:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138136 -3.123557)', '2026-07-02 17:21:47', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123554)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123557)'))) / (select extract(epoch from '2026-07-02 17:21:47'::timestamp) - extract(epoch from '2026-07-02 17:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123554)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123557)'))) / (select extract(epoch from '2026-07-02 17:21:47'::timestamp) - extract(epoch from '2026-07-02 17:21:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138141 -3.12356)', '2026-07-02 17:21:50', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123557)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.12356)'))) / (select extract(epoch from '2026-07-02 17:21:50'::timestamp) - extract(epoch from '2026-07-02 17:21:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123557)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.12356)'))) / (select extract(epoch from '2026-07-02 17:21:50'::timestamp) - extract(epoch from '2026-07-02 17:21: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'), 47520, 'SRID=4674;POINT (-39.138127 -3.123561)', '2026-07-02 17:21:57', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.12356)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123561)'))) / (select extract(epoch from '2026-07-02 17:21:57'::timestamp) - extract(epoch from '2026-07-02 17:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.12356)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123561)'))) / (select extract(epoch from '2026-07-02 17:21:57'::timestamp) - extract(epoch from '2026-07-02 17:21:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138125 -3.123558)', '2026-07-02 17:21:58', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123561)'), GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123558)'))) / (select extract(epoch from '2026-07-02 17:21:58'::timestamp) - extract(epoch from '2026-07-02 17:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123561)'), GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123558)'))) / (select extract(epoch from '2026-07-02 17:21:58'::timestamp) - extract(epoch from '2026-07-02 17:21: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'), 47520, 'SRID=4674;POINT (-39.138146 -3.123552)', '2026-07-02 17:22:00', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123558)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123552)'))) / (select extract(epoch from '2026-07-02 17:22:00'::timestamp) - extract(epoch from '2026-07-02 17:21:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123558)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123552)'))) / (select extract(epoch from '2026-07-02 17:22:00'::timestamp) - extract(epoch from '2026-07-02 17:21: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'), 47520, 'SRID=4674;POINT (-39.138138 -3.12356)', '2026-07-02 17:22:03', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123552)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.12356)'))) / (select extract(epoch from '2026-07-02 17:22:03'::timestamp) - extract(epoch from '2026-07-02 17:22:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123552)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.12356)'))) / (select extract(epoch from '2026-07-02 17:22:03'::timestamp) - extract(epoch from '2026-07-02 17:22:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138142 -3.123559)', '2026-07-02 17:22:15', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.12356)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123559)'))) / (select extract(epoch from '2026-07-02 17:22:15'::timestamp) - extract(epoch from '2026-07-02 17:22:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.12356)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123559)'))) / (select extract(epoch from '2026-07-02 17:22:15'::timestamp) - extract(epoch from '2026-07-02 17:22:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138151 -3.123568)', '2026-07-02 17:22:47', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123559)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123568)'))) / (select extract(epoch from '2026-07-02 17:22:47'::timestamp) - extract(epoch from '2026-07-02 17:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123559)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123568)'))) / (select extract(epoch from '2026-07-02 17:22:47'::timestamp) - extract(epoch from '2026-07-02 17:22:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138151 -3.123562)', '2026-07-02 17:22:54', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123568)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123562)'))) / (select extract(epoch from '2026-07-02 17:22:54'::timestamp) - extract(epoch from '2026-07-02 17:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123568)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123562)'))) / (select extract(epoch from '2026-07-02 17:22:54'::timestamp) - extract(epoch from '2026-07-02 17:22:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138157 -3.123555)', '2026-07-02 17:23:02', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123562)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123555)'))) / (select extract(epoch from '2026-07-02 17:23:02'::timestamp) - extract(epoch from '2026-07-02 17:22:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123562)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123555)'))) / (select extract(epoch from '2026-07-02 17:23:02'::timestamp) - extract(epoch from '2026-07-02 17:22:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138146 -3.123553)', '2026-07-02 17:23:11', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123555)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123553)'))) / (select extract(epoch from '2026-07-02 17:23:11'::timestamp) - extract(epoch from '2026-07-02 17:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123555)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123553)'))) / (select extract(epoch from '2026-07-02 17:23:11'::timestamp) - extract(epoch from '2026-07-02 17:23:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.13814 -3.123551)', '2026-07-02 17:23:27', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123553)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123551)'))) / (select extract(epoch from '2026-07-02 17:23:27'::timestamp) - extract(epoch from '2026-07-02 17:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123553)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123551)'))) / (select extract(epoch from '2026-07-02 17:23:27'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138153 -3.12355)', '2026-07-02 17:23:37', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123551)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.12355)'))) / (select extract(epoch from '2026-07-02 17:23:37'::timestamp) - extract(epoch from '2026-07-02 17:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123551)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.12355)'))) / (select extract(epoch from '2026-07-02 17:23:37'::timestamp) - extract(epoch from '2026-07-02 17:23:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138141 -3.12355)', '2026-07-02 17:23:42', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.12355)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.12355)'))) / (select extract(epoch from '2026-07-02 17:23:42'::timestamp) - extract(epoch from '2026-07-02 17:23:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.12355)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.12355)'))) / (select extract(epoch from '2026-07-02 17:23:42'::timestamp) - extract(epoch from '2026-07-02 17:23:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138133 -3.123549)', '2026-07-02 17:23:50', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.12355)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123549)'))) / (select extract(epoch from '2026-07-02 17:23:50'::timestamp) - extract(epoch from '2026-07-02 17:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.12355)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123549)'))) / (select extract(epoch from '2026-07-02 17:23:50'::timestamp) - extract(epoch from '2026-07-02 17:23: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'), 47520, 'SRID=4674;POINT (-39.138141 -3.123547)', '2026-07-02 17:23:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123549)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123547)'))) / (select extract(epoch from '2026-07-02 17:23:56'::timestamp) - extract(epoch from '2026-07-02 17:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123549)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123547)'))) / (select extract(epoch from '2026-07-02 17:23:56'::timestamp) - extract(epoch from '2026-07-02 17:23:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138142 -3.123551)', '2026-07-02 17:24:04', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123547)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123551)'))) / (select extract(epoch from '2026-07-02 17:24:04'::timestamp) - extract(epoch from '2026-07-02 17:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123547)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123551)'))) / (select extract(epoch from '2026-07-02 17:24:04'::timestamp) - extract(epoch from '2026-07-02 17:23:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138137 -3.123568)', '2026-07-02 17:24:24', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123551)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123568)'))) / (select extract(epoch from '2026-07-02 17:24:24'::timestamp) - extract(epoch from '2026-07-02 17:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123551)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123568)'))) / (select extract(epoch from '2026-07-02 17:24:24'::timestamp) - extract(epoch from '2026-07-02 17:24:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138128 -3.123569)', '2026-07-02 17:24:40', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123568)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123569)'))) / (select extract(epoch from '2026-07-02 17:24:40'::timestamp) - extract(epoch from '2026-07-02 17:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123568)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123569)'))) / (select extract(epoch from '2026-07-02 17:24:40'::timestamp) - extract(epoch from '2026-07-02 17:24:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138135 -3.123577)', '2026-07-02 17:25:03', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123569)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123577)'))) / (select extract(epoch from '2026-07-02 17:25:03'::timestamp) - extract(epoch from '2026-07-02 17:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123569)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123577)'))) / (select extract(epoch from '2026-07-02 17:25:03'::timestamp) - extract(epoch from '2026-07-02 17:24:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138131 -3.123578)', '2026-07-02 17:25:12', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123577)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123578)'))) / (select extract(epoch from '2026-07-02 17:25:12'::timestamp) - extract(epoch from '2026-07-02 17:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123577)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123578)'))) / (select extract(epoch from '2026-07-02 17:25:12'::timestamp) - extract(epoch from '2026-07-02 17:25:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138141 -3.123572)', '2026-07-02 17:25:17', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123578)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123572)'))) / (select extract(epoch from '2026-07-02 17:25:17'::timestamp) - extract(epoch from '2026-07-02 17:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123578)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123572)'))) / (select extract(epoch from '2026-07-02 17:25:17'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138128 -3.123572)', '2026-07-02 17:25:22', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123572)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123572)'))) / (select extract(epoch from '2026-07-02 17:25:22'::timestamp) - extract(epoch from '2026-07-02 17:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123572)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123572)'))) / (select extract(epoch from '2026-07-02 17:25:22'::timestamp) - extract(epoch from '2026-07-02 17:25:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138132 -3.123573)', '2026-07-02 17:25:34', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123572)'), GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123573)'))) / (select extract(epoch from '2026-07-02 17:25:34'::timestamp) - extract(epoch from '2026-07-02 17:25:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123572)'), GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123573)'))) / (select extract(epoch from '2026-07-02 17:25:34'::timestamp) - extract(epoch from '2026-07-02 17:25: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'), 47520, 'SRID=4674;POINT (-39.138139 -3.123572)', '2026-07-02 17:25:47', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123573)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123572)'))) / (select extract(epoch from '2026-07-02 17:25:47'::timestamp) - extract(epoch from '2026-07-02 17:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123573)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123572)'))) / (select extract(epoch from '2026-07-02 17:25:47'::timestamp) - extract(epoch from '2026-07-02 17:25: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'), 47520, 'SRID=4674;POINT (-39.13815 -3.123569)', '2026-07-02 17:25:49', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123572)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123569)'))) / (select extract(epoch from '2026-07-02 17:25:49'::timestamp) - extract(epoch from '2026-07-02 17:25:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123572)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123569)'))) / (select extract(epoch from '2026-07-02 17:25:49'::timestamp) - extract(epoch from '2026-07-02 17:25: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'), 47520, 'SRID=4674;POINT (-39.138146 -3.123569)', '2026-07-02 17:25:51', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123569)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123569)'))) / (select extract(epoch from '2026-07-02 17:25:51'::timestamp) - extract(epoch from '2026-07-02 17:25:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123569)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123569)'))) / (select extract(epoch from '2026-07-02 17:25:51'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138136 -3.123573)', '2026-07-02 17:25:59', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123569)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123573)'))) / (select extract(epoch from '2026-07-02 17:25:59'::timestamp) - extract(epoch from '2026-07-02 17:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123569)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123573)'))) / (select extract(epoch from '2026-07-02 17:25:59'::timestamp) - extract(epoch from '2026-07-02 17:25: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'), 47520, 'SRID=4674;POINT (-39.138138 -3.123572)', '2026-07-02 17:26:04', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123573)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123572)'))) / (select extract(epoch from '2026-07-02 17:26:04'::timestamp) - extract(epoch from '2026-07-02 17:25:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123573)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123572)'))) / (select extract(epoch from '2026-07-02 17:26:04'::timestamp) - extract(epoch from '2026-07-02 17:25: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'), 47520, 'SRID=4674;POINT (-39.138138 -3.123574)', '2026-07-02 17:26:16', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123572)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123574)'))) / (select extract(epoch from '2026-07-02 17:26:16'::timestamp) - extract(epoch from '2026-07-02 17:26:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123572)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123574)'))) / (select extract(epoch from '2026-07-02 17:26:16'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.13814 -3.123574)', '2026-07-02 17:26:23', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123574)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123574)'))) / (select extract(epoch from '2026-07-02 17:26:23'::timestamp) - extract(epoch from '2026-07-02 17:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123574)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123574)'))) / (select extract(epoch from '2026-07-02 17:26:23'::timestamp) - extract(epoch from '2026-07-02 17:26:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138138 -3.123578)', '2026-07-02 17:26:28', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123574)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123578)'))) / (select extract(epoch from '2026-07-02 17:26:28'::timestamp) - extract(epoch from '2026-07-02 17:26:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123574)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123578)'))) / (select extract(epoch from '2026-07-02 17:26:28'::timestamp) - extract(epoch from '2026-07-02 17:26:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138137 -3.123568)', '2026-07-02 17:26:39', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123578)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123568)'))) / (select extract(epoch from '2026-07-02 17:26:39'::timestamp) - extract(epoch from '2026-07-02 17:26:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123578)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123568)'))) / (select extract(epoch from '2026-07-02 17:26:39'::timestamp) - extract(epoch from '2026-07-02 17:26: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'), 47520, 'SRID=4674;POINT (-39.138129 -3.123566)', '2026-07-02 17:26:48', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123568)'), GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123566)'))) / (select extract(epoch from '2026-07-02 17:26:48'::timestamp) - extract(epoch from '2026-07-02 17:26:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123568)'), GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123566)'))) / (select extract(epoch from '2026-07-02 17:26:48'::timestamp) - extract(epoch from '2026-07-02 17:26: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'), 47520, 'SRID=4674;POINT (-39.138125 -3.12357)', '2026-07-02 17:27:05', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123566)'), GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.12357)'))) / (select extract(epoch from '2026-07-02 17:27:05'::timestamp) - extract(epoch from '2026-07-02 17:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138129 -3.123566)'), GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.12357)'))) / (select extract(epoch from '2026-07-02 17:27:05'::timestamp) - extract(epoch from '2026-07-02 17:26: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'), 47520, 'SRID=4674;POINT (-39.138119 -3.123572)', '2026-07-02 17:27:16', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.12357)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123572)'))) / (select extract(epoch from '2026-07-02 17:27:16'::timestamp) - extract(epoch from '2026-07-02 17:27:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.12357)'), GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123572)'))) / (select extract(epoch from '2026-07-02 17:27:16'::timestamp) - extract(epoch from '2026-07-02 17:27:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138131 -3.123573)', '2026-07-02 17:27:21', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123572)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123573)'))) / (select extract(epoch from '2026-07-02 17:27:21'::timestamp) - extract(epoch from '2026-07-02 17:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138119 -3.123572)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123573)'))) / (select extract(epoch from '2026-07-02 17:27:21'::timestamp) - extract(epoch from '2026-07-02 17:27: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'), 47520, 'SRID=4674;POINT (-39.138126 -3.123573)', '2026-07-02 17:27:30', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123573)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123573)'))) / (select extract(epoch from '2026-07-02 17:27:30'::timestamp) - extract(epoch from '2026-07-02 17:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123573)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123573)'))) / (select extract(epoch from '2026-07-02 17:27:30'::timestamp) - extract(epoch from '2026-07-02 17:27:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138127 -3.123573)', '2026-07-02 17:27:39', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123573)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123573)'))) / (select extract(epoch from '2026-07-02 17:27:39'::timestamp) - extract(epoch from '2026-07-02 17:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123573)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123573)'))) / (select extract(epoch from '2026-07-02 17:27:39'::timestamp) - extract(epoch from '2026-07-02 17:27:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.13812 -3.123571)', '2026-07-02 17:27:45', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123573)'), GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123571)'))) / (select extract(epoch from '2026-07-02 17:27:45'::timestamp) - extract(epoch from '2026-07-02 17:27:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123573)'), GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123571)'))) / (select extract(epoch from '2026-07-02 17:27:45'::timestamp) - extract(epoch from '2026-07-02 17:27: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'), 47520, 'SRID=4674;POINT (-39.138128 -3.123571)', '2026-07-02 17:27:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123571)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123571)'))) / (select extract(epoch from '2026-07-02 17:27:49'::timestamp) - extract(epoch from '2026-07-02 17:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123571)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123571)'))) / (select extract(epoch from '2026-07-02 17:27:49'::timestamp) - extract(epoch from '2026-07-02 17:27:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.13813 -3.123579)', '2026-07-02 17:27:51', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123571)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123579)'))) / (select extract(epoch from '2026-07-02 17:27:51'::timestamp) - extract(epoch from '2026-07-02 17:27:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123571)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123579)'))) / (select extract(epoch from '2026-07-02 17:27:51'::timestamp) - extract(epoch from '2026-07-02 17:27: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'), 47520, 'SRID=4674;POINT (-39.138133 -3.123578)', '2026-07-02 17:27:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123579)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123578)'))) / (select extract(epoch from '2026-07-02 17:27:56'::timestamp) - extract(epoch from '2026-07-02 17:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123579)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123578)'))) / (select extract(epoch from '2026-07-02 17:27:56'::timestamp) - extract(epoch from '2026-07-02 17:27:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.13813 -3.123567)', '2026-07-02 17:28:05', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123578)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123567)'))) / (select extract(epoch from '2026-07-02 17:28:05'::timestamp) - extract(epoch from '2026-07-02 17:27:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123578)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123567)'))) / (select extract(epoch from '2026-07-02 17:28:05'::timestamp) - extract(epoch from '2026-07-02 17:27:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138128 -3.123569)', '2026-07-02 17:28:24', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123567)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123569)'))) / (select extract(epoch from '2026-07-02 17:28:24'::timestamp) - extract(epoch from '2026-07-02 17:28:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123567)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123569)'))) / (select extract(epoch from '2026-07-02 17:28:24'::timestamp) - extract(epoch from '2026-07-02 17:28: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'), 47520, 'SRID=4674;POINT (-39.13813 -3.12357)', '2026-07-02 17:28:34', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123569)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.12357)'))) / (select extract(epoch from '2026-07-02 17:28:34'::timestamp) - extract(epoch from '2026-07-02 17:28:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123569)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.12357)'))) / (select extract(epoch from '2026-07-02 17:28:34'::timestamp) - extract(epoch from '2026-07-02 17:28:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138142 -3.123572)', '2026-07-02 17:28:55', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.12357)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123572)'))) / (select extract(epoch from '2026-07-02 17:28:55'::timestamp) - extract(epoch from '2026-07-02 17:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.12357)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123572)'))) / (select extract(epoch from '2026-07-02 17:28:55'::timestamp) - extract(epoch from '2026-07-02 17:28: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'), 47520, 'SRID=4674;POINT (-39.138125 -3.123574)', '2026-07-02 17:29:14', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123572)'), GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123574)'))) / (select extract(epoch from '2026-07-02 17:29:14'::timestamp) - extract(epoch from '2026-07-02 17:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123572)'), GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123574)'))) / (select extract(epoch from '2026-07-02 17:29:14'::timestamp) - extract(epoch from '2026-07-02 17:28:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138121 -3.123571)', '2026-07-02 17:29:29', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123574)'), GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123571)'))) / (select extract(epoch from '2026-07-02 17:29:29'::timestamp) - extract(epoch from '2026-07-02 17:29:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123574)'), GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123571)'))) / (select extract(epoch from '2026-07-02 17:29:29'::timestamp) - extract(epoch from '2026-07-02 17:29: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'), 47520, 'SRID=4674;POINT (-39.138131 -3.12359)', '2026-07-02 17:29:46', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123571)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.12359)'))) / (select extract(epoch from '2026-07-02 17:29:46'::timestamp) - extract(epoch from '2026-07-02 17:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123571)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.12359)'))) / (select extract(epoch from '2026-07-02 17:29:46'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138144 -3.123597)', '2026-07-02 17:29:54', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.12359)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123597)'))) / (select extract(epoch from '2026-07-02 17:29:54'::timestamp) - extract(epoch from '2026-07-02 17:29:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.12359)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123597)'))) / (select extract(epoch from '2026-07-02 17:29:54'::timestamp) - extract(epoch from '2026-07-02 17:29: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'), 47520, 'SRID=4674;POINT (-39.138133 -3.123601)', '2026-07-02 17:29:59', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123597)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123601)'))) / (select extract(epoch from '2026-07-02 17:29:59'::timestamp) - extract(epoch from '2026-07-02 17:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123597)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123601)'))) / (select extract(epoch from '2026-07-02 17:29:59'::timestamp) - extract(epoch from '2026-07-02 17:29:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138145 -3.123612)', '2026-07-02 17:30:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123601)'), GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123612)'))) / (select extract(epoch from '2026-07-02 17:30:18'::timestamp) - extract(epoch from '2026-07-02 17:29:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123601)'), GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123612)'))) / (select extract(epoch from '2026-07-02 17:30:18'::timestamp) - extract(epoch from '2026-07-02 17:29:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138154 -3.123609)', '2026-07-02 17:30:26', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123612)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123609)'))) / (select extract(epoch from '2026-07-02 17:30:26'::timestamp) - extract(epoch from '2026-07-02 17:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123612)'), GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123609)'))) / (select extract(epoch from '2026-07-02 17:30:26'::timestamp) - extract(epoch from '2026-07-02 17:30:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138142 -3.123626)', '2026-07-02 17:30:35', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123609)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123626)'))) / (select extract(epoch from '2026-07-02 17:30:35'::timestamp) - extract(epoch from '2026-07-02 17:30:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138154 -3.123609)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123626)'))) / (select extract(epoch from '2026-07-02 17:30:35'::timestamp) - extract(epoch from '2026-07-02 17:30:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138147 -3.123632)', '2026-07-02 17:30:41', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123626)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123632)'))) / (select extract(epoch from '2026-07-02 17:30:41'::timestamp) - extract(epoch from '2026-07-02 17:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.123626)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123632)'))) / (select extract(epoch from '2026-07-02 17:30:41'::timestamp) - extract(epoch from '2026-07-02 17:30:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138155 -3.123633)', '2026-07-02 17:30:47', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123632)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123633)'))) / (select extract(epoch from '2026-07-02 17:30:47'::timestamp) - extract(epoch from '2026-07-02 17:30:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123632)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123633)'))) / (select extract(epoch from '2026-07-02 17:30:47'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138156 -3.123634)', '2026-07-02 17:31:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123633)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123634)'))) / (select extract(epoch from '2026-07-02 17:31:00'::timestamp) - extract(epoch from '2026-07-02 17:30:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123633)'), GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123634)'))) / (select extract(epoch from '2026-07-02 17:31:00'::timestamp) - extract(epoch from '2026-07-02 17:30:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138155 -3.123641)', '2026-07-02 17:31:06', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123634)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123641)'))) / (select extract(epoch from '2026-07-02 17:31:06'::timestamp) - extract(epoch from '2026-07-02 17:31:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138156 -3.123634)'), GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123641)'))) / (select extract(epoch from '2026-07-02 17:31:06'::timestamp) - extract(epoch from '2026-07-02 17:31: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'), 47520, 'SRID=4674;POINT (-39.138153 -3.123635)', '2026-07-02 17:31:19', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123641)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123635)'))) / (select extract(epoch from '2026-07-02 17:31:19'::timestamp) - extract(epoch from '2026-07-02 17:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138155 -3.123641)'), GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123635)'))) / (select extract(epoch from '2026-07-02 17:31:19'::timestamp) - extract(epoch from '2026-07-02 17:31:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138157 -3.123629)', '2026-07-02 17:31:34', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123635)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123629)'))) / (select extract(epoch from '2026-07-02 17:31:34'::timestamp) - extract(epoch from '2026-07-02 17:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138153 -3.123635)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123629)'))) / (select extract(epoch from '2026-07-02 17:31:34'::timestamp) - extract(epoch from '2026-07-02 17:31:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138159 -3.123631)', '2026-07-02 17:31:42', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123629)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123631)'))) / (select extract(epoch from '2026-07-02 17:31:42'::timestamp) - extract(epoch from '2026-07-02 17:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123629)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123631)'))) / (select extract(epoch from '2026-07-02 17:31:42'::timestamp) - extract(epoch from '2026-07-02 17:31: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'), 47520, 'SRID=4674;POINT (-39.13816 -3.123623)', '2026-07-02 17:31:53', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123631)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123623)'))) / (select extract(epoch from '2026-07-02 17:31:53'::timestamp) - extract(epoch from '2026-07-02 17:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123631)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123623)'))) / (select extract(epoch from '2026-07-02 17:31:53'::timestamp) - extract(epoch from '2026-07-02 17:31: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'), 47520, 'SRID=4674;POINT (-39.138166 -3.123624)', '2026-07-02 17:32:01', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123623)'), GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123624)'))) / (select extract(epoch from '2026-07-02 17:32:01'::timestamp) - extract(epoch from '2026-07-02 17:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123623)'), GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123624)'))) / (select extract(epoch from '2026-07-02 17:32:01'::timestamp) - extract(epoch from '2026-07-02 17:31: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'), 47520, 'SRID=4674;POINT (-39.138172 -3.123635)', '2026-07-02 17:32:11', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123624)'), GeomFromEWKT('SRID=4674;POINT (-39.138172 -3.123635)'))) / (select extract(epoch from '2026-07-02 17:32:11'::timestamp) - extract(epoch from '2026-07-02 17:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123624)'), GeomFromEWKT('SRID=4674;POINT (-39.138172 -3.123635)'))) / (select extract(epoch from '2026-07-02 17:32:11'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138162 -3.123635)', '2026-07-02 17:32:12', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138172 -3.123635)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123635)'))) / (select extract(epoch from '2026-07-02 17:32:12'::timestamp) - extract(epoch from '2026-07-02 17:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138172 -3.123635)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123635)'))) / (select extract(epoch from '2026-07-02 17:32:12'::timestamp) - extract(epoch from '2026-07-02 17:32: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'), 47520, 'SRID=4674;POINT (-39.138163 -3.123637)', '2026-07-02 17:32:18', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123635)'), GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123637)'))) / (select extract(epoch from '2026-07-02 17:32:18'::timestamp) - extract(epoch from '2026-07-02 17:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123635)'), GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123637)'))) / (select extract(epoch from '2026-07-02 17:32:18'::timestamp) - extract(epoch from '2026-07-02 17:32:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138165 -3.123646)', '2026-07-02 17:32:27', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123637)'), GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123646)'))) / (select extract(epoch from '2026-07-02 17:32:27'::timestamp) - extract(epoch from '2026-07-02 17:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138163 -3.123637)'), GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123646)'))) / (select extract(epoch from '2026-07-02 17:32:27'::timestamp) - extract(epoch from '2026-07-02 17:32: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'), 47520, 'SRID=4674;POINT (-39.138162 -3.123644)', '2026-07-02 17:32:33', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123646)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123644)'))) / (select extract(epoch from '2026-07-02 17:32:33'::timestamp) - extract(epoch from '2026-07-02 17:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123646)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123644)'))) / (select extract(epoch from '2026-07-02 17:32:33'::timestamp) - extract(epoch from '2026-07-02 17:32: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'), 47520, 'SRID=4674;POINT (-39.138166 -3.123643)', '2026-07-02 17:33:02', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123644)'), GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123643)'))) / (select extract(epoch from '2026-07-02 17:33:02'::timestamp) - extract(epoch from '2026-07-02 17:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123644)'), GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123643)'))) / (select extract(epoch from '2026-07-02 17:33:02'::timestamp) - extract(epoch from '2026-07-02 17:32:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138159 -3.123645)', '2026-07-02 17:33:10', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123643)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123645)'))) / (select extract(epoch from '2026-07-02 17:33:10'::timestamp) - extract(epoch from '2026-07-02 17:33:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138166 -3.123643)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123645)'))) / (select extract(epoch from '2026-07-02 17:33:10'::timestamp) - extract(epoch from '2026-07-02 17:33: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'), 47520, 'SRID=4674;POINT (-39.13816 -3.123641)', '2026-07-02 17:33:19', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123645)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123641)'))) / (select extract(epoch from '2026-07-02 17:33:19'::timestamp) - extract(epoch from '2026-07-02 17:33:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123645)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123641)'))) / (select extract(epoch from '2026-07-02 17:33:19'::timestamp) - extract(epoch from '2026-07-02 17:33:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138157 -3.123642)', '2026-07-02 17:33:27', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123641)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123642)'))) / (select extract(epoch from '2026-07-02 17:33:27'::timestamp) - extract(epoch from '2026-07-02 17:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.123641)'), GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123642)'))) / (select extract(epoch from '2026-07-02 17:33:27'::timestamp) - extract(epoch from '2026-07-02 17:33: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'), 47520, 'SRID=4674;POINT (-39.13815 -3.123635)', '2026-07-02 17:33:32', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123642)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123635)'))) / (select extract(epoch from '2026-07-02 17:33:32'::timestamp) - extract(epoch from '2026-07-02 17:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138157 -3.123642)'), GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123635)'))) / (select extract(epoch from '2026-07-02 17:33:32'::timestamp) - extract(epoch from '2026-07-02 17:33:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138159 -3.123625)', '2026-07-02 17:33:43', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123635)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123625)'))) / (select extract(epoch from '2026-07-02 17:33:43'::timestamp) - extract(epoch from '2026-07-02 17:33:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13815 -3.123635)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123625)'))) / (select extract(epoch from '2026-07-02 17:33:43'::timestamp) - extract(epoch from '2026-07-02 17:33:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138152 -3.123628)', '2026-07-02 17:33:50', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123625)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123628)'))) / (select extract(epoch from '2026-07-02 17:33:50'::timestamp) - extract(epoch from '2026-07-02 17:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123625)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123628)'))) / (select extract(epoch from '2026-07-02 17:33:50'::timestamp) - extract(epoch from '2026-07-02 17:33:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138143 -3.123628)', '2026-07-02 17:34:01', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123628)'), GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123628)'))) / (select extract(epoch from '2026-07-02 17:34:01'::timestamp) - extract(epoch from '2026-07-02 17:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123628)'), GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123628)'))) / (select extract(epoch from '2026-07-02 17:34:01'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138148 -3.123625)', '2026-07-02 17:34:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123628)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123625)'))) / (select extract(epoch from '2026-07-02 17:34:08'::timestamp) - extract(epoch from '2026-07-02 17:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123628)'), GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123625)'))) / (select extract(epoch from '2026-07-02 17:34:08'::timestamp) - extract(epoch from '2026-07-02 17:34: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'), 47520, 'SRID=4674;POINT (-39.138151 -3.123623)', '2026-07-02 17:34:19', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123625)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123623)'))) / (select extract(epoch from '2026-07-02 17:34:19'::timestamp) - extract(epoch from '2026-07-02 17:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138148 -3.123625)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123623)'))) / (select extract(epoch from '2026-07-02 17:34:19'::timestamp) - extract(epoch from '2026-07-02 17:34: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'), 47520, 'SRID=4674;POINT (-39.138144 -3.123624)', '2026-07-02 17:34:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123623)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123624)'))) / (select extract(epoch from '2026-07-02 17:34:24'::timestamp) - extract(epoch from '2026-07-02 17:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123623)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123624)'))) / (select extract(epoch from '2026-07-02 17:34:24'::timestamp) - extract(epoch from '2026-07-02 17:34: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'), 47520, 'SRID=4674;POINT (-39.138147 -3.123624)', '2026-07-02 17:34:31', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123624)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123624)'))) / (select extract(epoch from '2026-07-02 17:34:31'::timestamp) - extract(epoch from '2026-07-02 17:34:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123624)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123624)'))) / (select extract(epoch from '2026-07-02 17:34:31'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138158 -3.123621)', '2026-07-02 17:34:41', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123624)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123621)'))) / (select extract(epoch from '2026-07-02 17:34:41'::timestamp) - extract(epoch from '2026-07-02 17:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123624)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123621)'))) / (select extract(epoch from '2026-07-02 17:34:41'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138165 -3.123618)', '2026-07-02 17:34:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123621)'), GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123618)'))) / (select extract(epoch from '2026-07-02 17:34:45'::timestamp) - extract(epoch from '2026-07-02 17:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123621)'), GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123618)'))) / (select extract(epoch from '2026-07-02 17:34:45'::timestamp) - extract(epoch from '2026-07-02 17:34: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'), 47520, 'SRID=4674;POINT (-39.138147 -3.123616)', '2026-07-02 17:34:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123618)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123616)'))) / (select extract(epoch from '2026-07-02 17:34:50'::timestamp) - extract(epoch from '2026-07-02 17:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138165 -3.123618)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123616)'))) / (select extract(epoch from '2026-07-02 17:34:50'::timestamp) - extract(epoch from '2026-07-02 17:34:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.13816 -3.12361)', '2026-07-02 17:35:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123616)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.12361)'))) / (select extract(epoch from '2026-07-02 17:35:10'::timestamp) - extract(epoch from '2026-07-02 17:34:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123616)'), GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.12361)'))) / (select extract(epoch from '2026-07-02 17:35:10'::timestamp) - extract(epoch from '2026-07-02 17:34: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'), 47520, 'SRID=4674;POINT (-39.138162 -3.123606)', '2026-07-02 17:35:23', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.12361)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123606)'))) / (select extract(epoch from '2026-07-02 17:35:23'::timestamp) - extract(epoch from '2026-07-02 17:35:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13816 -3.12361)'), GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123606)'))) / (select extract(epoch from '2026-07-02 17:35:23'::timestamp) - extract(epoch from '2026-07-02 17:35:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138158 -3.123604)', '2026-07-02 17:35:37', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123606)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123604)'))) / (select extract(epoch from '2026-07-02 17:35:37'::timestamp) - extract(epoch from '2026-07-02 17:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138162 -3.123606)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123604)'))) / (select extract(epoch from '2026-07-02 17:35:37'::timestamp) - extract(epoch from '2026-07-02 17:35:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138158 -3.123609)', '2026-07-02 17:35:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123604)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123609)'))) / (select extract(epoch from '2026-07-02 17:35:43'::timestamp) - extract(epoch from '2026-07-02 17:35:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123604)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123609)'))) / (select extract(epoch from '2026-07-02 17:35:43'::timestamp) - extract(epoch from '2026-07-02 17:35: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'), 47520, 'SRID=4674;POINT (-39.138159 -3.123615)', '2026-07-02 17:35:50', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123609)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123615)'))) / (select extract(epoch from '2026-07-02 17:35:50'::timestamp) - extract(epoch from '2026-07-02 17:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123609)'), GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123615)'))) / (select extract(epoch from '2026-07-02 17:35:50'::timestamp) - extract(epoch from '2026-07-02 17:35:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138151 -3.123609)', '2026-07-02 17:35:51', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123615)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123609)'))) / (select extract(epoch from '2026-07-02 17:35:51'::timestamp) - extract(epoch from '2026-07-02 17:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138159 -3.123615)'), GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123609)'))) / (select extract(epoch from '2026-07-02 17:35:51'::timestamp) - extract(epoch from '2026-07-02 17:35:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138158 -3.123607)', '2026-07-02 17:35:57', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123609)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123607)'))) / (select extract(epoch from '2026-07-02 17:35:57'::timestamp) - extract(epoch from '2026-07-02 17:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138151 -3.123609)'), GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123607)'))) / (select extract(epoch from '2026-07-02 17:35:57'::timestamp) - extract(epoch from '2026-07-02 17:35:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138146 -3.123606)', '2026-07-02 17:36:01', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123607)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123606)'))) / (select extract(epoch from '2026-07-02 17:36:01'::timestamp) - extract(epoch from '2026-07-02 17:35:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138158 -3.123607)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123606)'))) / (select extract(epoch from '2026-07-02 17:36:01'::timestamp) - extract(epoch from '2026-07-02 17:35: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'), 47520, 'SRID=4674;POINT (-39.138149 -3.123617)', '2026-07-02 17:36:12', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123606)'), GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.123617)'))) / (select extract(epoch from '2026-07-02 17:36:12'::timestamp) - extract(epoch from '2026-07-02 17:36:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123606)'), GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.123617)'))) / (select extract(epoch from '2026-07-02 17:36:12'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138146 -3.123611)', '2026-07-02 17:36:30', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.123617)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123611)'))) / (select extract(epoch from '2026-07-02 17:36:30'::timestamp) - extract(epoch from '2026-07-02 17:36:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.123617)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123611)'))) / (select extract(epoch from '2026-07-02 17:36:30'::timestamp) - extract(epoch from '2026-07-02 17:36: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'), 47520, 'SRID=4674;POINT (-39.138137 -3.123606)', '2026-07-02 17:36:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123611)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123606)'))) / (select extract(epoch from '2026-07-02 17:36:35'::timestamp) - extract(epoch from '2026-07-02 17:36:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123611)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123606)'))) / (select extract(epoch from '2026-07-02 17:36:35'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.13813 -3.123603)', '2026-07-02 17:36:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123606)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123603)'))) / (select extract(epoch from '2026-07-02 17:36:41'::timestamp) - extract(epoch from '2026-07-02 17:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123606)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123603)'))) / (select extract(epoch from '2026-07-02 17:36:41'::timestamp) - extract(epoch from '2026-07-02 17:36:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138141 -3.123603)', '2026-07-02 17:36:53', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123603)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123603)'))) / (select extract(epoch from '2026-07-02 17:36:53'::timestamp) - extract(epoch from '2026-07-02 17:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123603)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123603)'))) / (select extract(epoch from '2026-07-02 17:36:53'::timestamp) - extract(epoch from '2026-07-02 17:36:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138128 -3.123594)', '2026-07-02 17:37:08', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123603)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123594)'))) / (select extract(epoch from '2026-07-02 17:37:08'::timestamp) - extract(epoch from '2026-07-02 17:36:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123603)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123594)'))) / (select extract(epoch from '2026-07-02 17:37:08'::timestamp) - extract(epoch from '2026-07-02 17:36:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.13813 -3.123586)', '2026-07-02 17:37:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123594)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123586)'))) / (select extract(epoch from '2026-07-02 17:37:10'::timestamp) - extract(epoch from '2026-07-02 17:37:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123594)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123586)'))) / (select extract(epoch from '2026-07-02 17:37:10'::timestamp) - extract(epoch from '2026-07-02 17:37: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'), 47520, 'SRID=4674;POINT (-39.138127 -3.12358)', '2026-07-02 17:37:13', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123586)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.12358)'))) / (select extract(epoch from '2026-07-02 17:37:13'::timestamp) - extract(epoch from '2026-07-02 17:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123586)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.12358)'))) / (select extract(epoch from '2026-07-02 17:37:13'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138125 -3.123577)', '2026-07-02 17:37:43', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.12358)'), GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123577)'))) / (select extract(epoch from '2026-07-02 17:37:43'::timestamp) - extract(epoch from '2026-07-02 17:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.12358)'), GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123577)'))) / (select extract(epoch from '2026-07-02 17:37:43'::timestamp) - extract(epoch from '2026-07-02 17:37: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'), 47520, 'SRID=4674;POINT (-39.138127 -3.123577)', '2026-07-02 17:37:55', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123577)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123577)'))) / (select extract(epoch from '2026-07-02 17:37:55'::timestamp) - extract(epoch from '2026-07-02 17:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123577)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123577)'))) / (select extract(epoch from '2026-07-02 17:37:55'::timestamp) - extract(epoch from '2026-07-02 17:37: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'), 47520, 'SRID=4674;POINT (-39.138132 -3.123588)', '2026-07-02 17:38:02', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123577)'), GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123588)'))) / (select extract(epoch from '2026-07-02 17:38:02'::timestamp) - extract(epoch from '2026-07-02 17:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123577)'), GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123588)'))) / (select extract(epoch from '2026-07-02 17:38:02'::timestamp) - extract(epoch from '2026-07-02 17:37:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138133 -3.12359)', '2026-07-02 17:38:03', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123588)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.12359)'))) / (select extract(epoch from '2026-07-02 17:38:03'::timestamp) - extract(epoch from '2026-07-02 17:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138132 -3.123588)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.12359)'))) / (select extract(epoch from '2026-07-02 17:38:03'::timestamp) - extract(epoch from '2026-07-02 17:38:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138112 -3.123587)', '2026-07-02 17:38:08', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.12359)'), GeomFromEWKT('SRID=4674;POINT (-39.138112 -3.123587)'))) / (select extract(epoch from '2026-07-02 17:38:08'::timestamp) - extract(epoch from '2026-07-02 17:38:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.12359)'), GeomFromEWKT('SRID=4674;POINT (-39.138112 -3.123587)'))) / (select extract(epoch from '2026-07-02 17:38:08'::timestamp) - extract(epoch from '2026-07-02 17:38: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'), 47520, 'SRID=4674;POINT (-39.138133 -3.123583)', '2026-07-02 17:38:10', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138112 -3.123587)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123583)'))) / (select extract(epoch from '2026-07-02 17:38:10'::timestamp) - extract(epoch from '2026-07-02 17:38:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138112 -3.123587)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123583)'))) / (select extract(epoch from '2026-07-02 17:38:10'::timestamp) - extract(epoch from '2026-07-02 17:38:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138134 -3.123585)', '2026-07-02 17:38:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123583)'), GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123585)'))) / (select extract(epoch from '2026-07-02 17:38:12'::timestamp) - extract(epoch from '2026-07-02 17:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123583)'), GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123585)'))) / (select extract(epoch from '2026-07-02 17:38:12'::timestamp) - extract(epoch from '2026-07-02 17:38: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'), 47520, 'SRID=4674;POINT (-39.138128 -3.123578)', '2026-07-02 17:38:35', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123585)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123578)'))) / (select extract(epoch from '2026-07-02 17:38:35'::timestamp) - extract(epoch from '2026-07-02 17:38:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123585)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123578)'))) / (select extract(epoch from '2026-07-02 17:38:35'::timestamp) - extract(epoch from '2026-07-02 17:38: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'), 47520, 'SRID=4674;POINT (-39.138126 -3.123574)', '2026-07-02 17:38:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123578)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123574)'))) / (select extract(epoch from '2026-07-02 17:38:42'::timestamp) - extract(epoch from '2026-07-02 17:38:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123578)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123574)'))) / (select extract(epoch from '2026-07-02 17:38:42'::timestamp) - extract(epoch from '2026-07-02 17:38:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138137 -3.123578)', '2026-07-02 17:38:54', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123574)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123578)'))) / (select extract(epoch from '2026-07-02 17:38:54'::timestamp) - extract(epoch from '2026-07-02 17:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123574)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123578)'))) / (select extract(epoch from '2026-07-02 17:38:54'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.13812 -3.123582)', '2026-07-02 17:38:57', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123578)'), GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123582)'))) / (select extract(epoch from '2026-07-02 17:38:57'::timestamp) - extract(epoch from '2026-07-02 17:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123578)'), GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123582)'))) / (select extract(epoch from '2026-07-02 17:38:57'::timestamp) - extract(epoch from '2026-07-02 17:38: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'), 47520, 'SRID=4674;POINT (-39.138115 -3.123581)', '2026-07-02 17:38:58', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123582)'), GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123581)'))) / (select extract(epoch from '2026-07-02 17:38:58'::timestamp) - extract(epoch from '2026-07-02 17:38:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13812 -3.123582)'), GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123581)'))) / (select extract(epoch from '2026-07-02 17:38:58'::timestamp) - extract(epoch from '2026-07-02 17:38: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'), 47520, 'SRID=4674;POINT (-39.138121 -3.123581)', '2026-07-02 17:39:02', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123581)'), GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123581)'))) / (select extract(epoch from '2026-07-02 17:39:02'::timestamp) - extract(epoch from '2026-07-02 17:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138115 -3.123581)'), GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123581)'))) / (select extract(epoch from '2026-07-02 17:39:02'::timestamp) - extract(epoch from '2026-07-02 17:38:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138123 -3.123597)', '2026-07-02 17:39:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123581)'), GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123597)'))) / (select extract(epoch from '2026-07-02 17:39:23'::timestamp) - extract(epoch from '2026-07-02 17:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138121 -3.123581)'), GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123597)'))) / (select extract(epoch from '2026-07-02 17:39:23'::timestamp) - extract(epoch from '2026-07-02 17:39:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138127 -3.123593)', '2026-07-02 17:39:31', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123597)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123593)'))) / (select extract(epoch from '2026-07-02 17:39:31'::timestamp) - extract(epoch from '2026-07-02 17:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123597)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123593)'))) / (select extract(epoch from '2026-07-02 17:39:31'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138133 -3.123596)', '2026-07-02 17:39:32', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123593)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123596)'))) / (select extract(epoch from '2026-07-02 17:39:32'::timestamp) - extract(epoch from '2026-07-02 17:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123593)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123596)'))) / (select extract(epoch from '2026-07-02 17:39:32'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138126 -3.123597)', '2026-07-02 17:39:36', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123596)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123597)'))) / (select extract(epoch from '2026-07-02 17:39:36'::timestamp) - extract(epoch from '2026-07-02 17:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123596)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123597)'))) / (select extract(epoch from '2026-07-02 17:39:36'::timestamp) - extract(epoch from '2026-07-02 17:39: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'), 47520, 'SRID=4674;POINT (-39.138127 -3.123593)', '2026-07-02 17:39:46', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123597)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123593)'))) / (select extract(epoch from '2026-07-02 17:39:46'::timestamp) - extract(epoch from '2026-07-02 17:39:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123597)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123593)'))) / (select extract(epoch from '2026-07-02 17:39:46'::timestamp) - extract(epoch from '2026-07-02 17:39:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.13813 -3.123593)', '2026-07-02 17:39:53', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123593)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123593)'))) / (select extract(epoch from '2026-07-02 17:39:53'::timestamp) - extract(epoch from '2026-07-02 17:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123593)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123593)'))) / (select extract(epoch from '2026-07-02 17:39:53'::timestamp) - extract(epoch from '2026-07-02 17:39: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'), 47520, 'SRID=4674;POINT (-39.138145 -3.123584)', '2026-07-02 17:40:02', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123593)'), GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123584)'))) / (select extract(epoch from '2026-07-02 17:40:02'::timestamp) - extract(epoch from '2026-07-02 17:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123593)'), GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123584)'))) / (select extract(epoch from '2026-07-02 17:40:02'::timestamp) - extract(epoch from '2026-07-02 17:39: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'), 47520, 'SRID=4674;POINT (-39.138147 -3.12358)', '2026-07-02 17:40:08', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123584)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.12358)'))) / (select extract(epoch from '2026-07-02 17:40:08'::timestamp) - extract(epoch from '2026-07-02 17:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123584)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.12358)'))) / (select extract(epoch from '2026-07-02 17:40:08'::timestamp) - extract(epoch from '2026-07-02 17:40: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'), 47520, 'SRID=4674;POINT (-39.138141 -3.123577)', '2026-07-02 17:40:19', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.12358)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123577)'))) / (select extract(epoch from '2026-07-02 17:40:19'::timestamp) - extract(epoch from '2026-07-02 17:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.12358)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123577)'))) / (select extract(epoch from '2026-07-02 17:40:19'::timestamp) - extract(epoch from '2026-07-02 17:40: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'), 47520, 'SRID=4674;POINT (-39.138145 -3.123578)', '2026-07-02 17:40:27', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123577)'), GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123578)'))) / (select extract(epoch from '2026-07-02 17:40:27'::timestamp) - extract(epoch from '2026-07-02 17:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123577)'), GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123578)'))) / (select extract(epoch from '2026-07-02 17:40:27'::timestamp) - extract(epoch from '2026-07-02 17:40:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138137 -3.123586)', '2026-07-02 17:40:34', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123578)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123586)'))) / (select extract(epoch from '2026-07-02 17:40:34'::timestamp) - extract(epoch from '2026-07-02 17:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123578)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123586)'))) / (select extract(epoch from '2026-07-02 17:40:34'::timestamp) - extract(epoch from '2026-07-02 17:40: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'), 47520, 'SRID=4674;POINT (-39.138146 -3.123587)', '2026-07-02 17:40:41', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123586)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123587)'))) / (select extract(epoch from '2026-07-02 17:40:41'::timestamp) - extract(epoch from '2026-07-02 17:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123586)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123587)'))) / (select extract(epoch from '2026-07-02 17:40:41'::timestamp) - extract(epoch from '2026-07-02 17:40:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138144 -3.123594)', '2026-07-02 17:40:51', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123587)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123594)'))) / (select extract(epoch from '2026-07-02 17:40:51'::timestamp) - extract(epoch from '2026-07-02 17:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123587)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123594)'))) / (select extract(epoch from '2026-07-02 17:40:51'::timestamp) - extract(epoch from '2026-07-02 17:40: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'), 47520, 'SRID=4674;POINT (-39.138152 -3.123599)', '2026-07-02 17:40:57', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123594)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123599)'))) / (select extract(epoch from '2026-07-02 17:40:57'::timestamp) - extract(epoch from '2026-07-02 17:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123594)'), GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123599)'))) / (select extract(epoch from '2026-07-02 17:40:57'::timestamp) - extract(epoch from '2026-07-02 17:40: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'), 47520, 'SRID=4674;POINT (-39.13814 -3.123598)', '2026-07-02 17:41:05', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123599)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123598)'))) / (select extract(epoch from '2026-07-02 17:41:05'::timestamp) - extract(epoch from '2026-07-02 17:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138152 -3.123599)'), GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123598)'))) / (select extract(epoch from '2026-07-02 17:41:05'::timestamp) - extract(epoch from '2026-07-02 17:40:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138149 -3.1236)', '2026-07-02 17:41:11', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123598)'), GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.1236)'))) / (select extract(epoch from '2026-07-02 17:41:11'::timestamp) - extract(epoch from '2026-07-02 17:41:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13814 -3.123598)'), GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.1236)'))) / (select extract(epoch from '2026-07-02 17:41:11'::timestamp) - extract(epoch from '2026-07-02 17:41: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'), 47520, 'SRID=4674;POINT (-39.138135 -3.123598)', '2026-07-02 17:41:23', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.1236)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123598)'))) / (select extract(epoch from '2026-07-02 17:41:23'::timestamp) - extract(epoch from '2026-07-02 17:41:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138149 -3.1236)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123598)'))) / (select extract(epoch from '2026-07-02 17:41:23'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138144 -3.123609)', '2026-07-02 17:41:38', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123598)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123609)'))) / (select extract(epoch from '2026-07-02 17:41:38'::timestamp) - extract(epoch from '2026-07-02 17:41:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123598)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123609)'))) / (select extract(epoch from '2026-07-02 17:41:38'::timestamp) - extract(epoch from '2026-07-02 17:41:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138138 -3.123613)', '2026-07-02 17:41:49', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123609)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123613)'))) / (select extract(epoch from '2026-07-02 17:41:49'::timestamp) - extract(epoch from '2026-07-02 17:41:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123609)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123613)'))) / (select extract(epoch from '2026-07-02 17:41:49'::timestamp) - extract(epoch from '2026-07-02 17:41:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138133 -3.123622)', '2026-07-02 17:41:57', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123613)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123622)'))) / (select extract(epoch from '2026-07-02 17:41:57'::timestamp) - extract(epoch from '2026-07-02 17:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123613)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123622)'))) / (select extract(epoch from '2026-07-02 17:41:57'::timestamp) - extract(epoch from '2026-07-02 17:41:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138134 -3.123611)', '2026-07-02 17:42:09', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123622)'), GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123611)'))) / (select extract(epoch from '2026-07-02 17:42:09'::timestamp) - extract(epoch from '2026-07-02 17:41:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123622)'), GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123611)'))) / (select extract(epoch from '2026-07-02 17:42:09'::timestamp) - extract(epoch from '2026-07-02 17:41:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138145 -3.123615)', '2026-07-02 17:42:14', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123611)'), GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123615)'))) / (select extract(epoch from '2026-07-02 17:42:14'::timestamp) - extract(epoch from '2026-07-02 17:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123611)'), GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123615)'))) / (select extract(epoch from '2026-07-02 17:42:14'::timestamp) - extract(epoch from '2026-07-02 17:42: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'), 47520, 'SRID=4674;POINT (-39.138141 -3.123616)', '2026-07-02 17:42:20', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123615)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123616)'))) / (select extract(epoch from '2026-07-02 17:42:20'::timestamp) - extract(epoch from '2026-07-02 17:42:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123615)'), GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123616)'))) / (select extract(epoch from '2026-07-02 17:42:20'::timestamp) - extract(epoch from '2026-07-02 17:42: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'), 47520, 'SRID=4674;POINT (-39.138134 -3.123609)', '2026-07-02 17:42:32', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123616)'), GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123609)'))) / (select extract(epoch from '2026-07-02 17:42:32'::timestamp) - extract(epoch from '2026-07-02 17:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138141 -3.123616)'), GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123609)'))) / (select extract(epoch from '2026-07-02 17:42:32'::timestamp) - extract(epoch from '2026-07-02 17:42: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'), 47520, 'SRID=4674;POINT (-39.138127 -3.123615)', '2026-07-02 17:42:46', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123609)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123615)'))) / (select extract(epoch from '2026-07-02 17:42:46'::timestamp) - extract(epoch from '2026-07-02 17:42:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138134 -3.123609)'), GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123615)'))) / (select extract(epoch from '2026-07-02 17:42:46'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138114 -3.123621)', '2026-07-02 17:42:52', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123615)'), GeomFromEWKT('SRID=4674;POINT (-39.138114 -3.123621)'))) / (select extract(epoch from '2026-07-02 17:42:52'::timestamp) - extract(epoch from '2026-07-02 17:42:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138127 -3.123615)'), GeomFromEWKT('SRID=4674;POINT (-39.138114 -3.123621)'))) / (select extract(epoch from '2026-07-02 17:42:52'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138124 -3.123621)', '2026-07-02 17:43:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138114 -3.123621)'), GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123621)'))) / (select extract(epoch from '2026-07-02 17:43:04'::timestamp) - extract(epoch from '2026-07-02 17:42:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138114 -3.123621)'), GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123621)'))) / (select extract(epoch from '2026-07-02 17:43:04'::timestamp) - extract(epoch from '2026-07-02 17:42:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138137 -3.123629)', '2026-07-02 17:43:35', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123621)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123629)'))) / (select extract(epoch from '2026-07-02 17:43:35'::timestamp) - extract(epoch from '2026-07-02 17:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123621)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123629)'))) / (select extract(epoch from '2026-07-02 17:43:35'::timestamp) - extract(epoch from '2026-07-02 17:43: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'), 47520, 'SRID=4674;POINT (-39.138142 -3.12364)', '2026-07-02 17:44:01', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123629)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.12364)'))) / (select extract(epoch from '2026-07-02 17:44:01'::timestamp) - extract(epoch from '2026-07-02 17:43:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123629)'), GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.12364)'))) / (select extract(epoch from '2026-07-02 17:44:01'::timestamp) - extract(epoch from '2026-07-02 17:43:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138146 -3.123641)', '2026-07-02 17:44:14', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.12364)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123641)'))) / (select extract(epoch from '2026-07-02 17:44:14'::timestamp) - extract(epoch from '2026-07-02 17:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138142 -3.12364)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123641)'))) / (select extract(epoch from '2026-07-02 17:44:14'::timestamp) - extract(epoch from '2026-07-02 17:44: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'), 47520, 'SRID=4674;POINT (-39.138147 -3.123635)', '2026-07-02 17:44:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123641)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123635)'))) / (select extract(epoch from '2026-07-02 17:44:21'::timestamp) - extract(epoch from '2026-07-02 17:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.123641)'), GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123635)'))) / (select extract(epoch from '2026-07-02 17:44:21'::timestamp) - extract(epoch from '2026-07-02 17:44: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'), 47520, 'SRID=4674;POINT (-39.138135 -3.123634)', '2026-07-02 17:44:55', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123635)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123634)'))) / (select extract(epoch from '2026-07-02 17:44:55'::timestamp) - extract(epoch from '2026-07-02 17:44:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138147 -3.123635)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123634)'))) / (select extract(epoch from '2026-07-02 17:44:55'::timestamp) - extract(epoch from '2026-07-02 17:44: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'), 47520, 'SRID=4674;POINT (-39.138135 -3.123632)', '2026-07-02 17:45:10', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123634)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123632)'))) / (select extract(epoch from '2026-07-02 17:45:10'::timestamp) - extract(epoch from '2026-07-02 17:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123634)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123632)'))) / (select extract(epoch from '2026-07-02 17:45:10'::timestamp) - extract(epoch from '2026-07-02 17:44:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138125 -3.123637)', '2026-07-02 17:45:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123632)'), GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123637)'))) / (select extract(epoch from '2026-07-02 17:45:29'::timestamp) - extract(epoch from '2026-07-02 17:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123632)'), GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123637)'))) / (select extract(epoch from '2026-07-02 17:45:29'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138131 -3.123631)', '2026-07-02 17:45:36', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123637)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123631)'))) / (select extract(epoch from '2026-07-02 17:45:36'::timestamp) - extract(epoch from '2026-07-02 17:45:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138125 -3.123637)'), GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123631)'))) / (select extract(epoch from '2026-07-02 17:45:36'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138135 -3.12363)', '2026-07-02 17:45:43', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123631)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.12363)'))) / (select extract(epoch from '2026-07-02 17:45:43'::timestamp) - extract(epoch from '2026-07-02 17:45:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138131 -3.123631)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.12363)'))) / (select extract(epoch from '2026-07-02 17:45:43'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138135 -3.12363)', '2026-07-02 17:45:49', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.12363)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.12363)'))) / (select extract(epoch from '2026-07-02 17:45:49'::timestamp) - extract(epoch from '2026-07-02 17:45:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.12363)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.12363)'))) / (select extract(epoch from '2026-07-02 17:45:49'::timestamp) - extract(epoch from '2026-07-02 17:45: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'), 47520, 'SRID=4674;POINT (-39.138138 -3.123638)', '2026-07-02 17:45:58', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.12363)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123638)'))) / (select extract(epoch from '2026-07-02 17:45:58'::timestamp) - extract(epoch from '2026-07-02 17:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.12363)'), GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123638)'))) / (select extract(epoch from '2026-07-02 17:45:58'::timestamp) - extract(epoch from '2026-07-02 17:45: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'), 47520, 'SRID=4674;POINT (-39.138144 -3.123648)', '2026-07-02 17:46:11', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123638)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123648)'))) / (select extract(epoch from '2026-07-02 17:46:11'::timestamp) - extract(epoch from '2026-07-02 17:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138138 -3.123638)'), GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123648)'))) / (select extract(epoch from '2026-07-02 17:46:11'::timestamp) - extract(epoch from '2026-07-02 17:45: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'), 47520, 'SRID=4674;POINT (-39.138133 -3.123649)', '2026-07-02 17:46:17', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123648)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123649)'))) / (select extract(epoch from '2026-07-02 17:46:17'::timestamp) - extract(epoch from '2026-07-02 17:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138144 -3.123648)'), GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123649)'))) / (select extract(epoch from '2026-07-02 17:46:17'::timestamp) - extract(epoch from '2026-07-02 17:46: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'), 47520, 'SRID=4674;POINT (-39.138143 -3.123653)', '2026-07-02 17:46:31', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123649)'), GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123653)'))) / (select extract(epoch from '2026-07-02 17:46:31'::timestamp) - extract(epoch from '2026-07-02 17:46:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138133 -3.123649)'), GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123653)'))) / (select extract(epoch from '2026-07-02 17:46:31'::timestamp) - extract(epoch from '2026-07-02 17:46: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'), 47520, 'SRID=4674;POINT (-39.138135 -3.123659)', '2026-07-02 17:46:36', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123653)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123659)'))) / (select extract(epoch from '2026-07-02 17:46:36'::timestamp) - extract(epoch from '2026-07-02 17:46:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138143 -3.123653)'), GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123659)'))) / (select extract(epoch from '2026-07-02 17:46:36'::timestamp) - extract(epoch from '2026-07-02 17:46: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'), 47520, 'SRID=4674;POINT (-39.138137 -3.123662)', '2026-07-02 17:46:45', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123659)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123662)'))) / (select extract(epoch from '2026-07-02 17:46:45'::timestamp) - extract(epoch from '2026-07-02 17:46:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138135 -3.123659)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123662)'))) / (select extract(epoch from '2026-07-02 17:46:45'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.13813 -3.123667)', '2026-07-02 17:46:53', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123662)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123667)'))) / (select extract(epoch from '2026-07-02 17:46:53'::timestamp) - extract(epoch from '2026-07-02 17:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123662)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123667)'))) / (select extract(epoch from '2026-07-02 17:46:53'::timestamp) - extract(epoch from '2026-07-02 17:46: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'), 47520, 'SRID=4674;POINT (-39.138128 -3.123662)', '2026-07-02 17:46:59', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123667)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123662)'))) / (select extract(epoch from '2026-07-02 17:46:59'::timestamp) - extract(epoch from '2026-07-02 17:46:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123667)'), GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123662)'))) / (select extract(epoch from '2026-07-02 17:46:59'::timestamp) - extract(epoch from '2026-07-02 17:46:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138137 -3.12367)', '2026-07-02 17:47:04', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123662)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.12367)'))) / (select extract(epoch from '2026-07-02 17:47:04'::timestamp) - extract(epoch from '2026-07-02 17:46:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138128 -3.123662)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.12367)'))) / (select extract(epoch from '2026-07-02 17:47:04'::timestamp) - extract(epoch from '2026-07-02 17:46: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'), 47520, 'SRID=4674;POINT (-39.138136 -3.123659)', '2026-07-02 17:47:23', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.12367)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123659)'))) / (select extract(epoch from '2026-07-02 17:47:23'::timestamp) - extract(epoch from '2026-07-02 17:47:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.12367)'), GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123659)'))) / (select extract(epoch from '2026-07-02 17:47:23'::timestamp) - extract(epoch from '2026-07-02 17:47:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47520, 'SRID=4674;POINT (-39.138137 -3.123651)', '2026-07-02 17:47:45', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123659)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123651)'))) / (select extract(epoch from '2026-07-02 17:47:45'::timestamp) - extract(epoch from '2026-07-02 17:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138136 -3.123659)'), GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123651)'))) / (select extract(epoch from '2026-07-02 17:47:45'::timestamp) - extract(epoch from '2026-07-02 17:47: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'), 47520, 'SRID=4674;POINT (-39.138146 -3.12365)', '2026-07-02 17:47:52', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123651)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.12365)'))) / (select extract(epoch from '2026-07-02 17:47:52'::timestamp) - extract(epoch from '2026-07-02 17:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138137 -3.123651)'), GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.12365)'))) / (select extract(epoch from '2026-07-02 17:47:52'::timestamp) - extract(epoch from '2026-07-02 17:47: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'), 47520, 'SRID=4674;POINT (-39.138145 -3.123635)', '2026-07-02 17:47:57', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.12365)'), GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123635)'))) / (select extract(epoch from '2026-07-02 17:47:57'::timestamp) - extract(epoch from '2026-07-02 17:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138146 -3.12365)'), GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123635)'))) / (select extract(epoch from '2026-07-02 17:47:57'::timestamp) - extract(epoch from '2026-07-02 17:47: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'), 47520, 'SRID=4674;POINT (-39.13813 -3.123636)', '2026-07-02 17:48:12', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123635)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123636)'))) / (select extract(epoch from '2026-07-02 17:48:12'::timestamp) - extract(epoch from '2026-07-02 17:47:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138145 -3.123635)'), GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123636)'))) / (select extract(epoch from '2026-07-02 17:48:12'::timestamp) - extract(epoch from '2026-07-02 17:47: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'), 47520, 'SRID=4674;POINT (-39.138116 -3.123632)', '2026-07-02 17:48:23', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123636)'), GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123632)'))) / (select extract(epoch from '2026-07-02 17:48:23'::timestamp) - extract(epoch from '2026-07-02 17:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13813 -3.123636)'), GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123632)'))) / (select extract(epoch from '2026-07-02 17:48:23'::timestamp) - extract(epoch from '2026-07-02 17:48: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'), 47520, 'SRID=4674;POINT (-39.138124 -3.123619)', '2026-07-02 17:48:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123632)'), GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123619)'))) / (select extract(epoch from '2026-07-02 17:48:45'::timestamp) - extract(epoch from '2026-07-02 17:48:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138116 -3.123632)'), GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123619)'))) / (select extract(epoch from '2026-07-02 17:48:45'::timestamp) - extract(epoch from '2026-07-02 17:48: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'), 47520, 'SRID=4674;POINT (-39.138139 -3.123621)', '2026-07-02 17:48:47', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123619)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123621)'))) / (select extract(epoch from '2026-07-02 17:48:47'::timestamp) - extract(epoch from '2026-07-02 17:48:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138124 -3.123619)'), GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123621)'))) / (select extract(epoch from '2026-07-02 17:48:47'::timestamp) - extract(epoch from '2026-07-02 17:48: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'), 47520, 'SRID=4674;POINT (-39.138126 -3.123619)', '2026-07-02 17:48:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123621)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123619)'))) / (select extract(epoch from '2026-07-02 17:48:49'::timestamp) - extract(epoch from '2026-07-02 17:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138139 -3.123621)'), GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123619)'))) / (select extract(epoch from '2026-07-02 17:48:49'::timestamp) - extract(epoch from '2026-07-02 17: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'), 47520, 'SRID=4674;POINT (-39.138123 -3.123615)', '2026-07-02 17:48:56', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123619)'), GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123615)'))) / (select extract(epoch from '2026-07-02 17:48:56'::timestamp) - extract(epoch from '2026-07-02 17:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138126 -3.123619)'), GeomFromEWKT('SRID=4674;POINT (-39.138123 -3.123615)'))) / (select extract(epoch from '2026-07-02 17:48:56'::timestamp) - extract(epoch from '2026-07-02 17:48:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
