 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.749494 -2.882794)', '2026-06-21 16:05:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.749383 -2.882655)'), GeomFromEWKT('SRID=4674;POINT (-39.749494 -2.882794)'))) / (select extract(epoch from '2026-06-21 16:05:06'::timestamp) - extract(epoch from '2026-06-21 16:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.749383 -2.882655)'), GeomFromEWKT('SRID=4674;POINT (-39.749494 -2.882794)'))) / (select extract(epoch from '2026-06-21 16:05:06'::timestamp) - extract(epoch from '2026-06-21 16:04: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'), 46821, 'SRID=4674;POINT (-39.749557 -2.882886)', '2026-06-21 16:05:11', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.749494 -2.882794)'), GeomFromEWKT('SRID=4674;POINT (-39.749557 -2.882886)'))) / (select extract(epoch from '2026-06-21 16:05:11'::timestamp) - extract(epoch from '2026-06-21 16:05:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.749494 -2.882794)'), GeomFromEWKT('SRID=4674;POINT (-39.749557 -2.882886)'))) / (select extract(epoch from '2026-06-21 16:05:11'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.749634 -2.882979)', '2026-06-21 16:05:16', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.749557 -2.882886)'), GeomFromEWKT('SRID=4674;POINT (-39.749634 -2.882979)'))) / (select extract(epoch from '2026-06-21 16:05:16'::timestamp) - extract(epoch from '2026-06-21 16:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.749557 -2.882886)'), GeomFromEWKT('SRID=4674;POINT (-39.749634 -2.882979)'))) / (select extract(epoch from '2026-06-21 16:05:16'::timestamp) - extract(epoch from '2026-06-21 16:05: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'), 46821, 'SRID=4674;POINT (-39.749729 -2.883087)', '2026-06-21 16:05:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.749634 -2.882979)'), GeomFromEWKT('SRID=4674;POINT (-39.749729 -2.883087)'))) / (select extract(epoch from '2026-06-21 16:05:22'::timestamp) - extract(epoch from '2026-06-21 16:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.749634 -2.882979)'), GeomFromEWKT('SRID=4674;POINT (-39.749729 -2.883087)'))) / (select extract(epoch from '2026-06-21 16:05:22'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.749815 -2.88319)', '2026-06-21 16:05:28', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.749729 -2.883087)'), GeomFromEWKT('SRID=4674;POINT (-39.749815 -2.88319)'))) / (select extract(epoch from '2026-06-21 16:05:28'::timestamp) - extract(epoch from '2026-06-21 16:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.749729 -2.883087)'), GeomFromEWKT('SRID=4674;POINT (-39.749815 -2.88319)'))) / (select extract(epoch from '2026-06-21 16:05:28'::timestamp) - extract(epoch from '2026-06-21 16:05: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'), 46821, 'SRID=4674;POINT (-39.749945 -2.883332)', '2026-06-21 16:05:36', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.749815 -2.88319)'), GeomFromEWKT('SRID=4674;POINT (-39.749945 -2.883332)'))) / (select extract(epoch from '2026-06-21 16:05:36'::timestamp) - extract(epoch from '2026-06-21 16:05:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.749815 -2.88319)'), GeomFromEWKT('SRID=4674;POINT (-39.749945 -2.883332)'))) / (select extract(epoch from '2026-06-21 16:05:36'::timestamp) - extract(epoch from '2026-06-21 16:05:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.750015 -2.883416)', '2026-06-21 16:05:41', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.749945 -2.883332)'), GeomFromEWKT('SRID=4674;POINT (-39.750015 -2.883416)'))) / (select extract(epoch from '2026-06-21 16:05:41'::timestamp) - extract(epoch from '2026-06-21 16:05:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.749945 -2.883332)'), GeomFromEWKT('SRID=4674;POINT (-39.750015 -2.883416)'))) / (select extract(epoch from '2026-06-21 16:05:41'::timestamp) - extract(epoch from '2026-06-21 16:05: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'), 46821, 'SRID=4674;POINT (-39.750109 -2.883523)', '2026-06-21 16:05:47', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.750015 -2.883416)'), GeomFromEWKT('SRID=4674;POINT (-39.750109 -2.883523)'))) / (select extract(epoch from '2026-06-21 16:05:47'::timestamp) - extract(epoch from '2026-06-21 16:05:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.750015 -2.883416)'), GeomFromEWKT('SRID=4674;POINT (-39.750109 -2.883523)'))) / (select extract(epoch from '2026-06-21 16:05:47'::timestamp) - extract(epoch from '2026-06-21 16:05:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.750178 -2.883612)', '2026-06-21 16:05:52', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.750109 -2.883523)'), GeomFromEWKT('SRID=4674;POINT (-39.750178 -2.883612)'))) / (select extract(epoch from '2026-06-21 16:05:52'::timestamp) - extract(epoch from '2026-06-21 16:05:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.750109 -2.883523)'), GeomFromEWKT('SRID=4674;POINT (-39.750178 -2.883612)'))) / (select extract(epoch from '2026-06-21 16:05:52'::timestamp) - extract(epoch from '2026-06-21 16:05: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'), 46821, 'SRID=4674;POINT (-39.750249 -2.883691)', '2026-06-21 16:05:57', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.750178 -2.883612)'), GeomFromEWKT('SRID=4674;POINT (-39.750249 -2.883691)'))) / (select extract(epoch from '2026-06-21 16:05:57'::timestamp) - extract(epoch from '2026-06-21 16:05:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.750178 -2.883612)'), GeomFromEWKT('SRID=4674;POINT (-39.750249 -2.883691)'))) / (select extract(epoch from '2026-06-21 16:05:57'::timestamp) - extract(epoch from '2026-06-21 16:05: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'), 46821, 'SRID=4674;POINT (-39.750316 -2.883771)', '2026-06-21 16:06:02', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.750249 -2.883691)'), GeomFromEWKT('SRID=4674;POINT (-39.750316 -2.883771)'))) / (select extract(epoch from '2026-06-21 16:06:02'::timestamp) - extract(epoch from '2026-06-21 16:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.750249 -2.883691)'), GeomFromEWKT('SRID=4674;POINT (-39.750316 -2.883771)'))) / (select extract(epoch from '2026-06-21 16:06:02'::timestamp) - extract(epoch from '2026-06-21 16:05:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.750411 -2.883892)', '2026-06-21 16:06:09', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.750316 -2.883771)'), GeomFromEWKT('SRID=4674;POINT (-39.750411 -2.883892)'))) / (select extract(epoch from '2026-06-21 16:06:09'::timestamp) - extract(epoch from '2026-06-21 16:06:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.750316 -2.883771)'), GeomFromEWKT('SRID=4674;POINT (-39.750411 -2.883892)'))) / (select extract(epoch from '2026-06-21 16:06:09'::timestamp) - extract(epoch from '2026-06-21 16:06: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'), 46821, 'SRID=4674;POINT (-39.75048 -2.883989)', '2026-06-21 16:06:14', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.750411 -2.883892)'), GeomFromEWKT('SRID=4674;POINT (-39.75048 -2.883989)'))) / (select extract(epoch from '2026-06-21 16:06:14'::timestamp) - extract(epoch from '2026-06-21 16:06:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.750411 -2.883892)'), GeomFromEWKT('SRID=4674;POINT (-39.75048 -2.883989)'))) / (select extract(epoch from '2026-06-21 16:06:14'::timestamp) - extract(epoch from '2026-06-21 16:06: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'), 46821, 'SRID=4674;POINT (-39.750559 -2.88412)', '2026-06-21 16:06:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.75048 -2.883989)'), GeomFromEWKT('SRID=4674;POINT (-39.750559 -2.88412)'))) / (select extract(epoch from '2026-06-21 16:06:20'::timestamp) - extract(epoch from '2026-06-21 16:06:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.75048 -2.883989)'), GeomFromEWKT('SRID=4674;POINT (-39.750559 -2.88412)'))) / (select extract(epoch from '2026-06-21 16:06:20'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.750674 -2.884277)', '2026-06-21 16:06:28', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.750559 -2.88412)'), GeomFromEWKT('SRID=4674;POINT (-39.750674 -2.884277)'))) / (select extract(epoch from '2026-06-21 16:06:28'::timestamp) - extract(epoch from '2026-06-21 16:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.750559 -2.88412)'), GeomFromEWKT('SRID=4674;POINT (-39.750674 -2.884277)'))) / (select extract(epoch from '2026-06-21 16:06:28'::timestamp) - extract(epoch from '2026-06-21 16:06:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.750801 -2.884429)', '2026-06-21 16:06:36', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.750674 -2.884277)'), GeomFromEWKT('SRID=4674;POINT (-39.750801 -2.884429)'))) / (select extract(epoch from '2026-06-21 16:06:36'::timestamp) - extract(epoch from '2026-06-21 16:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.750674 -2.884277)'), GeomFromEWKT('SRID=4674;POINT (-39.750801 -2.884429)'))) / (select extract(epoch from '2026-06-21 16:06:36'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.750918 -2.884555)', '2026-06-21 16:06:43', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.750801 -2.884429)'), GeomFromEWKT('SRID=4674;POINT (-39.750918 -2.884555)'))) / (select extract(epoch from '2026-06-21 16:06:43'::timestamp) - extract(epoch from '2026-06-21 16:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.750801 -2.884429)'), GeomFromEWKT('SRID=4674;POINT (-39.750918 -2.884555)'))) / (select extract(epoch from '2026-06-21 16:06:43'::timestamp) - extract(epoch from '2026-06-21 16:06: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'), 46821, 'SRID=4674;POINT (-39.751057 -2.884696)', '2026-06-21 16:06:51', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.750918 -2.884555)'), GeomFromEWKT('SRID=4674;POINT (-39.751057 -2.884696)'))) / (select extract(epoch from '2026-06-21 16:06:51'::timestamp) - extract(epoch from '2026-06-21 16:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.750918 -2.884555)'), GeomFromEWKT('SRID=4674;POINT (-39.751057 -2.884696)'))) / (select extract(epoch from '2026-06-21 16:06:51'::timestamp) - extract(epoch from '2026-06-21 16:06: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'), 46821, 'SRID=4674;POINT (-39.751145 -2.88478)', '2026-06-21 16:06:56', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.751057 -2.884696)'), GeomFromEWKT('SRID=4674;POINT (-39.751145 -2.88478)'))) / (select extract(epoch from '2026-06-21 16:06:56'::timestamp) - extract(epoch from '2026-06-21 16:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.751057 -2.884696)'), GeomFromEWKT('SRID=4674;POINT (-39.751145 -2.88478)'))) / (select extract(epoch from '2026-06-21 16:06:56'::timestamp) - extract(epoch from '2026-06-21 16:06: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'), 46821, 'SRID=4674;POINT (-39.751245 -2.884879)', '2026-06-21 16:07:02', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.751145 -2.88478)'), GeomFromEWKT('SRID=4674;POINT (-39.751245 -2.884879)'))) / (select extract(epoch from '2026-06-21 16:07:02'::timestamp) - extract(epoch from '2026-06-21 16:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.751145 -2.88478)'), GeomFromEWKT('SRID=4674;POINT (-39.751245 -2.884879)'))) / (select extract(epoch from '2026-06-21 16:07:02'::timestamp) - extract(epoch from '2026-06-21 16:06: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'), 46821, 'SRID=4674;POINT (-39.751352 -2.884998)', '2026-06-21 16:07:09', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.751245 -2.884879)'), GeomFromEWKT('SRID=4674;POINT (-39.751352 -2.884998)'))) / (select extract(epoch from '2026-06-21 16:07:09'::timestamp) - extract(epoch from '2026-06-21 16:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.751245 -2.884879)'), GeomFromEWKT('SRID=4674;POINT (-39.751352 -2.884998)'))) / (select extract(epoch from '2026-06-21 16:07:09'::timestamp) - extract(epoch from '2026-06-21 16:07: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'), 46821, 'SRID=4674;POINT (-39.751463 -2.885112)', '2026-06-21 16:07:16', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.751352 -2.884998)'), GeomFromEWKT('SRID=4674;POINT (-39.751463 -2.885112)'))) / (select extract(epoch from '2026-06-21 16:07:16'::timestamp) - extract(epoch from '2026-06-21 16:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.751352 -2.884998)'), GeomFromEWKT('SRID=4674;POINT (-39.751463 -2.885112)'))) / (select extract(epoch from '2026-06-21 16:07:16'::timestamp) - extract(epoch from '2026-06-21 16:07: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'), 46821, 'SRID=4674;POINT (-39.751497 -2.885149)', '2026-06-21 16:07:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.751463 -2.885112)'), GeomFromEWKT('SRID=4674;POINT (-39.751497 -2.885149)'))) / (select extract(epoch from '2026-06-21 16:07:18'::timestamp) - extract(epoch from '2026-06-21 16:07:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.751463 -2.885112)'), GeomFromEWKT('SRID=4674;POINT (-39.751497 -2.885149)'))) / (select extract(epoch from '2026-06-21 16:07:18'::timestamp) - extract(epoch from '2026-06-21 16:07: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'), 46821, 'SRID=4674;POINT (-39.751513 -2.885187)', '2026-06-21 16:07:20', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.751497 -2.885149)'), GeomFromEWKT('SRID=4674;POINT (-39.751513 -2.885187)'))) / (select extract(epoch from '2026-06-21 16:07:20'::timestamp) - extract(epoch from '2026-06-21 16:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.751497 -2.885149)'), GeomFromEWKT('SRID=4674;POINT (-39.751513 -2.885187)'))) / (select extract(epoch from '2026-06-21 16:07:20'::timestamp) - extract(epoch from '2026-06-21 16:07: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'), 46821, 'SRID=4674;POINT (-39.751572 -2.885264)', '2026-06-21 16:07:24', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.751513 -2.885187)'), GeomFromEWKT('SRID=4674;POINT (-39.751572 -2.885264)'))) / (select extract(epoch from '2026-06-21 16:07:24'::timestamp) - extract(epoch from '2026-06-21 16:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.751513 -2.885187)'), GeomFromEWKT('SRID=4674;POINT (-39.751572 -2.885264)'))) / (select extract(epoch from '2026-06-21 16:07:24'::timestamp) - extract(epoch from '2026-06-21 16:07: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'), 46821, 'SRID=4674;POINT (-39.751638 -2.885357)', '2026-06-21 16:07:29', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.751572 -2.885264)'), GeomFromEWKT('SRID=4674;POINT (-39.751638 -2.885357)'))) / (select extract(epoch from '2026-06-21 16:07:29'::timestamp) - extract(epoch from '2026-06-21 16:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.751572 -2.885264)'), GeomFromEWKT('SRID=4674;POINT (-39.751638 -2.885357)'))) / (select extract(epoch from '2026-06-21 16:07:29'::timestamp) - extract(epoch from '2026-06-21 16:07: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'), 46821, 'SRID=4674;POINT (-39.751751 -2.885488)', '2026-06-21 16:07:36', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.751638 -2.885357)'), GeomFromEWKT('SRID=4674;POINT (-39.751751 -2.885488)'))) / (select extract(epoch from '2026-06-21 16:07:36'::timestamp) - extract(epoch from '2026-06-21 16:07:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.751638 -2.885357)'), GeomFromEWKT('SRID=4674;POINT (-39.751751 -2.885488)'))) / (select extract(epoch from '2026-06-21 16:07:36'::timestamp) - extract(epoch from '2026-06-21 16:07:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.751883 -2.88563)', '2026-06-21 16:07:44', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.751751 -2.885488)'), GeomFromEWKT('SRID=4674;POINT (-39.751883 -2.88563)'))) / (select extract(epoch from '2026-06-21 16:07:44'::timestamp) - extract(epoch from '2026-06-21 16:07:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.751751 -2.885488)'), GeomFromEWKT('SRID=4674;POINT (-39.751883 -2.88563)'))) / (select extract(epoch from '2026-06-21 16:07:44'::timestamp) - extract(epoch from '2026-06-21 16:07: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'), 46821, 'SRID=4674;POINT (-39.751967 -2.885746)', '2026-06-21 16:07:50', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.751883 -2.88563)'), GeomFromEWKT('SRID=4674;POINT (-39.751967 -2.885746)'))) / (select extract(epoch from '2026-06-21 16:07:50'::timestamp) - extract(epoch from '2026-06-21 16:07:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.751883 -2.88563)'), GeomFromEWKT('SRID=4674;POINT (-39.751967 -2.885746)'))) / (select extract(epoch from '2026-06-21 16:07:50'::timestamp) - extract(epoch from '2026-06-21 16:07:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.752066 -2.885856)', '2026-06-21 16:07:56', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.751967 -2.885746)'), GeomFromEWKT('SRID=4674;POINT (-39.752066 -2.885856)'))) / (select extract(epoch from '2026-06-21 16:07:56'::timestamp) - extract(epoch from '2026-06-21 16:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.751967 -2.885746)'), GeomFromEWKT('SRID=4674;POINT (-39.752066 -2.885856)'))) / (select extract(epoch from '2026-06-21 16:07:56'::timestamp) - extract(epoch from '2026-06-21 16:07: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'), 46821, 'SRID=4674;POINT (-39.75209 -2.885889)', '2026-06-21 16:07:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.752066 -2.885856)'), GeomFromEWKT('SRID=4674;POINT (-39.75209 -2.885889)'))) / (select extract(epoch from '2026-06-21 16:07:58'::timestamp) - extract(epoch from '2026-06-21 16:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.752066 -2.885856)'), GeomFromEWKT('SRID=4674;POINT (-39.75209 -2.885889)'))) / (select extract(epoch from '2026-06-21 16:07:58'::timestamp) - extract(epoch from '2026-06-21 16:07: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'), 46821, 'SRID=4674;POINT (-39.752124 -2.885947)', '2026-06-21 16:08:01', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.75209 -2.885889)'), GeomFromEWKT('SRID=4674;POINT (-39.752124 -2.885947)'))) / (select extract(epoch from '2026-06-21 16:08:01'::timestamp) - extract(epoch from '2026-06-21 16:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.75209 -2.885889)'), GeomFromEWKT('SRID=4674;POINT (-39.752124 -2.885947)'))) / (select extract(epoch from '2026-06-21 16:08:01'::timestamp) - extract(epoch from '2026-06-21 16:07:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.752191 -2.886046)', '2026-06-21 16:08:06', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.752124 -2.885947)'), GeomFromEWKT('SRID=4674;POINT (-39.752191 -2.886046)'))) / (select extract(epoch from '2026-06-21 16:08:06'::timestamp) - extract(epoch from '2026-06-21 16:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.752124 -2.885947)'), GeomFromEWKT('SRID=4674;POINT (-39.752191 -2.886046)'))) / (select extract(epoch from '2026-06-21 16:08:06'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.752269 -2.886138)', '2026-06-21 16:08:11', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.752191 -2.886046)'), GeomFromEWKT('SRID=4674;POINT (-39.752269 -2.886138)'))) / (select extract(epoch from '2026-06-21 16:08:11'::timestamp) - extract(epoch from '2026-06-21 16:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.752191 -2.886046)'), GeomFromEWKT('SRID=4674;POINT (-39.752269 -2.886138)'))) / (select extract(epoch from '2026-06-21 16:08:11'::timestamp) - extract(epoch from '2026-06-21 16:08: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'), 46821, 'SRID=4674;POINT (-39.752358 -2.88623)', '2026-06-21 16:08:16', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.752269 -2.886138)'), GeomFromEWKT('SRID=4674;POINT (-39.752358 -2.88623)'))) / (select extract(epoch from '2026-06-21 16:08:16'::timestamp) - extract(epoch from '2026-06-21 16:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.752269 -2.886138)'), GeomFromEWKT('SRID=4674;POINT (-39.752358 -2.88623)'))) / (select extract(epoch from '2026-06-21 16:08:16'::timestamp) - extract(epoch from '2026-06-21 16:08: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'), 46821, 'SRID=4674;POINT (-39.75244 -2.886324)', '2026-06-21 16:08:21', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.752358 -2.88623)'), GeomFromEWKT('SRID=4674;POINT (-39.75244 -2.886324)'))) / (select extract(epoch from '2026-06-21 16:08:21'::timestamp) - extract(epoch from '2026-06-21 16:08:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.752358 -2.88623)'), GeomFromEWKT('SRID=4674;POINT (-39.75244 -2.886324)'))) / (select extract(epoch from '2026-06-21 16:08:21'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.75247 -2.886377)', '2026-06-21 16:08:24', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.75244 -2.886324)'), GeomFromEWKT('SRID=4674;POINT (-39.75247 -2.886377)'))) / (select extract(epoch from '2026-06-21 16:08:24'::timestamp) - extract(epoch from '2026-06-21 16:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.75244 -2.886324)'), GeomFromEWKT('SRID=4674;POINT (-39.75247 -2.886377)'))) / (select extract(epoch from '2026-06-21 16:08:24'::timestamp) - extract(epoch from '2026-06-21 16:08: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'), 46821, 'SRID=4674;POINT (-39.752486 -2.886393)', '2026-06-21 16:08:25', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.75247 -2.886377)'), GeomFromEWKT('SRID=4674;POINT (-39.752486 -2.886393)'))) / (select extract(epoch from '2026-06-21 16:08:25'::timestamp) - extract(epoch from '2026-06-21 16:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.75247 -2.886377)'), GeomFromEWKT('SRID=4674;POINT (-39.752486 -2.886393)'))) / (select extract(epoch from '2026-06-21 16:08:25'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.75257 -2.886487)', '2026-06-21 16:08:31', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.752486 -2.886393)'), GeomFromEWKT('SRID=4674;POINT (-39.75257 -2.886487)'))) / (select extract(epoch from '2026-06-21 16:08:31'::timestamp) - extract(epoch from '2026-06-21 16:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.752486 -2.886393)'), GeomFromEWKT('SRID=4674;POINT (-39.75257 -2.886487)'))) / (select extract(epoch from '2026-06-21 16:08:31'::timestamp) - extract(epoch from '2026-06-21 16:08: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'), 46821, 'SRID=4674;POINT (-39.75265 -2.886575)', '2026-06-21 16:08:36', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.75257 -2.886487)'), GeomFromEWKT('SRID=4674;POINT (-39.75265 -2.886575)'))) / (select extract(epoch from '2026-06-21 16:08:36'::timestamp) - extract(epoch from '2026-06-21 16:08:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.75257 -2.886487)'), GeomFromEWKT('SRID=4674;POINT (-39.75265 -2.886575)'))) / (select extract(epoch from '2026-06-21 16:08:36'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.752709 -2.886653)', '2026-06-21 16:08:41', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.75265 -2.886575)'), GeomFromEWKT('SRID=4674;POINT (-39.752709 -2.886653)'))) / (select extract(epoch from '2026-06-21 16:08:41'::timestamp) - extract(epoch from '2026-06-21 16:08:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.75265 -2.886575)'), GeomFromEWKT('SRID=4674;POINT (-39.752709 -2.886653)'))) / (select extract(epoch from '2026-06-21 16:08:41'::timestamp) - extract(epoch from '2026-06-21 16:08:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.75277 -2.88672)', '2026-06-21 16:08:45', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.752709 -2.886653)'), GeomFromEWKT('SRID=4674;POINT (-39.75277 -2.88672)'))) / (select extract(epoch from '2026-06-21 16:08:45'::timestamp) - extract(epoch from '2026-06-21 16:08:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.752709 -2.886653)'), GeomFromEWKT('SRID=4674;POINT (-39.75277 -2.88672)'))) / (select extract(epoch from '2026-06-21 16:08:45'::timestamp) - extract(epoch from '2026-06-21 16:08:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.752782 -2.886738)', '2026-06-21 16:08:46', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.75277 -2.88672)'), GeomFromEWKT('SRID=4674;POINT (-39.752782 -2.886738)'))) / (select extract(epoch from '2026-06-21 16:08:46'::timestamp) - extract(epoch from '2026-06-21 16:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.75277 -2.88672)'), GeomFromEWKT('SRID=4674;POINT (-39.752782 -2.886738)'))) / (select extract(epoch from '2026-06-21 16:08:46'::timestamp) - extract(epoch from '2026-06-21 16:08:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.752863 -2.886831)', '2026-06-21 16:08:51', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.752782 -2.886738)'), GeomFromEWKT('SRID=4674;POINT (-39.752863 -2.886831)'))) / (select extract(epoch from '2026-06-21 16:08:51'::timestamp) - extract(epoch from '2026-06-21 16:08:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.752782 -2.886738)'), GeomFromEWKT('SRID=4674;POINT (-39.752863 -2.886831)'))) / (select extract(epoch from '2026-06-21 16:08:51'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.75293 -2.886922)', '2026-06-21 16:08:56', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.752863 -2.886831)'), GeomFromEWKT('SRID=4674;POINT (-39.75293 -2.886922)'))) / (select extract(epoch from '2026-06-21 16:08:56'::timestamp) - extract(epoch from '2026-06-21 16:08:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.752863 -2.886831)'), GeomFromEWKT('SRID=4674;POINT (-39.75293 -2.886922)'))) / (select extract(epoch from '2026-06-21 16:08:56'::timestamp) - extract(epoch from '2026-06-21 16:08: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'), 46821, 'SRID=4674;POINT (-39.753002 -2.887023)', '2026-06-21 16:09:01', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.75293 -2.886922)'), GeomFromEWKT('SRID=4674;POINT (-39.753002 -2.887023)'))) / (select extract(epoch from '2026-06-21 16:09:01'::timestamp) - extract(epoch from '2026-06-21 16:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.75293 -2.886922)'), GeomFromEWKT('SRID=4674;POINT (-39.753002 -2.887023)'))) / (select extract(epoch from '2026-06-21 16:09:01'::timestamp) - extract(epoch from '2026-06-21 16:08:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.753068 -2.887102)', '2026-06-21 16:09:05', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.753002 -2.887023)'), GeomFromEWKT('SRID=4674;POINT (-39.753068 -2.887102)'))) / (select extract(epoch from '2026-06-21 16:09:05'::timestamp) - extract(epoch from '2026-06-21 16:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.753002 -2.887023)'), GeomFromEWKT('SRID=4674;POINT (-39.753068 -2.887102)'))) / (select extract(epoch from '2026-06-21 16:09:05'::timestamp) - extract(epoch from '2026-06-21 16:09:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.753139 -2.887198)', '2026-06-21 16:09:10', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.753068 -2.887102)'), GeomFromEWKT('SRID=4674;POINT (-39.753139 -2.887198)'))) / (select extract(epoch from '2026-06-21 16:09:10'::timestamp) - extract(epoch from '2026-06-21 16:09:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.753068 -2.887102)'), GeomFromEWKT('SRID=4674;POINT (-39.753139 -2.887198)'))) / (select extract(epoch from '2026-06-21 16:09:10'::timestamp) - extract(epoch from '2026-06-21 16:09: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'), 46821, 'SRID=4674;POINT (-39.753206 -2.887281)', '2026-06-21 16:09:14', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.753139 -2.887198)'), GeomFromEWKT('SRID=4674;POINT (-39.753206 -2.887281)'))) / (select extract(epoch from '2026-06-21 16:09:14'::timestamp) - extract(epoch from '2026-06-21 16:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.753139 -2.887198)'), GeomFromEWKT('SRID=4674;POINT (-39.753206 -2.887281)'))) / (select extract(epoch from '2026-06-21 16:09:14'::timestamp) - extract(epoch from '2026-06-21 16:09: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'), 46821, 'SRID=4674;POINT (-39.753293 -2.887393)', '2026-06-21 16:09:20', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.753206 -2.887281)'), GeomFromEWKT('SRID=4674;POINT (-39.753293 -2.887393)'))) / (select extract(epoch from '2026-06-21 16:09:20'::timestamp) - extract(epoch from '2026-06-21 16:09:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.753206 -2.887281)'), GeomFromEWKT('SRID=4674;POINT (-39.753293 -2.887393)'))) / (select extract(epoch from '2026-06-21 16:09:20'::timestamp) - extract(epoch from '2026-06-21 16:09:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.753393 -2.887522)', '2026-06-21 16:09:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.753293 -2.887393)'), GeomFromEWKT('SRID=4674;POINT (-39.753393 -2.887522)'))) / (select extract(epoch from '2026-06-21 16:09:27'::timestamp) - extract(epoch from '2026-06-21 16:09:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.753293 -2.887393)'), GeomFromEWKT('SRID=4674;POINT (-39.753393 -2.887522)'))) / (select extract(epoch from '2026-06-21 16:09:27'::timestamp) - extract(epoch from '2026-06-21 16:09:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.753477 -2.887604)', '2026-06-21 16:09:32', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.753393 -2.887522)'), GeomFromEWKT('SRID=4674;POINT (-39.753477 -2.887604)'))) / (select extract(epoch from '2026-06-21 16:09:32'::timestamp) - extract(epoch from '2026-06-21 16:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.753393 -2.887522)'), GeomFromEWKT('SRID=4674;POINT (-39.753477 -2.887604)'))) / (select extract(epoch from '2026-06-21 16:09:32'::timestamp) - extract(epoch from '2026-06-21 16:09: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'), 46821, 'SRID=4674;POINT (-39.753489 -2.887622)', '2026-06-21 16:09:33', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.753477 -2.887604)'), GeomFromEWKT('SRID=4674;POINT (-39.753489 -2.887622)'))) / (select extract(epoch from '2026-06-21 16:09:33'::timestamp) - extract(epoch from '2026-06-21 16:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.753477 -2.887604)'), GeomFromEWKT('SRID=4674;POINT (-39.753489 -2.887622)'))) / (select extract(epoch from '2026-06-21 16:09:33'::timestamp) - extract(epoch from '2026-06-21 16:09: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'), 46821, 'SRID=4674;POINT (-39.753563 -2.887709)', '2026-06-21 16:09:38', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.753489 -2.887622)'), GeomFromEWKT('SRID=4674;POINT (-39.753563 -2.887709)'))) / (select extract(epoch from '2026-06-21 16:09:38'::timestamp) - extract(epoch from '2026-06-21 16:09:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.753489 -2.887622)'), GeomFromEWKT('SRID=4674;POINT (-39.753563 -2.887709)'))) / (select extract(epoch from '2026-06-21 16:09:38'::timestamp) - extract(epoch from '2026-06-21 16:09: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'), 46821, 'SRID=4674;POINT (-39.753635 -2.887796)', '2026-06-21 16:09:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.753563 -2.887709)'), GeomFromEWKT('SRID=4674;POINT (-39.753635 -2.887796)'))) / (select extract(epoch from '2026-06-21 16:09:43'::timestamp) - extract(epoch from '2026-06-21 16:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.753563 -2.887709)'), GeomFromEWKT('SRID=4674;POINT (-39.753635 -2.887796)'))) / (select extract(epoch from '2026-06-21 16:09:43'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.753736 -2.887931)', '2026-06-21 16:09:50', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.753635 -2.887796)'), GeomFromEWKT('SRID=4674;POINT (-39.753736 -2.887931)'))) / (select extract(epoch from '2026-06-21 16:09:50'::timestamp) - extract(epoch from '2026-06-21 16:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.753635 -2.887796)'), GeomFromEWKT('SRID=4674;POINT (-39.753736 -2.887931)'))) / (select extract(epoch from '2026-06-21 16:09:50'::timestamp) - extract(epoch from '2026-06-21 16:09: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'), 46821, 'SRID=4674;POINT (-39.753806 -2.888024)', '2026-06-21 16:09:55', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.753736 -2.887931)'), GeomFromEWKT('SRID=4674;POINT (-39.753806 -2.888024)'))) / (select extract(epoch from '2026-06-21 16:09:55'::timestamp) - extract(epoch from '2026-06-21 16:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.753736 -2.887931)'), GeomFromEWKT('SRID=4674;POINT (-39.753806 -2.888024)'))) / (select extract(epoch from '2026-06-21 16:09:55'::timestamp) - extract(epoch from '2026-06-21 16:09: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'), 46821, 'SRID=4674;POINT (-39.753892 -2.888143)', '2026-06-21 16:10:01', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.753806 -2.888024)'), GeomFromEWKT('SRID=4674;POINT (-39.753892 -2.888143)'))) / (select extract(epoch from '2026-06-21 16:10:01'::timestamp) - extract(epoch from '2026-06-21 16:09:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.753806 -2.888024)'), GeomFromEWKT('SRID=4674;POINT (-39.753892 -2.888143)'))) / (select extract(epoch from '2026-06-21 16:10:01'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.753992 -2.88827)', '2026-06-21 16:10:07', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.753892 -2.888143)'), GeomFromEWKT('SRID=4674;POINT (-39.753992 -2.88827)'))) / (select extract(epoch from '2026-06-21 16:10:07'::timestamp) - extract(epoch from '2026-06-21 16:10:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.753892 -2.888143)'), GeomFromEWKT('SRID=4674;POINT (-39.753992 -2.88827)'))) / (select extract(epoch from '2026-06-21 16:10:07'::timestamp) - extract(epoch from '2026-06-21 16:10: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'), 46821, 'SRID=4674;POINT (-39.754064 -2.888367)', '2026-06-21 16:10:12', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.753992 -2.88827)'), GeomFromEWKT('SRID=4674;POINT (-39.754064 -2.888367)'))) / (select extract(epoch from '2026-06-21 16:10:12'::timestamp) - extract(epoch from '2026-06-21 16:10:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.753992 -2.88827)'), GeomFromEWKT('SRID=4674;POINT (-39.754064 -2.888367)'))) / (select extract(epoch from '2026-06-21 16:10:12'::timestamp) - extract(epoch from '2026-06-21 16:10:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.754164 -2.888476)', '2026-06-21 16:10:18', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.754064 -2.888367)'), GeomFromEWKT('SRID=4674;POINT (-39.754164 -2.888476)'))) / (select extract(epoch from '2026-06-21 16:10:18'::timestamp) - extract(epoch from '2026-06-21 16:10:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.754064 -2.888367)'), GeomFromEWKT('SRID=4674;POINT (-39.754164 -2.888476)'))) / (select extract(epoch from '2026-06-21 16:10:18'::timestamp) - extract(epoch from '2026-06-21 16:10: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'), 46821, 'SRID=4674;POINT (-39.754221 -2.888579)', '2026-06-21 16:10:23', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.754164 -2.888476)'), GeomFromEWKT('SRID=4674;POINT (-39.754221 -2.888579)'))) / (select extract(epoch from '2026-06-21 16:10:23'::timestamp) - extract(epoch from '2026-06-21 16:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.754164 -2.888476)'), GeomFromEWKT('SRID=4674;POINT (-39.754221 -2.888579)'))) / (select extract(epoch from '2026-06-21 16:10:23'::timestamp) - extract(epoch from '2026-06-21 16:10:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.754301 -2.888711)', '2026-06-21 16:10:29', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.754221 -2.888579)'), GeomFromEWKT('SRID=4674;POINT (-39.754301 -2.888711)'))) / (select extract(epoch from '2026-06-21 16:10:29'::timestamp) - extract(epoch from '2026-06-21 16:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.754221 -2.888579)'), GeomFromEWKT('SRID=4674;POINT (-39.754301 -2.888711)'))) / (select extract(epoch from '2026-06-21 16:10:29'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.754414 -2.888856)', '2026-06-21 16:10:36', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.754301 -2.888711)'), GeomFromEWKT('SRID=4674;POINT (-39.754414 -2.888856)'))) / (select extract(epoch from '2026-06-21 16:10:36'::timestamp) - extract(epoch from '2026-06-21 16:10:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.754301 -2.888711)'), GeomFromEWKT('SRID=4674;POINT (-39.754414 -2.888856)'))) / (select extract(epoch from '2026-06-21 16:10:36'::timestamp) - extract(epoch from '2026-06-21 16:10:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.75449 -2.888948)', '2026-06-21 16:10:41', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.754414 -2.888856)'), GeomFromEWKT('SRID=4674;POINT (-39.75449 -2.888948)'))) / (select extract(epoch from '2026-06-21 16:10:41'::timestamp) - extract(epoch from '2026-06-21 16:10:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.754414 -2.888856)'), GeomFromEWKT('SRID=4674;POINT (-39.75449 -2.888948)'))) / (select extract(epoch from '2026-06-21 16:10:41'::timestamp) - extract(epoch from '2026-06-21 16:10: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'), 46821, 'SRID=4674;POINT (-39.754567 -2.889045)', '2026-06-21 16:10:46', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.75449 -2.888948)'), GeomFromEWKT('SRID=4674;POINT (-39.754567 -2.889045)'))) / (select extract(epoch from '2026-06-21 16:10:46'::timestamp) - extract(epoch from '2026-06-21 16:10:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.75449 -2.888948)'), GeomFromEWKT('SRID=4674;POINT (-39.754567 -2.889045)'))) / (select extract(epoch from '2026-06-21 16:10:46'::timestamp) - extract(epoch from '2026-06-21 16:10: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'), 46821, 'SRID=4674;POINT (-39.754653 -2.889133)', '2026-06-21 16:10:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.754567 -2.889045)'), GeomFromEWKT('SRID=4674;POINT (-39.754653 -2.889133)'))) / (select extract(epoch from '2026-06-21 16:10:51'::timestamp) - extract(epoch from '2026-06-21 16:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.754567 -2.889045)'), GeomFromEWKT('SRID=4674;POINT (-39.754653 -2.889133)'))) / (select extract(epoch from '2026-06-21 16:10:51'::timestamp) - extract(epoch from '2026-06-21 16:10: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'), 46821, 'SRID=4674;POINT (-39.754727 -2.889216)', '2026-06-21 16:10:56', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.754653 -2.889133)'), GeomFromEWKT('SRID=4674;POINT (-39.754727 -2.889216)'))) / (select extract(epoch from '2026-06-21 16:10:56'::timestamp) - extract(epoch from '2026-06-21 16:10:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.754653 -2.889133)'), GeomFromEWKT('SRID=4674;POINT (-39.754727 -2.889216)'))) / (select extract(epoch from '2026-06-21 16:10:56'::timestamp) - extract(epoch from '2026-06-21 16:10:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.754796 -2.889299)', '2026-06-21 16:11:01', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.754727 -2.889216)'), GeomFromEWKT('SRID=4674;POINT (-39.754796 -2.889299)'))) / (select extract(epoch from '2026-06-21 16:11:01'::timestamp) - extract(epoch from '2026-06-21 16:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.754727 -2.889216)'), GeomFromEWKT('SRID=4674;POINT (-39.754796 -2.889299)'))) / (select extract(epoch from '2026-06-21 16:11:01'::timestamp) - extract(epoch from '2026-06-21 16:10:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.754863 -2.889378)', '2026-06-21 16:11:06', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.754796 -2.889299)'), GeomFromEWKT('SRID=4674;POINT (-39.754863 -2.889378)'))) / (select extract(epoch from '2026-06-21 16:11:06'::timestamp) - extract(epoch from '2026-06-21 16:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.754796 -2.889299)'), GeomFromEWKT('SRID=4674;POINT (-39.754863 -2.889378)'))) / (select extract(epoch from '2026-06-21 16:11:06'::timestamp) - extract(epoch from '2026-06-21 16:11:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.754917 -2.889453)', '2026-06-21 16:11:10', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.754863 -2.889378)'), GeomFromEWKT('SRID=4674;POINT (-39.754917 -2.889453)'))) / (select extract(epoch from '2026-06-21 16:11:10'::timestamp) - extract(epoch from '2026-06-21 16:11:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.754863 -2.889378)'), GeomFromEWKT('SRID=4674;POINT (-39.754917 -2.889453)'))) / (select extract(epoch from '2026-06-21 16:11:10'::timestamp) - extract(epoch from '2026-06-21 16:11:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.754979 -2.889552)', '2026-06-21 16:11:15', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.754917 -2.889453)'), GeomFromEWKT('SRID=4674;POINT (-39.754979 -2.889552)'))) / (select extract(epoch from '2026-06-21 16:11:15'::timestamp) - extract(epoch from '2026-06-21 16:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.754917 -2.889453)'), GeomFromEWKT('SRID=4674;POINT (-39.754979 -2.889552)'))) / (select extract(epoch from '2026-06-21 16:11:15'::timestamp) - extract(epoch from '2026-06-21 16:11: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'), 46821, 'SRID=4674;POINT (-39.755053 -2.889663)', '2026-06-21 16:11:21', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.754979 -2.889552)'), GeomFromEWKT('SRID=4674;POINT (-39.755053 -2.889663)'))) / (select extract(epoch from '2026-06-21 16:11:21'::timestamp) - extract(epoch from '2026-06-21 16:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.754979 -2.889552)'), GeomFromEWKT('SRID=4674;POINT (-39.755053 -2.889663)'))) / (select extract(epoch from '2026-06-21 16:11:21'::timestamp) - extract(epoch from '2026-06-21 16:11:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.755127 -2.889773)', '2026-06-21 16:11:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.755053 -2.889663)'), GeomFromEWKT('SRID=4674;POINT (-39.755127 -2.889773)'))) / (select extract(epoch from '2026-06-21 16:11:27'::timestamp) - extract(epoch from '2026-06-21 16:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.755053 -2.889663)'), GeomFromEWKT('SRID=4674;POINT (-39.755127 -2.889773)'))) / (select extract(epoch from '2026-06-21 16:11:27'::timestamp) - extract(epoch from '2026-06-21 16:11:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.755213 -2.889894)', '2026-06-21 16:11:34', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.755127 -2.889773)'), GeomFromEWKT('SRID=4674;POINT (-39.755213 -2.889894)'))) / (select extract(epoch from '2026-06-21 16:11:34'::timestamp) - extract(epoch from '2026-06-21 16:11:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.755127 -2.889773)'), GeomFromEWKT('SRID=4674;POINT (-39.755213 -2.889894)'))) / (select extract(epoch from '2026-06-21 16:11:34'::timestamp) - extract(epoch from '2026-06-21 16:11:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.755287 -2.88999)', '2026-06-21 16:11:39', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.755213 -2.889894)'), GeomFromEWKT('SRID=4674;POINT (-39.755287 -2.88999)'))) / (select extract(epoch from '2026-06-21 16:11:39'::timestamp) - extract(epoch from '2026-06-21 16:11:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.755213 -2.889894)'), GeomFromEWKT('SRID=4674;POINT (-39.755287 -2.88999)'))) / (select extract(epoch from '2026-06-21 16:11:39'::timestamp) - extract(epoch from '2026-06-21 16:11: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'), 46821, 'SRID=4674;POINT (-39.755354 -2.890078)', '2026-06-21 16:11:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.755287 -2.88999)'), GeomFromEWKT('SRID=4674;POINT (-39.755354 -2.890078)'))) / (select extract(epoch from '2026-06-21 16:11:44'::timestamp) - extract(epoch from '2026-06-21 16:11:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.755287 -2.88999)'), GeomFromEWKT('SRID=4674;POINT (-39.755354 -2.890078)'))) / (select extract(epoch from '2026-06-21 16:11:44'::timestamp) - extract(epoch from '2026-06-21 16:11: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'), 46821, 'SRID=4674;POINT (-39.755423 -2.890171)', '2026-06-21 16:11:49', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.755354 -2.890078)'), GeomFromEWKT('SRID=4674;POINT (-39.755423 -2.890171)'))) / (select extract(epoch from '2026-06-21 16:11:49'::timestamp) - extract(epoch from '2026-06-21 16:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.755354 -2.890078)'), GeomFromEWKT('SRID=4674;POINT (-39.755423 -2.890171)'))) / (select extract(epoch from '2026-06-21 16:11:49'::timestamp) - extract(epoch from '2026-06-21 16:11: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'), 46821, 'SRID=4674;POINT (-39.755515 -2.890286)', '2026-06-21 16:11:55', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.755423 -2.890171)'), GeomFromEWKT('SRID=4674;POINT (-39.755515 -2.890286)'))) / (select extract(epoch from '2026-06-21 16:11:55'::timestamp) - extract(epoch from '2026-06-21 16:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.755423 -2.890171)'), GeomFromEWKT('SRID=4674;POINT (-39.755515 -2.890286)'))) / (select extract(epoch from '2026-06-21 16:11:55'::timestamp) - extract(epoch from '2026-06-21 16:11: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'), 46821, 'SRID=4674;POINT (-39.755588 -2.890387)', '2026-06-21 16:12:00', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.755515 -2.890286)'), GeomFromEWKT('SRID=4674;POINT (-39.755588 -2.890387)'))) / (select extract(epoch from '2026-06-21 16:12:00'::timestamp) - extract(epoch from '2026-06-21 16:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.755515 -2.890286)'), GeomFromEWKT('SRID=4674;POINT (-39.755588 -2.890387)'))) / (select extract(epoch from '2026-06-21 16:12:00'::timestamp) - extract(epoch from '2026-06-21 16:11: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'), 46821, 'SRID=4674;POINT (-39.755668 -2.890503)', '2026-06-21 16:12:06', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.755588 -2.890387)'), GeomFromEWKT('SRID=4674;POINT (-39.755668 -2.890503)'))) / (select extract(epoch from '2026-06-21 16:12:06'::timestamp) - extract(epoch from '2026-06-21 16:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.755588 -2.890387)'), GeomFromEWKT('SRID=4674;POINT (-39.755668 -2.890503)'))) / (select extract(epoch from '2026-06-21 16:12:06'::timestamp) - extract(epoch from '2026-06-21 16:12: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'), 46821, 'SRID=4674;POINT (-39.75576 -2.890639)', '2026-06-21 16:12:13', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.755668 -2.890503)'), GeomFromEWKT('SRID=4674;POINT (-39.75576 -2.890639)'))) / (select extract(epoch from '2026-06-21 16:12:13'::timestamp) - extract(epoch from '2026-06-21 16:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.755668 -2.890503)'), GeomFromEWKT('SRID=4674;POINT (-39.75576 -2.890639)'))) / (select extract(epoch from '2026-06-21 16:12:13'::timestamp) - extract(epoch from '2026-06-21 16:12: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'), 46821, 'SRID=4674;POINT (-39.755838 -2.89073)', '2026-06-21 16:12:18', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.75576 -2.890639)'), GeomFromEWKT('SRID=4674;POINT (-39.755838 -2.89073)'))) / (select extract(epoch from '2026-06-21 16:12:18'::timestamp) - extract(epoch from '2026-06-21 16:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.75576 -2.890639)'), GeomFromEWKT('SRID=4674;POINT (-39.755838 -2.89073)'))) / (select extract(epoch from '2026-06-21 16:12:18'::timestamp) - extract(epoch from '2026-06-21 16:12: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'), 46821, 'SRID=4674;POINT (-39.755894 -2.890803)', '2026-06-21 16:12:22', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.755838 -2.89073)'), GeomFromEWKT('SRID=4674;POINT (-39.755894 -2.890803)'))) / (select extract(epoch from '2026-06-21 16:12:22'::timestamp) - extract(epoch from '2026-06-21 16:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.755838 -2.89073)'), GeomFromEWKT('SRID=4674;POINT (-39.755894 -2.890803)'))) / (select extract(epoch from '2026-06-21 16:12:22'::timestamp) - extract(epoch from '2026-06-21 16:12: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'), 46821, 'SRID=4674;POINT (-39.755962 -2.890903)', '2026-06-21 16:12:27', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.755894 -2.890803)'), GeomFromEWKT('SRID=4674;POINT (-39.755962 -2.890903)'))) / (select extract(epoch from '2026-06-21 16:12:27'::timestamp) - extract(epoch from '2026-06-21 16:12:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.755894 -2.890803)'), GeomFromEWKT('SRID=4674;POINT (-39.755962 -2.890903)'))) / (select extract(epoch from '2026-06-21 16:12:27'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.756023 -2.890998)', '2026-06-21 16:12:32', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.755962 -2.890903)'), GeomFromEWKT('SRID=4674;POINT (-39.756023 -2.890998)'))) / (select extract(epoch from '2026-06-21 16:12:32'::timestamp) - extract(epoch from '2026-06-21 16:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.755962 -2.890903)'), GeomFromEWKT('SRID=4674;POINT (-39.756023 -2.890998)'))) / (select extract(epoch from '2026-06-21 16:12:32'::timestamp) - extract(epoch from '2026-06-21 16:12:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.756118 -2.891108)', '2026-06-21 16:12:38', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.756023 -2.890998)'), GeomFromEWKT('SRID=4674;POINT (-39.756118 -2.891108)'))) / (select extract(epoch from '2026-06-21 16:12:38'::timestamp) - extract(epoch from '2026-06-21 16:12:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.756023 -2.890998)'), GeomFromEWKT('SRID=4674;POINT (-39.756118 -2.891108)'))) / (select extract(epoch from '2026-06-21 16:12:38'::timestamp) - extract(epoch from '2026-06-21 16:12: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'), 46821, 'SRID=4674;POINT (-39.756184 -2.891201)', '2026-06-21 16:12:43', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.756118 -2.891108)'), GeomFromEWKT('SRID=4674;POINT (-39.756184 -2.891201)'))) / (select extract(epoch from '2026-06-21 16:12:43'::timestamp) - extract(epoch from '2026-06-21 16:12:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.756118 -2.891108)'), GeomFromEWKT('SRID=4674;POINT (-39.756184 -2.891201)'))) / (select extract(epoch from '2026-06-21 16:12:43'::timestamp) - extract(epoch from '2026-06-21 16:12: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'), 46821, 'SRID=4674;POINT (-39.756261 -2.891313)', '2026-06-21 16:12:49', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.756184 -2.891201)'), GeomFromEWKT('SRID=4674;POINT (-39.756261 -2.891313)'))) / (select extract(epoch from '2026-06-21 16:12:49'::timestamp) - extract(epoch from '2026-06-21 16:12:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.756184 -2.891201)'), GeomFromEWKT('SRID=4674;POINT (-39.756261 -2.891313)'))) / (select extract(epoch from '2026-06-21 16:12:49'::timestamp) - extract(epoch from '2026-06-21 16:12: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'), 46821, 'SRID=4674;POINT (-39.756352 -2.891441)', '2026-06-21 16:12:56', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.756261 -2.891313)'), GeomFromEWKT('SRID=4674;POINT (-39.756352 -2.891441)'))) / (select extract(epoch from '2026-06-21 16:12:56'::timestamp) - extract(epoch from '2026-06-21 16:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.756261 -2.891313)'), GeomFromEWKT('SRID=4674;POINT (-39.756352 -2.891441)'))) / (select extract(epoch from '2026-06-21 16:12:56'::timestamp) - extract(epoch from '2026-06-21 16:12:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.75643 -2.89156)', '2026-06-21 16:13:02', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.756352 -2.891441)'), GeomFromEWKT('SRID=4674;POINT (-39.75643 -2.89156)'))) / (select extract(epoch from '2026-06-21 16:13:02'::timestamp) - extract(epoch from '2026-06-21 16:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.756352 -2.891441)'), GeomFromEWKT('SRID=4674;POINT (-39.75643 -2.89156)'))) / (select extract(epoch from '2026-06-21 16:13:02'::timestamp) - extract(epoch from '2026-06-21 16:12: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'), 46821, 'SRID=4674;POINT (-39.756512 -2.89167)', '2026-06-21 16:13:08', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.75643 -2.89156)'), GeomFromEWKT('SRID=4674;POINT (-39.756512 -2.89167)'))) / (select extract(epoch from '2026-06-21 16:13:08'::timestamp) - extract(epoch from '2026-06-21 16:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.75643 -2.89156)'), GeomFromEWKT('SRID=4674;POINT (-39.756512 -2.89167)'))) / (select extract(epoch from '2026-06-21 16:13:08'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.756623 -2.891804)', '2026-06-21 16:13:15', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.756512 -2.89167)'), GeomFromEWKT('SRID=4674;POINT (-39.756623 -2.891804)'))) / (select extract(epoch from '2026-06-21 16:13:15'::timestamp) - extract(epoch from '2026-06-21 16:13:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.756512 -2.89167)'), GeomFromEWKT('SRID=4674;POINT (-39.756623 -2.891804)'))) / (select extract(epoch from '2026-06-21 16:13:15'::timestamp) - extract(epoch from '2026-06-21 16:13: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'), 46821, 'SRID=4674;POINT (-39.75669 -2.891896)', '2026-06-21 16:13:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.756623 -2.891804)'), GeomFromEWKT('SRID=4674;POINT (-39.75669 -2.891896)'))) / (select extract(epoch from '2026-06-21 16:13:20'::timestamp) - extract(epoch from '2026-06-21 16:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.756623 -2.891804)'), GeomFromEWKT('SRID=4674;POINT (-39.75669 -2.891896)'))) / (select extract(epoch from '2026-06-21 16:13:20'::timestamp) - extract(epoch from '2026-06-21 16:13:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.756757 -2.891997)', '2026-06-21 16:13:25', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.75669 -2.891896)'), GeomFromEWKT('SRID=4674;POINT (-39.756757 -2.891997)'))) / (select extract(epoch from '2026-06-21 16:13:25'::timestamp) - extract(epoch from '2026-06-21 16:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.75669 -2.891896)'), GeomFromEWKT('SRID=4674;POINT (-39.756757 -2.891997)'))) / (select extract(epoch from '2026-06-21 16:13:25'::timestamp) - extract(epoch from '2026-06-21 16:13: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'), 46821, 'SRID=4674;POINT (-39.756842 -2.892112)', '2026-06-21 16:13:31', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.756757 -2.891997)'), GeomFromEWKT('SRID=4674;POINT (-39.756842 -2.892112)'))) / (select extract(epoch from '2026-06-21 16:13:31'::timestamp) - extract(epoch from '2026-06-21 16:13:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.756757 -2.891997)'), GeomFromEWKT('SRID=4674;POINT (-39.756842 -2.892112)'))) / (select extract(epoch from '2026-06-21 16:13:31'::timestamp) - extract(epoch from '2026-06-21 16:13: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'), 46821, 'SRID=4674;POINT (-39.756913 -2.892202)', '2026-06-21 16:13:36', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.756842 -2.892112)'), GeomFromEWKT('SRID=4674;POINT (-39.756913 -2.892202)'))) / (select extract(epoch from '2026-06-21 16:13:36'::timestamp) - extract(epoch from '2026-06-21 16:13:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.756842 -2.892112)'), GeomFromEWKT('SRID=4674;POINT (-39.756913 -2.892202)'))) / (select extract(epoch from '2026-06-21 16:13:36'::timestamp) - extract(epoch from '2026-06-21 16:13: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'), 46821, 'SRID=4674;POINT (-39.757031 -2.892359)', '2026-06-21 16:13:44', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.756913 -2.892202)'), GeomFromEWKT('SRID=4674;POINT (-39.757031 -2.892359)'))) / (select extract(epoch from '2026-06-21 16:13:44'::timestamp) - extract(epoch from '2026-06-21 16:13:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.756913 -2.892202)'), GeomFromEWKT('SRID=4674;POINT (-39.757031 -2.892359)'))) / (select extract(epoch from '2026-06-21 16:13:44'::timestamp) - extract(epoch from '2026-06-21 16:13:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.757091 -2.892456)', '2026-06-21 16:13:49', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.757031 -2.892359)'), GeomFromEWKT('SRID=4674;POINT (-39.757091 -2.892456)'))) / (select extract(epoch from '2026-06-21 16:13:49'::timestamp) - extract(epoch from '2026-06-21 16:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.757031 -2.892359)'), GeomFromEWKT('SRID=4674;POINT (-39.757091 -2.892456)'))) / (select extract(epoch from '2026-06-21 16:13:49'::timestamp) - extract(epoch from '2026-06-21 16:13: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'), 46821, 'SRID=4674;POINT (-39.757157 -2.892555)', '2026-06-21 16:13:54', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.757091 -2.892456)'), GeomFromEWKT('SRID=4674;POINT (-39.757157 -2.892555)'))) / (select extract(epoch from '2026-06-21 16:13:54'::timestamp) - extract(epoch from '2026-06-21 16:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.757091 -2.892456)'), GeomFromEWKT('SRID=4674;POINT (-39.757157 -2.892555)'))) / (select extract(epoch from '2026-06-21 16:13:54'::timestamp) - extract(epoch from '2026-06-21 16:13: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'), 46821, 'SRID=4674;POINT (-39.757194 -2.892633)', '2026-06-21 16:13:58', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.757157 -2.892555)'), GeomFromEWKT('SRID=4674;POINT (-39.757194 -2.892633)'))) / (select extract(epoch from '2026-06-21 16:13:58'::timestamp) - extract(epoch from '2026-06-21 16:13:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.757157 -2.892555)'), GeomFromEWKT('SRID=4674;POINT (-39.757194 -2.892633)'))) / (select extract(epoch from '2026-06-21 16:13:58'::timestamp) - extract(epoch from '2026-06-21 16:13: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'), 46821, 'SRID=4674;POINT (-39.757282 -2.892753)', '2026-06-21 16:14:04', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.757194 -2.892633)'), GeomFromEWKT('SRID=4674;POINT (-39.757282 -2.892753)'))) / (select extract(epoch from '2026-06-21 16:14:04'::timestamp) - extract(epoch from '2026-06-21 16:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.757194 -2.892633)'), GeomFromEWKT('SRID=4674;POINT (-39.757282 -2.892753)'))) / (select extract(epoch from '2026-06-21 16:14:04'::timestamp) - extract(epoch from '2026-06-21 16:13: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'), 46821, 'SRID=4674;POINT (-39.757375 -2.892863)', '2026-06-21 16:14:10', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.757282 -2.892753)'), GeomFromEWKT('SRID=4674;POINT (-39.757375 -2.892863)'))) / (select extract(epoch from '2026-06-21 16:14:10'::timestamp) - extract(epoch from '2026-06-21 16:14:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.757282 -2.892753)'), GeomFromEWKT('SRID=4674;POINT (-39.757375 -2.892863)'))) / (select extract(epoch from '2026-06-21 16:14:10'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.757473 -2.893002)', '2026-06-21 16:14:17', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.757375 -2.892863)'), GeomFromEWKT('SRID=4674;POINT (-39.757473 -2.893002)'))) / (select extract(epoch from '2026-06-21 16:14:17'::timestamp) - extract(epoch from '2026-06-21 16:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.757375 -2.892863)'), GeomFromEWKT('SRID=4674;POINT (-39.757473 -2.893002)'))) / (select extract(epoch from '2026-06-21 16:14:17'::timestamp) - extract(epoch from '2026-06-21 16:14: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'), 46821, 'SRID=4674;POINT (-39.757558 -2.893122)', '2026-06-21 16:14:23', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.757473 -2.893002)'), GeomFromEWKT('SRID=4674;POINT (-39.757558 -2.893122)'))) / (select extract(epoch from '2026-06-21 16:14:23'::timestamp) - extract(epoch from '2026-06-21 16:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.757473 -2.893002)'), GeomFromEWKT('SRID=4674;POINT (-39.757558 -2.893122)'))) / (select extract(epoch from '2026-06-21 16:14:23'::timestamp) - extract(epoch from '2026-06-21 16:14: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'), 46821, 'SRID=4674;POINT (-39.75769 -2.893285)', '2026-06-21 16:14:32', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.757558 -2.893122)'), GeomFromEWKT('SRID=4674;POINT (-39.75769 -2.893285)'))) / (select extract(epoch from '2026-06-21 16:14:32'::timestamp) - extract(epoch from '2026-06-21 16:14:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.757558 -2.893122)'), GeomFromEWKT('SRID=4674;POINT (-39.75769 -2.893285)'))) / (select extract(epoch from '2026-06-21 16:14:32'::timestamp) - extract(epoch from '2026-06-21 16:14: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'), 46821, 'SRID=4674;POINT (-39.75776 -2.893376)', '2026-06-21 16:14:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.75769 -2.893285)'), GeomFromEWKT('SRID=4674;POINT (-39.75776 -2.893376)'))) / (select extract(epoch from '2026-06-21 16:14:37'::timestamp) - extract(epoch from '2026-06-21 16:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.75769 -2.893285)'), GeomFromEWKT('SRID=4674;POINT (-39.75776 -2.893376)'))) / (select extract(epoch from '2026-06-21 16:14:37'::timestamp) - extract(epoch from '2026-06-21 16:14: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'), 46821, 'SRID=4674;POINT (-39.757835 -2.893503)', '2026-06-21 16:14:43', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.75776 -2.893376)'), GeomFromEWKT('SRID=4674;POINT (-39.757835 -2.893503)'))) / (select extract(epoch from '2026-06-21 16:14:43'::timestamp) - extract(epoch from '2026-06-21 16:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.75776 -2.893376)'), GeomFromEWKT('SRID=4674;POINT (-39.757835 -2.893503)'))) / (select extract(epoch from '2026-06-21 16:14:43'::timestamp) - extract(epoch from '2026-06-21 16:14:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.757884 -2.893586)', '2026-06-21 16:14:47', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.757835 -2.893503)'), GeomFromEWKT('SRID=4674;POINT (-39.757884 -2.893586)'))) / (select extract(epoch from '2026-06-21 16:14:47'::timestamp) - extract(epoch from '2026-06-21 16:14:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.757835 -2.893503)'), GeomFromEWKT('SRID=4674;POINT (-39.757884 -2.893586)'))) / (select extract(epoch from '2026-06-21 16:14:47'::timestamp) - extract(epoch from '2026-06-21 16:14: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'), 46821, 'SRID=4674;POINT (-39.757928 -2.893655)', '2026-06-21 16:14:51', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.757884 -2.893586)'), GeomFromEWKT('SRID=4674;POINT (-39.757928 -2.893655)'))) / (select extract(epoch from '2026-06-21 16:14:51'::timestamp) - extract(epoch from '2026-06-21 16:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.757884 -2.893586)'), GeomFromEWKT('SRID=4674;POINT (-39.757928 -2.893655)'))) / (select extract(epoch from '2026-06-21 16:14:51'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.757963 -2.893692)', '2026-06-21 16:14:53', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.757928 -2.893655)'), GeomFromEWKT('SRID=4674;POINT (-39.757963 -2.893692)'))) / (select extract(epoch from '2026-06-21 16:14:53'::timestamp) - extract(epoch from '2026-06-21 16:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.757928 -2.893655)'), GeomFromEWKT('SRID=4674;POINT (-39.757963 -2.893692)'))) / (select extract(epoch from '2026-06-21 16:14:53'::timestamp) - extract(epoch from '2026-06-21 16:14: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'), 46821, 'SRID=4674;POINT (-39.75799 -2.893748)', '2026-06-21 16:14:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.757963 -2.893692)'), GeomFromEWKT('SRID=4674;POINT (-39.75799 -2.893748)'))) / (select extract(epoch from '2026-06-21 16:14:56'::timestamp) - extract(epoch from '2026-06-21 16:14:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.757963 -2.893692)'), GeomFromEWKT('SRID=4674;POINT (-39.75799 -2.893748)'))) / (select extract(epoch from '2026-06-21 16:14:56'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.758068 -2.893867)', '2026-06-21 16:15:02', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.75799 -2.893748)'), GeomFromEWKT('SRID=4674;POINT (-39.758068 -2.893867)'))) / (select extract(epoch from '2026-06-21 16:15:02'::timestamp) - extract(epoch from '2026-06-21 16:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.75799 -2.893748)'), GeomFromEWKT('SRID=4674;POINT (-39.758068 -2.893867)'))) / (select extract(epoch from '2026-06-21 16:15:02'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.75813 -2.893974)', '2026-06-21 16:15:08', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.758068 -2.893867)'), GeomFromEWKT('SRID=4674;POINT (-39.75813 -2.893974)'))) / (select extract(epoch from '2026-06-21 16:15:08'::timestamp) - extract(epoch from '2026-06-21 16:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.758068 -2.893867)'), GeomFromEWKT('SRID=4674;POINT (-39.75813 -2.893974)'))) / (select extract(epoch from '2026-06-21 16:15:08'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.758221 -2.894082)', '2026-06-21 16:15:14', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.75813 -2.893974)'), GeomFromEWKT('SRID=4674;POINT (-39.758221 -2.894082)'))) / (select extract(epoch from '2026-06-21 16:15:14'::timestamp) - extract(epoch from '2026-06-21 16:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.75813 -2.893974)'), GeomFromEWKT('SRID=4674;POINT (-39.758221 -2.894082)'))) / (select extract(epoch from '2026-06-21 16:15:14'::timestamp) - extract(epoch from '2026-06-21 16:15:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.758337 -2.894211)', '2026-06-21 16:15:22', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.758221 -2.894082)'), GeomFromEWKT('SRID=4674;POINT (-39.758337 -2.894211)'))) / (select extract(epoch from '2026-06-21 16:15:22'::timestamp) - extract(epoch from '2026-06-21 16:15:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.758221 -2.894082)'), GeomFromEWKT('SRID=4674;POINT (-39.758337 -2.894211)'))) / (select extract(epoch from '2026-06-21 16:15:22'::timestamp) - extract(epoch from '2026-06-21 16:15: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'), 46821, 'SRID=4674;POINT (-39.758423 -2.894319)', '2026-06-21 16:15:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.758337 -2.894211)'), GeomFromEWKT('SRID=4674;POINT (-39.758423 -2.894319)'))) / (select extract(epoch from '2026-06-21 16:15:28'::timestamp) - extract(epoch from '2026-06-21 16:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.758337 -2.894211)'), GeomFromEWKT('SRID=4674;POINT (-39.758423 -2.894319)'))) / (select extract(epoch from '2026-06-21 16:15:28'::timestamp) - extract(epoch from '2026-06-21 16:15:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.758507 -2.894417)', '2026-06-21 16:15:34', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.758423 -2.894319)'), GeomFromEWKT('SRID=4674;POINT (-39.758507 -2.894417)'))) / (select extract(epoch from '2026-06-21 16:15:34'::timestamp) - extract(epoch from '2026-06-21 16:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.758423 -2.894319)'), GeomFromEWKT('SRID=4674;POINT (-39.758507 -2.894417)'))) / (select extract(epoch from '2026-06-21 16:15:34'::timestamp) - extract(epoch from '2026-06-21 16:15:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.758586 -2.894527)', '2026-06-21 16:15:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.758507 -2.894417)'), GeomFromEWKT('SRID=4674;POINT (-39.758586 -2.894527)'))) / (select extract(epoch from '2026-06-21 16:15:40'::timestamp) - extract(epoch from '2026-06-21 16:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.758507 -2.894417)'), GeomFromEWKT('SRID=4674;POINT (-39.758586 -2.894527)'))) / (select extract(epoch from '2026-06-21 16:15:40'::timestamp) - extract(epoch from '2026-06-21 16:15: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'), 46821, 'SRID=4674;POINT (-39.758666 -2.894634)', '2026-06-21 16:15:46', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.758586 -2.894527)'), GeomFromEWKT('SRID=4674;POINT (-39.758666 -2.894634)'))) / (select extract(epoch from '2026-06-21 16:15:46'::timestamp) - extract(epoch from '2026-06-21 16:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.758586 -2.894527)'), GeomFromEWKT('SRID=4674;POINT (-39.758666 -2.894634)'))) / (select extract(epoch from '2026-06-21 16:15:46'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.75875 -2.894737)', '2026-06-21 16:15:52', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.758666 -2.894634)'), GeomFromEWKT('SRID=4674;POINT (-39.75875 -2.894737)'))) / (select extract(epoch from '2026-06-21 16:15:52'::timestamp) - extract(epoch from '2026-06-21 16:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.758666 -2.894634)'), GeomFromEWKT('SRID=4674;POINT (-39.75875 -2.894737)'))) / (select extract(epoch from '2026-06-21 16:15:52'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.758862 -2.894889)', '2026-06-21 16:16:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.75875 -2.894737)'), GeomFromEWKT('SRID=4674;POINT (-39.758862 -2.894889)'))) / (select extract(epoch from '2026-06-21 16:16:00'::timestamp) - extract(epoch from '2026-06-21 16:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.75875 -2.894737)'), GeomFromEWKT('SRID=4674;POINT (-39.758862 -2.894889)'))) / (select extract(epoch from '2026-06-21 16:16:00'::timestamp) - extract(epoch from '2026-06-21 16:15: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'), 46821, 'SRID=4674;POINT (-39.758933 -2.894977)', '2026-06-21 16:16:05', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.758862 -2.894889)'), GeomFromEWKT('SRID=4674;POINT (-39.758933 -2.894977)'))) / (select extract(epoch from '2026-06-21 16:16:05'::timestamp) - extract(epoch from '2026-06-21 16:16:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.758862 -2.894889)'), GeomFromEWKT('SRID=4674;POINT (-39.758933 -2.894977)'))) / (select extract(epoch from '2026-06-21 16:16:05'::timestamp) - extract(epoch from '2026-06-21 16:16:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.759023 -2.895084)', '2026-06-21 16:16:11', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.758933 -2.894977)'), GeomFromEWKT('SRID=4674;POINT (-39.759023 -2.895084)'))) / (select extract(epoch from '2026-06-21 16:16:11'::timestamp) - extract(epoch from '2026-06-21 16:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.758933 -2.894977)'), GeomFromEWKT('SRID=4674;POINT (-39.759023 -2.895084)'))) / (select extract(epoch from '2026-06-21 16:16:11'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.759115 -2.895172)', '2026-06-21 16:16:16', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.759023 -2.895084)'), GeomFromEWKT('SRID=4674;POINT (-39.759115 -2.895172)'))) / (select extract(epoch from '2026-06-21 16:16:16'::timestamp) - extract(epoch from '2026-06-21 16:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.759023 -2.895084)'), GeomFromEWKT('SRID=4674;POINT (-39.759115 -2.895172)'))) / (select extract(epoch from '2026-06-21 16:16:16'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.759172 -2.895241)', '2026-06-21 16:16:20', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.759115 -2.895172)'), GeomFromEWKT('SRID=4674;POINT (-39.759172 -2.895241)'))) / (select extract(epoch from '2026-06-21 16:16:20'::timestamp) - extract(epoch from '2026-06-21 16:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.759115 -2.895172)'), GeomFromEWKT('SRID=4674;POINT (-39.759172 -2.895241)'))) / (select extract(epoch from '2026-06-21 16:16:20'::timestamp) - extract(epoch from '2026-06-21 16:16: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'), 46821, 'SRID=4674;POINT (-39.759245 -2.895338)', '2026-06-21 16:16:25', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.759172 -2.895241)'), GeomFromEWKT('SRID=4674;POINT (-39.759245 -2.895338)'))) / (select extract(epoch from '2026-06-21 16:16:25'::timestamp) - extract(epoch from '2026-06-21 16:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.759172 -2.895241)'), GeomFromEWKT('SRID=4674;POINT (-39.759245 -2.895338)'))) / (select extract(epoch from '2026-06-21 16:16:25'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.759336 -2.895453)', '2026-06-21 16:16:31', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.759245 -2.895338)'), GeomFromEWKT('SRID=4674;POINT (-39.759336 -2.895453)'))) / (select extract(epoch from '2026-06-21 16:16:31'::timestamp) - extract(epoch from '2026-06-21 16:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.759245 -2.895338)'), GeomFromEWKT('SRID=4674;POINT (-39.759336 -2.895453)'))) / (select extract(epoch from '2026-06-21 16:16:31'::timestamp) - extract(epoch from '2026-06-21 16:16: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'), 46821, 'SRID=4674;POINT (-39.759419 -2.895525)', '2026-06-21 16:16:36', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.759336 -2.895453)'), GeomFromEWKT('SRID=4674;POINT (-39.759419 -2.895525)'))) / (select extract(epoch from '2026-06-21 16:16:36'::timestamp) - extract(epoch from '2026-06-21 16:16:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.759336 -2.895453)'), GeomFromEWKT('SRID=4674;POINT (-39.759419 -2.895525)'))) / (select extract(epoch from '2026-06-21 16:16:36'::timestamp) - extract(epoch from '2026-06-21 16:16:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.759436 -2.89554)', '2026-06-21 16:16:37', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.759419 -2.895525)'), GeomFromEWKT('SRID=4674;POINT (-39.759436 -2.89554)'))) / (select extract(epoch from '2026-06-21 16:16:37'::timestamp) - extract(epoch from '2026-06-21 16:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.759419 -2.895525)'), GeomFromEWKT('SRID=4674;POINT (-39.759436 -2.89554)'))) / (select extract(epoch from '2026-06-21 16:16:37'::timestamp) - extract(epoch from '2026-06-21 16:16: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'), 46821, 'SRID=4674;POINT (-39.759473 -2.895582)', '2026-06-21 16:16:40', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.759436 -2.89554)'), GeomFromEWKT('SRID=4674;POINT (-39.759473 -2.895582)'))) / (select extract(epoch from '2026-06-21 16:16:40'::timestamp) - extract(epoch from '2026-06-21 16:16:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.759436 -2.89554)'), GeomFromEWKT('SRID=4674;POINT (-39.759473 -2.895582)'))) / (select extract(epoch from '2026-06-21 16:16:40'::timestamp) - extract(epoch from '2026-06-21 16:16: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'), 46821, 'SRID=4674;POINT (-39.75956 -2.895648)', '2026-06-21 16:16:45', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.759473 -2.895582)'), GeomFromEWKT('SRID=4674;POINT (-39.75956 -2.895648)'))) / (select extract(epoch from '2026-06-21 16:16:45'::timestamp) - extract(epoch from '2026-06-21 16:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.759473 -2.895582)'), GeomFromEWKT('SRID=4674;POINT (-39.75956 -2.895648)'))) / (select extract(epoch from '2026-06-21 16:16:45'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.759651 -2.895735)', '2026-06-21 16:16:51', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.75956 -2.895648)'), GeomFromEWKT('SRID=4674;POINT (-39.759651 -2.895735)'))) / (select extract(epoch from '2026-06-21 16:16:51'::timestamp) - extract(epoch from '2026-06-21 16:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.75956 -2.895648)'), GeomFromEWKT('SRID=4674;POINT (-39.759651 -2.895735)'))) / (select extract(epoch from '2026-06-21 16:16:51'::timestamp) - extract(epoch from '2026-06-21 16:16:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.759722 -2.895826)', '2026-06-21 16:16:56', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.759651 -2.895735)'), GeomFromEWKT('SRID=4674;POINT (-39.759722 -2.895826)'))) / (select extract(epoch from '2026-06-21 16:16:56'::timestamp) - extract(epoch from '2026-06-21 16:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.759651 -2.895735)'), GeomFromEWKT('SRID=4674;POINT (-39.759722 -2.895826)'))) / (select extract(epoch from '2026-06-21 16:16:56'::timestamp) - extract(epoch from '2026-06-21 16:16:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.759766 -2.895894)', '2026-06-21 16:17:00', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.759722 -2.895826)'), GeomFromEWKT('SRID=4674;POINT (-39.759766 -2.895894)'))) / (select extract(epoch from '2026-06-21 16:17:00'::timestamp) - extract(epoch from '2026-06-21 16:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.759722 -2.895826)'), GeomFromEWKT('SRID=4674;POINT (-39.759766 -2.895894)'))) / (select extract(epoch from '2026-06-21 16:17:00'::timestamp) - extract(epoch from '2026-06-21 16:16: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'), 46821, 'SRID=4674;POINT (-39.759783 -2.895912)', '2026-06-21 16:17:01', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.759766 -2.895894)'), GeomFromEWKT('SRID=4674;POINT (-39.759783 -2.895912)'))) / (select extract(epoch from '2026-06-21 16:17:01'::timestamp) - extract(epoch from '2026-06-21 16:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.759766 -2.895894)'), GeomFromEWKT('SRID=4674;POINT (-39.759783 -2.895912)'))) / (select extract(epoch from '2026-06-21 16:17:01'::timestamp) - extract(epoch from '2026-06-21 16:17:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.759856 -2.896016)', '2026-06-21 16:17:07', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.759783 -2.895912)'), GeomFromEWKT('SRID=4674;POINT (-39.759856 -2.896016)'))) / (select extract(epoch from '2026-06-21 16:17:07'::timestamp) - extract(epoch from '2026-06-21 16:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.759783 -2.895912)'), GeomFromEWKT('SRID=4674;POINT (-39.759856 -2.896016)'))) / (select extract(epoch from '2026-06-21 16:17:07'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.759933 -2.896098)', '2026-06-21 16:17:12', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.759856 -2.896016)'), GeomFromEWKT('SRID=4674;POINT (-39.759933 -2.896098)'))) / (select extract(epoch from '2026-06-21 16:17:12'::timestamp) - extract(epoch from '2026-06-21 16:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.759856 -2.896016)'), GeomFromEWKT('SRID=4674;POINT (-39.759933 -2.896098)'))) / (select extract(epoch from '2026-06-21 16:17:12'::timestamp) - extract(epoch from '2026-06-21 16:17:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.760001 -2.896175)', '2026-06-21 16:17:17', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.759933 -2.896098)'), GeomFromEWKT('SRID=4674;POINT (-39.760001 -2.896175)'))) / (select extract(epoch from '2026-06-21 16:17:17'::timestamp) - extract(epoch from '2026-06-21 16:17:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.759933 -2.896098)'), GeomFromEWKT('SRID=4674;POINT (-39.760001 -2.896175)'))) / (select extract(epoch from '2026-06-21 16:17:17'::timestamp) - extract(epoch from '2026-06-21 16:17: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'), 46821, 'SRID=4674;POINT (-39.760082 -2.89629)', '2026-06-21 16:17:23', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760001 -2.896175)'), GeomFromEWKT('SRID=4674;POINT (-39.760082 -2.89629)'))) / (select extract(epoch from '2026-06-21 16:17:23'::timestamp) - extract(epoch from '2026-06-21 16:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760001 -2.896175)'), GeomFromEWKT('SRID=4674;POINT (-39.760082 -2.89629)'))) / (select extract(epoch from '2026-06-21 16:17:23'::timestamp) - extract(epoch from '2026-06-21 16:17:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.760145 -2.896398)', '2026-06-21 16:17:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760082 -2.89629)'), GeomFromEWKT('SRID=4674;POINT (-39.760145 -2.896398)'))) / (select extract(epoch from '2026-06-21 16:17:29'::timestamp) - extract(epoch from '2026-06-21 16:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760082 -2.89629)'), GeomFromEWKT('SRID=4674;POINT (-39.760145 -2.896398)'))) / (select extract(epoch from '2026-06-21 16:17:29'::timestamp) - extract(epoch from '2026-06-21 16:17: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'), 46821, 'SRID=4674;POINT (-39.760209 -2.896502)', '2026-06-21 16:17:34', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760145 -2.896398)'), GeomFromEWKT('SRID=4674;POINT (-39.760209 -2.896502)'))) / (select extract(epoch from '2026-06-21 16:17:34'::timestamp) - extract(epoch from '2026-06-21 16:17:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760145 -2.896398)'), GeomFromEWKT('SRID=4674;POINT (-39.760209 -2.896502)'))) / (select extract(epoch from '2026-06-21 16:17:34'::timestamp) - extract(epoch from '2026-06-21 16:17: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'), 46821, 'SRID=4674;POINT (-39.760272 -2.896604)', '2026-06-21 16:17:39', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760209 -2.896502)'), GeomFromEWKT('SRID=4674;POINT (-39.760272 -2.896604)'))) / (select extract(epoch from '2026-06-21 16:17:39'::timestamp) - extract(epoch from '2026-06-21 16:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760209 -2.896502)'), GeomFromEWKT('SRID=4674;POINT (-39.760272 -2.896604)'))) / (select extract(epoch from '2026-06-21 16:17:39'::timestamp) - extract(epoch from '2026-06-21 16:17:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.760288 -2.896623)', '2026-06-21 16:17:40', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760272 -2.896604)'), GeomFromEWKT('SRID=4674;POINT (-39.760288 -2.896623)'))) / (select extract(epoch from '2026-06-21 16:17:40'::timestamp) - extract(epoch from '2026-06-21 16:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760272 -2.896604)'), GeomFromEWKT('SRID=4674;POINT (-39.760288 -2.896623)'))) / (select extract(epoch from '2026-06-21 16:17:40'::timestamp) - extract(epoch from '2026-06-21 16:17: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'), 46821, 'SRID=4674;POINT (-39.760348 -2.896728)', '2026-06-21 16:17:45', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760288 -2.896623)'), GeomFromEWKT('SRID=4674;POINT (-39.760348 -2.896728)'))) / (select extract(epoch from '2026-06-21 16:17:45'::timestamp) - extract(epoch from '2026-06-21 16:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760288 -2.896623)'), GeomFromEWKT('SRID=4674;POINT (-39.760348 -2.896728)'))) / (select extract(epoch from '2026-06-21 16:17:45'::timestamp) - extract(epoch from '2026-06-21 16:17:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.760434 -2.896818)', '2026-06-21 16:17:50', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760348 -2.896728)'), GeomFromEWKT('SRID=4674;POINT (-39.760434 -2.896818)'))) / (select extract(epoch from '2026-06-21 16:17:50'::timestamp) - extract(epoch from '2026-06-21 16:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760348 -2.896728)'), GeomFromEWKT('SRID=4674;POINT (-39.760434 -2.896818)'))) / (select extract(epoch from '2026-06-21 16:17:50'::timestamp) - extract(epoch from '2026-06-21 16:17:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.760524 -2.8969)', '2026-06-21 16:17:55', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760434 -2.896818)'), GeomFromEWKT('SRID=4674;POINT (-39.760524 -2.8969)'))) / (select extract(epoch from '2026-06-21 16:17:55'::timestamp) - extract(epoch from '2026-06-21 16:17:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760434 -2.896818)'), GeomFromEWKT('SRID=4674;POINT (-39.760524 -2.8969)'))) / (select extract(epoch from '2026-06-21 16:17:55'::timestamp) - extract(epoch from '2026-06-21 16:17: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'), 46821, 'SRID=4674;POINT (-39.760593 -2.896982)', '2026-06-21 16:18:00', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760524 -2.8969)'), GeomFromEWKT('SRID=4674;POINT (-39.760593 -2.896982)'))) / (select extract(epoch from '2026-06-21 16:18:00'::timestamp) - extract(epoch from '2026-06-21 16:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760524 -2.8969)'), GeomFromEWKT('SRID=4674;POINT (-39.760593 -2.896982)'))) / (select extract(epoch from '2026-06-21 16:18:00'::timestamp) - extract(epoch from '2026-06-21 16:17: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'), 46821, 'SRID=4674;POINT (-39.760654 -2.897056)', '2026-06-21 16:18:04', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760593 -2.896982)'), GeomFromEWKT('SRID=4674;POINT (-39.760654 -2.897056)'))) / (select extract(epoch from '2026-06-21 16:18:04'::timestamp) - extract(epoch from '2026-06-21 16:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760593 -2.896982)'), GeomFromEWKT('SRID=4674;POINT (-39.760654 -2.897056)'))) / (select extract(epoch from '2026-06-21 16:18:04'::timestamp) - extract(epoch from '2026-06-21 16:18: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'), 46821, 'SRID=4674;POINT (-39.760739 -2.897169)', '2026-06-21 16:18:10', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760654 -2.897056)'), GeomFromEWKT('SRID=4674;POINT (-39.760739 -2.897169)'))) / (select extract(epoch from '2026-06-21 16:18:10'::timestamp) - extract(epoch from '2026-06-21 16:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760654 -2.897056)'), GeomFromEWKT('SRID=4674;POINT (-39.760739 -2.897169)'))) / (select extract(epoch from '2026-06-21 16:18:10'::timestamp) - extract(epoch from '2026-06-21 16:18:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.76082 -2.897266)', '2026-06-21 16:18:15', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760739 -2.897169)'), GeomFromEWKT('SRID=4674;POINT (-39.76082 -2.897266)'))) / (select extract(epoch from '2026-06-21 16:18:15'::timestamp) - extract(epoch from '2026-06-21 16:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760739 -2.897169)'), GeomFromEWKT('SRID=4674;POINT (-39.76082 -2.897266)'))) / (select extract(epoch from '2026-06-21 16:18:15'::timestamp) - extract(epoch from '2026-06-21 16:18: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'), 46821, 'SRID=4674;POINT (-39.760843 -2.897284)', '2026-06-21 16:18:16', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76082 -2.897266)'), GeomFromEWKT('SRID=4674;POINT (-39.760843 -2.897284)'))) / (select extract(epoch from '2026-06-21 16:18:16'::timestamp) - extract(epoch from '2026-06-21 16:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76082 -2.897266)'), GeomFromEWKT('SRID=4674;POINT (-39.760843 -2.897284)'))) / (select extract(epoch from '2026-06-21 16:18:16'::timestamp) - extract(epoch from '2026-06-21 16:18:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.760902 -2.897358)', '2026-06-21 16:18:20', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760843 -2.897284)'), GeomFromEWKT('SRID=4674;POINT (-39.760902 -2.897358)'))) / (select extract(epoch from '2026-06-21 16:18:20'::timestamp) - extract(epoch from '2026-06-21 16:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760843 -2.897284)'), GeomFromEWKT('SRID=4674;POINT (-39.760902 -2.897358)'))) / (select extract(epoch from '2026-06-21 16:18:20'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.761003 -2.897452)', '2026-06-21 16:18:25', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760902 -2.897358)'), GeomFromEWKT('SRID=4674;POINT (-39.761003 -2.897452)'))) / (select extract(epoch from '2026-06-21 16:18:25'::timestamp) - extract(epoch from '2026-06-21 16:18:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760902 -2.897358)'), GeomFromEWKT('SRID=4674;POINT (-39.761003 -2.897452)'))) / (select extract(epoch from '2026-06-21 16:18:25'::timestamp) - extract(epoch from '2026-06-21 16:18: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'), 46821, 'SRID=4674;POINT (-39.761091 -2.897528)', '2026-06-21 16:18:30', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761003 -2.897452)'), GeomFromEWKT('SRID=4674;POINT (-39.761091 -2.897528)'))) / (select extract(epoch from '2026-06-21 16:18:30'::timestamp) - extract(epoch from '2026-06-21 16:18:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761003 -2.897452)'), GeomFromEWKT('SRID=4674;POINT (-39.761091 -2.897528)'))) / (select extract(epoch from '2026-06-21 16:18:30'::timestamp) - extract(epoch from '2026-06-21 16:18: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'), 46821, 'SRID=4674;POINT (-39.761171 -2.897608)', '2026-06-21 16:18:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761091 -2.897528)'), GeomFromEWKT('SRID=4674;POINT (-39.761171 -2.897608)'))) / (select extract(epoch from '2026-06-21 16:18:35'::timestamp) - extract(epoch from '2026-06-21 16:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761091 -2.897528)'), GeomFromEWKT('SRID=4674;POINT (-39.761171 -2.897608)'))) / (select extract(epoch from '2026-06-21 16:18:35'::timestamp) - extract(epoch from '2026-06-21 16:18:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.761245 -2.897697)', '2026-06-21 16:18:40', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761171 -2.897608)'), GeomFromEWKT('SRID=4674;POINT (-39.761245 -2.897697)'))) / (select extract(epoch from '2026-06-21 16:18:40'::timestamp) - extract(epoch from '2026-06-21 16:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761171 -2.897608)'), GeomFromEWKT('SRID=4674;POINT (-39.761245 -2.897697)'))) / (select extract(epoch from '2026-06-21 16:18:40'::timestamp) - extract(epoch from '2026-06-21 16:18: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'), 46821, 'SRID=4674;POINT (-39.761326 -2.897809)', '2026-06-21 16:18:46', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761245 -2.897697)'), GeomFromEWKT('SRID=4674;POINT (-39.761326 -2.897809)'))) / (select extract(epoch from '2026-06-21 16:18:46'::timestamp) - extract(epoch from '2026-06-21 16:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761245 -2.897697)'), GeomFromEWKT('SRID=4674;POINT (-39.761326 -2.897809)'))) / (select extract(epoch from '2026-06-21 16:18:46'::timestamp) - extract(epoch from '2026-06-21 16:18:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.761425 -2.897939)', '2026-06-21 16:18:53', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761326 -2.897809)'), GeomFromEWKT('SRID=4674;POINT (-39.761425 -2.897939)'))) / (select extract(epoch from '2026-06-21 16:18:53'::timestamp) - extract(epoch from '2026-06-21 16:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761326 -2.897809)'), GeomFromEWKT('SRID=4674;POINT (-39.761425 -2.897939)'))) / (select extract(epoch from '2026-06-21 16:18:53'::timestamp) - extract(epoch from '2026-06-21 16:18: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'), 46821, 'SRID=4674;POINT (-39.7615 -2.898026)', '2026-06-21 16:18:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761425 -2.897939)'), GeomFromEWKT('SRID=4674;POINT (-39.7615 -2.898026)'))) / (select extract(epoch from '2026-06-21 16:18:58'::timestamp) - extract(epoch from '2026-06-21 16:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761425 -2.897939)'), GeomFromEWKT('SRID=4674;POINT (-39.7615 -2.898026)'))) / (select extract(epoch from '2026-06-21 16:18:58'::timestamp) - extract(epoch from '2026-06-21 16:18: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'), 46821, 'SRID=4674;POINT (-39.761578 -2.898119)', '2026-06-21 16:19:03', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7615 -2.898026)'), GeomFromEWKT('SRID=4674;POINT (-39.761578 -2.898119)'))) / (select extract(epoch from '2026-06-21 16:19:03'::timestamp) - extract(epoch from '2026-06-21 16:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7615 -2.898026)'), GeomFromEWKT('SRID=4674;POINT (-39.761578 -2.898119)'))) / (select extract(epoch from '2026-06-21 16:19:03'::timestamp) - extract(epoch from '2026-06-21 16:18:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.761678 -2.89825)', '2026-06-21 16:19:10', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761578 -2.898119)'), GeomFromEWKT('SRID=4674;POINT (-39.761678 -2.89825)'))) / (select extract(epoch from '2026-06-21 16:19:10'::timestamp) - extract(epoch from '2026-06-21 16:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761578 -2.898119)'), GeomFromEWKT('SRID=4674;POINT (-39.761678 -2.89825)'))) / (select extract(epoch from '2026-06-21 16:19:10'::timestamp) - extract(epoch from '2026-06-21 16:19: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'), 46821, 'SRID=4674;POINT (-39.761782 -2.898373)', '2026-06-21 16:19:17', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761678 -2.89825)'), GeomFromEWKT('SRID=4674;POINT (-39.761782 -2.898373)'))) / (select extract(epoch from '2026-06-21 16:19:17'::timestamp) - extract(epoch from '2026-06-21 16:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761678 -2.89825)'), GeomFromEWKT('SRID=4674;POINT (-39.761782 -2.898373)'))) / (select extract(epoch from '2026-06-21 16:19:17'::timestamp) - extract(epoch from '2026-06-21 16:19: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'), 46821, 'SRID=4674;POINT (-39.761908 -2.898501)', '2026-06-21 16:19:25', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761782 -2.898373)'), GeomFromEWKT('SRID=4674;POINT (-39.761908 -2.898501)'))) / (select extract(epoch from '2026-06-21 16:19:25'::timestamp) - extract(epoch from '2026-06-21 16:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761782 -2.898373)'), GeomFromEWKT('SRID=4674;POINT (-39.761908 -2.898501)'))) / (select extract(epoch from '2026-06-21 16:19:25'::timestamp) - extract(epoch from '2026-06-21 16:19:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.761998 -2.898612)', '2026-06-21 16:19:31', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761908 -2.898501)'), GeomFromEWKT('SRID=4674;POINT (-39.761998 -2.898612)'))) / (select extract(epoch from '2026-06-21 16:19:31'::timestamp) - extract(epoch from '2026-06-21 16:19:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761908 -2.898501)'), GeomFromEWKT('SRID=4674;POINT (-39.761998 -2.898612)'))) / (select extract(epoch from '2026-06-21 16:19:31'::timestamp) - extract(epoch from '2026-06-21 16:19: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'), 46821, 'SRID=4674;POINT (-39.762067 -2.898698)', '2026-06-21 16:19:36', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761998 -2.898612)'), GeomFromEWKT('SRID=4674;POINT (-39.762067 -2.898698)'))) / (select extract(epoch from '2026-06-21 16:19:36'::timestamp) - extract(epoch from '2026-06-21 16:19:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761998 -2.898612)'), GeomFromEWKT('SRID=4674;POINT (-39.762067 -2.898698)'))) / (select extract(epoch from '2026-06-21 16:19:36'::timestamp) - extract(epoch from '2026-06-21 16:19:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.762108 -2.898777)', '2026-06-21 16:19:40', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762067 -2.898698)'), GeomFromEWKT('SRID=4674;POINT (-39.762108 -2.898777)'))) / (select extract(epoch from '2026-06-21 16:19:40'::timestamp) - extract(epoch from '2026-06-21 16:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762067 -2.898698)'), GeomFromEWKT('SRID=4674;POINT (-39.762108 -2.898777)'))) / (select extract(epoch from '2026-06-21 16:19:40'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.762165 -2.898876)', '2026-06-21 16:19:45', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762108 -2.898777)'), GeomFromEWKT('SRID=4674;POINT (-39.762165 -2.898876)'))) / (select extract(epoch from '2026-06-21 16:19:45'::timestamp) - extract(epoch from '2026-06-21 16:19:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762108 -2.898777)'), GeomFromEWKT('SRID=4674;POINT (-39.762165 -2.898876)'))) / (select extract(epoch from '2026-06-21 16:19:45'::timestamp) - extract(epoch from '2026-06-21 16:19: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'), 46821, 'SRID=4674;POINT (-39.762267 -2.899015)', '2026-06-21 16:19:52', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762165 -2.898876)'), GeomFromEWKT('SRID=4674;POINT (-39.762267 -2.899015)'))) / (select extract(epoch from '2026-06-21 16:19:52'::timestamp) - extract(epoch from '2026-06-21 16:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762165 -2.898876)'), GeomFromEWKT('SRID=4674;POINT (-39.762267 -2.899015)'))) / (select extract(epoch from '2026-06-21 16:19:52'::timestamp) - extract(epoch from '2026-06-21 16:19:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.762337 -2.899123)', '2026-06-21 16:19:57', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762267 -2.899015)'), GeomFromEWKT('SRID=4674;POINT (-39.762337 -2.899123)'))) / (select extract(epoch from '2026-06-21 16:19:57'::timestamp) - extract(epoch from '2026-06-21 16:19:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762267 -2.899015)'), GeomFromEWKT('SRID=4674;POINT (-39.762337 -2.899123)'))) / (select extract(epoch from '2026-06-21 16:19:57'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.76243 -2.899234)', '2026-06-21 16:20:03', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762337 -2.899123)'), GeomFromEWKT('SRID=4674;POINT (-39.76243 -2.899234)'))) / (select extract(epoch from '2026-06-21 16:20:03'::timestamp) - extract(epoch from '2026-06-21 16:19:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762337 -2.899123)'), GeomFromEWKT('SRID=4674;POINT (-39.76243 -2.899234)'))) / (select extract(epoch from '2026-06-21 16:20:03'::timestamp) - extract(epoch from '2026-06-21 16:19:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.762492 -2.899302)', '2026-06-21 16:20:07', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76243 -2.899234)'), GeomFromEWKT('SRID=4674;POINT (-39.762492 -2.899302)'))) / (select extract(epoch from '2026-06-21 16:20:07'::timestamp) - extract(epoch from '2026-06-21 16:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76243 -2.899234)'), GeomFromEWKT('SRID=4674;POINT (-39.762492 -2.899302)'))) / (select extract(epoch from '2026-06-21 16:20:07'::timestamp) - extract(epoch from '2026-06-21 16:20:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.762581 -2.899418)', '2026-06-21 16:20:13', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762492 -2.899302)'), GeomFromEWKT('SRID=4674;POINT (-39.762581 -2.899418)'))) / (select extract(epoch from '2026-06-21 16:20:13'::timestamp) - extract(epoch from '2026-06-21 16:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762492 -2.899302)'), GeomFromEWKT('SRID=4674;POINT (-39.762581 -2.899418)'))) / (select extract(epoch from '2026-06-21 16:20:13'::timestamp) - extract(epoch from '2026-06-21 16:20: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'), 46821, 'SRID=4674;POINT (-39.762646 -2.899511)', '2026-06-21 16:20:18', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762581 -2.899418)'), GeomFromEWKT('SRID=4674;POINT (-39.762646 -2.899511)'))) / (select extract(epoch from '2026-06-21 16:20:18'::timestamp) - extract(epoch from '2026-06-21 16:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762581 -2.899418)'), GeomFromEWKT('SRID=4674;POINT (-39.762646 -2.899511)'))) / (select extract(epoch from '2026-06-21 16:20:18'::timestamp) - extract(epoch from '2026-06-21 16:20:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.762733 -2.899632)', '2026-06-21 16:20:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762646 -2.899511)'), GeomFromEWKT('SRID=4674;POINT (-39.762733 -2.899632)'))) / (select extract(epoch from '2026-06-21 16:20:24'::timestamp) - extract(epoch from '2026-06-21 16:20:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762646 -2.899511)'), GeomFromEWKT('SRID=4674;POINT (-39.762733 -2.899632)'))) / (select extract(epoch from '2026-06-21 16:20:24'::timestamp) - extract(epoch from '2026-06-21 16:20: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'), 46821, 'SRID=4674;POINT (-39.762846 -2.899788)', '2026-06-21 16:20:32', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762733 -2.899632)'), GeomFromEWKT('SRID=4674;POINT (-39.762846 -2.899788)'))) / (select extract(epoch from '2026-06-21 16:20:32'::timestamp) - extract(epoch from '2026-06-21 16:20:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762733 -2.899632)'), GeomFromEWKT('SRID=4674;POINT (-39.762846 -2.899788)'))) / (select extract(epoch from '2026-06-21 16:20:32'::timestamp) - extract(epoch from '2026-06-21 16:20: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'), 46821, 'SRID=4674;POINT (-39.762952 -2.899923)', '2026-06-21 16:20:39', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762846 -2.899788)'), GeomFromEWKT('SRID=4674;POINT (-39.762952 -2.899923)'))) / (select extract(epoch from '2026-06-21 16:20:39'::timestamp) - extract(epoch from '2026-06-21 16:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762846 -2.899788)'), GeomFromEWKT('SRID=4674;POINT (-39.762952 -2.899923)'))) / (select extract(epoch from '2026-06-21 16:20:39'::timestamp) - extract(epoch from '2026-06-21 16:20:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.763015 -2.900021)', '2026-06-21 16:20:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762952 -2.899923)'), GeomFromEWKT('SRID=4674;POINT (-39.763015 -2.900021)'))) / (select extract(epoch from '2026-06-21 16:20:44'::timestamp) - extract(epoch from '2026-06-21 16:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762952 -2.899923)'), GeomFromEWKT('SRID=4674;POINT (-39.763015 -2.900021)'))) / (select extract(epoch from '2026-06-21 16:20:44'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.763074 -2.900103)', '2026-06-21 16:20:48', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763015 -2.900021)'), GeomFromEWKT('SRID=4674;POINT (-39.763074 -2.900103)'))) / (select extract(epoch from '2026-06-21 16:20:48'::timestamp) - extract(epoch from '2026-06-21 16:20:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763015 -2.900021)'), GeomFromEWKT('SRID=4674;POINT (-39.763074 -2.900103)'))) / (select extract(epoch from '2026-06-21 16:20:48'::timestamp) - extract(epoch from '2026-06-21 16:20: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'), 46821, 'SRID=4674;POINT (-39.763158 -2.900207)', '2026-06-21 16:20:54', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763074 -2.900103)'), GeomFromEWKT('SRID=4674;POINT (-39.763158 -2.900207)'))) / (select extract(epoch from '2026-06-21 16:20:54'::timestamp) - extract(epoch from '2026-06-21 16:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763074 -2.900103)'), GeomFromEWKT('SRID=4674;POINT (-39.763158 -2.900207)'))) / (select extract(epoch from '2026-06-21 16:20:54'::timestamp) - extract(epoch from '2026-06-21 16:20:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.763226 -2.900315)', '2026-06-21 16:21:00', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763158 -2.900207)'), GeomFromEWKT('SRID=4674;POINT (-39.763226 -2.900315)'))) / (select extract(epoch from '2026-06-21 16:21:00'::timestamp) - extract(epoch from '2026-06-21 16:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763158 -2.900207)'), GeomFromEWKT('SRID=4674;POINT (-39.763226 -2.900315)'))) / (select extract(epoch from '2026-06-21 16:21:00'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.763315 -2.900458)', '2026-06-21 16:21:07', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763226 -2.900315)'), GeomFromEWKT('SRID=4674;POINT (-39.763315 -2.900458)'))) / (select extract(epoch from '2026-06-21 16:21:07'::timestamp) - extract(epoch from '2026-06-21 16:21:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763226 -2.900315)'), GeomFromEWKT('SRID=4674;POINT (-39.763315 -2.900458)'))) / (select extract(epoch from '2026-06-21 16:21:07'::timestamp) - extract(epoch from '2026-06-21 16:21: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'), 46821, 'SRID=4674;POINT (-39.763391 -2.900579)', '2026-06-21 16:21:13', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763315 -2.900458)'), GeomFromEWKT('SRID=4674;POINT (-39.763391 -2.900579)'))) / (select extract(epoch from '2026-06-21 16:21:13'::timestamp) - extract(epoch from '2026-06-21 16:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763315 -2.900458)'), GeomFromEWKT('SRID=4674;POINT (-39.763391 -2.900579)'))) / (select extract(epoch from '2026-06-21 16:21:13'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.763487 -2.900718)', '2026-06-21 16:21:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763391 -2.900579)'), GeomFromEWKT('SRID=4674;POINT (-39.763487 -2.900718)'))) / (select extract(epoch from '2026-06-21 16:21:20'::timestamp) - extract(epoch from '2026-06-21 16:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763391 -2.900579)'), GeomFromEWKT('SRID=4674;POINT (-39.763487 -2.900718)'))) / (select extract(epoch from '2026-06-21 16:21:20'::timestamp) - extract(epoch from '2026-06-21 16:21:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.763551 -2.900842)', '2026-06-21 16:21:26', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763487 -2.900718)'), GeomFromEWKT('SRID=4674;POINT (-39.763551 -2.900842)'))) / (select extract(epoch from '2026-06-21 16:21:26'::timestamp) - extract(epoch from '2026-06-21 16:21:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763487 -2.900718)'), GeomFromEWKT('SRID=4674;POINT (-39.763551 -2.900842)'))) / (select extract(epoch from '2026-06-21 16:21:26'::timestamp) - extract(epoch from '2026-06-21 16:21:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.763628 -2.900959)', '2026-06-21 16:21:32', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763551 -2.900842)'), GeomFromEWKT('SRID=4674;POINT (-39.763628 -2.900959)'))) / (select extract(epoch from '2026-06-21 16:21:32'::timestamp) - extract(epoch from '2026-06-21 16:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763551 -2.900842)'), GeomFromEWKT('SRID=4674;POINT (-39.763628 -2.900959)'))) / (select extract(epoch from '2026-06-21 16:21:32'::timestamp) - extract(epoch from '2026-06-21 16:21: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'), 46821, 'SRID=4674;POINT (-39.763707 -2.901042)', '2026-06-21 16:21:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763628 -2.900959)'), GeomFromEWKT('SRID=4674;POINT (-39.763707 -2.901042)'))) / (select extract(epoch from '2026-06-21 16:21:37'::timestamp) - extract(epoch from '2026-06-21 16:21:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763628 -2.900959)'), GeomFromEWKT('SRID=4674;POINT (-39.763707 -2.901042)'))) / (select extract(epoch from '2026-06-21 16:21:37'::timestamp) - extract(epoch from '2026-06-21 16:21: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'), 46821, 'SRID=4674;POINT (-39.763803 -2.901152)', '2026-06-21 16:21:43', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763707 -2.901042)'), GeomFromEWKT('SRID=4674;POINT (-39.763803 -2.901152)'))) / (select extract(epoch from '2026-06-21 16:21:43'::timestamp) - extract(epoch from '2026-06-21 16:21:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763707 -2.901042)'), GeomFromEWKT('SRID=4674;POINT (-39.763803 -2.901152)'))) / (select extract(epoch from '2026-06-21 16:21:43'::timestamp) - extract(epoch from '2026-06-21 16:21: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'), 46821, 'SRID=4674;POINT (-39.763889 -2.90126)', '2026-06-21 16:21:49', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763803 -2.901152)'), GeomFromEWKT('SRID=4674;POINT (-39.763889 -2.90126)'))) / (select extract(epoch from '2026-06-21 16:21:49'::timestamp) - extract(epoch from '2026-06-21 16:21:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763803 -2.901152)'), GeomFromEWKT('SRID=4674;POINT (-39.763889 -2.90126)'))) / (select extract(epoch from '2026-06-21 16:21:49'::timestamp) - extract(epoch from '2026-06-21 16:21:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.763992 -2.901371)', '2026-06-21 16:21:55', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763889 -2.90126)'), GeomFromEWKT('SRID=4674;POINT (-39.763992 -2.901371)'))) / (select extract(epoch from '2026-06-21 16:21:55'::timestamp) - extract(epoch from '2026-06-21 16:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763889 -2.90126)'), GeomFromEWKT('SRID=4674;POINT (-39.763992 -2.901371)'))) / (select extract(epoch from '2026-06-21 16:21:55'::timestamp) - extract(epoch from '2026-06-21 16:21:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.764004 -2.90139)', '2026-06-21 16:21:56', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763992 -2.901371)'), GeomFromEWKT('SRID=4674;POINT (-39.764004 -2.90139)'))) / (select extract(epoch from '2026-06-21 16:21:56'::timestamp) - extract(epoch from '2026-06-21 16:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763992 -2.901371)'), GeomFromEWKT('SRID=4674;POINT (-39.764004 -2.90139)'))) / (select extract(epoch from '2026-06-21 16:21:56'::timestamp) - extract(epoch from '2026-06-21 16:21:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.764044 -2.901438)', '2026-06-21 16:21:59', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764004 -2.90139)'), GeomFromEWKT('SRID=4674;POINT (-39.764044 -2.901438)'))) / (select extract(epoch from '2026-06-21 16:21:59'::timestamp) - extract(epoch from '2026-06-21 16:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764004 -2.90139)'), GeomFromEWKT('SRID=4674;POINT (-39.764044 -2.901438)'))) / (select extract(epoch from '2026-06-21 16:21:59'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.764106 -2.901494)', '2026-06-21 16:22:03', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764044 -2.901438)'), GeomFromEWKT('SRID=4674;POINT (-39.764106 -2.901494)'))) / (select extract(epoch from '2026-06-21 16:22:03'::timestamp) - extract(epoch from '2026-06-21 16:21:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764044 -2.901438)'), GeomFromEWKT('SRID=4674;POINT (-39.764106 -2.901494)'))) / (select extract(epoch from '2026-06-21 16:22:03'::timestamp) - extract(epoch from '2026-06-21 16:21:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.764193 -2.901564)', '2026-06-21 16:22:08', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764106 -2.901494)'), GeomFromEWKT('SRID=4674;POINT (-39.764193 -2.901564)'))) / (select extract(epoch from '2026-06-21 16:22:08'::timestamp) - extract(epoch from '2026-06-21 16:22:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764106 -2.901494)'), GeomFromEWKT('SRID=4674;POINT (-39.764193 -2.901564)'))) / (select extract(epoch from '2026-06-21 16:22:08'::timestamp) - extract(epoch from '2026-06-21 16:22:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.764289 -2.90165)', '2026-06-21 16:22:14', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764193 -2.901564)'), GeomFromEWKT('SRID=4674;POINT (-39.764289 -2.90165)'))) / (select extract(epoch from '2026-06-21 16:22:14'::timestamp) - extract(epoch from '2026-06-21 16:22:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764193 -2.901564)'), GeomFromEWKT('SRID=4674;POINT (-39.764289 -2.90165)'))) / (select extract(epoch from '2026-06-21 16:22:14'::timestamp) - extract(epoch from '2026-06-21 16:22: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'), 46821, 'SRID=4674;POINT (-39.764339 -2.901694)', '2026-06-21 16:22:17', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764289 -2.90165)'), GeomFromEWKT('SRID=4674;POINT (-39.764339 -2.901694)'))) / (select extract(epoch from '2026-06-21 16:22:17'::timestamp) - extract(epoch from '2026-06-21 16:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764289 -2.90165)'), GeomFromEWKT('SRID=4674;POINT (-39.764339 -2.901694)'))) / (select extract(epoch from '2026-06-21 16:22:17'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.764363 -2.901725)', '2026-06-21 16:22:19', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764339 -2.901694)'), GeomFromEWKT('SRID=4674;POINT (-39.764363 -2.901725)'))) / (select extract(epoch from '2026-06-21 16:22:19'::timestamp) - extract(epoch from '2026-06-21 16:22:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764339 -2.901694)'), GeomFromEWKT('SRID=4674;POINT (-39.764363 -2.901725)'))) / (select extract(epoch from '2026-06-21 16:22:19'::timestamp) - extract(epoch from '2026-06-21 16:22: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'), 46821, 'SRID=4674;POINT (-39.764429 -2.901789)', '2026-06-21 16:22:23', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764363 -2.901725)'), GeomFromEWKT('SRID=4674;POINT (-39.764429 -2.901789)'))) / (select extract(epoch from '2026-06-21 16:22:23'::timestamp) - extract(epoch from '2026-06-21 16:22:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764363 -2.901725)'), GeomFromEWKT('SRID=4674;POINT (-39.764429 -2.901789)'))) / (select extract(epoch from '2026-06-21 16:22:23'::timestamp) - extract(epoch from '2026-06-21 16:22: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'), 46821, 'SRID=4674;POINT (-39.764494 -2.901871)', '2026-06-21 16:22:28', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764429 -2.901789)'), GeomFromEWKT('SRID=4674;POINT (-39.764494 -2.901871)'))) / (select extract(epoch from '2026-06-21 16:22:28'::timestamp) - extract(epoch from '2026-06-21 16:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764429 -2.901789)'), GeomFromEWKT('SRID=4674;POINT (-39.764494 -2.901871)'))) / (select extract(epoch from '2026-06-21 16:22:28'::timestamp) - extract(epoch from '2026-06-21 16:22:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.764616 -2.902011)', '2026-06-21 16:22:36', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764494 -2.901871)'), GeomFromEWKT('SRID=4674;POINT (-39.764616 -2.902011)'))) / (select extract(epoch from '2026-06-21 16:22:36'::timestamp) - extract(epoch from '2026-06-21 16:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764494 -2.901871)'), GeomFromEWKT('SRID=4674;POINT (-39.764616 -2.902011)'))) / (select extract(epoch from '2026-06-21 16:22:36'::timestamp) - extract(epoch from '2026-06-21 16:22:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.76472 -2.902132)', '2026-06-21 16:22:42', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764616 -2.902011)'), GeomFromEWKT('SRID=4674;POINT (-39.76472 -2.902132)'))) / (select extract(epoch from '2026-06-21 16:22:42'::timestamp) - extract(epoch from '2026-06-21 16:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764616 -2.902011)'), GeomFromEWKT('SRID=4674;POINT (-39.76472 -2.902132)'))) / (select extract(epoch from '2026-06-21 16:22:42'::timestamp) - extract(epoch from '2026-06-21 16:22:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.764798 -2.902258)', '2026-06-21 16:22:48', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76472 -2.902132)'), GeomFromEWKT('SRID=4674;POINT (-39.764798 -2.902258)'))) / (select extract(epoch from '2026-06-21 16:22:48'::timestamp) - extract(epoch from '2026-06-21 16:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76472 -2.902132)'), GeomFromEWKT('SRID=4674;POINT (-39.764798 -2.902258)'))) / (select extract(epoch from '2026-06-21 16:22:48'::timestamp) - extract(epoch from '2026-06-21 16:22:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.764913 -2.90241)', '2026-06-21 16:22:56', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764798 -2.902258)'), GeomFromEWKT('SRID=4674;POINT (-39.764913 -2.90241)'))) / (select extract(epoch from '2026-06-21 16:22:56'::timestamp) - extract(epoch from '2026-06-21 16:22:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764798 -2.902258)'), GeomFromEWKT('SRID=4674;POINT (-39.764913 -2.90241)'))) / (select extract(epoch from '2026-06-21 16:22:56'::timestamp) - extract(epoch from '2026-06-21 16:22:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.765008 -2.902528)', '2026-06-21 16:23:02', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764913 -2.90241)'), GeomFromEWKT('SRID=4674;POINT (-39.765008 -2.902528)'))) / (select extract(epoch from '2026-06-21 16:23:02'::timestamp) - extract(epoch from '2026-06-21 16:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764913 -2.90241)'), GeomFromEWKT('SRID=4674;POINT (-39.765008 -2.902528)'))) / (select extract(epoch from '2026-06-21 16:23:02'::timestamp) - extract(epoch from '2026-06-21 16:22: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'), 46821, 'SRID=4674;POINT (-39.765097 -2.902616)', '2026-06-21 16:23:07', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765008 -2.902528)'), GeomFromEWKT('SRID=4674;POINT (-39.765097 -2.902616)'))) / (select extract(epoch from '2026-06-21 16:23:07'::timestamp) - extract(epoch from '2026-06-21 16:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765008 -2.902528)'), GeomFromEWKT('SRID=4674;POINT (-39.765097 -2.902616)'))) / (select extract(epoch from '2026-06-21 16:23:07'::timestamp) - extract(epoch from '2026-06-21 16:23:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.765196 -2.902727)', '2026-06-21 16:23:13', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765097 -2.902616)'), GeomFromEWKT('SRID=4674;POINT (-39.765196 -2.902727)'))) / (select extract(epoch from '2026-06-21 16:23:13'::timestamp) - extract(epoch from '2026-06-21 16:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765097 -2.902616)'), GeomFromEWKT('SRID=4674;POINT (-39.765196 -2.902727)'))) / (select extract(epoch from '2026-06-21 16:23:13'::timestamp) - extract(epoch from '2026-06-21 16:23:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.76526 -2.902826)', '2026-06-21 16:23:18', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765196 -2.902727)'), GeomFromEWKT('SRID=4674;POINT (-39.76526 -2.902826)'))) / (select extract(epoch from '2026-06-21 16:23:18'::timestamp) - extract(epoch from '2026-06-21 16:23:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765196 -2.902727)'), GeomFromEWKT('SRID=4674;POINT (-39.76526 -2.902826)'))) / (select extract(epoch from '2026-06-21 16:23:18'::timestamp) - extract(epoch from '2026-06-21 16:23: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'), 46821, 'SRID=4674;POINT (-39.765333 -2.902948)', '2026-06-21 16:23:24', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76526 -2.902826)'), GeomFromEWKT('SRID=4674;POINT (-39.765333 -2.902948)'))) / (select extract(epoch from '2026-06-21 16:23:24'::timestamp) - extract(epoch from '2026-06-21 16:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76526 -2.902826)'), GeomFromEWKT('SRID=4674;POINT (-39.765333 -2.902948)'))) / (select extract(epoch from '2026-06-21 16:23:24'::timestamp) - extract(epoch from '2026-06-21 16:23:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.765417 -2.903056)', '2026-06-21 16:23:30', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765333 -2.902948)'), GeomFromEWKT('SRID=4674;POINT (-39.765417 -2.903056)'))) / (select extract(epoch from '2026-06-21 16:23:30'::timestamp) - extract(epoch from '2026-06-21 16:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765333 -2.902948)'), GeomFromEWKT('SRID=4674;POINT (-39.765417 -2.903056)'))) / (select extract(epoch from '2026-06-21 16:23:30'::timestamp) - extract(epoch from '2026-06-21 16:23: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'), 46821, 'SRID=4674;POINT (-39.765517 -2.903154)', '2026-06-21 16:23:36', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765417 -2.903056)'), GeomFromEWKT('SRID=4674;POINT (-39.765517 -2.903154)'))) / (select extract(epoch from '2026-06-21 16:23:36'::timestamp) - extract(epoch from '2026-06-21 16:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765417 -2.903056)'), GeomFromEWKT('SRID=4674;POINT (-39.765517 -2.903154)'))) / (select extract(epoch from '2026-06-21 16:23:36'::timestamp) - extract(epoch from '2026-06-21 16:23:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.765605 -2.903265)', '2026-06-21 16:23:42', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765517 -2.903154)'), GeomFromEWKT('SRID=4674;POINT (-39.765605 -2.903265)'))) / (select extract(epoch from '2026-06-21 16:23:42'::timestamp) - extract(epoch from '2026-06-21 16:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765517 -2.903154)'), GeomFromEWKT('SRID=4674;POINT (-39.765605 -2.903265)'))) / (select extract(epoch from '2026-06-21 16:23:42'::timestamp) - extract(epoch from '2026-06-21 16:23:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.765685 -2.903383)', '2026-06-21 16:23:48', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765605 -2.903265)'), GeomFromEWKT('SRID=4674;POINT (-39.765685 -2.903383)'))) / (select extract(epoch from '2026-06-21 16:23:48'::timestamp) - extract(epoch from '2026-06-21 16:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765605 -2.903265)'), GeomFromEWKT('SRID=4674;POINT (-39.765685 -2.903383)'))) / (select extract(epoch from '2026-06-21 16:23:48'::timestamp) - extract(epoch from '2026-06-21 16:23:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.765769 -2.90351)', '2026-06-21 16:23:54', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765685 -2.903383)'), GeomFromEWKT('SRID=4674;POINT (-39.765769 -2.90351)'))) / (select extract(epoch from '2026-06-21 16:23:54'::timestamp) - extract(epoch from '2026-06-21 16:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765685 -2.903383)'), GeomFromEWKT('SRID=4674;POINT (-39.765769 -2.90351)'))) / (select extract(epoch from '2026-06-21 16:23:54'::timestamp) - extract(epoch from '2026-06-21 16:23:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.765854 -2.903626)', '2026-06-21 16:24:00', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765769 -2.90351)'), GeomFromEWKT('SRID=4674;POINT (-39.765854 -2.903626)'))) / (select extract(epoch from '2026-06-21 16:24:00'::timestamp) - extract(epoch from '2026-06-21 16:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765769 -2.90351)'), GeomFromEWKT('SRID=4674;POINT (-39.765854 -2.903626)'))) / (select extract(epoch from '2026-06-21 16:24:00'::timestamp) - extract(epoch from '2026-06-21 16:23:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.765935 -2.90373)', '2026-06-21 16:24:05', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765854 -2.903626)'), GeomFromEWKT('SRID=4674;POINT (-39.765935 -2.90373)'))) / (select extract(epoch from '2026-06-21 16:24:05'::timestamp) - extract(epoch from '2026-06-21 16:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765854 -2.903626)'), GeomFromEWKT('SRID=4674;POINT (-39.765935 -2.90373)'))) / (select extract(epoch from '2026-06-21 16:24:05'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.766008 -2.903835)', '2026-06-21 16:24:10', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765935 -2.90373)'), GeomFromEWKT('SRID=4674;POINT (-39.766008 -2.903835)'))) / (select extract(epoch from '2026-06-21 16:24:10'::timestamp) - extract(epoch from '2026-06-21 16:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765935 -2.90373)'), GeomFromEWKT('SRID=4674;POINT (-39.766008 -2.903835)'))) / (select extract(epoch from '2026-06-21 16:24:10'::timestamp) - extract(epoch from '2026-06-21 16:24: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'), 46821, 'SRID=4674;POINT (-39.766128 -2.903962)', '2026-06-21 16:24:17', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766008 -2.903835)'), GeomFromEWKT('SRID=4674;POINT (-39.766128 -2.903962)'))) / (select extract(epoch from '2026-06-21 16:24:17'::timestamp) - extract(epoch from '2026-06-21 16:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766008 -2.903835)'), GeomFromEWKT('SRID=4674;POINT (-39.766128 -2.903962)'))) / (select extract(epoch from '2026-06-21 16:24:17'::timestamp) - extract(epoch from '2026-06-21 16:24: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'), 46821, 'SRID=4674;POINT (-39.766232 -2.904081)', '2026-06-21 16:24:23', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766128 -2.903962)'), GeomFromEWKT('SRID=4674;POINT (-39.766232 -2.904081)'))) / (select extract(epoch from '2026-06-21 16:24:23'::timestamp) - extract(epoch from '2026-06-21 16:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766128 -2.903962)'), GeomFromEWKT('SRID=4674;POINT (-39.766232 -2.904081)'))) / (select extract(epoch from '2026-06-21 16:24:23'::timestamp) - extract(epoch from '2026-06-21 16:24:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.766344 -2.90422)', '2026-06-21 16:24:30', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766232 -2.904081)'), GeomFromEWKT('SRID=4674;POINT (-39.766344 -2.90422)'))) / (select extract(epoch from '2026-06-21 16:24:30'::timestamp) - extract(epoch from '2026-06-21 16:24:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766232 -2.904081)'), GeomFromEWKT('SRID=4674;POINT (-39.766344 -2.90422)'))) / (select extract(epoch from '2026-06-21 16:24:30'::timestamp) - extract(epoch from '2026-06-21 16:24: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'), 46821, 'SRID=4674;POINT (-39.766423 -2.904333)', '2026-06-21 16:24:36', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766344 -2.90422)'), GeomFromEWKT('SRID=4674;POINT (-39.766423 -2.904333)'))) / (select extract(epoch from '2026-06-21 16:24:36'::timestamp) - extract(epoch from '2026-06-21 16:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766344 -2.90422)'), GeomFromEWKT('SRID=4674;POINT (-39.766423 -2.904333)'))) / (select extract(epoch from '2026-06-21 16:24:36'::timestamp) - extract(epoch from '2026-06-21 16:24:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.766479 -2.904396)', '2026-06-21 16:24:39', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766423 -2.904333)'), GeomFromEWKT('SRID=4674;POINT (-39.766479 -2.904396)'))) / (select extract(epoch from '2026-06-21 16:24:39'::timestamp) - extract(epoch from '2026-06-21 16:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766423 -2.904333)'), GeomFromEWKT('SRID=4674;POINT (-39.766479 -2.904396)'))) / (select extract(epoch from '2026-06-21 16:24:39'::timestamp) - extract(epoch from '2026-06-21 16:24: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'), 46821, 'SRID=4674;POINT (-39.766487 -2.904416)', '2026-06-21 16:24:40', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766479 -2.904396)'), GeomFromEWKT('SRID=4674;POINT (-39.766487 -2.904416)'))) / (select extract(epoch from '2026-06-21 16:24:40'::timestamp) - extract(epoch from '2026-06-21 16:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766479 -2.904396)'), GeomFromEWKT('SRID=4674;POINT (-39.766487 -2.904416)'))) / (select extract(epoch from '2026-06-21 16:24:40'::timestamp) - extract(epoch from '2026-06-21 16:24:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.766551 -2.904516)', '2026-06-21 16:24:45', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766487 -2.904416)'), GeomFromEWKT('SRID=4674;POINT (-39.766551 -2.904516)'))) / (select extract(epoch from '2026-06-21 16:24:45'::timestamp) - extract(epoch from '2026-06-21 16:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766487 -2.904416)'), GeomFromEWKT('SRID=4674;POINT (-39.766551 -2.904516)'))) / (select extract(epoch from '2026-06-21 16:24:45'::timestamp) - extract(epoch from '2026-06-21 16:24:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.766621 -2.904618)', '2026-06-21 16:24:50', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766551 -2.904516)'), GeomFromEWKT('SRID=4674;POINT (-39.766621 -2.904618)'))) / (select extract(epoch from '2026-06-21 16:24:50'::timestamp) - extract(epoch from '2026-06-21 16:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766551 -2.904516)'), GeomFromEWKT('SRID=4674;POINT (-39.766621 -2.904618)'))) / (select extract(epoch from '2026-06-21 16:24:50'::timestamp) - extract(epoch from '2026-06-21 16:24:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.766711 -2.904736)', '2026-06-21 16:24:56', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766621 -2.904618)'), GeomFromEWKT('SRID=4674;POINT (-39.766711 -2.904736)'))) / (select extract(epoch from '2026-06-21 16:24:56'::timestamp) - extract(epoch from '2026-06-21 16:24:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766621 -2.904618)'), GeomFromEWKT('SRID=4674;POINT (-39.766711 -2.904736)'))) / (select extract(epoch from '2026-06-21 16:24:56'::timestamp) - extract(epoch from '2026-06-21 16:24:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.76679 -2.904867)', '2026-06-21 16:25:03', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766711 -2.904736)'), GeomFromEWKT('SRID=4674;POINT (-39.76679 -2.904867)'))) / (select extract(epoch from '2026-06-21 16:25:03'::timestamp) - extract(epoch from '2026-06-21 16:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766711 -2.904736)'), GeomFromEWKT('SRID=4674;POINT (-39.76679 -2.904867)'))) / (select extract(epoch from '2026-06-21 16:25:03'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.766865 -2.904966)', '2026-06-21 16:25:08', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76679 -2.904867)'), GeomFromEWKT('SRID=4674;POINT (-39.766865 -2.904966)'))) / (select extract(epoch from '2026-06-21 16:25:08'::timestamp) - extract(epoch from '2026-06-21 16:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76679 -2.904867)'), GeomFromEWKT('SRID=4674;POINT (-39.766865 -2.904966)'))) / (select extract(epoch from '2026-06-21 16:25:08'::timestamp) - extract(epoch from '2026-06-21 16:25:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.766952 -2.90511)', '2026-06-21 16:25:15', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766865 -2.904966)'), GeomFromEWKT('SRID=4674;POINT (-39.766952 -2.90511)'))) / (select extract(epoch from '2026-06-21 16:25:15'::timestamp) - extract(epoch from '2026-06-21 16:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766865 -2.904966)'), GeomFromEWKT('SRID=4674;POINT (-39.766952 -2.90511)'))) / (select extract(epoch from '2026-06-21 16:25:15'::timestamp) - extract(epoch from '2026-06-21 16:25:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.767031 -2.905258)', '2026-06-21 16:25:22', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766952 -2.90511)'), GeomFromEWKT('SRID=4674;POINT (-39.767031 -2.905258)'))) / (select extract(epoch from '2026-06-21 16:25:22'::timestamp) - extract(epoch from '2026-06-21 16:25:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766952 -2.90511)'), GeomFromEWKT('SRID=4674;POINT (-39.767031 -2.905258)'))) / (select extract(epoch from '2026-06-21 16:25:22'::timestamp) - extract(epoch from '2026-06-21 16:25: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'), 46821, 'SRID=4674;POINT (-39.767105 -2.905365)', '2026-06-21 16:25:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767031 -2.905258)'), GeomFromEWKT('SRID=4674;POINT (-39.767105 -2.905365)'))) / (select extract(epoch from '2026-06-21 16:25:27'::timestamp) - extract(epoch from '2026-06-21 16:25:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767031 -2.905258)'), GeomFromEWKT('SRID=4674;POINT (-39.767105 -2.905365)'))) / (select extract(epoch from '2026-06-21 16:25:27'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.767185 -2.905491)', '2026-06-21 16:25:33', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767105 -2.905365)'), GeomFromEWKT('SRID=4674;POINT (-39.767185 -2.905491)'))) / (select extract(epoch from '2026-06-21 16:25:33'::timestamp) - extract(epoch from '2026-06-21 16:25:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767105 -2.905365)'), GeomFromEWKT('SRID=4674;POINT (-39.767185 -2.905491)'))) / (select extract(epoch from '2026-06-21 16:25:33'::timestamp) - extract(epoch from '2026-06-21 16:25: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'), 46821, 'SRID=4674;POINT (-39.767272 -2.905595)', '2026-06-21 16:25:39', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767185 -2.905491)'), GeomFromEWKT('SRID=4674;POINT (-39.767272 -2.905595)'))) / (select extract(epoch from '2026-06-21 16:25:39'::timestamp) - extract(epoch from '2026-06-21 16:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767185 -2.905491)'), GeomFromEWKT('SRID=4674;POINT (-39.767272 -2.905595)'))) / (select extract(epoch from '2026-06-21 16:25:39'::timestamp) - extract(epoch from '2026-06-21 16:25:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.767338 -2.905685)', '2026-06-21 16:25:44', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767272 -2.905595)'), GeomFromEWKT('SRID=4674;POINT (-39.767338 -2.905685)'))) / (select extract(epoch from '2026-06-21 16:25:44'::timestamp) - extract(epoch from '2026-06-21 16:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767272 -2.905595)'), GeomFromEWKT('SRID=4674;POINT (-39.767338 -2.905685)'))) / (select extract(epoch from '2026-06-21 16:25:44'::timestamp) - extract(epoch from '2026-06-21 16:25: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'), 46821, 'SRID=4674;POINT (-39.767395 -2.905781)', '2026-06-21 16:25:49', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767338 -2.905685)'), GeomFromEWKT('SRID=4674;POINT (-39.767395 -2.905781)'))) / (select extract(epoch from '2026-06-21 16:25:49'::timestamp) - extract(epoch from '2026-06-21 16:25:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767338 -2.905685)'), GeomFromEWKT('SRID=4674;POINT (-39.767395 -2.905781)'))) / (select extract(epoch from '2026-06-21 16:25:49'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.767474 -2.905894)', '2026-06-21 16:25:55', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767395 -2.905781)'), GeomFromEWKT('SRID=4674;POINT (-39.767474 -2.905894)'))) / (select extract(epoch from '2026-06-21 16:25:55'::timestamp) - extract(epoch from '2026-06-21 16:25:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767395 -2.905781)'), GeomFromEWKT('SRID=4674;POINT (-39.767474 -2.905894)'))) / (select extract(epoch from '2026-06-21 16:25:55'::timestamp) - extract(epoch from '2026-06-21 16:25:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.767546 -2.905999)', '2026-06-21 16:26:01', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767474 -2.905894)'), GeomFromEWKT('SRID=4674;POINT (-39.767546 -2.905999)'))) / (select extract(epoch from '2026-06-21 16:26:01'::timestamp) - extract(epoch from '2026-06-21 16:25:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767474 -2.905894)'), GeomFromEWKT('SRID=4674;POINT (-39.767546 -2.905999)'))) / (select extract(epoch from '2026-06-21 16:26:01'::timestamp) - extract(epoch from '2026-06-21 16:25:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.76761 -2.906087)', '2026-06-21 16:26:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767546 -2.905999)'), GeomFromEWKT('SRID=4674;POINT (-39.76761 -2.906087)'))) / (select extract(epoch from '2026-06-21 16:26:06'::timestamp) - extract(epoch from '2026-06-21 16:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767546 -2.905999)'), GeomFromEWKT('SRID=4674;POINT (-39.76761 -2.906087)'))) / (select extract(epoch from '2026-06-21 16:26:06'::timestamp) - extract(epoch from '2026-06-21 16:26: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'), 46821, 'SRID=4674;POINT (-39.767666 -2.906174)', '2026-06-21 16:26:11', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76761 -2.906087)'), GeomFromEWKT('SRID=4674;POINT (-39.767666 -2.906174)'))) / (select extract(epoch from '2026-06-21 16:26:11'::timestamp) - extract(epoch from '2026-06-21 16:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76761 -2.906087)'), GeomFromEWKT('SRID=4674;POINT (-39.767666 -2.906174)'))) / (select extract(epoch from '2026-06-21 16:26:11'::timestamp) - extract(epoch from '2026-06-21 16:26:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.767795 -2.906339)', '2026-06-21 16:26:20', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767666 -2.906174)'), GeomFromEWKT('SRID=4674;POINT (-39.767795 -2.906339)'))) / (select extract(epoch from '2026-06-21 16:26:20'::timestamp) - extract(epoch from '2026-06-21 16:26:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767666 -2.906174)'), GeomFromEWKT('SRID=4674;POINT (-39.767795 -2.906339)'))) / (select extract(epoch from '2026-06-21 16:26:20'::timestamp) - extract(epoch from '2026-06-21 16:26: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'), 46821, 'SRID=4674;POINT (-39.767908 -2.906471)', '2026-06-21 16:26:27', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767795 -2.906339)'), GeomFromEWKT('SRID=4674;POINT (-39.767908 -2.906471)'))) / (select extract(epoch from '2026-06-21 16:26:27'::timestamp) - extract(epoch from '2026-06-21 16:26:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767795 -2.906339)'), GeomFromEWKT('SRID=4674;POINT (-39.767908 -2.906471)'))) / (select extract(epoch from '2026-06-21 16:26:27'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.767942 -2.906509)', '2026-06-21 16:26:29', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767908 -2.906471)'), GeomFromEWKT('SRID=4674;POINT (-39.767942 -2.906509)'))) / (select extract(epoch from '2026-06-21 16:26:29'::timestamp) - extract(epoch from '2026-06-21 16:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767908 -2.906471)'), GeomFromEWKT('SRID=4674;POINT (-39.767942 -2.906509)'))) / (select extract(epoch from '2026-06-21 16:26:29'::timestamp) - extract(epoch from '2026-06-21 16:26: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'), 46821, 'SRID=4674;POINT (-39.767965 -2.906543)', '2026-06-21 16:26:31', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767942 -2.906509)'), GeomFromEWKT('SRID=4674;POINT (-39.767965 -2.906543)'))) / (select extract(epoch from '2026-06-21 16:26:31'::timestamp) - extract(epoch from '2026-06-21 16:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767942 -2.906509)'), GeomFromEWKT('SRID=4674;POINT (-39.767965 -2.906543)'))) / (select extract(epoch from '2026-06-21 16:26:31'::timestamp) - extract(epoch from '2026-06-21 16:26:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.768035 -2.906634)', '2026-06-21 16:26:36', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767965 -2.906543)'), GeomFromEWKT('SRID=4674;POINT (-39.768035 -2.906634)'))) / (select extract(epoch from '2026-06-21 16:26:36'::timestamp) - extract(epoch from '2026-06-21 16:26:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767965 -2.906543)'), GeomFromEWKT('SRID=4674;POINT (-39.768035 -2.906634)'))) / (select extract(epoch from '2026-06-21 16:26:36'::timestamp) - extract(epoch from '2026-06-21 16:26: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'), 46821, 'SRID=4674;POINT (-39.768127 -2.906735)', '2026-06-21 16:26:42', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768035 -2.906634)'), GeomFromEWKT('SRID=4674;POINT (-39.768127 -2.906735)'))) / (select extract(epoch from '2026-06-21 16:26:42'::timestamp) - extract(epoch from '2026-06-21 16:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768035 -2.906634)'), GeomFromEWKT('SRID=4674;POINT (-39.768127 -2.906735)'))) / (select extract(epoch from '2026-06-21 16:26:42'::timestamp) - extract(epoch from '2026-06-21 16:26: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'), 46821, 'SRID=4674;POINT (-39.768203 -2.906806)', '2026-06-21 16:26:47', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768127 -2.906735)'), GeomFromEWKT('SRID=4674;POINT (-39.768203 -2.906806)'))) / (select extract(epoch from '2026-06-21 16:26:47'::timestamp) - extract(epoch from '2026-06-21 16:26:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768127 -2.906735)'), GeomFromEWKT('SRID=4674;POINT (-39.768203 -2.906806)'))) / (select extract(epoch from '2026-06-21 16:26:47'::timestamp) - extract(epoch from '2026-06-21 16:26: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'), 46821, 'SRID=4674;POINT (-39.768225 -2.906817)', '2026-06-21 16:26:48', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768203 -2.906806)'), GeomFromEWKT('SRID=4674;POINT (-39.768225 -2.906817)'))) / (select extract(epoch from '2026-06-21 16:26:48'::timestamp) - extract(epoch from '2026-06-21 16:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768203 -2.906806)'), GeomFromEWKT('SRID=4674;POINT (-39.768225 -2.906817)'))) / (select extract(epoch from '2026-06-21 16:26:48'::timestamp) - extract(epoch from '2026-06-21 16:26:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.76831 -2.906889)', '2026-06-21 16:26:53', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768225 -2.906817)'), GeomFromEWKT('SRID=4674;POINT (-39.76831 -2.906889)'))) / (select extract(epoch from '2026-06-21 16:26:53'::timestamp) - extract(epoch from '2026-06-21 16:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768225 -2.906817)'), GeomFromEWKT('SRID=4674;POINT (-39.76831 -2.906889)'))) / (select extract(epoch from '2026-06-21 16:26:53'::timestamp) - extract(epoch from '2026-06-21 16:26:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.768401 -2.906993)', '2026-06-21 16:26:59', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76831 -2.906889)'), GeomFromEWKT('SRID=4674;POINT (-39.768401 -2.906993)'))) / (select extract(epoch from '2026-06-21 16:26:59'::timestamp) - extract(epoch from '2026-06-21 16:26:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76831 -2.906889)'), GeomFromEWKT('SRID=4674;POINT (-39.768401 -2.906993)'))) / (select extract(epoch from '2026-06-21 16:26:59'::timestamp) - extract(epoch from '2026-06-21 16:26: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'), 46821, 'SRID=4674;POINT (-39.768488 -2.907099)', '2026-06-21 16:27:05', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768401 -2.906993)'), GeomFromEWKT('SRID=4674;POINT (-39.768488 -2.907099)'))) / (select extract(epoch from '2026-06-21 16:27:05'::timestamp) - extract(epoch from '2026-06-21 16:26:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768401 -2.906993)'), GeomFromEWKT('SRID=4674;POINT (-39.768488 -2.907099)'))) / (select extract(epoch from '2026-06-21 16:27:05'::timestamp) - extract(epoch from '2026-06-21 16:26: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'), 46821, 'SRID=4674;POINT (-39.768579 -2.90721)', '2026-06-21 16:27:11', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768488 -2.907099)'), GeomFromEWKT('SRID=4674;POINT (-39.768579 -2.90721)'))) / (select extract(epoch from '2026-06-21 16:27:11'::timestamp) - extract(epoch from '2026-06-21 16:27:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768488 -2.907099)'), GeomFromEWKT('SRID=4674;POINT (-39.768579 -2.90721)'))) / (select extract(epoch from '2026-06-21 16:27:11'::timestamp) - extract(epoch from '2026-06-21 16:27:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.768676 -2.907357)', '2026-06-21 16:27:18', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768579 -2.90721)'), GeomFromEWKT('SRID=4674;POINT (-39.768676 -2.907357)'))) / (select extract(epoch from '2026-06-21 16:27:18'::timestamp) - extract(epoch from '2026-06-21 16:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768579 -2.90721)'), GeomFromEWKT('SRID=4674;POINT (-39.768676 -2.907357)'))) / (select extract(epoch from '2026-06-21 16:27:18'::timestamp) - extract(epoch from '2026-06-21 16:27:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.768757 -2.907451)', '2026-06-21 16:27:23', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768676 -2.907357)'), GeomFromEWKT('SRID=4674;POINT (-39.768757 -2.907451)'))) / (select extract(epoch from '2026-06-21 16:27:23'::timestamp) - extract(epoch from '2026-06-21 16:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768676 -2.907357)'), GeomFromEWKT('SRID=4674;POINT (-39.768757 -2.907451)'))) / (select extract(epoch from '2026-06-21 16:27:23'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.768846 -2.907552)', '2026-06-21 16:27:29', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768757 -2.907451)'), GeomFromEWKT('SRID=4674;POINT (-39.768846 -2.907552)'))) / (select extract(epoch from '2026-06-21 16:27:29'::timestamp) - extract(epoch from '2026-06-21 16:27:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768757 -2.907451)'), GeomFromEWKT('SRID=4674;POINT (-39.768846 -2.907552)'))) / (select extract(epoch from '2026-06-21 16:27:29'::timestamp) - extract(epoch from '2026-06-21 16:27: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'), 46821, 'SRID=4674;POINT (-39.768949 -2.907678)', '2026-06-21 16:27:36', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768846 -2.907552)'), GeomFromEWKT('SRID=4674;POINT (-39.768949 -2.907678)'))) / (select extract(epoch from '2026-06-21 16:27:36'::timestamp) - extract(epoch from '2026-06-21 16:27:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768846 -2.907552)'), GeomFromEWKT('SRID=4674;POINT (-39.768949 -2.907678)'))) / (select extract(epoch from '2026-06-21 16:27:36'::timestamp) - extract(epoch from '2026-06-21 16:27:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.769039 -2.907795)', '2026-06-21 16:27:42', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768949 -2.907678)'), GeomFromEWKT('SRID=4674;POINT (-39.769039 -2.907795)'))) / (select extract(epoch from '2026-06-21 16:27:42'::timestamp) - extract(epoch from '2026-06-21 16:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768949 -2.907678)'), GeomFromEWKT('SRID=4674;POINT (-39.769039 -2.907795)'))) / (select extract(epoch from '2026-06-21 16:27:42'::timestamp) - extract(epoch from '2026-06-21 16:27:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.769101 -2.907884)', '2026-06-21 16:27:47', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769039 -2.907795)'), GeomFromEWKT('SRID=4674;POINT (-39.769101 -2.907884)'))) / (select extract(epoch from '2026-06-21 16:27:47'::timestamp) - extract(epoch from '2026-06-21 16:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769039 -2.907795)'), GeomFromEWKT('SRID=4674;POINT (-39.769101 -2.907884)'))) / (select extract(epoch from '2026-06-21 16:27:47'::timestamp) - extract(epoch from '2026-06-21 16:27: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'), 46821, 'SRID=4674;POINT (-39.769185 -2.907993)', '2026-06-21 16:27:53', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769101 -2.907884)'), GeomFromEWKT('SRID=4674;POINT (-39.769185 -2.907993)'))) / (select extract(epoch from '2026-06-21 16:27:53'::timestamp) - extract(epoch from '2026-06-21 16:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769101 -2.907884)'), GeomFromEWKT('SRID=4674;POINT (-39.769185 -2.907993)'))) / (select extract(epoch from '2026-06-21 16:27:53'::timestamp) - extract(epoch from '2026-06-21 16:27: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'), 46821, 'SRID=4674;POINT (-39.769271 -2.908081)', '2026-06-21 16:27:58', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769185 -2.907993)'), GeomFromEWKT('SRID=4674;POINT (-39.769271 -2.908081)'))) / (select extract(epoch from '2026-06-21 16:27:58'::timestamp) - extract(epoch from '2026-06-21 16:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769185 -2.907993)'), GeomFromEWKT('SRID=4674;POINT (-39.769271 -2.908081)'))) / (select extract(epoch from '2026-06-21 16:27:58'::timestamp) - extract(epoch from '2026-06-21 16:27: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'), 46821, 'SRID=4674;POINT (-39.769367 -2.908184)', '2026-06-21 16:28:04', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769271 -2.908081)'), GeomFromEWKT('SRID=4674;POINT (-39.769367 -2.908184)'))) / (select extract(epoch from '2026-06-21 16:28:04'::timestamp) - extract(epoch from '2026-06-21 16:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769271 -2.908081)'), GeomFromEWKT('SRID=4674;POINT (-39.769367 -2.908184)'))) / (select extract(epoch from '2026-06-21 16:28:04'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.769444 -2.908294)', '2026-06-21 16:28:10', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769367 -2.908184)'), GeomFromEWKT('SRID=4674;POINT (-39.769444 -2.908294)'))) / (select extract(epoch from '2026-06-21 16:28:10'::timestamp) - extract(epoch from '2026-06-21 16:28:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769367 -2.908184)'), GeomFromEWKT('SRID=4674;POINT (-39.769444 -2.908294)'))) / (select extract(epoch from '2026-06-21 16:28:10'::timestamp) - extract(epoch from '2026-06-21 16:28: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'), 46821, 'SRID=4674;POINT (-39.76953 -2.908409)', '2026-06-21 16:28:16', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769444 -2.908294)'), GeomFromEWKT('SRID=4674;POINT (-39.76953 -2.908409)'))) / (select extract(epoch from '2026-06-21 16:28:16'::timestamp) - extract(epoch from '2026-06-21 16:28:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769444 -2.908294)'), GeomFromEWKT('SRID=4674;POINT (-39.76953 -2.908409)'))) / (select extract(epoch from '2026-06-21 16:28:16'::timestamp) - extract(epoch from '2026-06-21 16:28:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.769601 -2.908503)', '2026-06-21 16:28:21', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76953 -2.908409)'), GeomFromEWKT('SRID=4674;POINT (-39.769601 -2.908503)'))) / (select extract(epoch from '2026-06-21 16:28:21'::timestamp) - extract(epoch from '2026-06-21 16:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76953 -2.908409)'), GeomFromEWKT('SRID=4674;POINT (-39.769601 -2.908503)'))) / (select extract(epoch from '2026-06-21 16:28:21'::timestamp) - extract(epoch from '2026-06-21 16:28:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.769671 -2.908599)', '2026-06-21 16:28:26', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769601 -2.908503)'), GeomFromEWKT('SRID=4674;POINT (-39.769671 -2.908599)'))) / (select extract(epoch from '2026-06-21 16:28:26'::timestamp) - extract(epoch from '2026-06-21 16:28:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769601 -2.908503)'), GeomFromEWKT('SRID=4674;POINT (-39.769671 -2.908599)'))) / (select extract(epoch from '2026-06-21 16:28:26'::timestamp) - extract(epoch from '2026-06-21 16:28:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.769722 -2.908657)', '2026-06-21 16:28:29', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769671 -2.908599)'), GeomFromEWKT('SRID=4674;POINT (-39.769722 -2.908657)'))) / (select extract(epoch from '2026-06-21 16:28:29'::timestamp) - extract(epoch from '2026-06-21 16:28:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769671 -2.908599)'), GeomFromEWKT('SRID=4674;POINT (-39.769722 -2.908657)'))) / (select extract(epoch from '2026-06-21 16:28:29'::timestamp) - extract(epoch from '2026-06-21 16:28: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'), 46821, 'SRID=4674;POINT (-39.769747 -2.908698)', '2026-06-21 16:28:31', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769722 -2.908657)'), GeomFromEWKT('SRID=4674;POINT (-39.769747 -2.908698)'))) / (select extract(epoch from '2026-06-21 16:28:31'::timestamp) - extract(epoch from '2026-06-21 16:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769722 -2.908657)'), GeomFromEWKT('SRID=4674;POINT (-39.769747 -2.908698)'))) / (select extract(epoch from '2026-06-21 16:28:31'::timestamp) - extract(epoch from '2026-06-21 16:28: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'), 46821, 'SRID=4674;POINT (-39.769814 -2.908791)', '2026-06-21 16:28:36', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769747 -2.908698)'), GeomFromEWKT('SRID=4674;POINT (-39.769814 -2.908791)'))) / (select extract(epoch from '2026-06-21 16:28:36'::timestamp) - extract(epoch from '2026-06-21 16:28:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769747 -2.908698)'), GeomFromEWKT('SRID=4674;POINT (-39.769814 -2.908791)'))) / (select extract(epoch from '2026-06-21 16:28:36'::timestamp) - extract(epoch from '2026-06-21 16:28: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'), 46821, 'SRID=4674;POINT (-39.769913 -2.908932)', '2026-06-21 16:28:43', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769814 -2.908791)'), GeomFromEWKT('SRID=4674;POINT (-39.769913 -2.908932)'))) / (select extract(epoch from '2026-06-21 16:28:43'::timestamp) - extract(epoch from '2026-06-21 16:28:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769814 -2.908791)'), GeomFromEWKT('SRID=4674;POINT (-39.769913 -2.908932)'))) / (select extract(epoch from '2026-06-21 16:28:43'::timestamp) - extract(epoch from '2026-06-21 16:28:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.770003 -2.909076)', '2026-06-21 16:28:50', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769913 -2.908932)'), GeomFromEWKT('SRID=4674;POINT (-39.770003 -2.909076)'))) / (select extract(epoch from '2026-06-21 16:28:50'::timestamp) - extract(epoch from '2026-06-21 16:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769913 -2.908932)'), GeomFromEWKT('SRID=4674;POINT (-39.770003 -2.909076)'))) / (select extract(epoch from '2026-06-21 16:28:50'::timestamp) - extract(epoch from '2026-06-21 16:28:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.770063 -2.909171)', '2026-06-21 16:28:55', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770003 -2.909076)'), GeomFromEWKT('SRID=4674;POINT (-39.770063 -2.909171)'))) / (select extract(epoch from '2026-06-21 16:28:55'::timestamp) - extract(epoch from '2026-06-21 16:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770003 -2.909076)'), GeomFromEWKT('SRID=4674;POINT (-39.770063 -2.909171)'))) / (select extract(epoch from '2026-06-21 16:28:55'::timestamp) - extract(epoch from '2026-06-21 16:28:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.770162 -2.9093)', '2026-06-21 16:29:02', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770063 -2.909171)'), GeomFromEWKT('SRID=4674;POINT (-39.770162 -2.9093)'))) / (select extract(epoch from '2026-06-21 16:29:02'::timestamp) - extract(epoch from '2026-06-21 16:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770063 -2.909171)'), GeomFromEWKT('SRID=4674;POINT (-39.770162 -2.9093)'))) / (select extract(epoch from '2026-06-21 16:29:02'::timestamp) - extract(epoch from '2026-06-21 16:28:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.770243 -2.909418)', '2026-06-21 16:29:08', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770162 -2.9093)'), GeomFromEWKT('SRID=4674;POINT (-39.770243 -2.909418)'))) / (select extract(epoch from '2026-06-21 16:29:08'::timestamp) - extract(epoch from '2026-06-21 16:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770162 -2.9093)'), GeomFromEWKT('SRID=4674;POINT (-39.770243 -2.909418)'))) / (select extract(epoch from '2026-06-21 16:29:08'::timestamp) - extract(epoch from '2026-06-21 16:29:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.770328 -2.909564)', '2026-06-21 16:29:15', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770243 -2.909418)'), GeomFromEWKT('SRID=4674;POINT (-39.770328 -2.909564)'))) / (select extract(epoch from '2026-06-21 16:29:15'::timestamp) - extract(epoch from '2026-06-21 16:29:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770243 -2.909418)'), GeomFromEWKT('SRID=4674;POINT (-39.770328 -2.909564)'))) / (select extract(epoch from '2026-06-21 16:29:15'::timestamp) - extract(epoch from '2026-06-21 16:29: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'), 46821, 'SRID=4674;POINT (-39.770412 -2.909711)', '2026-06-21 16:29:22', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770328 -2.909564)'), GeomFromEWKT('SRID=4674;POINT (-39.770412 -2.909711)'))) / (select extract(epoch from '2026-06-21 16:29:22'::timestamp) - extract(epoch from '2026-06-21 16:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770328 -2.909564)'), GeomFromEWKT('SRID=4674;POINT (-39.770412 -2.909711)'))) / (select extract(epoch from '2026-06-21 16:29:22'::timestamp) - extract(epoch from '2026-06-21 16:29: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'), 46821, 'SRID=4674;POINT (-39.770479 -2.909812)', '2026-06-21 16:29:27', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770412 -2.909711)'), GeomFromEWKT('SRID=4674;POINT (-39.770479 -2.909812)'))) / (select extract(epoch from '2026-06-21 16:29:27'::timestamp) - extract(epoch from '2026-06-21 16:29:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770412 -2.909711)'), GeomFromEWKT('SRID=4674;POINT (-39.770479 -2.909812)'))) / (select extract(epoch from '2026-06-21 16:29:27'::timestamp) - extract(epoch from '2026-06-21 16:29:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.770545 -2.909938)', '2026-06-21 16:29:33', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770479 -2.909812)'), GeomFromEWKT('SRID=4674;POINT (-39.770545 -2.909938)'))) / (select extract(epoch from '2026-06-21 16:29:33'::timestamp) - extract(epoch from '2026-06-21 16:29:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770479 -2.909812)'), GeomFromEWKT('SRID=4674;POINT (-39.770545 -2.909938)'))) / (select extract(epoch from '2026-06-21 16:29:33'::timestamp) - extract(epoch from '2026-06-21 16:29:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.770628 -2.910051)', '2026-06-21 16:29:39', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770545 -2.909938)'), GeomFromEWKT('SRID=4674;POINT (-39.770628 -2.910051)'))) / (select extract(epoch from '2026-06-21 16:29:39'::timestamp) - extract(epoch from '2026-06-21 16:29:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770545 -2.909938)'), GeomFromEWKT('SRID=4674;POINT (-39.770628 -2.910051)'))) / (select extract(epoch from '2026-06-21 16:29:39'::timestamp) - extract(epoch from '2026-06-21 16:29: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'), 46821, 'SRID=4674;POINT (-39.770728 -2.91016)', '2026-06-21 16:29:45', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770628 -2.910051)'), GeomFromEWKT('SRID=4674;POINT (-39.770728 -2.91016)'))) / (select extract(epoch from '2026-06-21 16:29:45'::timestamp) - extract(epoch from '2026-06-21 16:29:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770628 -2.910051)'), GeomFromEWKT('SRID=4674;POINT (-39.770728 -2.91016)'))) / (select extract(epoch from '2026-06-21 16:29:45'::timestamp) - extract(epoch from '2026-06-21 16:29: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'), 46821, 'SRID=4674;POINT (-39.770795 -2.910248)', '2026-06-21 16:29:50', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770728 -2.91016)'), GeomFromEWKT('SRID=4674;POINT (-39.770795 -2.910248)'))) / (select extract(epoch from '2026-06-21 16:29:50'::timestamp) - extract(epoch from '2026-06-21 16:29:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770728 -2.91016)'), GeomFromEWKT('SRID=4674;POINT (-39.770795 -2.910248)'))) / (select extract(epoch from '2026-06-21 16:29:50'::timestamp) - extract(epoch from '2026-06-21 16:29: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'), 46821, 'SRID=4674;POINT (-39.770865 -2.91033)', '2026-06-21 16:29:55', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770795 -2.910248)'), GeomFromEWKT('SRID=4674;POINT (-39.770865 -2.91033)'))) / (select extract(epoch from '2026-06-21 16:29:55'::timestamp) - extract(epoch from '2026-06-21 16:29:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770795 -2.910248)'), GeomFromEWKT('SRID=4674;POINT (-39.770865 -2.91033)'))) / (select extract(epoch from '2026-06-21 16:29:55'::timestamp) - extract(epoch from '2026-06-21 16:29:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.770961 -2.910448)', '2026-06-21 16:30:02', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770865 -2.91033)'), GeomFromEWKT('SRID=4674;POINT (-39.770961 -2.910448)'))) / (select extract(epoch from '2026-06-21 16:30:02'::timestamp) - extract(epoch from '2026-06-21 16:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770865 -2.91033)'), GeomFromEWKT('SRID=4674;POINT (-39.770961 -2.910448)'))) / (select extract(epoch from '2026-06-21 16:30:02'::timestamp) - extract(epoch from '2026-06-21 16:29: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'), 46821, 'SRID=4674;POINT (-39.771028 -2.910531)', '2026-06-21 16:30:07', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770961 -2.910448)'), GeomFromEWKT('SRID=4674;POINT (-39.771028 -2.910531)'))) / (select extract(epoch from '2026-06-21 16:30:07'::timestamp) - extract(epoch from '2026-06-21 16:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770961 -2.910448)'), GeomFromEWKT('SRID=4674;POINT (-39.771028 -2.910531)'))) / (select extract(epoch from '2026-06-21 16:30:07'::timestamp) - extract(epoch from '2026-06-21 16:30: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'), 46821, 'SRID=4674;POINT (-39.771143 -2.91067)', '2026-06-21 16:30:15', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771028 -2.910531)'), GeomFromEWKT('SRID=4674;POINT (-39.771143 -2.91067)'))) / (select extract(epoch from '2026-06-21 16:30:15'::timestamp) - extract(epoch from '2026-06-21 16:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771028 -2.910531)'), GeomFromEWKT('SRID=4674;POINT (-39.771143 -2.91067)'))) / (select extract(epoch from '2026-06-21 16:30:15'::timestamp) - extract(epoch from '2026-06-21 16:30: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'), 46821, 'SRID=4674;POINT (-39.771229 -2.910776)', '2026-06-21 16:30:21', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771143 -2.91067)'), GeomFromEWKT('SRID=4674;POINT (-39.771229 -2.910776)'))) / (select extract(epoch from '2026-06-21 16:30:21'::timestamp) - extract(epoch from '2026-06-21 16:30:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771143 -2.91067)'), GeomFromEWKT('SRID=4674;POINT (-39.771229 -2.910776)'))) / (select extract(epoch from '2026-06-21 16:30:21'::timestamp) - extract(epoch from '2026-06-21 16:30:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.771323 -2.910887)', '2026-06-21 16:30:27', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771229 -2.910776)'), GeomFromEWKT('SRID=4674;POINT (-39.771323 -2.910887)'))) / (select extract(epoch from '2026-06-21 16:30:27'::timestamp) - extract(epoch from '2026-06-21 16:30:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771229 -2.910776)'), GeomFromEWKT('SRID=4674;POINT (-39.771323 -2.910887)'))) / (select extract(epoch from '2026-06-21 16:30:27'::timestamp) - extract(epoch from '2026-06-21 16:30:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.771393 -2.910975)', '2026-06-21 16:30:32', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771323 -2.910887)'), GeomFromEWKT('SRID=4674;POINT (-39.771393 -2.910975)'))) / (select extract(epoch from '2026-06-21 16:30:32'::timestamp) - extract(epoch from '2026-06-21 16:30:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771323 -2.910887)'), GeomFromEWKT('SRID=4674;POINT (-39.771393 -2.910975)'))) / (select extract(epoch from '2026-06-21 16:30:32'::timestamp) - extract(epoch from '2026-06-21 16:30:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.771488 -2.911082)', '2026-06-21 16:30:38', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771393 -2.910975)'), GeomFromEWKT('SRID=4674;POINT (-39.771488 -2.911082)'))) / (select extract(epoch from '2026-06-21 16:30:38'::timestamp) - extract(epoch from '2026-06-21 16:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771393 -2.910975)'), GeomFromEWKT('SRID=4674;POINT (-39.771488 -2.911082)'))) / (select extract(epoch from '2026-06-21 16:30:38'::timestamp) - extract(epoch from '2026-06-21 16:30: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'), 46821, 'SRID=4674;POINT (-39.771605 -2.911239)', '2026-06-21 16:30:47', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771488 -2.911082)'), GeomFromEWKT('SRID=4674;POINT (-39.771605 -2.911239)'))) / (select extract(epoch from '2026-06-21 16:30:47'::timestamp) - extract(epoch from '2026-06-21 16:30:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771488 -2.911082)'), GeomFromEWKT('SRID=4674;POINT (-39.771605 -2.911239)'))) / (select extract(epoch from '2026-06-21 16:30:47'::timestamp) - extract(epoch from '2026-06-21 16:30:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.771677 -2.911324)', '2026-06-21 16:30:52', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771605 -2.911239)'), GeomFromEWKT('SRID=4674;POINT (-39.771677 -2.911324)'))) / (select extract(epoch from '2026-06-21 16:30:52'::timestamp) - extract(epoch from '2026-06-21 16:30:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771605 -2.911239)'), GeomFromEWKT('SRID=4674;POINT (-39.771677 -2.911324)'))) / (select extract(epoch from '2026-06-21 16:30:52'::timestamp) - extract(epoch from '2026-06-21 16:30:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.771746 -2.911415)', '2026-06-21 16:30:57', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771677 -2.911324)'), GeomFromEWKT('SRID=4674;POINT (-39.771746 -2.911415)'))) / (select extract(epoch from '2026-06-21 16:30:57'::timestamp) - extract(epoch from '2026-06-21 16:30:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771677 -2.911324)'), GeomFromEWKT('SRID=4674;POINT (-39.771746 -2.911415)'))) / (select extract(epoch from '2026-06-21 16:30:57'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.771833 -2.911531)', '2026-06-21 16:31:03', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771746 -2.911415)'), GeomFromEWKT('SRID=4674;POINT (-39.771833 -2.911531)'))) / (select extract(epoch from '2026-06-21 16:31:03'::timestamp) - extract(epoch from '2026-06-21 16:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771746 -2.911415)'), GeomFromEWKT('SRID=4674;POINT (-39.771833 -2.911531)'))) / (select extract(epoch from '2026-06-21 16:31:03'::timestamp) - extract(epoch from '2026-06-21 16:30:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.771894 -2.911609)', '2026-06-21 16:31:07', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771833 -2.911531)'), GeomFromEWKT('SRID=4674;POINT (-39.771894 -2.911609)'))) / (select extract(epoch from '2026-06-21 16:31:07'::timestamp) - extract(epoch from '2026-06-21 16:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771833 -2.911531)'), GeomFromEWKT('SRID=4674;POINT (-39.771894 -2.911609)'))) / (select extract(epoch from '2026-06-21 16:31:07'::timestamp) - extract(epoch from '2026-06-21 16:31:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.771938 -2.911684)', '2026-06-21 16:31:11', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771894 -2.911609)'), GeomFromEWKT('SRID=4674;POINT (-39.771938 -2.911684)'))) / (select extract(epoch from '2026-06-21 16:31:11'::timestamp) - extract(epoch from '2026-06-21 16:31:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771894 -2.911609)'), GeomFromEWKT('SRID=4674;POINT (-39.771938 -2.911684)'))) / (select extract(epoch from '2026-06-21 16:31:11'::timestamp) - extract(epoch from '2026-06-21 16:31: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'), 46821, 'SRID=4674;POINT (-39.772034 -2.911791)', '2026-06-21 16:31:17', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771938 -2.911684)'), GeomFromEWKT('SRID=4674;POINT (-39.772034 -2.911791)'))) / (select extract(epoch from '2026-06-21 16:31:17'::timestamp) - extract(epoch from '2026-06-21 16:31:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771938 -2.911684)'), GeomFromEWKT('SRID=4674;POINT (-39.772034 -2.911791)'))) / (select extract(epoch from '2026-06-21 16:31:17'::timestamp) - extract(epoch from '2026-06-21 16:31: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'), 46821, 'SRID=4674;POINT (-39.772105 -2.911882)', '2026-06-21 16:31:22', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772034 -2.911791)'), GeomFromEWKT('SRID=4674;POINT (-39.772105 -2.911882)'))) / (select extract(epoch from '2026-06-21 16:31:22'::timestamp) - extract(epoch from '2026-06-21 16:31:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772034 -2.911791)'), GeomFromEWKT('SRID=4674;POINT (-39.772105 -2.911882)'))) / (select extract(epoch from '2026-06-21 16:31:22'::timestamp) - extract(epoch from '2026-06-21 16:31:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.772239 -2.912051)', '2026-06-21 16:31:31', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772105 -2.911882)'), GeomFromEWKT('SRID=4674;POINT (-39.772239 -2.912051)'))) / (select extract(epoch from '2026-06-21 16:31:31'::timestamp) - extract(epoch from '2026-06-21 16:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772105 -2.911882)'), GeomFromEWKT('SRID=4674;POINT (-39.772239 -2.912051)'))) / (select extract(epoch from '2026-06-21 16:31:31'::timestamp) - extract(epoch from '2026-06-21 16:31: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'), 46821, 'SRID=4674;POINT (-39.772319 -2.912142)', '2026-06-21 16:31:36', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772239 -2.912051)'), GeomFromEWKT('SRID=4674;POINT (-39.772319 -2.912142)'))) / (select extract(epoch from '2026-06-21 16:31:36'::timestamp) - extract(epoch from '2026-06-21 16:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772239 -2.912051)'), GeomFromEWKT('SRID=4674;POINT (-39.772319 -2.912142)'))) / (select extract(epoch from '2026-06-21 16:31:36'::timestamp) - extract(epoch from '2026-06-21 16:31:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.772392 -2.912231)', '2026-06-21 16:31:41', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772319 -2.912142)'), GeomFromEWKT('SRID=4674;POINT (-39.772392 -2.912231)'))) / (select extract(epoch from '2026-06-21 16:31:41'::timestamp) - extract(epoch from '2026-06-21 16:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772319 -2.912142)'), GeomFromEWKT('SRID=4674;POINT (-39.772392 -2.912231)'))) / (select extract(epoch from '2026-06-21 16:31:41'::timestamp) - extract(epoch from '2026-06-21 16:31:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.772512 -2.912379)', '2026-06-21 16:31:49', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772392 -2.912231)'), GeomFromEWKT('SRID=4674;POINT (-39.772512 -2.912379)'))) / (select extract(epoch from '2026-06-21 16:31:49'::timestamp) - extract(epoch from '2026-06-21 16:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772392 -2.912231)'), GeomFromEWKT('SRID=4674;POINT (-39.772512 -2.912379)'))) / (select extract(epoch from '2026-06-21 16:31:49'::timestamp) - extract(epoch from '2026-06-21 16:31:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.772595 -2.912505)', '2026-06-21 16:31:56', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772512 -2.912379)'), GeomFromEWKT('SRID=4674;POINT (-39.772595 -2.912505)'))) / (select extract(epoch from '2026-06-21 16:31:56'::timestamp) - extract(epoch from '2026-06-21 16:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772512 -2.912379)'), GeomFromEWKT('SRID=4674;POINT (-39.772595 -2.912505)'))) / (select extract(epoch from '2026-06-21 16:31:56'::timestamp) - extract(epoch from '2026-06-21 16:31:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.772661 -2.912603)', '2026-06-21 16:32:01', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772595 -2.912505)'), GeomFromEWKT('SRID=4674;POINT (-39.772661 -2.912603)'))) / (select extract(epoch from '2026-06-21 16:32:01'::timestamp) - extract(epoch from '2026-06-21 16:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772595 -2.912505)'), GeomFromEWKT('SRID=4674;POINT (-39.772661 -2.912603)'))) / (select extract(epoch from '2026-06-21 16:32:01'::timestamp) - extract(epoch from '2026-06-21 16:31:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.772739 -2.912744)', '2026-06-21 16:32:08', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772661 -2.912603)'), GeomFromEWKT('SRID=4674;POINT (-39.772739 -2.912744)'))) / (select extract(epoch from '2026-06-21 16:32:08'::timestamp) - extract(epoch from '2026-06-21 16:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772661 -2.912603)'), GeomFromEWKT('SRID=4674;POINT (-39.772739 -2.912744)'))) / (select extract(epoch from '2026-06-21 16:32:08'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.77283 -2.912864)', '2026-06-21 16:32:14', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772739 -2.912744)'), GeomFromEWKT('SRID=4674;POINT (-39.77283 -2.912864)'))) / (select extract(epoch from '2026-06-21 16:32:14'::timestamp) - extract(epoch from '2026-06-21 16:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772739 -2.912744)'), GeomFromEWKT('SRID=4674;POINT (-39.77283 -2.912864)'))) / (select extract(epoch from '2026-06-21 16:32:14'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.772927 -2.913008)', '2026-06-21 16:32:21', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77283 -2.912864)'), GeomFromEWKT('SRID=4674;POINT (-39.772927 -2.913008)'))) / (select extract(epoch from '2026-06-21 16:32:21'::timestamp) - extract(epoch from '2026-06-21 16:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77283 -2.912864)'), GeomFromEWKT('SRID=4674;POINT (-39.772927 -2.913008)'))) / (select extract(epoch from '2026-06-21 16:32:21'::timestamp) - extract(epoch from '2026-06-21 16:32:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.773013 -2.913127)', '2026-06-21 16:32:27', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772927 -2.913008)'), GeomFromEWKT('SRID=4674;POINT (-39.773013 -2.913127)'))) / (select extract(epoch from '2026-06-21 16:32:27'::timestamp) - extract(epoch from '2026-06-21 16:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.772927 -2.913008)'), GeomFromEWKT('SRID=4674;POINT (-39.773013 -2.913127)'))) / (select extract(epoch from '2026-06-21 16:32:27'::timestamp) - extract(epoch from '2026-06-21 16:32: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'), 46821, 'SRID=4674;POINT (-39.773079 -2.913221)', '2026-06-21 16:32:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773013 -2.913127)'), GeomFromEWKT('SRID=4674;POINT (-39.773079 -2.913221)'))) / (select extract(epoch from '2026-06-21 16:32:32'::timestamp) - extract(epoch from '2026-06-21 16:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773013 -2.913127)'), GeomFromEWKT('SRID=4674;POINT (-39.773079 -2.913221)'))) / (select extract(epoch from '2026-06-21 16:32:32'::timestamp) - extract(epoch from '2026-06-21 16:32:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.773124 -2.913295)', '2026-06-21 16:32:36', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773079 -2.913221)'), GeomFromEWKT('SRID=4674;POINT (-39.773124 -2.913295)'))) / (select extract(epoch from '2026-06-21 16:32:36'::timestamp) - extract(epoch from '2026-06-21 16:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773079 -2.913221)'), GeomFromEWKT('SRID=4674;POINT (-39.773124 -2.913295)'))) / (select extract(epoch from '2026-06-21 16:32:36'::timestamp) - extract(epoch from '2026-06-21 16:32:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.773204 -2.913381)', '2026-06-21 16:32:41', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773124 -2.913295)'), GeomFromEWKT('SRID=4674;POINT (-39.773204 -2.913381)'))) / (select extract(epoch from '2026-06-21 16:32:41'::timestamp) - extract(epoch from '2026-06-21 16:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773124 -2.913295)'), GeomFromEWKT('SRID=4674;POINT (-39.773204 -2.913381)'))) / (select extract(epoch from '2026-06-21 16:32:41'::timestamp) - extract(epoch from '2026-06-21 16:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.773283 -2.913463)', '2026-06-21 16:32:46', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773204 -2.913381)'), GeomFromEWKT('SRID=4674;POINT (-39.773283 -2.913463)'))) / (select extract(epoch from '2026-06-21 16:32:46'::timestamp) - extract(epoch from '2026-06-21 16:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773204 -2.913381)'), GeomFromEWKT('SRID=4674;POINT (-39.773283 -2.913463)'))) / (select extract(epoch from '2026-06-21 16:32:46'::timestamp) - extract(epoch from '2026-06-21 16:32:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.773357 -2.913544)', '2026-06-21 16:32:51', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773283 -2.913463)'), GeomFromEWKT('SRID=4674;POINT (-39.773357 -2.913544)'))) / (select extract(epoch from '2026-06-21 16:32:51'::timestamp) - extract(epoch from '2026-06-21 16:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773283 -2.913463)'), GeomFromEWKT('SRID=4674;POINT (-39.773357 -2.913544)'))) / (select extract(epoch from '2026-06-21 16:32:51'::timestamp) - extract(epoch from '2026-06-21 16:32:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.773463 -2.913686)', '2026-06-21 16:32:59', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773357 -2.913544)'), GeomFromEWKT('SRID=4674;POINT (-39.773463 -2.913686)'))) / (select extract(epoch from '2026-06-21 16:32:59'::timestamp) - extract(epoch from '2026-06-21 16:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773357 -2.913544)'), GeomFromEWKT('SRID=4674;POINT (-39.773463 -2.913686)'))) / (select extract(epoch from '2026-06-21 16:32:59'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.773547 -2.913796)', '2026-06-21 16:33:05', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773463 -2.913686)'), GeomFromEWKT('SRID=4674;POINT (-39.773547 -2.913796)'))) / (select extract(epoch from '2026-06-21 16:33:05'::timestamp) - extract(epoch from '2026-06-21 16:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773463 -2.913686)'), GeomFromEWKT('SRID=4674;POINT (-39.773547 -2.913796)'))) / (select extract(epoch from '2026-06-21 16:33:05'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.773652 -2.91392)', '2026-06-21 16:33:12', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773547 -2.913796)'), GeomFromEWKT('SRID=4674;POINT (-39.773652 -2.91392)'))) / (select extract(epoch from '2026-06-21 16:33:12'::timestamp) - extract(epoch from '2026-06-21 16:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773547 -2.913796)'), GeomFromEWKT('SRID=4674;POINT (-39.773652 -2.91392)'))) / (select extract(epoch from '2026-06-21 16:33:12'::timestamp) - extract(epoch from '2026-06-21 16:33:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.773739 -2.914039)', '2026-06-21 16:33:18', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773652 -2.91392)'), GeomFromEWKT('SRID=4674;POINT (-39.773739 -2.914039)'))) / (select extract(epoch from '2026-06-21 16:33:18'::timestamp) - extract(epoch from '2026-06-21 16:33:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773652 -2.91392)'), GeomFromEWKT('SRID=4674;POINT (-39.773739 -2.914039)'))) / (select extract(epoch from '2026-06-21 16:33:18'::timestamp) - extract(epoch from '2026-06-21 16:33: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'), 46821, 'SRID=4674;POINT (-39.773817 -2.914134)', '2026-06-21 16:33:23', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773739 -2.914039)'), GeomFromEWKT('SRID=4674;POINT (-39.773817 -2.914134)'))) / (select extract(epoch from '2026-06-21 16:33:23'::timestamp) - extract(epoch from '2026-06-21 16:33:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773739 -2.914039)'), GeomFromEWKT('SRID=4674;POINT (-39.773817 -2.914134)'))) / (select extract(epoch from '2026-06-21 16:33:23'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.773892 -2.914218)', '2026-06-21 16:33:28', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773817 -2.914134)'), GeomFromEWKT('SRID=4674;POINT (-39.773892 -2.914218)'))) / (select extract(epoch from '2026-06-21 16:33:28'::timestamp) - extract(epoch from '2026-06-21 16:33:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773817 -2.914134)'), GeomFromEWKT('SRID=4674;POINT (-39.773892 -2.914218)'))) / (select extract(epoch from '2026-06-21 16:33:28'::timestamp) - extract(epoch from '2026-06-21 16:33: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'), 46821, 'SRID=4674;POINT (-39.773967 -2.914304)', '2026-06-21 16:33:33', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773892 -2.914218)'), GeomFromEWKT('SRID=4674;POINT (-39.773967 -2.914304)'))) / (select extract(epoch from '2026-06-21 16:33:33'::timestamp) - extract(epoch from '2026-06-21 16:33:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773892 -2.914218)'), GeomFromEWKT('SRID=4674;POINT (-39.773967 -2.914304)'))) / (select extract(epoch from '2026-06-21 16:33:33'::timestamp) - extract(epoch from '2026-06-21 16:33: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'), 46821, 'SRID=4674;POINT (-39.774042 -2.914389)', '2026-06-21 16:33:38', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773967 -2.914304)'), GeomFromEWKT('SRID=4674;POINT (-39.774042 -2.914389)'))) / (select extract(epoch from '2026-06-21 16:33:38'::timestamp) - extract(epoch from '2026-06-21 16:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.773967 -2.914304)'), GeomFromEWKT('SRID=4674;POINT (-39.774042 -2.914389)'))) / (select extract(epoch from '2026-06-21 16:33:38'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.774121 -2.914501)', '2026-06-21 16:33:44', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774042 -2.914389)'), GeomFromEWKT('SRID=4674;POINT (-39.774121 -2.914501)'))) / (select extract(epoch from '2026-06-21 16:33:44'::timestamp) - extract(epoch from '2026-06-21 16:33:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774042 -2.914389)'), GeomFromEWKT('SRID=4674;POINT (-39.774121 -2.914501)'))) / (select extract(epoch from '2026-06-21 16:33:44'::timestamp) - extract(epoch from '2026-06-21 16:33: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'), 46821, 'SRID=4674;POINT (-39.774201 -2.914609)', '2026-06-21 16:33:50', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774121 -2.914501)'), GeomFromEWKT('SRID=4674;POINT (-39.774201 -2.914609)'))) / (select extract(epoch from '2026-06-21 16:33:50'::timestamp) - extract(epoch from '2026-06-21 16:33:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774121 -2.914501)'), GeomFromEWKT('SRID=4674;POINT (-39.774201 -2.914609)'))) / (select extract(epoch from '2026-06-21 16:33:50'::timestamp) - extract(epoch from '2026-06-21 16:33:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.774307 -2.914742)', '2026-06-21 16:33:57', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774201 -2.914609)'), GeomFromEWKT('SRID=4674;POINT (-39.774307 -2.914742)'))) / (select extract(epoch from '2026-06-21 16:33:57'::timestamp) - extract(epoch from '2026-06-21 16:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774201 -2.914609)'), GeomFromEWKT('SRID=4674;POINT (-39.774307 -2.914742)'))) / (select extract(epoch from '2026-06-21 16:33:57'::timestamp) - extract(epoch from '2026-06-21 16:33:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.774388 -2.914836)', '2026-06-21 16:34:02', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774307 -2.914742)'), GeomFromEWKT('SRID=4674;POINT (-39.774388 -2.914836)'))) / (select extract(epoch from '2026-06-21 16:34:02'::timestamp) - extract(epoch from '2026-06-21 16:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774307 -2.914742)'), GeomFromEWKT('SRID=4674;POINT (-39.774388 -2.914836)'))) / (select extract(epoch from '2026-06-21 16:34:02'::timestamp) - extract(epoch from '2026-06-21 16:33:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.774477 -2.91493)', '2026-06-21 16:34:08', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774388 -2.914836)'), GeomFromEWKT('SRID=4674;POINT (-39.774477 -2.91493)'))) / (select extract(epoch from '2026-06-21 16:34:08'::timestamp) - extract(epoch from '2026-06-21 16:34:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774388 -2.914836)'), GeomFromEWKT('SRID=4674;POINT (-39.774477 -2.91493)'))) / (select extract(epoch from '2026-06-21 16:34:08'::timestamp) - extract(epoch from '2026-06-21 16:34:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.774575 -2.915035)', '2026-06-21 16:34:14', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774477 -2.91493)'), GeomFromEWKT('SRID=4674;POINT (-39.774575 -2.915035)'))) / (select extract(epoch from '2026-06-21 16:34:14'::timestamp) - extract(epoch from '2026-06-21 16:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774477 -2.91493)'), GeomFromEWKT('SRID=4674;POINT (-39.774575 -2.915035)'))) / (select extract(epoch from '2026-06-21 16:34:14'::timestamp) - extract(epoch from '2026-06-21 16:34:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.774708 -2.915198)', '2026-06-21 16:34:23', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774575 -2.915035)'), GeomFromEWKT('SRID=4674;POINT (-39.774708 -2.915198)'))) / (select extract(epoch from '2026-06-21 16:34:23'::timestamp) - extract(epoch from '2026-06-21 16:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774575 -2.915035)'), GeomFromEWKT('SRID=4674;POINT (-39.774708 -2.915198)'))) / (select extract(epoch from '2026-06-21 16:34:23'::timestamp) - extract(epoch from '2026-06-21 16:34: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'), 46821, 'SRID=4674;POINT (-39.774789 -2.915286)', '2026-06-21 16:34:28', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774708 -2.915198)'), GeomFromEWKT('SRID=4674;POINT (-39.774789 -2.915286)'))) / (select extract(epoch from '2026-06-21 16:34:28'::timestamp) - extract(epoch from '2026-06-21 16:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774708 -2.915198)'), GeomFromEWKT('SRID=4674;POINT (-39.774789 -2.915286)'))) / (select extract(epoch from '2026-06-21 16:34:28'::timestamp) - extract(epoch from '2026-06-21 16:34:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.774836 -2.915337)', '2026-06-21 16:34:31', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774789 -2.915286)'), GeomFromEWKT('SRID=4674;POINT (-39.774836 -2.915337)'))) / (select extract(epoch from '2026-06-21 16:34:31'::timestamp) - extract(epoch from '2026-06-21 16:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774789 -2.915286)'), GeomFromEWKT('SRID=4674;POINT (-39.774836 -2.915337)'))) / (select extract(epoch from '2026-06-21 16:34:31'::timestamp) - extract(epoch from '2026-06-21 16:34: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'), 46821, 'SRID=4674;POINT (-39.774863 -2.915372)', '2026-06-21 16:34:33', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774836 -2.915337)'), GeomFromEWKT('SRID=4674;POINT (-39.774863 -2.915372)'))) / (select extract(epoch from '2026-06-21 16:34:33'::timestamp) - extract(epoch from '2026-06-21 16:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774836 -2.915337)'), GeomFromEWKT('SRID=4674;POINT (-39.774863 -2.915372)'))) / (select extract(epoch from '2026-06-21 16:34:33'::timestamp) - extract(epoch from '2026-06-21 16:34:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.774919 -2.915455)', '2026-06-21 16:34:37', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774863 -2.915372)'), GeomFromEWKT('SRID=4674;POINT (-39.774919 -2.915455)'))) / (select extract(epoch from '2026-06-21 16:34:37'::timestamp) - extract(epoch from '2026-06-21 16:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774863 -2.915372)'), GeomFromEWKT('SRID=4674;POINT (-39.774919 -2.915455)'))) / (select extract(epoch from '2026-06-21 16:34:37'::timestamp) - extract(epoch from '2026-06-21 16:34:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.774986 -2.915532)', '2026-06-21 16:34:41', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774919 -2.915455)'), GeomFromEWKT('SRID=4674;POINT (-39.774986 -2.915532)'))) / (select extract(epoch from '2026-06-21 16:34:41'::timestamp) - extract(epoch from '2026-06-21 16:34:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774919 -2.915455)'), GeomFromEWKT('SRID=4674;POINT (-39.774986 -2.915532)'))) / (select extract(epoch from '2026-06-21 16:34:41'::timestamp) - extract(epoch from '2026-06-21 16:34: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'), 46821, 'SRID=4674;POINT (-39.775074 -2.915649)', '2026-06-21 16:34:47', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774986 -2.915532)'), GeomFromEWKT('SRID=4674;POINT (-39.775074 -2.915649)'))) / (select extract(epoch from '2026-06-21 16:34:47'::timestamp) - extract(epoch from '2026-06-21 16:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.774986 -2.915532)'), GeomFromEWKT('SRID=4674;POINT (-39.775074 -2.915649)'))) / (select extract(epoch from '2026-06-21 16:34:47'::timestamp) - extract(epoch from '2026-06-21 16:34:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.775164 -2.91576)', '2026-06-21 16:34:53', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775074 -2.915649)'), GeomFromEWKT('SRID=4674;POINT (-39.775164 -2.91576)'))) / (select extract(epoch from '2026-06-21 16:34:53'::timestamp) - extract(epoch from '2026-06-21 16:34:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775074 -2.915649)'), GeomFromEWKT('SRID=4674;POINT (-39.775164 -2.91576)'))) / (select extract(epoch from '2026-06-21 16:34:53'::timestamp) - extract(epoch from '2026-06-21 16:34:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.775297 -2.915859)', '2026-06-21 16:35:00', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775164 -2.91576)'), GeomFromEWKT('SRID=4674;POINT (-39.775297 -2.915859)'))) / (select extract(epoch from '2026-06-21 16:35:00'::timestamp) - extract(epoch from '2026-06-21 16:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775164 -2.91576)'), GeomFromEWKT('SRID=4674;POINT (-39.775297 -2.915859)'))) / (select extract(epoch from '2026-06-21 16:35:00'::timestamp) - extract(epoch from '2026-06-21 16:34:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.77542 -2.915956)', '2026-06-21 16:35:07', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775297 -2.915859)'), GeomFromEWKT('SRID=4674;POINT (-39.77542 -2.915956)'))) / (select extract(epoch from '2026-06-21 16:35:07'::timestamp) - extract(epoch from '2026-06-21 16:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775297 -2.915859)'), GeomFromEWKT('SRID=4674;POINT (-39.77542 -2.915956)'))) / (select extract(epoch from '2026-06-21 16:35:07'::timestamp) - extract(epoch from '2026-06-21 16:35:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.775499 -2.916028)', '2026-06-21 16:35:12', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77542 -2.915956)'), GeomFromEWKT('SRID=4674;POINT (-39.775499 -2.916028)'))) / (select extract(epoch from '2026-06-21 16:35:12'::timestamp) - extract(epoch from '2026-06-21 16:35:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77542 -2.915956)'), GeomFromEWKT('SRID=4674;POINT (-39.775499 -2.916028)'))) / (select extract(epoch from '2026-06-21 16:35:12'::timestamp) - extract(epoch from '2026-06-21 16:35: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'), 46821, 'SRID=4674;POINT (-39.775569 -2.916113)', '2026-06-21 16:35:17', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775499 -2.916028)'), GeomFromEWKT('SRID=4674;POINT (-39.775569 -2.916113)'))) / (select extract(epoch from '2026-06-21 16:35:17'::timestamp) - extract(epoch from '2026-06-21 16:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775499 -2.916028)'), GeomFromEWKT('SRID=4674;POINT (-39.775569 -2.916113)'))) / (select extract(epoch from '2026-06-21 16:35:17'::timestamp) - extract(epoch from '2026-06-21 16:35:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.775639 -2.916201)', '2026-06-21 16:35:22', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775569 -2.916113)'), GeomFromEWKT('SRID=4674;POINT (-39.775639 -2.916201)'))) / (select extract(epoch from '2026-06-21 16:35:22'::timestamp) - extract(epoch from '2026-06-21 16:35:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775569 -2.916113)'), GeomFromEWKT('SRID=4674;POINT (-39.775639 -2.916201)'))) / (select extract(epoch from '2026-06-21 16:35:22'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.775707 -2.916279)', '2026-06-21 16:35:27', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775639 -2.916201)'), GeomFromEWKT('SRID=4674;POINT (-39.775707 -2.916279)'))) / (select extract(epoch from '2026-06-21 16:35:27'::timestamp) - extract(epoch from '2026-06-21 16:35:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775639 -2.916201)'), GeomFromEWKT('SRID=4674;POINT (-39.775707 -2.916279)'))) / (select extract(epoch from '2026-06-21 16:35:27'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.775788 -2.91636)', '2026-06-21 16:35:32', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775707 -2.916279)'), GeomFromEWKT('SRID=4674;POINT (-39.775788 -2.91636)'))) / (select extract(epoch from '2026-06-21 16:35:32'::timestamp) - extract(epoch from '2026-06-21 16:35:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775707 -2.916279)'), GeomFromEWKT('SRID=4674;POINT (-39.775788 -2.91636)'))) / (select extract(epoch from '2026-06-21 16:35:32'::timestamp) - extract(epoch from '2026-06-21 16:35: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'), 46821, 'SRID=4674;POINT (-39.775862 -2.916422)', '2026-06-21 16:35:36', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775788 -2.91636)'), GeomFromEWKT('SRID=4674;POINT (-39.775862 -2.916422)'))) / (select extract(epoch from '2026-06-21 16:35:36'::timestamp) - extract(epoch from '2026-06-21 16:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775788 -2.91636)'), GeomFromEWKT('SRID=4674;POINT (-39.775862 -2.916422)'))) / (select extract(epoch from '2026-06-21 16:35:36'::timestamp) - extract(epoch from '2026-06-21 16:35:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.775934 -2.916502)', '2026-06-21 16:35:41', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775862 -2.916422)'), GeomFromEWKT('SRID=4674;POINT (-39.775934 -2.916502)'))) / (select extract(epoch from '2026-06-21 16:35:41'::timestamp) - extract(epoch from '2026-06-21 16:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775862 -2.916422)'), GeomFromEWKT('SRID=4674;POINT (-39.775934 -2.916502)'))) / (select extract(epoch from '2026-06-21 16:35:41'::timestamp) - extract(epoch from '2026-06-21 16:35: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'), 46821, 'SRID=4674;POINT (-39.776002 -2.916588)', '2026-06-21 16:35:46', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775934 -2.916502)'), GeomFromEWKT('SRID=4674;POINT (-39.776002 -2.916588)'))) / (select extract(epoch from '2026-06-21 16:35:46'::timestamp) - extract(epoch from '2026-06-21 16:35:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.775934 -2.916502)'), GeomFromEWKT('SRID=4674;POINT (-39.776002 -2.916588)'))) / (select extract(epoch from '2026-06-21 16:35:46'::timestamp) - extract(epoch from '2026-06-21 16:35: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'), 46821, 'SRID=4674;POINT (-39.776075 -2.916676)', '2026-06-21 16:35:51', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776002 -2.916588)'), GeomFromEWKT('SRID=4674;POINT (-39.776075 -2.916676)'))) / (select extract(epoch from '2026-06-21 16:35:51'::timestamp) - extract(epoch from '2026-06-21 16:35:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776002 -2.916588)'), GeomFromEWKT('SRID=4674;POINT (-39.776075 -2.916676)'))) / (select extract(epoch from '2026-06-21 16:35:51'::timestamp) - extract(epoch from '2026-06-21 16:35: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'), 46821, 'SRID=4674;POINT (-39.776159 -2.916764)', '2026-06-21 16:35:56', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776075 -2.916676)'), GeomFromEWKT('SRID=4674;POINT (-39.776159 -2.916764)'))) / (select extract(epoch from '2026-06-21 16:35:56'::timestamp) - extract(epoch from '2026-06-21 16:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776075 -2.916676)'), GeomFromEWKT('SRID=4674;POINT (-39.776159 -2.916764)'))) / (select extract(epoch from '2026-06-21 16:35:56'::timestamp) - extract(epoch from '2026-06-21 16:35:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.776255 -2.916858)', '2026-06-21 16:36:02', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776159 -2.916764)'), GeomFromEWKT('SRID=4674;POINT (-39.776255 -2.916858)'))) / (select extract(epoch from '2026-06-21 16:36:02'::timestamp) - extract(epoch from '2026-06-21 16:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776159 -2.916764)'), GeomFromEWKT('SRID=4674;POINT (-39.776255 -2.916858)'))) / (select extract(epoch from '2026-06-21 16:36:02'::timestamp) - extract(epoch from '2026-06-21 16:35:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.776351 -2.916964)', '2026-06-21 16:36:08', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776255 -2.916858)'), GeomFromEWKT('SRID=4674;POINT (-39.776351 -2.916964)'))) / (select extract(epoch from '2026-06-21 16:36:08'::timestamp) - extract(epoch from '2026-06-21 16:36:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776255 -2.916858)'), GeomFromEWKT('SRID=4674;POINT (-39.776351 -2.916964)'))) / (select extract(epoch from '2026-06-21 16:36:08'::timestamp) - extract(epoch from '2026-06-21 16:36: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'), 46821, 'SRID=4674;POINT (-39.776474 -2.917102)', '2026-06-21 16:36:16', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776351 -2.916964)'), GeomFromEWKT('SRID=4674;POINT (-39.776474 -2.917102)'))) / (select extract(epoch from '2026-06-21 16:36:16'::timestamp) - extract(epoch from '2026-06-21 16:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776351 -2.916964)'), GeomFromEWKT('SRID=4674;POINT (-39.776474 -2.917102)'))) / (select extract(epoch from '2026-06-21 16:36:16'::timestamp) - extract(epoch from '2026-06-21 16:36:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.77659 -2.917216)', '2026-06-21 16:36:23', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776474 -2.917102)'), GeomFromEWKT('SRID=4674;POINT (-39.77659 -2.917216)'))) / (select extract(epoch from '2026-06-21 16:36:23'::timestamp) - extract(epoch from '2026-06-21 16:36:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776474 -2.917102)'), GeomFromEWKT('SRID=4674;POINT (-39.77659 -2.917216)'))) / (select extract(epoch from '2026-06-21 16:36:23'::timestamp) - extract(epoch from '2026-06-21 16:36: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'), 46821, 'SRID=4674;POINT (-39.776676 -2.917296)', '2026-06-21 16:36:28', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77659 -2.917216)'), GeomFromEWKT('SRID=4674;POINT (-39.776676 -2.917296)'))) / (select extract(epoch from '2026-06-21 16:36:28'::timestamp) - extract(epoch from '2026-06-21 16:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77659 -2.917216)'), GeomFromEWKT('SRID=4674;POINT (-39.776676 -2.917296)'))) / (select extract(epoch from '2026-06-21 16:36:28'::timestamp) - extract(epoch from '2026-06-21 16:36: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'), 46821, 'SRID=4674;POINT (-39.776773 -2.9174)', '2026-06-21 16:36:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776676 -2.917296)'), GeomFromEWKT('SRID=4674;POINT (-39.776773 -2.9174)'))) / (select extract(epoch from '2026-06-21 16:36:34'::timestamp) - extract(epoch from '2026-06-21 16:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776676 -2.917296)'), GeomFromEWKT('SRID=4674;POINT (-39.776773 -2.9174)'))) / (select extract(epoch from '2026-06-21 16:36:34'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.776869 -2.9175)', '2026-06-21 16:36:40', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776773 -2.9174)'), GeomFromEWKT('SRID=4674;POINT (-39.776869 -2.9175)'))) / (select extract(epoch from '2026-06-21 16:36:40'::timestamp) - extract(epoch from '2026-06-21 16:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776773 -2.9174)'), GeomFromEWKT('SRID=4674;POINT (-39.776869 -2.9175)'))) / (select extract(epoch from '2026-06-21 16:36:40'::timestamp) - extract(epoch from '2026-06-21 16:36:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.776956 -2.917574)', '2026-06-21 16:36:45', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776869 -2.9175)'), GeomFromEWKT('SRID=4674;POINT (-39.776956 -2.917574)'))) / (select extract(epoch from '2026-06-21 16:36:45'::timestamp) - extract(epoch from '2026-06-21 16:36:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776869 -2.9175)'), GeomFromEWKT('SRID=4674;POINT (-39.776956 -2.917574)'))) / (select extract(epoch from '2026-06-21 16:36:45'::timestamp) - extract(epoch from '2026-06-21 16:36: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'), 46821, 'SRID=4674;POINT (-39.777037 -2.917652)', '2026-06-21 16:36:50', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776956 -2.917574)'), GeomFromEWKT('SRID=4674;POINT (-39.777037 -2.917652)'))) / (select extract(epoch from '2026-06-21 16:36:50'::timestamp) - extract(epoch from '2026-06-21 16:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.776956 -2.917574)'), GeomFromEWKT('SRID=4674;POINT (-39.777037 -2.917652)'))) / (select extract(epoch from '2026-06-21 16:36:50'::timestamp) - extract(epoch from '2026-06-21 16:36: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'), 46821, 'SRID=4674;POINT (-39.777131 -2.917751)', '2026-06-21 16:36:56', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777037 -2.917652)'), GeomFromEWKT('SRID=4674;POINT (-39.777131 -2.917751)'))) / (select extract(epoch from '2026-06-21 16:36:56'::timestamp) - extract(epoch from '2026-06-21 16:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777037 -2.917652)'), GeomFromEWKT('SRID=4674;POINT (-39.777131 -2.917751)'))) / (select extract(epoch from '2026-06-21 16:36:56'::timestamp) - extract(epoch from '2026-06-21 16:36: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'), 46821, 'SRID=4674;POINT (-39.777261 -2.917873)', '2026-06-21 16:37:04', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777131 -2.917751)'), GeomFromEWKT('SRID=4674;POINT (-39.777261 -2.917873)'))) / (select extract(epoch from '2026-06-21 16:37:04'::timestamp) - extract(epoch from '2026-06-21 16:36:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777131 -2.917751)'), GeomFromEWKT('SRID=4674;POINT (-39.777261 -2.917873)'))) / (select extract(epoch from '2026-06-21 16:37:04'::timestamp) - extract(epoch from '2026-06-21 16:36: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'), 46821, 'SRID=4674;POINT (-39.777391 -2.918004)', '2026-06-21 16:37:12', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777261 -2.917873)'), GeomFromEWKT('SRID=4674;POINT (-39.777391 -2.918004)'))) / (select extract(epoch from '2026-06-21 16:37:12'::timestamp) - extract(epoch from '2026-06-21 16:37:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777261 -2.917873)'), GeomFromEWKT('SRID=4674;POINT (-39.777391 -2.918004)'))) / (select extract(epoch from '2026-06-21 16:37:12'::timestamp) - extract(epoch from '2026-06-21 16:37:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.777465 -2.918076)', '2026-06-21 16:37:17', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777391 -2.918004)'), GeomFromEWKT('SRID=4674;POINT (-39.777465 -2.918076)'))) / (select extract(epoch from '2026-06-21 16:37:17'::timestamp) - extract(epoch from '2026-06-21 16:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777391 -2.918004)'), GeomFromEWKT('SRID=4674;POINT (-39.777465 -2.918076)'))) / (select extract(epoch from '2026-06-21 16:37:17'::timestamp) - extract(epoch from '2026-06-21 16:37: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'), 46821, 'SRID=4674;POINT (-39.777551 -2.918173)', '2026-06-21 16:37:23', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777465 -2.918076)'), GeomFromEWKT('SRID=4674;POINT (-39.777551 -2.918173)'))) / (select extract(epoch from '2026-06-21 16:37:23'::timestamp) - extract(epoch from '2026-06-21 16:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777465 -2.918076)'), GeomFromEWKT('SRID=4674;POINT (-39.777551 -2.918173)'))) / (select extract(epoch from '2026-06-21 16:37:23'::timestamp) - extract(epoch from '2026-06-21 16:37: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'), 46821, 'SRID=4674;POINT (-39.777649 -2.918294)', '2026-06-21 16:37:30', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777551 -2.918173)'), GeomFromEWKT('SRID=4674;POINT (-39.777649 -2.918294)'))) / (select extract(epoch from '2026-06-21 16:37:30'::timestamp) - extract(epoch from '2026-06-21 16:37:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777551 -2.918173)'), GeomFromEWKT('SRID=4674;POINT (-39.777649 -2.918294)'))) / (select extract(epoch from '2026-06-21 16:37:30'::timestamp) - extract(epoch from '2026-06-21 16:37:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.777744 -2.918383)', '2026-06-21 16:37:36', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777649 -2.918294)'), GeomFromEWKT('SRID=4674;POINT (-39.777744 -2.918383)'))) / (select extract(epoch from '2026-06-21 16:37:36'::timestamp) - extract(epoch from '2026-06-21 16:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777649 -2.918294)'), GeomFromEWKT('SRID=4674;POINT (-39.777744 -2.918383)'))) / (select extract(epoch from '2026-06-21 16:37:36'::timestamp) - extract(epoch from '2026-06-21 16:37:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.777824 -2.918461)', '2026-06-21 16:37:41', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777744 -2.918383)'), GeomFromEWKT('SRID=4674;POINT (-39.777824 -2.918461)'))) / (select extract(epoch from '2026-06-21 16:37:41'::timestamp) - extract(epoch from '2026-06-21 16:37:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777744 -2.918383)'), GeomFromEWKT('SRID=4674;POINT (-39.777824 -2.918461)'))) / (select extract(epoch from '2026-06-21 16:37:41'::timestamp) - extract(epoch from '2026-06-21 16:37:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.777918 -2.918551)', '2026-06-21 16:37:47', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777824 -2.918461)'), GeomFromEWKT('SRID=4674;POINT (-39.777918 -2.918551)'))) / (select extract(epoch from '2026-06-21 16:37:47'::timestamp) - extract(epoch from '2026-06-21 16:37:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777824 -2.918461)'), GeomFromEWKT('SRID=4674;POINT (-39.777918 -2.918551)'))) / (select extract(epoch from '2026-06-21 16:37:47'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.777947 -2.918584)', '2026-06-21 16:37:49', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777918 -2.918551)'), GeomFromEWKT('SRID=4674;POINT (-39.777947 -2.918584)'))) / (select extract(epoch from '2026-06-21 16:37:49'::timestamp) - extract(epoch from '2026-06-21 16:37:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777918 -2.918551)'), GeomFromEWKT('SRID=4674;POINT (-39.777947 -2.918584)'))) / (select extract(epoch from '2026-06-21 16:37:49'::timestamp) - extract(epoch from '2026-06-21 16:37:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.777987 -2.918616)', '2026-06-21 16:37:51', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777947 -2.918584)'), GeomFromEWKT('SRID=4674;POINT (-39.777987 -2.918616)'))) / (select extract(epoch from '2026-06-21 16:37:51'::timestamp) - extract(epoch from '2026-06-21 16:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777947 -2.918584)'), GeomFromEWKT('SRID=4674;POINT (-39.777987 -2.918616)'))) / (select extract(epoch from '2026-06-21 16:37:51'::timestamp) - extract(epoch from '2026-06-21 16:37:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.778046 -2.918685)', '2026-06-21 16:37:56', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777987 -2.918616)'), GeomFromEWKT('SRID=4674;POINT (-39.778046 -2.918685)'))) / (select extract(epoch from '2026-06-21 16:37:56'::timestamp) - extract(epoch from '2026-06-21 16:37:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.777987 -2.918616)'), GeomFromEWKT('SRID=4674;POINT (-39.778046 -2.918685)'))) / (select extract(epoch from '2026-06-21 16:37:56'::timestamp) - extract(epoch from '2026-06-21 16:37: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'), 46821, 'SRID=4674;POINT (-39.778122 -2.918777)', '2026-06-21 16:38:02', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778046 -2.918685)'), GeomFromEWKT('SRID=4674;POINT (-39.778122 -2.918777)'))) / (select extract(epoch from '2026-06-21 16:38:02'::timestamp) - extract(epoch from '2026-06-21 16:37:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778046 -2.918685)'), GeomFromEWKT('SRID=4674;POINT (-39.778122 -2.918777)'))) / (select extract(epoch from '2026-06-21 16:38:02'::timestamp) - extract(epoch from '2026-06-21 16:37:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.778222 -2.918881)', '2026-06-21 16:38:09', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778122 -2.918777)'), GeomFromEWKT('SRID=4674;POINT (-39.778222 -2.918881)'))) / (select extract(epoch from '2026-06-21 16:38:09'::timestamp) - extract(epoch from '2026-06-21 16:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778122 -2.918777)'), GeomFromEWKT('SRID=4674;POINT (-39.778222 -2.918881)'))) / (select extract(epoch from '2026-06-21 16:38:09'::timestamp) - extract(epoch from '2026-06-21 16:38:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.77829 -2.918947)', '2026-06-21 16:38:13', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778222 -2.918881)'), GeomFromEWKT('SRID=4674;POINT (-39.77829 -2.918947)'))) / (select extract(epoch from '2026-06-21 16:38:13'::timestamp) - extract(epoch from '2026-06-21 16:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778222 -2.918881)'), GeomFromEWKT('SRID=4674;POINT (-39.77829 -2.918947)'))) / (select extract(epoch from '2026-06-21 16:38:13'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.778368 -2.919033)', '2026-06-21 16:38:19', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77829 -2.918947)'), GeomFromEWKT('SRID=4674;POINT (-39.778368 -2.919033)'))) / (select extract(epoch from '2026-06-21 16:38:19'::timestamp) - extract(epoch from '2026-06-21 16:38:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77829 -2.918947)'), GeomFromEWKT('SRID=4674;POINT (-39.778368 -2.919033)'))) / (select extract(epoch from '2026-06-21 16:38:19'::timestamp) - extract(epoch from '2026-06-21 16:38:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.778453 -2.919118)', '2026-06-21 16:38:25', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778368 -2.919033)'), GeomFromEWKT('SRID=4674;POINT (-39.778453 -2.919118)'))) / (select extract(epoch from '2026-06-21 16:38:25'::timestamp) - extract(epoch from '2026-06-21 16:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778368 -2.919033)'), GeomFromEWKT('SRID=4674;POINT (-39.778453 -2.919118)'))) / (select extract(epoch from '2026-06-21 16:38:25'::timestamp) - extract(epoch from '2026-06-21 16:38:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.778496 -2.91916)', '2026-06-21 16:38:28', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778453 -2.919118)'), GeomFromEWKT('SRID=4674;POINT (-39.778496 -2.91916)'))) / (select extract(epoch from '2026-06-21 16:38:28'::timestamp) - extract(epoch from '2026-06-21 16:38:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778453 -2.919118)'), GeomFromEWKT('SRID=4674;POINT (-39.778496 -2.91916)'))) / (select extract(epoch from '2026-06-21 16:38:28'::timestamp) - extract(epoch from '2026-06-21 16:38: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'), 46821, 'SRID=4674;POINT (-39.778522 -2.919185)', '2026-06-21 16:38:30', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778496 -2.91916)'), GeomFromEWKT('SRID=4674;POINT (-39.778522 -2.919185)'))) / (select extract(epoch from '2026-06-21 16:38:30'::timestamp) - extract(epoch from '2026-06-21 16:38:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778496 -2.91916)'), GeomFromEWKT('SRID=4674;POINT (-39.778522 -2.919185)'))) / (select extract(epoch from '2026-06-21 16:38:30'::timestamp) - extract(epoch from '2026-06-21 16:38:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.778624 -2.919283)', '2026-06-21 16:38:37', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778522 -2.919185)'), GeomFromEWKT('SRID=4674;POINT (-39.778624 -2.919283)'))) / (select extract(epoch from '2026-06-21 16:38:37'::timestamp) - extract(epoch from '2026-06-21 16:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778522 -2.919185)'), GeomFromEWKT('SRID=4674;POINT (-39.778624 -2.919283)'))) / (select extract(epoch from '2026-06-21 16:38:37'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.778716 -2.919371)', '2026-06-21 16:38:43', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778624 -2.919283)'), GeomFromEWKT('SRID=4674;POINT (-39.778716 -2.919371)'))) / (select extract(epoch from '2026-06-21 16:38:43'::timestamp) - extract(epoch from '2026-06-21 16:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778624 -2.919283)'), GeomFromEWKT('SRID=4674;POINT (-39.778716 -2.919371)'))) / (select extract(epoch from '2026-06-21 16:38:43'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.778839 -2.919485)', '2026-06-21 16:38:50', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778716 -2.919371)'), GeomFromEWKT('SRID=4674;POINT (-39.778839 -2.919485)'))) / (select extract(epoch from '2026-06-21 16:38:50'::timestamp) - extract(epoch from '2026-06-21 16:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778716 -2.919371)'), GeomFromEWKT('SRID=4674;POINT (-39.778839 -2.919485)'))) / (select extract(epoch from '2026-06-21 16:38:50'::timestamp) - extract(epoch from '2026-06-21 16:38:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.77893 -2.919568)', '2026-06-21 16:38:55', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778839 -2.919485)'), GeomFromEWKT('SRID=4674;POINT (-39.77893 -2.919568)'))) / (select extract(epoch from '2026-06-21 16:38:55'::timestamp) - extract(epoch from '2026-06-21 16:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.778839 -2.919485)'), GeomFromEWKT('SRID=4674;POINT (-39.77893 -2.919568)'))) / (select extract(epoch from '2026-06-21 16:38:55'::timestamp) - extract(epoch from '2026-06-21 16:38:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.779019 -2.919649)', '2026-06-21 16:39:00', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77893 -2.919568)'), GeomFromEWKT('SRID=4674;POINT (-39.779019 -2.919649)'))) / (select extract(epoch from '2026-06-21 16:39:00'::timestamp) - extract(epoch from '2026-06-21 16:38:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77893 -2.919568)'), GeomFromEWKT('SRID=4674;POINT (-39.779019 -2.919649)'))) / (select extract(epoch from '2026-06-21 16:39:00'::timestamp) - extract(epoch from '2026-06-21 16:38:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.779122 -2.919755)', '2026-06-21 16:39:06', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779019 -2.919649)'), GeomFromEWKT('SRID=4674;POINT (-39.779122 -2.919755)'))) / (select extract(epoch from '2026-06-21 16:39:06'::timestamp) - extract(epoch from '2026-06-21 16:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779019 -2.919649)'), GeomFromEWKT('SRID=4674;POINT (-39.779122 -2.919755)'))) / (select extract(epoch from '2026-06-21 16:39:06'::timestamp) - extract(epoch from '2026-06-21 16:39:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.779208 -2.919833)', '2026-06-21 16:39:11', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779122 -2.919755)'), GeomFromEWKT('SRID=4674;POINT (-39.779208 -2.919833)'))) / (select extract(epoch from '2026-06-21 16:39:11'::timestamp) - extract(epoch from '2026-06-21 16:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779122 -2.919755)'), GeomFromEWKT('SRID=4674;POINT (-39.779208 -2.919833)'))) / (select extract(epoch from '2026-06-21 16:39:11'::timestamp) - extract(epoch from '2026-06-21 16:39:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.779325 -2.919942)', '2026-06-21 16:39:18', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779208 -2.919833)'), GeomFromEWKT('SRID=4674;POINT (-39.779325 -2.919942)'))) / (select extract(epoch from '2026-06-21 16:39:18'::timestamp) - extract(epoch from '2026-06-21 16:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779208 -2.919833)'), GeomFromEWKT('SRID=4674;POINT (-39.779325 -2.919942)'))) / (select extract(epoch from '2026-06-21 16:39:18'::timestamp) - extract(epoch from '2026-06-21 16:39:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.779426 -2.920038)', '2026-06-21 16:39:24', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779325 -2.919942)'), GeomFromEWKT('SRID=4674;POINT (-39.779426 -2.920038)'))) / (select extract(epoch from '2026-06-21 16:39:24'::timestamp) - extract(epoch from '2026-06-21 16:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779325 -2.919942)'), GeomFromEWKT('SRID=4674;POINT (-39.779426 -2.920038)'))) / (select extract(epoch from '2026-06-21 16:39:24'::timestamp) - extract(epoch from '2026-06-21 16:39:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.77952 -2.920143)', '2026-06-21 16:39:30', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779426 -2.920038)'), GeomFromEWKT('SRID=4674;POINT (-39.77952 -2.920143)'))) / (select extract(epoch from '2026-06-21 16:39:30'::timestamp) - extract(epoch from '2026-06-21 16:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779426 -2.920038)'), GeomFromEWKT('SRID=4674;POINT (-39.77952 -2.920143)'))) / (select extract(epoch from '2026-06-21 16:39:30'::timestamp) - extract(epoch from '2026-06-21 16:39:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.779625 -2.920245)', '2026-06-21 16:39:36', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77952 -2.920143)'), GeomFromEWKT('SRID=4674;POINT (-39.779625 -2.920245)'))) / (select extract(epoch from '2026-06-21 16:39:36'::timestamp) - extract(epoch from '2026-06-21 16:39:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77952 -2.920143)'), GeomFromEWKT('SRID=4674;POINT (-39.779625 -2.920245)'))) / (select extract(epoch from '2026-06-21 16:39:36'::timestamp) - extract(epoch from '2026-06-21 16:39: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'), 46821, 'SRID=4674;POINT (-39.779728 -2.920354)', '2026-06-21 16:39:42', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779625 -2.920245)'), GeomFromEWKT('SRID=4674;POINT (-39.779728 -2.920354)'))) / (select extract(epoch from '2026-06-21 16:39:42'::timestamp) - extract(epoch from '2026-06-21 16:39:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779625 -2.920245)'), GeomFromEWKT('SRID=4674;POINT (-39.779728 -2.920354)'))) / (select extract(epoch from '2026-06-21 16:39:42'::timestamp) - extract(epoch from '2026-06-21 16:39:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.779803 -2.920448)', '2026-06-21 16:39:47', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779728 -2.920354)'), GeomFromEWKT('SRID=4674;POINT (-39.779803 -2.920448)'))) / (select extract(epoch from '2026-06-21 16:39:47'::timestamp) - extract(epoch from '2026-06-21 16:39:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779728 -2.920354)'), GeomFromEWKT('SRID=4674;POINT (-39.779803 -2.920448)'))) / (select extract(epoch from '2026-06-21 16:39:47'::timestamp) - extract(epoch from '2026-06-21 16:39: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'), 46821, 'SRID=4674;POINT (-39.779927 -2.920574)', '2026-06-21 16:39:54', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779803 -2.920448)'), GeomFromEWKT('SRID=4674;POINT (-39.779927 -2.920574)'))) / (select extract(epoch from '2026-06-21 16:39:54'::timestamp) - extract(epoch from '2026-06-21 16:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779803 -2.920448)'), GeomFromEWKT('SRID=4674;POINT (-39.779927 -2.920574)'))) / (select extract(epoch from '2026-06-21 16:39:54'::timestamp) - extract(epoch from '2026-06-21 16:39: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'), 46821, 'SRID=4674;POINT (-39.78003 -2.92067)', '2026-06-21 16:40:00', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779927 -2.920574)'), GeomFromEWKT('SRID=4674;POINT (-39.78003 -2.92067)'))) / (select extract(epoch from '2026-06-21 16:40:00'::timestamp) - extract(epoch from '2026-06-21 16:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.779927 -2.920574)'), GeomFromEWKT('SRID=4674;POINT (-39.78003 -2.92067)'))) / (select extract(epoch from '2026-06-21 16:40:00'::timestamp) - extract(epoch from '2026-06-21 16:39:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.78013 -2.920762)', '2026-06-21 16:40:06', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78003 -2.92067)'), GeomFromEWKT('SRID=4674;POINT (-39.78013 -2.920762)'))) / (select extract(epoch from '2026-06-21 16:40:06'::timestamp) - extract(epoch from '2026-06-21 16:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78003 -2.92067)'), GeomFromEWKT('SRID=4674;POINT (-39.78013 -2.920762)'))) / (select extract(epoch from '2026-06-21 16:40:06'::timestamp) - extract(epoch from '2026-06-21 16:40: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'), 46821, 'SRID=4674;POINT (-39.780236 -2.920846)', '2026-06-21 16:40:12', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78013 -2.920762)'), GeomFromEWKT('SRID=4674;POINT (-39.780236 -2.920846)'))) / (select extract(epoch from '2026-06-21 16:40:12'::timestamp) - extract(epoch from '2026-06-21 16:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78013 -2.920762)'), GeomFromEWKT('SRID=4674;POINT (-39.780236 -2.920846)'))) / (select extract(epoch from '2026-06-21 16:40:12'::timestamp) - extract(epoch from '2026-06-21 16:40: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'), 46821, 'SRID=4674;POINT (-39.780312 -2.920919)', '2026-06-21 16:40:17', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780236 -2.920846)'), GeomFromEWKT('SRID=4674;POINT (-39.780312 -2.920919)'))) / (select extract(epoch from '2026-06-21 16:40:17'::timestamp) - extract(epoch from '2026-06-21 16:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780236 -2.920846)'), GeomFromEWKT('SRID=4674;POINT (-39.780312 -2.920919)'))) / (select extract(epoch from '2026-06-21 16:40:17'::timestamp) - extract(epoch from '2026-06-21 16:40: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'), 46821, 'SRID=4674;POINT (-39.78042 -2.921031)', '2026-06-21 16:40:24', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780312 -2.920919)'), GeomFromEWKT('SRID=4674;POINT (-39.78042 -2.921031)'))) / (select extract(epoch from '2026-06-21 16:40:24'::timestamp) - extract(epoch from '2026-06-21 16:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780312 -2.920919)'), GeomFromEWKT('SRID=4674;POINT (-39.78042 -2.921031)'))) / (select extract(epoch from '2026-06-21 16:40:24'::timestamp) - extract(epoch from '2026-06-21 16:40: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'), 46821, 'SRID=4674;POINT (-39.780486 -2.921118)', '2026-06-21 16:40:29', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78042 -2.921031)'), GeomFromEWKT('SRID=4674;POINT (-39.780486 -2.921118)'))) / (select extract(epoch from '2026-06-21 16:40:29'::timestamp) - extract(epoch from '2026-06-21 16:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78042 -2.921031)'), GeomFromEWKT('SRID=4674;POINT (-39.780486 -2.921118)'))) / (select extract(epoch from '2026-06-21 16:40:29'::timestamp) - extract(epoch from '2026-06-21 16:40: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'), 46821, 'SRID=4674;POINT (-39.780621 -2.92124)', '2026-06-21 16:40:37', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780486 -2.921118)'), GeomFromEWKT('SRID=4674;POINT (-39.780621 -2.92124)'))) / (select extract(epoch from '2026-06-21 16:40:37'::timestamp) - extract(epoch from '2026-06-21 16:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780486 -2.921118)'), GeomFromEWKT('SRID=4674;POINT (-39.780621 -2.92124)'))) / (select extract(epoch from '2026-06-21 16:40:37'::timestamp) - extract(epoch from '2026-06-21 16:40:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.780743 -2.921336)', '2026-06-21 16:40:44', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780621 -2.92124)'), GeomFromEWKT('SRID=4674;POINT (-39.780743 -2.921336)'))) / (select extract(epoch from '2026-06-21 16:40:44'::timestamp) - extract(epoch from '2026-06-21 16:40:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780621 -2.92124)'), GeomFromEWKT('SRID=4674;POINT (-39.780743 -2.921336)'))) / (select extract(epoch from '2026-06-21 16:40:44'::timestamp) - extract(epoch from '2026-06-21 16:40: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'), 46821, 'SRID=4674;POINT (-39.780869 -2.921445)', '2026-06-21 16:40:51', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780743 -2.921336)'), GeomFromEWKT('SRID=4674;POINT (-39.780869 -2.921445)'))) / (select extract(epoch from '2026-06-21 16:40:51'::timestamp) - extract(epoch from '2026-06-21 16:40:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780743 -2.921336)'), GeomFromEWKT('SRID=4674;POINT (-39.780869 -2.921445)'))) / (select extract(epoch from '2026-06-21 16:40:51'::timestamp) - extract(epoch from '2026-06-21 16:40: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'), 46821, 'SRID=4674;POINT (-39.780981 -2.921529)', '2026-06-21 16:40:57', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780869 -2.921445)'), GeomFromEWKT('SRID=4674;POINT (-39.780981 -2.921529)'))) / (select extract(epoch from '2026-06-21 16:40:57'::timestamp) - extract(epoch from '2026-06-21 16:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780869 -2.921445)'), GeomFromEWKT('SRID=4674;POINT (-39.780981 -2.921529)'))) / (select extract(epoch from '2026-06-21 16:40:57'::timestamp) - extract(epoch from '2026-06-21 16:40:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.781139 -2.921667)', '2026-06-21 16:41:06', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780981 -2.921529)'), GeomFromEWKT('SRID=4674;POINT (-39.781139 -2.921667)'))) / (select extract(epoch from '2026-06-21 16:41:06'::timestamp) - extract(epoch from '2026-06-21 16:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.780981 -2.921529)'), GeomFromEWKT('SRID=4674;POINT (-39.781139 -2.921667)'))) / (select extract(epoch from '2026-06-21 16:41:06'::timestamp) - extract(epoch from '2026-06-21 16:40:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.78125 -2.921757)', '2026-06-21 16:41:12', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781139 -2.921667)'), GeomFromEWKT('SRID=4674;POINT (-39.78125 -2.921757)'))) / (select extract(epoch from '2026-06-21 16:41:12'::timestamp) - extract(epoch from '2026-06-21 16:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781139 -2.921667)'), GeomFromEWKT('SRID=4674;POINT (-39.78125 -2.921757)'))) / (select extract(epoch from '2026-06-21 16:41:12'::timestamp) - extract(epoch from '2026-06-21 16:41: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'), 46821, 'SRID=4674;POINT (-39.78138 -2.921848)', '2026-06-21 16:41:19', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78125 -2.921757)'), GeomFromEWKT('SRID=4674;POINT (-39.78138 -2.921848)'))) / (select extract(epoch from '2026-06-21 16:41:19'::timestamp) - extract(epoch from '2026-06-21 16:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78125 -2.921757)'), GeomFromEWKT('SRID=4674;POINT (-39.78138 -2.921848)'))) / (select extract(epoch from '2026-06-21 16:41:19'::timestamp) - extract(epoch from '2026-06-21 16:41:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.78146 -2.921933)', '2026-06-21 16:41:24', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78138 -2.921848)'), GeomFromEWKT('SRID=4674;POINT (-39.78146 -2.921933)'))) / (select extract(epoch from '2026-06-21 16:41:24'::timestamp) - extract(epoch from '2026-06-21 16:41:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78138 -2.921848)'), GeomFromEWKT('SRID=4674;POINT (-39.78146 -2.921933)'))) / (select extract(epoch from '2026-06-21 16:41:24'::timestamp) - extract(epoch from '2026-06-21 16:41:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.781566 -2.922051)', '2026-06-21 16:41:31', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78146 -2.921933)'), GeomFromEWKT('SRID=4674;POINT (-39.781566 -2.922051)'))) / (select extract(epoch from '2026-06-21 16:41:31'::timestamp) - extract(epoch from '2026-06-21 16:41:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78146 -2.921933)'), GeomFromEWKT('SRID=4674;POINT (-39.781566 -2.922051)'))) / (select extract(epoch from '2026-06-21 16:41:31'::timestamp) - extract(epoch from '2026-06-21 16:41:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.781678 -2.922149)', '2026-06-21 16:41:37', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781566 -2.922051)'), GeomFromEWKT('SRID=4674;POINT (-39.781678 -2.922149)'))) / (select extract(epoch from '2026-06-21 16:41:37'::timestamp) - extract(epoch from '2026-06-21 16:41:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781566 -2.922051)'), GeomFromEWKT('SRID=4674;POINT (-39.781678 -2.922149)'))) / (select extract(epoch from '2026-06-21 16:41:37'::timestamp) - extract(epoch from '2026-06-21 16:41:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.781799 -2.922252)', '2026-06-21 16:41:44', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781678 -2.922149)'), GeomFromEWKT('SRID=4674;POINT (-39.781799 -2.922252)'))) / (select extract(epoch from '2026-06-21 16:41:44'::timestamp) - extract(epoch from '2026-06-21 16:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781678 -2.922149)'), GeomFromEWKT('SRID=4674;POINT (-39.781799 -2.922252)'))) / (select extract(epoch from '2026-06-21 16:41:44'::timestamp) - extract(epoch from '2026-06-21 16:41:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.781901 -2.922341)', '2026-06-21 16:41:50', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781799 -2.922252)'), GeomFromEWKT('SRID=4674;POINT (-39.781901 -2.922341)'))) / (select extract(epoch from '2026-06-21 16:41:50'::timestamp) - extract(epoch from '2026-06-21 16:41:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781799 -2.922252)'), GeomFromEWKT('SRID=4674;POINT (-39.781901 -2.922341)'))) / (select extract(epoch from '2026-06-21 16:41:50'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.781994 -2.92243)', '2026-06-21 16:41:56', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781901 -2.922341)'), GeomFromEWKT('SRID=4674;POINT (-39.781994 -2.92243)'))) / (select extract(epoch from '2026-06-21 16:41:56'::timestamp) - extract(epoch from '2026-06-21 16:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781901 -2.922341)'), GeomFromEWKT('SRID=4674;POINT (-39.781994 -2.92243)'))) / (select extract(epoch from '2026-06-21 16:41:56'::timestamp) - extract(epoch from '2026-06-21 16:41:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.78211 -2.922502)', '2026-06-21 16:42:02', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781994 -2.92243)'), GeomFromEWKT('SRID=4674;POINT (-39.78211 -2.922502)'))) / (select extract(epoch from '2026-06-21 16:42:02'::timestamp) - extract(epoch from '2026-06-21 16:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.781994 -2.92243)'), GeomFromEWKT('SRID=4674;POINT (-39.78211 -2.922502)'))) / (select extract(epoch from '2026-06-21 16:42:02'::timestamp) - extract(epoch from '2026-06-21 16:41:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.78219 -2.922575)', '2026-06-21 16:42:07', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78211 -2.922502)'), GeomFromEWKT('SRID=4674;POINT (-39.78219 -2.922575)'))) / (select extract(epoch from '2026-06-21 16:42:07'::timestamp) - extract(epoch from '2026-06-21 16:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78211 -2.922502)'), GeomFromEWKT('SRID=4674;POINT (-39.78219 -2.922575)'))) / (select extract(epoch from '2026-06-21 16:42:07'::timestamp) - extract(epoch from '2026-06-21 16:42:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.782286 -2.922667)', '2026-06-21 16:42:13', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78219 -2.922575)'), GeomFromEWKT('SRID=4674;POINT (-39.782286 -2.922667)'))) / (select extract(epoch from '2026-06-21 16:42:13'::timestamp) - extract(epoch from '2026-06-21 16:42:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78219 -2.922575)'), GeomFromEWKT('SRID=4674;POINT (-39.782286 -2.922667)'))) / (select extract(epoch from '2026-06-21 16:42:13'::timestamp) - extract(epoch from '2026-06-21 16:42: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'), 46821, 'SRID=4674;POINT (-39.782364 -2.922746)', '2026-06-21 16:42:18', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782286 -2.922667)'), GeomFromEWKT('SRID=4674;POINT (-39.782364 -2.922746)'))) / (select extract(epoch from '2026-06-21 16:42:18'::timestamp) - extract(epoch from '2026-06-21 16:42:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782286 -2.922667)'), GeomFromEWKT('SRID=4674;POINT (-39.782364 -2.922746)'))) / (select extract(epoch from '2026-06-21 16:42:18'::timestamp) - extract(epoch from '2026-06-21 16:42: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'), 46821, 'SRID=4674;POINT (-39.782463 -2.92284)', '2026-06-21 16:42:24', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782364 -2.922746)'), GeomFromEWKT('SRID=4674;POINT (-39.782463 -2.92284)'))) / (select extract(epoch from '2026-06-21 16:42:24'::timestamp) - extract(epoch from '2026-06-21 16:42:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782364 -2.922746)'), GeomFromEWKT('SRID=4674;POINT (-39.782463 -2.92284)'))) / (select extract(epoch from '2026-06-21 16:42:24'::timestamp) - extract(epoch from '2026-06-21 16:42: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'), 46821, 'SRID=4674;POINT (-39.782564 -2.922931)', '2026-06-21 16:42:30', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782463 -2.92284)'), GeomFromEWKT('SRID=4674;POINT (-39.782564 -2.922931)'))) / (select extract(epoch from '2026-06-21 16:42:30'::timestamp) - extract(epoch from '2026-06-21 16:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782463 -2.92284)'), GeomFromEWKT('SRID=4674;POINT (-39.782564 -2.922931)'))) / (select extract(epoch from '2026-06-21 16:42:30'::timestamp) - extract(epoch from '2026-06-21 16:42:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.782654 -2.923002)', '2026-06-21 16:42:35', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782564 -2.922931)'), GeomFromEWKT('SRID=4674;POINT (-39.782654 -2.923002)'))) / (select extract(epoch from '2026-06-21 16:42:35'::timestamp) - extract(epoch from '2026-06-21 16:42:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782564 -2.922931)'), GeomFromEWKT('SRID=4674;POINT (-39.782654 -2.923002)'))) / (select extract(epoch from '2026-06-21 16:42:35'::timestamp) - extract(epoch from '2026-06-21 16:42: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'), 46821, 'SRID=4674;POINT (-39.782766 -2.923089)', '2026-06-21 16:42:41', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782654 -2.923002)'), GeomFromEWKT('SRID=4674;POINT (-39.782766 -2.923089)'))) / (select extract(epoch from '2026-06-21 16:42:41'::timestamp) - extract(epoch from '2026-06-21 16:42:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782654 -2.923002)'), GeomFromEWKT('SRID=4674;POINT (-39.782766 -2.923089)'))) / (select extract(epoch from '2026-06-21 16:42:41'::timestamp) - extract(epoch from '2026-06-21 16:42: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'), 46821, 'SRID=4674;POINT (-39.782867 -2.92319)', '2026-06-21 16:42:47', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782766 -2.923089)'), GeomFromEWKT('SRID=4674;POINT (-39.782867 -2.92319)'))) / (select extract(epoch from '2026-06-21 16:42:47'::timestamp) - extract(epoch from '2026-06-21 16:42:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782766 -2.923089)'), GeomFromEWKT('SRID=4674;POINT (-39.782867 -2.92319)'))) / (select extract(epoch from '2026-06-21 16:42:47'::timestamp) - extract(epoch from '2026-06-21 16:42: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'), 46821, 'SRID=4674;POINT (-39.782928 -2.923247)', '2026-06-21 16:42:51', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782867 -2.92319)'), GeomFromEWKT('SRID=4674;POINT (-39.782928 -2.923247)'))) / (select extract(epoch from '2026-06-21 16:42:51'::timestamp) - extract(epoch from '2026-06-21 16:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782867 -2.92319)'), GeomFromEWKT('SRID=4674;POINT (-39.782928 -2.923247)'))) / (select extract(epoch from '2026-06-21 16:42:51'::timestamp) - extract(epoch from '2026-06-21 16:42: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'), 46821, 'SRID=4674;POINT (-39.783007 -2.923328)', '2026-06-21 16:42:56', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782928 -2.923247)'), GeomFromEWKT('SRID=4674;POINT (-39.783007 -2.923328)'))) / (select extract(epoch from '2026-06-21 16:42:56'::timestamp) - extract(epoch from '2026-06-21 16:42:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.782928 -2.923247)'), GeomFromEWKT('SRID=4674;POINT (-39.783007 -2.923328)'))) / (select extract(epoch from '2026-06-21 16:42:56'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.783108 -2.923416)', '2026-06-21 16:43:02', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783007 -2.923328)'), GeomFromEWKT('SRID=4674;POINT (-39.783108 -2.923416)'))) / (select extract(epoch from '2026-06-21 16:43:02'::timestamp) - extract(epoch from '2026-06-21 16:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783007 -2.923328)'), GeomFromEWKT('SRID=4674;POINT (-39.783108 -2.923416)'))) / (select extract(epoch from '2026-06-21 16:43:02'::timestamp) - extract(epoch from '2026-06-21 16:42:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.783194 -2.923508)', '2026-06-21 16:43:08', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783108 -2.923416)'), GeomFromEWKT('SRID=4674;POINT (-39.783194 -2.923508)'))) / (select extract(epoch from '2026-06-21 16:43:08'::timestamp) - extract(epoch from '2026-06-21 16:43:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783108 -2.923416)'), GeomFromEWKT('SRID=4674;POINT (-39.783194 -2.923508)'))) / (select extract(epoch from '2026-06-21 16:43:08'::timestamp) - extract(epoch from '2026-06-21 16:43:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.783295 -2.923592)', '2026-06-21 16:43:14', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783194 -2.923508)'), GeomFromEWKT('SRID=4674;POINT (-39.783295 -2.923592)'))) / (select extract(epoch from '2026-06-21 16:43:14'::timestamp) - extract(epoch from '2026-06-21 16:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783194 -2.923508)'), GeomFromEWKT('SRID=4674;POINT (-39.783295 -2.923592)'))) / (select extract(epoch from '2026-06-21 16:43:14'::timestamp) - extract(epoch from '2026-06-21 16:43: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'), 46821, 'SRID=4674;POINT (-39.783397 -2.923685)', '2026-06-21 16:43:20', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783295 -2.923592)'), GeomFromEWKT('SRID=4674;POINT (-39.783397 -2.923685)'))) / (select extract(epoch from '2026-06-21 16:43:20'::timestamp) - extract(epoch from '2026-06-21 16:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783295 -2.923592)'), GeomFromEWKT('SRID=4674;POINT (-39.783397 -2.923685)'))) / (select extract(epoch from '2026-06-21 16:43:20'::timestamp) - extract(epoch from '2026-06-21 16:43: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'), 46821, 'SRID=4674;POINT (-39.783498 -2.92378)', '2026-06-21 16:43:26', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783397 -2.923685)'), GeomFromEWKT('SRID=4674;POINT (-39.783498 -2.92378)'))) / (select extract(epoch from '2026-06-21 16:43:26'::timestamp) - extract(epoch from '2026-06-21 16:43:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783397 -2.923685)'), GeomFromEWKT('SRID=4674;POINT (-39.783498 -2.92378)'))) / (select extract(epoch from '2026-06-21 16:43:26'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.783614 -2.923862)', '2026-06-21 16:43:32', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783498 -2.92378)'), GeomFromEWKT('SRID=4674;POINT (-39.783614 -2.923862)'))) / (select extract(epoch from '2026-06-21 16:43:32'::timestamp) - extract(epoch from '2026-06-21 16:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783498 -2.92378)'), GeomFromEWKT('SRID=4674;POINT (-39.783614 -2.923862)'))) / (select extract(epoch from '2026-06-21 16:43:32'::timestamp) - extract(epoch from '2026-06-21 16:43:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.783722 -2.923948)', '2026-06-21 16:43:38', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783614 -2.923862)'), GeomFromEWKT('SRID=4674;POINT (-39.783722 -2.923948)'))) / (select extract(epoch from '2026-06-21 16:43:38'::timestamp) - extract(epoch from '2026-06-21 16:43:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783614 -2.923862)'), GeomFromEWKT('SRID=4674;POINT (-39.783722 -2.923948)'))) / (select extract(epoch from '2026-06-21 16:43:38'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.783819 -2.924036)', '2026-06-21 16:43:44', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783722 -2.923948)'), GeomFromEWKT('SRID=4674;POINT (-39.783819 -2.924036)'))) / (select extract(epoch from '2026-06-21 16:43:44'::timestamp) - extract(epoch from '2026-06-21 16:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783722 -2.923948)'), GeomFromEWKT('SRID=4674;POINT (-39.783819 -2.924036)'))) / (select extract(epoch from '2026-06-21 16:43:44'::timestamp) - extract(epoch from '2026-06-21 16:43: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'), 46821, 'SRID=4674;POINT (-39.783921 -2.924135)', '2026-06-21 16:43:50', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783819 -2.924036)'), GeomFromEWKT('SRID=4674;POINT (-39.783921 -2.924135)'))) / (select extract(epoch from '2026-06-21 16:43:50'::timestamp) - extract(epoch from '2026-06-21 16:43:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783819 -2.924036)'), GeomFromEWKT('SRID=4674;POINT (-39.783921 -2.924135)'))) / (select extract(epoch from '2026-06-21 16:43:50'::timestamp) - extract(epoch from '2026-06-21 16:43:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.784024 -2.924236)', '2026-06-21 16:43:56', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783921 -2.924135)'), GeomFromEWKT('SRID=4674;POINT (-39.784024 -2.924236)'))) / (select extract(epoch from '2026-06-21 16:43:56'::timestamp) - extract(epoch from '2026-06-21 16:43:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.783921 -2.924135)'), GeomFromEWKT('SRID=4674;POINT (-39.784024 -2.924236)'))) / (select extract(epoch from '2026-06-21 16:43:56'::timestamp) - extract(epoch from '2026-06-21 16:43:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.784152 -2.924357)', '2026-06-21 16:44:03', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784024 -2.924236)'), GeomFromEWKT('SRID=4674;POINT (-39.784152 -2.924357)'))) / (select extract(epoch from '2026-06-21 16:44:03'::timestamp) - extract(epoch from '2026-06-21 16:43:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784024 -2.924236)'), GeomFromEWKT('SRID=4674;POINT (-39.784152 -2.924357)'))) / (select extract(epoch from '2026-06-21 16:44:03'::timestamp) - extract(epoch from '2026-06-21 16:43: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'), 46821, 'SRID=4674;POINT (-39.784262 -2.924455)', '2026-06-21 16:44:09', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784152 -2.924357)'), GeomFromEWKT('SRID=4674;POINT (-39.784262 -2.924455)'))) / (select extract(epoch from '2026-06-21 16:44:09'::timestamp) - extract(epoch from '2026-06-21 16:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784152 -2.924357)'), GeomFromEWKT('SRID=4674;POINT (-39.784262 -2.924455)'))) / (select extract(epoch from '2026-06-21 16:44:09'::timestamp) - extract(epoch from '2026-06-21 16:44:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.784386 -2.924577)', '2026-06-21 16:44:16', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784262 -2.924455)'), GeomFromEWKT('SRID=4674;POINT (-39.784386 -2.924577)'))) / (select extract(epoch from '2026-06-21 16:44:16'::timestamp) - extract(epoch from '2026-06-21 16:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784262 -2.924455)'), GeomFromEWKT('SRID=4674;POINT (-39.784386 -2.924577)'))) / (select extract(epoch from '2026-06-21 16:44:16'::timestamp) - extract(epoch from '2026-06-21 16:44: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'), 46821, 'SRID=4674;POINT (-39.784512 -2.924707)', '2026-06-21 16:44:23', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784386 -2.924577)'), GeomFromEWKT('SRID=4674;POINT (-39.784512 -2.924707)'))) / (select extract(epoch from '2026-06-21 16:44:23'::timestamp) - extract(epoch from '2026-06-21 16:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784386 -2.924577)'), GeomFromEWKT('SRID=4674;POINT (-39.784512 -2.924707)'))) / (select extract(epoch from '2026-06-21 16:44:23'::timestamp) - extract(epoch from '2026-06-21 16:44:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.784621 -2.924828)', '2026-06-21 16:44:30', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784512 -2.924707)'), GeomFromEWKT('SRID=4674;POINT (-39.784621 -2.924828)'))) / (select extract(epoch from '2026-06-21 16:44:30'::timestamp) - extract(epoch from '2026-06-21 16:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784512 -2.924707)'), GeomFromEWKT('SRID=4674;POINT (-39.784621 -2.924828)'))) / (select extract(epoch from '2026-06-21 16:44:30'::timestamp) - extract(epoch from '2026-06-21 16:44:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.784711 -2.924906)', '2026-06-21 16:44:35', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784621 -2.924828)'), GeomFromEWKT('SRID=4674;POINT (-39.784711 -2.924906)'))) / (select extract(epoch from '2026-06-21 16:44:35'::timestamp) - extract(epoch from '2026-06-21 16:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784621 -2.924828)'), GeomFromEWKT('SRID=4674;POINT (-39.784711 -2.924906)'))) / (select extract(epoch from '2026-06-21 16:44:35'::timestamp) - extract(epoch from '2026-06-21 16:44: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'), 46821, 'SRID=4674;POINT (-39.784792 -2.924995)', '2026-06-21 16:44:40', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784711 -2.924906)'), GeomFromEWKT('SRID=4674;POINT (-39.784792 -2.924995)'))) / (select extract(epoch from '2026-06-21 16:44:40'::timestamp) - extract(epoch from '2026-06-21 16:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784711 -2.924906)'), GeomFromEWKT('SRID=4674;POINT (-39.784792 -2.924995)'))) / (select extract(epoch from '2026-06-21 16:44:40'::timestamp) - extract(epoch from '2026-06-21 16:44: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'), 46821, 'SRID=4674;POINT (-39.784911 -2.925112)', '2026-06-21 16:44:47', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784792 -2.924995)'), GeomFromEWKT('SRID=4674;POINT (-39.784911 -2.925112)'))) / (select extract(epoch from '2026-06-21 16:44:47'::timestamp) - extract(epoch from '2026-06-21 16:44:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784792 -2.924995)'), GeomFromEWKT('SRID=4674;POINT (-39.784911 -2.925112)'))) / (select extract(epoch from '2026-06-21 16:44:47'::timestamp) - extract(epoch from '2026-06-21 16:44:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.785046 -2.925223)', '2026-06-21 16:44:54', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784911 -2.925112)'), GeomFromEWKT('SRID=4674;POINT (-39.785046 -2.925223)'))) / (select extract(epoch from '2026-06-21 16:44:54'::timestamp) - extract(epoch from '2026-06-21 16:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784911 -2.925112)'), GeomFromEWKT('SRID=4674;POINT (-39.785046 -2.925223)'))) / (select extract(epoch from '2026-06-21 16:44:54'::timestamp) - extract(epoch from '2026-06-21 16:44: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'), 46821, 'SRID=4674;POINT (-39.785134 -2.925289)', '2026-06-21 16:44:59', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785046 -2.925223)'), GeomFromEWKT('SRID=4674;POINT (-39.785134 -2.925289)'))) / (select extract(epoch from '2026-06-21 16:44:59'::timestamp) - extract(epoch from '2026-06-21 16:44:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785046 -2.925223)'), GeomFromEWKT('SRID=4674;POINT (-39.785134 -2.925289)'))) / (select extract(epoch from '2026-06-21 16:44:59'::timestamp) - extract(epoch from '2026-06-21 16:44: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'), 46821, 'SRID=4674;POINT (-39.785242 -2.925358)', '2026-06-21 16:45:04', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785134 -2.925289)'), GeomFromEWKT('SRID=4674;POINT (-39.785242 -2.925358)'))) / (select extract(epoch from '2026-06-21 16:45:04'::timestamp) - extract(epoch from '2026-06-21 16:44:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785134 -2.925289)'), GeomFromEWKT('SRID=4674;POINT (-39.785242 -2.925358)'))) / (select extract(epoch from '2026-06-21 16:45:04'::timestamp) - extract(epoch from '2026-06-21 16:44: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'), 46821, 'SRID=4674;POINT (-39.785327 -2.925416)', '2026-06-21 16:45:08', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785242 -2.925358)'), GeomFromEWKT('SRID=4674;POINT (-39.785327 -2.925416)'))) / (select extract(epoch from '2026-06-21 16:45:08'::timestamp) - extract(epoch from '2026-06-21 16:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785242 -2.925358)'), GeomFromEWKT('SRID=4674;POINT (-39.785327 -2.925416)'))) / (select extract(epoch from '2026-06-21 16:45:08'::timestamp) - extract(epoch from '2026-06-21 16:45: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'), 46821, 'SRID=4674;POINT (-39.785346 -2.925435)', '2026-06-21 16:45:09', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785327 -2.925416)'), GeomFromEWKT('SRID=4674;POINT (-39.785346 -2.925435)'))) / (select extract(epoch from '2026-06-21 16:45:09'::timestamp) - extract(epoch from '2026-06-21 16:45:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785327 -2.925416)'), GeomFromEWKT('SRID=4674;POINT (-39.785346 -2.925435)'))) / (select extract(epoch from '2026-06-21 16:45:09'::timestamp) - extract(epoch from '2026-06-21 16:45: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'), 46821, 'SRID=4674;POINT (-39.785366 -2.925468)', '2026-06-21 16:45:11', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785346 -2.925435)'), GeomFromEWKT('SRID=4674;POINT (-39.785366 -2.925468)'))) / (select extract(epoch from '2026-06-21 16:45:11'::timestamp) - extract(epoch from '2026-06-21 16:45:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785346 -2.925435)'), GeomFromEWKT('SRID=4674;POINT (-39.785366 -2.925468)'))) / (select extract(epoch from '2026-06-21 16:45:11'::timestamp) - extract(epoch from '2026-06-21 16:45: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'), 46821, 'SRID=4674;POINT (-39.785459 -2.925589)', '2026-06-21 16:45:18', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785366 -2.925468)'), GeomFromEWKT('SRID=4674;POINT (-39.785459 -2.925589)'))) / (select extract(epoch from '2026-06-21 16:45:18'::timestamp) - extract(epoch from '2026-06-21 16:45:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785366 -2.925468)'), GeomFromEWKT('SRID=4674;POINT (-39.785459 -2.925589)'))) / (select extract(epoch from '2026-06-21 16:45:18'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.785538 -2.925685)', '2026-06-21 16:45:23', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785459 -2.925589)'), GeomFromEWKT('SRID=4674;POINT (-39.785538 -2.925685)'))) / (select extract(epoch from '2026-06-21 16:45:23'::timestamp) - extract(epoch from '2026-06-21 16:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785459 -2.925589)'), GeomFromEWKT('SRID=4674;POINT (-39.785538 -2.925685)'))) / (select extract(epoch from '2026-06-21 16:45:23'::timestamp) - extract(epoch from '2026-06-21 16:45:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.785648 -2.925778)', '2026-06-21 16:45:29', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785538 -2.925685)'), GeomFromEWKT('SRID=4674;POINT (-39.785648 -2.925778)'))) / (select extract(epoch from '2026-06-21 16:45:29'::timestamp) - extract(epoch from '2026-06-21 16:45:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785538 -2.925685)'), GeomFromEWKT('SRID=4674;POINT (-39.785648 -2.925778)'))) / (select extract(epoch from '2026-06-21 16:45:29'::timestamp) - extract(epoch from '2026-06-21 16:45: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'), 46821, 'SRID=4674;POINT (-39.785757 -2.92587)', '2026-06-21 16:45:35', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785648 -2.925778)'), GeomFromEWKT('SRID=4674;POINT (-39.785757 -2.92587)'))) / (select extract(epoch from '2026-06-21 16:45:35'::timestamp) - extract(epoch from '2026-06-21 16:45:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785648 -2.925778)'), GeomFromEWKT('SRID=4674;POINT (-39.785757 -2.92587)'))) / (select extract(epoch from '2026-06-21 16:45:35'::timestamp) - extract(epoch from '2026-06-21 16:45:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.785839 -2.925954)', '2026-06-21 16:45:40', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785757 -2.92587)'), GeomFromEWKT('SRID=4674;POINT (-39.785839 -2.925954)'))) / (select extract(epoch from '2026-06-21 16:45:40'::timestamp) - extract(epoch from '2026-06-21 16:45:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785757 -2.92587)'), GeomFromEWKT('SRID=4674;POINT (-39.785839 -2.925954)'))) / (select extract(epoch from '2026-06-21 16:45:40'::timestamp) - extract(epoch from '2026-06-21 16:45: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'), 46821, 'SRID=4674;POINT (-39.785978 -2.926085)', '2026-06-21 16:45:48', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785839 -2.925954)'), GeomFromEWKT('SRID=4674;POINT (-39.785978 -2.926085)'))) / (select extract(epoch from '2026-06-21 16:45:48'::timestamp) - extract(epoch from '2026-06-21 16:45:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785839 -2.925954)'), GeomFromEWKT('SRID=4674;POINT (-39.785978 -2.926085)'))) / (select extract(epoch from '2026-06-21 16:45:48'::timestamp) - extract(epoch from '2026-06-21 16:45: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'), 46821, 'SRID=4674;POINT (-39.786074 -2.926186)', '2026-06-21 16:45:54', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785978 -2.926085)'), GeomFromEWKT('SRID=4674;POINT (-39.786074 -2.926186)'))) / (select extract(epoch from '2026-06-21 16:45:54'::timestamp) - extract(epoch from '2026-06-21 16:45:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785978 -2.926085)'), GeomFromEWKT('SRID=4674;POINT (-39.786074 -2.926186)'))) / (select extract(epoch from '2026-06-21 16:45:54'::timestamp) - extract(epoch from '2026-06-21 16:45: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'), 46821, 'SRID=4674;POINT (-39.7862 -2.926292)', '2026-06-21 16:46:01', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786074 -2.926186)'), GeomFromEWKT('SRID=4674;POINT (-39.7862 -2.926292)'))) / (select extract(epoch from '2026-06-21 16:46:01'::timestamp) - extract(epoch from '2026-06-21 16:45:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786074 -2.926186)'), GeomFromEWKT('SRID=4674;POINT (-39.7862 -2.926292)'))) / (select extract(epoch from '2026-06-21 16:46:01'::timestamp) - extract(epoch from '2026-06-21 16:45: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'), 46821, 'SRID=4674;POINT (-39.786323 -2.926382)', '2026-06-21 16:46:08', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7862 -2.926292)'), GeomFromEWKT('SRID=4674;POINT (-39.786323 -2.926382)'))) / (select extract(epoch from '2026-06-21 16:46:08'::timestamp) - extract(epoch from '2026-06-21 16:46:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7862 -2.926292)'), GeomFromEWKT('SRID=4674;POINT (-39.786323 -2.926382)'))) / (select extract(epoch from '2026-06-21 16:46:08'::timestamp) - extract(epoch from '2026-06-21 16:46: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'), 46821, 'SRID=4674;POINT (-39.786434 -2.926462)', '2026-06-21 16:46:14', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786323 -2.926382)'), GeomFromEWKT('SRID=4674;POINT (-39.786434 -2.926462)'))) / (select extract(epoch from '2026-06-21 16:46:14'::timestamp) - extract(epoch from '2026-06-21 16:46:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786323 -2.926382)'), GeomFromEWKT('SRID=4674;POINT (-39.786434 -2.926462)'))) / (select extract(epoch from '2026-06-21 16:46:14'::timestamp) - extract(epoch from '2026-06-21 16:46: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'), 46821, 'SRID=4674;POINT (-39.786534 -2.926562)', '2026-06-21 16:46:20', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786434 -2.926462)'), GeomFromEWKT('SRID=4674;POINT (-39.786534 -2.926562)'))) / (select extract(epoch from '2026-06-21 16:46:20'::timestamp) - extract(epoch from '2026-06-21 16:46:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786434 -2.926462)'), GeomFromEWKT('SRID=4674;POINT (-39.786534 -2.926562)'))) / (select extract(epoch from '2026-06-21 16:46:20'::timestamp) - extract(epoch from '2026-06-21 16:46: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'), 46821, 'SRID=4674;POINT (-39.786668 -2.926666)', '2026-06-21 16:46:27', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786534 -2.926562)'), GeomFromEWKT('SRID=4674;POINT (-39.786668 -2.926666)'))) / (select extract(epoch from '2026-06-21 16:46:27'::timestamp) - extract(epoch from '2026-06-21 16:46:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786534 -2.926562)'), GeomFromEWKT('SRID=4674;POINT (-39.786668 -2.926666)'))) / (select extract(epoch from '2026-06-21 16:46:27'::timestamp) - extract(epoch from '2026-06-21 16:46: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'), 46821, 'SRID=4674;POINT (-39.786787 -2.926754)', '2026-06-21 16:46:33', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786668 -2.926666)'), GeomFromEWKT('SRID=4674;POINT (-39.786787 -2.926754)'))) / (select extract(epoch from '2026-06-21 16:46:33'::timestamp) - extract(epoch from '2026-06-21 16:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786668 -2.926666)'), GeomFromEWKT('SRID=4674;POINT (-39.786787 -2.926754)'))) / (select extract(epoch from '2026-06-21 16:46:33'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.786878 -2.926829)', '2026-06-21 16:46:38', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786787 -2.926754)'), GeomFromEWKT('SRID=4674;POINT (-39.786878 -2.926829)'))) / (select extract(epoch from '2026-06-21 16:46:38'::timestamp) - extract(epoch from '2026-06-21 16:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786787 -2.926754)'), GeomFromEWKT('SRID=4674;POINT (-39.786878 -2.926829)'))) / (select extract(epoch from '2026-06-21 16:46:38'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.787038 -2.926944)', '2026-06-21 16:46:46', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786878 -2.926829)'), GeomFromEWKT('SRID=4674;POINT (-39.787038 -2.926944)'))) / (select extract(epoch from '2026-06-21 16:46:46'::timestamp) - extract(epoch from '2026-06-21 16:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786878 -2.926829)'), GeomFromEWKT('SRID=4674;POINT (-39.787038 -2.926944)'))) / (select extract(epoch from '2026-06-21 16:46:46'::timestamp) - extract(epoch from '2026-06-21 16:46: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'), 46821, 'SRID=4674;POINT (-39.787154 -2.927029)', '2026-06-21 16:46:52', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787038 -2.926944)'), GeomFromEWKT('SRID=4674;POINT (-39.787154 -2.927029)'))) / (select extract(epoch from '2026-06-21 16:46:52'::timestamp) - extract(epoch from '2026-06-21 16:46:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787038 -2.926944)'), GeomFromEWKT('SRID=4674;POINT (-39.787154 -2.927029)'))) / (select extract(epoch from '2026-06-21 16:46:52'::timestamp) - extract(epoch from '2026-06-21 16:46: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'), 46821, 'SRID=4674;POINT (-39.787241 -2.927103)', '2026-06-21 16:46:57', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787154 -2.927029)'), GeomFromEWKT('SRID=4674;POINT (-39.787241 -2.927103)'))) / (select extract(epoch from '2026-06-21 16:46:57'::timestamp) - extract(epoch from '2026-06-21 16:46:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787154 -2.927029)'), GeomFromEWKT('SRID=4674;POINT (-39.787241 -2.927103)'))) / (select extract(epoch from '2026-06-21 16:46:57'::timestamp) - extract(epoch from '2026-06-21 16:46: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'), 46821, 'SRID=4674;POINT (-39.787342 -2.927195)', '2026-06-21 16:47:03', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787241 -2.927103)'), GeomFromEWKT('SRID=4674;POINT (-39.787342 -2.927195)'))) / (select extract(epoch from '2026-06-21 16:47:03'::timestamp) - extract(epoch from '2026-06-21 16:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787241 -2.927103)'), GeomFromEWKT('SRID=4674;POINT (-39.787342 -2.927195)'))) / (select extract(epoch from '2026-06-21 16:47:03'::timestamp) - extract(epoch from '2026-06-21 16:46:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.787439 -2.927295)', '2026-06-21 16:47:09', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787342 -2.927195)'), GeomFromEWKT('SRID=4674;POINT (-39.787439 -2.927295)'))) / (select extract(epoch from '2026-06-21 16:47:09'::timestamp) - extract(epoch from '2026-06-21 16:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787342 -2.927195)'), GeomFromEWKT('SRID=4674;POINT (-39.787439 -2.927295)'))) / (select extract(epoch from '2026-06-21 16:47:09'::timestamp) - extract(epoch from '2026-06-21 16:47: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'), 46821, 'SRID=4674;POINT (-39.787578 -2.927419)', '2026-06-21 16:47:17', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787439 -2.927295)'), GeomFromEWKT('SRID=4674;POINT (-39.787578 -2.927419)'))) / (select extract(epoch from '2026-06-21 16:47:17'::timestamp) - extract(epoch from '2026-06-21 16:47:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787439 -2.927295)'), GeomFromEWKT('SRID=4674;POINT (-39.787578 -2.927419)'))) / (select extract(epoch from '2026-06-21 16:47:17'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.787695 -2.927495)', '2026-06-21 16:47:23', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787578 -2.927419)'), GeomFromEWKT('SRID=4674;POINT (-39.787695 -2.927495)'))) / (select extract(epoch from '2026-06-21 16:47:23'::timestamp) - extract(epoch from '2026-06-21 16:47:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787578 -2.927419)'), GeomFromEWKT('SRID=4674;POINT (-39.787695 -2.927495)'))) / (select extract(epoch from '2026-06-21 16:47:23'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.787833 -2.92761)', '2026-06-21 16:47:31', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787695 -2.927495)'), GeomFromEWKT('SRID=4674;POINT (-39.787833 -2.92761)'))) / (select extract(epoch from '2026-06-21 16:47:31'::timestamp) - extract(epoch from '2026-06-21 16:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787695 -2.927495)'), GeomFromEWKT('SRID=4674;POINT (-39.787833 -2.92761)'))) / (select extract(epoch from '2026-06-21 16:47:31'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.78793 -2.927692)', '2026-06-21 16:47:37', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787833 -2.92761)'), GeomFromEWKT('SRID=4674;POINT (-39.78793 -2.927692)'))) / (select extract(epoch from '2026-06-21 16:47:37'::timestamp) - extract(epoch from '2026-06-21 16:47:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787833 -2.92761)'), GeomFromEWKT('SRID=4674;POINT (-39.78793 -2.927692)'))) / (select extract(epoch from '2026-06-21 16:47:37'::timestamp) - extract(epoch from '2026-06-21 16:47:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.788022 -2.927759)', '2026-06-21 16:47:42', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78793 -2.927692)'), GeomFromEWKT('SRID=4674;POINT (-39.788022 -2.927759)'))) / (select extract(epoch from '2026-06-21 16:47:42'::timestamp) - extract(epoch from '2026-06-21 16:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78793 -2.927692)'), GeomFromEWKT('SRID=4674;POINT (-39.788022 -2.927759)'))) / (select extract(epoch from '2026-06-21 16:47:42'::timestamp) - extract(epoch from '2026-06-21 16:47:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.788135 -2.927827)', '2026-06-21 16:47:48', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788022 -2.927759)'), GeomFromEWKT('SRID=4674;POINT (-39.788135 -2.927827)'))) / (select extract(epoch from '2026-06-21 16:47:48'::timestamp) - extract(epoch from '2026-06-21 16:47:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788022 -2.927759)'), GeomFromEWKT('SRID=4674;POINT (-39.788135 -2.927827)'))) / (select extract(epoch from '2026-06-21 16:47:48'::timestamp) - extract(epoch from '2026-06-21 16:47: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'), 46821, 'SRID=4674;POINT (-39.788275 -2.927929)', '2026-06-21 16:47:56', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788135 -2.927827)'), GeomFromEWKT('SRID=4674;POINT (-39.788275 -2.927929)'))) / (select extract(epoch from '2026-06-21 16:47:56'::timestamp) - extract(epoch from '2026-06-21 16:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788135 -2.927827)'), GeomFromEWKT('SRID=4674;POINT (-39.788275 -2.927929)'))) / (select extract(epoch from '2026-06-21 16:47:56'::timestamp) - extract(epoch from '2026-06-21 16:47:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.788377 -2.928027)', '2026-06-21 16:48:02', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788275 -2.927929)'), GeomFromEWKT('SRID=4674;POINT (-39.788377 -2.928027)'))) / (select extract(epoch from '2026-06-21 16:48:02'::timestamp) - extract(epoch from '2026-06-21 16:47:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788275 -2.927929)'), GeomFromEWKT('SRID=4674;POINT (-39.788377 -2.928027)'))) / (select extract(epoch from '2026-06-21 16:48:02'::timestamp) - extract(epoch from '2026-06-21 16:47: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'), 46821, 'SRID=4674;POINT (-39.788474 -2.928128)', '2026-06-21 16:48:08', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788377 -2.928027)'), GeomFromEWKT('SRID=4674;POINT (-39.788474 -2.928128)'))) / (select extract(epoch from '2026-06-21 16:48:08'::timestamp) - extract(epoch from '2026-06-21 16:48:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788377 -2.928027)'), GeomFromEWKT('SRID=4674;POINT (-39.788474 -2.928128)'))) / (select extract(epoch from '2026-06-21 16:48:08'::timestamp) - extract(epoch from '2026-06-21 16:48:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.78854 -2.928201)', '2026-06-21 16:48:12', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788474 -2.928128)'), GeomFromEWKT('SRID=4674;POINT (-39.78854 -2.928201)'))) / (select extract(epoch from '2026-06-21 16:48:12'::timestamp) - extract(epoch from '2026-06-21 16:48:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788474 -2.928128)'), GeomFromEWKT('SRID=4674;POINT (-39.78854 -2.928201)'))) / (select extract(epoch from '2026-06-21 16:48:12'::timestamp) - extract(epoch from '2026-06-21 16:48:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.788661 -2.92832)', '2026-06-21 16:48:19', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78854 -2.928201)'), GeomFromEWKT('SRID=4674;POINT (-39.788661 -2.92832)'))) / (select extract(epoch from '2026-06-21 16:48:19'::timestamp) - extract(epoch from '2026-06-21 16:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78854 -2.928201)'), GeomFromEWKT('SRID=4674;POINT (-39.788661 -2.92832)'))) / (select extract(epoch from '2026-06-21 16:48:19'::timestamp) - extract(epoch from '2026-06-21 16:48:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.788781 -2.928404)', '2026-06-21 16:48:25', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788661 -2.92832)'), GeomFromEWKT('SRID=4674;POINT (-39.788781 -2.928404)'))) / (select extract(epoch from '2026-06-21 16:48:25'::timestamp) - extract(epoch from '2026-06-21 16:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788661 -2.92832)'), GeomFromEWKT('SRID=4674;POINT (-39.788781 -2.928404)'))) / (select extract(epoch from '2026-06-21 16:48:25'::timestamp) - extract(epoch from '2026-06-21 16:48:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.788911 -2.928506)', '2026-06-21 16:48:32', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788781 -2.928404)'), GeomFromEWKT('SRID=4674;POINT (-39.788911 -2.928506)'))) / (select extract(epoch from '2026-06-21 16:48:32'::timestamp) - extract(epoch from '2026-06-21 16:48:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788781 -2.928404)'), GeomFromEWKT('SRID=4674;POINT (-39.788911 -2.928506)'))) / (select extract(epoch from '2026-06-21 16:48:32'::timestamp) - extract(epoch from '2026-06-21 16:48: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'), 46821, 'SRID=4674;POINT (-39.789003 -2.928583)', '2026-06-21 16:48:37', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788911 -2.928506)'), GeomFromEWKT('SRID=4674;POINT (-39.789003 -2.928583)'))) / (select extract(epoch from '2026-06-21 16:48:37'::timestamp) - extract(epoch from '2026-06-21 16:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788911 -2.928506)'), GeomFromEWKT('SRID=4674;POINT (-39.789003 -2.928583)'))) / (select extract(epoch from '2026-06-21 16:48:37'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.789106 -2.928661)', '2026-06-21 16:48:43', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789003 -2.928583)'), GeomFromEWKT('SRID=4674;POINT (-39.789106 -2.928661)'))) / (select extract(epoch from '2026-06-21 16:48:43'::timestamp) - extract(epoch from '2026-06-21 16:48:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789003 -2.928583)'), GeomFromEWKT('SRID=4674;POINT (-39.789106 -2.928661)'))) / (select extract(epoch from '2026-06-21 16:48:43'::timestamp) - extract(epoch from '2026-06-21 16:48: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'), 46821, 'SRID=4674;POINT (-39.78924 -2.928761)', '2026-06-21 16:48:50', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789106 -2.928661)'), GeomFromEWKT('SRID=4674;POINT (-39.78924 -2.928761)'))) / (select extract(epoch from '2026-06-21 16:48:50'::timestamp) - extract(epoch from '2026-06-21 16:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789106 -2.928661)'), GeomFromEWKT('SRID=4674;POINT (-39.78924 -2.928761)'))) / (select extract(epoch from '2026-06-21 16:48:50'::timestamp) - extract(epoch from '2026-06-21 16:48: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'), 46821, 'SRID=4674;POINT (-39.789379 -2.928842)', '2026-06-21 16:48:57', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78924 -2.928761)'), GeomFromEWKT('SRID=4674;POINT (-39.789379 -2.928842)'))) / (select extract(epoch from '2026-06-21 16:48:57'::timestamp) - extract(epoch from '2026-06-21 16:48:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78924 -2.928761)'), GeomFromEWKT('SRID=4674;POINT (-39.789379 -2.928842)'))) / (select extract(epoch from '2026-06-21 16:48:57'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.789517 -2.928914)', '2026-06-21 16:49:04', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789379 -2.928842)'), GeomFromEWKT('SRID=4674;POINT (-39.789517 -2.928914)'))) / (select extract(epoch from '2026-06-21 16:49:04'::timestamp) - extract(epoch from '2026-06-21 16:48:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789379 -2.928842)'), GeomFromEWKT('SRID=4674;POINT (-39.789517 -2.928914)'))) / (select extract(epoch from '2026-06-21 16:49:04'::timestamp) - extract(epoch from '2026-06-21 16:48:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.789667 -2.929012)', '2026-06-21 16:49:12', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789517 -2.928914)'), GeomFromEWKT('SRID=4674;POINT (-39.789667 -2.929012)'))) / (select extract(epoch from '2026-06-21 16:49:12'::timestamp) - extract(epoch from '2026-06-21 16:49:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789517 -2.928914)'), GeomFromEWKT('SRID=4674;POINT (-39.789667 -2.929012)'))) / (select extract(epoch from '2026-06-21 16:49:12'::timestamp) - extract(epoch from '2026-06-21 16:49: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'), 46821, 'SRID=4674;POINT (-39.789774 -2.929087)', '2026-06-21 16:49:18', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789667 -2.929012)'), GeomFromEWKT('SRID=4674;POINT (-39.789774 -2.929087)'))) / (select extract(epoch from '2026-06-21 16:49:18'::timestamp) - extract(epoch from '2026-06-21 16:49:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789667 -2.929012)'), GeomFromEWKT('SRID=4674;POINT (-39.789774 -2.929087)'))) / (select extract(epoch from '2026-06-21 16:49:18'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.789879 -2.929175)', '2026-06-21 16:49:24', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789774 -2.929087)'), GeomFromEWKT('SRID=4674;POINT (-39.789879 -2.929175)'))) / (select extract(epoch from '2026-06-21 16:49:24'::timestamp) - extract(epoch from '2026-06-21 16:49:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789774 -2.929087)'), GeomFromEWKT('SRID=4674;POINT (-39.789879 -2.929175)'))) / (select extract(epoch from '2026-06-21 16:49:24'::timestamp) - extract(epoch from '2026-06-21 16:49: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'), 46821, 'SRID=4674;POINT (-39.790011 -2.929282)', '2026-06-21 16:49:32', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789879 -2.929175)'), GeomFromEWKT('SRID=4674;POINT (-39.790011 -2.929282)'))) / (select extract(epoch from '2026-06-21 16:49:32'::timestamp) - extract(epoch from '2026-06-21 16:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789879 -2.929175)'), GeomFromEWKT('SRID=4674;POINT (-39.790011 -2.929282)'))) / (select extract(epoch from '2026-06-21 16:49:32'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.790113 -2.929367)', '2026-06-21 16:49:38', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790011 -2.929282)'), GeomFromEWKT('SRID=4674;POINT (-39.790113 -2.929367)'))) / (select extract(epoch from '2026-06-21 16:49:38'::timestamp) - extract(epoch from '2026-06-21 16:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790011 -2.929282)'), GeomFromEWKT('SRID=4674;POINT (-39.790113 -2.929367)'))) / (select extract(epoch from '2026-06-21 16:49:38'::timestamp) - extract(epoch from '2026-06-21 16:49: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'), 46821, 'SRID=4674;POINT (-39.790213 -2.929446)', '2026-06-21 16:49:44', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790113 -2.929367)'), GeomFromEWKT('SRID=4674;POINT (-39.790213 -2.929446)'))) / (select extract(epoch from '2026-06-21 16:49:44'::timestamp) - extract(epoch from '2026-06-21 16:49:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790113 -2.929367)'), GeomFromEWKT('SRID=4674;POINT (-39.790213 -2.929446)'))) / (select extract(epoch from '2026-06-21 16:49:44'::timestamp) - extract(epoch from '2026-06-21 16:49: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'), 46821, 'SRID=4674;POINT (-39.790384 -2.929559)', '2026-06-21 16:49:53', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790213 -2.929446)'), GeomFromEWKT('SRID=4674;POINT (-39.790384 -2.929559)'))) / (select extract(epoch from '2026-06-21 16:49:53'::timestamp) - extract(epoch from '2026-06-21 16:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790213 -2.929446)'), GeomFromEWKT('SRID=4674;POINT (-39.790384 -2.929559)'))) / (select extract(epoch from '2026-06-21 16:49:53'::timestamp) - extract(epoch from '2026-06-21 16:49: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'), 46821, 'SRID=4674;POINT (-39.790484 -2.929643)', '2026-06-21 16:49:59', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790384 -2.929559)'), GeomFromEWKT('SRID=4674;POINT (-39.790484 -2.929643)'))) / (select extract(epoch from '2026-06-21 16:49:59'::timestamp) - extract(epoch from '2026-06-21 16:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790384 -2.929559)'), GeomFromEWKT('SRID=4674;POINT (-39.790484 -2.929643)'))) / (select extract(epoch from '2026-06-21 16:49:59'::timestamp) - extract(epoch from '2026-06-21 16:49: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'), 46821, 'SRID=4674;POINT (-39.790562 -2.929711)', '2026-06-21 16:50:04', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790484 -2.929643)'), GeomFromEWKT('SRID=4674;POINT (-39.790562 -2.929711)'))) / (select extract(epoch from '2026-06-21 16:50:04'::timestamp) - extract(epoch from '2026-06-21 16:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790484 -2.929643)'), GeomFromEWKT('SRID=4674;POINT (-39.790562 -2.929711)'))) / (select extract(epoch from '2026-06-21 16:50:04'::timestamp) - extract(epoch from '2026-06-21 16:49:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.790652 -2.929799)', '2026-06-21 16:50:10', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790562 -2.929711)'), GeomFromEWKT('SRID=4674;POINT (-39.790652 -2.929799)'))) / (select extract(epoch from '2026-06-21 16:50:10'::timestamp) - extract(epoch from '2026-06-21 16:50:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790562 -2.929711)'), GeomFromEWKT('SRID=4674;POINT (-39.790652 -2.929799)'))) / (select extract(epoch from '2026-06-21 16:50:10'::timestamp) - extract(epoch from '2026-06-21 16:50: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'), 46821, 'SRID=4674;POINT (-39.79075 -2.929896)', '2026-06-21 16:50:16', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790652 -2.929799)'), GeomFromEWKT('SRID=4674;POINT (-39.79075 -2.929896)'))) / (select extract(epoch from '2026-06-21 16:50:16'::timestamp) - extract(epoch from '2026-06-21 16:50:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790652 -2.929799)'), GeomFromEWKT('SRID=4674;POINT (-39.79075 -2.929896)'))) / (select extract(epoch from '2026-06-21 16:50:16'::timestamp) - extract(epoch from '2026-06-21 16:50:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.790867 -2.930007)', '2026-06-21 16:50:23', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79075 -2.929896)'), GeomFromEWKT('SRID=4674;POINT (-39.790867 -2.930007)'))) / (select extract(epoch from '2026-06-21 16:50:23'::timestamp) - extract(epoch from '2026-06-21 16:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79075 -2.929896)'), GeomFromEWKT('SRID=4674;POINT (-39.790867 -2.930007)'))) / (select extract(epoch from '2026-06-21 16:50:23'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.791008 -2.930091)', '2026-06-21 16:50:30', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790867 -2.930007)'), GeomFromEWKT('SRID=4674;POINT (-39.791008 -2.930091)'))) / (select extract(epoch from '2026-06-21 16:50:30'::timestamp) - extract(epoch from '2026-06-21 16:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790867 -2.930007)'), GeomFromEWKT('SRID=4674;POINT (-39.791008 -2.930091)'))) / (select extract(epoch from '2026-06-21 16:50:30'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.79112 -2.930164)', '2026-06-21 16:50:36', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791008 -2.930091)'), GeomFromEWKT('SRID=4674;POINT (-39.79112 -2.930164)'))) / (select extract(epoch from '2026-06-21 16:50:36'::timestamp) - extract(epoch from '2026-06-21 16:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791008 -2.930091)'), GeomFromEWKT('SRID=4674;POINT (-39.79112 -2.930164)'))) / (select extract(epoch from '2026-06-21 16:50:36'::timestamp) - extract(epoch from '2026-06-21 16:50: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'), 46821, 'SRID=4674;POINT (-39.79121 -2.930221)', '2026-06-21 16:50:41', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79112 -2.930164)'), GeomFromEWKT('SRID=4674;POINT (-39.79121 -2.930221)'))) / (select extract(epoch from '2026-06-21 16:50:41'::timestamp) - extract(epoch from '2026-06-21 16:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79112 -2.930164)'), GeomFromEWKT('SRID=4674;POINT (-39.79121 -2.930221)'))) / (select extract(epoch from '2026-06-21 16:50:41'::timestamp) - extract(epoch from '2026-06-21 16:50: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'), 46821, 'SRID=4674;POINT (-39.791311 -2.930285)', '2026-06-21 16:50:46', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79121 -2.930221)'), GeomFromEWKT('SRID=4674;POINT (-39.791311 -2.930285)'))) / (select extract(epoch from '2026-06-21 16:50:46'::timestamp) - extract(epoch from '2026-06-21 16:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79121 -2.930221)'), GeomFromEWKT('SRID=4674;POINT (-39.791311 -2.930285)'))) / (select extract(epoch from '2026-06-21 16:50:46'::timestamp) - extract(epoch from '2026-06-21 16:50: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'), 46821, 'SRID=4674;POINT (-39.791427 -2.930369)', '2026-06-21 16:50:53', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791311 -2.930285)'), GeomFromEWKT('SRID=4674;POINT (-39.791427 -2.930369)'))) / (select extract(epoch from '2026-06-21 16:50:53'::timestamp) - extract(epoch from '2026-06-21 16:50:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791311 -2.930285)'), GeomFromEWKT('SRID=4674;POINT (-39.791427 -2.930369)'))) / (select extract(epoch from '2026-06-21 16:50:53'::timestamp) - extract(epoch from '2026-06-21 16:50:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.791547 -2.930461)', '2026-06-21 16:51:00', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791427 -2.930369)'), GeomFromEWKT('SRID=4674;POINT (-39.791547 -2.930461)'))) / (select extract(epoch from '2026-06-21 16:51:00'::timestamp) - extract(epoch from '2026-06-21 16:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791427 -2.930369)'), GeomFromEWKT('SRID=4674;POINT (-39.791547 -2.930461)'))) / (select extract(epoch from '2026-06-21 16:51:00'::timestamp) - extract(epoch from '2026-06-21 16:50: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'), 46821, 'SRID=4674;POINT (-39.791651 -2.930538)', '2026-06-21 16:51:06', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791547 -2.930461)'), GeomFromEWKT('SRID=4674;POINT (-39.791651 -2.930538)'))) / (select extract(epoch from '2026-06-21 16:51:06'::timestamp) - extract(epoch from '2026-06-21 16:51:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791547 -2.930461)'), GeomFromEWKT('SRID=4674;POINT (-39.791651 -2.930538)'))) / (select extract(epoch from '2026-06-21 16:51:06'::timestamp) - extract(epoch from '2026-06-21 16:51: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'), 46821, 'SRID=4674;POINT (-39.791758 -2.930639)', '2026-06-21 16:51:13', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791651 -2.930538)'), GeomFromEWKT('SRID=4674;POINT (-39.791758 -2.930639)'))) / (select extract(epoch from '2026-06-21 16:51:13'::timestamp) - extract(epoch from '2026-06-21 16:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791651 -2.930538)'), GeomFromEWKT('SRID=4674;POINT (-39.791758 -2.930639)'))) / (select extract(epoch from '2026-06-21 16:51:13'::timestamp) - extract(epoch from '2026-06-21 16:51:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.791887 -2.930743)', '2026-06-21 16:51:20', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791758 -2.930639)'), GeomFromEWKT('SRID=4674;POINT (-39.791887 -2.930743)'))) / (select extract(epoch from '2026-06-21 16:51:20'::timestamp) - extract(epoch from '2026-06-21 16:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791758 -2.930639)'), GeomFromEWKT('SRID=4674;POINT (-39.791887 -2.930743)'))) / (select extract(epoch from '2026-06-21 16:51:20'::timestamp) - extract(epoch from '2026-06-21 16:51:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.791971 -2.930816)', '2026-06-21 16:51:25', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791887 -2.930743)'), GeomFromEWKT('SRID=4674;POINT (-39.791971 -2.930816)'))) / (select extract(epoch from '2026-06-21 16:51:25'::timestamp) - extract(epoch from '2026-06-21 16:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791887 -2.930743)'), GeomFromEWKT('SRID=4674;POINT (-39.791971 -2.930816)'))) / (select extract(epoch from '2026-06-21 16:51:25'::timestamp) - extract(epoch from '2026-06-21 16:51: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'), 46821, 'SRID=4674;POINT (-39.792156 -2.930933)', '2026-06-21 16:51:34', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791971 -2.930816)'), GeomFromEWKT('SRID=4674;POINT (-39.792156 -2.930933)'))) / (select extract(epoch from '2026-06-21 16:51:34'::timestamp) - extract(epoch from '2026-06-21 16:51:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791971 -2.930816)'), GeomFromEWKT('SRID=4674;POINT (-39.792156 -2.930933)'))) / (select extract(epoch from '2026-06-21 16:51:34'::timestamp) - extract(epoch from '2026-06-21 16:51: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'), 46821, 'SRID=4674;POINT (-39.792293 -2.931058)', '2026-06-21 16:51:42', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792156 -2.930933)'), GeomFromEWKT('SRID=4674;POINT (-39.792293 -2.931058)'))) / (select extract(epoch from '2026-06-21 16:51:42'::timestamp) - extract(epoch from '2026-06-21 16:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792156 -2.930933)'), GeomFromEWKT('SRID=4674;POINT (-39.792293 -2.931058)'))) / (select extract(epoch from '2026-06-21 16:51:42'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.792373 -2.931145)', '2026-06-21 16:51:47', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792293 -2.931058)'), GeomFromEWKT('SRID=4674;POINT (-39.792373 -2.931145)'))) / (select extract(epoch from '2026-06-21 16:51:47'::timestamp) - extract(epoch from '2026-06-21 16:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792293 -2.931058)'), GeomFromEWKT('SRID=4674;POINT (-39.792373 -2.931145)'))) / (select extract(epoch from '2026-06-21 16:51:47'::timestamp) - extract(epoch from '2026-06-21 16:51: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'), 46821, 'SRID=4674;POINT (-39.792529 -2.931274)', '2026-06-21 16:51:55', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792373 -2.931145)'), GeomFromEWKT('SRID=4674;POINT (-39.792529 -2.931274)'))) / (select extract(epoch from '2026-06-21 16:51:55'::timestamp) - extract(epoch from '2026-06-21 16:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792373 -2.931145)'), GeomFromEWKT('SRID=4674;POINT (-39.792529 -2.931274)'))) / (select extract(epoch from '2026-06-21 16:51:55'::timestamp) - extract(epoch from '2026-06-21 16:51: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'), 46821, 'SRID=4674;POINT (-39.792663 -2.93137)', '2026-06-21 16:52:02', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792529 -2.931274)'), GeomFromEWKT('SRID=4674;POINT (-39.792663 -2.93137)'))) / (select extract(epoch from '2026-06-21 16:52:02'::timestamp) - extract(epoch from '2026-06-21 16:51:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792529 -2.931274)'), GeomFromEWKT('SRID=4674;POINT (-39.792663 -2.93137)'))) / (select extract(epoch from '2026-06-21 16:52:02'::timestamp) - extract(epoch from '2026-06-21 16:51: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'), 46821, 'SRID=4674;POINT (-39.792777 -2.931465)', '2026-06-21 16:52:08', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792663 -2.93137)'), GeomFromEWKT('SRID=4674;POINT (-39.792777 -2.931465)'))) / (select extract(epoch from '2026-06-21 16:52:08'::timestamp) - extract(epoch from '2026-06-21 16:52:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792663 -2.93137)'), GeomFromEWKT('SRID=4674;POINT (-39.792777 -2.931465)'))) / (select extract(epoch from '2026-06-21 16:52:08'::timestamp) - extract(epoch from '2026-06-21 16:52:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.792922 -2.931568)', '2026-06-21 16:52:15', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792777 -2.931465)'), GeomFromEWKT('SRID=4674;POINT (-39.792922 -2.931568)'))) / (select extract(epoch from '2026-06-21 16:52:15'::timestamp) - extract(epoch from '2026-06-21 16:52:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792777 -2.931465)'), GeomFromEWKT('SRID=4674;POINT (-39.792922 -2.931568)'))) / (select extract(epoch from '2026-06-21 16:52:15'::timestamp) - extract(epoch from '2026-06-21 16:52: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'), 46821, 'SRID=4674;POINT (-39.793037 -2.931656)', '2026-06-21 16:52:21', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792922 -2.931568)'), GeomFromEWKT('SRID=4674;POINT (-39.793037 -2.931656)'))) / (select extract(epoch from '2026-06-21 16:52:21'::timestamp) - extract(epoch from '2026-06-21 16:52:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792922 -2.931568)'), GeomFromEWKT('SRID=4674;POINT (-39.793037 -2.931656)'))) / (select extract(epoch from '2026-06-21 16:52:21'::timestamp) - extract(epoch from '2026-06-21 16:52: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'), 46821, 'SRID=4674;POINT (-39.793144 -2.93175)', '2026-06-21 16:52:27', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793037 -2.931656)'), GeomFromEWKT('SRID=4674;POINT (-39.793144 -2.93175)'))) / (select extract(epoch from '2026-06-21 16:52:27'::timestamp) - extract(epoch from '2026-06-21 16:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793037 -2.931656)'), GeomFromEWKT('SRID=4674;POINT (-39.793144 -2.93175)'))) / (select extract(epoch from '2026-06-21 16:52:27'::timestamp) - extract(epoch from '2026-06-21 16:52: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'), 46821, 'SRID=4674;POINT (-39.793293 -2.931865)', '2026-06-21 16:52:35', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793144 -2.93175)'), GeomFromEWKT('SRID=4674;POINT (-39.793293 -2.931865)'))) / (select extract(epoch from '2026-06-21 16:52:35'::timestamp) - extract(epoch from '2026-06-21 16:52:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793144 -2.93175)'), GeomFromEWKT('SRID=4674;POINT (-39.793293 -2.931865)'))) / (select extract(epoch from '2026-06-21 16:52:35'::timestamp) - extract(epoch from '2026-06-21 16:52: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'), 46821, 'SRID=4674;POINT (-39.793458 -2.931991)', '2026-06-21 16:52:44', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793293 -2.931865)'), GeomFromEWKT('SRID=4674;POINT (-39.793458 -2.931991)'))) / (select extract(epoch from '2026-06-21 16:52:44'::timestamp) - extract(epoch from '2026-06-21 16:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793293 -2.931865)'), GeomFromEWKT('SRID=4674;POINT (-39.793458 -2.931991)'))) / (select extract(epoch from '2026-06-21 16:52:44'::timestamp) - extract(epoch from '2026-06-21 16:52: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'), 46821, 'SRID=4674;POINT (-39.793583 -2.932099)', '2026-06-21 16:52:51', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793458 -2.931991)'), GeomFromEWKT('SRID=4674;POINT (-39.793583 -2.932099)'))) / (select extract(epoch from '2026-06-21 16:52:51'::timestamp) - extract(epoch from '2026-06-21 16:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793458 -2.931991)'), GeomFromEWKT('SRID=4674;POINT (-39.793583 -2.932099)'))) / (select extract(epoch from '2026-06-21 16:52:51'::timestamp) - extract(epoch from '2026-06-21 16:52: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'), 46821, 'SRID=4674;POINT (-39.793679 -2.932172)', '2026-06-21 16:52:56', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793583 -2.932099)'), GeomFromEWKT('SRID=4674;POINT (-39.793679 -2.932172)'))) / (select extract(epoch from '2026-06-21 16:52:56'::timestamp) - extract(epoch from '2026-06-21 16:52:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793583 -2.932099)'), GeomFromEWKT('SRID=4674;POINT (-39.793679 -2.932172)'))) / (select extract(epoch from '2026-06-21 16:52:56'::timestamp) - extract(epoch from '2026-06-21 16:52:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.79379 -2.93225)', '2026-06-21 16:53:02', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793679 -2.932172)'), GeomFromEWKT('SRID=4674;POINT (-39.79379 -2.93225)'))) / (select extract(epoch from '2026-06-21 16:53:02'::timestamp) - extract(epoch from '2026-06-21 16:52:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793679 -2.932172)'), GeomFromEWKT('SRID=4674;POINT (-39.79379 -2.93225)'))) / (select extract(epoch from '2026-06-21 16:53:02'::timestamp) - extract(epoch from '2026-06-21 16:52: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'), 46821, 'SRID=4674;POINT (-39.793902 -2.932333)', '2026-06-21 16:53:08', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79379 -2.93225)'), GeomFromEWKT('SRID=4674;POINT (-39.793902 -2.932333)'))) / (select extract(epoch from '2026-06-21 16:53:08'::timestamp) - extract(epoch from '2026-06-21 16:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79379 -2.93225)'), GeomFromEWKT('SRID=4674;POINT (-39.793902 -2.932333)'))) / (select extract(epoch from '2026-06-21 16:53:08'::timestamp) - extract(epoch from '2026-06-21 16:53: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'), 46821, 'SRID=4674;POINT (-39.794029 -2.93243)', '2026-06-21 16:53:15', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793902 -2.932333)'), GeomFromEWKT('SRID=4674;POINT (-39.794029 -2.93243)'))) / (select extract(epoch from '2026-06-21 16:53:15'::timestamp) - extract(epoch from '2026-06-21 16:53:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793902 -2.932333)'), GeomFromEWKT('SRID=4674;POINT (-39.794029 -2.93243)'))) / (select extract(epoch from '2026-06-21 16:53:15'::timestamp) - extract(epoch from '2026-06-21 16:53: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'), 46821, 'SRID=4674;POINT (-39.794131 -2.932504)', '2026-06-21 16:53:20', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794029 -2.93243)'), GeomFromEWKT('SRID=4674;POINT (-39.794131 -2.932504)'))) / (select extract(epoch from '2026-06-21 16:53:20'::timestamp) - extract(epoch from '2026-06-21 16:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794029 -2.93243)'), GeomFromEWKT('SRID=4674;POINT (-39.794131 -2.932504)'))) / (select extract(epoch from '2026-06-21 16:53:20'::timestamp) - extract(epoch from '2026-06-21 16:53:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.794273 -2.932563)', '2026-06-21 16:53:27', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794131 -2.932504)'), GeomFromEWKT('SRID=4674;POINT (-39.794273 -2.932563)'))) / (select extract(epoch from '2026-06-21 16:53:27'::timestamp) - extract(epoch from '2026-06-21 16:53:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794131 -2.932504)'), GeomFromEWKT('SRID=4674;POINT (-39.794273 -2.932563)'))) / (select extract(epoch from '2026-06-21 16:53:27'::timestamp) - extract(epoch from '2026-06-21 16:53: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'), 46821, 'SRID=4674;POINT (-39.794423 -2.932651)', '2026-06-21 16:53:35', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794273 -2.932563)'), GeomFromEWKT('SRID=4674;POINT (-39.794423 -2.932651)'))) / (select extract(epoch from '2026-06-21 16:53:35'::timestamp) - extract(epoch from '2026-06-21 16:53:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794273 -2.932563)'), GeomFromEWKT('SRID=4674;POINT (-39.794423 -2.932651)'))) / (select extract(epoch from '2026-06-21 16:53:35'::timestamp) - extract(epoch from '2026-06-21 16:53: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'), 46821, 'SRID=4674;POINT (-39.794546 -2.932749)', '2026-06-21 16:53:42', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794423 -2.932651)'), GeomFromEWKT('SRID=4674;POINT (-39.794546 -2.932749)'))) / (select extract(epoch from '2026-06-21 16:53:42'::timestamp) - extract(epoch from '2026-06-21 16:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794423 -2.932651)'), GeomFromEWKT('SRID=4674;POINT (-39.794546 -2.932749)'))) / (select extract(epoch from '2026-06-21 16:53:42'::timestamp) - extract(epoch from '2026-06-21 16:53:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.794685 -2.932824)', '2026-06-21 16:53:49', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794546 -2.932749)'), GeomFromEWKT('SRID=4674;POINT (-39.794685 -2.932824)'))) / (select extract(epoch from '2026-06-21 16:53:49'::timestamp) - extract(epoch from '2026-06-21 16:53:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794546 -2.932749)'), GeomFromEWKT('SRID=4674;POINT (-39.794685 -2.932824)'))) / (select extract(epoch from '2026-06-21 16:53:49'::timestamp) - extract(epoch from '2026-06-21 16:53:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.794788 -2.932901)', '2026-06-21 16:53:55', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794685 -2.932824)'), GeomFromEWKT('SRID=4674;POINT (-39.794788 -2.932901)'))) / (select extract(epoch from '2026-06-21 16:53:55'::timestamp) - extract(epoch from '2026-06-21 16:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794685 -2.932824)'), GeomFromEWKT('SRID=4674;POINT (-39.794788 -2.932901)'))) / (select extract(epoch from '2026-06-21 16:53:55'::timestamp) - extract(epoch from '2026-06-21 16:53: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'), 46821, 'SRID=4674;POINT (-39.794885 -2.932987)', '2026-06-21 16:54:01', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794788 -2.932901)'), GeomFromEWKT('SRID=4674;POINT (-39.794885 -2.932987)'))) / (select extract(epoch from '2026-06-21 16:54:01'::timestamp) - extract(epoch from '2026-06-21 16:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794788 -2.932901)'), GeomFromEWKT('SRID=4674;POINT (-39.794885 -2.932987)'))) / (select extract(epoch from '2026-06-21 16:54:01'::timestamp) - extract(epoch from '2026-06-21 16:53:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.794987 -2.93309)', '2026-06-21 16:54:08', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794885 -2.932987)'), GeomFromEWKT('SRID=4674;POINT (-39.794987 -2.93309)'))) / (select extract(epoch from '2026-06-21 16:54:08'::timestamp) - extract(epoch from '2026-06-21 16:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794885 -2.932987)'), GeomFromEWKT('SRID=4674;POINT (-39.794987 -2.93309)'))) / (select extract(epoch from '2026-06-21 16:54:08'::timestamp) - extract(epoch from '2026-06-21 16:54:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.795108 -2.933196)', '2026-06-21 16:54:15', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794987 -2.93309)'), GeomFromEWKT('SRID=4674;POINT (-39.795108 -2.933196)'))) / (select extract(epoch from '2026-06-21 16:54:15'::timestamp) - extract(epoch from '2026-06-21 16:54:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794987 -2.93309)'), GeomFromEWKT('SRID=4674;POINT (-39.795108 -2.933196)'))) / (select extract(epoch from '2026-06-21 16:54:15'::timestamp) - extract(epoch from '2026-06-21 16:54: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'), 46821, 'SRID=4674;POINT (-39.795212 -2.933291)', '2026-06-21 16:54:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795108 -2.933196)'), GeomFromEWKT('SRID=4674;POINT (-39.795212 -2.933291)'))) / (select extract(epoch from '2026-06-21 16:54:21'::timestamp) - extract(epoch from '2026-06-21 16:54:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795108 -2.933196)'), GeomFromEWKT('SRID=4674;POINT (-39.795212 -2.933291)'))) / (select extract(epoch from '2026-06-21 16:54:21'::timestamp) - extract(epoch from '2026-06-21 16:54: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'), 46821, 'SRID=4674;POINT (-39.795284 -2.933369)', '2026-06-21 16:54:26', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795212 -2.933291)'), GeomFromEWKT('SRID=4674;POINT (-39.795284 -2.933369)'))) / (select extract(epoch from '2026-06-21 16:54:26'::timestamp) - extract(epoch from '2026-06-21 16:54:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795212 -2.933291)'), GeomFromEWKT('SRID=4674;POINT (-39.795284 -2.933369)'))) / (select extract(epoch from '2026-06-21 16:54:26'::timestamp) - extract(epoch from '2026-06-21 16:54:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.795358 -2.933449)', '2026-06-21 16:54:31', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795284 -2.933369)'), GeomFromEWKT('SRID=4674;POINT (-39.795358 -2.933449)'))) / (select extract(epoch from '2026-06-21 16:54:31'::timestamp) - extract(epoch from '2026-06-21 16:54:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795284 -2.933369)'), GeomFromEWKT('SRID=4674;POINT (-39.795358 -2.933449)'))) / (select extract(epoch from '2026-06-21 16:54:31'::timestamp) - extract(epoch from '2026-06-21 16:54: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'), 46821, 'SRID=4674;POINT (-39.795476 -2.933552)', '2026-06-21 16:54:38', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795358 -2.933449)'), GeomFromEWKT('SRID=4674;POINT (-39.795476 -2.933552)'))) / (select extract(epoch from '2026-06-21 16:54:38'::timestamp) - extract(epoch from '2026-06-21 16:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795358 -2.933449)'), GeomFromEWKT('SRID=4674;POINT (-39.795476 -2.933552)'))) / (select extract(epoch from '2026-06-21 16:54:38'::timestamp) - extract(epoch from '2026-06-21 16:54: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'), 46821, 'SRID=4674;POINT (-39.795558 -2.933614)', '2026-06-21 16:54:43', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795476 -2.933552)'), GeomFromEWKT('SRID=4674;POINT (-39.795558 -2.933614)'))) / (select extract(epoch from '2026-06-21 16:54:43'::timestamp) - extract(epoch from '2026-06-21 16:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795476 -2.933552)'), GeomFromEWKT('SRID=4674;POINT (-39.795558 -2.933614)'))) / (select extract(epoch from '2026-06-21 16:54:43'::timestamp) - extract(epoch from '2026-06-21 16:54:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.795662 -2.933713)', '2026-06-21 16:54:50', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795558 -2.933614)'), GeomFromEWKT('SRID=4674;POINT (-39.795662 -2.933713)'))) / (select extract(epoch from '2026-06-21 16:54:50'::timestamp) - extract(epoch from '2026-06-21 16:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795558 -2.933614)'), GeomFromEWKT('SRID=4674;POINT (-39.795662 -2.933713)'))) / (select extract(epoch from '2026-06-21 16:54:50'::timestamp) - extract(epoch from '2026-06-21 16:54: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'), 46821, 'SRID=4674;POINT (-39.795731 -2.933805)', '2026-06-21 16:54:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795662 -2.933713)'), GeomFromEWKT('SRID=4674;POINT (-39.795731 -2.933805)'))) / (select extract(epoch from '2026-06-21 16:54:56'::timestamp) - extract(epoch from '2026-06-21 16:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795662 -2.933713)'), GeomFromEWKT('SRID=4674;POINT (-39.795731 -2.933805)'))) / (select extract(epoch from '2026-06-21 16:54:56'::timestamp) - extract(epoch from '2026-06-21 16:54:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.795802 -2.933878)', '2026-06-21 16:55:01', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795731 -2.933805)'), GeomFromEWKT('SRID=4674;POINT (-39.795802 -2.933878)'))) / (select extract(epoch from '2026-06-21 16:55:01'::timestamp) - extract(epoch from '2026-06-21 16:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795731 -2.933805)'), GeomFromEWKT('SRID=4674;POINT (-39.795802 -2.933878)'))) / (select extract(epoch from '2026-06-21 16:55:01'::timestamp) - extract(epoch from '2026-06-21 16:54: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'), 46821, 'SRID=4674;POINT (-39.795879 -2.933957)', '2026-06-21 16:55:06', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795802 -2.933878)'), GeomFromEWKT('SRID=4674;POINT (-39.795879 -2.933957)'))) / (select extract(epoch from '2026-06-21 16:55:06'::timestamp) - extract(epoch from '2026-06-21 16:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795802 -2.933878)'), GeomFromEWKT('SRID=4674;POINT (-39.795879 -2.933957)'))) / (select extract(epoch from '2026-06-21 16:55:06'::timestamp) - extract(epoch from '2026-06-21 16:55:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.795951 -2.934035)', '2026-06-21 16:55:11', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795879 -2.933957)'), GeomFromEWKT('SRID=4674;POINT (-39.795951 -2.934035)'))) / (select extract(epoch from '2026-06-21 16:55:11'::timestamp) - extract(epoch from '2026-06-21 16:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795879 -2.933957)'), GeomFromEWKT('SRID=4674;POINT (-39.795951 -2.934035)'))) / (select extract(epoch from '2026-06-21 16:55:11'::timestamp) - extract(epoch from '2026-06-21 16:55:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.796015 -2.934112)', '2026-06-21 16:55:16', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795951 -2.934035)'), GeomFromEWKT('SRID=4674;POINT (-39.796015 -2.934112)'))) / (select extract(epoch from '2026-06-21 16:55:16'::timestamp) - extract(epoch from '2026-06-21 16:55:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795951 -2.934035)'), GeomFromEWKT('SRID=4674;POINT (-39.796015 -2.934112)'))) / (select extract(epoch from '2026-06-21 16:55:16'::timestamp) - extract(epoch from '2026-06-21 16:55:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.796122 -2.934233)', '2026-06-21 16:55:23', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796015 -2.934112)'), GeomFromEWKT('SRID=4674;POINT (-39.796122 -2.934233)'))) / (select extract(epoch from '2026-06-21 16:55:23'::timestamp) - extract(epoch from '2026-06-21 16:55:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796015 -2.934112)'), GeomFromEWKT('SRID=4674;POINT (-39.796122 -2.934233)'))) / (select extract(epoch from '2026-06-21 16:55:23'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.796204 -2.934328)', '2026-06-21 16:55:29', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796122 -2.934233)'), GeomFromEWKT('SRID=4674;POINT (-39.796204 -2.934328)'))) / (select extract(epoch from '2026-06-21 16:55:29'::timestamp) - extract(epoch from '2026-06-21 16:55:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796122 -2.934233)'), GeomFromEWKT('SRID=4674;POINT (-39.796204 -2.934328)'))) / (select extract(epoch from '2026-06-21 16:55:29'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.796296 -2.934419)', '2026-06-21 16:55:35', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796204 -2.934328)'), GeomFromEWKT('SRID=4674;POINT (-39.796296 -2.934419)'))) / (select extract(epoch from '2026-06-21 16:55:35'::timestamp) - extract(epoch from '2026-06-21 16:55:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796204 -2.934328)'), GeomFromEWKT('SRID=4674;POINT (-39.796296 -2.934419)'))) / (select extract(epoch from '2026-06-21 16:55:35'::timestamp) - extract(epoch from '2026-06-21 16:55: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'), 46821, 'SRID=4674;POINT (-39.796386 -2.934512)', '2026-06-21 16:55:41', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796296 -2.934419)'), GeomFromEWKT('SRID=4674;POINT (-39.796386 -2.934512)'))) / (select extract(epoch from '2026-06-21 16:55:41'::timestamp) - extract(epoch from '2026-06-21 16:55:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796296 -2.934419)'), GeomFromEWKT('SRID=4674;POINT (-39.796386 -2.934512)'))) / (select extract(epoch from '2026-06-21 16:55:41'::timestamp) - extract(epoch from '2026-06-21 16:55:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.796478 -2.934624)', '2026-06-21 16:55:48', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796386 -2.934512)'), GeomFromEWKT('SRID=4674;POINT (-39.796478 -2.934624)'))) / (select extract(epoch from '2026-06-21 16:55:48'::timestamp) - extract(epoch from '2026-06-21 16:55:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796386 -2.934512)'), GeomFromEWKT('SRID=4674;POINT (-39.796478 -2.934624)'))) / (select extract(epoch from '2026-06-21 16:55:48'::timestamp) - extract(epoch from '2026-06-21 16:55: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'), 46821, 'SRID=4674;POINT (-39.796552 -2.934724)', '2026-06-21 16:55:54', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796478 -2.934624)'), GeomFromEWKT('SRID=4674;POINT (-39.796552 -2.934724)'))) / (select extract(epoch from '2026-06-21 16:55:54'::timestamp) - extract(epoch from '2026-06-21 16:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796478 -2.934624)'), GeomFromEWKT('SRID=4674;POINT (-39.796552 -2.934724)'))) / (select extract(epoch from '2026-06-21 16:55:54'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.796608 -2.934809)', '2026-06-21 16:55:59', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796552 -2.934724)'), GeomFromEWKT('SRID=4674;POINT (-39.796608 -2.934809)'))) / (select extract(epoch from '2026-06-21 16:55:59'::timestamp) - extract(epoch from '2026-06-21 16:55:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796552 -2.934724)'), GeomFromEWKT('SRID=4674;POINT (-39.796608 -2.934809)'))) / (select extract(epoch from '2026-06-21 16:55:59'::timestamp) - extract(epoch from '2026-06-21 16:55: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'), 46821, 'SRID=4674;POINT (-39.796686 -2.934922)', '2026-06-21 16:56:06', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796608 -2.934809)'), GeomFromEWKT('SRID=4674;POINT (-39.796686 -2.934922)'))) / (select extract(epoch from '2026-06-21 16:56:06'::timestamp) - extract(epoch from '2026-06-21 16:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796608 -2.934809)'), GeomFromEWKT('SRID=4674;POINT (-39.796686 -2.934922)'))) / (select extract(epoch from '2026-06-21 16:56:06'::timestamp) - extract(epoch from '2026-06-21 16:55: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'), 46821, 'SRID=4674;POINT (-39.796747 -2.935017)', '2026-06-21 16:56:12', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796686 -2.934922)'), GeomFromEWKT('SRID=4674;POINT (-39.796747 -2.935017)'))) / (select extract(epoch from '2026-06-21 16:56:12'::timestamp) - extract(epoch from '2026-06-21 16:56:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796686 -2.934922)'), GeomFromEWKT('SRID=4674;POINT (-39.796747 -2.935017)'))) / (select extract(epoch from '2026-06-21 16:56:12'::timestamp) - extract(epoch from '2026-06-21 16:56:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.796844 -2.935116)', '2026-06-21 16:56:19', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796747 -2.935017)'), GeomFromEWKT('SRID=4674;POINT (-39.796844 -2.935116)'))) / (select extract(epoch from '2026-06-21 16:56:19'::timestamp) - extract(epoch from '2026-06-21 16:56:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796747 -2.935017)'), GeomFromEWKT('SRID=4674;POINT (-39.796844 -2.935116)'))) / (select extract(epoch from '2026-06-21 16:56:19'::timestamp) - extract(epoch from '2026-06-21 16:56:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.796939 -2.935214)', '2026-06-21 16:56:26', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796844 -2.935116)'), GeomFromEWKT('SRID=4674;POINT (-39.796939 -2.935214)'))) / (select extract(epoch from '2026-06-21 16:56:26'::timestamp) - extract(epoch from '2026-06-21 16:56:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796844 -2.935116)'), GeomFromEWKT('SRID=4674;POINT (-39.796939 -2.935214)'))) / (select extract(epoch from '2026-06-21 16:56:26'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.797051 -2.935316)', '2026-06-21 16:56:33', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796939 -2.935214)'), GeomFromEWKT('SRID=4674;POINT (-39.797051 -2.935316)'))) / (select extract(epoch from '2026-06-21 16:56:33'::timestamp) - extract(epoch from '2026-06-21 16:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796939 -2.935214)'), GeomFromEWKT('SRID=4674;POINT (-39.797051 -2.935316)'))) / (select extract(epoch from '2026-06-21 16:56:33'::timestamp) - extract(epoch from '2026-06-21 16:56: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'), 46821, 'SRID=4674;POINT (-39.797132 -2.935418)', '2026-06-21 16:56:39', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797051 -2.935316)'), GeomFromEWKT('SRID=4674;POINT (-39.797132 -2.935418)'))) / (select extract(epoch from '2026-06-21 16:56:39'::timestamp) - extract(epoch from '2026-06-21 16:56:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797051 -2.935316)'), GeomFromEWKT('SRID=4674;POINT (-39.797132 -2.935418)'))) / (select extract(epoch from '2026-06-21 16:56:39'::timestamp) - extract(epoch from '2026-06-21 16:56:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.797201 -2.935517)', '2026-06-21 16:56:45', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797132 -2.935418)'), GeomFromEWKT('SRID=4674;POINT (-39.797201 -2.935517)'))) / (select extract(epoch from '2026-06-21 16:56:45'::timestamp) - extract(epoch from '2026-06-21 16:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797132 -2.935418)'), GeomFromEWKT('SRID=4674;POINT (-39.797201 -2.935517)'))) / (select extract(epoch from '2026-06-21 16:56:45'::timestamp) - extract(epoch from '2026-06-21 16:56: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'), 46821, 'SRID=4674;POINT (-39.797269 -2.935599)', '2026-06-21 16:56:50', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797201 -2.935517)'), GeomFromEWKT('SRID=4674;POINT (-39.797269 -2.935599)'))) / (select extract(epoch from '2026-06-21 16:56:50'::timestamp) - extract(epoch from '2026-06-21 16:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797201 -2.935517)'), GeomFromEWKT('SRID=4674;POINT (-39.797269 -2.935599)'))) / (select extract(epoch from '2026-06-21 16:56:50'::timestamp) - extract(epoch from '2026-06-21 16:56: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'), 46821, 'SRID=4674;POINT (-39.797355 -2.935709)', '2026-06-21 16:56:57', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797269 -2.935599)'), GeomFromEWKT('SRID=4674;POINT (-39.797355 -2.935709)'))) / (select extract(epoch from '2026-06-21 16:56:57'::timestamp) - extract(epoch from '2026-06-21 16:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797269 -2.935599)'), GeomFromEWKT('SRID=4674;POINT (-39.797355 -2.935709)'))) / (select extract(epoch from '2026-06-21 16:56:57'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.797379 -2.935808)', '2026-06-21 16:57:03', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797355 -2.935709)'), GeomFromEWKT('SRID=4674;POINT (-39.797379 -2.935808)'))) / (select extract(epoch from '2026-06-21 16:57:03'::timestamp) - extract(epoch from '2026-06-21 16:56:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797355 -2.935709)'), GeomFromEWKT('SRID=4674;POINT (-39.797379 -2.935808)'))) / (select extract(epoch from '2026-06-21 16:57:03'::timestamp) - extract(epoch from '2026-06-21 16:56: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'), 46821, 'SRID=4674;POINT (-39.79737 -2.935885)', '2026-06-21 16:57:11', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797379 -2.935808)'), GeomFromEWKT('SRID=4674;POINT (-39.79737 -2.935885)'))) / (select extract(epoch from '2026-06-21 16:57:11'::timestamp) - extract(epoch from '2026-06-21 16:57:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797379 -2.935808)'), GeomFromEWKT('SRID=4674;POINT (-39.79737 -2.935885)'))) / (select extract(epoch from '2026-06-21 16:57:11'::timestamp) - extract(epoch from '2026-06-21 16:57: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'), 46821, 'SRID=4674;POINT (-39.797366 -2.935924)', '2026-06-21 16:57:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79737 -2.935885)'), GeomFromEWKT('SRID=4674;POINT (-39.797366 -2.935924)'))) / (select extract(epoch from '2026-06-21 16:57:18'::timestamp) - extract(epoch from '2026-06-21 16:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79737 -2.935885)'), GeomFromEWKT('SRID=4674;POINT (-39.797366 -2.935924)'))) / (select extract(epoch from '2026-06-21 16:57:18'::timestamp) - extract(epoch from '2026-06-21 16:57:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.797364 -2.935953)', '2026-06-21 16:57:25', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797366 -2.935924)'), GeomFromEWKT('SRID=4674;POINT (-39.797364 -2.935953)'))) / (select extract(epoch from '2026-06-21 16:57:25'::timestamp) - extract(epoch from '2026-06-21 16:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797366 -2.935924)'), GeomFromEWKT('SRID=4674;POINT (-39.797364 -2.935953)'))) / (select extract(epoch from '2026-06-21 16:57:25'::timestamp) - extract(epoch from '2026-06-21 16:57:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.797371 -2.935979)', '2026-06-21 16:57:32', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797364 -2.935953)'), GeomFromEWKT('SRID=4674;POINT (-39.797371 -2.935979)'))) / (select extract(epoch from '2026-06-21 16:57:32'::timestamp) - extract(epoch from '2026-06-21 16:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797364 -2.935953)'), GeomFromEWKT('SRID=4674;POINT (-39.797371 -2.935979)'))) / (select extract(epoch from '2026-06-21 16:57:32'::timestamp) - extract(epoch from '2026-06-21 16:57: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'), 46821, 'SRID=4674;POINT (-39.797387 -2.936017)', '2026-06-21 16:57:41', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797371 -2.935979)'), GeomFromEWKT('SRID=4674;POINT (-39.797387 -2.936017)'))) / (select extract(epoch from '2026-06-21 16:57:41'::timestamp) - extract(epoch from '2026-06-21 16:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797371 -2.935979)'), GeomFromEWKT('SRID=4674;POINT (-39.797387 -2.936017)'))) / (select extract(epoch from '2026-06-21 16:57:41'::timestamp) - extract(epoch from '2026-06-21 16:57: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'), 46821, 'SRID=4674;POINT (-39.797395 -2.936046)', '2026-06-21 16:57:48', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797387 -2.936017)'), GeomFromEWKT('SRID=4674;POINT (-39.797395 -2.936046)'))) / (select extract(epoch from '2026-06-21 16:57:48'::timestamp) - extract(epoch from '2026-06-21 16:57:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797387 -2.936017)'), GeomFromEWKT('SRID=4674;POINT (-39.797395 -2.936046)'))) / (select extract(epoch from '2026-06-21 16:57:48'::timestamp) - extract(epoch from '2026-06-21 16:57: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'), 46821, 'SRID=4674;POINT (-39.797413 -2.93608)', '2026-06-21 16:57:58', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797395 -2.936046)'), GeomFromEWKT('SRID=4674;POINT (-39.797413 -2.93608)'))) / (select extract(epoch from '2026-06-21 16:57:58'::timestamp) - extract(epoch from '2026-06-21 16:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797395 -2.936046)'), GeomFromEWKT('SRID=4674;POINT (-39.797413 -2.93608)'))) / (select extract(epoch from '2026-06-21 16:57:58'::timestamp) - extract(epoch from '2026-06-21 16:57: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'), 46821, 'SRID=4674;POINT (-39.797427 -2.936104)', '2026-06-21 16:58:04', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797413 -2.93608)'), GeomFromEWKT('SRID=4674;POINT (-39.797427 -2.936104)'))) / (select extract(epoch from '2026-06-21 16:58:04'::timestamp) - extract(epoch from '2026-06-21 16:57:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797413 -2.93608)'), GeomFromEWKT('SRID=4674;POINT (-39.797427 -2.936104)'))) / (select extract(epoch from '2026-06-21 16:58:04'::timestamp) - extract(epoch from '2026-06-21 16:57: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'), 46821, 'SRID=4674;POINT (-39.797439 -2.93612)', '2026-06-21 16:58:10', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797427 -2.936104)'), GeomFromEWKT('SRID=4674;POINT (-39.797439 -2.93612)'))) / (select extract(epoch from '2026-06-21 16:58:10'::timestamp) - extract(epoch from '2026-06-21 16:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797427 -2.936104)'), GeomFromEWKT('SRID=4674;POINT (-39.797439 -2.93612)'))) / (select extract(epoch from '2026-06-21 16:58:10'::timestamp) - extract(epoch from '2026-06-21 16:58: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'), 46821, 'SRID=4674;POINT (-39.797487 -2.936154)', '2026-06-21 16:58:26', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797439 -2.93612)'), GeomFromEWKT('SRID=4674;POINT (-39.797487 -2.936154)'))) / (select extract(epoch from '2026-06-21 16:58:26'::timestamp) - extract(epoch from '2026-06-21 16:58:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797439 -2.93612)'), GeomFromEWKT('SRID=4674;POINT (-39.797487 -2.936154)'))) / (select extract(epoch from '2026-06-21 16:58:26'::timestamp) - extract(epoch from '2026-06-21 16:58: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'), 46821, 'SRID=4674;POINT (-39.797515 -2.936173)', '2026-06-21 16:58:32', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797487 -2.936154)'), GeomFromEWKT('SRID=4674;POINT (-39.797515 -2.936173)'))) / (select extract(epoch from '2026-06-21 16:58:32'::timestamp) - extract(epoch from '2026-06-21 16:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797487 -2.936154)'), GeomFromEWKT('SRID=4674;POINT (-39.797515 -2.936173)'))) / (select extract(epoch from '2026-06-21 16:58:32'::timestamp) - extract(epoch from '2026-06-21 16:58: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'), 46821, 'SRID=4674;POINT (-39.797541 -2.936193)', '2026-06-21 16:58:38', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797515 -2.936173)'), GeomFromEWKT('SRID=4674;POINT (-39.797541 -2.936193)'))) / (select extract(epoch from '2026-06-21 16:58:38'::timestamp) - extract(epoch from '2026-06-21 16:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797515 -2.936173)'), GeomFromEWKT('SRID=4674;POINT (-39.797541 -2.936193)'))) / (select extract(epoch from '2026-06-21 16:58:38'::timestamp) - extract(epoch from '2026-06-21 16:58:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.797569 -2.936214)', '2026-06-21 16:58:44', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797541 -2.936193)'), GeomFromEWKT('SRID=4674;POINT (-39.797569 -2.936214)'))) / (select extract(epoch from '2026-06-21 16:58:44'::timestamp) - extract(epoch from '2026-06-21 16:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797541 -2.936193)'), GeomFromEWKT('SRID=4674;POINT (-39.797569 -2.936214)'))) / (select extract(epoch from '2026-06-21 16:58:44'::timestamp) - extract(epoch from '2026-06-21 16:58: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'), 46821, 'SRID=4674;POINT (-39.797608 -2.936243)', '2026-06-21 16:58:53', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797569 -2.936214)'), GeomFromEWKT('SRID=4674;POINT (-39.797608 -2.936243)'))) / (select extract(epoch from '2026-06-21 16:58:53'::timestamp) - extract(epoch from '2026-06-21 16:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797569 -2.936214)'), GeomFromEWKT('SRID=4674;POINT (-39.797608 -2.936243)'))) / (select extract(epoch from '2026-06-21 16:58:53'::timestamp) - extract(epoch from '2026-06-21 16:58: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'), 46821, 'SRID=4674;POINT (-39.797641 -2.936264)', '2026-06-21 16:58:59', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797608 -2.936243)'), GeomFromEWKT('SRID=4674;POINT (-39.797641 -2.936264)'))) / (select extract(epoch from '2026-06-21 16:58:59'::timestamp) - extract(epoch from '2026-06-21 16:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797608 -2.936243)'), GeomFromEWKT('SRID=4674;POINT (-39.797641 -2.936264)'))) / (select extract(epoch from '2026-06-21 16:58:59'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.797676 -2.936292)', '2026-06-21 16:59:07', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797641 -2.936264)'), GeomFromEWKT('SRID=4674;POINT (-39.797676 -2.936292)'))) / (select extract(epoch from '2026-06-21 16:59:07'::timestamp) - extract(epoch from '2026-06-21 16:58:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797641 -2.936264)'), GeomFromEWKT('SRID=4674;POINT (-39.797676 -2.936292)'))) / (select extract(epoch from '2026-06-21 16:59:07'::timestamp) - extract(epoch from '2026-06-21 16:58: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'), 46821, 'SRID=4674;POINT (-39.797705 -2.936318)', '2026-06-21 16:59:14', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797676 -2.936292)'), GeomFromEWKT('SRID=4674;POINT (-39.797705 -2.936318)'))) / (select extract(epoch from '2026-06-21 16:59:14'::timestamp) - extract(epoch from '2026-06-21 16:59:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797676 -2.936292)'), GeomFromEWKT('SRID=4674;POINT (-39.797705 -2.936318)'))) / (select extract(epoch from '2026-06-21 16:59:14'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.797746 -2.936345)', '2026-06-21 16:59:22', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797705 -2.936318)'), GeomFromEWKT('SRID=4674;POINT (-39.797746 -2.936345)'))) / (select extract(epoch from '2026-06-21 16:59:22'::timestamp) - extract(epoch from '2026-06-21 16:59:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797705 -2.936318)'), GeomFromEWKT('SRID=4674;POINT (-39.797746 -2.936345)'))) / (select extract(epoch from '2026-06-21 16:59:22'::timestamp) - extract(epoch from '2026-06-21 16:59: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'), 46821, 'SRID=4674;POINT (-39.797783 -2.936368)', '2026-06-21 16:59:29', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797746 -2.936345)'), GeomFromEWKT('SRID=4674;POINT (-39.797783 -2.936368)'))) / (select extract(epoch from '2026-06-21 16:59:29'::timestamp) - extract(epoch from '2026-06-21 16:59:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797746 -2.936345)'), GeomFromEWKT('SRID=4674;POINT (-39.797783 -2.936368)'))) / (select extract(epoch from '2026-06-21 16:59:29'::timestamp) - extract(epoch from '2026-06-21 16:59: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'), 46821, 'SRID=4674;POINT (-39.79782 -2.936385)', '2026-06-21 16:59:34', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797783 -2.936368)'), GeomFromEWKT('SRID=4674;POINT (-39.79782 -2.936385)'))) / (select extract(epoch from '2026-06-21 16:59:34'::timestamp) - extract(epoch from '2026-06-21 16:59:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797783 -2.936368)'), GeomFromEWKT('SRID=4674;POINT (-39.79782 -2.936385)'))) / (select extract(epoch from '2026-06-21 16:59:34'::timestamp) - extract(epoch from '2026-06-21 16:59: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'), 46821, 'SRID=4674;POINT (-39.797877 -2.936412)', '2026-06-21 16:59:42', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79782 -2.936385)'), GeomFromEWKT('SRID=4674;POINT (-39.797877 -2.936412)'))) / (select extract(epoch from '2026-06-21 16:59:42'::timestamp) - extract(epoch from '2026-06-21 16:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79782 -2.936385)'), GeomFromEWKT('SRID=4674;POINT (-39.797877 -2.936412)'))) / (select extract(epoch from '2026-06-21 16:59:42'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.797936 -2.936435)', '2026-06-21 16:59:49', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797877 -2.936412)'), GeomFromEWKT('SRID=4674;POINT (-39.797936 -2.936435)'))) / (select extract(epoch from '2026-06-21 16:59:49'::timestamp) - extract(epoch from '2026-06-21 16:59:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797877 -2.936412)'), GeomFromEWKT('SRID=4674;POINT (-39.797936 -2.936435)'))) / (select extract(epoch from '2026-06-21 16:59:49'::timestamp) - extract(epoch from '2026-06-21 16:59: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'), 46821, 'SRID=4674;POINT (-39.798001 -2.936453)', '2026-06-21 16:59:56', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797936 -2.936435)'), GeomFromEWKT('SRID=4674;POINT (-39.798001 -2.936453)'))) / (select extract(epoch from '2026-06-21 16:59:56'::timestamp) - extract(epoch from '2026-06-21 16:59:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797936 -2.936435)'), GeomFromEWKT('SRID=4674;POINT (-39.798001 -2.936453)'))) / (select extract(epoch from '2026-06-21 16:59:56'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.798048 -2.936476)', '2026-06-21 17:00:01', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798001 -2.936453)'), GeomFromEWKT('SRID=4674;POINT (-39.798048 -2.936476)'))) / (select extract(epoch from '2026-06-21 17:00:01'::timestamp) - extract(epoch from '2026-06-21 16:59:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798001 -2.936453)'), GeomFromEWKT('SRID=4674;POINT (-39.798048 -2.936476)'))) / (select extract(epoch from '2026-06-21 17:00:01'::timestamp) - extract(epoch from '2026-06-21 16:59:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.798061 -2.936487)', '2026-06-21 17:00:03', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798048 -2.936476)'), GeomFromEWKT('SRID=4674;POINT (-39.798061 -2.936487)'))) / (select extract(epoch from '2026-06-21 17:00:03'::timestamp) - extract(epoch from '2026-06-21 17:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798048 -2.936476)'), GeomFromEWKT('SRID=4674;POINT (-39.798061 -2.936487)'))) / (select extract(epoch from '2026-06-21 17:00:03'::timestamp) - extract(epoch from '2026-06-21 17:00: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'), 46821, 'SRID=4674;POINT (-39.798106 -2.936513)', '2026-06-21 17:00:09', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798061 -2.936487)'), GeomFromEWKT('SRID=4674;POINT (-39.798106 -2.936513)'))) / (select extract(epoch from '2026-06-21 17:00:09'::timestamp) - extract(epoch from '2026-06-21 17:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798061 -2.936487)'), GeomFromEWKT('SRID=4674;POINT (-39.798106 -2.936513)'))) / (select extract(epoch from '2026-06-21 17:00:09'::timestamp) - extract(epoch from '2026-06-21 17:00: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'), 46821, 'SRID=4674;POINT (-39.79813 -2.936532)', '2026-06-21 17:00:12', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798106 -2.936513)'), GeomFromEWKT('SRID=4674;POINT (-39.79813 -2.936532)'))) / (select extract(epoch from '2026-06-21 17:00:12'::timestamp) - extract(epoch from '2026-06-21 17:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798106 -2.936513)'), GeomFromEWKT('SRID=4674;POINT (-39.79813 -2.936532)'))) / (select extract(epoch from '2026-06-21 17:00:12'::timestamp) - extract(epoch from '2026-06-21 17:00: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'), 46821, 'SRID=4674;POINT (-39.798152 -2.936546)', '2026-06-21 17:00:15', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79813 -2.936532)'), GeomFromEWKT('SRID=4674;POINT (-39.798152 -2.936546)'))) / (select extract(epoch from '2026-06-21 17:00:15'::timestamp) - extract(epoch from '2026-06-21 17:00:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79813 -2.936532)'), GeomFromEWKT('SRID=4674;POINT (-39.798152 -2.936546)'))) / (select extract(epoch from '2026-06-21 17:00:15'::timestamp) - extract(epoch from '2026-06-21 17:00:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.798201 -2.936579)', '2026-06-21 17:00:22', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798152 -2.936546)'), GeomFromEWKT('SRID=4674;POINT (-39.798201 -2.936579)'))) / (select extract(epoch from '2026-06-21 17:00:22'::timestamp) - extract(epoch from '2026-06-21 17:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798152 -2.936546)'), GeomFromEWKT('SRID=4674;POINT (-39.798201 -2.936579)'))) / (select extract(epoch from '2026-06-21 17:00:22'::timestamp) - extract(epoch from '2026-06-21 17:00: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'), 46821, 'SRID=4674;POINT (-39.798258 -2.936612)', '2026-06-21 17:00:30', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798201 -2.936579)'), GeomFromEWKT('SRID=4674;POINT (-39.798258 -2.936612)'))) / (select extract(epoch from '2026-06-21 17:00:30'::timestamp) - extract(epoch from '2026-06-21 17:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798201 -2.936579)'), GeomFromEWKT('SRID=4674;POINT (-39.798258 -2.936612)'))) / (select extract(epoch from '2026-06-21 17:00:30'::timestamp) - extract(epoch from '2026-06-21 17:00: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'), 46821, 'SRID=4674;POINT (-39.79832 -2.936638)', '2026-06-21 17:00:38', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798258 -2.936612)'), GeomFromEWKT('SRID=4674;POINT (-39.79832 -2.936638)'))) / (select extract(epoch from '2026-06-21 17:00:38'::timestamp) - extract(epoch from '2026-06-21 17:00:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798258 -2.936612)'), GeomFromEWKT('SRID=4674;POINT (-39.79832 -2.936638)'))) / (select extract(epoch from '2026-06-21 17:00:38'::timestamp) - extract(epoch from '2026-06-21 17:00: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'), 46821, 'SRID=4674;POINT (-39.798383 -2.936659)', '2026-06-21 17:00:45', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79832 -2.936638)'), GeomFromEWKT('SRID=4674;POINT (-39.798383 -2.936659)'))) / (select extract(epoch from '2026-06-21 17:00:45'::timestamp) - extract(epoch from '2026-06-21 17:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79832 -2.936638)'), GeomFromEWKT('SRID=4674;POINT (-39.798383 -2.936659)'))) / (select extract(epoch from '2026-06-21 17:00:45'::timestamp) - extract(epoch from '2026-06-21 17:00:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.798443 -2.936664)', '2026-06-21 17:00:51', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798383 -2.936659)'), GeomFromEWKT('SRID=4674;POINT (-39.798443 -2.936664)'))) / (select extract(epoch from '2026-06-21 17:00:51'::timestamp) - extract(epoch from '2026-06-21 17:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798383 -2.936659)'), GeomFromEWKT('SRID=4674;POINT (-39.798443 -2.936664)'))) / (select extract(epoch from '2026-06-21 17:00:51'::timestamp) - extract(epoch from '2026-06-21 17:00:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.798524 -2.936669)', '2026-06-21 17:00:58', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798443 -2.936664)'), GeomFromEWKT('SRID=4674;POINT (-39.798524 -2.936669)'))) / (select extract(epoch from '2026-06-21 17:00:58'::timestamp) - extract(epoch from '2026-06-21 17:00:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798443 -2.936664)'), GeomFromEWKT('SRID=4674;POINT (-39.798524 -2.936669)'))) / (select extract(epoch from '2026-06-21 17:00:58'::timestamp) - extract(epoch from '2026-06-21 17:00: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'), 46821, 'SRID=4674;POINT (-39.798633 -2.936663)', '2026-06-21 17:01:08', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798524 -2.936669)'), GeomFromEWKT('SRID=4674;POINT (-39.798633 -2.936663)'))) / (select extract(epoch from '2026-06-21 17:01:08'::timestamp) - extract(epoch from '2026-06-21 17:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798524 -2.936669)'), GeomFromEWKT('SRID=4674;POINT (-39.798633 -2.936663)'))) / (select extract(epoch from '2026-06-21 17:01:08'::timestamp) - extract(epoch from '2026-06-21 17:00: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'), 46821, 'SRID=4674;POINT (-39.798713 -2.936654)', '2026-06-21 17:01:15', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798633 -2.936663)'), GeomFromEWKT('SRID=4674;POINT (-39.798713 -2.936654)'))) / (select extract(epoch from '2026-06-21 17:01:15'::timestamp) - extract(epoch from '2026-06-21 17:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798633 -2.936663)'), GeomFromEWKT('SRID=4674;POINT (-39.798713 -2.936654)'))) / (select extract(epoch from '2026-06-21 17:01:15'::timestamp) - extract(epoch from '2026-06-21 17:01: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'), 46821, 'SRID=4674;POINT (-39.798748 -2.936651)', '2026-06-21 17:01:18', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798713 -2.936654)'), GeomFromEWKT('SRID=4674;POINT (-39.798748 -2.936651)'))) / (select extract(epoch from '2026-06-21 17:01:18'::timestamp) - extract(epoch from '2026-06-21 17:01:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798713 -2.936654)'), GeomFromEWKT('SRID=4674;POINT (-39.798748 -2.936651)'))) / (select extract(epoch from '2026-06-21 17:01:18'::timestamp) - extract(epoch from '2026-06-21 17:01: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'), 46821, 'SRID=4674;POINT (-39.798769 -2.936646)', '2026-06-21 17:01:20', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798748 -2.936651)'), GeomFromEWKT('SRID=4674;POINT (-39.798769 -2.936646)'))) / (select extract(epoch from '2026-06-21 17:01:20'::timestamp) - extract(epoch from '2026-06-21 17:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798748 -2.936651)'), GeomFromEWKT('SRID=4674;POINT (-39.798769 -2.936646)'))) / (select extract(epoch from '2026-06-21 17:01:20'::timestamp) - extract(epoch from '2026-06-21 17:01: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'), 46821, 'SRID=4674;POINT (-39.7988 -2.936648)', '2026-06-21 17:01:22', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798769 -2.936646)'), GeomFromEWKT('SRID=4674;POINT (-39.7988 -2.936648)'))) / (select extract(epoch from '2026-06-21 17:01:22'::timestamp) - extract(epoch from '2026-06-21 17:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798769 -2.936646)'), GeomFromEWKT('SRID=4674;POINT (-39.7988 -2.936648)'))) / (select extract(epoch from '2026-06-21 17:01:22'::timestamp) - extract(epoch from '2026-06-21 17: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'), 46821, 'SRID=4674;POINT (-39.798851 -2.936648)', '2026-06-21 17:01:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7988 -2.936648)'), GeomFromEWKT('SRID=4674;POINT (-39.798851 -2.936648)'))) / (select extract(epoch from '2026-06-21 17:01:27'::timestamp) - extract(epoch from '2026-06-21 17:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7988 -2.936648)'), GeomFromEWKT('SRID=4674;POINT (-39.798851 -2.936648)'))) / (select extract(epoch from '2026-06-21 17:01:27'::timestamp) - extract(epoch from '2026-06-21 17:01: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'), 46821, 'SRID=4674;POINT (-39.798927 -2.936652)', '2026-06-21 17:01:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798851 -2.936648)'), GeomFromEWKT('SRID=4674;POINT (-39.798927 -2.936652)'))) / (select extract(epoch from '2026-06-21 17:01:34'::timestamp) - extract(epoch from '2026-06-21 17:01:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798851 -2.936648)'), GeomFromEWKT('SRID=4674;POINT (-39.798927 -2.936652)'))) / (select extract(epoch from '2026-06-21 17:01:34'::timestamp) - extract(epoch from '2026-06-21 17:01: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'), 46821, 'SRID=4674;POINT (-39.798995 -2.936667)', '2026-06-21 17:01:40', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798927 -2.936652)'), GeomFromEWKT('SRID=4674;POINT (-39.798995 -2.936667)'))) / (select extract(epoch from '2026-06-21 17:01:40'::timestamp) - extract(epoch from '2026-06-21 17:01:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798927 -2.936652)'), GeomFromEWKT('SRID=4674;POINT (-39.798995 -2.936667)'))) / (select extract(epoch from '2026-06-21 17:01:40'::timestamp) - extract(epoch from '2026-06-21 17:01: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'), 46821, 'SRID=4674;POINT (-39.79906 -2.9367)', '2026-06-21 17:01:48', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798995 -2.936667)'), GeomFromEWKT('SRID=4674;POINT (-39.79906 -2.9367)'))) / (select extract(epoch from '2026-06-21 17:01:48'::timestamp) - extract(epoch from '2026-06-21 17:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.798995 -2.936667)'), GeomFromEWKT('SRID=4674;POINT (-39.79906 -2.9367)'))) / (select extract(epoch from '2026-06-21 17:01:48'::timestamp) - extract(epoch from '2026-06-21 17:01:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.799086 -2.936719)', '2026-06-21 17:01:54', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79906 -2.9367)'), GeomFromEWKT('SRID=4674;POINT (-39.799086 -2.936719)'))) / (select extract(epoch from '2026-06-21 17:01:54'::timestamp) - extract(epoch from '2026-06-21 17:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79906 -2.9367)'), GeomFromEWKT('SRID=4674;POINT (-39.799086 -2.936719)'))) / (select extract(epoch from '2026-06-21 17:01:54'::timestamp) - extract(epoch from '2026-06-21 17:01: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'), 46821, 'SRID=4674;POINT (-39.799108 -2.936733)', '2026-06-21 17:02:02', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.799086 -2.936719)'), GeomFromEWKT('SRID=4674;POINT (-39.799108 -2.936733)'))) / (select extract(epoch from '2026-06-21 17:02:02'::timestamp) - extract(epoch from '2026-06-21 17:01:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.799086 -2.936719)'), GeomFromEWKT('SRID=4674;POINT (-39.799108 -2.936733)'))) / (select extract(epoch from '2026-06-21 17:02:02'::timestamp) - extract(epoch from '2026-06-21 17:01: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'), 46821, 'SRID=4674;POINT (-39.799151 -2.936742)', '2026-06-21 17:02:13', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.799108 -2.936733)'), GeomFromEWKT('SRID=4674;POINT (-39.799151 -2.936742)'))) / (select extract(epoch from '2026-06-21 17:02:13'::timestamp) - extract(epoch from '2026-06-21 17:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.799108 -2.936733)'), GeomFromEWKT('SRID=4674;POINT (-39.799151 -2.936742)'))) / (select extract(epoch from '2026-06-21 17:02:13'::timestamp) - extract(epoch from '2026-06-21 17:02:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.799222 -2.936734)', '2026-06-21 17:02:30', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.799151 -2.936742)'), GeomFromEWKT('SRID=4674;POINT (-39.799222 -2.936734)'))) / (select extract(epoch from '2026-06-21 17:02:30'::timestamp) - extract(epoch from '2026-06-21 17:02:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.799151 -2.936742)'), GeomFromEWKT('SRID=4674;POINT (-39.799222 -2.936734)'))) / (select extract(epoch from '2026-06-21 17:02:30'::timestamp) - extract(epoch from '2026-06-21 17: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'), 46821, 'SRID=4674;POINT (-39.799272 -2.936735)', '2026-06-21 17:02:42', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.799222 -2.936734)'), GeomFromEWKT('SRID=4674;POINT (-39.799272 -2.936735)'))) / (select extract(epoch from '2026-06-21 17:02:42'::timestamp) - extract(epoch from '2026-06-21 17:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.799222 -2.936734)'), GeomFromEWKT('SRID=4674;POINT (-39.799272 -2.936735)'))) / (select extract(epoch from '2026-06-21 17:02:42'::timestamp) - extract(epoch from '2026-06-21 17:02: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'), 46821, 'SRID=4674;POINT (-39.799269 -2.936739)', '2026-06-21 17:02:52', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.799272 -2.936735)'), GeomFromEWKT('SRID=4674;POINT (-39.799269 -2.936739)'))) / (select extract(epoch from '2026-06-21 17:02:52'::timestamp) - extract(epoch from '2026-06-21 17:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.799272 -2.936735)'), GeomFromEWKT('SRID=4674;POINT (-39.799269 -2.936739)'))) / (select extract(epoch from '2026-06-21 17:02:52'::timestamp) - extract(epoch from '2026-06-21 17:02:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.799269 -2.936739)', '2026-06-21 17:08:50', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.799269 -2.936739)'), GeomFromEWKT('SRID=4674;POINT (-39.799269 -2.936739)'))) / (select extract(epoch from '2026-06-21 17:08:50'::timestamp) - extract(epoch from '2026-06-21 17:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.799269 -2.936739)'), GeomFromEWKT('SRID=4674;POINT (-39.799269 -2.936739)'))) / (select extract(epoch from '2026-06-21 17:08:50'::timestamp) - extract(epoch from '2026-06-21 17:02:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
