 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.370959 -3.097658)', '2026-07-17 17:13:50', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37094 -3.097507)'), GeomFromEWKT('SRID=4674;POINT (-39.370959 -3.097658)'))) / (select extract(epoch from '2026-07-17 17:13:50'::timestamp) - extract(epoch from '2026-07-17 17:13:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37094 -3.097507)'), GeomFromEWKT('SRID=4674;POINT (-39.370959 -3.097658)'))) / (select extract(epoch from '2026-07-17 17:13:50'::timestamp) - extract(epoch from '2026-07-17 17:13:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.370984 -3.097813)', '2026-07-17 17:13:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370959 -3.097658)'), GeomFromEWKT('SRID=4674;POINT (-39.370984 -3.097813)'))) / (select extract(epoch from '2026-07-17 17:13:57'::timestamp) - extract(epoch from '2026-07-17 17:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370959 -3.097658)'), GeomFromEWKT('SRID=4674;POINT (-39.370984 -3.097813)'))) / (select extract(epoch from '2026-07-17 17:13:57'::timestamp) - extract(epoch from '2026-07-17 17:13: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'), 47509, 'SRID=4674;POINT (-39.371033 -3.097984)', '2026-07-17 17:14:04', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370984 -3.097813)'), GeomFromEWKT('SRID=4674;POINT (-39.371033 -3.097984)'))) / (select extract(epoch from '2026-07-17 17:14:04'::timestamp) - extract(epoch from '2026-07-17 17:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370984 -3.097813)'), GeomFromEWKT('SRID=4674;POINT (-39.371033 -3.097984)'))) / (select extract(epoch from '2026-07-17 17:14:04'::timestamp) - extract(epoch from '2026-07-17 17:13:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.371054 -3.098163)', '2026-07-17 17:14:11', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371033 -3.097984)'), GeomFromEWKT('SRID=4674;POINT (-39.371054 -3.098163)'))) / (select extract(epoch from '2026-07-17 17:14:11'::timestamp) - extract(epoch from '2026-07-17 17:14:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371033 -3.097984)'), GeomFromEWKT('SRID=4674;POINT (-39.371054 -3.098163)'))) / (select extract(epoch from '2026-07-17 17:14:11'::timestamp) - extract(epoch from '2026-07-17 17:14:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.371107 -3.098301)', '2026-07-17 17:14:16', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371054 -3.098163)'), GeomFromEWKT('SRID=4674;POINT (-39.371107 -3.098301)'))) / (select extract(epoch from '2026-07-17 17:14:16'::timestamp) - extract(epoch from '2026-07-17 17:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371054 -3.098163)'), GeomFromEWKT('SRID=4674;POINT (-39.371107 -3.098301)'))) / (select extract(epoch from '2026-07-17 17:14:16'::timestamp) - extract(epoch from '2026-07-17 17:14: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'), 47509, 'SRID=4674;POINT (-39.371184 -3.09851)', '2026-07-17 17:14:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371107 -3.098301)'), GeomFromEWKT('SRID=4674;POINT (-39.371184 -3.09851)'))) / (select extract(epoch from '2026-07-17 17:14:24'::timestamp) - extract(epoch from '2026-07-17 17:14:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371107 -3.098301)'), GeomFromEWKT('SRID=4674;POINT (-39.371184 -3.09851)'))) / (select extract(epoch from '2026-07-17 17:14:24'::timestamp) - extract(epoch from '2026-07-17 17:14: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'), 47509, 'SRID=4674;POINT (-39.371219 -3.098644)', '2026-07-17 17:14:30', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371184 -3.09851)'), GeomFromEWKT('SRID=4674;POINT (-39.371219 -3.098644)'))) / (select extract(epoch from '2026-07-17 17:14:30'::timestamp) - extract(epoch from '2026-07-17 17:14:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371184 -3.09851)'), GeomFromEWKT('SRID=4674;POINT (-39.371219 -3.098644)'))) / (select extract(epoch from '2026-07-17 17:14:30'::timestamp) - extract(epoch from '2026-07-17 17:14: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'), 47509, 'SRID=4674;POINT (-39.371228 -3.098778)', '2026-07-17 17:14:36', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371219 -3.098644)'), GeomFromEWKT('SRID=4674;POINT (-39.371228 -3.098778)'))) / (select extract(epoch from '2026-07-17 17:14:36'::timestamp) - extract(epoch from '2026-07-17 17:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371219 -3.098644)'), GeomFromEWKT('SRID=4674;POINT (-39.371228 -3.098778)'))) / (select extract(epoch from '2026-07-17 17:14:36'::timestamp) - extract(epoch from '2026-07-17 17:14: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'), 47509, 'SRID=4674;POINT (-39.371252 -3.098895)', '2026-07-17 17:14:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371228 -3.098778)'), GeomFromEWKT('SRID=4674;POINT (-39.371252 -3.098895)'))) / (select extract(epoch from '2026-07-17 17:14:42'::timestamp) - extract(epoch from '2026-07-17 17:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371228 -3.098778)'), GeomFromEWKT('SRID=4674;POINT (-39.371252 -3.098895)'))) / (select extract(epoch from '2026-07-17 17:14:42'::timestamp) - extract(epoch from '2026-07-17 17:14: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'), 47509, 'SRID=4674;POINT (-39.371267 -3.098996)', '2026-07-17 17:14:47', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371252 -3.098895)'), GeomFromEWKT('SRID=4674;POINT (-39.371267 -3.098996)'))) / (select extract(epoch from '2026-07-17 17:14:47'::timestamp) - extract(epoch from '2026-07-17 17:14:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371252 -3.098895)'), GeomFromEWKT('SRID=4674;POINT (-39.371267 -3.098996)'))) / (select extract(epoch from '2026-07-17 17:14:47'::timestamp) - extract(epoch from '2026-07-17 17:14: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'), 47509, 'SRID=4674;POINT (-39.371295 -3.099148)', '2026-07-17 17:14:53', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371267 -3.098996)'), GeomFromEWKT('SRID=4674;POINT (-39.371295 -3.099148)'))) / (select extract(epoch from '2026-07-17 17:14:53'::timestamp) - extract(epoch from '2026-07-17 17:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371267 -3.098996)'), GeomFromEWKT('SRID=4674;POINT (-39.371295 -3.099148)'))) / (select extract(epoch from '2026-07-17 17:14:53'::timestamp) - extract(epoch from '2026-07-17 17:14: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'), 47509, 'SRID=4674;POINT (-39.371321 -3.099315)', '2026-07-17 17:15:00', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371295 -3.099148)'), GeomFromEWKT('SRID=4674;POINT (-39.371321 -3.099315)'))) / (select extract(epoch from '2026-07-17 17:15:00'::timestamp) - extract(epoch from '2026-07-17 17:14:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371295 -3.099148)'), GeomFromEWKT('SRID=4674;POINT (-39.371321 -3.099315)'))) / (select extract(epoch from '2026-07-17 17:15:00'::timestamp) - extract(epoch from '2026-07-17 17:14:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.371383 -3.099484)', '2026-07-17 17:15:07', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371321 -3.099315)'), GeomFromEWKT('SRID=4674;POINT (-39.371383 -3.099484)'))) / (select extract(epoch from '2026-07-17 17:15:07'::timestamp) - extract(epoch from '2026-07-17 17:15:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371321 -3.099315)'), GeomFromEWKT('SRID=4674;POINT (-39.371383 -3.099484)'))) / (select extract(epoch from '2026-07-17 17:15:07'::timestamp) - extract(epoch from '2026-07-17 17:15: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'), 47509, 'SRID=4674;POINT (-39.371417 -3.099612)', '2026-07-17 17:15:12', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371383 -3.099484)'), GeomFromEWKT('SRID=4674;POINT (-39.371417 -3.099612)'))) / (select extract(epoch from '2026-07-17 17:15:12'::timestamp) - extract(epoch from '2026-07-17 17:15:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371383 -3.099484)'), GeomFromEWKT('SRID=4674;POINT (-39.371417 -3.099612)'))) / (select extract(epoch from '2026-07-17 17:15:12'::timestamp) - extract(epoch from '2026-07-17 17:15: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'), 47509, 'SRID=4674;POINT (-39.371473 -3.099754)', '2026-07-17 17:15:19', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371417 -3.099612)'), GeomFromEWKT('SRID=4674;POINT (-39.371473 -3.099754)'))) / (select extract(epoch from '2026-07-17 17:15:19'::timestamp) - extract(epoch from '2026-07-17 17:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371417 -3.099612)'), GeomFromEWKT('SRID=4674;POINT (-39.371473 -3.099754)'))) / (select extract(epoch from '2026-07-17 17:15:19'::timestamp) - extract(epoch from '2026-07-17 17:15:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.371519 -3.099901)', '2026-07-17 17:15:25', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371473 -3.099754)'), GeomFromEWKT('SRID=4674;POINT (-39.371519 -3.099901)'))) / (select extract(epoch from '2026-07-17 17:15:25'::timestamp) - extract(epoch from '2026-07-17 17:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371473 -3.099754)'), GeomFromEWKT('SRID=4674;POINT (-39.371519 -3.099901)'))) / (select extract(epoch from '2026-07-17 17:15:25'::timestamp) - extract(epoch from '2026-07-17 17:15: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'), 47509, 'SRID=4674;POINT (-39.371558 -3.100073)', '2026-07-17 17:15:32', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371519 -3.099901)'), GeomFromEWKT('SRID=4674;POINT (-39.371558 -3.100073)'))) / (select extract(epoch from '2026-07-17 17:15:32'::timestamp) - extract(epoch from '2026-07-17 17:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371519 -3.099901)'), GeomFromEWKT('SRID=4674;POINT (-39.371558 -3.100073)'))) / (select extract(epoch from '2026-07-17 17:15:32'::timestamp) - extract(epoch from '2026-07-17 17:15: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'), 47509, 'SRID=4674;POINT (-39.371599 -3.100221)', '2026-07-17 17:15:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371558 -3.100073)'), GeomFromEWKT('SRID=4674;POINT (-39.371599 -3.100221)'))) / (select extract(epoch from '2026-07-17 17:15:38'::timestamp) - extract(epoch from '2026-07-17 17:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371558 -3.100073)'), GeomFromEWKT('SRID=4674;POINT (-39.371599 -3.100221)'))) / (select extract(epoch from '2026-07-17 17:15:38'::timestamp) - extract(epoch from '2026-07-17 17:15: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'), 47509, 'SRID=4674;POINT (-39.371637 -3.100384)', '2026-07-17 17:15:45', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371599 -3.100221)'), GeomFromEWKT('SRID=4674;POINT (-39.371637 -3.100384)'))) / (select extract(epoch from '2026-07-17 17:15:45'::timestamp) - extract(epoch from '2026-07-17 17:15:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371599 -3.100221)'), GeomFromEWKT('SRID=4674;POINT (-39.371637 -3.100384)'))) / (select extract(epoch from '2026-07-17 17:15:45'::timestamp) - extract(epoch from '2026-07-17 17:15: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'), 47509, 'SRID=4674;POINT (-39.37166 -3.100527)', '2026-07-17 17:15:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371637 -3.100384)'), GeomFromEWKT('SRID=4674;POINT (-39.37166 -3.100527)'))) / (select extract(epoch from '2026-07-17 17:15:51'::timestamp) - extract(epoch from '2026-07-17 17:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371637 -3.100384)'), GeomFromEWKT('SRID=4674;POINT (-39.37166 -3.100527)'))) / (select extract(epoch from '2026-07-17 17:15:51'::timestamp) - extract(epoch from '2026-07-17 17:15: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'), 47509, 'SRID=4674;POINT (-39.371699 -3.100685)', '2026-07-17 17:15:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37166 -3.100527)'), GeomFromEWKT('SRID=4674;POINT (-39.371699 -3.100685)'))) / (select extract(epoch from '2026-07-17 17:15:58'::timestamp) - extract(epoch from '2026-07-17 17:15:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37166 -3.100527)'), GeomFromEWKT('SRID=4674;POINT (-39.371699 -3.100685)'))) / (select extract(epoch from '2026-07-17 17:15:58'::timestamp) - extract(epoch from '2026-07-17 17:15:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.371722 -3.100812)', '2026-07-17 17:16:04', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371699 -3.100685)'), GeomFromEWKT('SRID=4674;POINT (-39.371722 -3.100812)'))) / (select extract(epoch from '2026-07-17 17:16:04'::timestamp) - extract(epoch from '2026-07-17 17:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371699 -3.100685)'), GeomFromEWKT('SRID=4674;POINT (-39.371722 -3.100812)'))) / (select extract(epoch from '2026-07-17 17:16:04'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.37174 -3.10098)', '2026-07-17 17:16:11', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371722 -3.100812)'), GeomFromEWKT('SRID=4674;POINT (-39.37174 -3.10098)'))) / (select extract(epoch from '2026-07-17 17:16:11'::timestamp) - extract(epoch from '2026-07-17 17:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371722 -3.100812)'), GeomFromEWKT('SRID=4674;POINT (-39.37174 -3.10098)'))) / (select extract(epoch from '2026-07-17 17:16:11'::timestamp) - extract(epoch from '2026-07-17 17:16:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.371777 -3.10115)', '2026-07-17 17:16:19', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37174 -3.10098)'), GeomFromEWKT('SRID=4674;POINT (-39.371777 -3.10115)'))) / (select extract(epoch from '2026-07-17 17:16:19'::timestamp) - extract(epoch from '2026-07-17 17:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37174 -3.10098)'), GeomFromEWKT('SRID=4674;POINT (-39.371777 -3.10115)'))) / (select extract(epoch from '2026-07-17 17:16:19'::timestamp) - extract(epoch from '2026-07-17 17:16: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'), 47509, 'SRID=4674;POINT (-39.371837 -3.101297)', '2026-07-17 17:16:26', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371777 -3.10115)'), GeomFromEWKT('SRID=4674;POINT (-39.371837 -3.101297)'))) / (select extract(epoch from '2026-07-17 17:16:26'::timestamp) - extract(epoch from '2026-07-17 17:16:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371777 -3.10115)'), GeomFromEWKT('SRID=4674;POINT (-39.371837 -3.101297)'))) / (select extract(epoch from '2026-07-17 17:16:26'::timestamp) - extract(epoch from '2026-07-17 17:16:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.371876 -3.101453)', '2026-07-17 17:16:33', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371837 -3.101297)'), GeomFromEWKT('SRID=4674;POINT (-39.371876 -3.101453)'))) / (select extract(epoch from '2026-07-17 17:16:33'::timestamp) - extract(epoch from '2026-07-17 17:16:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371837 -3.101297)'), GeomFromEWKT('SRID=4674;POINT (-39.371876 -3.101453)'))) / (select extract(epoch from '2026-07-17 17:16:33'::timestamp) - extract(epoch from '2026-07-17 17:16: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'), 47509, 'SRID=4674;POINT (-39.371903 -3.101598)', '2026-07-17 17:16:40', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371876 -3.101453)'), GeomFromEWKT('SRID=4674;POINT (-39.371903 -3.101598)'))) / (select extract(epoch from '2026-07-17 17:16:40'::timestamp) - extract(epoch from '2026-07-17 17:16:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371876 -3.101453)'), GeomFromEWKT('SRID=4674;POINT (-39.371903 -3.101598)'))) / (select extract(epoch from '2026-07-17 17:16:40'::timestamp) - extract(epoch from '2026-07-17 17:16: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'), 47509, 'SRID=4674;POINT (-39.371929 -3.101783)', '2026-07-17 17:16:48', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371903 -3.101598)'), GeomFromEWKT('SRID=4674;POINT (-39.371929 -3.101783)'))) / (select extract(epoch from '2026-07-17 17:16:48'::timestamp) - extract(epoch from '2026-07-17 17:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371903 -3.101598)'), GeomFromEWKT('SRID=4674;POINT (-39.371929 -3.101783)'))) / (select extract(epoch from '2026-07-17 17:16:48'::timestamp) - extract(epoch from '2026-07-17 17:16:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.37196 -3.101934)', '2026-07-17 17:16:55', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371929 -3.101783)'), GeomFromEWKT('SRID=4674;POINT (-39.37196 -3.101934)'))) / (select extract(epoch from '2026-07-17 17:16:55'::timestamp) - extract(epoch from '2026-07-17 17:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371929 -3.101783)'), GeomFromEWKT('SRID=4674;POINT (-39.37196 -3.101934)'))) / (select extract(epoch from '2026-07-17 17:16:55'::timestamp) - extract(epoch from '2026-07-17 17:16: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'), 47509, 'SRID=4674;POINT (-39.372 -3.102086)', '2026-07-17 17:17:01', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37196 -3.101934)'), GeomFromEWKT('SRID=4674;POINT (-39.372 -3.102086)'))) / (select extract(epoch from '2026-07-17 17:17:01'::timestamp) - extract(epoch from '2026-07-17 17:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37196 -3.101934)'), GeomFromEWKT('SRID=4674;POINT (-39.372 -3.102086)'))) / (select extract(epoch from '2026-07-17 17:17:01'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.372028 -3.102246)', '2026-07-17 17:17:08', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372 -3.102086)'), GeomFromEWKT('SRID=4674;POINT (-39.372028 -3.102246)'))) / (select extract(epoch from '2026-07-17 17:17:08'::timestamp) - extract(epoch from '2026-07-17 17:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372 -3.102086)'), GeomFromEWKT('SRID=4674;POINT (-39.372028 -3.102246)'))) / (select extract(epoch from '2026-07-17 17:17:08'::timestamp) - extract(epoch from '2026-07-17 17:17:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.372086 -3.102429)', '2026-07-17 17:17:15', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372028 -3.102246)'), GeomFromEWKT('SRID=4674;POINT (-39.372086 -3.102429)'))) / (select extract(epoch from '2026-07-17 17:17:15'::timestamp) - extract(epoch from '2026-07-17 17:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372028 -3.102246)'), GeomFromEWKT('SRID=4674;POINT (-39.372086 -3.102429)'))) / (select extract(epoch from '2026-07-17 17:17:15'::timestamp) - extract(epoch from '2026-07-17 17:17:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.372136 -3.1026)', '2026-07-17 17:17:22', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372086 -3.102429)'), GeomFromEWKT('SRID=4674;POINT (-39.372136 -3.1026)'))) / (select extract(epoch from '2026-07-17 17:17:22'::timestamp) - extract(epoch from '2026-07-17 17:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372086 -3.102429)'), GeomFromEWKT('SRID=4674;POINT (-39.372136 -3.1026)'))) / (select extract(epoch from '2026-07-17 17:17:22'::timestamp) - extract(epoch from '2026-07-17 17:17:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.372195 -3.102792)', '2026-07-17 17:17:31', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372136 -3.1026)'), GeomFromEWKT('SRID=4674;POINT (-39.372195 -3.102792)'))) / (select extract(epoch from '2026-07-17 17:17:31'::timestamp) - extract(epoch from '2026-07-17 17:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372136 -3.1026)'), GeomFromEWKT('SRID=4674;POINT (-39.372195 -3.102792)'))) / (select extract(epoch from '2026-07-17 17:17:31'::timestamp) - extract(epoch from '2026-07-17 17:17:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.372224 -3.102936)', '2026-07-17 17:17:37', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372195 -3.102792)'), GeomFromEWKT('SRID=4674;POINT (-39.372224 -3.102936)'))) / (select extract(epoch from '2026-07-17 17:17:37'::timestamp) - extract(epoch from '2026-07-17 17:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372195 -3.102792)'), GeomFromEWKT('SRID=4674;POINT (-39.372224 -3.102936)'))) / (select extract(epoch from '2026-07-17 17:17:37'::timestamp) - extract(epoch from '2026-07-17 17:17:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.372266 -3.10308)', '2026-07-17 17:17:43', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372224 -3.102936)'), GeomFromEWKT('SRID=4674;POINT (-39.372266 -3.10308)'))) / (select extract(epoch from '2026-07-17 17:17:43'::timestamp) - extract(epoch from '2026-07-17 17:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372224 -3.102936)'), GeomFromEWKT('SRID=4674;POINT (-39.372266 -3.10308)'))) / (select extract(epoch from '2026-07-17 17:17:43'::timestamp) - extract(epoch from '2026-07-17 17:17:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.372308 -3.103219)', '2026-07-17 17:17:49', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372266 -3.10308)'), GeomFromEWKT('SRID=4674;POINT (-39.372308 -3.103219)'))) / (select extract(epoch from '2026-07-17 17:17:49'::timestamp) - extract(epoch from '2026-07-17 17:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372266 -3.10308)'), GeomFromEWKT('SRID=4674;POINT (-39.372308 -3.103219)'))) / (select extract(epoch from '2026-07-17 17:17:49'::timestamp) - extract(epoch from '2026-07-17 17:17:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.372355 -3.103375)', '2026-07-17 17:17:56', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372308 -3.103219)'), GeomFromEWKT('SRID=4674;POINT (-39.372355 -3.103375)'))) / (select extract(epoch from '2026-07-17 17:17:56'::timestamp) - extract(epoch from '2026-07-17 17:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372308 -3.103219)'), GeomFromEWKT('SRID=4674;POINT (-39.372355 -3.103375)'))) / (select extract(epoch from '2026-07-17 17:17:56'::timestamp) - extract(epoch from '2026-07-17 17:17:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.372395 -3.103517)', '2026-07-17 17:18:03', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372355 -3.103375)'), GeomFromEWKT('SRID=4674;POINT (-39.372395 -3.103517)'))) / (select extract(epoch from '2026-07-17 17:18:03'::timestamp) - extract(epoch from '2026-07-17 17:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372355 -3.103375)'), GeomFromEWKT('SRID=4674;POINT (-39.372395 -3.103517)'))) / (select extract(epoch from '2026-07-17 17:18:03'::timestamp) - extract(epoch from '2026-07-17 17:17: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'), 47509, 'SRID=4674;POINT (-39.372418 -3.103653)', '2026-07-17 17:18:09', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372395 -3.103517)'), GeomFromEWKT('SRID=4674;POINT (-39.372418 -3.103653)'))) / (select extract(epoch from '2026-07-17 17:18:09'::timestamp) - extract(epoch from '2026-07-17 17:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372395 -3.103517)'), GeomFromEWKT('SRID=4674;POINT (-39.372418 -3.103653)'))) / (select extract(epoch from '2026-07-17 17:18:09'::timestamp) - extract(epoch from '2026-07-17 17:18:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.372441 -3.103829)', '2026-07-17 17:18:16', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372418 -3.103653)'), GeomFromEWKT('SRID=4674;POINT (-39.372441 -3.103829)'))) / (select extract(epoch from '2026-07-17 17:18:16'::timestamp) - extract(epoch from '2026-07-17 17:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372418 -3.103653)'), GeomFromEWKT('SRID=4674;POINT (-39.372441 -3.103829)'))) / (select extract(epoch from '2026-07-17 17:18:16'::timestamp) - extract(epoch from '2026-07-17 17:18:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.372464 -3.104)', '2026-07-17 17:18:23', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372441 -3.103829)'), GeomFromEWKT('SRID=4674;POINT (-39.372464 -3.104)'))) / (select extract(epoch from '2026-07-17 17:18:23'::timestamp) - extract(epoch from '2026-07-17 17:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372441 -3.103829)'), GeomFromEWKT('SRID=4674;POINT (-39.372464 -3.104)'))) / (select extract(epoch from '2026-07-17 17:18:23'::timestamp) - extract(epoch from '2026-07-17 17:18:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.372508 -3.104165)', '2026-07-17 17:18:30', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372464 -3.104)'), GeomFromEWKT('SRID=4674;POINT (-39.372508 -3.104165)'))) / (select extract(epoch from '2026-07-17 17:18:30'::timestamp) - extract(epoch from '2026-07-17 17:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372464 -3.104)'), GeomFromEWKT('SRID=4674;POINT (-39.372508 -3.104165)'))) / (select extract(epoch from '2026-07-17 17:18:30'::timestamp) - extract(epoch from '2026-07-17 17:18:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.372538 -3.104311)', '2026-07-17 17:18:37', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372508 -3.104165)'), GeomFromEWKT('SRID=4674;POINT (-39.372538 -3.104311)'))) / (select extract(epoch from '2026-07-17 17:18:37'::timestamp) - extract(epoch from '2026-07-17 17:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372508 -3.104165)'), GeomFromEWKT('SRID=4674;POINT (-39.372538 -3.104311)'))) / (select extract(epoch from '2026-07-17 17:18:37'::timestamp) - extract(epoch from '2026-07-17 17:18:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.372568 -3.104455)', '2026-07-17 17:18:45', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372538 -3.104311)'), GeomFromEWKT('SRID=4674;POINT (-39.372568 -3.104455)'))) / (select extract(epoch from '2026-07-17 17:18:45'::timestamp) - extract(epoch from '2026-07-17 17:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372538 -3.104311)'), GeomFromEWKT('SRID=4674;POINT (-39.372568 -3.104455)'))) / (select extract(epoch from '2026-07-17 17:18:45'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.372623 -3.10465)', '2026-07-17 17:18:54', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372568 -3.104455)'), GeomFromEWKT('SRID=4674;POINT (-39.372623 -3.10465)'))) / (select extract(epoch from '2026-07-17 17:18:54'::timestamp) - extract(epoch from '2026-07-17 17:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372568 -3.104455)'), GeomFromEWKT('SRID=4674;POINT (-39.372623 -3.10465)'))) / (select extract(epoch from '2026-07-17 17:18:54'::timestamp) - extract(epoch from '2026-07-17 17:18:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.372657 -3.104817)', '2026-07-17 17:19:01', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372623 -3.10465)'), GeomFromEWKT('SRID=4674;POINT (-39.372657 -3.104817)'))) / (select extract(epoch from '2026-07-17 17:19:01'::timestamp) - extract(epoch from '2026-07-17 17:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372623 -3.10465)'), GeomFromEWKT('SRID=4674;POINT (-39.372657 -3.104817)'))) / (select extract(epoch from '2026-07-17 17:19:01'::timestamp) - extract(epoch from '2026-07-17 17:18:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.372671 -3.104976)', '2026-07-17 17:19:07', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372657 -3.104817)'), GeomFromEWKT('SRID=4674;POINT (-39.372671 -3.104976)'))) / (select extract(epoch from '2026-07-17 17:19:07'::timestamp) - extract(epoch from '2026-07-17 17:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372657 -3.104817)'), GeomFromEWKT('SRID=4674;POINT (-39.372671 -3.104976)'))) / (select extract(epoch from '2026-07-17 17:19:07'::timestamp) - extract(epoch from '2026-07-17 17:19: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'), 47509, 'SRID=4674;POINT (-39.372697 -3.105176)', '2026-07-17 17:19:15', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372671 -3.104976)'), GeomFromEWKT('SRID=4674;POINT (-39.372697 -3.105176)'))) / (select extract(epoch from '2026-07-17 17:19:15'::timestamp) - extract(epoch from '2026-07-17 17:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372671 -3.104976)'), GeomFromEWKT('SRID=4674;POINT (-39.372697 -3.105176)'))) / (select extract(epoch from '2026-07-17 17:19:15'::timestamp) - extract(epoch from '2026-07-17 17:19: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'), 47509, 'SRID=4674;POINT (-39.372735 -3.105289)', '2026-07-17 17:19:21', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372697 -3.105176)'), GeomFromEWKT('SRID=4674;POINT (-39.372735 -3.105289)'))) / (select extract(epoch from '2026-07-17 17:19:21'::timestamp) - extract(epoch from '2026-07-17 17:19:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372697 -3.105176)'), GeomFromEWKT('SRID=4674;POINT (-39.372735 -3.105289)'))) / (select extract(epoch from '2026-07-17 17:19:21'::timestamp) - extract(epoch from '2026-07-17 17:19: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'), 47509, 'SRID=4674;POINT (-39.372765 -3.105454)', '2026-07-17 17:19:28', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372735 -3.105289)'), GeomFromEWKT('SRID=4674;POINT (-39.372765 -3.105454)'))) / (select extract(epoch from '2026-07-17 17:19:28'::timestamp) - extract(epoch from '2026-07-17 17:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372735 -3.105289)'), GeomFromEWKT('SRID=4674;POINT (-39.372765 -3.105454)'))) / (select extract(epoch from '2026-07-17 17:19:28'::timestamp) - extract(epoch from '2026-07-17 17:19:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.37279 -3.105642)', '2026-07-17 17:19:36', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372765 -3.105454)'), GeomFromEWKT('SRID=4674;POINT (-39.37279 -3.105642)'))) / (select extract(epoch from '2026-07-17 17:19:36'::timestamp) - extract(epoch from '2026-07-17 17:19:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372765 -3.105454)'), GeomFromEWKT('SRID=4674;POINT (-39.37279 -3.105642)'))) / (select extract(epoch from '2026-07-17 17:19:36'::timestamp) - extract(epoch from '2026-07-17 17:19:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.372817 -3.105828)', '2026-07-17 17:19:44', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37279 -3.105642)'), GeomFromEWKT('SRID=4674;POINT (-39.372817 -3.105828)'))) / (select extract(epoch from '2026-07-17 17:19:44'::timestamp) - extract(epoch from '2026-07-17 17:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37279 -3.105642)'), GeomFromEWKT('SRID=4674;POINT (-39.372817 -3.105828)'))) / (select extract(epoch from '2026-07-17 17:19:44'::timestamp) - extract(epoch from '2026-07-17 17:19: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'), 47509, 'SRID=4674;POINT (-39.37284 -3.106025)', '2026-07-17 17:19:52', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372817 -3.105828)'), GeomFromEWKT('SRID=4674;POINT (-39.37284 -3.106025)'))) / (select extract(epoch from '2026-07-17 17:19:52'::timestamp) - extract(epoch from '2026-07-17 17:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372817 -3.105828)'), GeomFromEWKT('SRID=4674;POINT (-39.37284 -3.106025)'))) / (select extract(epoch from '2026-07-17 17:19:52'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.372912 -3.106177)', '2026-07-17 17:19:58', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37284 -3.106025)'), GeomFromEWKT('SRID=4674;POINT (-39.372912 -3.106177)'))) / (select extract(epoch from '2026-07-17 17:19:58'::timestamp) - extract(epoch from '2026-07-17 17:19:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37284 -3.106025)'), GeomFromEWKT('SRID=4674;POINT (-39.372912 -3.106177)'))) / (select extract(epoch from '2026-07-17 17:19:58'::timestamp) - extract(epoch from '2026-07-17 17:19:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.372942 -3.106305)', '2026-07-17 17:20:04', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372912 -3.106177)'), GeomFromEWKT('SRID=4674;POINT (-39.372942 -3.106305)'))) / (select extract(epoch from '2026-07-17 17:20:04'::timestamp) - extract(epoch from '2026-07-17 17:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372912 -3.106177)'), GeomFromEWKT('SRID=4674;POINT (-39.372942 -3.106305)'))) / (select extract(epoch from '2026-07-17 17:20:04'::timestamp) - extract(epoch from '2026-07-17 17:19:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.372959 -3.106434)', '2026-07-17 17:20:10', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372942 -3.106305)'), GeomFromEWKT('SRID=4674;POINT (-39.372959 -3.106434)'))) / (select extract(epoch from '2026-07-17 17:20:10'::timestamp) - extract(epoch from '2026-07-17 17:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372942 -3.106305)'), GeomFromEWKT('SRID=4674;POINT (-39.372959 -3.106434)'))) / (select extract(epoch from '2026-07-17 17:20:10'::timestamp) - extract(epoch from '2026-07-17 17:20: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'), 47509, 'SRID=4674;POINT (-39.372959 -3.106577)', '2026-07-17 17:20:16', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372959 -3.106434)'), GeomFromEWKT('SRID=4674;POINT (-39.372959 -3.106577)'))) / (select extract(epoch from '2026-07-17 17:20:16'::timestamp) - extract(epoch from '2026-07-17 17:20:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372959 -3.106434)'), GeomFromEWKT('SRID=4674;POINT (-39.372959 -3.106577)'))) / (select extract(epoch from '2026-07-17 17:20:16'::timestamp) - extract(epoch from '2026-07-17 17:20:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.373012 -3.106732)', '2026-07-17 17:20:23', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372959 -3.106577)'), GeomFromEWKT('SRID=4674;POINT (-39.373012 -3.106732)'))) / (select extract(epoch from '2026-07-17 17:20:23'::timestamp) - extract(epoch from '2026-07-17 17:20:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372959 -3.106577)'), GeomFromEWKT('SRID=4674;POINT (-39.373012 -3.106732)'))) / (select extract(epoch from '2026-07-17 17:20:23'::timestamp) - extract(epoch from '2026-07-17 17:20: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'), 47509, 'SRID=4674;POINT (-39.373053 -3.106922)', '2026-07-17 17:20:32', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373012 -3.106732)'), GeomFromEWKT('SRID=4674;POINT (-39.373053 -3.106922)'))) / (select extract(epoch from '2026-07-17 17:20:32'::timestamp) - extract(epoch from '2026-07-17 17:20:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373012 -3.106732)'), GeomFromEWKT('SRID=4674;POINT (-39.373053 -3.106922)'))) / (select extract(epoch from '2026-07-17 17:20:32'::timestamp) - extract(epoch from '2026-07-17 17:20: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'), 47509, 'SRID=4674;POINT (-39.373095 -3.107068)', '2026-07-17 17:20:39', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373053 -3.106922)'), GeomFromEWKT('SRID=4674;POINT (-39.373095 -3.107068)'))) / (select extract(epoch from '2026-07-17 17:20:39'::timestamp) - extract(epoch from '2026-07-17 17:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373053 -3.106922)'), GeomFromEWKT('SRID=4674;POINT (-39.373095 -3.107068)'))) / (select extract(epoch from '2026-07-17 17:20:39'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.373134 -3.107219)', '2026-07-17 17:20:46', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373095 -3.107068)'), GeomFromEWKT('SRID=4674;POINT (-39.373134 -3.107219)'))) / (select extract(epoch from '2026-07-17 17:20:46'::timestamp) - extract(epoch from '2026-07-17 17:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373095 -3.107068)'), GeomFromEWKT('SRID=4674;POINT (-39.373134 -3.107219)'))) / (select extract(epoch from '2026-07-17 17:20:46'::timestamp) - extract(epoch from '2026-07-17 17:20: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'), 47509, 'SRID=4674;POINT (-39.373179 -3.107398)', '2026-07-17 17:20:54', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373134 -3.107219)'), GeomFromEWKT('SRID=4674;POINT (-39.373179 -3.107398)'))) / (select extract(epoch from '2026-07-17 17:20:54'::timestamp) - extract(epoch from '2026-07-17 17:20:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373134 -3.107219)'), GeomFromEWKT('SRID=4674;POINT (-39.373179 -3.107398)'))) / (select extract(epoch from '2026-07-17 17:20:54'::timestamp) - extract(epoch from '2026-07-17 17:20: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'), 47509, 'SRID=4674;POINT (-39.373211 -3.107563)', '2026-07-17 17:21:01', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373179 -3.107398)'), GeomFromEWKT('SRID=4674;POINT (-39.373211 -3.107563)'))) / (select extract(epoch from '2026-07-17 17:21:01'::timestamp) - extract(epoch from '2026-07-17 17:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373179 -3.107398)'), GeomFromEWKT('SRID=4674;POINT (-39.373211 -3.107563)'))) / (select extract(epoch from '2026-07-17 17:21:01'::timestamp) - extract(epoch from '2026-07-17 17:20: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'), 47509, 'SRID=4674;POINT (-39.373236 -3.107692)', '2026-07-17 17:21:07', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373211 -3.107563)'), GeomFromEWKT('SRID=4674;POINT (-39.373236 -3.107692)'))) / (select extract(epoch from '2026-07-17 17:21:07'::timestamp) - extract(epoch from '2026-07-17 17:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373211 -3.107563)'), GeomFromEWKT('SRID=4674;POINT (-39.373236 -3.107692)'))) / (select extract(epoch from '2026-07-17 17:21:07'::timestamp) - extract(epoch from '2026-07-17 17:21:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.373284 -3.107885)', '2026-07-17 17:21:14', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373236 -3.107692)'), GeomFromEWKT('SRID=4674;POINT (-39.373284 -3.107885)'))) / (select extract(epoch from '2026-07-17 17:21:14'::timestamp) - extract(epoch from '2026-07-17 17:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373236 -3.107692)'), GeomFromEWKT('SRID=4674;POINT (-39.373284 -3.107885)'))) / (select extract(epoch from '2026-07-17 17:21:14'::timestamp) - extract(epoch from '2026-07-17 17:21: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'), 47509, 'SRID=4674;POINT (-39.37333 -3.108053)', '2026-07-17 17:21:21', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373284 -3.107885)'), GeomFromEWKT('SRID=4674;POINT (-39.37333 -3.108053)'))) / (select extract(epoch from '2026-07-17 17:21:21'::timestamp) - extract(epoch from '2026-07-17 17:21:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373284 -3.107885)'), GeomFromEWKT('SRID=4674;POINT (-39.37333 -3.108053)'))) / (select extract(epoch from '2026-07-17 17:21:21'::timestamp) - extract(epoch from '2026-07-17 17:21: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'), 47509, 'SRID=4674;POINT (-39.373321 -3.108211)', '2026-07-17 17:21:28', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37333 -3.108053)'), GeomFromEWKT('SRID=4674;POINT (-39.373321 -3.108211)'))) / (select extract(epoch from '2026-07-17 17:21:28'::timestamp) - extract(epoch from '2026-07-17 17:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37333 -3.108053)'), GeomFromEWKT('SRID=4674;POINT (-39.373321 -3.108211)'))) / (select extract(epoch from '2026-07-17 17:21:28'::timestamp) - extract(epoch from '2026-07-17 17:21:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.373334 -3.108397)', '2026-07-17 17:21:35', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373321 -3.108211)'), GeomFromEWKT('SRID=4674;POINT (-39.373334 -3.108397)'))) / (select extract(epoch from '2026-07-17 17:21:35'::timestamp) - extract(epoch from '2026-07-17 17:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373321 -3.108211)'), GeomFromEWKT('SRID=4674;POINT (-39.373334 -3.108397)'))) / (select extract(epoch from '2026-07-17 17:21:35'::timestamp) - extract(epoch from '2026-07-17 17:21: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'), 47509, 'SRID=4674;POINT (-39.37338 -3.108557)', '2026-07-17 17:21:43', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373334 -3.108397)'), GeomFromEWKT('SRID=4674;POINT (-39.37338 -3.108557)'))) / (select extract(epoch from '2026-07-17 17:21:43'::timestamp) - extract(epoch from '2026-07-17 17:21:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373334 -3.108397)'), GeomFromEWKT('SRID=4674;POINT (-39.37338 -3.108557)'))) / (select extract(epoch from '2026-07-17 17:21:43'::timestamp) - extract(epoch from '2026-07-17 17:21: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'), 47509, 'SRID=4674;POINT (-39.373422 -3.108701)', '2026-07-17 17:21:50', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37338 -3.108557)'), GeomFromEWKT('SRID=4674;POINT (-39.373422 -3.108701)'))) / (select extract(epoch from '2026-07-17 17:21:50'::timestamp) - extract(epoch from '2026-07-17 17:21:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37338 -3.108557)'), GeomFromEWKT('SRID=4674;POINT (-39.373422 -3.108701)'))) / (select extract(epoch from '2026-07-17 17:21:50'::timestamp) - extract(epoch from '2026-07-17 17:21:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.37346 -3.108859)', '2026-07-17 17:21:56', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373422 -3.108701)'), GeomFromEWKT('SRID=4674;POINT (-39.37346 -3.108859)'))) / (select extract(epoch from '2026-07-17 17:21:56'::timestamp) - extract(epoch from '2026-07-17 17:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373422 -3.108701)'), GeomFromEWKT('SRID=4674;POINT (-39.37346 -3.108859)'))) / (select extract(epoch from '2026-07-17 17:21:56'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.373504 -3.109067)', '2026-07-17 17:22:05', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37346 -3.108859)'), GeomFromEWKT('SRID=4674;POINT (-39.373504 -3.109067)'))) / (select extract(epoch from '2026-07-17 17:22:05'::timestamp) - extract(epoch from '2026-07-17 17:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37346 -3.108859)'), GeomFromEWKT('SRID=4674;POINT (-39.373504 -3.109067)'))) / (select extract(epoch from '2026-07-17 17:22:05'::timestamp) - extract(epoch from '2026-07-17 17:21: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'), 47509, 'SRID=4674;POINT (-39.373528 -3.109272)', '2026-07-17 17:22:14', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373504 -3.109067)'), GeomFromEWKT('SRID=4674;POINT (-39.373528 -3.109272)'))) / (select extract(epoch from '2026-07-17 17:22:14'::timestamp) - extract(epoch from '2026-07-17 17:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373504 -3.109067)'), GeomFromEWKT('SRID=4674;POINT (-39.373528 -3.109272)'))) / (select extract(epoch from '2026-07-17 17:22:14'::timestamp) - extract(epoch from '2026-07-17 17:22: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'), 47509, 'SRID=4674;POINT (-39.373553 -3.109409)', '2026-07-17 17:22:20', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373528 -3.109272)'), GeomFromEWKT('SRID=4674;POINT (-39.373553 -3.109409)'))) / (select extract(epoch from '2026-07-17 17:22:20'::timestamp) - extract(epoch from '2026-07-17 17:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373528 -3.109272)'), GeomFromEWKT('SRID=4674;POINT (-39.373553 -3.109409)'))) / (select extract(epoch from '2026-07-17 17:22:20'::timestamp) - extract(epoch from '2026-07-17 17:22:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.373586 -3.109635)', '2026-07-17 17:22:30', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373553 -3.109409)'), GeomFromEWKT('SRID=4674;POINT (-39.373586 -3.109635)'))) / (select extract(epoch from '2026-07-17 17:22:30'::timestamp) - extract(epoch from '2026-07-17 17:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373553 -3.109409)'), GeomFromEWKT('SRID=4674;POINT (-39.373586 -3.109635)'))) / (select extract(epoch from '2026-07-17 17:22:30'::timestamp) - extract(epoch from '2026-07-17 17:22:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.373606 -3.109803)', '2026-07-17 17:22:37', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373586 -3.109635)'), GeomFromEWKT('SRID=4674;POINT (-39.373606 -3.109803)'))) / (select extract(epoch from '2026-07-17 17:22:37'::timestamp) - extract(epoch from '2026-07-17 17:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373586 -3.109635)'), GeomFromEWKT('SRID=4674;POINT (-39.373606 -3.109803)'))) / (select extract(epoch from '2026-07-17 17:22:37'::timestamp) - extract(epoch from '2026-07-17 17:22:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.373613 -3.109977)', '2026-07-17 17:22:45', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373606 -3.109803)'), GeomFromEWKT('SRID=4674;POINT (-39.373613 -3.109977)'))) / (select extract(epoch from '2026-07-17 17:22:45'::timestamp) - extract(epoch from '2026-07-17 17:22:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373606 -3.109803)'), GeomFromEWKT('SRID=4674;POINT (-39.373613 -3.109977)'))) / (select extract(epoch from '2026-07-17 17:22:45'::timestamp) - extract(epoch from '2026-07-17 17:22:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.373643 -3.11011)', '2026-07-17 17:22:52', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373613 -3.109977)'), GeomFromEWKT('SRID=4674;POINT (-39.373643 -3.11011)'))) / (select extract(epoch from '2026-07-17 17:22:52'::timestamp) - extract(epoch from '2026-07-17 17:22:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373613 -3.109977)'), GeomFromEWKT('SRID=4674;POINT (-39.373643 -3.11011)'))) / (select extract(epoch from '2026-07-17 17:22:52'::timestamp) - extract(epoch from '2026-07-17 17:22: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'), 47509, 'SRID=4674;POINT (-39.373664 -3.110279)', '2026-07-17 17:22:59', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373643 -3.11011)'), GeomFromEWKT('SRID=4674;POINT (-39.373664 -3.110279)'))) / (select extract(epoch from '2026-07-17 17:22:59'::timestamp) - extract(epoch from '2026-07-17 17:22:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373643 -3.11011)'), GeomFromEWKT('SRID=4674;POINT (-39.373664 -3.110279)'))) / (select extract(epoch from '2026-07-17 17:22:59'::timestamp) - extract(epoch from '2026-07-17 17:22:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.373697 -3.110442)', '2026-07-17 17:23:07', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373664 -3.110279)'), GeomFromEWKT('SRID=4674;POINT (-39.373697 -3.110442)'))) / (select extract(epoch from '2026-07-17 17:23:07'::timestamp) - extract(epoch from '2026-07-17 17:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373664 -3.110279)'), GeomFromEWKT('SRID=4674;POINT (-39.373697 -3.110442)'))) / (select extract(epoch from '2026-07-17 17:23:07'::timestamp) - extract(epoch from '2026-07-17 17:22:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.373736 -3.1106)', '2026-07-17 17:23:14', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373697 -3.110442)'), GeomFromEWKT('SRID=4674;POINT (-39.373736 -3.1106)'))) / (select extract(epoch from '2026-07-17 17:23:14'::timestamp) - extract(epoch from '2026-07-17 17:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373697 -3.110442)'), GeomFromEWKT('SRID=4674;POINT (-39.373736 -3.1106)'))) / (select extract(epoch from '2026-07-17 17:23:14'::timestamp) - extract(epoch from '2026-07-17 17:23:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.37375 -3.110726)', '2026-07-17 17:23:20', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373736 -3.1106)'), GeomFromEWKT('SRID=4674;POINT (-39.37375 -3.110726)'))) / (select extract(epoch from '2026-07-17 17:23:20'::timestamp) - extract(epoch from '2026-07-17 17:23:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373736 -3.1106)'), GeomFromEWKT('SRID=4674;POINT (-39.37375 -3.110726)'))) / (select extract(epoch from '2026-07-17 17:23:20'::timestamp) - extract(epoch from '2026-07-17 17:23:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.373765 -3.110847)', '2026-07-17 17:23:26', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37375 -3.110726)'), GeomFromEWKT('SRID=4674;POINT (-39.373765 -3.110847)'))) / (select extract(epoch from '2026-07-17 17:23:26'::timestamp) - extract(epoch from '2026-07-17 17:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37375 -3.110726)'), GeomFromEWKT('SRID=4674;POINT (-39.373765 -3.110847)'))) / (select extract(epoch from '2026-07-17 17:23:26'::timestamp) - extract(epoch from '2026-07-17 17:23: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'), 47509, 'SRID=4674;POINT (-39.373801 -3.11098)', '2026-07-17 17:23:32', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373765 -3.110847)'), GeomFromEWKT('SRID=4674;POINT (-39.373801 -3.11098)'))) / (select extract(epoch from '2026-07-17 17:23:32'::timestamp) - extract(epoch from '2026-07-17 17:23:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373765 -3.110847)'), GeomFromEWKT('SRID=4674;POINT (-39.373801 -3.11098)'))) / (select extract(epoch from '2026-07-17 17:23:32'::timestamp) - extract(epoch from '2026-07-17 17:23: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'), 47509, 'SRID=4674;POINT (-39.373824 -3.111135)', '2026-07-17 17:23:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373801 -3.11098)'), GeomFromEWKT('SRID=4674;POINT (-39.373824 -3.111135)'))) / (select extract(epoch from '2026-07-17 17:23:38'::timestamp) - extract(epoch from '2026-07-17 17:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373801 -3.11098)'), GeomFromEWKT('SRID=4674;POINT (-39.373824 -3.111135)'))) / (select extract(epoch from '2026-07-17 17:23:38'::timestamp) - extract(epoch from '2026-07-17 17:23:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.373867 -3.111298)', '2026-07-17 17:23:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373824 -3.111135)'), GeomFromEWKT('SRID=4674;POINT (-39.373867 -3.111298)'))) / (select extract(epoch from '2026-07-17 17:23:45'::timestamp) - extract(epoch from '2026-07-17 17:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373824 -3.111135)'), GeomFromEWKT('SRID=4674;POINT (-39.373867 -3.111298)'))) / (select extract(epoch from '2026-07-17 17:23:45'::timestamp) - extract(epoch from '2026-07-17 17:23: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'), 47509, 'SRID=4674;POINT (-39.373957 -3.111451)', '2026-07-17 17:23:52', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373867 -3.111298)'), GeomFromEWKT('SRID=4674;POINT (-39.373957 -3.111451)'))) / (select extract(epoch from '2026-07-17 17:23:52'::timestamp) - extract(epoch from '2026-07-17 17:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373867 -3.111298)'), GeomFromEWKT('SRID=4674;POINT (-39.373957 -3.111451)'))) / (select extract(epoch from '2026-07-17 17:23:52'::timestamp) - extract(epoch from '2026-07-17 17:23:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.373985 -3.111634)', '2026-07-17 17:24:00', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373957 -3.111451)'), GeomFromEWKT('SRID=4674;POINT (-39.373985 -3.111634)'))) / (select extract(epoch from '2026-07-17 17:24:00'::timestamp) - extract(epoch from '2026-07-17 17:23:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373957 -3.111451)'), GeomFromEWKT('SRID=4674;POINT (-39.373985 -3.111634)'))) / (select extract(epoch from '2026-07-17 17:24:00'::timestamp) - extract(epoch from '2026-07-17 17:23:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.374015 -3.11179)', '2026-07-17 17:24:06', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373985 -3.111634)'), GeomFromEWKT('SRID=4674;POINT (-39.374015 -3.11179)'))) / (select extract(epoch from '2026-07-17 17:24:06'::timestamp) - extract(epoch from '2026-07-17 17:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373985 -3.111634)'), GeomFromEWKT('SRID=4674;POINT (-39.374015 -3.11179)'))) / (select extract(epoch from '2026-07-17 17:24:06'::timestamp) - extract(epoch from '2026-07-17 17:24:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.374059 -3.111957)', '2026-07-17 17:24:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374015 -3.11179)'), GeomFromEWKT('SRID=4674;POINT (-39.374059 -3.111957)'))) / (select extract(epoch from '2026-07-17 17:24:12'::timestamp) - extract(epoch from '2026-07-17 17:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374015 -3.11179)'), GeomFromEWKT('SRID=4674;POINT (-39.374059 -3.111957)'))) / (select extract(epoch from '2026-07-17 17:24:12'::timestamp) - extract(epoch from '2026-07-17 17:24:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.374067 -3.112142)', '2026-07-17 17:24:19', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374059 -3.111957)'), GeomFromEWKT('SRID=4674;POINT (-39.374067 -3.112142)'))) / (select extract(epoch from '2026-07-17 17:24:19'::timestamp) - extract(epoch from '2026-07-17 17:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374059 -3.111957)'), GeomFromEWKT('SRID=4674;POINT (-39.374067 -3.112142)'))) / (select extract(epoch from '2026-07-17 17:24:19'::timestamp) - extract(epoch from '2026-07-17 17:24:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.37409 -3.112285)', '2026-07-17 17:24:25', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374067 -3.112142)'), GeomFromEWKT('SRID=4674;POINT (-39.37409 -3.112285)'))) / (select extract(epoch from '2026-07-17 17:24:25'::timestamp) - extract(epoch from '2026-07-17 17:24:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374067 -3.112142)'), GeomFromEWKT('SRID=4674;POINT (-39.37409 -3.112285)'))) / (select extract(epoch from '2026-07-17 17:24:25'::timestamp) - extract(epoch from '2026-07-17 17:24: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'), 47509, 'SRID=4674;POINT (-39.374124 -3.112441)', '2026-07-17 17:24:32', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37409 -3.112285)'), GeomFromEWKT('SRID=4674;POINT (-39.374124 -3.112441)'))) / (select extract(epoch from '2026-07-17 17:24:32'::timestamp) - extract(epoch from '2026-07-17 17:24:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37409 -3.112285)'), GeomFromEWKT('SRID=4674;POINT (-39.374124 -3.112441)'))) / (select extract(epoch from '2026-07-17 17:24:32'::timestamp) - extract(epoch from '2026-07-17 17:24:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.374152 -3.112624)', '2026-07-17 17:24:41', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374124 -3.112441)'), GeomFromEWKT('SRID=4674;POINT (-39.374152 -3.112624)'))) / (select extract(epoch from '2026-07-17 17:24:41'::timestamp) - extract(epoch from '2026-07-17 17:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374124 -3.112441)'), GeomFromEWKT('SRID=4674;POINT (-39.374152 -3.112624)'))) / (select extract(epoch from '2026-07-17 17:24:41'::timestamp) - extract(epoch from '2026-07-17 17:24: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'), 47509, 'SRID=4674;POINT (-39.374172 -3.112818)', '2026-07-17 17:24:49', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374152 -3.112624)'), GeomFromEWKT('SRID=4674;POINT (-39.374172 -3.112818)'))) / (select extract(epoch from '2026-07-17 17:24:49'::timestamp) - extract(epoch from '2026-07-17 17:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374152 -3.112624)'), GeomFromEWKT('SRID=4674;POINT (-39.374172 -3.112818)'))) / (select extract(epoch from '2026-07-17 17:24:49'::timestamp) - extract(epoch from '2026-07-17 17:24:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.37422 -3.112973)', '2026-07-17 17:24:56', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374172 -3.112818)'), GeomFromEWKT('SRID=4674;POINT (-39.37422 -3.112973)'))) / (select extract(epoch from '2026-07-17 17:24:56'::timestamp) - extract(epoch from '2026-07-17 17:24:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374172 -3.112818)'), GeomFromEWKT('SRID=4674;POINT (-39.37422 -3.112973)'))) / (select extract(epoch from '2026-07-17 17:24:56'::timestamp) - extract(epoch from '2026-07-17 17:24: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'), 47509, 'SRID=4674;POINT (-39.374264 -3.113109)', '2026-07-17 17:25:02', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37422 -3.112973)'), GeomFromEWKT('SRID=4674;POINT (-39.374264 -3.113109)'))) / (select extract(epoch from '2026-07-17 17:25:02'::timestamp) - extract(epoch from '2026-07-17 17:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37422 -3.112973)'), GeomFromEWKT('SRID=4674;POINT (-39.374264 -3.113109)'))) / (select extract(epoch from '2026-07-17 17:25:02'::timestamp) - extract(epoch from '2026-07-17 17:24: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'), 47509, 'SRID=4674;POINT (-39.374289 -3.113285)', '2026-07-17 17:25:09', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374264 -3.113109)'), GeomFromEWKT('SRID=4674;POINT (-39.374289 -3.113285)'))) / (select extract(epoch from '2026-07-17 17:25:09'::timestamp) - extract(epoch from '2026-07-17 17:25:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374264 -3.113109)'), GeomFromEWKT('SRID=4674;POINT (-39.374289 -3.113285)'))) / (select extract(epoch from '2026-07-17 17:25:09'::timestamp) - extract(epoch from '2026-07-17 17:25: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'), 47509, 'SRID=4674;POINT (-39.374299 -3.11345)', '2026-07-17 17:25:16', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374289 -3.113285)'), GeomFromEWKT('SRID=4674;POINT (-39.374299 -3.11345)'))) / (select extract(epoch from '2026-07-17 17:25:16'::timestamp) - extract(epoch from '2026-07-17 17:25:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374289 -3.113285)'), GeomFromEWKT('SRID=4674;POINT (-39.374299 -3.11345)'))) / (select extract(epoch from '2026-07-17 17:25:16'::timestamp) - extract(epoch from '2026-07-17 17:25: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'), 47509, 'SRID=4674;POINT (-39.374343 -3.113577)', '2026-07-17 17:25:22', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374299 -3.11345)'), GeomFromEWKT('SRID=4674;POINT (-39.374343 -3.113577)'))) / (select extract(epoch from '2026-07-17 17:25:22'::timestamp) - extract(epoch from '2026-07-17 17:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374299 -3.11345)'), GeomFromEWKT('SRID=4674;POINT (-39.374343 -3.113577)'))) / (select extract(epoch from '2026-07-17 17:25:22'::timestamp) - extract(epoch from '2026-07-17 17:25:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.374401 -3.113738)', '2026-07-17 17:25:31', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374343 -3.113577)'), GeomFromEWKT('SRID=4674;POINT (-39.374401 -3.113738)'))) / (select extract(epoch from '2026-07-17 17:25:31'::timestamp) - extract(epoch from '2026-07-17 17:25:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374343 -3.113577)'), GeomFromEWKT('SRID=4674;POINT (-39.374401 -3.113738)'))) / (select extract(epoch from '2026-07-17 17:25:31'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.374414 -3.113884)', '2026-07-17 17:25:38', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374401 -3.113738)'), GeomFromEWKT('SRID=4674;POINT (-39.374414 -3.113884)'))) / (select extract(epoch from '2026-07-17 17:25:38'::timestamp) - extract(epoch from '2026-07-17 17:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374401 -3.113738)'), GeomFromEWKT('SRID=4674;POINT (-39.374414 -3.113884)'))) / (select extract(epoch from '2026-07-17 17:25:38'::timestamp) - extract(epoch from '2026-07-17 17:25:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.374435 -3.114021)', '2026-07-17 17:25:44', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374414 -3.113884)'), GeomFromEWKT('SRID=4674;POINT (-39.374435 -3.114021)'))) / (select extract(epoch from '2026-07-17 17:25:44'::timestamp) - extract(epoch from '2026-07-17 17:25:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374414 -3.113884)'), GeomFromEWKT('SRID=4674;POINT (-39.374435 -3.114021)'))) / (select extract(epoch from '2026-07-17 17:25:44'::timestamp) - extract(epoch from '2026-07-17 17:25:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.374463 -3.114142)', '2026-07-17 17:25:49', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374435 -3.114021)'), GeomFromEWKT('SRID=4674;POINT (-39.374463 -3.114142)'))) / (select extract(epoch from '2026-07-17 17:25:49'::timestamp) - extract(epoch from '2026-07-17 17:25:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374435 -3.114021)'), GeomFromEWKT('SRID=4674;POINT (-39.374463 -3.114142)'))) / (select extract(epoch from '2026-07-17 17:25:49'::timestamp) - extract(epoch from '2026-07-17 17:25: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'), 47509, 'SRID=4674;POINT (-39.3745 -3.114293)', '2026-07-17 17:25:56', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374463 -3.114142)'), GeomFromEWKT('SRID=4674;POINT (-39.3745 -3.114293)'))) / (select extract(epoch from '2026-07-17 17:25:56'::timestamp) - extract(epoch from '2026-07-17 17:25:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374463 -3.114142)'), GeomFromEWKT('SRID=4674;POINT (-39.3745 -3.114293)'))) / (select extract(epoch from '2026-07-17 17:25:56'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.374563 -3.114482)', '2026-07-17 17:26:05', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3745 -3.114293)'), GeomFromEWKT('SRID=4674;POINT (-39.374563 -3.114482)'))) / (select extract(epoch from '2026-07-17 17:26:05'::timestamp) - extract(epoch from '2026-07-17 17:25:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3745 -3.114293)'), GeomFromEWKT('SRID=4674;POINT (-39.374563 -3.114482)'))) / (select extract(epoch from '2026-07-17 17:26:05'::timestamp) - extract(epoch from '2026-07-17 17:25: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'), 47509, 'SRID=4674;POINT (-39.374599 -3.11466)', '2026-07-17 17:26:13', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374563 -3.114482)'), GeomFromEWKT('SRID=4674;POINT (-39.374599 -3.11466)'))) / (select extract(epoch from '2026-07-17 17:26:13'::timestamp) - extract(epoch from '2026-07-17 17:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374563 -3.114482)'), GeomFromEWKT('SRID=4674;POINT (-39.374599 -3.11466)'))) / (select extract(epoch from '2026-07-17 17:26:13'::timestamp) - extract(epoch from '2026-07-17 17:26:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.374633 -3.1148)', '2026-07-17 17:26:20', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374599 -3.11466)'), GeomFromEWKT('SRID=4674;POINT (-39.374633 -3.1148)'))) / (select extract(epoch from '2026-07-17 17:26:20'::timestamp) - extract(epoch from '2026-07-17 17:26:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374599 -3.11466)'), GeomFromEWKT('SRID=4674;POINT (-39.374633 -3.1148)'))) / (select extract(epoch from '2026-07-17 17:26:20'::timestamp) - extract(epoch from '2026-07-17 17:26:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.37468 -3.114917)', '2026-07-17 17:26:26', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374633 -3.1148)'), GeomFromEWKT('SRID=4674;POINT (-39.37468 -3.114917)'))) / (select extract(epoch from '2026-07-17 17:26:26'::timestamp) - extract(epoch from '2026-07-17 17:26:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374633 -3.1148)'), GeomFromEWKT('SRID=4674;POINT (-39.37468 -3.114917)'))) / (select extract(epoch from '2026-07-17 17:26:26'::timestamp) - extract(epoch from '2026-07-17 17:26:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.374714 -3.115065)', '2026-07-17 17:26:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37468 -3.114917)'), GeomFromEWKT('SRID=4674;POINT (-39.374714 -3.115065)'))) / (select extract(epoch from '2026-07-17 17:26:33'::timestamp) - extract(epoch from '2026-07-17 17:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37468 -3.114917)'), GeomFromEWKT('SRID=4674;POINT (-39.374714 -3.115065)'))) / (select extract(epoch from '2026-07-17 17:26:33'::timestamp) - extract(epoch from '2026-07-17 17:26: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'), 47509, 'SRID=4674;POINT (-39.374772 -3.115188)', '2026-07-17 17:26:39', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374714 -3.115065)'), GeomFromEWKT('SRID=4674;POINT (-39.374772 -3.115188)'))) / (select extract(epoch from '2026-07-17 17:26:39'::timestamp) - extract(epoch from '2026-07-17 17:26:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374714 -3.115065)'), GeomFromEWKT('SRID=4674;POINT (-39.374772 -3.115188)'))) / (select extract(epoch from '2026-07-17 17:26:39'::timestamp) - extract(epoch from '2026-07-17 17:26: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'), 47509, 'SRID=4674;POINT (-39.374803 -3.115354)', '2026-07-17 17:26:46', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374772 -3.115188)'), GeomFromEWKT('SRID=4674;POINT (-39.374803 -3.115354)'))) / (select extract(epoch from '2026-07-17 17:26:46'::timestamp) - extract(epoch from '2026-07-17 17:26:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374772 -3.115188)'), GeomFromEWKT('SRID=4674;POINT (-39.374803 -3.115354)'))) / (select extract(epoch from '2026-07-17 17:26:46'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.374824 -3.115469)', '2026-07-17 17:26:52', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374803 -3.115354)'), GeomFromEWKT('SRID=4674;POINT (-39.374824 -3.115469)'))) / (select extract(epoch from '2026-07-17 17:26:52'::timestamp) - extract(epoch from '2026-07-17 17:26:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374803 -3.115354)'), GeomFromEWKT('SRID=4674;POINT (-39.374824 -3.115469)'))) / (select extract(epoch from '2026-07-17 17:26:52'::timestamp) - extract(epoch from '2026-07-17 17:26:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.374847 -3.115588)', '2026-07-17 17:26:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374824 -3.115469)'), GeomFromEWKT('SRID=4674;POINT (-39.374847 -3.115588)'))) / (select extract(epoch from '2026-07-17 17:26:58'::timestamp) - extract(epoch from '2026-07-17 17:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374824 -3.115469)'), GeomFromEWKT('SRID=4674;POINT (-39.374847 -3.115588)'))) / (select extract(epoch from '2026-07-17 17:26:58'::timestamp) - extract(epoch from '2026-07-17 17:26:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.374868 -3.115711)', '2026-07-17 17:27:04', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374847 -3.115588)'), GeomFromEWKT('SRID=4674;POINT (-39.374868 -3.115711)'))) / (select extract(epoch from '2026-07-17 17:27:04'::timestamp) - extract(epoch from '2026-07-17 17:26:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374847 -3.115588)'), GeomFromEWKT('SRID=4674;POINT (-39.374868 -3.115711)'))) / (select extract(epoch from '2026-07-17 17:27:04'::timestamp) - extract(epoch from '2026-07-17 17:26:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.374888 -3.115859)', '2026-07-17 17:27:11', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374868 -3.115711)'), GeomFromEWKT('SRID=4674;POINT (-39.374888 -3.115859)'))) / (select extract(epoch from '2026-07-17 17:27:11'::timestamp) - extract(epoch from '2026-07-17 17:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374868 -3.115711)'), GeomFromEWKT('SRID=4674;POINT (-39.374888 -3.115859)'))) / (select extract(epoch from '2026-07-17 17:27:11'::timestamp) - extract(epoch from '2026-07-17 17:27: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'), 47509, 'SRID=4674;POINT (-39.374939 -3.116026)', '2026-07-17 17:27:18', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374888 -3.115859)'), GeomFromEWKT('SRID=4674;POINT (-39.374939 -3.116026)'))) / (select extract(epoch from '2026-07-17 17:27:18'::timestamp) - extract(epoch from '2026-07-17 17:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374888 -3.115859)'), GeomFromEWKT('SRID=4674;POINT (-39.374939 -3.116026)'))) / (select extract(epoch from '2026-07-17 17:27:18'::timestamp) - extract(epoch from '2026-07-17 17:27:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.374947 -3.116159)', '2026-07-17 17:27:25', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374939 -3.116026)'), GeomFromEWKT('SRID=4674;POINT (-39.374947 -3.116159)'))) / (select extract(epoch from '2026-07-17 17:27:25'::timestamp) - extract(epoch from '2026-07-17 17:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374939 -3.116026)'), GeomFromEWKT('SRID=4674;POINT (-39.374947 -3.116159)'))) / (select extract(epoch from '2026-07-17 17:27:25'::timestamp) - extract(epoch from '2026-07-17 17:27: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'), 47509, 'SRID=4674;POINT (-39.374959 -3.116268)', '2026-07-17 17:27:30', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374947 -3.116159)'), GeomFromEWKT('SRID=4674;POINT (-39.374959 -3.116268)'))) / (select extract(epoch from '2026-07-17 17:27:30'::timestamp) - extract(epoch from '2026-07-17 17:27:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374947 -3.116159)'), GeomFromEWKT('SRID=4674;POINT (-39.374959 -3.116268)'))) / (select extract(epoch from '2026-07-17 17:27:30'::timestamp) - extract(epoch from '2026-07-17 17:27:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.375007 -3.116422)', '2026-07-17 17:27:37', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374959 -3.116268)'), GeomFromEWKT('SRID=4674;POINT (-39.375007 -3.116422)'))) / (select extract(epoch from '2026-07-17 17:27:37'::timestamp) - extract(epoch from '2026-07-17 17:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374959 -3.116268)'), GeomFromEWKT('SRID=4674;POINT (-39.375007 -3.116422)'))) / (select extract(epoch from '2026-07-17 17:27:37'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.375027 -3.116577)', '2026-07-17 17:27:44', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375007 -3.116422)'), GeomFromEWKT('SRID=4674;POINT (-39.375027 -3.116577)'))) / (select extract(epoch from '2026-07-17 17:27:44'::timestamp) - extract(epoch from '2026-07-17 17:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375007 -3.116422)'), GeomFromEWKT('SRID=4674;POINT (-39.375027 -3.116577)'))) / (select extract(epoch from '2026-07-17 17:27:44'::timestamp) - extract(epoch from '2026-07-17 17:27:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.375063 -3.11671)', '2026-07-17 17:27:50', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375027 -3.116577)'), GeomFromEWKT('SRID=4674;POINT (-39.375063 -3.11671)'))) / (select extract(epoch from '2026-07-17 17:27:50'::timestamp) - extract(epoch from '2026-07-17 17:27:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375027 -3.116577)'), GeomFromEWKT('SRID=4674;POINT (-39.375063 -3.11671)'))) / (select extract(epoch from '2026-07-17 17:27:50'::timestamp) - extract(epoch from '2026-07-17 17:27:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.375105 -3.116881)', '2026-07-17 17:27:58', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375063 -3.11671)'), GeomFromEWKT('SRID=4674;POINT (-39.375105 -3.116881)'))) / (select extract(epoch from '2026-07-17 17:27:58'::timestamp) - extract(epoch from '2026-07-17 17:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375063 -3.11671)'), GeomFromEWKT('SRID=4674;POINT (-39.375105 -3.116881)'))) / (select extract(epoch from '2026-07-17 17:27:58'::timestamp) - extract(epoch from '2026-07-17 17:27:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.375117 -3.117011)', '2026-07-17 17:28:05', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375105 -3.116881)'), GeomFromEWKT('SRID=4674;POINT (-39.375117 -3.117011)'))) / (select extract(epoch from '2026-07-17 17:28:05'::timestamp) - extract(epoch from '2026-07-17 17:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375105 -3.116881)'), GeomFromEWKT('SRID=4674;POINT (-39.375117 -3.117011)'))) / (select extract(epoch from '2026-07-17 17:28:05'::timestamp) - extract(epoch from '2026-07-17 17:27: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'), 47509, 'SRID=4674;POINT (-39.375092 -3.117156)', '2026-07-17 17:28:11', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375117 -3.117011)'), GeomFromEWKT('SRID=4674;POINT (-39.375092 -3.117156)'))) / (select extract(epoch from '2026-07-17 17:28:11'::timestamp) - extract(epoch from '2026-07-17 17:28:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375117 -3.117011)'), GeomFromEWKT('SRID=4674;POINT (-39.375092 -3.117156)'))) / (select extract(epoch from '2026-07-17 17:28:11'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.375119 -3.117257)', '2026-07-17 17:28:16', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375092 -3.117156)'), GeomFromEWKT('SRID=4674;POINT (-39.375119 -3.117257)'))) / (select extract(epoch from '2026-07-17 17:28:16'::timestamp) - extract(epoch from '2026-07-17 17:28:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375092 -3.117156)'), GeomFromEWKT('SRID=4674;POINT (-39.375119 -3.117257)'))) / (select extract(epoch from '2026-07-17 17:28:16'::timestamp) - extract(epoch from '2026-07-17 17:28: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'), 47509, 'SRID=4674;POINT (-39.375153 -3.117352)', '2026-07-17 17:28:21', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375119 -3.117257)'), GeomFromEWKT('SRID=4674;POINT (-39.375153 -3.117352)'))) / (select extract(epoch from '2026-07-17 17:28:21'::timestamp) - extract(epoch from '2026-07-17 17:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375119 -3.117257)'), GeomFromEWKT('SRID=4674;POINT (-39.375153 -3.117352)'))) / (select extract(epoch from '2026-07-17 17:28:21'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47509, 'SRID=4674;POINT (-39.375187 -3.117504)', '2026-07-17 17:28:28', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375153 -3.117352)'), GeomFromEWKT('SRID=4674;POINT (-39.375187 -3.117504)'))) / (select extract(epoch from '2026-07-17 17:28:28'::timestamp) - extract(epoch from '2026-07-17 17:28:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375153 -3.117352)'), GeomFromEWKT('SRID=4674;POINT (-39.375187 -3.117504)'))) / (select extract(epoch from '2026-07-17 17:28:28'::timestamp) - extract(epoch from '2026-07-17 17:28:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.375228 -3.117612)', '2026-07-17 17:28:34', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375187 -3.117504)'), GeomFromEWKT('SRID=4674;POINT (-39.375228 -3.117612)'))) / (select extract(epoch from '2026-07-17 17:28:34'::timestamp) - extract(epoch from '2026-07-17 17:28:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375187 -3.117504)'), GeomFromEWKT('SRID=4674;POINT (-39.375228 -3.117612)'))) / (select extract(epoch from '2026-07-17 17:28:34'::timestamp) - extract(epoch from '2026-07-17 17:28: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'), 47509, 'SRID=4674;POINT (-39.375275 -3.117744)', '2026-07-17 17:28:40', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375228 -3.117612)'), GeomFromEWKT('SRID=4674;POINT (-39.375275 -3.117744)'))) / (select extract(epoch from '2026-07-17 17:28:40'::timestamp) - extract(epoch from '2026-07-17 17:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375228 -3.117612)'), GeomFromEWKT('SRID=4674;POINT (-39.375275 -3.117744)'))) / (select extract(epoch from '2026-07-17 17:28:40'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.375318 -3.11786)', '2026-07-17 17:28:45', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375275 -3.117744)'), GeomFromEWKT('SRID=4674;POINT (-39.375318 -3.11786)'))) / (select extract(epoch from '2026-07-17 17:28:45'::timestamp) - extract(epoch from '2026-07-17 17:28:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375275 -3.117744)'), GeomFromEWKT('SRID=4674;POINT (-39.375318 -3.11786)'))) / (select extract(epoch from '2026-07-17 17:28:45'::timestamp) - extract(epoch from '2026-07-17 17:28: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'), 47509, 'SRID=4674;POINT (-39.375356 -3.117993)', '2026-07-17 17:28:51', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375318 -3.11786)'), GeomFromEWKT('SRID=4674;POINT (-39.375356 -3.117993)'))) / (select extract(epoch from '2026-07-17 17:28:51'::timestamp) - extract(epoch from '2026-07-17 17:28:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375318 -3.11786)'), GeomFromEWKT('SRID=4674;POINT (-39.375356 -3.117993)'))) / (select extract(epoch from '2026-07-17 17:28:51'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47509, 'SRID=4674;POINT (-39.375408 -3.118157)', '2026-07-17 17:28:58', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375356 -3.117993)'), GeomFromEWKT('SRID=4674;POINT (-39.375408 -3.118157)'))) / (select extract(epoch from '2026-07-17 17:28:58'::timestamp) - extract(epoch from '2026-07-17 17:28:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375356 -3.117993)'), GeomFromEWKT('SRID=4674;POINT (-39.375408 -3.118157)'))) / (select extract(epoch from '2026-07-17 17:28:58'::timestamp) - extract(epoch from '2026-07-17 17:28:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.375445 -3.118289)', '2026-07-17 17:29:04', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375408 -3.118157)'), GeomFromEWKT('SRID=4674;POINT (-39.375445 -3.118289)'))) / (select extract(epoch from '2026-07-17 17:29:04'::timestamp) - extract(epoch from '2026-07-17 17:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375408 -3.118157)'), GeomFromEWKT('SRID=4674;POINT (-39.375445 -3.118289)'))) / (select extract(epoch from '2026-07-17 17:29:04'::timestamp) - extract(epoch from '2026-07-17 17:28:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.375473 -3.118422)', '2026-07-17 17:29:10', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375445 -3.118289)'), GeomFromEWKT('SRID=4674;POINT (-39.375473 -3.118422)'))) / (select extract(epoch from '2026-07-17 17:29:10'::timestamp) - extract(epoch from '2026-07-17 17:29:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375445 -3.118289)'), GeomFromEWKT('SRID=4674;POINT (-39.375473 -3.118422)'))) / (select extract(epoch from '2026-07-17 17:29:10'::timestamp) - extract(epoch from '2026-07-17 17:29: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'), 47509, 'SRID=4674;POINT (-39.375509 -3.118584)', '2026-07-17 17:29:17', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375473 -3.118422)'), GeomFromEWKT('SRID=4674;POINT (-39.375509 -3.118584)'))) / (select extract(epoch from '2026-07-17 17:29:17'::timestamp) - extract(epoch from '2026-07-17 17:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375473 -3.118422)'), GeomFromEWKT('SRID=4674;POINT (-39.375509 -3.118584)'))) / (select extract(epoch from '2026-07-17 17:29:17'::timestamp) - extract(epoch from '2026-07-17 17:29:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.375509 -3.118732)', '2026-07-17 17:29:23', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375509 -3.118584)'), GeomFromEWKT('SRID=4674;POINT (-39.375509 -3.118732)'))) / (select extract(epoch from '2026-07-17 17:29:23'::timestamp) - extract(epoch from '2026-07-17 17:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375509 -3.118584)'), GeomFromEWKT('SRID=4674;POINT (-39.375509 -3.118732)'))) / (select extract(epoch from '2026-07-17 17:29:23'::timestamp) - extract(epoch from '2026-07-17 17:29: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'), 47509, 'SRID=4674;POINT (-39.375519 -3.118878)', '2026-07-17 17:29:29', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375509 -3.118732)'), GeomFromEWKT('SRID=4674;POINT (-39.375519 -3.118878)'))) / (select extract(epoch from '2026-07-17 17:29:29'::timestamp) - extract(epoch from '2026-07-17 17:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375509 -3.118732)'), GeomFromEWKT('SRID=4674;POINT (-39.375519 -3.118878)'))) / (select extract(epoch from '2026-07-17 17:29:29'::timestamp) - extract(epoch from '2026-07-17 17:29: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'), 47509, 'SRID=4674;POINT (-39.375549 -3.119013)', '2026-07-17 17:29:35', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375519 -3.118878)'), GeomFromEWKT('SRID=4674;POINT (-39.375549 -3.119013)'))) / (select extract(epoch from '2026-07-17 17:29:35'::timestamp) - extract(epoch from '2026-07-17 17:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375519 -3.118878)'), GeomFromEWKT('SRID=4674;POINT (-39.375549 -3.119013)'))) / (select extract(epoch from '2026-07-17 17:29:35'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.375593 -3.119156)', '2026-07-17 17:29:42', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375549 -3.119013)'), GeomFromEWKT('SRID=4674;POINT (-39.375593 -3.119156)'))) / (select extract(epoch from '2026-07-17 17:29:42'::timestamp) - extract(epoch from '2026-07-17 17:29:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375549 -3.119013)'), GeomFromEWKT('SRID=4674;POINT (-39.375593 -3.119156)'))) / (select extract(epoch from '2026-07-17 17:29:42'::timestamp) - extract(epoch from '2026-07-17 17:29:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.375636 -3.119303)', '2026-07-17 17:29:49', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375593 -3.119156)'), GeomFromEWKT('SRID=4674;POINT (-39.375636 -3.119303)'))) / (select extract(epoch from '2026-07-17 17:29:49'::timestamp) - extract(epoch from '2026-07-17 17:29:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375593 -3.119156)'), GeomFromEWKT('SRID=4674;POINT (-39.375636 -3.119303)'))) / (select extract(epoch from '2026-07-17 17:29:49'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47509, 'SRID=4674;POINT (-39.375647 -3.11947)', '2026-07-17 17:29:56', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375636 -3.119303)'), GeomFromEWKT('SRID=4674;POINT (-39.375647 -3.11947)'))) / (select extract(epoch from '2026-07-17 17:29:56'::timestamp) - extract(epoch from '2026-07-17 17:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375636 -3.119303)'), GeomFromEWKT('SRID=4674;POINT (-39.375647 -3.11947)'))) / (select extract(epoch from '2026-07-17 17:29:56'::timestamp) - extract(epoch from '2026-07-17 17:29: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'), 47509, 'SRID=4674;POINT (-39.375696 -3.119624)', '2026-07-17 17:30:04', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375647 -3.11947)'), GeomFromEWKT('SRID=4674;POINT (-39.375696 -3.119624)'))) / (select extract(epoch from '2026-07-17 17:30:04'::timestamp) - extract(epoch from '2026-07-17 17:29:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375647 -3.11947)'), GeomFromEWKT('SRID=4674;POINT (-39.375696 -3.119624)'))) / (select extract(epoch from '2026-07-17 17:30:04'::timestamp) - extract(epoch from '2026-07-17 17:29:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.37572 -3.119758)', '2026-07-17 17:30:11', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375696 -3.119624)'), GeomFromEWKT('SRID=4674;POINT (-39.37572 -3.119758)'))) / (select extract(epoch from '2026-07-17 17:30:11'::timestamp) - extract(epoch from '2026-07-17 17:30:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375696 -3.119624)'), GeomFromEWKT('SRID=4674;POINT (-39.37572 -3.119758)'))) / (select extract(epoch from '2026-07-17 17:30:11'::timestamp) - extract(epoch from '2026-07-17 17:30: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'), 47509, 'SRID=4674;POINT (-39.375757 -3.119875)', '2026-07-17 17:30:17', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37572 -3.119758)'), GeomFromEWKT('SRID=4674;POINT (-39.375757 -3.119875)'))) / (select extract(epoch from '2026-07-17 17:30:17'::timestamp) - extract(epoch from '2026-07-17 17:30:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37572 -3.119758)'), GeomFromEWKT('SRID=4674;POINT (-39.375757 -3.119875)'))) / (select extract(epoch from '2026-07-17 17:30:17'::timestamp) - extract(epoch from '2026-07-17 17:30: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'), 47509, 'SRID=4674;POINT (-39.375806 -3.12001)', '2026-07-17 17:30:24', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375757 -3.119875)'), GeomFromEWKT('SRID=4674;POINT (-39.375806 -3.12001)'))) / (select extract(epoch from '2026-07-17 17:30:24'::timestamp) - extract(epoch from '2026-07-17 17:30:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375757 -3.119875)'), GeomFromEWKT('SRID=4674;POINT (-39.375806 -3.12001)'))) / (select extract(epoch from '2026-07-17 17:30:24'::timestamp) - extract(epoch from '2026-07-17 17:30:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.375852 -3.120136)', '2026-07-17 17:30:30', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375806 -3.12001)'), GeomFromEWKT('SRID=4674;POINT (-39.375852 -3.120136)'))) / (select extract(epoch from '2026-07-17 17:30:30'::timestamp) - extract(epoch from '2026-07-17 17:30:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375806 -3.12001)'), GeomFromEWKT('SRID=4674;POINT (-39.375852 -3.120136)'))) / (select extract(epoch from '2026-07-17 17:30:30'::timestamp) - extract(epoch from '2026-07-17 17:30: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'), 47509, 'SRID=4674;POINT (-39.375879 -3.120277)', '2026-07-17 17:30:36', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375852 -3.120136)'), GeomFromEWKT('SRID=4674;POINT (-39.375879 -3.120277)'))) / (select extract(epoch from '2026-07-17 17:30:36'::timestamp) - extract(epoch from '2026-07-17 17:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375852 -3.120136)'), GeomFromEWKT('SRID=4674;POINT (-39.375879 -3.120277)'))) / (select extract(epoch from '2026-07-17 17:30:36'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47509, 'SRID=4674;POINT (-39.375923 -3.12042)', '2026-07-17 17:30:43', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375879 -3.120277)'), GeomFromEWKT('SRID=4674;POINT (-39.375923 -3.12042)'))) / (select extract(epoch from '2026-07-17 17:30:43'::timestamp) - extract(epoch from '2026-07-17 17:30:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375879 -3.120277)'), GeomFromEWKT('SRID=4674;POINT (-39.375923 -3.12042)'))) / (select extract(epoch from '2026-07-17 17:30:43'::timestamp) - extract(epoch from '2026-07-17 17:30:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.375985 -3.120601)', '2026-07-17 17:30:52', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375923 -3.12042)'), GeomFromEWKT('SRID=4674;POINT (-39.375985 -3.120601)'))) / (select extract(epoch from '2026-07-17 17:30:52'::timestamp) - extract(epoch from '2026-07-17 17:30:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375923 -3.12042)'), GeomFromEWKT('SRID=4674;POINT (-39.375985 -3.120601)'))) / (select extract(epoch from '2026-07-17 17:30:52'::timestamp) - extract(epoch from '2026-07-17 17:30:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.376024 -3.120795)', '2026-07-17 17:30:59', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375985 -3.120601)'), GeomFromEWKT('SRID=4674;POINT (-39.376024 -3.120795)'))) / (select extract(epoch from '2026-07-17 17:30:59'::timestamp) - extract(epoch from '2026-07-17 17:30:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375985 -3.120601)'), GeomFromEWKT('SRID=4674;POINT (-39.376024 -3.120795)'))) / (select extract(epoch from '2026-07-17 17:30:59'::timestamp) - extract(epoch from '2026-07-17 17:30: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'), 47509, 'SRID=4674;POINT (-39.376058 -3.120936)', '2026-07-17 17:31:06', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376024 -3.120795)'), GeomFromEWKT('SRID=4674;POINT (-39.376058 -3.120936)'))) / (select extract(epoch from '2026-07-17 17:31:06'::timestamp) - extract(epoch from '2026-07-17 17:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376024 -3.120795)'), GeomFromEWKT('SRID=4674;POINT (-39.376058 -3.120936)'))) / (select extract(epoch from '2026-07-17 17:31:06'::timestamp) - extract(epoch from '2026-07-17 17:30:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.376078 -3.121066)', '2026-07-17 17:31:12', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376058 -3.120936)'), GeomFromEWKT('SRID=4674;POINT (-39.376078 -3.121066)'))) / (select extract(epoch from '2026-07-17 17:31:12'::timestamp) - extract(epoch from '2026-07-17 17:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376058 -3.120936)'), GeomFromEWKT('SRID=4674;POINT (-39.376078 -3.121066)'))) / (select extract(epoch from '2026-07-17 17:31:12'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.376113 -3.121198)', '2026-07-17 17:31:20', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376078 -3.121066)'), GeomFromEWKT('SRID=4674;POINT (-39.376113 -3.121198)'))) / (select extract(epoch from '2026-07-17 17:31:20'::timestamp) - extract(epoch from '2026-07-17 17:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376078 -3.121066)'), GeomFromEWKT('SRID=4674;POINT (-39.376113 -3.121198)'))) / (select extract(epoch from '2026-07-17 17:31:20'::timestamp) - extract(epoch from '2026-07-17 17:31: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'), 47509, 'SRID=4674;POINT (-39.376144 -3.121314)', '2026-07-17 17:31:26', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376113 -3.121198)'), GeomFromEWKT('SRID=4674;POINT (-39.376144 -3.121314)'))) / (select extract(epoch from '2026-07-17 17:31:26'::timestamp) - extract(epoch from '2026-07-17 17:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376113 -3.121198)'), GeomFromEWKT('SRID=4674;POINT (-39.376144 -3.121314)'))) / (select extract(epoch from '2026-07-17 17:31:26'::timestamp) - extract(epoch from '2026-07-17 17:31:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.376173 -3.12145)', '2026-07-17 17:31:32', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376144 -3.121314)'), GeomFromEWKT('SRID=4674;POINT (-39.376173 -3.12145)'))) / (select extract(epoch from '2026-07-17 17:31:32'::timestamp) - extract(epoch from '2026-07-17 17:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376144 -3.121314)'), GeomFromEWKT('SRID=4674;POINT (-39.376173 -3.12145)'))) / (select extract(epoch from '2026-07-17 17:31:32'::timestamp) - extract(epoch from '2026-07-17 17:31: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'), 47509, 'SRID=4674;POINT (-39.3762 -3.121618)', '2026-07-17 17:31:39', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376173 -3.12145)'), GeomFromEWKT('SRID=4674;POINT (-39.3762 -3.121618)'))) / (select extract(epoch from '2026-07-17 17:31:39'::timestamp) - extract(epoch from '2026-07-17 17:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376173 -3.12145)'), GeomFromEWKT('SRID=4674;POINT (-39.3762 -3.121618)'))) / (select extract(epoch from '2026-07-17 17:31:39'::timestamp) - extract(epoch from '2026-07-17 17:31:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.376223 -3.121777)', '2026-07-17 17:31:46', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3762 -3.121618)'), GeomFromEWKT('SRID=4674;POINT (-39.376223 -3.121777)'))) / (select extract(epoch from '2026-07-17 17:31:46'::timestamp) - extract(epoch from '2026-07-17 17:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3762 -3.121618)'), GeomFromEWKT('SRID=4674;POINT (-39.376223 -3.121777)'))) / (select extract(epoch from '2026-07-17 17:31:46'::timestamp) - extract(epoch from '2026-07-17 17:31:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.376272 -3.121934)', '2026-07-17 17:31:53', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376223 -3.121777)'), GeomFromEWKT('SRID=4674;POINT (-39.376272 -3.121934)'))) / (select extract(epoch from '2026-07-17 17:31:53'::timestamp) - extract(epoch from '2026-07-17 17:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376223 -3.121777)'), GeomFromEWKT('SRID=4674;POINT (-39.376272 -3.121934)'))) / (select extract(epoch from '2026-07-17 17:31:53'::timestamp) - extract(epoch from '2026-07-17 17:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.376308 -3.122135)', '2026-07-17 17:32:01', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376272 -3.121934)'), GeomFromEWKT('SRID=4674;POINT (-39.376308 -3.122135)'))) / (select extract(epoch from '2026-07-17 17:32:01'::timestamp) - extract(epoch from '2026-07-17 17:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376272 -3.121934)'), GeomFromEWKT('SRID=4674;POINT (-39.376308 -3.122135)'))) / (select extract(epoch from '2026-07-17 17:32:01'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.376336 -3.122285)', '2026-07-17 17:32:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376308 -3.122135)'), GeomFromEWKT('SRID=4674;POINT (-39.376336 -3.122285)'))) / (select extract(epoch from '2026-07-17 17:32:08'::timestamp) - extract(epoch from '2026-07-17 17:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376308 -3.122135)'), GeomFromEWKT('SRID=4674;POINT (-39.376336 -3.122285)'))) / (select extract(epoch from '2026-07-17 17:32:08'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.376365 -3.122447)', '2026-07-17 17:32:14', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376336 -3.122285)'), GeomFromEWKT('SRID=4674;POINT (-39.376365 -3.122447)'))) / (select extract(epoch from '2026-07-17 17:32:14'::timestamp) - extract(epoch from '2026-07-17 17:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376336 -3.122285)'), GeomFromEWKT('SRID=4674;POINT (-39.376365 -3.122447)'))) / (select extract(epoch from '2026-07-17 17:32:14'::timestamp) - extract(epoch from '2026-07-17 17:32: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'), 47509, 'SRID=4674;POINT (-39.376371 -3.122614)', '2026-07-17 17:32:20', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376365 -3.122447)'), GeomFromEWKT('SRID=4674;POINT (-39.376371 -3.122614)'))) / (select extract(epoch from '2026-07-17 17:32:20'::timestamp) - extract(epoch from '2026-07-17 17:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376365 -3.122447)'), GeomFromEWKT('SRID=4674;POINT (-39.376371 -3.122614)'))) / (select extract(epoch from '2026-07-17 17:32:20'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47509, 'SRID=4674;POINT (-39.376406 -3.122764)', '2026-07-17 17:32:26', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376371 -3.122614)'), GeomFromEWKT('SRID=4674;POINT (-39.376406 -3.122764)'))) / (select extract(epoch from '2026-07-17 17:32:26'::timestamp) - extract(epoch from '2026-07-17 17:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376371 -3.122614)'), GeomFromEWKT('SRID=4674;POINT (-39.376406 -3.122764)'))) / (select extract(epoch from '2026-07-17 17:32:26'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47509, 'SRID=4674;POINT (-39.376433 -3.122907)', '2026-07-17 17:32:33', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376406 -3.122764)'), GeomFromEWKT('SRID=4674;POINT (-39.376433 -3.122907)'))) / (select extract(epoch from '2026-07-17 17:32:33'::timestamp) - extract(epoch from '2026-07-17 17:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376406 -3.122764)'), GeomFromEWKT('SRID=4674;POINT (-39.376433 -3.122907)'))) / (select extract(epoch from '2026-07-17 17:32:33'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47509, 'SRID=4674;POINT (-39.376425 -3.123029)', '2026-07-17 17:32:39', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376433 -3.122907)'), GeomFromEWKT('SRID=4674;POINT (-39.376425 -3.123029)'))) / (select extract(epoch from '2026-07-17 17:32:39'::timestamp) - extract(epoch from '2026-07-17 17:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376433 -3.122907)'), GeomFromEWKT('SRID=4674;POINT (-39.376425 -3.123029)'))) / (select extract(epoch from '2026-07-17 17:32:39'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.376451 -3.123154)', '2026-07-17 17:32:45', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376425 -3.123029)'), GeomFromEWKT('SRID=4674;POINT (-39.376451 -3.123154)'))) / (select extract(epoch from '2026-07-17 17:32:45'::timestamp) - extract(epoch from '2026-07-17 17:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376425 -3.123029)'), GeomFromEWKT('SRID=4674;POINT (-39.376451 -3.123154)'))) / (select extract(epoch from '2026-07-17 17:32:45'::timestamp) - extract(epoch from '2026-07-17 17:32:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.376472 -3.123279)', '2026-07-17 17:32:51', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376451 -3.123154)'), GeomFromEWKT('SRID=4674;POINT (-39.376472 -3.123279)'))) / (select extract(epoch from '2026-07-17 17:32:51'::timestamp) - extract(epoch from '2026-07-17 17:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376451 -3.123154)'), GeomFromEWKT('SRID=4674;POINT (-39.376472 -3.123279)'))) / (select extract(epoch from '2026-07-17 17:32:51'::timestamp) - extract(epoch from '2026-07-17 17:32: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'), 47509, 'SRID=4674;POINT (-39.376501 -3.123465)', '2026-07-17 17:32:59', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376472 -3.123279)'), GeomFromEWKT('SRID=4674;POINT (-39.376501 -3.123465)'))) / (select extract(epoch from '2026-07-17 17:32:59'::timestamp) - extract(epoch from '2026-07-17 17:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376472 -3.123279)'), GeomFromEWKT('SRID=4674;POINT (-39.376501 -3.123465)'))) / (select extract(epoch from '2026-07-17 17:32:59'::timestamp) - extract(epoch from '2026-07-17 17:32:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.376536 -3.123608)', '2026-07-17 17:33:05', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376501 -3.123465)'), GeomFromEWKT('SRID=4674;POINT (-39.376536 -3.123608)'))) / (select extract(epoch from '2026-07-17 17:33:05'::timestamp) - extract(epoch from '2026-07-17 17:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376501 -3.123465)'), GeomFromEWKT('SRID=4674;POINT (-39.376536 -3.123608)'))) / (select extract(epoch from '2026-07-17 17:33:05'::timestamp) - extract(epoch from '2026-07-17 17:32:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.376575 -3.123726)', '2026-07-17 17:33:10', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376536 -3.123608)'), GeomFromEWKT('SRID=4674;POINT (-39.376575 -3.123726)'))) / (select extract(epoch from '2026-07-17 17:33:10'::timestamp) - extract(epoch from '2026-07-17 17:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376536 -3.123608)'), GeomFromEWKT('SRID=4674;POINT (-39.376575 -3.123726)'))) / (select extract(epoch from '2026-07-17 17:33:10'::timestamp) - extract(epoch from '2026-07-17 17:33:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.376623 -3.123877)', '2026-07-17 17:33:18', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376575 -3.123726)'), GeomFromEWKT('SRID=4674;POINT (-39.376623 -3.123877)'))) / (select extract(epoch from '2026-07-17 17:33:18'::timestamp) - extract(epoch from '2026-07-17 17:33:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376575 -3.123726)'), GeomFromEWKT('SRID=4674;POINT (-39.376623 -3.123877)'))) / (select extract(epoch from '2026-07-17 17:33:18'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.376653 -3.124049)', '2026-07-17 17:33:26', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376623 -3.123877)'), GeomFromEWKT('SRID=4674;POINT (-39.376653 -3.124049)'))) / (select extract(epoch from '2026-07-17 17:33:26'::timestamp) - extract(epoch from '2026-07-17 17:33:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376623 -3.123877)'), GeomFromEWKT('SRID=4674;POINT (-39.376653 -3.124049)'))) / (select extract(epoch from '2026-07-17 17:33:26'::timestamp) - extract(epoch from '2026-07-17 17:33: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'), 47509, 'SRID=4674;POINT (-39.376678 -3.124215)', '2026-07-17 17:33:33', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376653 -3.124049)'), GeomFromEWKT('SRID=4674;POINT (-39.376678 -3.124215)'))) / (select extract(epoch from '2026-07-17 17:33:33'::timestamp) - extract(epoch from '2026-07-17 17:33:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376653 -3.124049)'), GeomFromEWKT('SRID=4674;POINT (-39.376678 -3.124215)'))) / (select extract(epoch from '2026-07-17 17:33:33'::timestamp) - extract(epoch from '2026-07-17 17:33:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.376697 -3.124361)', '2026-07-17 17:33:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376678 -3.124215)'), GeomFromEWKT('SRID=4674;POINT (-39.376697 -3.124361)'))) / (select extract(epoch from '2026-07-17 17:33:39'::timestamp) - extract(epoch from '2026-07-17 17:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376678 -3.124215)'), GeomFromEWKT('SRID=4674;POINT (-39.376697 -3.124361)'))) / (select extract(epoch from '2026-07-17 17:33:39'::timestamp) - extract(epoch from '2026-07-17 17:33:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.376739 -3.124529)', '2026-07-17 17:33:47', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376697 -3.124361)'), GeomFromEWKT('SRID=4674;POINT (-39.376739 -3.124529)'))) / (select extract(epoch from '2026-07-17 17:33:47'::timestamp) - extract(epoch from '2026-07-17 17:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376697 -3.124361)'), GeomFromEWKT('SRID=4674;POINT (-39.376739 -3.124529)'))) / (select extract(epoch from '2026-07-17 17:33:47'::timestamp) - extract(epoch from '2026-07-17 17:33:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.37676 -3.124666)', '2026-07-17 17:33:53', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376739 -3.124529)'), GeomFromEWKT('SRID=4674;POINT (-39.37676 -3.124666)'))) / (select extract(epoch from '2026-07-17 17:33:53'::timestamp) - extract(epoch from '2026-07-17 17:33:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376739 -3.124529)'), GeomFromEWKT('SRID=4674;POINT (-39.37676 -3.124666)'))) / (select extract(epoch from '2026-07-17 17:33:53'::timestamp) - extract(epoch from '2026-07-17 17:33: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'), 47509, 'SRID=4674;POINT (-39.376796 -3.124777)', '2026-07-17 17:33:58', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37676 -3.124666)'), GeomFromEWKT('SRID=4674;POINT (-39.376796 -3.124777)'))) / (select extract(epoch from '2026-07-17 17:33:58'::timestamp) - extract(epoch from '2026-07-17 17:33:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37676 -3.124666)'), GeomFromEWKT('SRID=4674;POINT (-39.376796 -3.124777)'))) / (select extract(epoch from '2026-07-17 17:33:58'::timestamp) - extract(epoch from '2026-07-17 17:33: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'), 47509, 'SRID=4674;POINT (-39.376816 -3.124925)', '2026-07-17 17:34:04', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376796 -3.124777)'), GeomFromEWKT('SRID=4674;POINT (-39.376816 -3.124925)'))) / (select extract(epoch from '2026-07-17 17:34:04'::timestamp) - extract(epoch from '2026-07-17 17:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376796 -3.124777)'), GeomFromEWKT('SRID=4674;POINT (-39.376816 -3.124925)'))) / (select extract(epoch from '2026-07-17 17:34:04'::timestamp) - extract(epoch from '2026-07-17 17:33:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.376836 -3.125077)', '2026-07-17 17:34:10', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376816 -3.124925)'), GeomFromEWKT('SRID=4674;POINT (-39.376836 -3.125077)'))) / (select extract(epoch from '2026-07-17 17:34:10'::timestamp) - extract(epoch from '2026-07-17 17:34:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376816 -3.124925)'), GeomFromEWKT('SRID=4674;POINT (-39.376836 -3.125077)'))) / (select extract(epoch from '2026-07-17 17:34:10'::timestamp) - extract(epoch from '2026-07-17 17:34:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.376856 -3.125196)', '2026-07-17 17:34:16', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376836 -3.125077)'), GeomFromEWKT('SRID=4674;POINT (-39.376856 -3.125196)'))) / (select extract(epoch from '2026-07-17 17:34:16'::timestamp) - extract(epoch from '2026-07-17 17:34:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376836 -3.125077)'), GeomFromEWKT('SRID=4674;POINT (-39.376856 -3.125196)'))) / (select extract(epoch from '2026-07-17 17:34:16'::timestamp) - extract(epoch from '2026-07-17 17:34: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'), 47509, 'SRID=4674;POINT (-39.376887 -3.125342)', '2026-07-17 17:34:23', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376856 -3.125196)'), GeomFromEWKT('SRID=4674;POINT (-39.376887 -3.125342)'))) / (select extract(epoch from '2026-07-17 17:34:23'::timestamp) - extract(epoch from '2026-07-17 17:34:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376856 -3.125196)'), GeomFromEWKT('SRID=4674;POINT (-39.376887 -3.125342)'))) / (select extract(epoch from '2026-07-17 17:34:23'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47509, 'SRID=4674;POINT (-39.376894 -3.125467)', '2026-07-17 17:34:29', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376887 -3.125342)'), GeomFromEWKT('SRID=4674;POINT (-39.376894 -3.125467)'))) / (select extract(epoch from '2026-07-17 17:34:29'::timestamp) - extract(epoch from '2026-07-17 17:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376887 -3.125342)'), GeomFromEWKT('SRID=4674;POINT (-39.376894 -3.125467)'))) / (select extract(epoch from '2026-07-17 17:34:29'::timestamp) - extract(epoch from '2026-07-17 17:34:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.376916 -3.125575)', '2026-07-17 17:34:34', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376894 -3.125467)'), GeomFromEWKT('SRID=4674;POINT (-39.376916 -3.125575)'))) / (select extract(epoch from '2026-07-17 17:34:34'::timestamp) - extract(epoch from '2026-07-17 17:34:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376894 -3.125467)'), GeomFromEWKT('SRID=4674;POINT (-39.376916 -3.125575)'))) / (select extract(epoch from '2026-07-17 17:34:34'::timestamp) - extract(epoch from '2026-07-17 17:34:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.376974 -3.12571)', '2026-07-17 17:34:40', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376916 -3.125575)'), GeomFromEWKT('SRID=4674;POINT (-39.376974 -3.12571)'))) / (select extract(epoch from '2026-07-17 17:34:40'::timestamp) - extract(epoch from '2026-07-17 17:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376916 -3.125575)'), GeomFromEWKT('SRID=4674;POINT (-39.376974 -3.12571)'))) / (select extract(epoch from '2026-07-17 17:34:40'::timestamp) - extract(epoch from '2026-07-17 17:34:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.377006 -3.125804)', '2026-07-17 17:34:45', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376974 -3.12571)'), GeomFromEWKT('SRID=4674;POINT (-39.377006 -3.125804)'))) / (select extract(epoch from '2026-07-17 17:34:45'::timestamp) - extract(epoch from '2026-07-17 17:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376974 -3.12571)'), GeomFromEWKT('SRID=4674;POINT (-39.377006 -3.125804)'))) / (select extract(epoch from '2026-07-17 17:34:45'::timestamp) - extract(epoch from '2026-07-17 17:34:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.377008 -3.12594)', '2026-07-17 17:34:51', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377006 -3.125804)'), GeomFromEWKT('SRID=4674;POINT (-39.377008 -3.12594)'))) / (select extract(epoch from '2026-07-17 17:34:51'::timestamp) - extract(epoch from '2026-07-17 17:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377006 -3.125804)'), GeomFromEWKT('SRID=4674;POINT (-39.377008 -3.12594)'))) / (select extract(epoch from '2026-07-17 17:34:51'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.377012 -3.12616)', '2026-07-17 17:34:59', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377008 -3.12594)'), GeomFromEWKT('SRID=4674;POINT (-39.377012 -3.12616)'))) / (select extract(epoch from '2026-07-17 17:34:59'::timestamp) - extract(epoch from '2026-07-17 17:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377008 -3.12594)'), GeomFromEWKT('SRID=4674;POINT (-39.377012 -3.12616)'))) / (select extract(epoch from '2026-07-17 17:34:59'::timestamp) - extract(epoch from '2026-07-17 17:34:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.377065 -3.126301)', '2026-07-17 17:35:06', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377012 -3.12616)'), GeomFromEWKT('SRID=4674;POINT (-39.377065 -3.126301)'))) / (select extract(epoch from '2026-07-17 17:35:06'::timestamp) - extract(epoch from '2026-07-17 17:34:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377012 -3.12616)'), GeomFromEWKT('SRID=4674;POINT (-39.377065 -3.126301)'))) / (select extract(epoch from '2026-07-17 17:35:06'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47509, 'SRID=4674;POINT (-39.377074 -3.126416)', '2026-07-17 17:35:11', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377065 -3.126301)'), GeomFromEWKT('SRID=4674;POINT (-39.377074 -3.126416)'))) / (select extract(epoch from '2026-07-17 17:35:11'::timestamp) - extract(epoch from '2026-07-17 17:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377065 -3.126301)'), GeomFromEWKT('SRID=4674;POINT (-39.377074 -3.126416)'))) / (select extract(epoch from '2026-07-17 17:35:11'::timestamp) - extract(epoch from '2026-07-17 17:35:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.3771 -3.126579)', '2026-07-17 17:35:17', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377074 -3.126416)'), GeomFromEWKT('SRID=4674;POINT (-39.3771 -3.126579)'))) / (select extract(epoch from '2026-07-17 17:35:17'::timestamp) - extract(epoch from '2026-07-17 17:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377074 -3.126416)'), GeomFromEWKT('SRID=4674;POINT (-39.3771 -3.126579)'))) / (select extract(epoch from '2026-07-17 17:35:17'::timestamp) - extract(epoch from '2026-07-17 17:35:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.377133 -3.12668)', '2026-07-17 17:35:22', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3771 -3.126579)'), GeomFromEWKT('SRID=4674;POINT (-39.377133 -3.12668)'))) / (select extract(epoch from '2026-07-17 17:35:22'::timestamp) - extract(epoch from '2026-07-17 17:35:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3771 -3.126579)'), GeomFromEWKT('SRID=4674;POINT (-39.377133 -3.12668)'))) / (select extract(epoch from '2026-07-17 17:35:22'::timestamp) - extract(epoch from '2026-07-17 17:35: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'), 47509, 'SRID=4674;POINT (-39.377145 -3.126819)', '2026-07-17 17:35:28', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377133 -3.12668)'), GeomFromEWKT('SRID=4674;POINT (-39.377145 -3.126819)'))) / (select extract(epoch from '2026-07-17 17:35:28'::timestamp) - extract(epoch from '2026-07-17 17:35:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377133 -3.12668)'), GeomFromEWKT('SRID=4674;POINT (-39.377145 -3.126819)'))) / (select extract(epoch from '2026-07-17 17:35:28'::timestamp) - extract(epoch from '2026-07-17 17:35: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'), 47509, 'SRID=4674;POINT (-39.377173 -3.126975)', '2026-07-17 17:35:35', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377145 -3.126819)'), GeomFromEWKT('SRID=4674;POINT (-39.377173 -3.126975)'))) / (select extract(epoch from '2026-07-17 17:35:35'::timestamp) - extract(epoch from '2026-07-17 17:35:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377145 -3.126819)'), GeomFromEWKT('SRID=4674;POINT (-39.377173 -3.126975)'))) / (select extract(epoch from '2026-07-17 17:35:35'::timestamp) - extract(epoch from '2026-07-17 17:35: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'), 47509, 'SRID=4674;POINT (-39.377197 -3.127122)', '2026-07-17 17:35:42', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377173 -3.126975)'), GeomFromEWKT('SRID=4674;POINT (-39.377197 -3.127122)'))) / (select extract(epoch from '2026-07-17 17:35:42'::timestamp) - extract(epoch from '2026-07-17 17:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377173 -3.126975)'), GeomFromEWKT('SRID=4674;POINT (-39.377197 -3.127122)'))) / (select extract(epoch from '2026-07-17 17:35:42'::timestamp) - extract(epoch from '2026-07-17 17:35:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.377215 -3.127245)', '2026-07-17 17:35:48', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377197 -3.127122)'), GeomFromEWKT('SRID=4674;POINT (-39.377215 -3.127245)'))) / (select extract(epoch from '2026-07-17 17:35:48'::timestamp) - extract(epoch from '2026-07-17 17:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377197 -3.127122)'), GeomFromEWKT('SRID=4674;POINT (-39.377215 -3.127245)'))) / (select extract(epoch from '2026-07-17 17:35:48'::timestamp) - extract(epoch from '2026-07-17 17:35:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.377221 -3.127392)', '2026-07-17 17:35:54', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377215 -3.127245)'), GeomFromEWKT('SRID=4674;POINT (-39.377221 -3.127392)'))) / (select extract(epoch from '2026-07-17 17:35:54'::timestamp) - extract(epoch from '2026-07-17 17:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377215 -3.127245)'), GeomFromEWKT('SRID=4674;POINT (-39.377221 -3.127392)'))) / (select extract(epoch from '2026-07-17 17:35:54'::timestamp) - extract(epoch from '2026-07-17 17:35:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.377258 -3.127524)', '2026-07-17 17:36:00', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377221 -3.127392)'), GeomFromEWKT('SRID=4674;POINT (-39.377258 -3.127524)'))) / (select extract(epoch from '2026-07-17 17:36:00'::timestamp) - extract(epoch from '2026-07-17 17:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377221 -3.127392)'), GeomFromEWKT('SRID=4674;POINT (-39.377258 -3.127524)'))) / (select extract(epoch from '2026-07-17 17:36:00'::timestamp) - extract(epoch from '2026-07-17 17:35:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.377285 -3.127665)', '2026-07-17 17:36:07', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377258 -3.127524)'), GeomFromEWKT('SRID=4674;POINT (-39.377285 -3.127665)'))) / (select extract(epoch from '2026-07-17 17:36:07'::timestamp) - extract(epoch from '2026-07-17 17:36:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377258 -3.127524)'), GeomFromEWKT('SRID=4674;POINT (-39.377285 -3.127665)'))) / (select extract(epoch from '2026-07-17 17:36:07'::timestamp) - extract(epoch from '2026-07-17 17:36: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'), 47509, 'SRID=4674;POINT (-39.377295 -3.12779)', '2026-07-17 17:36:13', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377285 -3.127665)'), GeomFromEWKT('SRID=4674;POINT (-39.377295 -3.12779)'))) / (select extract(epoch from '2026-07-17 17:36:13'::timestamp) - extract(epoch from '2026-07-17 17:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377285 -3.127665)'), GeomFromEWKT('SRID=4674;POINT (-39.377295 -3.12779)'))) / (select extract(epoch from '2026-07-17 17:36:13'::timestamp) - extract(epoch from '2026-07-17 17:36:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.377332 -3.127955)', '2026-07-17 17:36:21', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377295 -3.12779)'), GeomFromEWKT('SRID=4674;POINT (-39.377332 -3.127955)'))) / (select extract(epoch from '2026-07-17 17:36:21'::timestamp) - extract(epoch from '2026-07-17 17:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377295 -3.12779)'), GeomFromEWKT('SRID=4674;POINT (-39.377332 -3.127955)'))) / (select extract(epoch from '2026-07-17 17:36:21'::timestamp) - extract(epoch from '2026-07-17 17:36:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.37736 -3.128103)', '2026-07-17 17:36:28', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377332 -3.127955)'), GeomFromEWKT('SRID=4674;POINT (-39.37736 -3.128103)'))) / (select extract(epoch from '2026-07-17 17:36:28'::timestamp) - extract(epoch from '2026-07-17 17:36:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377332 -3.127955)'), GeomFromEWKT('SRID=4674;POINT (-39.37736 -3.128103)'))) / (select extract(epoch from '2026-07-17 17:36:28'::timestamp) - extract(epoch from '2026-07-17 17:36: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'), 47509, 'SRID=4674;POINT (-39.377389 -3.128256)', '2026-07-17 17:36:35', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37736 -3.128103)'), GeomFromEWKT('SRID=4674;POINT (-39.377389 -3.128256)'))) / (select extract(epoch from '2026-07-17 17:36:35'::timestamp) - extract(epoch from '2026-07-17 17:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37736 -3.128103)'), GeomFromEWKT('SRID=4674;POINT (-39.377389 -3.128256)'))) / (select extract(epoch from '2026-07-17 17:36:35'::timestamp) - extract(epoch from '2026-07-17 17:36: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'), 47509, 'SRID=4674;POINT (-39.377411 -3.128423)', '2026-07-17 17:36:41', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377389 -3.128256)'), GeomFromEWKT('SRID=4674;POINT (-39.377411 -3.128423)'))) / (select extract(epoch from '2026-07-17 17:36:41'::timestamp) - extract(epoch from '2026-07-17 17:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377389 -3.128256)'), GeomFromEWKT('SRID=4674;POINT (-39.377411 -3.128423)'))) / (select extract(epoch from '2026-07-17 17:36:41'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.377436 -3.128614)', '2026-07-17 17:36:49', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377411 -3.128423)'), GeomFromEWKT('SRID=4674;POINT (-39.377436 -3.128614)'))) / (select extract(epoch from '2026-07-17 17:36:49'::timestamp) - extract(epoch from '2026-07-17 17:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377411 -3.128423)'), GeomFromEWKT('SRID=4674;POINT (-39.377436 -3.128614)'))) / (select extract(epoch from '2026-07-17 17:36:49'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.37742 -3.128757)', '2026-07-17 17:36:55', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377436 -3.128614)'), GeomFromEWKT('SRID=4674;POINT (-39.37742 -3.128757)'))) / (select extract(epoch from '2026-07-17 17:36:55'::timestamp) - extract(epoch from '2026-07-17 17:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377436 -3.128614)'), GeomFromEWKT('SRID=4674;POINT (-39.37742 -3.128757)'))) / (select extract(epoch from '2026-07-17 17:36:55'::timestamp) - extract(epoch from '2026-07-17 17:36: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'), 47509, 'SRID=4674;POINT (-39.377428 -3.12891)', '2026-07-17 17:37:02', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37742 -3.128757)'), GeomFromEWKT('SRID=4674;POINT (-39.377428 -3.12891)'))) / (select extract(epoch from '2026-07-17 17:37:02'::timestamp) - extract(epoch from '2026-07-17 17:36:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37742 -3.128757)'), GeomFromEWKT('SRID=4674;POINT (-39.377428 -3.12891)'))) / (select extract(epoch from '2026-07-17 17:37:02'::timestamp) - extract(epoch from '2026-07-17 17:36:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.377443 -3.129073)', '2026-07-17 17:37:09', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377428 -3.12891)'), GeomFromEWKT('SRID=4674;POINT (-39.377443 -3.129073)'))) / (select extract(epoch from '2026-07-17 17:37:09'::timestamp) - extract(epoch from '2026-07-17 17:37:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377428 -3.12891)'), GeomFromEWKT('SRID=4674;POINT (-39.377443 -3.129073)'))) / (select extract(epoch from '2026-07-17 17:37:09'::timestamp) - extract(epoch from '2026-07-17 17:37: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'), 47509, 'SRID=4674;POINT (-39.377449 -3.129201)', '2026-07-17 17:37:15', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377443 -3.129073)'), GeomFromEWKT('SRID=4674;POINT (-39.377449 -3.129201)'))) / (select extract(epoch from '2026-07-17 17:37:15'::timestamp) - extract(epoch from '2026-07-17 17:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377443 -3.129073)'), GeomFromEWKT('SRID=4674;POINT (-39.377449 -3.129201)'))) / (select extract(epoch from '2026-07-17 17:37:15'::timestamp) - extract(epoch from '2026-07-17 17:37: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'), 47509, 'SRID=4674;POINT (-39.377466 -3.129324)', '2026-07-17 17:37:20', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377449 -3.129201)'), GeomFromEWKT('SRID=4674;POINT (-39.377466 -3.129324)'))) / (select extract(epoch from '2026-07-17 17:37:20'::timestamp) - extract(epoch from '2026-07-17 17:37:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377449 -3.129201)'), GeomFromEWKT('SRID=4674;POINT (-39.377466 -3.129324)'))) / (select extract(epoch from '2026-07-17 17:37:20'::timestamp) - extract(epoch from '2026-07-17 17:37:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.377517 -3.129482)', '2026-07-17 17:37:27', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377466 -3.129324)'), GeomFromEWKT('SRID=4674;POINT (-39.377517 -3.129482)'))) / (select extract(epoch from '2026-07-17 17:37:27'::timestamp) - extract(epoch from '2026-07-17 17:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377466 -3.129324)'), GeomFromEWKT('SRID=4674;POINT (-39.377517 -3.129482)'))) / (select extract(epoch from '2026-07-17 17:37:27'::timestamp) - extract(epoch from '2026-07-17 17:37:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.377543 -3.129647)', '2026-07-17 17:37:34', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377517 -3.129482)'), GeomFromEWKT('SRID=4674;POINT (-39.377543 -3.129647)'))) / (select extract(epoch from '2026-07-17 17:37:34'::timestamp) - extract(epoch from '2026-07-17 17:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377517 -3.129482)'), GeomFromEWKT('SRID=4674;POINT (-39.377543 -3.129647)'))) / (select extract(epoch from '2026-07-17 17:37:34'::timestamp) - extract(epoch from '2026-07-17 17:37: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'), 47509, 'SRID=4674;POINT (-39.377573 -3.129795)', '2026-07-17 17:37:41', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377543 -3.129647)'), GeomFromEWKT('SRID=4674;POINT (-39.377573 -3.129795)'))) / (select extract(epoch from '2026-07-17 17:37:41'::timestamp) - extract(epoch from '2026-07-17 17:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377543 -3.129647)'), GeomFromEWKT('SRID=4674;POINT (-39.377573 -3.129795)'))) / (select extract(epoch from '2026-07-17 17:37:41'::timestamp) - extract(epoch from '2026-07-17 17:37: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'), 47509, 'SRID=4674;POINT (-39.377609 -3.12993)', '2026-07-17 17:37:47', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377573 -3.129795)'), GeomFromEWKT('SRID=4674;POINT (-39.377609 -3.12993)'))) / (select extract(epoch from '2026-07-17 17:37:47'::timestamp) - extract(epoch from '2026-07-17 17:37:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377573 -3.129795)'), GeomFromEWKT('SRID=4674;POINT (-39.377609 -3.12993)'))) / (select extract(epoch from '2026-07-17 17:37:47'::timestamp) - extract(epoch from '2026-07-17 17:37: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'), 47509, 'SRID=4674;POINT (-39.377638 -3.130033)', '2026-07-17 17:37:52', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377609 -3.12993)'), GeomFromEWKT('SRID=4674;POINT (-39.377638 -3.130033)'))) / (select extract(epoch from '2026-07-17 17:37:52'::timestamp) - extract(epoch from '2026-07-17 17:37:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377609 -3.12993)'), GeomFromEWKT('SRID=4674;POINT (-39.377638 -3.130033)'))) / (select extract(epoch from '2026-07-17 17:37:52'::timestamp) - extract(epoch from '2026-07-17 17:37:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.377651 -3.130158)', '2026-07-17 17:37:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377638 -3.130033)'), GeomFromEWKT('SRID=4674;POINT (-39.377651 -3.130158)'))) / (select extract(epoch from '2026-07-17 17:37:58'::timestamp) - extract(epoch from '2026-07-17 17:37:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377638 -3.130033)'), GeomFromEWKT('SRID=4674;POINT (-39.377651 -3.130158)'))) / (select extract(epoch from '2026-07-17 17:37:58'::timestamp) - extract(epoch from '2026-07-17 17:37:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.377672 -3.130261)', '2026-07-17 17:38:03', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377651 -3.130158)'), GeomFromEWKT('SRID=4674;POINT (-39.377672 -3.130261)'))) / (select extract(epoch from '2026-07-17 17:38:03'::timestamp) - extract(epoch from '2026-07-17 17:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377651 -3.130158)'), GeomFromEWKT('SRID=4674;POINT (-39.377672 -3.130261)'))) / (select extract(epoch from '2026-07-17 17:38:03'::timestamp) - extract(epoch from '2026-07-17 17:37:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.377716 -3.130371)', '2026-07-17 17:38:09', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377672 -3.130261)'), GeomFromEWKT('SRID=4674;POINT (-39.377716 -3.130371)'))) / (select extract(epoch from '2026-07-17 17:38:09'::timestamp) - extract(epoch from '2026-07-17 17:38:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377672 -3.130261)'), GeomFromEWKT('SRID=4674;POINT (-39.377716 -3.130371)'))) / (select extract(epoch from '2026-07-17 17:38:09'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.377722 -3.13047)', '2026-07-17 17:38:15', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377716 -3.130371)'), GeomFromEWKT('SRID=4674;POINT (-39.377722 -3.13047)'))) / (select extract(epoch from '2026-07-17 17:38:15'::timestamp) - extract(epoch from '2026-07-17 17:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377716 -3.130371)'), GeomFromEWKT('SRID=4674;POINT (-39.377722 -3.13047)'))) / (select extract(epoch from '2026-07-17 17:38:15'::timestamp) - extract(epoch from '2026-07-17 17:38: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'), 47509, 'SRID=4674;POINT (-39.377719 -3.130613)', '2026-07-17 17:38:23', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377722 -3.13047)'), GeomFromEWKT('SRID=4674;POINT (-39.377719 -3.130613)'))) / (select extract(epoch from '2026-07-17 17:38:23'::timestamp) - extract(epoch from '2026-07-17 17:38:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377722 -3.13047)'), GeomFromEWKT('SRID=4674;POINT (-39.377719 -3.130613)'))) / (select extract(epoch from '2026-07-17 17:38:23'::timestamp) - extract(epoch from '2026-07-17 17:38:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.377728 -3.13077)', '2026-07-17 17:38:30', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377719 -3.130613)'), GeomFromEWKT('SRID=4674;POINT (-39.377728 -3.13077)'))) / (select extract(epoch from '2026-07-17 17:38:30'::timestamp) - extract(epoch from '2026-07-17 17:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377719 -3.130613)'), GeomFromEWKT('SRID=4674;POINT (-39.377728 -3.13077)'))) / (select extract(epoch from '2026-07-17 17:38:30'::timestamp) - extract(epoch from '2026-07-17 17:38: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'), 47509, 'SRID=4674;POINT (-39.377781 -3.130953)', '2026-07-17 17:38:37', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377728 -3.13077)'), GeomFromEWKT('SRID=4674;POINT (-39.377781 -3.130953)'))) / (select extract(epoch from '2026-07-17 17:38:37'::timestamp) - extract(epoch from '2026-07-17 17:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377728 -3.13077)'), GeomFromEWKT('SRID=4674;POINT (-39.377781 -3.130953)'))) / (select extract(epoch from '2026-07-17 17:38:37'::timestamp) - extract(epoch from '2026-07-17 17:38: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'), 47509, 'SRID=4674;POINT (-39.377776 -3.131133)', '2026-07-17 17:38:44', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377781 -3.130953)'), GeomFromEWKT('SRID=4674;POINT (-39.377776 -3.131133)'))) / (select extract(epoch from '2026-07-17 17:38:44'::timestamp) - extract(epoch from '2026-07-17 17:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377781 -3.130953)'), GeomFromEWKT('SRID=4674;POINT (-39.377776 -3.131133)'))) / (select extract(epoch from '2026-07-17 17:38:44'::timestamp) - extract(epoch from '2026-07-17 17:38: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'), 47509, 'SRID=4674;POINT (-39.377799 -3.131238)', '2026-07-17 17:38:49', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377776 -3.131133)'), GeomFromEWKT('SRID=4674;POINT (-39.377799 -3.131238)'))) / (select extract(epoch from '2026-07-17 17:38:49'::timestamp) - extract(epoch from '2026-07-17 17:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377776 -3.131133)'), GeomFromEWKT('SRID=4674;POINT (-39.377799 -3.131238)'))) / (select extract(epoch from '2026-07-17 17:38:49'::timestamp) - extract(epoch from '2026-07-17 17:38:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.377824 -3.131424)', '2026-07-17 17:38:57', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377799 -3.131238)'), GeomFromEWKT('SRID=4674;POINT (-39.377824 -3.131424)'))) / (select extract(epoch from '2026-07-17 17:38:57'::timestamp) - extract(epoch from '2026-07-17 17:38:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377799 -3.131238)'), GeomFromEWKT('SRID=4674;POINT (-39.377824 -3.131424)'))) / (select extract(epoch from '2026-07-17 17:38:57'::timestamp) - extract(epoch from '2026-07-17 17:38: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'), 47509, 'SRID=4674;POINT (-39.377852 -3.131557)', '2026-07-17 17:39:03', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377824 -3.131424)'), GeomFromEWKT('SRID=4674;POINT (-39.377852 -3.131557)'))) / (select extract(epoch from '2026-07-17 17:39:03'::timestamp) - extract(epoch from '2026-07-17 17:38:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377824 -3.131424)'), GeomFromEWKT('SRID=4674;POINT (-39.377852 -3.131557)'))) / (select extract(epoch from '2026-07-17 17:39:03'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.377881 -3.131703)', '2026-07-17 17:39:10', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377852 -3.131557)'), GeomFromEWKT('SRID=4674;POINT (-39.377881 -3.131703)'))) / (select extract(epoch from '2026-07-17 17:39:10'::timestamp) - extract(epoch from '2026-07-17 17:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377852 -3.131557)'), GeomFromEWKT('SRID=4674;POINT (-39.377881 -3.131703)'))) / (select extract(epoch from '2026-07-17 17:39:10'::timestamp) - extract(epoch from '2026-07-17 17:39: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'), 47509, 'SRID=4674;POINT (-39.377939 -3.131866)', '2026-07-17 17:39:18', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377881 -3.131703)'), GeomFromEWKT('SRID=4674;POINT (-39.377939 -3.131866)'))) / (select extract(epoch from '2026-07-17 17:39:18'::timestamp) - extract(epoch from '2026-07-17 17:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377881 -3.131703)'), GeomFromEWKT('SRID=4674;POINT (-39.377939 -3.131866)'))) / (select extract(epoch from '2026-07-17 17:39:18'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47509, 'SRID=4674;POINT (-39.377976 -3.132064)', '2026-07-17 17:39:26', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377939 -3.131866)'), GeomFromEWKT('SRID=4674;POINT (-39.377976 -3.132064)'))) / (select extract(epoch from '2026-07-17 17:39:26'::timestamp) - extract(epoch from '2026-07-17 17:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377939 -3.131866)'), GeomFromEWKT('SRID=4674;POINT (-39.377976 -3.132064)'))) / (select extract(epoch from '2026-07-17 17:39:26'::timestamp) - extract(epoch from '2026-07-17 17:39:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.377986 -3.132197)', '2026-07-17 17:39:32', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377976 -3.132064)'), GeomFromEWKT('SRID=4674;POINT (-39.377986 -3.132197)'))) / (select extract(epoch from '2026-07-17 17:39:32'::timestamp) - extract(epoch from '2026-07-17 17:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377976 -3.132064)'), GeomFromEWKT('SRID=4674;POINT (-39.377986 -3.132197)'))) / (select extract(epoch from '2026-07-17 17:39:32'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47509, 'SRID=4674;POINT (-39.37801 -3.132319)', '2026-07-17 17:39:39', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377986 -3.132197)'), GeomFromEWKT('SRID=4674;POINT (-39.37801 -3.132319)'))) / (select extract(epoch from '2026-07-17 17:39:39'::timestamp) - extract(epoch from '2026-07-17 17:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377986 -3.132197)'), GeomFromEWKT('SRID=4674;POINT (-39.37801 -3.132319)'))) / (select extract(epoch from '2026-07-17 17:39:39'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.378022 -3.132469)', '2026-07-17 17:39:46', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37801 -3.132319)'), GeomFromEWKT('SRID=4674;POINT (-39.378022 -3.132469)'))) / (select extract(epoch from '2026-07-17 17:39:46'::timestamp) - extract(epoch from '2026-07-17 17:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37801 -3.132319)'), GeomFromEWKT('SRID=4674;POINT (-39.378022 -3.132469)'))) / (select extract(epoch from '2026-07-17 17:39:46'::timestamp) - extract(epoch from '2026-07-17 17:39: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'), 47509, 'SRID=4674;POINT (-39.378047 -3.132586)', '2026-07-17 17:39:52', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378022 -3.132469)'), GeomFromEWKT('SRID=4674;POINT (-39.378047 -3.132586)'))) / (select extract(epoch from '2026-07-17 17:39:52'::timestamp) - extract(epoch from '2026-07-17 17:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378022 -3.132469)'), GeomFromEWKT('SRID=4674;POINT (-39.378047 -3.132586)'))) / (select extract(epoch from '2026-07-17 17:39:52'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.378054 -3.132701)', '2026-07-17 17:39:57', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378047 -3.132586)'), GeomFromEWKT('SRID=4674;POINT (-39.378054 -3.132701)'))) / (select extract(epoch from '2026-07-17 17:39:57'::timestamp) - extract(epoch from '2026-07-17 17:39:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378047 -3.132586)'), GeomFromEWKT('SRID=4674;POINT (-39.378054 -3.132701)'))) / (select extract(epoch from '2026-07-17 17:39:57'::timestamp) - extract(epoch from '2026-07-17 17:39:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.378076 -3.132842)', '2026-07-17 17:40:03', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378054 -3.132701)'), GeomFromEWKT('SRID=4674;POINT (-39.378076 -3.132842)'))) / (select extract(epoch from '2026-07-17 17:40:03'::timestamp) - extract(epoch from '2026-07-17 17:39:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378054 -3.132701)'), GeomFromEWKT('SRID=4674;POINT (-39.378076 -3.132842)'))) / (select extract(epoch from '2026-07-17 17:40:03'::timestamp) - extract(epoch from '2026-07-17 17:39:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.378109 -3.13296)', '2026-07-17 17:40:08', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378076 -3.132842)'), GeomFromEWKT('SRID=4674;POINT (-39.378109 -3.13296)'))) / (select extract(epoch from '2026-07-17 17:40:08'::timestamp) - extract(epoch from '2026-07-17 17:40:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378076 -3.132842)'), GeomFromEWKT('SRID=4674;POINT (-39.378109 -3.13296)'))) / (select extract(epoch from '2026-07-17 17:40:08'::timestamp) - extract(epoch from '2026-07-17 17:40: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'), 47509, 'SRID=4674;POINT (-39.378138 -3.133086)', '2026-07-17 17:40:14', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378109 -3.13296)'), GeomFromEWKT('SRID=4674;POINT (-39.378138 -3.133086)'))) / (select extract(epoch from '2026-07-17 17:40:14'::timestamp) - extract(epoch from '2026-07-17 17:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378109 -3.13296)'), GeomFromEWKT('SRID=4674;POINT (-39.378138 -3.133086)'))) / (select extract(epoch from '2026-07-17 17:40:14'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.378165 -3.133199)', '2026-07-17 17:40:22', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378138 -3.133086)'), GeomFromEWKT('SRID=4674;POINT (-39.378165 -3.133199)'))) / (select extract(epoch from '2026-07-17 17:40:22'::timestamp) - extract(epoch from '2026-07-17 17:40:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378138 -3.133086)'), GeomFromEWKT('SRID=4674;POINT (-39.378165 -3.133199)'))) / (select extract(epoch from '2026-07-17 17:40:22'::timestamp) - extract(epoch from '2026-07-17 17:40: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'), 47509, 'SRID=4674;POINT (-39.378214 -3.13342)', '2026-07-17 17:40:32', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378165 -3.133199)'), GeomFromEWKT('SRID=4674;POINT (-39.378214 -3.13342)'))) / (select extract(epoch from '2026-07-17 17:40:32'::timestamp) - extract(epoch from '2026-07-17 17:40:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378165 -3.133199)'), GeomFromEWKT('SRID=4674;POINT (-39.378214 -3.13342)'))) / (select extract(epoch from '2026-07-17 17:40:32'::timestamp) - extract(epoch from '2026-07-17 17:40: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'), 47509, 'SRID=4674;POINT (-39.378222 -3.133601)', '2026-07-17 17:40:41', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378214 -3.13342)'), GeomFromEWKT('SRID=4674;POINT (-39.378222 -3.133601)'))) / (select extract(epoch from '2026-07-17 17:40:41'::timestamp) - extract(epoch from '2026-07-17 17:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378214 -3.13342)'), GeomFromEWKT('SRID=4674;POINT (-39.378222 -3.133601)'))) / (select extract(epoch from '2026-07-17 17:40:41'::timestamp) - extract(epoch from '2026-07-17 17:40: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'), 47509, 'SRID=4674;POINT (-39.37823 -3.133711)', '2026-07-17 17:40:47', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378222 -3.133601)'), GeomFromEWKT('SRID=4674;POINT (-39.37823 -3.133711)'))) / (select extract(epoch from '2026-07-17 17:40:47'::timestamp) - extract(epoch from '2026-07-17 17:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378222 -3.133601)'), GeomFromEWKT('SRID=4674;POINT (-39.37823 -3.133711)'))) / (select extract(epoch from '2026-07-17 17:40:47'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.378257 -3.133826)', '2026-07-17 17:40:53', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37823 -3.133711)'), GeomFromEWKT('SRID=4674;POINT (-39.378257 -3.133826)'))) / (select extract(epoch from '2026-07-17 17:40:53'::timestamp) - extract(epoch from '2026-07-17 17:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37823 -3.133711)'), GeomFromEWKT('SRID=4674;POINT (-39.378257 -3.133826)'))) / (select extract(epoch from '2026-07-17 17:40:53'::timestamp) - extract(epoch from '2026-07-17 17:40: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'), 47509, 'SRID=4674;POINT (-39.378278 -3.133985)', '2026-07-17 17:41:00', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378257 -3.133826)'), GeomFromEWKT('SRID=4674;POINT (-39.378278 -3.133985)'))) / (select extract(epoch from '2026-07-17 17:41:00'::timestamp) - extract(epoch from '2026-07-17 17:40:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378257 -3.133826)'), GeomFromEWKT('SRID=4674;POINT (-39.378278 -3.133985)'))) / (select extract(epoch from '2026-07-17 17:41:00'::timestamp) - extract(epoch from '2026-07-17 17:40:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.378314 -3.1341)', '2026-07-17 17:41:05', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378278 -3.133985)'), GeomFromEWKT('SRID=4674;POINT (-39.378314 -3.1341)'))) / (select extract(epoch from '2026-07-17 17:41:05'::timestamp) - extract(epoch from '2026-07-17 17:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378278 -3.133985)'), GeomFromEWKT('SRID=4674;POINT (-39.378314 -3.1341)'))) / (select extract(epoch from '2026-07-17 17:41:05'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47509, 'SRID=4674;POINT (-39.378326 -3.134245)', '2026-07-17 17:41:12', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378314 -3.1341)'), GeomFromEWKT('SRID=4674;POINT (-39.378326 -3.134245)'))) / (select extract(epoch from '2026-07-17 17:41:12'::timestamp) - extract(epoch from '2026-07-17 17:41:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378314 -3.1341)'), GeomFromEWKT('SRID=4674;POINT (-39.378326 -3.134245)'))) / (select extract(epoch from '2026-07-17 17:41:12'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.378325 -3.134383)', '2026-07-17 17:41:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378326 -3.134245)'), GeomFromEWKT('SRID=4674;POINT (-39.378325 -3.134383)'))) / (select extract(epoch from '2026-07-17 17:41:18'::timestamp) - extract(epoch from '2026-07-17 17:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378326 -3.134245)'), GeomFromEWKT('SRID=4674;POINT (-39.378325 -3.134383)'))) / (select extract(epoch from '2026-07-17 17:41:18'::timestamp) - extract(epoch from '2026-07-17 17:41:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.378346 -3.134518)', '2026-07-17 17:41:24', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378325 -3.134383)'), GeomFromEWKT('SRID=4674;POINT (-39.378346 -3.134518)'))) / (select extract(epoch from '2026-07-17 17:41:24'::timestamp) - extract(epoch from '2026-07-17 17:41:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378325 -3.134383)'), GeomFromEWKT('SRID=4674;POINT (-39.378346 -3.134518)'))) / (select extract(epoch from '2026-07-17 17:41:24'::timestamp) - extract(epoch from '2026-07-17 17:41: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'), 47509, 'SRID=4674;POINT (-39.37836 -3.134677)', '2026-07-17 17:41:32', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378346 -3.134518)'), GeomFromEWKT('SRID=4674;POINT (-39.37836 -3.134677)'))) / (select extract(epoch from '2026-07-17 17:41:32'::timestamp) - extract(epoch from '2026-07-17 17:41:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378346 -3.134518)'), GeomFromEWKT('SRID=4674;POINT (-39.37836 -3.134677)'))) / (select extract(epoch from '2026-07-17 17:41:32'::timestamp) - extract(epoch from '2026-07-17 17:41:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.378355 -3.1348)', '2026-07-17 17:41:37', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37836 -3.134677)'), GeomFromEWKT('SRID=4674;POINT (-39.378355 -3.1348)'))) / (select extract(epoch from '2026-07-17 17:41:37'::timestamp) - extract(epoch from '2026-07-17 17:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37836 -3.134677)'), GeomFromEWKT('SRID=4674;POINT (-39.378355 -3.1348)'))) / (select extract(epoch from '2026-07-17 17:41:37'::timestamp) - extract(epoch from '2026-07-17 17:41: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'), 47509, 'SRID=4674;POINT (-39.378353 -3.134962)', '2026-07-17 17:41:44', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378355 -3.1348)'), GeomFromEWKT('SRID=4674;POINT (-39.378353 -3.134962)'))) / (select extract(epoch from '2026-07-17 17:41:44'::timestamp) - extract(epoch from '2026-07-17 17:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378355 -3.1348)'), GeomFromEWKT('SRID=4674;POINT (-39.378353 -3.134962)'))) / (select extract(epoch from '2026-07-17 17:41:44'::timestamp) - extract(epoch from '2026-07-17 17:41:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.378371 -3.135131)', '2026-07-17 17:41:52', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378353 -3.134962)'), GeomFromEWKT('SRID=4674;POINT (-39.378371 -3.135131)'))) / (select extract(epoch from '2026-07-17 17:41:52'::timestamp) - extract(epoch from '2026-07-17 17:41:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378353 -3.134962)'), GeomFromEWKT('SRID=4674;POINT (-39.378371 -3.135131)'))) / (select extract(epoch from '2026-07-17 17:41:52'::timestamp) - extract(epoch from '2026-07-17 17:41: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'), 47509, 'SRID=4674;POINT (-39.378404 -3.135264)', '2026-07-17 17:41:59', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378371 -3.135131)'), GeomFromEWKT('SRID=4674;POINT (-39.378404 -3.135264)'))) / (select extract(epoch from '2026-07-17 17:41:59'::timestamp) - extract(epoch from '2026-07-17 17:41:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378371 -3.135131)'), GeomFromEWKT('SRID=4674;POINT (-39.378404 -3.135264)'))) / (select extract(epoch from '2026-07-17 17:41:59'::timestamp) - extract(epoch from '2026-07-17 17:41:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.378424 -3.13537)', '2026-07-17 17:42:05', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378404 -3.135264)'), GeomFromEWKT('SRID=4674;POINT (-39.378424 -3.13537)'))) / (select extract(epoch from '2026-07-17 17:42:05'::timestamp) - extract(epoch from '2026-07-17 17:41:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378404 -3.135264)'), GeomFromEWKT('SRID=4674;POINT (-39.378424 -3.13537)'))) / (select extract(epoch from '2026-07-17 17:42:05'::timestamp) - extract(epoch from '2026-07-17 17:41:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.378442 -3.135476)', '2026-07-17 17:42:10', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378424 -3.13537)'), GeomFromEWKT('SRID=4674;POINT (-39.378442 -3.135476)'))) / (select extract(epoch from '2026-07-17 17:42:10'::timestamp) - extract(epoch from '2026-07-17 17:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378424 -3.13537)'), GeomFromEWKT('SRID=4674;POINT (-39.378442 -3.135476)'))) / (select extract(epoch from '2026-07-17 17:42:10'::timestamp) - extract(epoch from '2026-07-17 17:42:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.378452 -3.135611)', '2026-07-17 17:42:16', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378442 -3.135476)'), GeomFromEWKT('SRID=4674;POINT (-39.378452 -3.135611)'))) / (select extract(epoch from '2026-07-17 17:42:16'::timestamp) - extract(epoch from '2026-07-17 17:42:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378442 -3.135476)'), GeomFromEWKT('SRID=4674;POINT (-39.378452 -3.135611)'))) / (select extract(epoch from '2026-07-17 17:42:16'::timestamp) - extract(epoch from '2026-07-17 17:42:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.378465 -3.135751)', '2026-07-17 17:42:22', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378452 -3.135611)'), GeomFromEWKT('SRID=4674;POINT (-39.378465 -3.135751)'))) / (select extract(epoch from '2026-07-17 17:42:22'::timestamp) - extract(epoch from '2026-07-17 17:42:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378452 -3.135611)'), GeomFromEWKT('SRID=4674;POINT (-39.378465 -3.135751)'))) / (select extract(epoch from '2026-07-17 17:42:22'::timestamp) - extract(epoch from '2026-07-17 17:42:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.378494 -3.135891)', '2026-07-17 17:42:29', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378465 -3.135751)'), GeomFromEWKT('SRID=4674;POINT (-39.378494 -3.135891)'))) / (select extract(epoch from '2026-07-17 17:42:29'::timestamp) - extract(epoch from '2026-07-17 17:42:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378465 -3.135751)'), GeomFromEWKT('SRID=4674;POINT (-39.378494 -3.135891)'))) / (select extract(epoch from '2026-07-17 17:42:29'::timestamp) - extract(epoch from '2026-07-17 17:42:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.378529 -3.136105)', '2026-07-17 17:42:39', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378494 -3.135891)'), GeomFromEWKT('SRID=4674;POINT (-39.378529 -3.136105)'))) / (select extract(epoch from '2026-07-17 17:42:39'::timestamp) - extract(epoch from '2026-07-17 17:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378494 -3.135891)'), GeomFromEWKT('SRID=4674;POINT (-39.378529 -3.136105)'))) / (select extract(epoch from '2026-07-17 17:42:39'::timestamp) - extract(epoch from '2026-07-17 17:42:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.378555 -3.136212)', '2026-07-17 17:42:44', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378529 -3.136105)'), GeomFromEWKT('SRID=4674;POINT (-39.378555 -3.136212)'))) / (select extract(epoch from '2026-07-17 17:42:44'::timestamp) - extract(epoch from '2026-07-17 17:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378529 -3.136105)'), GeomFromEWKT('SRID=4674;POINT (-39.378555 -3.136212)'))) / (select extract(epoch from '2026-07-17 17:42:44'::timestamp) - extract(epoch from '2026-07-17 17:42:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.378571 -3.136391)', '2026-07-17 17:42:51', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378555 -3.136212)'), GeomFromEWKT('SRID=4674;POINT (-39.378571 -3.136391)'))) / (select extract(epoch from '2026-07-17 17:42:51'::timestamp) - extract(epoch from '2026-07-17 17:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378555 -3.136212)'), GeomFromEWKT('SRID=4674;POINT (-39.378571 -3.136391)'))) / (select extract(epoch from '2026-07-17 17:42:51'::timestamp) - extract(epoch from '2026-07-17 17:42:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.378593 -3.13655)', '2026-07-17 17:42:58', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378571 -3.136391)'), GeomFromEWKT('SRID=4674;POINT (-39.378593 -3.13655)'))) / (select extract(epoch from '2026-07-17 17:42:58'::timestamp) - extract(epoch from '2026-07-17 17:42:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378571 -3.136391)'), GeomFromEWKT('SRID=4674;POINT (-39.378593 -3.13655)'))) / (select extract(epoch from '2026-07-17 17:42:58'::timestamp) - extract(epoch from '2026-07-17 17:42: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'), 47509, 'SRID=4674;POINT (-39.378603 -3.136645)', '2026-07-17 17:43:03', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378593 -3.13655)'), GeomFromEWKT('SRID=4674;POINT (-39.378603 -3.136645)'))) / (select extract(epoch from '2026-07-17 17:43:03'::timestamp) - extract(epoch from '2026-07-17 17:42:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378593 -3.13655)'), GeomFromEWKT('SRID=4674;POINT (-39.378603 -3.136645)'))) / (select extract(epoch from '2026-07-17 17:43:03'::timestamp) - extract(epoch from '2026-07-17 17:42: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'), 47509, 'SRID=4674;POINT (-39.378624 -3.136778)', '2026-07-17 17:43:09', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378603 -3.136645)'), GeomFromEWKT('SRID=4674;POINT (-39.378624 -3.136778)'))) / (select extract(epoch from '2026-07-17 17:43:09'::timestamp) - extract(epoch from '2026-07-17 17:43:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378603 -3.136645)'), GeomFromEWKT('SRID=4674;POINT (-39.378624 -3.136778)'))) / (select extract(epoch from '2026-07-17 17:43:09'::timestamp) - extract(epoch from '2026-07-17 17:43:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.378647 -3.136922)', '2026-07-17 17:43:15', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378624 -3.136778)'), GeomFromEWKT('SRID=4674;POINT (-39.378647 -3.136922)'))) / (select extract(epoch from '2026-07-17 17:43:15'::timestamp) - extract(epoch from '2026-07-17 17:43:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378624 -3.136778)'), GeomFromEWKT('SRID=4674;POINT (-39.378647 -3.136922)'))) / (select extract(epoch from '2026-07-17 17:43:15'::timestamp) - extract(epoch from '2026-07-17 17:43: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'), 47509, 'SRID=4674;POINT (-39.378668 -3.137048)', '2026-07-17 17:43:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378647 -3.136922)'), GeomFromEWKT('SRID=4674;POINT (-39.378668 -3.137048)'))) / (select extract(epoch from '2026-07-17 17:43:20'::timestamp) - extract(epoch from '2026-07-17 17:43:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378647 -3.136922)'), GeomFromEWKT('SRID=4674;POINT (-39.378668 -3.137048)'))) / (select extract(epoch from '2026-07-17 17:43:20'::timestamp) - extract(epoch from '2026-07-17 17:43: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'), 47509, 'SRID=4674;POINT (-39.378696 -3.137173)', '2026-07-17 17:43:26', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378668 -3.137048)'), GeomFromEWKT('SRID=4674;POINT (-39.378696 -3.137173)'))) / (select extract(epoch from '2026-07-17 17:43:26'::timestamp) - extract(epoch from '2026-07-17 17:43:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378668 -3.137048)'), GeomFromEWKT('SRID=4674;POINT (-39.378696 -3.137173)'))) / (select extract(epoch from '2026-07-17 17:43:26'::timestamp) - extract(epoch from '2026-07-17 17:43: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'), 47509, 'SRID=4674;POINT (-39.378732 -3.137312)', '2026-07-17 17:43:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378696 -3.137173)'), GeomFromEWKT('SRID=4674;POINT (-39.378732 -3.137312)'))) / (select extract(epoch from '2026-07-17 17:43:32'::timestamp) - extract(epoch from '2026-07-17 17:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378696 -3.137173)'), GeomFromEWKT('SRID=4674;POINT (-39.378732 -3.137312)'))) / (select extract(epoch from '2026-07-17 17:43:32'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47509, 'SRID=4674;POINT (-39.378748 -3.137433)', '2026-07-17 17:43:37', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378732 -3.137312)'), GeomFromEWKT('SRID=4674;POINT (-39.378748 -3.137433)'))) / (select extract(epoch from '2026-07-17 17:43:37'::timestamp) - extract(epoch from '2026-07-17 17:43:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378732 -3.137312)'), GeomFromEWKT('SRID=4674;POINT (-39.378748 -3.137433)'))) / (select extract(epoch from '2026-07-17 17:43:37'::timestamp) - extract(epoch from '2026-07-17 17:43: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'), 47509, 'SRID=4674;POINT (-39.378763 -3.137566)', '2026-07-17 17:43:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378748 -3.137433)'), GeomFromEWKT('SRID=4674;POINT (-39.378763 -3.137566)'))) / (select extract(epoch from '2026-07-17 17:43:43'::timestamp) - extract(epoch from '2026-07-17 17:43:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378748 -3.137433)'), GeomFromEWKT('SRID=4674;POINT (-39.378763 -3.137566)'))) / (select extract(epoch from '2026-07-17 17:43:43'::timestamp) - extract(epoch from '2026-07-17 17:43:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.378788 -3.137694)', '2026-07-17 17:43:49', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378763 -3.137566)'), GeomFromEWKT('SRID=4674;POINT (-39.378788 -3.137694)'))) / (select extract(epoch from '2026-07-17 17:43:49'::timestamp) - extract(epoch from '2026-07-17 17:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378763 -3.137566)'), GeomFromEWKT('SRID=4674;POINT (-39.378788 -3.137694)'))) / (select extract(epoch from '2026-07-17 17:43:49'::timestamp) - extract(epoch from '2026-07-17 17:43: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'), 47509, 'SRID=4674;POINT (-39.37881 -3.137824)', '2026-07-17 17:43:55', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378788 -3.137694)'), GeomFromEWKT('SRID=4674;POINT (-39.37881 -3.137824)'))) / (select extract(epoch from '2026-07-17 17:43:55'::timestamp) - extract(epoch from '2026-07-17 17:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378788 -3.137694)'), GeomFromEWKT('SRID=4674;POINT (-39.37881 -3.137824)'))) / (select extract(epoch from '2026-07-17 17:43:55'::timestamp) - extract(epoch from '2026-07-17 17:43: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'), 47509, 'SRID=4674;POINT (-39.378817 -3.137951)', '2026-07-17 17:44:00', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37881 -3.137824)'), GeomFromEWKT('SRID=4674;POINT (-39.378817 -3.137951)'))) / (select extract(epoch from '2026-07-17 17:44:00'::timestamp) - extract(epoch from '2026-07-17 17:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37881 -3.137824)'), GeomFromEWKT('SRID=4674;POINT (-39.378817 -3.137951)'))) / (select extract(epoch from '2026-07-17 17:44:00'::timestamp) - extract(epoch from '2026-07-17 17:43: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'), 47509, 'SRID=4674;POINT (-39.378854 -3.138067)', '2026-07-17 17:44:06', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378817 -3.137951)'), GeomFromEWKT('SRID=4674;POINT (-39.378854 -3.138067)'))) / (select extract(epoch from '2026-07-17 17:44:06'::timestamp) - extract(epoch from '2026-07-17 17:44:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378817 -3.137951)'), GeomFromEWKT('SRID=4674;POINT (-39.378854 -3.138067)'))) / (select extract(epoch from '2026-07-17 17:44:06'::timestamp) - extract(epoch from '2026-07-17 17:44:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.378865 -3.138215)', '2026-07-17 17:44:14', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378854 -3.138067)'), GeomFromEWKT('SRID=4674;POINT (-39.378865 -3.138215)'))) / (select extract(epoch from '2026-07-17 17:44:14'::timestamp) - extract(epoch from '2026-07-17 17:44:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378854 -3.138067)'), GeomFromEWKT('SRID=4674;POINT (-39.378865 -3.138215)'))) / (select extract(epoch from '2026-07-17 17:44:14'::timestamp) - extract(epoch from '2026-07-17 17:44:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.37886 -3.138338)', '2026-07-17 17:44:20', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378865 -3.138215)'), GeomFromEWKT('SRID=4674;POINT (-39.37886 -3.138338)'))) / (select extract(epoch from '2026-07-17 17:44:20'::timestamp) - extract(epoch from '2026-07-17 17:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378865 -3.138215)'), GeomFromEWKT('SRID=4674;POINT (-39.37886 -3.138338)'))) / (select extract(epoch from '2026-07-17 17:44:20'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.378871 -3.138495)', '2026-07-17 17:44:27', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37886 -3.138338)'), GeomFromEWKT('SRID=4674;POINT (-39.378871 -3.138495)'))) / (select extract(epoch from '2026-07-17 17:44:27'::timestamp) - extract(epoch from '2026-07-17 17:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37886 -3.138338)'), GeomFromEWKT('SRID=4674;POINT (-39.378871 -3.138495)'))) / (select extract(epoch from '2026-07-17 17:44:27'::timestamp) - extract(epoch from '2026-07-17 17:44: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'), 47509, 'SRID=4674;POINT (-39.378895 -3.138619)', '2026-07-17 17:44:33', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378871 -3.138495)'), GeomFromEWKT('SRID=4674;POINT (-39.378895 -3.138619)'))) / (select extract(epoch from '2026-07-17 17:44:33'::timestamp) - extract(epoch from '2026-07-17 17:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378871 -3.138495)'), GeomFromEWKT('SRID=4674;POINT (-39.378895 -3.138619)'))) / (select extract(epoch from '2026-07-17 17:44:33'::timestamp) - extract(epoch from '2026-07-17 17:44: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'), 47509, 'SRID=4674;POINT (-39.37891 -3.138742)', '2026-07-17 17:44:39', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378895 -3.138619)'), GeomFromEWKT('SRID=4674;POINT (-39.37891 -3.138742)'))) / (select extract(epoch from '2026-07-17 17:44:39'::timestamp) - extract(epoch from '2026-07-17 17:44:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378895 -3.138619)'), GeomFromEWKT('SRID=4674;POINT (-39.37891 -3.138742)'))) / (select extract(epoch from '2026-07-17 17:44:39'::timestamp) - extract(epoch from '2026-07-17 17:44: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'), 47509, 'SRID=4674;POINT (-39.378933 -3.138849)', '2026-07-17 17:44:45', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37891 -3.138742)'), GeomFromEWKT('SRID=4674;POINT (-39.378933 -3.138849)'))) / (select extract(epoch from '2026-07-17 17:44:45'::timestamp) - extract(epoch from '2026-07-17 17:44:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37891 -3.138742)'), GeomFromEWKT('SRID=4674;POINT (-39.378933 -3.138849)'))) / (select extract(epoch from '2026-07-17 17:44:45'::timestamp) - extract(epoch from '2026-07-17 17:44: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'), 47509, 'SRID=4674;POINT (-39.378949 -3.139013)', '2026-07-17 17:44:52', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378933 -3.138849)'), GeomFromEWKT('SRID=4674;POINT (-39.378949 -3.139013)'))) / (select extract(epoch from '2026-07-17 17:44:52'::timestamp) - extract(epoch from '2026-07-17 17:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378933 -3.138849)'), GeomFromEWKT('SRID=4674;POINT (-39.378949 -3.139013)'))) / (select extract(epoch from '2026-07-17 17:44:52'::timestamp) - extract(epoch from '2026-07-17 17:44: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'), 47509, 'SRID=4674;POINT (-39.378964 -3.139152)', '2026-07-17 17:44:58', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378949 -3.139013)'), GeomFromEWKT('SRID=4674;POINT (-39.378964 -3.139152)'))) / (select extract(epoch from '2026-07-17 17:44:58'::timestamp) - extract(epoch from '2026-07-17 17:44:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378949 -3.139013)'), GeomFromEWKT('SRID=4674;POINT (-39.378964 -3.139152)'))) / (select extract(epoch from '2026-07-17 17:44:58'::timestamp) - extract(epoch from '2026-07-17 17:44:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.378982 -3.139317)', '2026-07-17 17:45:05', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378964 -3.139152)'), GeomFromEWKT('SRID=4674;POINT (-39.378982 -3.139317)'))) / (select extract(epoch from '2026-07-17 17:45:05'::timestamp) - extract(epoch from '2026-07-17 17:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378964 -3.139152)'), GeomFromEWKT('SRID=4674;POINT (-39.378982 -3.139317)'))) / (select extract(epoch from '2026-07-17 17:45:05'::timestamp) - extract(epoch from '2026-07-17 17:44:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.379009 -3.139468)', '2026-07-17 17:45:11', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378982 -3.139317)'), GeomFromEWKT('SRID=4674;POINT (-39.379009 -3.139468)'))) / (select extract(epoch from '2026-07-17 17:45:11'::timestamp) - extract(epoch from '2026-07-17 17:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378982 -3.139317)'), GeomFromEWKT('SRID=4674;POINT (-39.379009 -3.139468)'))) / (select extract(epoch from '2026-07-17 17:45:11'::timestamp) - extract(epoch from '2026-07-17 17:45:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.379033 -3.139619)', '2026-07-17 17:45:18', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379009 -3.139468)'), GeomFromEWKT('SRID=4674;POINT (-39.379033 -3.139619)'))) / (select extract(epoch from '2026-07-17 17:45:18'::timestamp) - extract(epoch from '2026-07-17 17:45:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379009 -3.139468)'), GeomFromEWKT('SRID=4674;POINT (-39.379033 -3.139619)'))) / (select extract(epoch from '2026-07-17 17:45:18'::timestamp) - extract(epoch from '2026-07-17 17:45: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'), 47509, 'SRID=4674;POINT (-39.37905 -3.139773)', '2026-07-17 17:45:25', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379033 -3.139619)'), GeomFromEWKT('SRID=4674;POINT (-39.37905 -3.139773)'))) / (select extract(epoch from '2026-07-17 17:45:25'::timestamp) - extract(epoch from '2026-07-17 17:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379033 -3.139619)'), GeomFromEWKT('SRID=4674;POINT (-39.37905 -3.139773)'))) / (select extract(epoch from '2026-07-17 17:45:25'::timestamp) - extract(epoch from '2026-07-17 17:45:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.37908 -3.139904)', '2026-07-17 17:45:31', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37905 -3.139773)'), GeomFromEWKT('SRID=4674;POINT (-39.37908 -3.139904)'))) / (select extract(epoch from '2026-07-17 17:45:31'::timestamp) - extract(epoch from '2026-07-17 17:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37905 -3.139773)'), GeomFromEWKT('SRID=4674;POINT (-39.37908 -3.139904)'))) / (select extract(epoch from '2026-07-17 17:45:31'::timestamp) - extract(epoch from '2026-07-17 17:45:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.379106 -3.140095)', '2026-07-17 17:45:39', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37908 -3.139904)'), GeomFromEWKT('SRID=4674;POINT (-39.379106 -3.140095)'))) / (select extract(epoch from '2026-07-17 17:45:39'::timestamp) - extract(epoch from '2026-07-17 17:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37908 -3.139904)'), GeomFromEWKT('SRID=4674;POINT (-39.379106 -3.140095)'))) / (select extract(epoch from '2026-07-17 17:45:39'::timestamp) - extract(epoch from '2026-07-17 17:45:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.379138 -3.140232)', '2026-07-17 17:45:46', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379106 -3.140095)'), GeomFromEWKT('SRID=4674;POINT (-39.379138 -3.140232)'))) / (select extract(epoch from '2026-07-17 17:45:46'::timestamp) - extract(epoch from '2026-07-17 17:45:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379106 -3.140095)'), GeomFromEWKT('SRID=4674;POINT (-39.379138 -3.140232)'))) / (select extract(epoch from '2026-07-17 17:45:46'::timestamp) - extract(epoch from '2026-07-17 17:45:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.379154 -3.140394)', '2026-07-17 17:45:53', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379138 -3.140232)'), GeomFromEWKT('SRID=4674;POINT (-39.379154 -3.140394)'))) / (select extract(epoch from '2026-07-17 17:45:53'::timestamp) - extract(epoch from '2026-07-17 17:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379138 -3.140232)'), GeomFromEWKT('SRID=4674;POINT (-39.379154 -3.140394)'))) / (select extract(epoch from '2026-07-17 17:45:53'::timestamp) - extract(epoch from '2026-07-17 17:45:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.379156 -3.14052)', '2026-07-17 17:45:59', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379154 -3.140394)'), GeomFromEWKT('SRID=4674;POINT (-39.379156 -3.14052)'))) / (select extract(epoch from '2026-07-17 17:45:59'::timestamp) - extract(epoch from '2026-07-17 17:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379154 -3.140394)'), GeomFromEWKT('SRID=4674;POINT (-39.379156 -3.14052)'))) / (select extract(epoch from '2026-07-17 17:45:59'::timestamp) - extract(epoch from '2026-07-17 17:45: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'), 47509, 'SRID=4674;POINT (-39.379176 -3.14063)', '2026-07-17 17:46:04', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379156 -3.14052)'), GeomFromEWKT('SRID=4674;POINT (-39.379176 -3.14063)'))) / (select extract(epoch from '2026-07-17 17:46:04'::timestamp) - extract(epoch from '2026-07-17 17:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379156 -3.14052)'), GeomFromEWKT('SRID=4674;POINT (-39.379176 -3.14063)'))) / (select extract(epoch from '2026-07-17 17:46:04'::timestamp) - extract(epoch from '2026-07-17 17:45: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'), 47509, 'SRID=4674;POINT (-39.379184 -3.140753)', '2026-07-17 17:46:09', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379176 -3.14063)'), GeomFromEWKT('SRID=4674;POINT (-39.379184 -3.140753)'))) / (select extract(epoch from '2026-07-17 17:46:09'::timestamp) - extract(epoch from '2026-07-17 17:46:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379176 -3.14063)'), GeomFromEWKT('SRID=4674;POINT (-39.379184 -3.140753)'))) / (select extract(epoch from '2026-07-17 17:46:09'::timestamp) - extract(epoch from '2026-07-17 17:46: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'), 47509, 'SRID=4674;POINT (-39.379217 -3.140908)', '2026-07-17 17:46:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379184 -3.140753)'), GeomFromEWKT('SRID=4674;POINT (-39.379217 -3.140908)'))) / (select extract(epoch from '2026-07-17 17:46:16'::timestamp) - extract(epoch from '2026-07-17 17:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379184 -3.140753)'), GeomFromEWKT('SRID=4674;POINT (-39.379217 -3.140908)'))) / (select extract(epoch from '2026-07-17 17:46:16'::timestamp) - extract(epoch from '2026-07-17 17:46: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'), 47509, 'SRID=4674;POINT (-39.379241 -3.141031)', '2026-07-17 17:46:21', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379217 -3.140908)'), GeomFromEWKT('SRID=4674;POINT (-39.379241 -3.141031)'))) / (select extract(epoch from '2026-07-17 17:46:21'::timestamp) - extract(epoch from '2026-07-17 17:46:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379217 -3.140908)'), GeomFromEWKT('SRID=4674;POINT (-39.379241 -3.141031)'))) / (select extract(epoch from '2026-07-17 17:46:21'::timestamp) - extract(epoch from '2026-07-17 17:46:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.379287 -3.141171)', '2026-07-17 17:46:27', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379241 -3.141031)'), GeomFromEWKT('SRID=4674;POINT (-39.379287 -3.141171)'))) / (select extract(epoch from '2026-07-17 17:46:27'::timestamp) - extract(epoch from '2026-07-17 17:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379241 -3.141031)'), GeomFromEWKT('SRID=4674;POINT (-39.379287 -3.141171)'))) / (select extract(epoch from '2026-07-17 17:46:27'::timestamp) - extract(epoch from '2026-07-17 17:46:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.37932 -3.141305)', '2026-07-17 17:46:33', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379287 -3.141171)'), GeomFromEWKT('SRID=4674;POINT (-39.37932 -3.141305)'))) / (select extract(epoch from '2026-07-17 17:46:33'::timestamp) - extract(epoch from '2026-07-17 17:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379287 -3.141171)'), GeomFromEWKT('SRID=4674;POINT (-39.37932 -3.141305)'))) / (select extract(epoch from '2026-07-17 17:46:33'::timestamp) - extract(epoch from '2026-07-17 17:46:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.379345 -3.141415)', '2026-07-17 17:46:39', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37932 -3.141305)'), GeomFromEWKT('SRID=4674;POINT (-39.379345 -3.141415)'))) / (select extract(epoch from '2026-07-17 17:46:39'::timestamp) - extract(epoch from '2026-07-17 17:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37932 -3.141305)'), GeomFromEWKT('SRID=4674;POINT (-39.379345 -3.141415)'))) / (select extract(epoch from '2026-07-17 17:46:39'::timestamp) - extract(epoch from '2026-07-17 17:46:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.379367 -3.141514)', '2026-07-17 17:46:44', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379345 -3.141415)'), GeomFromEWKT('SRID=4674;POINT (-39.379367 -3.141514)'))) / (select extract(epoch from '2026-07-17 17:46:44'::timestamp) - extract(epoch from '2026-07-17 17:46:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379345 -3.141415)'), GeomFromEWKT('SRID=4674;POINT (-39.379367 -3.141514)'))) / (select extract(epoch from '2026-07-17 17:46:44'::timestamp) - extract(epoch from '2026-07-17 17:46: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'), 47509, 'SRID=4674;POINT (-39.379384 -3.141649)', '2026-07-17 17:46:50', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379367 -3.141514)'), GeomFromEWKT('SRID=4674;POINT (-39.379384 -3.141649)'))) / (select extract(epoch from '2026-07-17 17:46:50'::timestamp) - extract(epoch from '2026-07-17 17:46:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379367 -3.141514)'), GeomFromEWKT('SRID=4674;POINT (-39.379384 -3.141649)'))) / (select extract(epoch from '2026-07-17 17:46:50'::timestamp) - extract(epoch from '2026-07-17 17:46: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'), 47509, 'SRID=4674;POINT (-39.379386 -3.141757)', '2026-07-17 17:46:55', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379384 -3.141649)'), GeomFromEWKT('SRID=4674;POINT (-39.379386 -3.141757)'))) / (select extract(epoch from '2026-07-17 17:46:55'::timestamp) - extract(epoch from '2026-07-17 17:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379384 -3.141649)'), GeomFromEWKT('SRID=4674;POINT (-39.379386 -3.141757)'))) / (select extract(epoch from '2026-07-17 17:46:55'::timestamp) - extract(epoch from '2026-07-17 17:46: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'), 47509, 'SRID=4674;POINT (-39.379402 -3.141893)', '2026-07-17 17:47:02', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379386 -3.141757)'), GeomFromEWKT('SRID=4674;POINT (-39.379402 -3.141893)'))) / (select extract(epoch from '2026-07-17 17:47:02'::timestamp) - extract(epoch from '2026-07-17 17:46:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379386 -3.141757)'), GeomFromEWKT('SRID=4674;POINT (-39.379402 -3.141893)'))) / (select extract(epoch from '2026-07-17 17:47:02'::timestamp) - extract(epoch from '2026-07-17 17:46: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'), 47509, 'SRID=4674;POINT (-39.37943 -3.142054)', '2026-07-17 17:47:09', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379402 -3.141893)'), GeomFromEWKT('SRID=4674;POINT (-39.37943 -3.142054)'))) / (select extract(epoch from '2026-07-17 17:47:09'::timestamp) - extract(epoch from '2026-07-17 17:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379402 -3.141893)'), GeomFromEWKT('SRID=4674;POINT (-39.37943 -3.142054)'))) / (select extract(epoch from '2026-07-17 17:47:09'::timestamp) - extract(epoch from '2026-07-17 17:47:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.379451 -3.142233)', '2026-07-17 17:47:17', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37943 -3.142054)'), GeomFromEWKT('SRID=4674;POINT (-39.379451 -3.142233)'))) / (select extract(epoch from '2026-07-17 17:47:17'::timestamp) - extract(epoch from '2026-07-17 17:47:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37943 -3.142054)'), GeomFromEWKT('SRID=4674;POINT (-39.379451 -3.142233)'))) / (select extract(epoch from '2026-07-17 17:47:17'::timestamp) - extract(epoch from '2026-07-17 17:47:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.37947 -3.142342)', '2026-07-17 17:47:23', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379451 -3.142233)'), GeomFromEWKT('SRID=4674;POINT (-39.37947 -3.142342)'))) / (select extract(epoch from '2026-07-17 17:47:23'::timestamp) - extract(epoch from '2026-07-17 17:47:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379451 -3.142233)'), GeomFromEWKT('SRID=4674;POINT (-39.37947 -3.142342)'))) / (select extract(epoch from '2026-07-17 17:47:23'::timestamp) - extract(epoch from '2026-07-17 17:47:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.379487 -3.142499)', '2026-07-17 17:47:30', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37947 -3.142342)'), GeomFromEWKT('SRID=4674;POINT (-39.379487 -3.142499)'))) / (select extract(epoch from '2026-07-17 17:47:30'::timestamp) - extract(epoch from '2026-07-17 17:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37947 -3.142342)'), GeomFromEWKT('SRID=4674;POINT (-39.379487 -3.142499)'))) / (select extract(epoch from '2026-07-17 17:47:30'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.379508 -3.142596)', '2026-07-17 17:47:34', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379487 -3.142499)'), GeomFromEWKT('SRID=4674;POINT (-39.379508 -3.142596)'))) / (select extract(epoch from '2026-07-17 17:47:34'::timestamp) - extract(epoch from '2026-07-17 17:47:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379487 -3.142499)'), GeomFromEWKT('SRID=4674;POINT (-39.379508 -3.142596)'))) / (select extract(epoch from '2026-07-17 17:47:34'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47509, 'SRID=4674;POINT (-39.37954 -3.14271)', '2026-07-17 17:47:40', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379508 -3.142596)'), GeomFromEWKT('SRID=4674;POINT (-39.37954 -3.14271)'))) / (select extract(epoch from '2026-07-17 17:47:40'::timestamp) - extract(epoch from '2026-07-17 17:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379508 -3.142596)'), GeomFromEWKT('SRID=4674;POINT (-39.37954 -3.14271)'))) / (select extract(epoch from '2026-07-17 17:47:40'::timestamp) - extract(epoch from '2026-07-17 17:47: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'), 47509, 'SRID=4674;POINT (-39.379551 -3.142835)', '2026-07-17 17:47:46', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37954 -3.14271)'), GeomFromEWKT('SRID=4674;POINT (-39.379551 -3.142835)'))) / (select extract(epoch from '2026-07-17 17:47:46'::timestamp) - extract(epoch from '2026-07-17 17:47:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37954 -3.14271)'), GeomFromEWKT('SRID=4674;POINT (-39.379551 -3.142835)'))) / (select extract(epoch from '2026-07-17 17:47:46'::timestamp) - extract(epoch from '2026-07-17 17:47:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.379564 -3.142963)', '2026-07-17 17:47:52', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379551 -3.142835)'), GeomFromEWKT('SRID=4674;POINT (-39.379564 -3.142963)'))) / (select extract(epoch from '2026-07-17 17:47:52'::timestamp) - extract(epoch from '2026-07-17 17:47:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379551 -3.142835)'), GeomFromEWKT('SRID=4674;POINT (-39.379564 -3.142963)'))) / (select extract(epoch from '2026-07-17 17:47:52'::timestamp) - extract(epoch from '2026-07-17 17:47:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.379604 -3.143159)', '2026-07-17 17:48:00', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379564 -3.142963)'), GeomFromEWKT('SRID=4674;POINT (-39.379604 -3.143159)'))) / (select extract(epoch from '2026-07-17 17:48:00'::timestamp) - extract(epoch from '2026-07-17 17:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379564 -3.142963)'), GeomFromEWKT('SRID=4674;POINT (-39.379604 -3.143159)'))) / (select extract(epoch from '2026-07-17 17:48:00'::timestamp) - extract(epoch from '2026-07-17 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'), 47509, 'SRID=4674;POINT (-39.379624 -3.143252)', '2026-07-17 17:48:04', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379604 -3.143159)'), GeomFromEWKT('SRID=4674;POINT (-39.379624 -3.143252)'))) / (select extract(epoch from '2026-07-17 17:48:04'::timestamp) - extract(epoch from '2026-07-17 17:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379604 -3.143159)'), GeomFromEWKT('SRID=4674;POINT (-39.379624 -3.143252)'))) / (select extract(epoch from '2026-07-17 17:48:04'::timestamp) - extract(epoch from '2026-07-17 17:48:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.379631 -3.14337)', '2026-07-17 17:48:10', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379624 -3.143252)'), GeomFromEWKT('SRID=4674;POINT (-39.379631 -3.14337)'))) / (select extract(epoch from '2026-07-17 17:48:10'::timestamp) - extract(epoch from '2026-07-17 17:48:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379624 -3.143252)'), GeomFromEWKT('SRID=4674;POINT (-39.379631 -3.14337)'))) / (select extract(epoch from '2026-07-17 17:48:10'::timestamp) - extract(epoch from '2026-07-17 17:48: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'), 47509, 'SRID=4674;POINT (-39.379661 -3.143502)', '2026-07-17 17:48:17', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379631 -3.14337)'), GeomFromEWKT('SRID=4674;POINT (-39.379661 -3.143502)'))) / (select extract(epoch from '2026-07-17 17:48:17'::timestamp) - extract(epoch from '2026-07-17 17:48:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379631 -3.14337)'), GeomFromEWKT('SRID=4674;POINT (-39.379661 -3.143502)'))) / (select extract(epoch from '2026-07-17 17:48:17'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47509, 'SRID=4674;POINT (-39.379665 -3.143701)', '2026-07-17 17:48:26', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379661 -3.143502)'), GeomFromEWKT('SRID=4674;POINT (-39.379665 -3.143701)'))) / (select extract(epoch from '2026-07-17 17:48:26'::timestamp) - extract(epoch from '2026-07-17 17:48:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379661 -3.143502)'), GeomFromEWKT('SRID=4674;POINT (-39.379665 -3.143701)'))) / (select extract(epoch from '2026-07-17 17:48:26'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47509, 'SRID=4674;POINT (-39.379667 -3.143843)', '2026-07-17 17:48:32', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379665 -3.143701)'), GeomFromEWKT('SRID=4674;POINT (-39.379667 -3.143843)'))) / (select extract(epoch from '2026-07-17 17:48:32'::timestamp) - extract(epoch from '2026-07-17 17:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379665 -3.143701)'), GeomFromEWKT('SRID=4674;POINT (-39.379667 -3.143843)'))) / (select extract(epoch from '2026-07-17 17:48:32'::timestamp) - extract(epoch from '2026-07-17 17:48: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'), 47509, 'SRID=4674;POINT (-39.379668 -3.143998)', '2026-07-17 17:48:38', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379667 -3.143843)'), GeomFromEWKT('SRID=4674;POINT (-39.379668 -3.143998)'))) / (select extract(epoch from '2026-07-17 17:48:38'::timestamp) - extract(epoch from '2026-07-17 17:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379667 -3.143843)'), GeomFromEWKT('SRID=4674;POINT (-39.379668 -3.143998)'))) / (select extract(epoch from '2026-07-17 17:48:38'::timestamp) - extract(epoch from '2026-07-17 17:48:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.379691 -3.144129)', '2026-07-17 17:48:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379668 -3.143998)'), GeomFromEWKT('SRID=4674;POINT (-39.379691 -3.144129)'))) / (select extract(epoch from '2026-07-17 17:48:44'::timestamp) - extract(epoch from '2026-07-17 17:48:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379668 -3.143998)'), GeomFromEWKT('SRID=4674;POINT (-39.379691 -3.144129)'))) / (select extract(epoch from '2026-07-17 17:48:44'::timestamp) - extract(epoch from '2026-07-17 17:48: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'), 47509, 'SRID=4674;POINT (-39.379714 -3.144253)', '2026-07-17 17:48:50', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379691 -3.144129)'), GeomFromEWKT('SRID=4674;POINT (-39.379714 -3.144253)'))) / (select extract(epoch from '2026-07-17 17:48:50'::timestamp) - extract(epoch from '2026-07-17 17:48:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379691 -3.144129)'), GeomFromEWKT('SRID=4674;POINT (-39.379714 -3.144253)'))) / (select extract(epoch from '2026-07-17 17:48:50'::timestamp) - extract(epoch from '2026-07-17 17:48: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'), 47509, 'SRID=4674;POINT (-39.379729 -3.144397)', '2026-07-17 17:48:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379714 -3.144253)'), GeomFromEWKT('SRID=4674;POINT (-39.379729 -3.144397)'))) / (select extract(epoch from '2026-07-17 17:48:56'::timestamp) - extract(epoch from '2026-07-17 17:48:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379714 -3.144253)'), GeomFromEWKT('SRID=4674;POINT (-39.379729 -3.144397)'))) / (select extract(epoch from '2026-07-17 17:48:56'::timestamp) - extract(epoch from '2026-07-17 17:48:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.37976 -3.144538)', '2026-07-17 17:49:03', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379729 -3.144397)'), GeomFromEWKT('SRID=4674;POINT (-39.37976 -3.144538)'))) / (select extract(epoch from '2026-07-17 17:49:03'::timestamp) - extract(epoch from '2026-07-17 17:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379729 -3.144397)'), GeomFromEWKT('SRID=4674;POINT (-39.37976 -3.144538)'))) / (select extract(epoch from '2026-07-17 17:49:03'::timestamp) - extract(epoch from '2026-07-17 17:48: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'), 47509, 'SRID=4674;POINT (-39.379789 -3.144739)', '2026-07-17 17:49:12', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37976 -3.144538)'), GeomFromEWKT('SRID=4674;POINT (-39.379789 -3.144739)'))) / (select extract(epoch from '2026-07-17 17:49:12'::timestamp) - extract(epoch from '2026-07-17 17:49:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37976 -3.144538)'), GeomFromEWKT('SRID=4674;POINT (-39.379789 -3.144739)'))) / (select extract(epoch from '2026-07-17 17:49:12'::timestamp) - extract(epoch from '2026-07-17 17:49: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'), 47509, 'SRID=4674;POINT (-39.379809 -3.144921)', '2026-07-17 17:49:19', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379789 -3.144739)'), GeomFromEWKT('SRID=4674;POINT (-39.379809 -3.144921)'))) / (select extract(epoch from '2026-07-17 17:49:19'::timestamp) - extract(epoch from '2026-07-17 17:49:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379789 -3.144739)'), GeomFromEWKT('SRID=4674;POINT (-39.379809 -3.144921)'))) / (select extract(epoch from '2026-07-17 17:49:19'::timestamp) - extract(epoch from '2026-07-17 17:49:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.379813 -3.145051)', '2026-07-17 17:49:24', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379809 -3.144921)'), GeomFromEWKT('SRID=4674;POINT (-39.379813 -3.145051)'))) / (select extract(epoch from '2026-07-17 17:49:24'::timestamp) - extract(epoch from '2026-07-17 17:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379809 -3.144921)'), GeomFromEWKT('SRID=4674;POINT (-39.379813 -3.145051)'))) / (select extract(epoch from '2026-07-17 17:49:24'::timestamp) - extract(epoch from '2026-07-17 17:49: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'), 47509, 'SRID=4674;POINT (-39.379818 -3.145224)', '2026-07-17 17:49:31', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379813 -3.145051)'), GeomFromEWKT('SRID=4674;POINT (-39.379818 -3.145224)'))) / (select extract(epoch from '2026-07-17 17:49:31'::timestamp) - extract(epoch from '2026-07-17 17:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379813 -3.145051)'), GeomFromEWKT('SRID=4674;POINT (-39.379818 -3.145224)'))) / (select extract(epoch from '2026-07-17 17:49:31'::timestamp) - extract(epoch from '2026-07-17 17:49: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'), 47509, 'SRID=4674;POINT (-39.379824 -3.145341)', '2026-07-17 17:49:36', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379818 -3.145224)'), GeomFromEWKT('SRID=4674;POINT (-39.379824 -3.145341)'))) / (select extract(epoch from '2026-07-17 17:49:36'::timestamp) - extract(epoch from '2026-07-17 17:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379818 -3.145224)'), GeomFromEWKT('SRID=4674;POINT (-39.379824 -3.145341)'))) / (select extract(epoch from '2026-07-17 17:49:36'::timestamp) - extract(epoch from '2026-07-17 17:49: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'), 47509, 'SRID=4674;POINT (-39.37985 -3.145472)', '2026-07-17 17:49:42', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379824 -3.145341)'), GeomFromEWKT('SRID=4674;POINT (-39.37985 -3.145472)'))) / (select extract(epoch from '2026-07-17 17:49:42'::timestamp) - extract(epoch from '2026-07-17 17:49:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379824 -3.145341)'), GeomFromEWKT('SRID=4674;POINT (-39.37985 -3.145472)'))) / (select extract(epoch from '2026-07-17 17:49:42'::timestamp) - extract(epoch from '2026-07-17 17:49: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'), 47509, 'SRID=4674;POINT (-39.379885 -3.145606)', '2026-07-17 17:49:48', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37985 -3.145472)'), GeomFromEWKT('SRID=4674;POINT (-39.379885 -3.145606)'))) / (select extract(epoch from '2026-07-17 17:49:48'::timestamp) - extract(epoch from '2026-07-17 17:49:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37985 -3.145472)'), GeomFromEWKT('SRID=4674;POINT (-39.379885 -3.145606)'))) / (select extract(epoch from '2026-07-17 17:49:48'::timestamp) - extract(epoch from '2026-07-17 17:49:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.379915 -3.145798)', '2026-07-17 17:49:56', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379885 -3.145606)'), GeomFromEWKT('SRID=4674;POINT (-39.379915 -3.145798)'))) / (select extract(epoch from '2026-07-17 17:49:56'::timestamp) - extract(epoch from '2026-07-17 17:49:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379885 -3.145606)'), GeomFromEWKT('SRID=4674;POINT (-39.379915 -3.145798)'))) / (select extract(epoch from '2026-07-17 17:49:56'::timestamp) - extract(epoch from '2026-07-17 17:49:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.379935 -3.146001)', '2026-07-17 17:50:03', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379915 -3.145798)'), GeomFromEWKT('SRID=4674;POINT (-39.379935 -3.146001)'))) / (select extract(epoch from '2026-07-17 17:50:03'::timestamp) - extract(epoch from '2026-07-17 17:49:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379915 -3.145798)'), GeomFromEWKT('SRID=4674;POINT (-39.379935 -3.146001)'))) / (select extract(epoch from '2026-07-17 17:50:03'::timestamp) - extract(epoch from '2026-07-17 17:49:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.379952 -3.146148)', '2026-07-17 17:50:09', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379935 -3.146001)'), GeomFromEWKT('SRID=4674;POINT (-39.379952 -3.146148)'))) / (select extract(epoch from '2026-07-17 17:50:09'::timestamp) - extract(epoch from '2026-07-17 17:50:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379935 -3.146001)'), GeomFromEWKT('SRID=4674;POINT (-39.379952 -3.146148)'))) / (select extract(epoch from '2026-07-17 17:50:09'::timestamp) - extract(epoch from '2026-07-17 17:50:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.379967 -3.146279)', '2026-07-17 17:50:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379952 -3.146148)'), GeomFromEWKT('SRID=4674;POINT (-39.379967 -3.146279)'))) / (select extract(epoch from '2026-07-17 17:50:16'::timestamp) - extract(epoch from '2026-07-17 17:50:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379952 -3.146148)'), GeomFromEWKT('SRID=4674;POINT (-39.379967 -3.146279)'))) / (select extract(epoch from '2026-07-17 17:50:16'::timestamp) - extract(epoch from '2026-07-17 17:50:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.379965 -3.14643)', '2026-07-17 17:50:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379967 -3.146279)'), GeomFromEWKT('SRID=4674;POINT (-39.379965 -3.14643)'))) / (select extract(epoch from '2026-07-17 17:50:23'::timestamp) - extract(epoch from '2026-07-17 17:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379967 -3.146279)'), GeomFromEWKT('SRID=4674;POINT (-39.379965 -3.14643)'))) / (select extract(epoch from '2026-07-17 17:50:23'::timestamp) - extract(epoch from '2026-07-17 17:50:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.37999 -3.146615)', '2026-07-17 17:50:31', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379965 -3.14643)'), GeomFromEWKT('SRID=4674;POINT (-39.37999 -3.146615)'))) / (select extract(epoch from '2026-07-17 17:50:31'::timestamp) - extract(epoch from '2026-07-17 17:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379965 -3.14643)'), GeomFromEWKT('SRID=4674;POINT (-39.37999 -3.146615)'))) / (select extract(epoch from '2026-07-17 17:50:31'::timestamp) - extract(epoch from '2026-07-17 17:50: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'), 47509, 'SRID=4674;POINT (-39.380025 -3.146754)', '2026-07-17 17:50:37', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37999 -3.146615)'), GeomFromEWKT('SRID=4674;POINT (-39.380025 -3.146754)'))) / (select extract(epoch from '2026-07-17 17:50:37'::timestamp) - extract(epoch from '2026-07-17 17:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37999 -3.146615)'), GeomFromEWKT('SRID=4674;POINT (-39.380025 -3.146754)'))) / (select extract(epoch from '2026-07-17 17:50:37'::timestamp) - extract(epoch from '2026-07-17 17:50:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.380053 -3.146886)', '2026-07-17 17:50:43', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380025 -3.146754)'), GeomFromEWKT('SRID=4674;POINT (-39.380053 -3.146886)'))) / (select extract(epoch from '2026-07-17 17:50:43'::timestamp) - extract(epoch from '2026-07-17 17:50:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380025 -3.146754)'), GeomFromEWKT('SRID=4674;POINT (-39.380053 -3.146886)'))) / (select extract(epoch from '2026-07-17 17:50:43'::timestamp) - extract(epoch from '2026-07-17 17:50: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'), 47509, 'SRID=4674;POINT (-39.380084 -3.147045)', '2026-07-17 17:50:50', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380053 -3.146886)'), GeomFromEWKT('SRID=4674;POINT (-39.380084 -3.147045)'))) / (select extract(epoch from '2026-07-17 17:50:50'::timestamp) - extract(epoch from '2026-07-17 17:50:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380053 -3.146886)'), GeomFromEWKT('SRID=4674;POINT (-39.380084 -3.147045)'))) / (select extract(epoch from '2026-07-17 17:50:50'::timestamp) - extract(epoch from '2026-07-17 17:50: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'), 47509, 'SRID=4674;POINT (-39.380106 -3.147197)', '2026-07-17 17:50:57', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380084 -3.147045)'), GeomFromEWKT('SRID=4674;POINT (-39.380106 -3.147197)'))) / (select extract(epoch from '2026-07-17 17:50:57'::timestamp) - extract(epoch from '2026-07-17 17:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380084 -3.147045)'), GeomFromEWKT('SRID=4674;POINT (-39.380106 -3.147197)'))) / (select extract(epoch from '2026-07-17 17:50:57'::timestamp) - extract(epoch from '2026-07-17 17:50:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.380118 -3.147372)', '2026-07-17 17:51:04', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380106 -3.147197)'), GeomFromEWKT('SRID=4674;POINT (-39.380118 -3.147372)'))) / (select extract(epoch from '2026-07-17 17:51:04'::timestamp) - extract(epoch from '2026-07-17 17:50:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380106 -3.147197)'), GeomFromEWKT('SRID=4674;POINT (-39.380118 -3.147372)'))) / (select extract(epoch from '2026-07-17 17:51:04'::timestamp) - extract(epoch from '2026-07-17 17:50: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'), 47509, 'SRID=4674;POINT (-39.380116 -3.147507)', '2026-07-17 17:51:10', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380118 -3.147372)'), GeomFromEWKT('SRID=4674;POINT (-39.380116 -3.147507)'))) / (select extract(epoch from '2026-07-17 17:51:10'::timestamp) - extract(epoch from '2026-07-17 17:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380118 -3.147372)'), GeomFromEWKT('SRID=4674;POINT (-39.380116 -3.147507)'))) / (select extract(epoch from '2026-07-17 17:51:10'::timestamp) - extract(epoch from '2026-07-17 17:51:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.380125 -3.147634)', '2026-07-17 17:51:16', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380116 -3.147507)'), GeomFromEWKT('SRID=4674;POINT (-39.380125 -3.147634)'))) / (select extract(epoch from '2026-07-17 17:51:16'::timestamp) - extract(epoch from '2026-07-17 17:51:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380116 -3.147507)'), GeomFromEWKT('SRID=4674;POINT (-39.380125 -3.147634)'))) / (select extract(epoch from '2026-07-17 17:51:16'::timestamp) - extract(epoch from '2026-07-17 17:51:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.380133 -3.147766)', '2026-07-17 17:51:22', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380125 -3.147634)'), GeomFromEWKT('SRID=4674;POINT (-39.380133 -3.147766)'))) / (select extract(epoch from '2026-07-17 17:51:22'::timestamp) - extract(epoch from '2026-07-17 17:51:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380125 -3.147634)'), GeomFromEWKT('SRID=4674;POINT (-39.380133 -3.147766)'))) / (select extract(epoch from '2026-07-17 17:51:22'::timestamp) - extract(epoch from '2026-07-17 17:51: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'), 47509, 'SRID=4674;POINT (-39.380147 -3.147908)', '2026-07-17 17:51:28', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380133 -3.147766)'), GeomFromEWKT('SRID=4674;POINT (-39.380147 -3.147908)'))) / (select extract(epoch from '2026-07-17 17:51:28'::timestamp) - extract(epoch from '2026-07-17 17:51:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380133 -3.147766)'), GeomFromEWKT('SRID=4674;POINT (-39.380147 -3.147908)'))) / (select extract(epoch from '2026-07-17 17:51:28'::timestamp) - extract(epoch from '2026-07-17 17:51: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'), 47509, 'SRID=4674;POINT (-39.380166 -3.148043)', '2026-07-17 17:51:34', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380147 -3.147908)'), GeomFromEWKT('SRID=4674;POINT (-39.380166 -3.148043)'))) / (select extract(epoch from '2026-07-17 17:51:34'::timestamp) - extract(epoch from '2026-07-17 17:51:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380147 -3.147908)'), GeomFromEWKT('SRID=4674;POINT (-39.380166 -3.148043)'))) / (select extract(epoch from '2026-07-17 17:51:34'::timestamp) - extract(epoch from '2026-07-17 17:51: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'), 47509, 'SRID=4674;POINT (-39.380177 -3.148158)', '2026-07-17 17:51:39', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380166 -3.148043)'), GeomFromEWKT('SRID=4674;POINT (-39.380177 -3.148158)'))) / (select extract(epoch from '2026-07-17 17:51:39'::timestamp) - extract(epoch from '2026-07-17 17:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380166 -3.148043)'), GeomFromEWKT('SRID=4674;POINT (-39.380177 -3.148158)'))) / (select extract(epoch from '2026-07-17 17:51:39'::timestamp) - extract(epoch from '2026-07-17 17:51: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'), 47509, 'SRID=4674;POINT (-39.380194 -3.148264)', '2026-07-17 17:51:44', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380177 -3.148158)'), GeomFromEWKT('SRID=4674;POINT (-39.380194 -3.148264)'))) / (select extract(epoch from '2026-07-17 17:51:44'::timestamp) - extract(epoch from '2026-07-17 17:51:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380177 -3.148158)'), GeomFromEWKT('SRID=4674;POINT (-39.380194 -3.148264)'))) / (select extract(epoch from '2026-07-17 17:51:44'::timestamp) - extract(epoch from '2026-07-17 17:51: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'), 47509, 'SRID=4674;POINT (-39.380207 -3.148379)', '2026-07-17 17:51:50', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380194 -3.148264)'), GeomFromEWKT('SRID=4674;POINT (-39.380207 -3.148379)'))) / (select extract(epoch from '2026-07-17 17:51:50'::timestamp) - extract(epoch from '2026-07-17 17:51:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380194 -3.148264)'), GeomFromEWKT('SRID=4674;POINT (-39.380207 -3.148379)'))) / (select extract(epoch from '2026-07-17 17:51:50'::timestamp) - extract(epoch from '2026-07-17 17:51: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'), 47509, 'SRID=4674;POINT (-39.380218 -3.148507)', '2026-07-17 17:51:56', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380207 -3.148379)'), GeomFromEWKT('SRID=4674;POINT (-39.380218 -3.148507)'))) / (select extract(epoch from '2026-07-17 17:51:56'::timestamp) - extract(epoch from '2026-07-17 17:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380207 -3.148379)'), GeomFromEWKT('SRID=4674;POINT (-39.380218 -3.148507)'))) / (select extract(epoch from '2026-07-17 17:51:56'::timestamp) - extract(epoch from '2026-07-17 17:51:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.380228 -3.14865)', '2026-07-17 17:52:02', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380218 -3.148507)'), GeomFromEWKT('SRID=4674;POINT (-39.380228 -3.14865)'))) / (select extract(epoch from '2026-07-17 17:52:02'::timestamp) - extract(epoch from '2026-07-17 17:51:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380218 -3.148507)'), GeomFromEWKT('SRID=4674;POINT (-39.380228 -3.14865)'))) / (select extract(epoch from '2026-07-17 17:52:02'::timestamp) - extract(epoch from '2026-07-17 17:51: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'), 47509, 'SRID=4674;POINT (-39.380257 -3.148834)', '2026-07-17 17:52:10', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380228 -3.14865)'), GeomFromEWKT('SRID=4674;POINT (-39.380257 -3.148834)'))) / (select extract(epoch from '2026-07-17 17:52:10'::timestamp) - extract(epoch from '2026-07-17 17:52:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380228 -3.14865)'), GeomFromEWKT('SRID=4674;POINT (-39.380257 -3.148834)'))) / (select extract(epoch from '2026-07-17 17:52:10'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47509, 'SRID=4674;POINT (-39.38029 -3.148967)', '2026-07-17 17:52:16', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380257 -3.148834)'), GeomFromEWKT('SRID=4674;POINT (-39.38029 -3.148967)'))) / (select extract(epoch from '2026-07-17 17:52:16'::timestamp) - extract(epoch from '2026-07-17 17:52:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380257 -3.148834)'), GeomFromEWKT('SRID=4674;POINT (-39.38029 -3.148967)'))) / (select extract(epoch from '2026-07-17 17:52:16'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47509, 'SRID=4674;POINT (-39.380319 -3.149118)', '2026-07-17 17:52:23', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38029 -3.148967)'), GeomFromEWKT('SRID=4674;POINT (-39.380319 -3.149118)'))) / (select extract(epoch from '2026-07-17 17:52:23'::timestamp) - extract(epoch from '2026-07-17 17:52:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38029 -3.148967)'), GeomFromEWKT('SRID=4674;POINT (-39.380319 -3.149118)'))) / (select extract(epoch from '2026-07-17 17:52:23'::timestamp) - extract(epoch from '2026-07-17 17:52: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'), 47509, 'SRID=4674;POINT (-39.380337 -3.149233)', '2026-07-17 17:52:29', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380319 -3.149118)'), GeomFromEWKT('SRID=4674;POINT (-39.380337 -3.149233)'))) / (select extract(epoch from '2026-07-17 17:52:29'::timestamp) - extract(epoch from '2026-07-17 17:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380319 -3.149118)'), GeomFromEWKT('SRID=4674;POINT (-39.380337 -3.149233)'))) / (select extract(epoch from '2026-07-17 17:52:29'::timestamp) - extract(epoch from '2026-07-17 17:52:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.380347 -3.149378)', '2026-07-17 17:52:36', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380337 -3.149233)'), GeomFromEWKT('SRID=4674;POINT (-39.380347 -3.149378)'))) / (select extract(epoch from '2026-07-17 17:52:36'::timestamp) - extract(epoch from '2026-07-17 17:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380337 -3.149233)'), GeomFromEWKT('SRID=4674;POINT (-39.380347 -3.149378)'))) / (select extract(epoch from '2026-07-17 17:52:36'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47509, 'SRID=4674;POINT (-39.380388 -3.149594)', '2026-07-17 17:52:46', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380347 -3.149378)'), GeomFromEWKT('SRID=4674;POINT (-39.380388 -3.149594)'))) / (select extract(epoch from '2026-07-17 17:52:46'::timestamp) - extract(epoch from '2026-07-17 17:52:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380347 -3.149378)'), GeomFromEWKT('SRID=4674;POINT (-39.380388 -3.149594)'))) / (select extract(epoch from '2026-07-17 17:52:46'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47509, 'SRID=4674;POINT (-39.380412 -3.149701)', '2026-07-17 17:52:52', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380388 -3.149594)'), GeomFromEWKT('SRID=4674;POINT (-39.380412 -3.149701)'))) / (select extract(epoch from '2026-07-17 17:52:52'::timestamp) - extract(epoch from '2026-07-17 17:52:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380388 -3.149594)'), GeomFromEWKT('SRID=4674;POINT (-39.380412 -3.149701)'))) / (select extract(epoch from '2026-07-17 17:52:52'::timestamp) - extract(epoch from '2026-07-17 17:52: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'), 47509, 'SRID=4674;POINT (-39.380439 -3.149847)', '2026-07-17 17:52:59', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380412 -3.149701)'), GeomFromEWKT('SRID=4674;POINT (-39.380439 -3.149847)'))) / (select extract(epoch from '2026-07-17 17:52:59'::timestamp) - extract(epoch from '2026-07-17 17:52:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380412 -3.149701)'), GeomFromEWKT('SRID=4674;POINT (-39.380439 -3.149847)'))) / (select extract(epoch from '2026-07-17 17:52:59'::timestamp) - extract(epoch from '2026-07-17 17:52:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.38044 -3.149984)', '2026-07-17 17:53:05', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380439 -3.149847)'), GeomFromEWKT('SRID=4674;POINT (-39.38044 -3.149984)'))) / (select extract(epoch from '2026-07-17 17:53:05'::timestamp) - extract(epoch from '2026-07-17 17:52:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380439 -3.149847)'), GeomFromEWKT('SRID=4674;POINT (-39.38044 -3.149984)'))) / (select extract(epoch from '2026-07-17 17:53:05'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47509, 'SRID=4674;POINT (-39.380453 -3.15016)', '2026-07-17 17:53:13', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38044 -3.149984)'), GeomFromEWKT('SRID=4674;POINT (-39.380453 -3.15016)'))) / (select extract(epoch from '2026-07-17 17:53:13'::timestamp) - extract(epoch from '2026-07-17 17:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38044 -3.149984)'), GeomFromEWKT('SRID=4674;POINT (-39.380453 -3.15016)'))) / (select extract(epoch from '2026-07-17 17:53:13'::timestamp) - extract(epoch from '2026-07-17 17:53: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'), 47509, 'SRID=4674;POINT (-39.380457 -3.150301)', '2026-07-17 17:53:21', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380453 -3.15016)'), GeomFromEWKT('SRID=4674;POINT (-39.380457 -3.150301)'))) / (select extract(epoch from '2026-07-17 17:53:21'::timestamp) - extract(epoch from '2026-07-17 17:53:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380453 -3.15016)'), GeomFromEWKT('SRID=4674;POINT (-39.380457 -3.150301)'))) / (select extract(epoch from '2026-07-17 17:53:21'::timestamp) - extract(epoch from '2026-07-17 17:53: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'), 47509, 'SRID=4674;POINT (-39.380467 -3.150435)', '2026-07-17 17:53:28', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380457 -3.150301)'), GeomFromEWKT('SRID=4674;POINT (-39.380467 -3.150435)'))) / (select extract(epoch from '2026-07-17 17:53:28'::timestamp) - extract(epoch from '2026-07-17 17:53:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380457 -3.150301)'), GeomFromEWKT('SRID=4674;POINT (-39.380467 -3.150435)'))) / (select extract(epoch from '2026-07-17 17:53:28'::timestamp) - extract(epoch from '2026-07-17 17:53: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'), 47509, 'SRID=4674;POINT (-39.380456 -3.150599)', '2026-07-17 17:53:36', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380467 -3.150435)'), GeomFromEWKT('SRID=4674;POINT (-39.380456 -3.150599)'))) / (select extract(epoch from '2026-07-17 17:53:36'::timestamp) - extract(epoch from '2026-07-17 17:53:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380467 -3.150435)'), GeomFromEWKT('SRID=4674;POINT (-39.380456 -3.150599)'))) / (select extract(epoch from '2026-07-17 17:53:36'::timestamp) - extract(epoch from '2026-07-17 17:53: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'), 47509, 'SRID=4674;POINT (-39.380469 -3.150739)', '2026-07-17 17:53:43', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380456 -3.150599)'), GeomFromEWKT('SRID=4674;POINT (-39.380469 -3.150739)'))) / (select extract(epoch from '2026-07-17 17:53:43'::timestamp) - extract(epoch from '2026-07-17 17:53:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380456 -3.150599)'), GeomFromEWKT('SRID=4674;POINT (-39.380469 -3.150739)'))) / (select extract(epoch from '2026-07-17 17:53:43'::timestamp) - extract(epoch from '2026-07-17 17:53: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'), 47509, 'SRID=4674;POINT (-39.380499 -3.150878)', '2026-07-17 17:53:50', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380469 -3.150739)'), GeomFromEWKT('SRID=4674;POINT (-39.380499 -3.150878)'))) / (select extract(epoch from '2026-07-17 17:53:50'::timestamp) - extract(epoch from '2026-07-17 17:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380469 -3.150739)'), GeomFromEWKT('SRID=4674;POINT (-39.380499 -3.150878)'))) / (select extract(epoch from '2026-07-17 17:53:50'::timestamp) - extract(epoch from '2026-07-17 17:53: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'), 47509, 'SRID=4674;POINT (-39.380531 -3.151005)', '2026-07-17 17:53:56', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380499 -3.150878)'), GeomFromEWKT('SRID=4674;POINT (-39.380531 -3.151005)'))) / (select extract(epoch from '2026-07-17 17:53:56'::timestamp) - extract(epoch from '2026-07-17 17:53:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380499 -3.150878)'), GeomFromEWKT('SRID=4674;POINT (-39.380531 -3.151005)'))) / (select extract(epoch from '2026-07-17 17:53:56'::timestamp) - extract(epoch from '2026-07-17 17:53: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'), 47509, 'SRID=4674;POINT (-39.380553 -3.151129)', '2026-07-17 17:54:02', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380531 -3.151005)'), GeomFromEWKT('SRID=4674;POINT (-39.380553 -3.151129)'))) / (select extract(epoch from '2026-07-17 17:54:02'::timestamp) - extract(epoch from '2026-07-17 17:53:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380531 -3.151005)'), GeomFromEWKT('SRID=4674;POINT (-39.380553 -3.151129)'))) / (select extract(epoch from '2026-07-17 17:54:02'::timestamp) - extract(epoch from '2026-07-17 17:53: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'), 47509, 'SRID=4674;POINT (-39.380582 -3.151285)', '2026-07-17 17:54:09', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380553 -3.151129)'), GeomFromEWKT('SRID=4674;POINT (-39.380582 -3.151285)'))) / (select extract(epoch from '2026-07-17 17:54:09'::timestamp) - extract(epoch from '2026-07-17 17:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380553 -3.151129)'), GeomFromEWKT('SRID=4674;POINT (-39.380582 -3.151285)'))) / (select extract(epoch from '2026-07-17 17:54:09'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47509, 'SRID=4674;POINT (-39.380582 -3.151437)', '2026-07-17 17:54:16', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380582 -3.151285)'), GeomFromEWKT('SRID=4674;POINT (-39.380582 -3.151437)'))) / (select extract(epoch from '2026-07-17 17:54:16'::timestamp) - extract(epoch from '2026-07-17 17:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380582 -3.151285)'), GeomFromEWKT('SRID=4674;POINT (-39.380582 -3.151437)'))) / (select extract(epoch from '2026-07-17 17:54:16'::timestamp) - extract(epoch from '2026-07-17 17:54: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'), 47509, 'SRID=4674;POINT (-39.380586 -3.151584)', '2026-07-17 17:54:22', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380582 -3.151437)'), GeomFromEWKT('SRID=4674;POINT (-39.380586 -3.151584)'))) / (select extract(epoch from '2026-07-17 17:54:22'::timestamp) - extract(epoch from '2026-07-17 17:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380582 -3.151437)'), GeomFromEWKT('SRID=4674;POINT (-39.380586 -3.151584)'))) / (select extract(epoch from '2026-07-17 17:54:22'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47509, 'SRID=4674;POINT (-39.380598 -3.151736)', '2026-07-17 17:54:28', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380586 -3.151584)'), GeomFromEWKT('SRID=4674;POINT (-39.380598 -3.151736)'))) / (select extract(epoch from '2026-07-17 17:54:28'::timestamp) - extract(epoch from '2026-07-17 17:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380586 -3.151584)'), GeomFromEWKT('SRID=4674;POINT (-39.380598 -3.151736)'))) / (select extract(epoch from '2026-07-17 17:54:28'::timestamp) - extract(epoch from '2026-07-17 17:54: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'), 47509, 'SRID=4674;POINT (-39.38061 -3.151848)', '2026-07-17 17:54:35', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380598 -3.151736)'), GeomFromEWKT('SRID=4674;POINT (-39.38061 -3.151848)'))) / (select extract(epoch from '2026-07-17 17:54:35'::timestamp) - extract(epoch from '2026-07-17 17:54:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380598 -3.151736)'), GeomFromEWKT('SRID=4674;POINT (-39.38061 -3.151848)'))) / (select extract(epoch from '2026-07-17 17:54:35'::timestamp) - extract(epoch from '2026-07-17 17:54: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'), 47509, 'SRID=4674;POINT (-39.380638 -3.152047)', '2026-07-17 17:54:44', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38061 -3.151848)'), GeomFromEWKT('SRID=4674;POINT (-39.380638 -3.152047)'))) / (select extract(epoch from '2026-07-17 17:54:44'::timestamp) - extract(epoch from '2026-07-17 17:54:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38061 -3.151848)'), GeomFromEWKT('SRID=4674;POINT (-39.380638 -3.152047)'))) / (select extract(epoch from '2026-07-17 17:54:44'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47509, 'SRID=4674;POINT (-39.380659 -3.152197)', '2026-07-17 17:54:51', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380638 -3.152047)'), GeomFromEWKT('SRID=4674;POINT (-39.380659 -3.152197)'))) / (select extract(epoch from '2026-07-17 17:54:51'::timestamp) - extract(epoch from '2026-07-17 17:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380638 -3.152047)'), GeomFromEWKT('SRID=4674;POINT (-39.380659 -3.152197)'))) / (select extract(epoch from '2026-07-17 17:54:51'::timestamp) - extract(epoch from '2026-07-17 17:54:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.380656 -3.152321)', '2026-07-17 17:54:57', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380659 -3.152197)'), GeomFromEWKT('SRID=4674;POINT (-39.380656 -3.152321)'))) / (select extract(epoch from '2026-07-17 17:54:57'::timestamp) - extract(epoch from '2026-07-17 17:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380659 -3.152197)'), GeomFromEWKT('SRID=4674;POINT (-39.380656 -3.152321)'))) / (select extract(epoch from '2026-07-17 17:54:57'::timestamp) - extract(epoch from '2026-07-17 17:54:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.380666 -3.152452)', '2026-07-17 17:55:03', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380656 -3.152321)'), GeomFromEWKT('SRID=4674;POINT (-39.380666 -3.152452)'))) / (select extract(epoch from '2026-07-17 17:55:03'::timestamp) - extract(epoch from '2026-07-17 17:54:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380656 -3.152321)'), GeomFromEWKT('SRID=4674;POINT (-39.380666 -3.152452)'))) / (select extract(epoch from '2026-07-17 17:55:03'::timestamp) - extract(epoch from '2026-07-17 17:54:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.380691 -3.152581)', '2026-07-17 17:55:09', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380666 -3.152452)'), GeomFromEWKT('SRID=4674;POINT (-39.380691 -3.152581)'))) / (select extract(epoch from '2026-07-17 17:55:09'::timestamp) - extract(epoch from '2026-07-17 17:55:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380666 -3.152452)'), GeomFromEWKT('SRID=4674;POINT (-39.380691 -3.152581)'))) / (select extract(epoch from '2026-07-17 17:55:09'::timestamp) - extract(epoch from '2026-07-17 17:55:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.380718 -3.152726)', '2026-07-17 17:55:16', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380691 -3.152581)'), GeomFromEWKT('SRID=4674;POINT (-39.380718 -3.152726)'))) / (select extract(epoch from '2026-07-17 17:55:16'::timestamp) - extract(epoch from '2026-07-17 17:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380691 -3.152581)'), GeomFromEWKT('SRID=4674;POINT (-39.380718 -3.152726)'))) / (select extract(epoch from '2026-07-17 17:55:16'::timestamp) - extract(epoch from '2026-07-17 17:55: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'), 47509, 'SRID=4674;POINT (-39.380746 -3.152876)', '2026-07-17 17:55:23', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380718 -3.152726)'), GeomFromEWKT('SRID=4674;POINT (-39.380746 -3.152876)'))) / (select extract(epoch from '2026-07-17 17:55:23'::timestamp) - extract(epoch from '2026-07-17 17:55:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380718 -3.152726)'), GeomFromEWKT('SRID=4674;POINT (-39.380746 -3.152876)'))) / (select extract(epoch from '2026-07-17 17:55:23'::timestamp) - extract(epoch from '2026-07-17 17:55: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'), 47509, 'SRID=4674;POINT (-39.380754 -3.153032)', '2026-07-17 17:55:31', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380746 -3.152876)'), GeomFromEWKT('SRID=4674;POINT (-39.380754 -3.153032)'))) / (select extract(epoch from '2026-07-17 17:55:31'::timestamp) - extract(epoch from '2026-07-17 17:55:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380746 -3.152876)'), GeomFromEWKT('SRID=4674;POINT (-39.380754 -3.153032)'))) / (select extract(epoch from '2026-07-17 17:55:31'::timestamp) - extract(epoch from '2026-07-17 17:55:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.380751 -3.153217)', '2026-07-17 17:55:38', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380754 -3.153032)'), GeomFromEWKT('SRID=4674;POINT (-39.380751 -3.153217)'))) / (select extract(epoch from '2026-07-17 17:55:38'::timestamp) - extract(epoch from '2026-07-17 17:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380754 -3.153032)'), GeomFromEWKT('SRID=4674;POINT (-39.380751 -3.153217)'))) / (select extract(epoch from '2026-07-17 17:55:38'::timestamp) - extract(epoch from '2026-07-17 17:55: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'), 47509, 'SRID=4674;POINT (-39.380775 -3.153403)', '2026-07-17 17:55:46', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380751 -3.153217)'), GeomFromEWKT('SRID=4674;POINT (-39.380775 -3.153403)'))) / (select extract(epoch from '2026-07-17 17:55:46'::timestamp) - extract(epoch from '2026-07-17 17:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380751 -3.153217)'), GeomFromEWKT('SRID=4674;POINT (-39.380775 -3.153403)'))) / (select extract(epoch from '2026-07-17 17:55:46'::timestamp) - extract(epoch from '2026-07-17 17:55:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.380781 -3.153445)', '2026-07-17 17:55:48', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380775 -3.153403)'), GeomFromEWKT('SRID=4674;POINT (-39.380781 -3.153445)'))) / (select extract(epoch from '2026-07-17 17:55:48'::timestamp) - extract(epoch from '2026-07-17 17:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380775 -3.153403)'), GeomFromEWKT('SRID=4674;POINT (-39.380781 -3.153445)'))) / (select extract(epoch from '2026-07-17 17:55:48'::timestamp) - extract(epoch from '2026-07-17 17:55:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.38079 -3.15352)', '2026-07-17 17:55:51', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380781 -3.153445)'), GeomFromEWKT('SRID=4674;POINT (-39.38079 -3.15352)'))) / (select extract(epoch from '2026-07-17 17:55:51'::timestamp) - extract(epoch from '2026-07-17 17:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380781 -3.153445)'), GeomFromEWKT('SRID=4674;POINT (-39.38079 -3.15352)'))) / (select extract(epoch from '2026-07-17 17:55:51'::timestamp) - extract(epoch from '2026-07-17 17:55: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'), 47509, 'SRID=4674;POINT (-39.380814 -3.153686)', '2026-07-17 17:55:58', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38079 -3.15352)'), GeomFromEWKT('SRID=4674;POINT (-39.380814 -3.153686)'))) / (select extract(epoch from '2026-07-17 17:55:58'::timestamp) - extract(epoch from '2026-07-17 17:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38079 -3.15352)'), GeomFromEWKT('SRID=4674;POINT (-39.380814 -3.153686)'))) / (select extract(epoch from '2026-07-17 17:55:58'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47509, 'SRID=4674;POINT (-39.380824 -3.153867)', '2026-07-17 17:56:05', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380814 -3.153686)'), GeomFromEWKT('SRID=4674;POINT (-39.380824 -3.153867)'))) / (select extract(epoch from '2026-07-17 17:56:05'::timestamp) - extract(epoch from '2026-07-17 17:55:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380814 -3.153686)'), GeomFromEWKT('SRID=4674;POINT (-39.380824 -3.153867)'))) / (select extract(epoch from '2026-07-17 17:56:05'::timestamp) - extract(epoch from '2026-07-17 17:55: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'), 47509, 'SRID=4674;POINT (-39.380837 -3.154005)', '2026-07-17 17:56:11', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380824 -3.153867)'), GeomFromEWKT('SRID=4674;POINT (-39.380837 -3.154005)'))) / (select extract(epoch from '2026-07-17 17:56:11'::timestamp) - extract(epoch from '2026-07-17 17:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380824 -3.153867)'), GeomFromEWKT('SRID=4674;POINT (-39.380837 -3.154005)'))) / (select extract(epoch from '2026-07-17 17:56:11'::timestamp) - extract(epoch from '2026-07-17 17:56: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'), 47509, 'SRID=4674;POINT (-39.380854 -3.154172)', '2026-07-17 17:56:19', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380837 -3.154005)'), GeomFromEWKT('SRID=4674;POINT (-39.380854 -3.154172)'))) / (select extract(epoch from '2026-07-17 17:56:19'::timestamp) - extract(epoch from '2026-07-17 17:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380837 -3.154005)'), GeomFromEWKT('SRID=4674;POINT (-39.380854 -3.154172)'))) / (select extract(epoch from '2026-07-17 17:56:19'::timestamp) - extract(epoch from '2026-07-17 17:56:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.380866 -3.15429)', '2026-07-17 17:56:25', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380854 -3.154172)'), GeomFromEWKT('SRID=4674;POINT (-39.380866 -3.15429)'))) / (select extract(epoch from '2026-07-17 17:56:25'::timestamp) - extract(epoch from '2026-07-17 17:56:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380854 -3.154172)'), GeomFromEWKT('SRID=4674;POINT (-39.380866 -3.15429)'))) / (select extract(epoch from '2026-07-17 17:56:25'::timestamp) - extract(epoch from '2026-07-17 17:56:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.380871 -3.154419)', '2026-07-17 17:56:31', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380866 -3.15429)'), GeomFromEWKT('SRID=4674;POINT (-39.380871 -3.154419)'))) / (select extract(epoch from '2026-07-17 17:56:31'::timestamp) - extract(epoch from '2026-07-17 17:56:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380866 -3.15429)'), GeomFromEWKT('SRID=4674;POINT (-39.380871 -3.154419)'))) / (select extract(epoch from '2026-07-17 17:56:31'::timestamp) - extract(epoch from '2026-07-17 17:56:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.380875 -3.154548)', '2026-07-17 17:56:37', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380871 -3.154419)'), GeomFromEWKT('SRID=4674;POINT (-39.380875 -3.154548)'))) / (select extract(epoch from '2026-07-17 17:56:37'::timestamp) - extract(epoch from '2026-07-17 17:56:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380871 -3.154419)'), GeomFromEWKT('SRID=4674;POINT (-39.380875 -3.154548)'))) / (select extract(epoch from '2026-07-17 17:56:37'::timestamp) - extract(epoch from '2026-07-17 17:56:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.380893 -3.154661)', '2026-07-17 17:56:43', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380875 -3.154548)'), GeomFromEWKT('SRID=4674;POINT (-39.380893 -3.154661)'))) / (select extract(epoch from '2026-07-17 17:56:43'::timestamp) - extract(epoch from '2026-07-17 17:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380875 -3.154548)'), GeomFromEWKT('SRID=4674;POINT (-39.380893 -3.154661)'))) / (select extract(epoch from '2026-07-17 17:56:43'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47509, 'SRID=4674;POINT (-39.380914 -3.154815)', '2026-07-17 17:56:50', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380893 -3.154661)'), GeomFromEWKT('SRID=4674;POINT (-39.380914 -3.154815)'))) / (select extract(epoch from '2026-07-17 17:56:50'::timestamp) - extract(epoch from '2026-07-17 17:56:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380893 -3.154661)'), GeomFromEWKT('SRID=4674;POINT (-39.380914 -3.154815)'))) / (select extract(epoch from '2026-07-17 17:56:50'::timestamp) - extract(epoch from '2026-07-17 17:56: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'), 47509, 'SRID=4674;POINT (-39.380914 -3.155034)', '2026-07-17 17:56:58', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380914 -3.154815)'), GeomFromEWKT('SRID=4674;POINT (-39.380914 -3.155034)'))) / (select extract(epoch from '2026-07-17 17:56:58'::timestamp) - extract(epoch from '2026-07-17 17:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380914 -3.154815)'), GeomFromEWKT('SRID=4674;POINT (-39.380914 -3.155034)'))) / (select extract(epoch from '2026-07-17 17:56:58'::timestamp) - extract(epoch from '2026-07-17 17:56: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'), 47509, 'SRID=4674;POINT (-39.38092 -3.155211)', '2026-07-17 17:57:06', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380914 -3.155034)'), GeomFromEWKT('SRID=4674;POINT (-39.38092 -3.155211)'))) / (select extract(epoch from '2026-07-17 17:57:06'::timestamp) - extract(epoch from '2026-07-17 17:56:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380914 -3.155034)'), GeomFromEWKT('SRID=4674;POINT (-39.38092 -3.155211)'))) / (select extract(epoch from '2026-07-17 17:57:06'::timestamp) - extract(epoch from '2026-07-17 17:56: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'), 47509, 'SRID=4674;POINT (-39.380927 -3.155463)', '2026-07-17 17:57:16', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38092 -3.155211)'), GeomFromEWKT('SRID=4674;POINT (-39.380927 -3.155463)'))) / (select extract(epoch from '2026-07-17 17:57:16'::timestamp) - extract(epoch from '2026-07-17 17:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38092 -3.155211)'), GeomFromEWKT('SRID=4674;POINT (-39.380927 -3.155463)'))) / (select extract(epoch from '2026-07-17 17:57:16'::timestamp) - extract(epoch from '2026-07-17 17:57: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'), 47509, 'SRID=4674;POINT (-39.380924 -3.155643)', '2026-07-17 17:57:24', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380927 -3.155463)'), GeomFromEWKT('SRID=4674;POINT (-39.380924 -3.155643)'))) / (select extract(epoch from '2026-07-17 17:57:24'::timestamp) - extract(epoch from '2026-07-17 17:57:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380927 -3.155463)'), GeomFromEWKT('SRID=4674;POINT (-39.380924 -3.155643)'))) / (select extract(epoch from '2026-07-17 17:57:24'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47509, 'SRID=4674;POINT (-39.380934 -3.155773)', '2026-07-17 17:57:30', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380924 -3.155643)'), GeomFromEWKT('SRID=4674;POINT (-39.380934 -3.155773)'))) / (select extract(epoch from '2026-07-17 17:57:30'::timestamp) - extract(epoch from '2026-07-17 17:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380924 -3.155643)'), GeomFromEWKT('SRID=4674;POINT (-39.380934 -3.155773)'))) / (select extract(epoch from '2026-07-17 17:57:30'::timestamp) - extract(epoch from '2026-07-17 17:57:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.380951 -3.155913)', '2026-07-17 17:57:36', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380934 -3.155773)'), GeomFromEWKT('SRID=4674;POINT (-39.380951 -3.155913)'))) / (select extract(epoch from '2026-07-17 17:57:36'::timestamp) - extract(epoch from '2026-07-17 17:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380934 -3.155773)'), GeomFromEWKT('SRID=4674;POINT (-39.380951 -3.155913)'))) / (select extract(epoch from '2026-07-17 17:57:36'::timestamp) - extract(epoch from '2026-07-17 17:57:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.380958 -3.156071)', '2026-07-17 17:57:42', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380951 -3.155913)'), GeomFromEWKT('SRID=4674;POINT (-39.380958 -3.156071)'))) / (select extract(epoch from '2026-07-17 17:57:42'::timestamp) - extract(epoch from '2026-07-17 17:57:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380951 -3.155913)'), GeomFromEWKT('SRID=4674;POINT (-39.380958 -3.156071)'))) / (select extract(epoch from '2026-07-17 17:57:42'::timestamp) - extract(epoch from '2026-07-17 17:57: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'), 47509, 'SRID=4674;POINT (-39.380977 -3.156235)', '2026-07-17 17:57:49', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380958 -3.156071)'), GeomFromEWKT('SRID=4674;POINT (-39.380977 -3.156235)'))) / (select extract(epoch from '2026-07-17 17:57:49'::timestamp) - extract(epoch from '2026-07-17 17:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380958 -3.156071)'), GeomFromEWKT('SRID=4674;POINT (-39.380977 -3.156235)'))) / (select extract(epoch from '2026-07-17 17:57:49'::timestamp) - extract(epoch from '2026-07-17 17:57:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.381006 -3.156372)', '2026-07-17 17:57:55', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380977 -3.156235)'), GeomFromEWKT('SRID=4674;POINT (-39.381006 -3.156372)'))) / (select extract(epoch from '2026-07-17 17:57:55'::timestamp) - extract(epoch from '2026-07-17 17:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380977 -3.156235)'), GeomFromEWKT('SRID=4674;POINT (-39.381006 -3.156372)'))) / (select extract(epoch from '2026-07-17 17:57:55'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47509, 'SRID=4674;POINT (-39.381046 -3.156532)', '2026-07-17 17:58:03', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381006 -3.156372)'), GeomFromEWKT('SRID=4674;POINT (-39.381046 -3.156532)'))) / (select extract(epoch from '2026-07-17 17:58:03'::timestamp) - extract(epoch from '2026-07-17 17:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381006 -3.156372)'), GeomFromEWKT('SRID=4674;POINT (-39.381046 -3.156532)'))) / (select extract(epoch from '2026-07-17 17:58:03'::timestamp) - extract(epoch from '2026-07-17 17:57: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'), 47509, 'SRID=4674;POINT (-39.381065 -3.156648)', '2026-07-17 17:58:08', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381046 -3.156532)'), GeomFromEWKT('SRID=4674;POINT (-39.381065 -3.156648)'))) / (select extract(epoch from '2026-07-17 17:58:08'::timestamp) - extract(epoch from '2026-07-17 17:58:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381046 -3.156532)'), GeomFromEWKT('SRID=4674;POINT (-39.381065 -3.156648)'))) / (select extract(epoch from '2026-07-17 17:58:08'::timestamp) - extract(epoch from '2026-07-17 17:58:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.381077 -3.156781)', '2026-07-17 17:58:14', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381065 -3.156648)'), GeomFromEWKT('SRID=4674;POINT (-39.381077 -3.156781)'))) / (select extract(epoch from '2026-07-17 17:58:14'::timestamp) - extract(epoch from '2026-07-17 17:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381065 -3.156648)'), GeomFromEWKT('SRID=4674;POINT (-39.381077 -3.156781)'))) / (select extract(epoch from '2026-07-17 17:58:14'::timestamp) - extract(epoch from '2026-07-17 17:58:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.381117 -3.156957)', '2026-07-17 17:58:22', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381077 -3.156781)'), GeomFromEWKT('SRID=4674;POINT (-39.381117 -3.156957)'))) / (select extract(epoch from '2026-07-17 17:58:22'::timestamp) - extract(epoch from '2026-07-17 17:58:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381077 -3.156781)'), GeomFromEWKT('SRID=4674;POINT (-39.381117 -3.156957)'))) / (select extract(epoch from '2026-07-17 17:58:22'::timestamp) - extract(epoch from '2026-07-17 17:58: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'), 47509, 'SRID=4674;POINT (-39.381131 -3.157123)', '2026-07-17 17:58:30', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381117 -3.156957)'), GeomFromEWKT('SRID=4674;POINT (-39.381131 -3.157123)'))) / (select extract(epoch from '2026-07-17 17:58:30'::timestamp) - extract(epoch from '2026-07-17 17:58:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381117 -3.156957)'), GeomFromEWKT('SRID=4674;POINT (-39.381131 -3.157123)'))) / (select extract(epoch from '2026-07-17 17:58:30'::timestamp) - extract(epoch from '2026-07-17 17:58:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.381127 -3.157297)', '2026-07-17 17:58:39', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381131 -3.157123)'), GeomFromEWKT('SRID=4674;POINT (-39.381127 -3.157297)'))) / (select extract(epoch from '2026-07-17 17:58:39'::timestamp) - extract(epoch from '2026-07-17 17:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381131 -3.157123)'), GeomFromEWKT('SRID=4674;POINT (-39.381127 -3.157297)'))) / (select extract(epoch from '2026-07-17 17:58:39'::timestamp) - extract(epoch from '2026-07-17 17:58: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'), 47509, 'SRID=4674;POINT (-39.381126 -3.157461)', '2026-07-17 17:58:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381127 -3.157297)'), GeomFromEWKT('SRID=4674;POINT (-39.381126 -3.157461)'))) / (select extract(epoch from '2026-07-17 17:58:46'::timestamp) - extract(epoch from '2026-07-17 17:58:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381127 -3.157297)'), GeomFromEWKT('SRID=4674;POINT (-39.381126 -3.157461)'))) / (select extract(epoch from '2026-07-17 17:58:46'::timestamp) - extract(epoch from '2026-07-17 17:58: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'), 47509, 'SRID=4674;POINT (-39.381148 -3.157623)', '2026-07-17 17:58:53', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381126 -3.157461)'), GeomFromEWKT('SRID=4674;POINT (-39.381148 -3.157623)'))) / (select extract(epoch from '2026-07-17 17:58:53'::timestamp) - extract(epoch from '2026-07-17 17:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381126 -3.157461)'), GeomFromEWKT('SRID=4674;POINT (-39.381148 -3.157623)'))) / (select extract(epoch from '2026-07-17 17:58:53'::timestamp) - extract(epoch from '2026-07-17 17:58:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.381172 -3.157789)', '2026-07-17 17:59:00', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381148 -3.157623)'), GeomFromEWKT('SRID=4674;POINT (-39.381172 -3.157789)'))) / (select extract(epoch from '2026-07-17 17:59:00'::timestamp) - extract(epoch from '2026-07-17 17:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381148 -3.157623)'), GeomFromEWKT('SRID=4674;POINT (-39.381172 -3.157789)'))) / (select extract(epoch from '2026-07-17 17:59:00'::timestamp) - extract(epoch from '2026-07-17 17:58: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'), 47509, 'SRID=4674;POINT (-39.381183 -3.157936)', '2026-07-17 17:59:07', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381172 -3.157789)'), GeomFromEWKT('SRID=4674;POINT (-39.381183 -3.157936)'))) / (select extract(epoch from '2026-07-17 17:59:07'::timestamp) - extract(epoch from '2026-07-17 17:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381172 -3.157789)'), GeomFromEWKT('SRID=4674;POINT (-39.381183 -3.157936)'))) / (select extract(epoch from '2026-07-17 17:59:07'::timestamp) - extract(epoch from '2026-07-17 17:59: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'), 47509, 'SRID=4674;POINT (-39.381191 -3.158082)', '2026-07-17 17:59:13', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381183 -3.157936)'), GeomFromEWKT('SRID=4674;POINT (-39.381191 -3.158082)'))) / (select extract(epoch from '2026-07-17 17:59:13'::timestamp) - extract(epoch from '2026-07-17 17:59:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381183 -3.157936)'), GeomFromEWKT('SRID=4674;POINT (-39.381191 -3.158082)'))) / (select extract(epoch from '2026-07-17 17:59:13'::timestamp) - extract(epoch from '2026-07-17 17:59: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'), 47509, 'SRID=4674;POINT (-39.381204 -3.158238)', '2026-07-17 17:59:20', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381191 -3.158082)'), GeomFromEWKT('SRID=4674;POINT (-39.381204 -3.158238)'))) / (select extract(epoch from '2026-07-17 17:59:20'::timestamp) - extract(epoch from '2026-07-17 17:59:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381191 -3.158082)'), GeomFromEWKT('SRID=4674;POINT (-39.381204 -3.158238)'))) / (select extract(epoch from '2026-07-17 17:59:20'::timestamp) - extract(epoch from '2026-07-17 17:59: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'), 47509, 'SRID=4674;POINT (-39.381221 -3.158392)', '2026-07-17 17:59:27', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381204 -3.158238)'), GeomFromEWKT('SRID=4674;POINT (-39.381221 -3.158392)'))) / (select extract(epoch from '2026-07-17 17:59:27'::timestamp) - extract(epoch from '2026-07-17 17:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381204 -3.158238)'), GeomFromEWKT('SRID=4674;POINT (-39.381221 -3.158392)'))) / (select extract(epoch from '2026-07-17 17:59:27'::timestamp) - extract(epoch from '2026-07-17 17:59: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'), 47509, 'SRID=4674;POINT (-39.381235 -3.158542)', '2026-07-17 17:59:34', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381221 -3.158392)'), GeomFromEWKT('SRID=4674;POINT (-39.381235 -3.158542)'))) / (select extract(epoch from '2026-07-17 17:59:34'::timestamp) - extract(epoch from '2026-07-17 17:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381221 -3.158392)'), GeomFromEWKT('SRID=4674;POINT (-39.381235 -3.158542)'))) / (select extract(epoch from '2026-07-17 17:59:34'::timestamp) - extract(epoch from '2026-07-17 17:59: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'), 47509, 'SRID=4674;POINT (-39.381248 -3.158707)', '2026-07-17 17:59:41', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381235 -3.158542)'), GeomFromEWKT('SRID=4674;POINT (-39.381248 -3.158707)'))) / (select extract(epoch from '2026-07-17 17:59:41'::timestamp) - extract(epoch from '2026-07-17 17:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381235 -3.158542)'), GeomFromEWKT('SRID=4674;POINT (-39.381248 -3.158707)'))) / (select extract(epoch from '2026-07-17 17:59:41'::timestamp) - extract(epoch from '2026-07-17 17:59: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'), 47509, 'SRID=4674;POINT (-39.381261 -3.158879)', '2026-07-17 17:59:49', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381248 -3.158707)'), GeomFromEWKT('SRID=4674;POINT (-39.381261 -3.158879)'))) / (select extract(epoch from '2026-07-17 17:59:49'::timestamp) - extract(epoch from '2026-07-17 17:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381248 -3.158707)'), GeomFromEWKT('SRID=4674;POINT (-39.381261 -3.158879)'))) / (select extract(epoch from '2026-07-17 17:59:49'::timestamp) - extract(epoch from '2026-07-17 17:59: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'), 47509, 'SRID=4674;POINT (-39.381289 -3.159036)', '2026-07-17 17:59:57', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381261 -3.158879)'), GeomFromEWKT('SRID=4674;POINT (-39.381289 -3.159036)'))) / (select extract(epoch from '2026-07-17 17:59:57'::timestamp) - extract(epoch from '2026-07-17 17:59:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381261 -3.158879)'), GeomFromEWKT('SRID=4674;POINT (-39.381289 -3.159036)'))) / (select extract(epoch from '2026-07-17 17:59:57'::timestamp) - extract(epoch from '2026-07-17 17:59:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.381295 -3.159204)', '2026-07-17 18:00:05', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381289 -3.159036)'), GeomFromEWKT('SRID=4674;POINT (-39.381295 -3.159204)'))) / (select extract(epoch from '2026-07-17 18:00:05'::timestamp) - extract(epoch from '2026-07-17 17:59:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381289 -3.159036)'), GeomFromEWKT('SRID=4674;POINT (-39.381295 -3.159204)'))) / (select extract(epoch from '2026-07-17 18:00:05'::timestamp) - extract(epoch from '2026-07-17 17:59: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'), 47509, 'SRID=4674;POINT (-39.381306 -3.159341)', '2026-07-17 18:00:11', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381295 -3.159204)'), GeomFromEWKT('SRID=4674;POINT (-39.381306 -3.159341)'))) / (select extract(epoch from '2026-07-17 18:00:11'::timestamp) - extract(epoch from '2026-07-17 18:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381295 -3.159204)'), GeomFromEWKT('SRID=4674;POINT (-39.381306 -3.159341)'))) / (select extract(epoch from '2026-07-17 18:00:11'::timestamp) - extract(epoch from '2026-07-17 18:00: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'), 47509, 'SRID=4674;POINT (-39.381307 -3.159494)', '2026-07-17 18:00:18', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381306 -3.159341)'), GeomFromEWKT('SRID=4674;POINT (-39.381307 -3.159494)'))) / (select extract(epoch from '2026-07-17 18:00:18'::timestamp) - extract(epoch from '2026-07-17 18:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381306 -3.159341)'), GeomFromEWKT('SRID=4674;POINT (-39.381307 -3.159494)'))) / (select extract(epoch from '2026-07-17 18:00:18'::timestamp) - extract(epoch from '2026-07-17 18: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'), 47509, 'SRID=4674;POINT (-39.381323 -3.159667)', '2026-07-17 18:00:26', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381307 -3.159494)'), GeomFromEWKT('SRID=4674;POINT (-39.381323 -3.159667)'))) / (select extract(epoch from '2026-07-17 18:00:26'::timestamp) - extract(epoch from '2026-07-17 18:00:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381307 -3.159494)'), GeomFromEWKT('SRID=4674;POINT (-39.381323 -3.159667)'))) / (select extract(epoch from '2026-07-17 18:00:26'::timestamp) - extract(epoch from '2026-07-17 18:00: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'), 47509, 'SRID=4674;POINT (-39.381331 -3.15984)', '2026-07-17 18:00:34', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381323 -3.159667)'), GeomFromEWKT('SRID=4674;POINT (-39.381331 -3.15984)'))) / (select extract(epoch from '2026-07-17 18:00:34'::timestamp) - extract(epoch from '2026-07-17 18:00:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381323 -3.159667)'), GeomFromEWKT('SRID=4674;POINT (-39.381331 -3.15984)'))) / (select extract(epoch from '2026-07-17 18:00:34'::timestamp) - extract(epoch from '2026-07-17 18:00: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'), 47509, 'SRID=4674;POINT (-39.38133 -3.160034)', '2026-07-17 18:00:42', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381331 -3.15984)'), GeomFromEWKT('SRID=4674;POINT (-39.38133 -3.160034)'))) / (select extract(epoch from '2026-07-17 18:00:42'::timestamp) - extract(epoch from '2026-07-17 18:00:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381331 -3.15984)'), GeomFromEWKT('SRID=4674;POINT (-39.38133 -3.160034)'))) / (select extract(epoch from '2026-07-17 18:00:42'::timestamp) - extract(epoch from '2026-07-17 18:00: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'), 47509, 'SRID=4674;POINT (-39.381329 -3.160207)', '2026-07-17 18:00:49', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38133 -3.160034)'), GeomFromEWKT('SRID=4674;POINT (-39.381329 -3.160207)'))) / (select extract(epoch from '2026-07-17 18:00:49'::timestamp) - extract(epoch from '2026-07-17 18:00:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38133 -3.160034)'), GeomFromEWKT('SRID=4674;POINT (-39.381329 -3.160207)'))) / (select extract(epoch from '2026-07-17 18:00:49'::timestamp) - extract(epoch from '2026-07-17 18:00: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'), 47509, 'SRID=4674;POINT (-39.381342 -3.160387)', '2026-07-17 18:00:57', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381329 -3.160207)'), GeomFromEWKT('SRID=4674;POINT (-39.381342 -3.160387)'))) / (select extract(epoch from '2026-07-17 18:00:57'::timestamp) - extract(epoch from '2026-07-17 18:00:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381329 -3.160207)'), GeomFromEWKT('SRID=4674;POINT (-39.381342 -3.160387)'))) / (select extract(epoch from '2026-07-17 18:00:57'::timestamp) - extract(epoch from '2026-07-17 18:00: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'), 47509, 'SRID=4674;POINT (-39.381371 -3.160537)', '2026-07-17 18:01:04', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381342 -3.160387)'), GeomFromEWKT('SRID=4674;POINT (-39.381371 -3.160537)'))) / (select extract(epoch from '2026-07-17 18:01:04'::timestamp) - extract(epoch from '2026-07-17 18:00:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381342 -3.160387)'), GeomFromEWKT('SRID=4674;POINT (-39.381371 -3.160537)'))) / (select extract(epoch from '2026-07-17 18:01:04'::timestamp) - extract(epoch from '2026-07-17 18:00:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.381391 -3.160686)', '2026-07-17 18:01:11', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381371 -3.160537)'), GeomFromEWKT('SRID=4674;POINT (-39.381391 -3.160686)'))) / (select extract(epoch from '2026-07-17 18:01:11'::timestamp) - extract(epoch from '2026-07-17 18:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381371 -3.160537)'), GeomFromEWKT('SRID=4674;POINT (-39.381391 -3.160686)'))) / (select extract(epoch from '2026-07-17 18:01:11'::timestamp) - extract(epoch from '2026-07-17 18: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'), 47509, 'SRID=4674;POINT (-39.381406 -3.160888)', '2026-07-17 18:01:20', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381391 -3.160686)'), GeomFromEWKT('SRID=4674;POINT (-39.381406 -3.160888)'))) / (select extract(epoch from '2026-07-17 18:01:20'::timestamp) - extract(epoch from '2026-07-17 18:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381391 -3.160686)'), GeomFromEWKT('SRID=4674;POINT (-39.381406 -3.160888)'))) / (select extract(epoch from '2026-07-17 18:01:20'::timestamp) - extract(epoch from '2026-07-17 18:01: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'), 47509, 'SRID=4674;POINT (-39.3814 -3.161033)', '2026-07-17 18:01:26', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381406 -3.160888)'), GeomFromEWKT('SRID=4674;POINT (-39.3814 -3.161033)'))) / (select extract(epoch from '2026-07-17 18:01:26'::timestamp) - extract(epoch from '2026-07-17 18:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381406 -3.160888)'), GeomFromEWKT('SRID=4674;POINT (-39.3814 -3.161033)'))) / (select extract(epoch from '2026-07-17 18:01:26'::timestamp) - extract(epoch from '2026-07-17 18:01: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'), 47509, 'SRID=4674;POINT (-39.381418 -3.161176)', '2026-07-17 18:01:33', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3814 -3.161033)'), GeomFromEWKT('SRID=4674;POINT (-39.381418 -3.161176)'))) / (select extract(epoch from '2026-07-17 18:01:33'::timestamp) - extract(epoch from '2026-07-17 18:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3814 -3.161033)'), GeomFromEWKT('SRID=4674;POINT (-39.381418 -3.161176)'))) / (select extract(epoch from '2026-07-17 18:01:33'::timestamp) - extract(epoch from '2026-07-17 18:01: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'), 47509, 'SRID=4674;POINT (-39.381447 -3.161207)', '2026-07-17 18:01:36', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381418 -3.161176)'), GeomFromEWKT('SRID=4674;POINT (-39.381447 -3.161207)'))) / (select extract(epoch from '2026-07-17 18:01:36'::timestamp) - extract(epoch from '2026-07-17 18:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381418 -3.161176)'), GeomFromEWKT('SRID=4674;POINT (-39.381447 -3.161207)'))) / (select extract(epoch from '2026-07-17 18:01:36'::timestamp) - extract(epoch from '2026-07-17 18:01: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'), 47509, 'SRID=4674;POINT (-39.381443 -3.161243)', '2026-07-17 18:01:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381447 -3.161207)'), GeomFromEWKT('SRID=4674;POINT (-39.381443 -3.161243)'))) / (select extract(epoch from '2026-07-17 18:01:38'::timestamp) - extract(epoch from '2026-07-17 18:01:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381447 -3.161207)'), GeomFromEWKT('SRID=4674;POINT (-39.381443 -3.161243)'))) / (select extract(epoch from '2026-07-17 18:01:38'::timestamp) - extract(epoch from '2026-07-17 18: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'), 47509, 'SRID=4674;POINT (-39.381441 -3.161382)', '2026-07-17 18:01:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381443 -3.161243)'), GeomFromEWKT('SRID=4674;POINT (-39.381441 -3.161382)'))) / (select extract(epoch from '2026-07-17 18:01:44'::timestamp) - extract(epoch from '2026-07-17 18:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381443 -3.161243)'), GeomFromEWKT('SRID=4674;POINT (-39.381441 -3.161382)'))) / (select extract(epoch from '2026-07-17 18:01:44'::timestamp) - extract(epoch from '2026-07-17 18:01: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'), 47509, 'SRID=4674;POINT (-39.381426 -3.161557)', '2026-07-17 18:01:51', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381441 -3.161382)'), GeomFromEWKT('SRID=4674;POINT (-39.381426 -3.161557)'))) / (select extract(epoch from '2026-07-17 18:01:51'::timestamp) - extract(epoch from '2026-07-17 18:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381441 -3.161382)'), GeomFromEWKT('SRID=4674;POINT (-39.381426 -3.161557)'))) / (select extract(epoch from '2026-07-17 18:01:51'::timestamp) - extract(epoch from '2026-07-17 18:01: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'), 47509, 'SRID=4674;POINT (-39.381451 -3.161684)', '2026-07-17 18:01:57', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381426 -3.161557)'), GeomFromEWKT('SRID=4674;POINT (-39.381451 -3.161684)'))) / (select extract(epoch from '2026-07-17 18:01:57'::timestamp) - extract(epoch from '2026-07-17 18:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381426 -3.161557)'), GeomFromEWKT('SRID=4674;POINT (-39.381451 -3.161684)'))) / (select extract(epoch from '2026-07-17 18:01:57'::timestamp) - extract(epoch from '2026-07-17 18: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'), 47509, 'SRID=4674;POINT (-39.38146 -3.161812)', '2026-07-17 18:02:03', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381451 -3.161684)'), GeomFromEWKT('SRID=4674;POINT (-39.38146 -3.161812)'))) / (select extract(epoch from '2026-07-17 18:02:03'::timestamp) - extract(epoch from '2026-07-17 18:01:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381451 -3.161684)'), GeomFromEWKT('SRID=4674;POINT (-39.38146 -3.161812)'))) / (select extract(epoch from '2026-07-17 18:02:03'::timestamp) - extract(epoch from '2026-07-17 18: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'), 47509, 'SRID=4674;POINT (-39.381479 -3.162032)', '2026-07-17 18:02:13', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38146 -3.161812)'), GeomFromEWKT('SRID=4674;POINT (-39.381479 -3.162032)'))) / (select extract(epoch from '2026-07-17 18:02:13'::timestamp) - extract(epoch from '2026-07-17 18:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38146 -3.161812)'), GeomFromEWKT('SRID=4674;POINT (-39.381479 -3.162032)'))) / (select extract(epoch from '2026-07-17 18:02:13'::timestamp) - extract(epoch from '2026-07-17 18:02:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.381482 -3.162229)', '2026-07-17 18:02:22', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381479 -3.162032)'), GeomFromEWKT('SRID=4674;POINT (-39.381482 -3.162229)'))) / (select extract(epoch from '2026-07-17 18:02:22'::timestamp) - extract(epoch from '2026-07-17 18:02:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381479 -3.162032)'), GeomFromEWKT('SRID=4674;POINT (-39.381482 -3.162229)'))) / (select extract(epoch from '2026-07-17 18:02:22'::timestamp) - extract(epoch from '2026-07-17 18:02: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'), 47509, 'SRID=4674;POINT (-39.381494 -3.162461)', '2026-07-17 18:02:32', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381482 -3.162229)'), GeomFromEWKT('SRID=4674;POINT (-39.381494 -3.162461)'))) / (select extract(epoch from '2026-07-17 18:02:32'::timestamp) - extract(epoch from '2026-07-17 18:02:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381482 -3.162229)'), GeomFromEWKT('SRID=4674;POINT (-39.381494 -3.162461)'))) / (select extract(epoch from '2026-07-17 18:02:32'::timestamp) - extract(epoch from '2026-07-17 18:02:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.381491 -3.162584)', '2026-07-17 18:02:38', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381494 -3.162461)'), GeomFromEWKT('SRID=4674;POINT (-39.381491 -3.162584)'))) / (select extract(epoch from '2026-07-17 18:02:38'::timestamp) - extract(epoch from '2026-07-17 18:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381494 -3.162461)'), GeomFromEWKT('SRID=4674;POINT (-39.381491 -3.162584)'))) / (select extract(epoch from '2026-07-17 18:02:38'::timestamp) - extract(epoch from '2026-07-17 18:02:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.381503 -3.162778)', '2026-07-17 18:02:46', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381491 -3.162584)'), GeomFromEWKT('SRID=4674;POINT (-39.381503 -3.162778)'))) / (select extract(epoch from '2026-07-17 18:02:46'::timestamp) - extract(epoch from '2026-07-17 18:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381491 -3.162584)'), GeomFromEWKT('SRID=4674;POINT (-39.381503 -3.162778)'))) / (select extract(epoch from '2026-07-17 18:02:46'::timestamp) - extract(epoch from '2026-07-17 18:02: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'), 47509, 'SRID=4674;POINT (-39.381539 -3.162949)', '2026-07-17 18:02:54', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381503 -3.162778)'), GeomFromEWKT('SRID=4674;POINT (-39.381539 -3.162949)'))) / (select extract(epoch from '2026-07-17 18:02:54'::timestamp) - extract(epoch from '2026-07-17 18:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381503 -3.162778)'), GeomFromEWKT('SRID=4674;POINT (-39.381539 -3.162949)'))) / (select extract(epoch from '2026-07-17 18:02:54'::timestamp) - extract(epoch from '2026-07-17 18:02:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.381597 -3.163126)', '2026-07-17 18:03:03', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381539 -3.162949)'), GeomFromEWKT('SRID=4674;POINT (-39.381597 -3.163126)'))) / (select extract(epoch from '2026-07-17 18:03:03'::timestamp) - extract(epoch from '2026-07-17 18:02:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381539 -3.162949)'), GeomFromEWKT('SRID=4674;POINT (-39.381597 -3.163126)'))) / (select extract(epoch from '2026-07-17 18:03:03'::timestamp) - extract(epoch from '2026-07-17 18:02:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.3816 -3.16326)', '2026-07-17 18:03:10', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381597 -3.163126)'), GeomFromEWKT('SRID=4674;POINT (-39.3816 -3.16326)'))) / (select extract(epoch from '2026-07-17 18:03:10'::timestamp) - extract(epoch from '2026-07-17 18:03:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381597 -3.163126)'), GeomFromEWKT('SRID=4674;POINT (-39.3816 -3.16326)'))) / (select extract(epoch from '2026-07-17 18:03:10'::timestamp) - extract(epoch from '2026-07-17 18:03: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'), 47509, 'SRID=4674;POINT (-39.381585 -3.163388)', '2026-07-17 18:03:16', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3816 -3.16326)'), GeomFromEWKT('SRID=4674;POINT (-39.381585 -3.163388)'))) / (select extract(epoch from '2026-07-17 18:03:16'::timestamp) - extract(epoch from '2026-07-17 18:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3816 -3.16326)'), GeomFromEWKT('SRID=4674;POINT (-39.381585 -3.163388)'))) / (select extract(epoch from '2026-07-17 18:03:16'::timestamp) - extract(epoch from '2026-07-17 18:03:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.381551 -3.163583)', '2026-07-17 18:03:24', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381585 -3.163388)'), GeomFromEWKT('SRID=4674;POINT (-39.381551 -3.163583)'))) / (select extract(epoch from '2026-07-17 18:03:24'::timestamp) - extract(epoch from '2026-07-17 18:03:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381585 -3.163388)'), GeomFromEWKT('SRID=4674;POINT (-39.381551 -3.163583)'))) / (select extract(epoch from '2026-07-17 18:03:24'::timestamp) - extract(epoch from '2026-07-17 18:03:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.38156 -3.163753)', '2026-07-17 18:03:32', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381551 -3.163583)'), GeomFromEWKT('SRID=4674;POINT (-39.38156 -3.163753)'))) / (select extract(epoch from '2026-07-17 18:03:32'::timestamp) - extract(epoch from '2026-07-17 18:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381551 -3.163583)'), GeomFromEWKT('SRID=4674;POINT (-39.38156 -3.163753)'))) / (select extract(epoch from '2026-07-17 18:03:32'::timestamp) - extract(epoch from '2026-07-17 18:03: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'), 47509, 'SRID=4674;POINT (-39.38159 -3.163915)', '2026-07-17 18:03:41', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38156 -3.163753)'), GeomFromEWKT('SRID=4674;POINT (-39.38159 -3.163915)'))) / (select extract(epoch from '2026-07-17 18:03:41'::timestamp) - extract(epoch from '2026-07-17 18:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38156 -3.163753)'), GeomFromEWKT('SRID=4674;POINT (-39.38159 -3.163915)'))) / (select extract(epoch from '2026-07-17 18:03:41'::timestamp) - extract(epoch from '2026-07-17 18:03: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'), 47509, 'SRID=4674;POINT (-39.381611 -3.164052)', '2026-07-17 18:03:47', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38159 -3.163915)'), GeomFromEWKT('SRID=4674;POINT (-39.381611 -3.164052)'))) / (select extract(epoch from '2026-07-17 18:03:47'::timestamp) - extract(epoch from '2026-07-17 18:03:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38159 -3.163915)'), GeomFromEWKT('SRID=4674;POINT (-39.381611 -3.164052)'))) / (select extract(epoch from '2026-07-17 18:03:47'::timestamp) - extract(epoch from '2026-07-17 18:03: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'), 47509, 'SRID=4674;POINT (-39.381639 -3.164253)', '2026-07-17 18:03:56', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381611 -3.164052)'), GeomFromEWKT('SRID=4674;POINT (-39.381639 -3.164253)'))) / (select extract(epoch from '2026-07-17 18:03:56'::timestamp) - extract(epoch from '2026-07-17 18:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381611 -3.164052)'), GeomFromEWKT('SRID=4674;POINT (-39.381639 -3.164253)'))) / (select extract(epoch from '2026-07-17 18:03:56'::timestamp) - extract(epoch from '2026-07-17 18: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'), 47509, 'SRID=4674;POINT (-39.381619 -3.164474)', '2026-07-17 18:04:04', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381639 -3.164253)'), GeomFromEWKT('SRID=4674;POINT (-39.381619 -3.164474)'))) / (select extract(epoch from '2026-07-17 18:04:04'::timestamp) - extract(epoch from '2026-07-17 18:03:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381639 -3.164253)'), GeomFromEWKT('SRID=4674;POINT (-39.381619 -3.164474)'))) / (select extract(epoch from '2026-07-17 18:04:04'::timestamp) - extract(epoch from '2026-07-17 18:03:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.381633 -3.164647)', '2026-07-17 18:04:12', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381619 -3.164474)'), GeomFromEWKT('SRID=4674;POINT (-39.381633 -3.164647)'))) / (select extract(epoch from '2026-07-17 18:04:12'::timestamp) - extract(epoch from '2026-07-17 18:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381619 -3.164474)'), GeomFromEWKT('SRID=4674;POINT (-39.381633 -3.164647)'))) / (select extract(epoch from '2026-07-17 18:04:12'::timestamp) - extract(epoch from '2026-07-17 18: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'), 47509, 'SRID=4674;POINT (-39.381645 -3.164792)', '2026-07-17 18:04:21', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381633 -3.164647)'), GeomFromEWKT('SRID=4674;POINT (-39.381645 -3.164792)'))) / (select extract(epoch from '2026-07-17 18:04:21'::timestamp) - extract(epoch from '2026-07-17 18:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381633 -3.164647)'), GeomFromEWKT('SRID=4674;POINT (-39.381645 -3.164792)'))) / (select extract(epoch from '2026-07-17 18:04:21'::timestamp) - extract(epoch from '2026-07-17 18:04:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.381649 -3.164982)', '2026-07-17 18:04:30', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381645 -3.164792)'), GeomFromEWKT('SRID=4674;POINT (-39.381649 -3.164982)'))) / (select extract(epoch from '2026-07-17 18:04:30'::timestamp) - extract(epoch from '2026-07-17 18:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381645 -3.164792)'), GeomFromEWKT('SRID=4674;POINT (-39.381649 -3.164982)'))) / (select extract(epoch from '2026-07-17 18:04:30'::timestamp) - extract(epoch from '2026-07-17 18:04:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.381621 -3.1652)', '2026-07-17 18:04:40', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381649 -3.164982)'), GeomFromEWKT('SRID=4674;POINT (-39.381621 -3.1652)'))) / (select extract(epoch from '2026-07-17 18:04:40'::timestamp) - extract(epoch from '2026-07-17 18:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381649 -3.164982)'), GeomFromEWKT('SRID=4674;POINT (-39.381621 -3.1652)'))) / (select extract(epoch from '2026-07-17 18:04:40'::timestamp) - extract(epoch from '2026-07-17 18:04:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.381599 -3.165382)', '2026-07-17 18:04:48', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381621 -3.1652)'), GeomFromEWKT('SRID=4674;POINT (-39.381599 -3.165382)'))) / (select extract(epoch from '2026-07-17 18:04:48'::timestamp) - extract(epoch from '2026-07-17 18:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381621 -3.1652)'), GeomFromEWKT('SRID=4674;POINT (-39.381599 -3.165382)'))) / (select extract(epoch from '2026-07-17 18:04:48'::timestamp) - extract(epoch from '2026-07-17 18:04: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'), 47509, 'SRID=4674;POINT (-39.381602 -3.165615)', '2026-07-17 18:04:58', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381599 -3.165382)'), GeomFromEWKT('SRID=4674;POINT (-39.381602 -3.165615)'))) / (select extract(epoch from '2026-07-17 18:04:58'::timestamp) - extract(epoch from '2026-07-17 18:04:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381599 -3.165382)'), GeomFromEWKT('SRID=4674;POINT (-39.381602 -3.165615)'))) / (select extract(epoch from '2026-07-17 18:04:58'::timestamp) - extract(epoch from '2026-07-17 18:04: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'), 47509, 'SRID=4674;POINT (-39.381575 -3.165785)', '2026-07-17 18:05:06', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381602 -3.165615)'), GeomFromEWKT('SRID=4674;POINT (-39.381575 -3.165785)'))) / (select extract(epoch from '2026-07-17 18:05:06'::timestamp) - extract(epoch from '2026-07-17 18:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381602 -3.165615)'), GeomFromEWKT('SRID=4674;POINT (-39.381575 -3.165785)'))) / (select extract(epoch from '2026-07-17 18:05:06'::timestamp) - extract(epoch from '2026-07-17 18: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'), 47509, 'SRID=4674;POINT (-39.381595 -3.166003)', '2026-07-17 18:05:16', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381575 -3.165785)'), GeomFromEWKT('SRID=4674;POINT (-39.381595 -3.166003)'))) / (select extract(epoch from '2026-07-17 18:05:16'::timestamp) - extract(epoch from '2026-07-17 18:05:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381575 -3.165785)'), GeomFromEWKT('SRID=4674;POINT (-39.381595 -3.166003)'))) / (select extract(epoch from '2026-07-17 18:05:16'::timestamp) - extract(epoch from '2026-07-17 18:05: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'), 47509, 'SRID=4674;POINT (-39.381583 -3.166122)', '2026-07-17 18:05:23', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381595 -3.166003)'), GeomFromEWKT('SRID=4674;POINT (-39.381583 -3.166122)'))) / (select extract(epoch from '2026-07-17 18:05:23'::timestamp) - extract(epoch from '2026-07-17 18:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381595 -3.166003)'), GeomFromEWKT('SRID=4674;POINT (-39.381583 -3.166122)'))) / (select extract(epoch from '2026-07-17 18:05:23'::timestamp) - extract(epoch from '2026-07-17 18:05: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'), 47509, 'SRID=4674;POINT (-39.381558 -3.166293)', '2026-07-17 18:05:33', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381583 -3.166122)'), GeomFromEWKT('SRID=4674;POINT (-39.381558 -3.166293)'))) / (select extract(epoch from '2026-07-17 18:05:33'::timestamp) - extract(epoch from '2026-07-17 18:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381583 -3.166122)'), GeomFromEWKT('SRID=4674;POINT (-39.381558 -3.166293)'))) / (select extract(epoch from '2026-07-17 18:05:33'::timestamp) - extract(epoch from '2026-07-17 18:05: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'), 47509, 'SRID=4674;POINT (-39.381581 -3.16648)', '2026-07-17 18:05:43', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381558 -3.166293)'), GeomFromEWKT('SRID=4674;POINT (-39.381581 -3.16648)'))) / (select extract(epoch from '2026-07-17 18:05:43'::timestamp) - extract(epoch from '2026-07-17 18:05:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381558 -3.166293)'), GeomFromEWKT('SRID=4674;POINT (-39.381581 -3.16648)'))) / (select extract(epoch from '2026-07-17 18:05:43'::timestamp) - extract(epoch from '2026-07-17 18:05: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'), 47509, 'SRID=4674;POINT (-39.381587 -3.166667)', '2026-07-17 18:05:51', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381581 -3.16648)'), GeomFromEWKT('SRID=4674;POINT (-39.381587 -3.166667)'))) / (select extract(epoch from '2026-07-17 18:05:51'::timestamp) - extract(epoch from '2026-07-17 18:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381581 -3.16648)'), GeomFromEWKT('SRID=4674;POINT (-39.381587 -3.166667)'))) / (select extract(epoch from '2026-07-17 18:05:51'::timestamp) - extract(epoch from '2026-07-17 18:05: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'), 47509, 'SRID=4674;POINT (-39.381611 -3.166835)', '2026-07-17 18:05:59', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381587 -3.166667)'), GeomFromEWKT('SRID=4674;POINT (-39.381611 -3.166835)'))) / (select extract(epoch from '2026-07-17 18:05:59'::timestamp) - extract(epoch from '2026-07-17 18:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381587 -3.166667)'), GeomFromEWKT('SRID=4674;POINT (-39.381611 -3.166835)'))) / (select extract(epoch from '2026-07-17 18:05:59'::timestamp) - extract(epoch from '2026-07-17 18:05: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'), 47509, 'SRID=4674;POINT (-39.381584 -3.166972)', '2026-07-17 18:06:06', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381611 -3.166835)'), GeomFromEWKT('SRID=4674;POINT (-39.381584 -3.166972)'))) / (select extract(epoch from '2026-07-17 18:06:06'::timestamp) - extract(epoch from '2026-07-17 18:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381611 -3.166835)'), GeomFromEWKT('SRID=4674;POINT (-39.381584 -3.166972)'))) / (select extract(epoch from '2026-07-17 18:06:06'::timestamp) - extract(epoch from '2026-07-17 18:05: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'), 47509, 'SRID=4674;POINT (-39.381577 -3.167147)', '2026-07-17 18:06:14', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381584 -3.166972)'), GeomFromEWKT('SRID=4674;POINT (-39.381577 -3.167147)'))) / (select extract(epoch from '2026-07-17 18:06:14'::timestamp) - extract(epoch from '2026-07-17 18:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381584 -3.166972)'), GeomFromEWKT('SRID=4674;POINT (-39.381577 -3.167147)'))) / (select extract(epoch from '2026-07-17 18:06:14'::timestamp) - extract(epoch from '2026-07-17 18:06: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'), 47509, 'SRID=4674;POINT (-39.381583 -3.167321)', '2026-07-17 18:06:21', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381577 -3.167147)'), GeomFromEWKT('SRID=4674;POINT (-39.381583 -3.167321)'))) / (select extract(epoch from '2026-07-17 18:06:21'::timestamp) - extract(epoch from '2026-07-17 18:06:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381577 -3.167147)'), GeomFromEWKT('SRID=4674;POINT (-39.381583 -3.167321)'))) / (select extract(epoch from '2026-07-17 18:06:21'::timestamp) - extract(epoch from '2026-07-17 18:06: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'), 47509, 'SRID=4674;POINT (-39.38159 -3.167481)', '2026-07-17 18:06:28', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381583 -3.167321)'), GeomFromEWKT('SRID=4674;POINT (-39.38159 -3.167481)'))) / (select extract(epoch from '2026-07-17 18:06:28'::timestamp) - extract(epoch from '2026-07-17 18:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381583 -3.167321)'), GeomFromEWKT('SRID=4674;POINT (-39.38159 -3.167481)'))) / (select extract(epoch from '2026-07-17 18:06:28'::timestamp) - extract(epoch from '2026-07-17 18:06: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'), 47509, 'SRID=4674;POINT (-39.381607 -3.16762)', '2026-07-17 18:06:35', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38159 -3.167481)'), GeomFromEWKT('SRID=4674;POINT (-39.381607 -3.16762)'))) / (select extract(epoch from '2026-07-17 18:06:35'::timestamp) - extract(epoch from '2026-07-17 18:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38159 -3.167481)'), GeomFromEWKT('SRID=4674;POINT (-39.381607 -3.16762)'))) / (select extract(epoch from '2026-07-17 18:06:35'::timestamp) - extract(epoch from '2026-07-17 18:06: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'), 47509, 'SRID=4674;POINT (-39.381597 -3.167826)', '2026-07-17 18:06:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381607 -3.16762)'), GeomFromEWKT('SRID=4674;POINT (-39.381597 -3.167826)'))) / (select extract(epoch from '2026-07-17 18:06:45'::timestamp) - extract(epoch from '2026-07-17 18:06:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381607 -3.16762)'), GeomFromEWKT('SRID=4674;POINT (-39.381597 -3.167826)'))) / (select extract(epoch from '2026-07-17 18:06:45'::timestamp) - extract(epoch from '2026-07-17 18:06:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.381597 -3.167993)', '2026-07-17 18:06:52', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381597 -3.167826)'), GeomFromEWKT('SRID=4674;POINT (-39.381597 -3.167993)'))) / (select extract(epoch from '2026-07-17 18:06:52'::timestamp) - extract(epoch from '2026-07-17 18:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381597 -3.167826)'), GeomFromEWKT('SRID=4674;POINT (-39.381597 -3.167993)'))) / (select extract(epoch from '2026-07-17 18:06:52'::timestamp) - extract(epoch from '2026-07-17 18:06:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.38159 -3.168154)', '2026-07-17 18:07:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381597 -3.167993)'), GeomFromEWKT('SRID=4674;POINT (-39.38159 -3.168154)'))) / (select extract(epoch from '2026-07-17 18:07:00'::timestamp) - extract(epoch from '2026-07-17 18:06:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381597 -3.167993)'), GeomFromEWKT('SRID=4674;POINT (-39.38159 -3.168154)'))) / (select extract(epoch from '2026-07-17 18:07:00'::timestamp) - extract(epoch from '2026-07-17 18: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'), 47509, 'SRID=4674;POINT (-39.381598 -3.168304)', '2026-07-17 18:07:08', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38159 -3.168154)'), GeomFromEWKT('SRID=4674;POINT (-39.381598 -3.168304)'))) / (select extract(epoch from '2026-07-17 18:07:08'::timestamp) - extract(epoch from '2026-07-17 18:07:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38159 -3.168154)'), GeomFromEWKT('SRID=4674;POINT (-39.381598 -3.168304)'))) / (select extract(epoch from '2026-07-17 18:07:08'::timestamp) - extract(epoch from '2026-07-17 18:07: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'), 47509, 'SRID=4674;POINT (-39.38161 -3.168534)', '2026-07-17 18:07:17', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381598 -3.168304)'), GeomFromEWKT('SRID=4674;POINT (-39.38161 -3.168534)'))) / (select extract(epoch from '2026-07-17 18:07:17'::timestamp) - extract(epoch from '2026-07-17 18:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381598 -3.168304)'), GeomFromEWKT('SRID=4674;POINT (-39.38161 -3.168534)'))) / (select extract(epoch from '2026-07-17 18:07:17'::timestamp) - extract(epoch from '2026-07-17 18:07: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'), 47509, 'SRID=4674;POINT (-39.38162 -3.168657)', '2026-07-17 18:07:23', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38161 -3.168534)'), GeomFromEWKT('SRID=4674;POINT (-39.38162 -3.168657)'))) / (select extract(epoch from '2026-07-17 18:07:23'::timestamp) - extract(epoch from '2026-07-17 18:07:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38161 -3.168534)'), GeomFromEWKT('SRID=4674;POINT (-39.38162 -3.168657)'))) / (select extract(epoch from '2026-07-17 18:07:23'::timestamp) - extract(epoch from '2026-07-17 18:07: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'), 47509, 'SRID=4674;POINT (-39.381629 -3.168844)', '2026-07-17 18:07:31', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38162 -3.168657)'), GeomFromEWKT('SRID=4674;POINT (-39.381629 -3.168844)'))) / (select extract(epoch from '2026-07-17 18:07:31'::timestamp) - extract(epoch from '2026-07-17 18:07:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38162 -3.168657)'), GeomFromEWKT('SRID=4674;POINT (-39.381629 -3.168844)'))) / (select extract(epoch from '2026-07-17 18:07:31'::timestamp) - extract(epoch from '2026-07-17 18:07: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'), 47509, 'SRID=4674;POINT (-39.381655 -3.168951)', '2026-07-17 18:07:37', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381629 -3.168844)'), GeomFromEWKT('SRID=4674;POINT (-39.381655 -3.168951)'))) / (select extract(epoch from '2026-07-17 18:07:37'::timestamp) - extract(epoch from '2026-07-17 18:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381629 -3.168844)'), GeomFromEWKT('SRID=4674;POINT (-39.381655 -3.168951)'))) / (select extract(epoch from '2026-07-17 18:07:37'::timestamp) - extract(epoch from '2026-07-17 18:07: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'), 47509, 'SRID=4674;POINT (-39.38165 -3.169132)', '2026-07-17 18:07:46', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381655 -3.168951)'), GeomFromEWKT('SRID=4674;POINT (-39.38165 -3.169132)'))) / (select extract(epoch from '2026-07-17 18:07:46'::timestamp) - extract(epoch from '2026-07-17 18:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381655 -3.168951)'), GeomFromEWKT('SRID=4674;POINT (-39.38165 -3.169132)'))) / (select extract(epoch from '2026-07-17 18:07:46'::timestamp) - extract(epoch from '2026-07-17 18:07: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'), 47509, 'SRID=4674;POINT (-39.381638 -3.16932)', '2026-07-17 18:07:54', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38165 -3.169132)'), GeomFromEWKT('SRID=4674;POINT (-39.381638 -3.16932)'))) / (select extract(epoch from '2026-07-17 18:07:54'::timestamp) - extract(epoch from '2026-07-17 18:07:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38165 -3.169132)'), GeomFromEWKT('SRID=4674;POINT (-39.381638 -3.16932)'))) / (select extract(epoch from '2026-07-17 18:07:54'::timestamp) - extract(epoch from '2026-07-17 18:07: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'), 47509, 'SRID=4674;POINT (-39.38162 -3.169447)', '2026-07-17 18:08:01', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381638 -3.16932)'), GeomFromEWKT('SRID=4674;POINT (-39.38162 -3.169447)'))) / (select extract(epoch from '2026-07-17 18:08:01'::timestamp) - extract(epoch from '2026-07-17 18:07:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381638 -3.16932)'), GeomFromEWKT('SRID=4674;POINT (-39.38162 -3.169447)'))) / (select extract(epoch from '2026-07-17 18:08:01'::timestamp) - extract(epoch from '2026-07-17 18:07: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'), 47509, 'SRID=4674;POINT (-39.381629 -3.169511)', '2026-07-17 18:08:08', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38162 -3.169447)'), GeomFromEWKT('SRID=4674;POINT (-39.381629 -3.169511)'))) / (select extract(epoch from '2026-07-17 18:08:08'::timestamp) - extract(epoch from '2026-07-17 18:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38162 -3.169447)'), GeomFromEWKT('SRID=4674;POINT (-39.381629 -3.169511)'))) / (select extract(epoch from '2026-07-17 18:08:08'::timestamp) - extract(epoch from '2026-07-17 18:08: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'), 47509, 'SRID=4674;POINT (-39.381624 -3.169713)', '2026-07-17 18:08:16', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381629 -3.169511)'), GeomFromEWKT('SRID=4674;POINT (-39.381624 -3.169713)'))) / (select extract(epoch from '2026-07-17 18:08:16'::timestamp) - extract(epoch from '2026-07-17 18:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381629 -3.169511)'), GeomFromEWKT('SRID=4674;POINT (-39.381624 -3.169713)'))) / (select extract(epoch from '2026-07-17 18:08:16'::timestamp) - extract(epoch from '2026-07-17 18: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'), 47509, 'SRID=4674;POINT (-39.381582 -3.169911)', '2026-07-17 18:08:24', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381624 -3.169713)'), GeomFromEWKT('SRID=4674;POINT (-39.381582 -3.169911)'))) / (select extract(epoch from '2026-07-17 18:08:24'::timestamp) - extract(epoch from '2026-07-17 18:08:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381624 -3.169713)'), GeomFromEWKT('SRID=4674;POINT (-39.381582 -3.169911)'))) / (select extract(epoch from '2026-07-17 18:08:24'::timestamp) - extract(epoch from '2026-07-17 18:08: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'), 47509, 'SRID=4674;POINT (-39.381612 -3.170081)', '2026-07-17 18:08:31', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381582 -3.169911)'), GeomFromEWKT('SRID=4674;POINT (-39.381612 -3.170081)'))) / (select extract(epoch from '2026-07-17 18:08:31'::timestamp) - extract(epoch from '2026-07-17 18:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381582 -3.169911)'), GeomFromEWKT('SRID=4674;POINT (-39.381612 -3.170081)'))) / (select extract(epoch from '2026-07-17 18:08:31'::timestamp) - extract(epoch from '2026-07-17 18:08:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.381635 -3.170225)', '2026-07-17 18:08:38', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381612 -3.170081)'), GeomFromEWKT('SRID=4674;POINT (-39.381635 -3.170225)'))) / (select extract(epoch from '2026-07-17 18:08:38'::timestamp) - extract(epoch from '2026-07-17 18:08:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381612 -3.170081)'), GeomFromEWKT('SRID=4674;POINT (-39.381635 -3.170225)'))) / (select extract(epoch from '2026-07-17 18:08:38'::timestamp) - extract(epoch from '2026-07-17 18:08: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'), 47509, 'SRID=4674;POINT (-39.381685 -3.170405)', '2026-07-17 18:08:46', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381635 -3.170225)'), GeomFromEWKT('SRID=4674;POINT (-39.381685 -3.170405)'))) / (select extract(epoch from '2026-07-17 18:08:46'::timestamp) - extract(epoch from '2026-07-17 18:08:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381635 -3.170225)'), GeomFromEWKT('SRID=4674;POINT (-39.381685 -3.170405)'))) / (select extract(epoch from '2026-07-17 18:08:46'::timestamp) - extract(epoch from '2026-07-17 18:08: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'), 47509, 'SRID=4674;POINT (-39.381659 -3.170553)', '2026-07-17 18:08:54', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381685 -3.170405)'), GeomFromEWKT('SRID=4674;POINT (-39.381659 -3.170553)'))) / (select extract(epoch from '2026-07-17 18:08:54'::timestamp) - extract(epoch from '2026-07-17 18:08:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381685 -3.170405)'), GeomFromEWKT('SRID=4674;POINT (-39.381659 -3.170553)'))) / (select extract(epoch from '2026-07-17 18:08:54'::timestamp) - extract(epoch from '2026-07-17 18: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'), 47509, 'SRID=4674;POINT (-39.381655 -3.170706)', '2026-07-17 18:09:02', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381659 -3.170553)'), GeomFromEWKT('SRID=4674;POINT (-39.381655 -3.170706)'))) / (select extract(epoch from '2026-07-17 18:09:02'::timestamp) - extract(epoch from '2026-07-17 18:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381659 -3.170553)'), GeomFromEWKT('SRID=4674;POINT (-39.381655 -3.170706)'))) / (select extract(epoch from '2026-07-17 18:09:02'::timestamp) - extract(epoch from '2026-07-17 18:08: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'), 47509, 'SRID=4674;POINT (-39.381723 -3.170882)', '2026-07-17 18:09:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381655 -3.170706)'), GeomFromEWKT('SRID=4674;POINT (-39.381723 -3.170882)'))) / (select extract(epoch from '2026-07-17 18:09:08'::timestamp) - extract(epoch from '2026-07-17 18:09:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381655 -3.170706)'), GeomFromEWKT('SRID=4674;POINT (-39.381723 -3.170882)'))) / (select extract(epoch from '2026-07-17 18:09:08'::timestamp) - extract(epoch from '2026-07-17 18:09: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'), 47509, 'SRID=4674;POINT (-39.381745 -3.171003)', '2026-07-17 18:09:15', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381723 -3.170882)'), GeomFromEWKT('SRID=4674;POINT (-39.381745 -3.171003)'))) / (select extract(epoch from '2026-07-17 18:09:15'::timestamp) - extract(epoch from '2026-07-17 18:09:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381723 -3.170882)'), GeomFromEWKT('SRID=4674;POINT (-39.381745 -3.171003)'))) / (select extract(epoch from '2026-07-17 18:09:15'::timestamp) - extract(epoch from '2026-07-17 18:09:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.381722 -3.171193)', '2026-07-17 18:09:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381745 -3.171003)'), GeomFromEWKT('SRID=4674;POINT (-39.381722 -3.171193)'))) / (select extract(epoch from '2026-07-17 18:09:23'::timestamp) - extract(epoch from '2026-07-17 18:09:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381745 -3.171003)'), GeomFromEWKT('SRID=4674;POINT (-39.381722 -3.171193)'))) / (select extract(epoch from '2026-07-17 18:09:23'::timestamp) - extract(epoch from '2026-07-17 18:09: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'), 47509, 'SRID=4674;POINT (-39.38171 -3.171355)', '2026-07-17 18:09:30', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381722 -3.171193)'), GeomFromEWKT('SRID=4674;POINT (-39.38171 -3.171355)'))) / (select extract(epoch from '2026-07-17 18:09:30'::timestamp) - extract(epoch from '2026-07-17 18:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381722 -3.171193)'), GeomFromEWKT('SRID=4674;POINT (-39.38171 -3.171355)'))) / (select extract(epoch from '2026-07-17 18:09:30'::timestamp) - extract(epoch from '2026-07-17 18:09: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'), 47509, 'SRID=4674;POINT (-39.381703 -3.17151)', '2026-07-17 18:09:38', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38171 -3.171355)'), GeomFromEWKT('SRID=4674;POINT (-39.381703 -3.17151)'))) / (select extract(epoch from '2026-07-17 18:09:38'::timestamp) - extract(epoch from '2026-07-17 18:09:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38171 -3.171355)'), GeomFromEWKT('SRID=4674;POINT (-39.381703 -3.17151)'))) / (select extract(epoch from '2026-07-17 18:09:38'::timestamp) - extract(epoch from '2026-07-17 18:09: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'), 47509, 'SRID=4674;POINT (-39.381661 -3.171669)', '2026-07-17 18:09:46', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381703 -3.17151)'), GeomFromEWKT('SRID=4674;POINT (-39.381661 -3.171669)'))) / (select extract(epoch from '2026-07-17 18:09:46'::timestamp) - extract(epoch from '2026-07-17 18:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381703 -3.17151)'), GeomFromEWKT('SRID=4674;POINT (-39.381661 -3.171669)'))) / (select extract(epoch from '2026-07-17 18:09:46'::timestamp) - extract(epoch from '2026-07-17 18:09: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'), 47509, 'SRID=4674;POINT (-39.381682 -3.17191)', '2026-07-17 18:09:55', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381661 -3.171669)'), GeomFromEWKT('SRID=4674;POINT (-39.381682 -3.17191)'))) / (select extract(epoch from '2026-07-17 18:09:55'::timestamp) - extract(epoch from '2026-07-17 18:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381661 -3.171669)'), GeomFromEWKT('SRID=4674;POINT (-39.381682 -3.17191)'))) / (select extract(epoch from '2026-07-17 18:09:55'::timestamp) - extract(epoch from '2026-07-17 18:09: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'), 47509, 'SRID=4674;POINT (-39.381719 -3.17213)', '2026-07-17 18:10:05', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381682 -3.17191)'), GeomFromEWKT('SRID=4674;POINT (-39.381719 -3.17213)'))) / (select extract(epoch from '2026-07-17 18:10:05'::timestamp) - extract(epoch from '2026-07-17 18:09:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381682 -3.17191)'), GeomFromEWKT('SRID=4674;POINT (-39.381719 -3.17213)'))) / (select extract(epoch from '2026-07-17 18:10:05'::timestamp) - extract(epoch from '2026-07-17 18:09: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'), 47509, 'SRID=4674;POINT (-39.381732 -3.1723)', '2026-07-17 18:10:13', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381719 -3.17213)'), GeomFromEWKT('SRID=4674;POINT (-39.381732 -3.1723)'))) / (select extract(epoch from '2026-07-17 18:10:13'::timestamp) - extract(epoch from '2026-07-17 18:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381719 -3.17213)'), GeomFromEWKT('SRID=4674;POINT (-39.381732 -3.1723)'))) / (select extract(epoch from '2026-07-17 18:10:13'::timestamp) - extract(epoch from '2026-07-17 18:10:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.381728 -3.172492)', '2026-07-17 18:10:23', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381732 -3.1723)'), GeomFromEWKT('SRID=4674;POINT (-39.381728 -3.172492)'))) / (select extract(epoch from '2026-07-17 18:10:23'::timestamp) - extract(epoch from '2026-07-17 18:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381732 -3.1723)'), GeomFromEWKT('SRID=4674;POINT (-39.381728 -3.172492)'))) / (select extract(epoch from '2026-07-17 18:10:23'::timestamp) - extract(epoch from '2026-07-17 18:10:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.3817 -3.172667)', '2026-07-17 18:10:31', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381728 -3.172492)'), GeomFromEWKT('SRID=4674;POINT (-39.3817 -3.172667)'))) / (select extract(epoch from '2026-07-17 18:10:31'::timestamp) - extract(epoch from '2026-07-17 18:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381728 -3.172492)'), GeomFromEWKT('SRID=4674;POINT (-39.3817 -3.172667)'))) / (select extract(epoch from '2026-07-17 18:10:31'::timestamp) - extract(epoch from '2026-07-17 18:10:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.381683 -3.172834)', '2026-07-17 18:10:39', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3817 -3.172667)'), GeomFromEWKT('SRID=4674;POINT (-39.381683 -3.172834)'))) / (select extract(epoch from '2026-07-17 18:10:39'::timestamp) - extract(epoch from '2026-07-17 18:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3817 -3.172667)'), GeomFromEWKT('SRID=4674;POINT (-39.381683 -3.172834)'))) / (select extract(epoch from '2026-07-17 18:10:39'::timestamp) - extract(epoch from '2026-07-17 18:10: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'), 47509, 'SRID=4674;POINT (-39.381672 -3.173065)', '2026-07-17 18:10:47', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381683 -3.172834)'), GeomFromEWKT('SRID=4674;POINT (-39.381672 -3.173065)'))) / (select extract(epoch from '2026-07-17 18:10:47'::timestamp) - extract(epoch from '2026-07-17 18:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381683 -3.172834)'), GeomFromEWKT('SRID=4674;POINT (-39.381672 -3.173065)'))) / (select extract(epoch from '2026-07-17 18:10:47'::timestamp) - extract(epoch from '2026-07-17 18:10: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'), 47509, 'SRID=4674;POINT (-39.381644 -3.173208)', '2026-07-17 18:10:54', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381672 -3.173065)'), GeomFromEWKT('SRID=4674;POINT (-39.381644 -3.173208)'))) / (select extract(epoch from '2026-07-17 18:10:54'::timestamp) - extract(epoch from '2026-07-17 18:10:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381672 -3.173065)'), GeomFromEWKT('SRID=4674;POINT (-39.381644 -3.173208)'))) / (select extract(epoch from '2026-07-17 18:10:54'::timestamp) - extract(epoch from '2026-07-17 18:10: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'), 47509, 'SRID=4674;POINT (-39.381716 -3.173384)', '2026-07-17 18:11:02', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381644 -3.173208)'), GeomFromEWKT('SRID=4674;POINT (-39.381716 -3.173384)'))) / (select extract(epoch from '2026-07-17 18:11:02'::timestamp) - extract(epoch from '2026-07-17 18:10:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381644 -3.173208)'), GeomFromEWKT('SRID=4674;POINT (-39.381716 -3.173384)'))) / (select extract(epoch from '2026-07-17 18:11:02'::timestamp) - extract(epoch from '2026-07-17 18:10: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'), 47509, 'SRID=4674;POINT (-39.381698 -3.17353)', '2026-07-17 18:11:09', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381716 -3.173384)'), GeomFromEWKT('SRID=4674;POINT (-39.381698 -3.17353)'))) / (select extract(epoch from '2026-07-17 18:11:09'::timestamp) - extract(epoch from '2026-07-17 18:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381716 -3.173384)'), GeomFromEWKT('SRID=4674;POINT (-39.381698 -3.17353)'))) / (select extract(epoch from '2026-07-17 18:11:09'::timestamp) - extract(epoch from '2026-07-17 18:11: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'), 47509, 'SRID=4674;POINT (-39.381695 -3.173674)', '2026-07-17 18:11:16', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381698 -3.17353)'), GeomFromEWKT('SRID=4674;POINT (-39.381695 -3.173674)'))) / (select extract(epoch from '2026-07-17 18:11:16'::timestamp) - extract(epoch from '2026-07-17 18:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381698 -3.17353)'), GeomFromEWKT('SRID=4674;POINT (-39.381695 -3.173674)'))) / (select extract(epoch from '2026-07-17 18:11:16'::timestamp) - extract(epoch from '2026-07-17 18:11:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.381704 -3.173858)', '2026-07-17 18:11:25', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381695 -3.173674)'), GeomFromEWKT('SRID=4674;POINT (-39.381704 -3.173858)'))) / (select extract(epoch from '2026-07-17 18:11:25'::timestamp) - extract(epoch from '2026-07-17 18:11:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381695 -3.173674)'), GeomFromEWKT('SRID=4674;POINT (-39.381704 -3.173858)'))) / (select extract(epoch from '2026-07-17 18:11:25'::timestamp) - extract(epoch from '2026-07-17 18:11: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'), 47509, 'SRID=4674;POINT (-39.381693 -3.173913)', '2026-07-17 18:11:28', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381704 -3.173858)'), GeomFromEWKT('SRID=4674;POINT (-39.381693 -3.173913)'))) / (select extract(epoch from '2026-07-17 18:11:28'::timestamp) - extract(epoch from '2026-07-17 18:11:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381704 -3.173858)'), GeomFromEWKT('SRID=4674;POINT (-39.381693 -3.173913)'))) / (select extract(epoch from '2026-07-17 18:11:28'::timestamp) - extract(epoch from '2026-07-17 18:11: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'), 47509, 'SRID=4674;POINT (-39.381692 -3.173953)', '2026-07-17 18:11:30', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381693 -3.173913)'), GeomFromEWKT('SRID=4674;POINT (-39.381692 -3.173953)'))) / (select extract(epoch from '2026-07-17 18:11:30'::timestamp) - extract(epoch from '2026-07-17 18:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381693 -3.173913)'), GeomFromEWKT('SRID=4674;POINT (-39.381692 -3.173953)'))) / (select extract(epoch from '2026-07-17 18:11:30'::timestamp) - extract(epoch from '2026-07-17 18:11:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.381682 -3.174077)', '2026-07-17 18:11:36', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381692 -3.173953)'), GeomFromEWKT('SRID=4674;POINT (-39.381682 -3.174077)'))) / (select extract(epoch from '2026-07-17 18:11:36'::timestamp) - extract(epoch from '2026-07-17 18:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381692 -3.173953)'), GeomFromEWKT('SRID=4674;POINT (-39.381682 -3.174077)'))) / (select extract(epoch from '2026-07-17 18:11:36'::timestamp) - extract(epoch from '2026-07-17 18:11: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'), 47509, 'SRID=4674;POINT (-39.381684 -3.174189)', '2026-07-17 18:11:41', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381682 -3.174077)'), GeomFromEWKT('SRID=4674;POINT (-39.381684 -3.174189)'))) / (select extract(epoch from '2026-07-17 18:11:41'::timestamp) - extract(epoch from '2026-07-17 18:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381682 -3.174077)'), GeomFromEWKT('SRID=4674;POINT (-39.381684 -3.174189)'))) / (select extract(epoch from '2026-07-17 18:11:41'::timestamp) - extract(epoch from '2026-07-17 18:11:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.381695 -3.17435)', '2026-07-17 18:11:48', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381684 -3.174189)'), GeomFromEWKT('SRID=4674;POINT (-39.381695 -3.17435)'))) / (select extract(epoch from '2026-07-17 18:11:48'::timestamp) - extract(epoch from '2026-07-17 18:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381684 -3.174189)'), GeomFromEWKT('SRID=4674;POINT (-39.381695 -3.17435)'))) / (select extract(epoch from '2026-07-17 18:11:48'::timestamp) - extract(epoch from '2026-07-17 18:11: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'), 47509, 'SRID=4674;POINT (-39.381701 -3.174537)', '2026-07-17 18:11:56', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381695 -3.17435)'), GeomFromEWKT('SRID=4674;POINT (-39.381701 -3.174537)'))) / (select extract(epoch from '2026-07-17 18:11:56'::timestamp) - extract(epoch from '2026-07-17 18:11:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381695 -3.17435)'), GeomFromEWKT('SRID=4674;POINT (-39.381701 -3.174537)'))) / (select extract(epoch from '2026-07-17 18:11:56'::timestamp) - extract(epoch from '2026-07-17 18: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'), 47509, 'SRID=4674;POINT (-39.381704 -3.174738)', '2026-07-17 18:12:05', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381701 -3.174537)'), GeomFromEWKT('SRID=4674;POINT (-39.381704 -3.174738)'))) / (select extract(epoch from '2026-07-17 18:12:05'::timestamp) - extract(epoch from '2026-07-17 18:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381701 -3.174537)'), GeomFromEWKT('SRID=4674;POINT (-39.381704 -3.174738)'))) / (select extract(epoch from '2026-07-17 18:12:05'::timestamp) - extract(epoch from '2026-07-17 18:11: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'), 47509, 'SRID=4674;POINT (-39.381702 -3.174849)', '2026-07-17 18:12:10', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381704 -3.174738)'), GeomFromEWKT('SRID=4674;POINT (-39.381702 -3.174849)'))) / (select extract(epoch from '2026-07-17 18:12:10'::timestamp) - extract(epoch from '2026-07-17 18:12:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381704 -3.174738)'), GeomFromEWKT('SRID=4674;POINT (-39.381702 -3.174849)'))) / (select extract(epoch from '2026-07-17 18:12:10'::timestamp) - extract(epoch from '2026-07-17 18:12: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'), 47509, 'SRID=4674;POINT (-39.381693 -3.174949)', '2026-07-17 18:12:15', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381702 -3.174849)'), GeomFromEWKT('SRID=4674;POINT (-39.381693 -3.174949)'))) / (select extract(epoch from '2026-07-17 18:12:15'::timestamp) - extract(epoch from '2026-07-17 18:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381702 -3.174849)'), GeomFromEWKT('SRID=4674;POINT (-39.381693 -3.174949)'))) / (select extract(epoch from '2026-07-17 18:12:15'::timestamp) - extract(epoch from '2026-07-17 18: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'), 47509, 'SRID=4674;POINT (-39.381698 -3.175108)', '2026-07-17 18:12:22', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381693 -3.174949)'), GeomFromEWKT('SRID=4674;POINT (-39.381698 -3.175108)'))) / (select extract(epoch from '2026-07-17 18:12:22'::timestamp) - extract(epoch from '2026-07-17 18:12:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381693 -3.174949)'), GeomFromEWKT('SRID=4674;POINT (-39.381698 -3.175108)'))) / (select extract(epoch from '2026-07-17 18:12:22'::timestamp) - extract(epoch from '2026-07-17 18:12:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.381706 -3.175243)', '2026-07-17 18:12:28', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381698 -3.175108)'), GeomFromEWKT('SRID=4674;POINT (-39.381706 -3.175243)'))) / (select extract(epoch from '2026-07-17 18:12:28'::timestamp) - extract(epoch from '2026-07-17 18:12:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381698 -3.175108)'), GeomFromEWKT('SRID=4674;POINT (-39.381706 -3.175243)'))) / (select extract(epoch from '2026-07-17 18:12:28'::timestamp) - extract(epoch from '2026-07-17 18:12: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'), 47509, 'SRID=4674;POINT (-39.381711 -3.175367)', '2026-07-17 18:12:34', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381706 -3.175243)'), GeomFromEWKT('SRID=4674;POINT (-39.381711 -3.175367)'))) / (select extract(epoch from '2026-07-17 18:12:34'::timestamp) - extract(epoch from '2026-07-17 18:12:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381706 -3.175243)'), GeomFromEWKT('SRID=4674;POINT (-39.381711 -3.175367)'))) / (select extract(epoch from '2026-07-17 18:12:34'::timestamp) - extract(epoch from '2026-07-17 18:12: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'), 47509, 'SRID=4674;POINT (-39.381715 -3.175502)', '2026-07-17 18:12:40', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381711 -3.175367)'), GeomFromEWKT('SRID=4674;POINT (-39.381715 -3.175502)'))) / (select extract(epoch from '2026-07-17 18:12:40'::timestamp) - extract(epoch from '2026-07-17 18:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381711 -3.175367)'), GeomFromEWKT('SRID=4674;POINT (-39.381715 -3.175502)'))) / (select extract(epoch from '2026-07-17 18:12:40'::timestamp) - extract(epoch from '2026-07-17 18:12:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.381722 -3.175643)', '2026-07-17 18:12:46', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381715 -3.175502)'), GeomFromEWKT('SRID=4674;POINT (-39.381722 -3.175643)'))) / (select extract(epoch from '2026-07-17 18:12:46'::timestamp) - extract(epoch from '2026-07-17 18:12:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381715 -3.175502)'), GeomFromEWKT('SRID=4674;POINT (-39.381722 -3.175643)'))) / (select extract(epoch from '2026-07-17 18:12:46'::timestamp) - extract(epoch from '2026-07-17 18:12:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.381727 -3.175825)', '2026-07-17 18:12:54', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381722 -3.175643)'), GeomFromEWKT('SRID=4674;POINT (-39.381727 -3.175825)'))) / (select extract(epoch from '2026-07-17 18:12:54'::timestamp) - extract(epoch from '2026-07-17 18:12:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381722 -3.175643)'), GeomFromEWKT('SRID=4674;POINT (-39.381727 -3.175825)'))) / (select extract(epoch from '2026-07-17 18:12:54'::timestamp) - extract(epoch from '2026-07-17 18:12: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'), 47509, 'SRID=4674;POINT (-39.381719 -3.176002)', '2026-07-17 18:13:02', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381727 -3.175825)'), GeomFromEWKT('SRID=4674;POINT (-39.381719 -3.176002)'))) / (select extract(epoch from '2026-07-17 18:13:02'::timestamp) - extract(epoch from '2026-07-17 18:12:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381727 -3.175825)'), GeomFromEWKT('SRID=4674;POINT (-39.381719 -3.176002)'))) / (select extract(epoch from '2026-07-17 18:13:02'::timestamp) - extract(epoch from '2026-07-17 18:12: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'), 47509, 'SRID=4674;POINT (-39.381722 -3.176179)', '2026-07-17 18:13:10', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381719 -3.176002)'), GeomFromEWKT('SRID=4674;POINT (-39.381722 -3.176179)'))) / (select extract(epoch from '2026-07-17 18:13:10'::timestamp) - extract(epoch from '2026-07-17 18:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381719 -3.176002)'), GeomFromEWKT('SRID=4674;POINT (-39.381722 -3.176179)'))) / (select extract(epoch from '2026-07-17 18:13:10'::timestamp) - extract(epoch from '2026-07-17 18:13:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.38172 -3.176357)', '2026-07-17 18:13:18', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381722 -3.176179)'), GeomFromEWKT('SRID=4674;POINT (-39.38172 -3.176357)'))) / (select extract(epoch from '2026-07-17 18:13:18'::timestamp) - extract(epoch from '2026-07-17 18:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381722 -3.176179)'), GeomFromEWKT('SRID=4674;POINT (-39.38172 -3.176357)'))) / (select extract(epoch from '2026-07-17 18:13:18'::timestamp) - extract(epoch from '2026-07-17 18:13: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'), 47509, 'SRID=4674;POINT (-39.381716 -3.176499)', '2026-07-17 18:13:24', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38172 -3.176357)'), GeomFromEWKT('SRID=4674;POINT (-39.381716 -3.176499)'))) / (select extract(epoch from '2026-07-17 18:13:24'::timestamp) - extract(epoch from '2026-07-17 18:13:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38172 -3.176357)'), GeomFromEWKT('SRID=4674;POINT (-39.381716 -3.176499)'))) / (select extract(epoch from '2026-07-17 18:13:24'::timestamp) - extract(epoch from '2026-07-17 18:13: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'), 47509, 'SRID=4674;POINT (-39.381717 -3.176699)', '2026-07-17 18:13:33', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381716 -3.176499)'), GeomFromEWKT('SRID=4674;POINT (-39.381717 -3.176699)'))) / (select extract(epoch from '2026-07-17 18:13:33'::timestamp) - extract(epoch from '2026-07-17 18:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381716 -3.176499)'), GeomFromEWKT('SRID=4674;POINT (-39.381717 -3.176699)'))) / (select extract(epoch from '2026-07-17 18:13:33'::timestamp) - extract(epoch from '2026-07-17 18:13: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'), 47509, 'SRID=4674;POINT (-39.381712 -3.176904)', '2026-07-17 18:13:42', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381717 -3.176699)'), GeomFromEWKT('SRID=4674;POINT (-39.381712 -3.176904)'))) / (select extract(epoch from '2026-07-17 18:13:42'::timestamp) - extract(epoch from '2026-07-17 18:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381717 -3.176699)'), GeomFromEWKT('SRID=4674;POINT (-39.381712 -3.176904)'))) / (select extract(epoch from '2026-07-17 18:13:42'::timestamp) - extract(epoch from '2026-07-17 18:13: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'), 47509, 'SRID=4674;POINT (-39.381699 -3.17708)', '2026-07-17 18:13:50', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381712 -3.176904)'), GeomFromEWKT('SRID=4674;POINT (-39.381699 -3.17708)'))) / (select extract(epoch from '2026-07-17 18:13:50'::timestamp) - extract(epoch from '2026-07-17 18:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381712 -3.176904)'), GeomFromEWKT('SRID=4674;POINT (-39.381699 -3.17708)'))) / (select extract(epoch from '2026-07-17 18:13:50'::timestamp) - extract(epoch from '2026-07-17 18:13: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'), 47509, 'SRID=4674;POINT (-39.381685 -3.177213)', '2026-07-17 18:13:56', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381699 -3.17708)'), GeomFromEWKT('SRID=4674;POINT (-39.381685 -3.177213)'))) / (select extract(epoch from '2026-07-17 18:13:56'::timestamp) - extract(epoch from '2026-07-17 18:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381699 -3.17708)'), GeomFromEWKT('SRID=4674;POINT (-39.381685 -3.177213)'))) / (select extract(epoch from '2026-07-17 18:13:56'::timestamp) - extract(epoch from '2026-07-17 18:13: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'), 47509, 'SRID=4674;POINT (-39.381671 -3.177388)', '2026-07-17 18:14:04', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381685 -3.177213)'), GeomFromEWKT('SRID=4674;POINT (-39.381671 -3.177388)'))) / (select extract(epoch from '2026-07-17 18:14:04'::timestamp) - extract(epoch from '2026-07-17 18:13:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381685 -3.177213)'), GeomFromEWKT('SRID=4674;POINT (-39.381671 -3.177388)'))) / (select extract(epoch from '2026-07-17 18:14:04'::timestamp) - extract(epoch from '2026-07-17 18:13: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'), 47509, 'SRID=4674;POINT (-39.38166 -3.177605)', '2026-07-17 18:14:14', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381671 -3.177388)'), GeomFromEWKT('SRID=4674;POINT (-39.38166 -3.177605)'))) / (select extract(epoch from '2026-07-17 18:14:14'::timestamp) - extract(epoch from '2026-07-17 18:14:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381671 -3.177388)'), GeomFromEWKT('SRID=4674;POINT (-39.38166 -3.177605)'))) / (select extract(epoch from '2026-07-17 18:14:14'::timestamp) - extract(epoch from '2026-07-17 18:14:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.381637 -3.177774)', '2026-07-17 18:14:22', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38166 -3.177605)'), GeomFromEWKT('SRID=4674;POINT (-39.381637 -3.177774)'))) / (select extract(epoch from '2026-07-17 18:14:22'::timestamp) - extract(epoch from '2026-07-17 18:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38166 -3.177605)'), GeomFromEWKT('SRID=4674;POINT (-39.381637 -3.177774)'))) / (select extract(epoch from '2026-07-17 18:14:22'::timestamp) - extract(epoch from '2026-07-17 18:14: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'), 47509, 'SRID=4674;POINT (-39.38162 -3.177929)', '2026-07-17 18:14:29', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381637 -3.177774)'), GeomFromEWKT('SRID=4674;POINT (-39.38162 -3.177929)'))) / (select extract(epoch from '2026-07-17 18:14:29'::timestamp) - extract(epoch from '2026-07-17 18:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381637 -3.177774)'), GeomFromEWKT('SRID=4674;POINT (-39.38162 -3.177929)'))) / (select extract(epoch from '2026-07-17 18:14:29'::timestamp) - extract(epoch from '2026-07-17 18:14: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'), 47509, 'SRID=4674;POINT (-39.381608 -3.178052)', '2026-07-17 18:14:35', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38162 -3.177929)'), GeomFromEWKT('SRID=4674;POINT (-39.381608 -3.178052)'))) / (select extract(epoch from '2026-07-17 18:14:35'::timestamp) - extract(epoch from '2026-07-17 18:14:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38162 -3.177929)'), GeomFromEWKT('SRID=4674;POINT (-39.381608 -3.178052)'))) / (select extract(epoch from '2026-07-17 18:14:35'::timestamp) - extract(epoch from '2026-07-17 18:14: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'), 47509, 'SRID=4674;POINT (-39.381586 -3.178207)', '2026-07-17 18:14:42', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381608 -3.178052)'), GeomFromEWKT('SRID=4674;POINT (-39.381586 -3.178207)'))) / (select extract(epoch from '2026-07-17 18:14:42'::timestamp) - extract(epoch from '2026-07-17 18:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381608 -3.178052)'), GeomFromEWKT('SRID=4674;POINT (-39.381586 -3.178207)'))) / (select extract(epoch from '2026-07-17 18:14:42'::timestamp) - extract(epoch from '2026-07-17 18:14: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'), 47509, 'SRID=4674;POINT (-39.381575 -3.178343)', '2026-07-17 18:14:48', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381586 -3.178207)'), GeomFromEWKT('SRID=4674;POINT (-39.381575 -3.178343)'))) / (select extract(epoch from '2026-07-17 18:14:48'::timestamp) - extract(epoch from '2026-07-17 18:14:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381586 -3.178207)'), GeomFromEWKT('SRID=4674;POINT (-39.381575 -3.178343)'))) / (select extract(epoch from '2026-07-17 18:14:48'::timestamp) - extract(epoch from '2026-07-17 18:14: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'), 47509, 'SRID=4674;POINT (-39.381565 -3.178519)', '2026-07-17 18:14:56', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381575 -3.178343)'), GeomFromEWKT('SRID=4674;POINT (-39.381565 -3.178519)'))) / (select extract(epoch from '2026-07-17 18:14:56'::timestamp) - extract(epoch from '2026-07-17 18:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381575 -3.178343)'), GeomFromEWKT('SRID=4674;POINT (-39.381565 -3.178519)'))) / (select extract(epoch from '2026-07-17 18:14:56'::timestamp) - extract(epoch from '2026-07-17 18:14: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'), 47509, 'SRID=4674;POINT (-39.381555 -3.178655)', '2026-07-17 18:15:02', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381565 -3.178519)'), GeomFromEWKT('SRID=4674;POINT (-39.381555 -3.178655)'))) / (select extract(epoch from '2026-07-17 18:15:02'::timestamp) - extract(epoch from '2026-07-17 18:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381565 -3.178519)'), GeomFromEWKT('SRID=4674;POINT (-39.381555 -3.178655)'))) / (select extract(epoch from '2026-07-17 18:15:02'::timestamp) - extract(epoch from '2026-07-17 18:14:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.381539 -3.178829)', '2026-07-17 18:15:10', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381555 -3.178655)'), GeomFromEWKT('SRID=4674;POINT (-39.381539 -3.178829)'))) / (select extract(epoch from '2026-07-17 18:15:10'::timestamp) - extract(epoch from '2026-07-17 18:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381555 -3.178655)'), GeomFromEWKT('SRID=4674;POINT (-39.381539 -3.178829)'))) / (select extract(epoch from '2026-07-17 18:15:10'::timestamp) - extract(epoch from '2026-07-17 18:15:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.381521 -3.178974)', '2026-07-17 18:15:16', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381539 -3.178829)'), GeomFromEWKT('SRID=4674;POINT (-39.381521 -3.178974)'))) / (select extract(epoch from '2026-07-17 18:15:16'::timestamp) - extract(epoch from '2026-07-17 18:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381539 -3.178829)'), GeomFromEWKT('SRID=4674;POINT (-39.381521 -3.178974)'))) / (select extract(epoch from '2026-07-17 18:15:16'::timestamp) - extract(epoch from '2026-07-17 18:15:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.381507 -3.179131)', '2026-07-17 18:15:23', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381521 -3.178974)'), GeomFromEWKT('SRID=4674;POINT (-39.381507 -3.179131)'))) / (select extract(epoch from '2026-07-17 18:15:23'::timestamp) - extract(epoch from '2026-07-17 18:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381521 -3.178974)'), GeomFromEWKT('SRID=4674;POINT (-39.381507 -3.179131)'))) / (select extract(epoch from '2026-07-17 18:15:23'::timestamp) - extract(epoch from '2026-07-17 18: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'), 47509, 'SRID=4674;POINT (-39.381491 -3.179305)', '2026-07-17 18:15:31', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381507 -3.179131)'), GeomFromEWKT('SRID=4674;POINT (-39.381491 -3.179305)'))) / (select extract(epoch from '2026-07-17 18:15:31'::timestamp) - extract(epoch from '2026-07-17 18:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381507 -3.179131)'), GeomFromEWKT('SRID=4674;POINT (-39.381491 -3.179305)'))) / (select extract(epoch from '2026-07-17 18:15:31'::timestamp) - extract(epoch from '2026-07-17 18:15:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.38148 -3.179511)', '2026-07-17 18:15:40', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381491 -3.179305)'), GeomFromEWKT('SRID=4674;POINT (-39.38148 -3.179511)'))) / (select extract(epoch from '2026-07-17 18:15:40'::timestamp) - extract(epoch from '2026-07-17 18:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381491 -3.179305)'), GeomFromEWKT('SRID=4674;POINT (-39.38148 -3.179511)'))) / (select extract(epoch from '2026-07-17 18:15:40'::timestamp) - extract(epoch from '2026-07-17 18:15:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.381453 -3.179637)', '2026-07-17 18:15:46', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38148 -3.179511)'), GeomFromEWKT('SRID=4674;POINT (-39.381453 -3.179637)'))) / (select extract(epoch from '2026-07-17 18:15:46'::timestamp) - extract(epoch from '2026-07-17 18:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38148 -3.179511)'), GeomFromEWKT('SRID=4674;POINT (-39.381453 -3.179637)'))) / (select extract(epoch from '2026-07-17 18:15:46'::timestamp) - extract(epoch from '2026-07-17 18: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'), 47509, 'SRID=4674;POINT (-39.381442 -3.179745)', '2026-07-17 18:15:51', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381453 -3.179637)'), GeomFromEWKT('SRID=4674;POINT (-39.381442 -3.179745)'))) / (select extract(epoch from '2026-07-17 18:15:51'::timestamp) - extract(epoch from '2026-07-17 18:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381453 -3.179637)'), GeomFromEWKT('SRID=4674;POINT (-39.381442 -3.179745)'))) / (select extract(epoch from '2026-07-17 18:15:51'::timestamp) - extract(epoch from '2026-07-17 18: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'), 47509, 'SRID=4674;POINT (-39.381426 -3.179906)', '2026-07-17 18:15:59', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381442 -3.179745)'), GeomFromEWKT('SRID=4674;POINT (-39.381426 -3.179906)'))) / (select extract(epoch from '2026-07-17 18:15:59'::timestamp) - extract(epoch from '2026-07-17 18:15:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381442 -3.179745)'), GeomFromEWKT('SRID=4674;POINT (-39.381426 -3.179906)'))) / (select extract(epoch from '2026-07-17 18:15:59'::timestamp) - extract(epoch from '2026-07-17 18:15:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.381402 -3.180009)', '2026-07-17 18:16:05', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381426 -3.179906)'), GeomFromEWKT('SRID=4674;POINT (-39.381402 -3.180009)'))) / (select extract(epoch from '2026-07-17 18:16:05'::timestamp) - extract(epoch from '2026-07-17 18:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381426 -3.179906)'), GeomFromEWKT('SRID=4674;POINT (-39.381402 -3.180009)'))) / (select extract(epoch from '2026-07-17 18:16:05'::timestamp) - extract(epoch from '2026-07-17 18:15: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'), 47509, 'SRID=4674;POINT (-39.381375 -3.180162)', '2026-07-17 18:16:13', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381402 -3.180009)'), GeomFromEWKT('SRID=4674;POINT (-39.381375 -3.180162)'))) / (select extract(epoch from '2026-07-17 18:16:13'::timestamp) - extract(epoch from '2026-07-17 18:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381402 -3.180009)'), GeomFromEWKT('SRID=4674;POINT (-39.381375 -3.180162)'))) / (select extract(epoch from '2026-07-17 18:16:13'::timestamp) - extract(epoch from '2026-07-17 18:16:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.381356 -3.18029)', '2026-07-17 18:16:20', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381375 -3.180162)'), GeomFromEWKT('SRID=4674;POINT (-39.381356 -3.18029)'))) / (select extract(epoch from '2026-07-17 18:16:20'::timestamp) - extract(epoch from '2026-07-17 18:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381375 -3.180162)'), GeomFromEWKT('SRID=4674;POINT (-39.381356 -3.18029)'))) / (select extract(epoch from '2026-07-17 18:16:20'::timestamp) - extract(epoch from '2026-07-17 18:16:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.381323 -3.180391)', '2026-07-17 18:16:26', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381356 -3.18029)'), GeomFromEWKT('SRID=4674;POINT (-39.381323 -3.180391)'))) / (select extract(epoch from '2026-07-17 18:16:26'::timestamp) - extract(epoch from '2026-07-17 18:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381356 -3.18029)'), GeomFromEWKT('SRID=4674;POINT (-39.381323 -3.180391)'))) / (select extract(epoch from '2026-07-17 18:16:26'::timestamp) - extract(epoch from '2026-07-17 18:16: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'), 47509, 'SRID=4674;POINT (-39.38129 -3.180502)', '2026-07-17 18:16:32', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381323 -3.180391)'), GeomFromEWKT('SRID=4674;POINT (-39.38129 -3.180502)'))) / (select extract(epoch from '2026-07-17 18:16:32'::timestamp) - extract(epoch from '2026-07-17 18:16:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381323 -3.180391)'), GeomFromEWKT('SRID=4674;POINT (-39.38129 -3.180502)'))) / (select extract(epoch from '2026-07-17 18:16:32'::timestamp) - extract(epoch from '2026-07-17 18:16: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'), 47509, 'SRID=4674;POINT (-39.381244 -3.180638)', '2026-07-17 18:16:40', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38129 -3.180502)'), GeomFromEWKT('SRID=4674;POINT (-39.381244 -3.180638)'))) / (select extract(epoch from '2026-07-17 18:16:40'::timestamp) - extract(epoch from '2026-07-17 18:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38129 -3.180502)'), GeomFromEWKT('SRID=4674;POINT (-39.381244 -3.180638)'))) / (select extract(epoch from '2026-07-17 18:16:40'::timestamp) - extract(epoch from '2026-07-17 18:16: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'), 47509, 'SRID=4674;POINT (-39.381205 -3.180772)', '2026-07-17 18:16:47', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381244 -3.180638)'), GeomFromEWKT('SRID=4674;POINT (-39.381205 -3.180772)'))) / (select extract(epoch from '2026-07-17 18:16:47'::timestamp) - extract(epoch from '2026-07-17 18:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381244 -3.180638)'), GeomFromEWKT('SRID=4674;POINT (-39.381205 -3.180772)'))) / (select extract(epoch from '2026-07-17 18:16:47'::timestamp) - extract(epoch from '2026-07-17 18:16:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47509, 'SRID=4674;POINT (-39.381144 -3.180929)', '2026-07-17 18:16:56', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381205 -3.180772)'), GeomFromEWKT('SRID=4674;POINT (-39.381144 -3.180929)'))) / (select extract(epoch from '2026-07-17 18:16:56'::timestamp) - extract(epoch from '2026-07-17 18:16:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381205 -3.180772)'), GeomFromEWKT('SRID=4674;POINT (-39.381144 -3.180929)'))) / (select extract(epoch from '2026-07-17 18:16:56'::timestamp) - extract(epoch from '2026-07-17 18:16: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'), 47509, 'SRID=4674;POINT (-39.381093 -3.181031)', '2026-07-17 18:17:02', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381144 -3.180929)'), GeomFromEWKT('SRID=4674;POINT (-39.381093 -3.181031)'))) / (select extract(epoch from '2026-07-17 18:17:02'::timestamp) - extract(epoch from '2026-07-17 18:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381144 -3.180929)'), GeomFromEWKT('SRID=4674;POINT (-39.381093 -3.181031)'))) / (select extract(epoch from '2026-07-17 18:17:02'::timestamp) - extract(epoch from '2026-07-17 18:16:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
