 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.827319 -2.62743)', '2026-07-21 14:01:41', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827303 -2.627468)'), GeomFromEWKT('SRID=4674;POINT (-39.827319 -2.62743)'))) / (select extract(epoch from '2026-07-21 14:01:41'::timestamp) - extract(epoch from '2026-07-21 14:01:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827303 -2.627468)'), GeomFromEWKT('SRID=4674;POINT (-39.827319 -2.62743)'))) / (select extract(epoch from '2026-07-21 14:01:41'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.827316 -2.627404)', '2026-07-21 14:01:47', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827319 -2.62743)'), GeomFromEWKT('SRID=4674;POINT (-39.827316 -2.627404)'))) / (select extract(epoch from '2026-07-21 14:01:47'::timestamp) - extract(epoch from '2026-07-21 14:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827319 -2.62743)'), GeomFromEWKT('SRID=4674;POINT (-39.827316 -2.627404)'))) / (select extract(epoch from '2026-07-21 14:01:47'::timestamp) - extract(epoch from '2026-07-21 14:01: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'), 47870, 'SRID=4674;POINT (-39.827307 -2.627395)', '2026-07-21 14:01:53', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827316 -2.627404)'), GeomFromEWKT('SRID=4674;POINT (-39.827307 -2.627395)'))) / (select extract(epoch from '2026-07-21 14:01:53'::timestamp) - extract(epoch from '2026-07-21 14:01:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827316 -2.627404)'), GeomFromEWKT('SRID=4674;POINT (-39.827307 -2.627395)'))) / (select extract(epoch from '2026-07-21 14:01:53'::timestamp) - extract(epoch from '2026-07-21 14:01: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'), 47870, 'SRID=4674;POINT (-39.827309 -2.627414)', '2026-07-21 14:02:00', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827307 -2.627395)'), GeomFromEWKT('SRID=4674;POINT (-39.827309 -2.627414)'))) / (select extract(epoch from '2026-07-21 14:02:00'::timestamp) - extract(epoch from '2026-07-21 14:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827307 -2.627395)'), GeomFromEWKT('SRID=4674;POINT (-39.827309 -2.627414)'))) / (select extract(epoch from '2026-07-21 14:02:00'::timestamp) - extract(epoch from '2026-07-21 14:01: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'), 47870, 'SRID=4674;POINT (-39.827311 -2.627427)', '2026-07-21 14:02:03', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827309 -2.627414)'), GeomFromEWKT('SRID=4674;POINT (-39.827311 -2.627427)'))) / (select extract(epoch from '2026-07-21 14:02:03'::timestamp) - extract(epoch from '2026-07-21 14:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827309 -2.627414)'), GeomFromEWKT('SRID=4674;POINT (-39.827311 -2.627427)'))) / (select extract(epoch from '2026-07-21 14:02:03'::timestamp) - extract(epoch from '2026-07-21 14:02: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'), 47870, 'SRID=4674;POINT (-39.827321 -2.627437)', '2026-07-21 14:02:06', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827311 -2.627427)'), GeomFromEWKT('SRID=4674;POINT (-39.827321 -2.627437)'))) / (select extract(epoch from '2026-07-21 14:02:06'::timestamp) - extract(epoch from '2026-07-21 14:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827311 -2.627427)'), GeomFromEWKT('SRID=4674;POINT (-39.827321 -2.627437)'))) / (select extract(epoch from '2026-07-21 14:02:06'::timestamp) - extract(epoch from '2026-07-21 14:02:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.827336 -2.62745)', '2026-07-21 14:02:11', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827321 -2.627437)'), GeomFromEWKT('SRID=4674;POINT (-39.827336 -2.62745)'))) / (select extract(epoch from '2026-07-21 14:02:11'::timestamp) - extract(epoch from '2026-07-21 14:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827321 -2.627437)'), GeomFromEWKT('SRID=4674;POINT (-39.827336 -2.62745)'))) / (select extract(epoch from '2026-07-21 14:02:11'::timestamp) - extract(epoch from '2026-07-21 14:02: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'), 47870, 'SRID=4674;POINT (-39.827347 -2.627459)', '2026-07-21 14:02:15', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827336 -2.62745)'), GeomFromEWKT('SRID=4674;POINT (-39.827347 -2.627459)'))) / (select extract(epoch from '2026-07-21 14:02:15'::timestamp) - extract(epoch from '2026-07-21 14:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827336 -2.62745)'), GeomFromEWKT('SRID=4674;POINT (-39.827347 -2.627459)'))) / (select extract(epoch from '2026-07-21 14:02:15'::timestamp) - extract(epoch from '2026-07-21 14:02:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.827359 -2.627456)', '2026-07-21 14:02:18', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827347 -2.627459)'), GeomFromEWKT('SRID=4674;POINT (-39.827359 -2.627456)'))) / (select extract(epoch from '2026-07-21 14:02:18'::timestamp) - extract(epoch from '2026-07-21 14:02:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827347 -2.627459)'), GeomFromEWKT('SRID=4674;POINT (-39.827359 -2.627456)'))) / (select extract(epoch from '2026-07-21 14:02:18'::timestamp) - extract(epoch from '2026-07-21 14:02: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'), 47870, 'SRID=4674;POINT (-39.827386 -2.627446)', '2026-07-21 14:02:29', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827359 -2.627456)'), GeomFromEWKT('SRID=4674;POINT (-39.827386 -2.627446)'))) / (select extract(epoch from '2026-07-21 14:02:29'::timestamp) - extract(epoch from '2026-07-21 14:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827359 -2.627456)'), GeomFromEWKT('SRID=4674;POINT (-39.827386 -2.627446)'))) / (select extract(epoch from '2026-07-21 14:02:29'::timestamp) - extract(epoch from '2026-07-21 14:02: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'), 47870, 'SRID=4674;POINT (-39.827405 -2.62743)', '2026-07-21 14:02:36', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827386 -2.627446)'), GeomFromEWKT('SRID=4674;POINT (-39.827405 -2.62743)'))) / (select extract(epoch from '2026-07-21 14:02:36'::timestamp) - extract(epoch from '2026-07-21 14:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827386 -2.627446)'), GeomFromEWKT('SRID=4674;POINT (-39.827405 -2.62743)'))) / (select extract(epoch from '2026-07-21 14:02:36'::timestamp) - extract(epoch from '2026-07-21 14:02: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'), 47870, 'SRID=4674;POINT (-39.827416 -2.627418)', '2026-07-21 14:02:42', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827405 -2.62743)'), GeomFromEWKT('SRID=4674;POINT (-39.827416 -2.627418)'))) / (select extract(epoch from '2026-07-21 14:02:42'::timestamp) - extract(epoch from '2026-07-21 14:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827405 -2.62743)'), GeomFromEWKT('SRID=4674;POINT (-39.827416 -2.627418)'))) / (select extract(epoch from '2026-07-21 14:02:42'::timestamp) - extract(epoch from '2026-07-21 14:02:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.827371 -2.627401)', '2026-07-21 14:02:52', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827416 -2.627418)'), GeomFromEWKT('SRID=4674;POINT (-39.827371 -2.627401)'))) / (select extract(epoch from '2026-07-21 14:02:52'::timestamp) - extract(epoch from '2026-07-21 14:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827416 -2.627418)'), GeomFromEWKT('SRID=4674;POINT (-39.827371 -2.627401)'))) / (select extract(epoch from '2026-07-21 14:02:52'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.827333 -2.627395)', '2026-07-21 14:02:55', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827371 -2.627401)'), GeomFromEWKT('SRID=4674;POINT (-39.827333 -2.627395)'))) / (select extract(epoch from '2026-07-21 14:02:55'::timestamp) - extract(epoch from '2026-07-21 14:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827371 -2.627401)'), GeomFromEWKT('SRID=4674;POINT (-39.827333 -2.627395)'))) / (select extract(epoch from '2026-07-21 14:02:55'::timestamp) - extract(epoch from '2026-07-21 14:02: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'), 47870, 'SRID=4674;POINT (-39.827308 -2.627384)', '2026-07-21 14:02:57', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827333 -2.627395)'), GeomFromEWKT('SRID=4674;POINT (-39.827308 -2.627384)'))) / (select extract(epoch from '2026-07-21 14:02:57'::timestamp) - extract(epoch from '2026-07-21 14:02:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827333 -2.627395)'), GeomFromEWKT('SRID=4674;POINT (-39.827308 -2.627384)'))) / (select extract(epoch from '2026-07-21 14:02:57'::timestamp) - extract(epoch from '2026-07-21 14:02: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'), 47870, 'SRID=4674;POINT (-39.827222 -2.627335)', '2026-07-21 14:03:03', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827308 -2.627384)'), GeomFromEWKT('SRID=4674;POINT (-39.827222 -2.627335)'))) / (select extract(epoch from '2026-07-21 14:03:03'::timestamp) - extract(epoch from '2026-07-21 14:02:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827308 -2.627384)'), GeomFromEWKT('SRID=4674;POINT (-39.827222 -2.627335)'))) / (select extract(epoch from '2026-07-21 14:03:03'::timestamp) - extract(epoch from '2026-07-21 14:02: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'), 47870, 'SRID=4674;POINT (-39.82716 -2.627311)', '2026-07-21 14:03:08', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827222 -2.627335)'), GeomFromEWKT('SRID=4674;POINT (-39.82716 -2.627311)'))) / (select extract(epoch from '2026-07-21 14:03:08'::timestamp) - extract(epoch from '2026-07-21 14:03:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827222 -2.627335)'), GeomFromEWKT('SRID=4674;POINT (-39.82716 -2.627311)'))) / (select extract(epoch from '2026-07-21 14:03:08'::timestamp) - extract(epoch from '2026-07-21 14:03:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.827097 -2.6273)', '2026-07-21 14:03:13', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82716 -2.627311)'), GeomFromEWKT('SRID=4674;POINT (-39.827097 -2.6273)'))) / (select extract(epoch from '2026-07-21 14:03:13'::timestamp) - extract(epoch from '2026-07-21 14:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82716 -2.627311)'), GeomFromEWKT('SRID=4674;POINT (-39.827097 -2.6273)'))) / (select extract(epoch from '2026-07-21 14:03:13'::timestamp) - extract(epoch from '2026-07-21 14:03: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'), 47870, 'SRID=4674;POINT (-39.82708 -2.627297)', '2026-07-21 14:03:14', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827097 -2.6273)'), GeomFromEWKT('SRID=4674;POINT (-39.82708 -2.627297)'))) / (select extract(epoch from '2026-07-21 14:03:14'::timestamp) - extract(epoch from '2026-07-21 14:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827097 -2.6273)'), GeomFromEWKT('SRID=4674;POINT (-39.82708 -2.627297)'))) / (select extract(epoch from '2026-07-21 14:03:14'::timestamp) - extract(epoch from '2026-07-21 14:03: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'), 47870, 'SRID=4674;POINT (-39.827029 -2.627292)', '2026-07-21 14:03:17', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82708 -2.627297)'), GeomFromEWKT('SRID=4674;POINT (-39.827029 -2.627292)'))) / (select extract(epoch from '2026-07-21 14:03:17'::timestamp) - extract(epoch from '2026-07-21 14:03:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82708 -2.627297)'), GeomFromEWKT('SRID=4674;POINT (-39.827029 -2.627292)'))) / (select extract(epoch from '2026-07-21 14:03:17'::timestamp) - extract(epoch from '2026-07-21 14:03: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'), 47870, 'SRID=4674;POINT (-39.826998 -2.627288)', '2026-07-21 14:03:19', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827029 -2.627292)'), GeomFromEWKT('SRID=4674;POINT (-39.826998 -2.627288)'))) / (select extract(epoch from '2026-07-21 14:03:19'::timestamp) - extract(epoch from '2026-07-21 14:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827029 -2.627292)'), GeomFromEWKT('SRID=4674;POINT (-39.826998 -2.627288)'))) / (select extract(epoch from '2026-07-21 14:03:19'::timestamp) - extract(epoch from '2026-07-21 14:03: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'), 47870, 'SRID=4674;POINT (-39.82692 -2.627265)', '2026-07-21 14:03:24', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826998 -2.627288)'), GeomFromEWKT('SRID=4674;POINT (-39.82692 -2.627265)'))) / (select extract(epoch from '2026-07-21 14:03:24'::timestamp) - extract(epoch from '2026-07-21 14:03:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826998 -2.627288)'), GeomFromEWKT('SRID=4674;POINT (-39.82692 -2.627265)'))) / (select extract(epoch from '2026-07-21 14:03:24'::timestamp) - extract(epoch from '2026-07-21 14:03: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'), 47870, 'SRID=4674;POINT (-39.826837 -2.627237)', '2026-07-21 14:03:28', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82692 -2.627265)'), GeomFromEWKT('SRID=4674;POINT (-39.826837 -2.627237)'))) / (select extract(epoch from '2026-07-21 14:03:28'::timestamp) - extract(epoch from '2026-07-21 14:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82692 -2.627265)'), GeomFromEWKT('SRID=4674;POINT (-39.826837 -2.627237)'))) / (select extract(epoch from '2026-07-21 14:03:28'::timestamp) - extract(epoch from '2026-07-21 14:03:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.826761 -2.627205)', '2026-07-21 14:03:32', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826837 -2.627237)'), GeomFromEWKT('SRID=4674;POINT (-39.826761 -2.627205)'))) / (select extract(epoch from '2026-07-21 14:03:32'::timestamp) - extract(epoch from '2026-07-21 14:03:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826837 -2.627237)'), GeomFromEWKT('SRID=4674;POINT (-39.826761 -2.627205)'))) / (select extract(epoch from '2026-07-21 14:03:32'::timestamp) - extract(epoch from '2026-07-21 14:03: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'), 47870, 'SRID=4674;POINT (-39.826742 -2.627204)', '2026-07-21 14:03:33', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826761 -2.627205)'), GeomFromEWKT('SRID=4674;POINT (-39.826742 -2.627204)'))) / (select extract(epoch from '2026-07-21 14:03:33'::timestamp) - extract(epoch from '2026-07-21 14:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826761 -2.627205)'), GeomFromEWKT('SRID=4674;POINT (-39.826742 -2.627204)'))) / (select extract(epoch from '2026-07-21 14:03:33'::timestamp) - extract(epoch from '2026-07-21 14:03:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.826676 -2.627182)', '2026-07-21 14:03:37', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826742 -2.627204)'), GeomFromEWKT('SRID=4674;POINT (-39.826676 -2.627182)'))) / (select extract(epoch from '2026-07-21 14:03:37'::timestamp) - extract(epoch from '2026-07-21 14:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826742 -2.627204)'), GeomFromEWKT('SRID=4674;POINT (-39.826676 -2.627182)'))) / (select extract(epoch from '2026-07-21 14:03:37'::timestamp) - extract(epoch from '2026-07-21 14:03: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'), 47870, 'SRID=4674;POINT (-39.826589 -2.627145)', '2026-07-21 14:03:42', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826676 -2.627182)'), GeomFromEWKT('SRID=4674;POINT (-39.826589 -2.627145)'))) / (select extract(epoch from '2026-07-21 14:03:42'::timestamp) - extract(epoch from '2026-07-21 14:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826676 -2.627182)'), GeomFromEWKT('SRID=4674;POINT (-39.826589 -2.627145)'))) / (select extract(epoch from '2026-07-21 14:03:42'::timestamp) - extract(epoch from '2026-07-21 14:03: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'), 47870, 'SRID=4674;POINT (-39.826575 -2.627135)', '2026-07-21 14:03:43', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826589 -2.627145)'), GeomFromEWKT('SRID=4674;POINT (-39.826575 -2.627135)'))) / (select extract(epoch from '2026-07-21 14:03:43'::timestamp) - extract(epoch from '2026-07-21 14:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826589 -2.627145)'), GeomFromEWKT('SRID=4674;POINT (-39.826575 -2.627135)'))) / (select extract(epoch from '2026-07-21 14:03:43'::timestamp) - extract(epoch from '2026-07-21 14:03: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'), 47870, 'SRID=4674;POINT (-39.826495 -2.627122)', '2026-07-21 14:03:47', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826575 -2.627135)'), GeomFromEWKT('SRID=4674;POINT (-39.826495 -2.627122)'))) / (select extract(epoch from '2026-07-21 14:03:47'::timestamp) - extract(epoch from '2026-07-21 14:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826575 -2.627135)'), GeomFromEWKT('SRID=4674;POINT (-39.826495 -2.627122)'))) / (select extract(epoch from '2026-07-21 14:03:47'::timestamp) - extract(epoch from '2026-07-21 14:03: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'), 47870, 'SRID=4674;POINT (-39.826381 -2.627082)', '2026-07-21 14:03:53', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826495 -2.627122)'), GeomFromEWKT('SRID=4674;POINT (-39.826381 -2.627082)'))) / (select extract(epoch from '2026-07-21 14:03:53'::timestamp) - extract(epoch from '2026-07-21 14:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826495 -2.627122)'), GeomFromEWKT('SRID=4674;POINT (-39.826381 -2.627082)'))) / (select extract(epoch from '2026-07-21 14:03:53'::timestamp) - extract(epoch from '2026-07-21 14:03:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.82629 -2.627011)', '2026-07-21 14:03:59', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826381 -2.627082)'), GeomFromEWKT('SRID=4674;POINT (-39.82629 -2.627011)'))) / (select extract(epoch from '2026-07-21 14:03:59'::timestamp) - extract(epoch from '2026-07-21 14:03:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826381 -2.627082)'), GeomFromEWKT('SRID=4674;POINT (-39.82629 -2.627011)'))) / (select extract(epoch from '2026-07-21 14:03:59'::timestamp) - extract(epoch from '2026-07-21 14:03: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'), 47870, 'SRID=4674;POINT (-39.826243 -2.626953)', '2026-07-21 14:04:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82629 -2.627011)'), GeomFromEWKT('SRID=4674;POINT (-39.826243 -2.626953)'))) / (select extract(epoch from '2026-07-21 14:04:04'::timestamp) - extract(epoch from '2026-07-21 14:03:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82629 -2.627011)'), GeomFromEWKT('SRID=4674;POINT (-39.826243 -2.626953)'))) / (select extract(epoch from '2026-07-21 14:04:04'::timestamp) - extract(epoch from '2026-07-21 14:03: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'), 47870, 'SRID=4674;POINT (-39.826212 -2.626923)', '2026-07-21 14:04:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826243 -2.626953)'), GeomFromEWKT('SRID=4674;POINT (-39.826212 -2.626923)'))) / (select extract(epoch from '2026-07-21 14:04:08'::timestamp) - extract(epoch from '2026-07-21 14:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826243 -2.626953)'), GeomFromEWKT('SRID=4674;POINT (-39.826212 -2.626923)'))) / (select extract(epoch from '2026-07-21 14:04:08'::timestamp) - extract(epoch from '2026-07-21 14:04:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.826206 -2.626917)', '2026-07-21 14:04:09', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826212 -2.626923)'), GeomFromEWKT('SRID=4674;POINT (-39.826206 -2.626917)'))) / (select extract(epoch from '2026-07-21 14:04:09'::timestamp) - extract(epoch from '2026-07-21 14:04:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826212 -2.626923)'), GeomFromEWKT('SRID=4674;POINT (-39.826206 -2.626917)'))) / (select extract(epoch from '2026-07-21 14:04:09'::timestamp) - extract(epoch from '2026-07-21 14:04: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'), 47870, 'SRID=4674;POINT (-39.826191 -2.626901)', '2026-07-21 14:04:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826206 -2.626917)'), GeomFromEWKT('SRID=4674;POINT (-39.826191 -2.626901)'))) / (select extract(epoch from '2026-07-21 14:04:15'::timestamp) - extract(epoch from '2026-07-21 14:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826206 -2.626917)'), GeomFromEWKT('SRID=4674;POINT (-39.826191 -2.626901)'))) / (select extract(epoch from '2026-07-21 14:04:15'::timestamp) - extract(epoch from '2026-07-21 14:04: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'), 47870, 'SRID=4674;POINT (-39.826185 -2.626891)', '2026-07-21 14:04:21', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826191 -2.626901)'), GeomFromEWKT('SRID=4674;POINT (-39.826185 -2.626891)'))) / (select extract(epoch from '2026-07-21 14:04:21'::timestamp) - extract(epoch from '2026-07-21 14:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826191 -2.626901)'), GeomFromEWKT('SRID=4674;POINT (-39.826185 -2.626891)'))) / (select extract(epoch from '2026-07-21 14:04:21'::timestamp) - extract(epoch from '2026-07-21 14:04: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'), 47870, 'SRID=4674;POINT (-39.826195 -2.626873)', '2026-07-21 14:04:29', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826185 -2.626891)'), GeomFromEWKT('SRID=4674;POINT (-39.826195 -2.626873)'))) / (select extract(epoch from '2026-07-21 14:04:29'::timestamp) - extract(epoch from '2026-07-21 14:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826185 -2.626891)'), GeomFromEWKT('SRID=4674;POINT (-39.826195 -2.626873)'))) / (select extract(epoch from '2026-07-21 14:04:29'::timestamp) - extract(epoch from '2026-07-21 14:04:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.826202 -2.626839)', '2026-07-21 14:04:34', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826195 -2.626873)'), GeomFromEWKT('SRID=4674;POINT (-39.826202 -2.626839)'))) / (select extract(epoch from '2026-07-21 14:04:34'::timestamp) - extract(epoch from '2026-07-21 14:04:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826195 -2.626873)'), GeomFromEWKT('SRID=4674;POINT (-39.826202 -2.626839)'))) / (select extract(epoch from '2026-07-21 14:04:34'::timestamp) - extract(epoch from '2026-07-21 14:04: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'), 47870, 'SRID=4674;POINT (-39.826221 -2.626793)', '2026-07-21 14:04:41', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826202 -2.626839)'), GeomFromEWKT('SRID=4674;POINT (-39.826221 -2.626793)'))) / (select extract(epoch from '2026-07-21 14:04:41'::timestamp) - extract(epoch from '2026-07-21 14:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826202 -2.626839)'), GeomFromEWKT('SRID=4674;POINT (-39.826221 -2.626793)'))) / (select extract(epoch from '2026-07-21 14:04:41'::timestamp) - extract(epoch from '2026-07-21 14:04: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'), 47870, 'SRID=4674;POINT (-39.82623 -2.62678)', '2026-07-21 14:04:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826221 -2.626793)'), GeomFromEWKT('SRID=4674;POINT (-39.82623 -2.62678)'))) / (select extract(epoch from '2026-07-21 14:04:43'::timestamp) - extract(epoch from '2026-07-21 14:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826221 -2.626793)'), GeomFromEWKT('SRID=4674;POINT (-39.82623 -2.62678)'))) / (select extract(epoch from '2026-07-21 14:04:43'::timestamp) - extract(epoch from '2026-07-21 14:04: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'), 47870, 'SRID=4674;POINT (-39.826245 -2.626756)', '2026-07-21 14:04:47', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82623 -2.62678)'), GeomFromEWKT('SRID=4674;POINT (-39.826245 -2.626756)'))) / (select extract(epoch from '2026-07-21 14:04:47'::timestamp) - extract(epoch from '2026-07-21 14:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82623 -2.62678)'), GeomFromEWKT('SRID=4674;POINT (-39.826245 -2.626756)'))) / (select extract(epoch from '2026-07-21 14:04:47'::timestamp) - extract(epoch from '2026-07-21 14:04: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'), 47870, 'SRID=4674;POINT (-39.826258 -2.626721)', '2026-07-21 14:04:54', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826245 -2.626756)'), GeomFromEWKT('SRID=4674;POINT (-39.826258 -2.626721)'))) / (select extract(epoch from '2026-07-21 14:04:54'::timestamp) - extract(epoch from '2026-07-21 14:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826245 -2.626756)'), GeomFromEWKT('SRID=4674;POINT (-39.826258 -2.626721)'))) / (select extract(epoch from '2026-07-21 14:04:54'::timestamp) - extract(epoch from '2026-07-21 14:04: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'), 47870, 'SRID=4674;POINT (-39.826259 -2.626697)', '2026-07-21 14:04:59', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826258 -2.626721)'), GeomFromEWKT('SRID=4674;POINT (-39.826259 -2.626697)'))) / (select extract(epoch from '2026-07-21 14:04:59'::timestamp) - extract(epoch from '2026-07-21 14:04:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826258 -2.626721)'), GeomFromEWKT('SRID=4674;POINT (-39.826259 -2.626697)'))) / (select extract(epoch from '2026-07-21 14:04:59'::timestamp) - extract(epoch from '2026-07-21 14:04: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'), 47870, 'SRID=4674;POINT (-39.826262 -2.626686)', '2026-07-21 14:05:04', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826259 -2.626697)'), GeomFromEWKT('SRID=4674;POINT (-39.826262 -2.626686)'))) / (select extract(epoch from '2026-07-21 14:05:04'::timestamp) - extract(epoch from '2026-07-21 14:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826259 -2.626697)'), GeomFromEWKT('SRID=4674;POINT (-39.826262 -2.626686)'))) / (select extract(epoch from '2026-07-21 14:05:04'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.826278 -2.626655)', '2026-07-21 14:05:12', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826262 -2.626686)'), GeomFromEWKT('SRID=4674;POINT (-39.826278 -2.626655)'))) / (select extract(epoch from '2026-07-21 14:05:12'::timestamp) - extract(epoch from '2026-07-21 14:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826262 -2.626686)'), GeomFromEWKT('SRID=4674;POINT (-39.826278 -2.626655)'))) / (select extract(epoch from '2026-07-21 14:05:12'::timestamp) - extract(epoch from '2026-07-21 14:05:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.826316 -2.626644)', '2026-07-21 14:05:27', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826278 -2.626655)'), GeomFromEWKT('SRID=4674;POINT (-39.826316 -2.626644)'))) / (select extract(epoch from '2026-07-21 14:05:27'::timestamp) - extract(epoch from '2026-07-21 14:05:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826278 -2.626655)'), GeomFromEWKT('SRID=4674;POINT (-39.826316 -2.626644)'))) / (select extract(epoch from '2026-07-21 14:05:27'::timestamp) - extract(epoch from '2026-07-21 14:05:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.826335 -2.626638)', '2026-07-21 14:05:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826316 -2.626644)'), GeomFromEWKT('SRID=4674;POINT (-39.826335 -2.626638)'))) / (select extract(epoch from '2026-07-21 14:05:32'::timestamp) - extract(epoch from '2026-07-21 14:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826316 -2.626644)'), GeomFromEWKT('SRID=4674;POINT (-39.826335 -2.626638)'))) / (select extract(epoch from '2026-07-21 14:05:32'::timestamp) - extract(epoch from '2026-07-21 14:05: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'), 47870, 'SRID=4674;POINT (-39.826359 -2.626626)', '2026-07-21 14:05:37', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826335 -2.626638)'), GeomFromEWKT('SRID=4674;POINT (-39.826359 -2.626626)'))) / (select extract(epoch from '2026-07-21 14:05:37'::timestamp) - extract(epoch from '2026-07-21 14:05:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826335 -2.626638)'), GeomFromEWKT('SRID=4674;POINT (-39.826359 -2.626626)'))) / (select extract(epoch from '2026-07-21 14:05:37'::timestamp) - extract(epoch from '2026-07-21 14:05: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'), 47870, 'SRID=4674;POINT (-39.826381 -2.626614)', '2026-07-21 14:05:43', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826359 -2.626626)'), GeomFromEWKT('SRID=4674;POINT (-39.826381 -2.626614)'))) / (select extract(epoch from '2026-07-21 14:05:43'::timestamp) - extract(epoch from '2026-07-21 14:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826359 -2.626626)'), GeomFromEWKT('SRID=4674;POINT (-39.826381 -2.626614)'))) / (select extract(epoch from '2026-07-21 14:05:43'::timestamp) - extract(epoch from '2026-07-21 14:05:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.826413 -2.626607)', '2026-07-21 14:05:52', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826381 -2.626614)'), GeomFromEWKT('SRID=4674;POINT (-39.826413 -2.626607)'))) / (select extract(epoch from '2026-07-21 14:05:52'::timestamp) - extract(epoch from '2026-07-21 14:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826381 -2.626614)'), GeomFromEWKT('SRID=4674;POINT (-39.826413 -2.626607)'))) / (select extract(epoch from '2026-07-21 14:05:52'::timestamp) - extract(epoch from '2026-07-21 14:05:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.826443 -2.626589)', '2026-07-21 14:05:59', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826413 -2.626607)'), GeomFromEWKT('SRID=4674;POINT (-39.826443 -2.626589)'))) / (select extract(epoch from '2026-07-21 14:05:59'::timestamp) - extract(epoch from '2026-07-21 14:05:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826413 -2.626607)'), GeomFromEWKT('SRID=4674;POINT (-39.826443 -2.626589)'))) / (select extract(epoch from '2026-07-21 14:05:59'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.826471 -2.626558)', '2026-07-21 14:06:06', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826443 -2.626589)'), GeomFromEWKT('SRID=4674;POINT (-39.826471 -2.626558)'))) / (select extract(epoch from '2026-07-21 14:06:06'::timestamp) - extract(epoch from '2026-07-21 14:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826443 -2.626589)'), GeomFromEWKT('SRID=4674;POINT (-39.826471 -2.626558)'))) / (select extract(epoch from '2026-07-21 14:06:06'::timestamp) - extract(epoch from '2026-07-21 14:05:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.826467 -2.626508)', '2026-07-21 14:06:15', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826471 -2.626558)'), GeomFromEWKT('SRID=4674;POINT (-39.826467 -2.626508)'))) / (select extract(epoch from '2026-07-21 14:06:15'::timestamp) - extract(epoch from '2026-07-21 14:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826471 -2.626558)'), GeomFromEWKT('SRID=4674;POINT (-39.826467 -2.626508)'))) / (select extract(epoch from '2026-07-21 14:06:15'::timestamp) - extract(epoch from '2026-07-21 14:06:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.826415 -2.626471)', '2026-07-21 14:06:21', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826467 -2.626508)'), GeomFromEWKT('SRID=4674;POINT (-39.826415 -2.626471)'))) / (select extract(epoch from '2026-07-21 14:06:21'::timestamp) - extract(epoch from '2026-07-21 14:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826467 -2.626508)'), GeomFromEWKT('SRID=4674;POINT (-39.826415 -2.626471)'))) / (select extract(epoch from '2026-07-21 14:06:21'::timestamp) - extract(epoch from '2026-07-21 14:06: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'), 47870, 'SRID=4674;POINT (-39.826404 -2.626468)', '2026-07-21 14:06:22', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826415 -2.626471)'), GeomFromEWKT('SRID=4674;POINT (-39.826404 -2.626468)'))) / (select extract(epoch from '2026-07-21 14:06:22'::timestamp) - extract(epoch from '2026-07-21 14:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826415 -2.626471)'), GeomFromEWKT('SRID=4674;POINT (-39.826404 -2.626468)'))) / (select extract(epoch from '2026-07-21 14:06:22'::timestamp) - extract(epoch from '2026-07-21 14:06:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.826338 -2.626448)', '2026-07-21 14:06:27', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826404 -2.626468)'), GeomFromEWKT('SRID=4674;POINT (-39.826338 -2.626448)'))) / (select extract(epoch from '2026-07-21 14:06:27'::timestamp) - extract(epoch from '2026-07-21 14:06:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826404 -2.626468)'), GeomFromEWKT('SRID=4674;POINT (-39.826338 -2.626448)'))) / (select extract(epoch from '2026-07-21 14:06:27'::timestamp) - extract(epoch from '2026-07-21 14:06: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'), 47870, 'SRID=4674;POINT (-39.826236 -2.626418)', '2026-07-21 14:06:33', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826338 -2.626448)'), GeomFromEWKT('SRID=4674;POINT (-39.826236 -2.626418)'))) / (select extract(epoch from '2026-07-21 14:06:33'::timestamp) - extract(epoch from '2026-07-21 14:06:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826338 -2.626448)'), GeomFromEWKT('SRID=4674;POINT (-39.826236 -2.626418)'))) / (select extract(epoch from '2026-07-21 14:06:33'::timestamp) - extract(epoch from '2026-07-21 14:06:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.826218 -2.626414)', '2026-07-21 14:06:34', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826236 -2.626418)'), GeomFromEWKT('SRID=4674;POINT (-39.826218 -2.626414)'))) / (select extract(epoch from '2026-07-21 14:06:34'::timestamp) - extract(epoch from '2026-07-21 14:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826236 -2.626418)'), GeomFromEWKT('SRID=4674;POINT (-39.826218 -2.626414)'))) / (select extract(epoch from '2026-07-21 14:06:34'::timestamp) - extract(epoch from '2026-07-21 14:06: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'), 47870, 'SRID=4674;POINT (-39.826203 -2.626413)', '2026-07-21 14:06:35', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826218 -2.626414)'), GeomFromEWKT('SRID=4674;POINT (-39.826203 -2.626413)'))) / (select extract(epoch from '2026-07-21 14:06:35'::timestamp) - extract(epoch from '2026-07-21 14:06:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826218 -2.626414)'), GeomFromEWKT('SRID=4674;POINT (-39.826203 -2.626413)'))) / (select extract(epoch from '2026-07-21 14:06:35'::timestamp) - extract(epoch from '2026-07-21 14:06: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'), 47870, 'SRID=4674;POINT (-39.826146 -2.626405)', '2026-07-21 14:06:38', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826203 -2.626413)'), GeomFromEWKT('SRID=4674;POINT (-39.826146 -2.626405)'))) / (select extract(epoch from '2026-07-21 14:06:38'::timestamp) - extract(epoch from '2026-07-21 14:06:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826203 -2.626413)'), GeomFromEWKT('SRID=4674;POINT (-39.826146 -2.626405)'))) / (select extract(epoch from '2026-07-21 14:06:38'::timestamp) - extract(epoch from '2026-07-21 14:06:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.826033 -2.626379)', '2026-07-21 14:06:44', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826146 -2.626405)'), GeomFromEWKT('SRID=4674;POINT (-39.826033 -2.626379)'))) / (select extract(epoch from '2026-07-21 14:06:44'::timestamp) - extract(epoch from '2026-07-21 14:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826146 -2.626405)'), GeomFromEWKT('SRID=4674;POINT (-39.826033 -2.626379)'))) / (select extract(epoch from '2026-07-21 14:06:44'::timestamp) - extract(epoch from '2026-07-21 14:06: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'), 47870, 'SRID=4674;POINT (-39.825944 -2.626347)', '2026-07-21 14:06:49', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826033 -2.626379)'), GeomFromEWKT('SRID=4674;POINT (-39.825944 -2.626347)'))) / (select extract(epoch from '2026-07-21 14:06:49'::timestamp) - extract(epoch from '2026-07-21 14:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826033 -2.626379)'), GeomFromEWKT('SRID=4674;POINT (-39.825944 -2.626347)'))) / (select extract(epoch from '2026-07-21 14:06:49'::timestamp) - extract(epoch from '2026-07-21 14:06: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'), 47870, 'SRID=4674;POINT (-39.825867 -2.626321)', '2026-07-21 14:06:53', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825944 -2.626347)'), GeomFromEWKT('SRID=4674;POINT (-39.825867 -2.626321)'))) / (select extract(epoch from '2026-07-21 14:06:53'::timestamp) - extract(epoch from '2026-07-21 14:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825944 -2.626347)'), GeomFromEWKT('SRID=4674;POINT (-39.825867 -2.626321)'))) / (select extract(epoch from '2026-07-21 14:06:53'::timestamp) - extract(epoch from '2026-07-21 14:06:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.825771 -2.626278)', '2026-07-21 14:06:58', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825867 -2.626321)'), GeomFromEWKT('SRID=4674;POINT (-39.825771 -2.626278)'))) / (select extract(epoch from '2026-07-21 14:06:58'::timestamp) - extract(epoch from '2026-07-21 14:06:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825867 -2.626321)'), GeomFromEWKT('SRID=4674;POINT (-39.825771 -2.626278)'))) / (select extract(epoch from '2026-07-21 14:06:58'::timestamp) - extract(epoch from '2026-07-21 14:06:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.825675 -2.62624)', '2026-07-21 14:07:03', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825771 -2.626278)'), GeomFromEWKT('SRID=4674;POINT (-39.825675 -2.62624)'))) / (select extract(epoch from '2026-07-21 14:07:03'::timestamp) - extract(epoch from '2026-07-21 14:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825771 -2.626278)'), GeomFromEWKT('SRID=4674;POINT (-39.825675 -2.62624)'))) / (select extract(epoch from '2026-07-21 14:07:03'::timestamp) - extract(epoch from '2026-07-21 14:06:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.825611 -2.626195)', '2026-07-21 14:07:07', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825675 -2.62624)'), GeomFromEWKT('SRID=4674;POINT (-39.825611 -2.626195)'))) / (select extract(epoch from '2026-07-21 14:07:07'::timestamp) - extract(epoch from '2026-07-21 14:07:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825675 -2.62624)'), GeomFromEWKT('SRID=4674;POINT (-39.825611 -2.626195)'))) / (select extract(epoch from '2026-07-21 14:07:07'::timestamp) - extract(epoch from '2026-07-21 14:07: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'), 47870, 'SRID=4674;POINT (-39.825524 -2.626083)', '2026-07-21 14:07:14', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825611 -2.626195)'), GeomFromEWKT('SRID=4674;POINT (-39.825524 -2.626083)'))) / (select extract(epoch from '2026-07-21 14:07:14'::timestamp) - extract(epoch from '2026-07-21 14:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825611 -2.626195)'), GeomFromEWKT('SRID=4674;POINT (-39.825524 -2.626083)'))) / (select extract(epoch from '2026-07-21 14:07:14'::timestamp) - extract(epoch from '2026-07-21 14:07:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.825482 -2.626029)', '2026-07-21 14:07:19', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825524 -2.626083)'), GeomFromEWKT('SRID=4674;POINT (-39.825482 -2.626029)'))) / (select extract(epoch from '2026-07-21 14:07:19'::timestamp) - extract(epoch from '2026-07-21 14:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825524 -2.626083)'), GeomFromEWKT('SRID=4674;POINT (-39.825482 -2.626029)'))) / (select extract(epoch from '2026-07-21 14:07:19'::timestamp) - extract(epoch from '2026-07-21 14:07: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'), 47870, 'SRID=4674;POINT (-39.825472 -2.626019)', '2026-07-21 14:07:20', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825482 -2.626029)'), GeomFromEWKT('SRID=4674;POINT (-39.825472 -2.626019)'))) / (select extract(epoch from '2026-07-21 14:07:20'::timestamp) - extract(epoch from '2026-07-21 14:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825482 -2.626029)'), GeomFromEWKT('SRID=4674;POINT (-39.825472 -2.626019)'))) / (select extract(epoch from '2026-07-21 14:07:20'::timestamp) - extract(epoch from '2026-07-21 14:07: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'), 47870, 'SRID=4674;POINT (-39.825451 -2.626005)', '2026-07-21 14:07:22', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825472 -2.626019)'), GeomFromEWKT('SRID=4674;POINT (-39.825451 -2.626005)'))) / (select extract(epoch from '2026-07-21 14:07:22'::timestamp) - extract(epoch from '2026-07-21 14:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825472 -2.626019)'), GeomFromEWKT('SRID=4674;POINT (-39.825451 -2.626005)'))) / (select extract(epoch from '2026-07-21 14:07:22'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.82544 -2.625998)', '2026-07-21 14:07:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825451 -2.626005)'), GeomFromEWKT('SRID=4674;POINT (-39.82544 -2.625998)'))) / (select extract(epoch from '2026-07-21 14:07:23'::timestamp) - extract(epoch from '2026-07-21 14:07:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825451 -2.626005)'), GeomFromEWKT('SRID=4674;POINT (-39.82544 -2.625998)'))) / (select extract(epoch from '2026-07-21 14:07:23'::timestamp) - extract(epoch from '2026-07-21 14:07:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.825424 -2.625974)', '2026-07-21 14:07:27', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82544 -2.625998)'), GeomFromEWKT('SRID=4674;POINT (-39.825424 -2.625974)'))) / (select extract(epoch from '2026-07-21 14:07:27'::timestamp) - extract(epoch from '2026-07-21 14:07:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82544 -2.625998)'), GeomFromEWKT('SRID=4674;POINT (-39.825424 -2.625974)'))) / (select extract(epoch from '2026-07-21 14:07:27'::timestamp) - extract(epoch from '2026-07-21 14:07:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.825414 -2.625937)', '2026-07-21 14:07:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825424 -2.625974)'), GeomFromEWKT('SRID=4674;POINT (-39.825414 -2.625937)'))) / (select extract(epoch from '2026-07-21 14:07:34'::timestamp) - extract(epoch from '2026-07-21 14:07:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825424 -2.625974)'), GeomFromEWKT('SRID=4674;POINT (-39.825414 -2.625937)'))) / (select extract(epoch from '2026-07-21 14:07:34'::timestamp) - extract(epoch from '2026-07-21 14:07: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'), 47870, 'SRID=4674;POINT (-39.82541 -2.625918)', '2026-07-21 14:07:36', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825414 -2.625937)'), GeomFromEWKT('SRID=4674;POINT (-39.82541 -2.625918)'))) / (select extract(epoch from '2026-07-21 14:07:36'::timestamp) - extract(epoch from '2026-07-21 14:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825414 -2.625937)'), GeomFromEWKT('SRID=4674;POINT (-39.82541 -2.625918)'))) / (select extract(epoch from '2026-07-21 14:07:36'::timestamp) - extract(epoch from '2026-07-21 14:07: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'), 47870, 'SRID=4674;POINT (-39.825415 -2.62591)', '2026-07-21 14:07:39', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82541 -2.625918)'), GeomFromEWKT('SRID=4674;POINT (-39.825415 -2.62591)'))) / (select extract(epoch from '2026-07-21 14:07:39'::timestamp) - extract(epoch from '2026-07-21 14:07:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82541 -2.625918)'), GeomFromEWKT('SRID=4674;POINT (-39.825415 -2.62591)'))) / (select extract(epoch from '2026-07-21 14:07:39'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.825419 -2.625886)', '2026-07-21 14:07:49', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825415 -2.62591)'), GeomFromEWKT('SRID=4674;POINT (-39.825419 -2.625886)'))) / (select extract(epoch from '2026-07-21 14:07:49'::timestamp) - extract(epoch from '2026-07-21 14:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825415 -2.62591)'), GeomFromEWKT('SRID=4674;POINT (-39.825419 -2.625886)'))) / (select extract(epoch from '2026-07-21 14:07:49'::timestamp) - extract(epoch from '2026-07-21 14:07: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'), 47870, 'SRID=4674;POINT (-39.825432 -2.625868)', '2026-07-21 14:07:55', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825419 -2.625886)'), GeomFromEWKT('SRID=4674;POINT (-39.825432 -2.625868)'))) / (select extract(epoch from '2026-07-21 14:07:55'::timestamp) - extract(epoch from '2026-07-21 14:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825419 -2.625886)'), GeomFromEWKT('SRID=4674;POINT (-39.825432 -2.625868)'))) / (select extract(epoch from '2026-07-21 14:07:55'::timestamp) - extract(epoch from '2026-07-21 14:07: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'), 47870, 'SRID=4674;POINT (-39.825443 -2.62585)', '2026-07-21 14:08:02', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825432 -2.625868)'), GeomFromEWKT('SRID=4674;POINT (-39.825443 -2.62585)'))) / (select extract(epoch from '2026-07-21 14:08:02'::timestamp) - extract(epoch from '2026-07-21 14:07:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825432 -2.625868)'), GeomFromEWKT('SRID=4674;POINT (-39.825443 -2.62585)'))) / (select extract(epoch from '2026-07-21 14:08:02'::timestamp) - extract(epoch from '2026-07-21 14:07: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'), 47870, 'SRID=4674;POINT (-39.825464 -2.625819)', '2026-07-21 14:08:10', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825443 -2.62585)'), GeomFromEWKT('SRID=4674;POINT (-39.825464 -2.625819)'))) / (select extract(epoch from '2026-07-21 14:08:10'::timestamp) - extract(epoch from '2026-07-21 14:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825443 -2.62585)'), GeomFromEWKT('SRID=4674;POINT (-39.825464 -2.625819)'))) / (select extract(epoch from '2026-07-21 14:08:10'::timestamp) - extract(epoch from '2026-07-21 14:08: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'), 47870, 'SRID=4674;POINT (-39.825501 -2.625792)', '2026-07-21 14:08:17', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825464 -2.625819)'), GeomFromEWKT('SRID=4674;POINT (-39.825501 -2.625792)'))) / (select extract(epoch from '2026-07-21 14:08:17'::timestamp) - extract(epoch from '2026-07-21 14:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825464 -2.625819)'), GeomFromEWKT('SRID=4674;POINT (-39.825501 -2.625792)'))) / (select extract(epoch from '2026-07-21 14:08:17'::timestamp) - extract(epoch from '2026-07-21 14:08: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'), 47870, 'SRID=4674;POINT (-39.825521 -2.625763)', '2026-07-21 14:08:24', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825501 -2.625792)'), GeomFromEWKT('SRID=4674;POINT (-39.825521 -2.625763)'))) / (select extract(epoch from '2026-07-21 14:08:24'::timestamp) - extract(epoch from '2026-07-21 14:08:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825501 -2.625792)'), GeomFromEWKT('SRID=4674;POINT (-39.825521 -2.625763)'))) / (select extract(epoch from '2026-07-21 14:08:24'::timestamp) - extract(epoch from '2026-07-21 14:08: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'), 47870, 'SRID=4674;POINT (-39.825539 -2.625746)', '2026-07-21 14:08:31', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825521 -2.625763)'), GeomFromEWKT('SRID=4674;POINT (-39.825539 -2.625746)'))) / (select extract(epoch from '2026-07-21 14:08:31'::timestamp) - extract(epoch from '2026-07-21 14:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825521 -2.625763)'), GeomFromEWKT('SRID=4674;POINT (-39.825539 -2.625746)'))) / (select extract(epoch from '2026-07-21 14:08:31'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.825538 -2.625732)', '2026-07-21 14:08:34', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825539 -2.625746)'), GeomFromEWKT('SRID=4674;POINT (-39.825538 -2.625732)'))) / (select extract(epoch from '2026-07-21 14:08:34'::timestamp) - extract(epoch from '2026-07-21 14:08:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825539 -2.625746)'), GeomFromEWKT('SRID=4674;POINT (-39.825538 -2.625732)'))) / (select extract(epoch from '2026-07-21 14:08:34'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.825554 -2.625725)', '2026-07-21 14:08:36', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825538 -2.625732)'), GeomFromEWKT('SRID=4674;POINT (-39.825554 -2.625725)'))) / (select extract(epoch from '2026-07-21 14:08:36'::timestamp) - extract(epoch from '2026-07-21 14:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825538 -2.625732)'), GeomFromEWKT('SRID=4674;POINT (-39.825554 -2.625725)'))) / (select extract(epoch from '2026-07-21 14:08:36'::timestamp) - extract(epoch from '2026-07-21 14:08:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.825564 -2.625714)', '2026-07-21 14:08:40', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825554 -2.625725)'), GeomFromEWKT('SRID=4674;POINT (-39.825564 -2.625714)'))) / (select extract(epoch from '2026-07-21 14:08:40'::timestamp) - extract(epoch from '2026-07-21 14:08:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825554 -2.625725)'), GeomFromEWKT('SRID=4674;POINT (-39.825564 -2.625714)'))) / (select extract(epoch from '2026-07-21 14:08:40'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.82558 -2.625682)', '2026-07-21 14:08:47', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825564 -2.625714)'), GeomFromEWKT('SRID=4674;POINT (-39.82558 -2.625682)'))) / (select extract(epoch from '2026-07-21 14:08:47'::timestamp) - extract(epoch from '2026-07-21 14:08:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825564 -2.625714)'), GeomFromEWKT('SRID=4674;POINT (-39.82558 -2.625682)'))) / (select extract(epoch from '2026-07-21 14:08:47'::timestamp) - extract(epoch from '2026-07-21 14:08: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'), 47870, 'SRID=4674;POINT (-39.825586 -2.625671)', '2026-07-21 14:08:56', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82558 -2.625682)'), GeomFromEWKT('SRID=4674;POINT (-39.825586 -2.625671)'))) / (select extract(epoch from '2026-07-21 14:08:56'::timestamp) - extract(epoch from '2026-07-21 14:08:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82558 -2.625682)'), GeomFromEWKT('SRID=4674;POINT (-39.825586 -2.625671)'))) / (select extract(epoch from '2026-07-21 14:08:56'::timestamp) - extract(epoch from '2026-07-21 14:08: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'), 47870, 'SRID=4674;POINT (-39.825606 -2.625632)', '2026-07-21 14:09:14', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825586 -2.625671)'), GeomFromEWKT('SRID=4674;POINT (-39.825606 -2.625632)'))) / (select extract(epoch from '2026-07-21 14:09:14'::timestamp) - extract(epoch from '2026-07-21 14:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825586 -2.625671)'), GeomFromEWKT('SRID=4674;POINT (-39.825606 -2.625632)'))) / (select extract(epoch from '2026-07-21 14:09:14'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.825638 -2.625588)', '2026-07-21 14:09:23', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825606 -2.625632)'), GeomFromEWKT('SRID=4674;POINT (-39.825638 -2.625588)'))) / (select extract(epoch from '2026-07-21 14:09:23'::timestamp) - extract(epoch from '2026-07-21 14:09:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825606 -2.625632)'), GeomFromEWKT('SRID=4674;POINT (-39.825638 -2.625588)'))) / (select extract(epoch from '2026-07-21 14:09:23'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.82564 -2.625558)', '2026-07-21 14:09:29', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825638 -2.625588)'), GeomFromEWKT('SRID=4674;POINT (-39.82564 -2.625558)'))) / (select extract(epoch from '2026-07-21 14:09:29'::timestamp) - extract(epoch from '2026-07-21 14:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825638 -2.625588)'), GeomFromEWKT('SRID=4674;POINT (-39.82564 -2.625558)'))) / (select extract(epoch from '2026-07-21 14:09:29'::timestamp) - extract(epoch from '2026-07-21 14:09:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.825622 -2.625531)', '2026-07-21 14:09:32', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82564 -2.625558)'), GeomFromEWKT('SRID=4674;POINT (-39.825622 -2.625531)'))) / (select extract(epoch from '2026-07-21 14:09:32'::timestamp) - extract(epoch from '2026-07-21 14:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82564 -2.625558)'), GeomFromEWKT('SRID=4674;POINT (-39.825622 -2.625531)'))) / (select extract(epoch from '2026-07-21 14:09:32'::timestamp) - extract(epoch from '2026-07-21 14:09:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.825601 -2.625519)', '2026-07-21 14:09:34', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825622 -2.625531)'), GeomFromEWKT('SRID=4674;POINT (-39.825601 -2.625519)'))) / (select extract(epoch from '2026-07-21 14:09:34'::timestamp) - extract(epoch from '2026-07-21 14:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825622 -2.625531)'), GeomFromEWKT('SRID=4674;POINT (-39.825601 -2.625519)'))) / (select extract(epoch from '2026-07-21 14:09:34'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.825522 -2.625509)', '2026-07-21 14:09:40', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825601 -2.625519)'), GeomFromEWKT('SRID=4674;POINT (-39.825522 -2.625509)'))) / (select extract(epoch from '2026-07-21 14:09:40'::timestamp) - extract(epoch from '2026-07-21 14:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825601 -2.625519)'), GeomFromEWKT('SRID=4674;POINT (-39.825522 -2.625509)'))) / (select extract(epoch from '2026-07-21 14:09:40'::timestamp) - extract(epoch from '2026-07-21 14:09: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'), 47870, 'SRID=4674;POINT (-39.82543 -2.625505)', '2026-07-21 14:09:46', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825522 -2.625509)'), GeomFromEWKT('SRID=4674;POINT (-39.82543 -2.625505)'))) / (select extract(epoch from '2026-07-21 14:09:46'::timestamp) - extract(epoch from '2026-07-21 14:09:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825522 -2.625509)'), GeomFromEWKT('SRID=4674;POINT (-39.82543 -2.625505)'))) / (select extract(epoch from '2026-07-21 14:09:46'::timestamp) - extract(epoch from '2026-07-21 14:09: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'), 47870, 'SRID=4674;POINT (-39.82534 -2.625512)', '2026-07-21 14:09:51', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82543 -2.625505)'), GeomFromEWKT('SRID=4674;POINT (-39.82534 -2.625512)'))) / (select extract(epoch from '2026-07-21 14:09:51'::timestamp) - extract(epoch from '2026-07-21 14:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82543 -2.625505)'), GeomFromEWKT('SRID=4674;POINT (-39.82534 -2.625512)'))) / (select extract(epoch from '2026-07-21 14:09:51'::timestamp) - extract(epoch from '2026-07-21 14:09:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.825253 -2.625545)', '2026-07-21 14:09:56', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82534 -2.625512)'), GeomFromEWKT('SRID=4674;POINT (-39.825253 -2.625545)'))) / (select extract(epoch from '2026-07-21 14:09:56'::timestamp) - extract(epoch from '2026-07-21 14:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82534 -2.625512)'), GeomFromEWKT('SRID=4674;POINT (-39.825253 -2.625545)'))) / (select extract(epoch from '2026-07-21 14:09:56'::timestamp) - extract(epoch from '2026-07-21 14:09: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'), 47870, 'SRID=4674;POINT (-39.825178 -2.625561)', '2026-07-21 14:10:01', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825253 -2.625545)'), GeomFromEWKT('SRID=4674;POINT (-39.825178 -2.625561)'))) / (select extract(epoch from '2026-07-21 14:10:01'::timestamp) - extract(epoch from '2026-07-21 14:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825253 -2.625545)'), GeomFromEWKT('SRID=4674;POINT (-39.825178 -2.625561)'))) / (select extract(epoch from '2026-07-21 14:10:01'::timestamp) - extract(epoch from '2026-07-21 14:09:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.82509 -2.625587)', '2026-07-21 14:10:06', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825178 -2.625561)'), GeomFromEWKT('SRID=4674;POINT (-39.82509 -2.625587)'))) / (select extract(epoch from '2026-07-21 14:10:06'::timestamp) - extract(epoch from '2026-07-21 14:10:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825178 -2.625561)'), GeomFromEWKT('SRID=4674;POINT (-39.82509 -2.625587)'))) / (select extract(epoch from '2026-07-21 14:10:06'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.825053 -2.625591)', '2026-07-21 14:10:08', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82509 -2.625587)'), GeomFromEWKT('SRID=4674;POINT (-39.825053 -2.625591)'))) / (select extract(epoch from '2026-07-21 14:10:08'::timestamp) - extract(epoch from '2026-07-21 14:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82509 -2.625587)'), GeomFromEWKT('SRID=4674;POINT (-39.825053 -2.625591)'))) / (select extract(epoch from '2026-07-21 14:10:08'::timestamp) - extract(epoch from '2026-07-21 14:10: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'), 47870, 'SRID=4674;POINT (-39.824996 -2.625583)', '2026-07-21 14:10:11', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825053 -2.625591)'), GeomFromEWKT('SRID=4674;POINT (-39.824996 -2.625583)'))) / (select extract(epoch from '2026-07-21 14:10:11'::timestamp) - extract(epoch from '2026-07-21 14:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825053 -2.625591)'), GeomFromEWKT('SRID=4674;POINT (-39.824996 -2.625583)'))) / (select extract(epoch from '2026-07-21 14:10:11'::timestamp) - extract(epoch from '2026-07-21 14:10:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.824896 -2.625554)', '2026-07-21 14:10:16', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824996 -2.625583)'), GeomFromEWKT('SRID=4674;POINT (-39.824896 -2.625554)'))) / (select extract(epoch from '2026-07-21 14:10:16'::timestamp) - extract(epoch from '2026-07-21 14:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824996 -2.625583)'), GeomFromEWKT('SRID=4674;POINT (-39.824896 -2.625554)'))) / (select extract(epoch from '2026-07-21 14:10:16'::timestamp) - extract(epoch from '2026-07-21 14:10: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'), 47870, 'SRID=4674;POINT (-39.824881 -2.625541)', '2026-07-21 14:10:17', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824896 -2.625554)'), GeomFromEWKT('SRID=4674;POINT (-39.824881 -2.625541)'))) / (select extract(epoch from '2026-07-21 14:10:17'::timestamp) - extract(epoch from '2026-07-21 14:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824896 -2.625554)'), GeomFromEWKT('SRID=4674;POINT (-39.824881 -2.625541)'))) / (select extract(epoch from '2026-07-21 14:10:17'::timestamp) - extract(epoch from '2026-07-21 14:10: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'), 47870, 'SRID=4674;POINT (-39.824846 -2.625496)', '2026-07-21 14:10:20', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824881 -2.625541)'), GeomFromEWKT('SRID=4674;POINT (-39.824846 -2.625496)'))) / (select extract(epoch from '2026-07-21 14:10:20'::timestamp) - extract(epoch from '2026-07-21 14:10:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824881 -2.625541)'), GeomFromEWKT('SRID=4674;POINT (-39.824846 -2.625496)'))) / (select extract(epoch from '2026-07-21 14:10:20'::timestamp) - extract(epoch from '2026-07-21 14:10: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'), 47870, 'SRID=4674;POINT (-39.824836 -2.625477)', '2026-07-21 14:10:21', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824846 -2.625496)'), GeomFromEWKT('SRID=4674;POINT (-39.824836 -2.625477)'))) / (select extract(epoch from '2026-07-21 14:10:21'::timestamp) - extract(epoch from '2026-07-21 14:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824846 -2.625496)'), GeomFromEWKT('SRID=4674;POINT (-39.824836 -2.625477)'))) / (select extract(epoch from '2026-07-21 14:10:21'::timestamp) - extract(epoch from '2026-07-21 14:10: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'), 47870, 'SRID=4674;POINT (-39.824803 -2.625426)', '2026-07-21 14:10:24', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824836 -2.625477)'), GeomFromEWKT('SRID=4674;POINT (-39.824803 -2.625426)'))) / (select extract(epoch from '2026-07-21 14:10:24'::timestamp) - extract(epoch from '2026-07-21 14:10:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824836 -2.625477)'), GeomFromEWKT('SRID=4674;POINT (-39.824803 -2.625426)'))) / (select extract(epoch from '2026-07-21 14:10:24'::timestamp) - extract(epoch from '2026-07-21 14:10: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'), 47870, 'SRID=4674;POINT (-39.824741 -2.625334)', '2026-07-21 14:10:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824803 -2.625426)'), GeomFromEWKT('SRID=4674;POINT (-39.824741 -2.625334)'))) / (select extract(epoch from '2026-07-21 14:10:29'::timestamp) - extract(epoch from '2026-07-21 14:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824803 -2.625426)'), GeomFromEWKT('SRID=4674;POINT (-39.824741 -2.625334)'))) / (select extract(epoch from '2026-07-21 14:10:29'::timestamp) - extract(epoch from '2026-07-21 14:10: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'), 47870, 'SRID=4674;POINT (-39.82467 -2.62524)', '2026-07-21 14:10:35', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824741 -2.625334)'), GeomFromEWKT('SRID=4674;POINT (-39.82467 -2.62524)'))) / (select extract(epoch from '2026-07-21 14:10:35'::timestamp) - extract(epoch from '2026-07-21 14:10:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824741 -2.625334)'), GeomFromEWKT('SRID=4674;POINT (-39.82467 -2.62524)'))) / (select extract(epoch from '2026-07-21 14:10:35'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.824629 -2.625193)', '2026-07-21 14:10:38', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82467 -2.62524)'), GeomFromEWKT('SRID=4674;POINT (-39.824629 -2.625193)'))) / (select extract(epoch from '2026-07-21 14:10:38'::timestamp) - extract(epoch from '2026-07-21 14:10:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82467 -2.62524)'), GeomFromEWKT('SRID=4674;POINT (-39.824629 -2.625193)'))) / (select extract(epoch from '2026-07-21 14:10:38'::timestamp) - extract(epoch from '2026-07-21 14:10:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.82461 -2.625166)', '2026-07-21 14:10:40', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824629 -2.625193)'), GeomFromEWKT('SRID=4674;POINT (-39.82461 -2.625166)'))) / (select extract(epoch from '2026-07-21 14:10:40'::timestamp) - extract(epoch from '2026-07-21 14:10:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824629 -2.625193)'), GeomFromEWKT('SRID=4674;POINT (-39.82461 -2.625166)'))) / (select extract(epoch from '2026-07-21 14:10:40'::timestamp) - extract(epoch from '2026-07-21 14:10: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'), 47870, 'SRID=4674;POINT (-39.824587 -2.625138)', '2026-07-21 14:10:42', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82461 -2.625166)'), GeomFromEWKT('SRID=4674;POINT (-39.824587 -2.625138)'))) / (select extract(epoch from '2026-07-21 14:10:42'::timestamp) - extract(epoch from '2026-07-21 14:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82461 -2.625166)'), GeomFromEWKT('SRID=4674;POINT (-39.824587 -2.625138)'))) / (select extract(epoch from '2026-07-21 14:10:42'::timestamp) - extract(epoch from '2026-07-21 14:10: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'), 47870, 'SRID=4674;POINT (-39.82457 -2.625113)', '2026-07-21 14:10:44', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824587 -2.625138)'), GeomFromEWKT('SRID=4674;POINT (-39.82457 -2.625113)'))) / (select extract(epoch from '2026-07-21 14:10:44'::timestamp) - extract(epoch from '2026-07-21 14:10:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824587 -2.625138)'), GeomFromEWKT('SRID=4674;POINT (-39.82457 -2.625113)'))) / (select extract(epoch from '2026-07-21 14:10:44'::timestamp) - extract(epoch from '2026-07-21 14:10: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'), 47870, 'SRID=4674;POINT (-39.824563 -2.625101)', '2026-07-21 14:10:45', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82457 -2.625113)'), GeomFromEWKT('SRID=4674;POINT (-39.824563 -2.625101)'))) / (select extract(epoch from '2026-07-21 14:10:45'::timestamp) - extract(epoch from '2026-07-21 14:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82457 -2.625113)'), GeomFromEWKT('SRID=4674;POINT (-39.824563 -2.625101)'))) / (select extract(epoch from '2026-07-21 14:10:45'::timestamp) - extract(epoch from '2026-07-21 14:10:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.824525 -2.625065)', '2026-07-21 14:10:49', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824563 -2.625101)'), GeomFromEWKT('SRID=4674;POINT (-39.824525 -2.625065)'))) / (select extract(epoch from '2026-07-21 14:10:49'::timestamp) - extract(epoch from '2026-07-21 14:10:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824563 -2.625101)'), GeomFromEWKT('SRID=4674;POINT (-39.824525 -2.625065)'))) / (select extract(epoch from '2026-07-21 14:10:49'::timestamp) - extract(epoch from '2026-07-21 14:10: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'), 47870, 'SRID=4674;POINT (-39.82451 -2.625044)', '2026-07-21 14:10:53', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824525 -2.625065)'), GeomFromEWKT('SRID=4674;POINT (-39.82451 -2.625044)'))) / (select extract(epoch from '2026-07-21 14:10:53'::timestamp) - extract(epoch from '2026-07-21 14:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824525 -2.625065)'), GeomFromEWKT('SRID=4674;POINT (-39.82451 -2.625044)'))) / (select extract(epoch from '2026-07-21 14:10:53'::timestamp) - extract(epoch from '2026-07-21 14:10: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'), 47870, 'SRID=4674;POINT (-39.824508 -2.625038)', '2026-07-21 14:10:54', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82451 -2.625044)'), GeomFromEWKT('SRID=4674;POINT (-39.824508 -2.625038)'))) / (select extract(epoch from '2026-07-21 14:10:54'::timestamp) - extract(epoch from '2026-07-21 14:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82451 -2.625044)'), GeomFromEWKT('SRID=4674;POINT (-39.824508 -2.625038)'))) / (select extract(epoch from '2026-07-21 14:10:54'::timestamp) - extract(epoch from '2026-07-21 14:10: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'), 47870, 'SRID=4674;POINT (-39.824501 -2.625006)', '2026-07-21 14:11:01', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824508 -2.625038)'), GeomFromEWKT('SRID=4674;POINT (-39.824501 -2.625006)'))) / (select extract(epoch from '2026-07-21 14:11:01'::timestamp) - extract(epoch from '2026-07-21 14:10:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824508 -2.625038)'), GeomFromEWKT('SRID=4674;POINT (-39.824501 -2.625006)'))) / (select extract(epoch from '2026-07-21 14:11:01'::timestamp) - extract(epoch from '2026-07-21 14:10:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.824503 -2.624979)', '2026-07-21 14:11:05', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824501 -2.625006)'), GeomFromEWKT('SRID=4674;POINT (-39.824503 -2.624979)'))) / (select extract(epoch from '2026-07-21 14:11:05'::timestamp) - extract(epoch from '2026-07-21 14:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824501 -2.625006)'), GeomFromEWKT('SRID=4674;POINT (-39.824503 -2.624979)'))) / (select extract(epoch from '2026-07-21 14:11:05'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.824505 -2.624971)', '2026-07-21 14:11:07', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824503 -2.624979)'), GeomFromEWKT('SRID=4674;POINT (-39.824505 -2.624971)'))) / (select extract(epoch from '2026-07-21 14:11:07'::timestamp) - extract(epoch from '2026-07-21 14:11:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824503 -2.624979)'), GeomFromEWKT('SRID=4674;POINT (-39.824505 -2.624971)'))) / (select extract(epoch from '2026-07-21 14:11:07'::timestamp) - extract(epoch from '2026-07-21 14:11: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'), 47870, 'SRID=4674;POINT (-39.824512 -2.624946)', '2026-07-21 14:11:13', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824505 -2.624971)'), GeomFromEWKT('SRID=4674;POINT (-39.824512 -2.624946)'))) / (select extract(epoch from '2026-07-21 14:11:13'::timestamp) - extract(epoch from '2026-07-21 14:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824505 -2.624971)'), GeomFromEWKT('SRID=4674;POINT (-39.824512 -2.624946)'))) / (select extract(epoch from '2026-07-21 14:11:13'::timestamp) - extract(epoch from '2026-07-21 14:11: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'), 47870, 'SRID=4674;POINT (-39.824526 -2.624915)', '2026-07-21 14:11:21', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824512 -2.624946)'), GeomFromEWKT('SRID=4674;POINT (-39.824526 -2.624915)'))) / (select extract(epoch from '2026-07-21 14:11:21'::timestamp) - extract(epoch from '2026-07-21 14:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824512 -2.624946)'), GeomFromEWKT('SRID=4674;POINT (-39.824526 -2.624915)'))) / (select extract(epoch from '2026-07-21 14:11:21'::timestamp) - extract(epoch from '2026-07-21 14:11: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'), 47870, 'SRID=4674;POINT (-39.824535 -2.624878)', '2026-07-21 14:11:28', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824526 -2.624915)'), GeomFromEWKT('SRID=4674;POINT (-39.824535 -2.624878)'))) / (select extract(epoch from '2026-07-21 14:11:28'::timestamp) - extract(epoch from '2026-07-21 14:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824526 -2.624915)'), GeomFromEWKT('SRID=4674;POINT (-39.824535 -2.624878)'))) / (select extract(epoch from '2026-07-21 14:11:28'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.824558 -2.624846)', '2026-07-21 14:11:34', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824535 -2.624878)'), GeomFromEWKT('SRID=4674;POINT (-39.824558 -2.624846)'))) / (select extract(epoch from '2026-07-21 14:11:34'::timestamp) - extract(epoch from '2026-07-21 14:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824535 -2.624878)'), GeomFromEWKT('SRID=4674;POINT (-39.824558 -2.624846)'))) / (select extract(epoch from '2026-07-21 14:11:34'::timestamp) - extract(epoch from '2026-07-21 14:11:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.824572 -2.624804)', '2026-07-21 14:11:42', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824558 -2.624846)'), GeomFromEWKT('SRID=4674;POINT (-39.824572 -2.624804)'))) / (select extract(epoch from '2026-07-21 14:11:42'::timestamp) - extract(epoch from '2026-07-21 14:11:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824558 -2.624846)'), GeomFromEWKT('SRID=4674;POINT (-39.824572 -2.624804)'))) / (select extract(epoch from '2026-07-21 14:11:42'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.824571 -2.624783)', '2026-07-21 14:11:51', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824572 -2.624804)'), GeomFromEWKT('SRID=4674;POINT (-39.824571 -2.624783)'))) / (select extract(epoch from '2026-07-21 14:11:51'::timestamp) - extract(epoch from '2026-07-21 14:11:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824572 -2.624804)'), GeomFromEWKT('SRID=4674;POINT (-39.824571 -2.624783)'))) / (select extract(epoch from '2026-07-21 14:11:51'::timestamp) - extract(epoch from '2026-07-21 14:11: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'), 47870, 'SRID=4674;POINT (-39.824632 -2.624759)', '2026-07-21 14:12:36', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824571 -2.624783)'), GeomFromEWKT('SRID=4674;POINT (-39.824632 -2.624759)'))) / (select extract(epoch from '2026-07-21 14:12:36'::timestamp) - extract(epoch from '2026-07-21 14:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824571 -2.624783)'), GeomFromEWKT('SRID=4674;POINT (-39.824632 -2.624759)'))) / (select extract(epoch from '2026-07-21 14:12:36'::timestamp) - extract(epoch from '2026-07-21 14:11: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'), 47870, 'SRID=4674;POINT (-39.824661 -2.624781)', '2026-07-21 14:12:47', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824632 -2.624759)'), GeomFromEWKT('SRID=4674;POINT (-39.824661 -2.624781)'))) / (select extract(epoch from '2026-07-21 14:12:47'::timestamp) - extract(epoch from '2026-07-21 14:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824632 -2.624759)'), GeomFromEWKT('SRID=4674;POINT (-39.824661 -2.624781)'))) / (select extract(epoch from '2026-07-21 14:12:47'::timestamp) - extract(epoch from '2026-07-21 14:12: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'), 47870, 'SRID=4674;POINT (-39.824672 -2.624784)', '2026-07-21 14:12:49', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824661 -2.624781)'), GeomFromEWKT('SRID=4674;POINT (-39.824672 -2.624784)'))) / (select extract(epoch from '2026-07-21 14:12:49'::timestamp) - extract(epoch from '2026-07-21 14:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824661 -2.624781)'), GeomFromEWKT('SRID=4674;POINT (-39.824672 -2.624784)'))) / (select extract(epoch from '2026-07-21 14:12:49'::timestamp) - extract(epoch from '2026-07-21 14:12: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'), 47870, 'SRID=4674;POINT (-39.824674 -2.624781)', '2026-07-21 14:12:55', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824672 -2.624784)'), GeomFromEWKT('SRID=4674;POINT (-39.824674 -2.624781)'))) / (select extract(epoch from '2026-07-21 14:12:55'::timestamp) - extract(epoch from '2026-07-21 14:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824672 -2.624784)'), GeomFromEWKT('SRID=4674;POINT (-39.824674 -2.624781)'))) / (select extract(epoch from '2026-07-21 14:12:55'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.824716 -2.62478)', '2026-07-21 14:13:09', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824674 -2.624781)'), GeomFromEWKT('SRID=4674;POINT (-39.824716 -2.62478)'))) / (select extract(epoch from '2026-07-21 14:13:09'::timestamp) - extract(epoch from '2026-07-21 14:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824674 -2.624781)'), GeomFromEWKT('SRID=4674;POINT (-39.824716 -2.62478)'))) / (select extract(epoch from '2026-07-21 14:13:09'::timestamp) - extract(epoch from '2026-07-21 14:12: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'), 47870, 'SRID=4674;POINT (-39.824729 -2.624801)', '2026-07-21 14:13:22', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824716 -2.62478)'), GeomFromEWKT('SRID=4674;POINT (-39.824729 -2.624801)'))) / (select extract(epoch from '2026-07-21 14:13:22'::timestamp) - extract(epoch from '2026-07-21 14:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824716 -2.62478)'), GeomFromEWKT('SRID=4674;POINT (-39.824729 -2.624801)'))) / (select extract(epoch from '2026-07-21 14:13:22'::timestamp) - extract(epoch from '2026-07-21 14:13: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'), 47870, 'SRID=4674;POINT (-39.824772 -2.624777)', '2026-07-21 14:13:43', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824729 -2.624801)'), GeomFromEWKT('SRID=4674;POINT (-39.824772 -2.624777)'))) / (select extract(epoch from '2026-07-21 14:13:43'::timestamp) - extract(epoch from '2026-07-21 14:13:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824729 -2.624801)'), GeomFromEWKT('SRID=4674;POINT (-39.824772 -2.624777)'))) / (select extract(epoch from '2026-07-21 14:13:43'::timestamp) - extract(epoch from '2026-07-21 14:13:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.824786 -2.624744)', '2026-07-21 14:13:49', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824772 -2.624777)'), GeomFromEWKT('SRID=4674;POINT (-39.824786 -2.624744)'))) / (select extract(epoch from '2026-07-21 14:13:49'::timestamp) - extract(epoch from '2026-07-21 14:13:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824772 -2.624777)'), GeomFromEWKT('SRID=4674;POINT (-39.824786 -2.624744)'))) / (select extract(epoch from '2026-07-21 14:13:49'::timestamp) - extract(epoch from '2026-07-21 14:13:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.824782 -2.624734)', '2026-07-21 14:13:51', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824786 -2.624744)'), GeomFromEWKT('SRID=4674;POINT (-39.824782 -2.624734)'))) / (select extract(epoch from '2026-07-21 14:13:51'::timestamp) - extract(epoch from '2026-07-21 14:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824786 -2.624744)'), GeomFromEWKT('SRID=4674;POINT (-39.824782 -2.624734)'))) / (select extract(epoch from '2026-07-21 14:13:51'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.824766 -2.624718)', '2026-07-21 14:13:53', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824782 -2.624734)'), GeomFromEWKT('SRID=4674;POINT (-39.824766 -2.624718)'))) / (select extract(epoch from '2026-07-21 14:13:53'::timestamp) - extract(epoch from '2026-07-21 14:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824782 -2.624734)'), GeomFromEWKT('SRID=4674;POINT (-39.824766 -2.624718)'))) / (select extract(epoch from '2026-07-21 14:13:53'::timestamp) - extract(epoch from '2026-07-21 14:13: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'), 47870, 'SRID=4674;POINT (-39.824756 -2.624714)', '2026-07-21 14:13:54', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824766 -2.624718)'), GeomFromEWKT('SRID=4674;POINT (-39.824756 -2.624714)'))) / (select extract(epoch from '2026-07-21 14:13:54'::timestamp) - extract(epoch from '2026-07-21 14:13:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824766 -2.624718)'), GeomFromEWKT('SRID=4674;POINT (-39.824756 -2.624714)'))) / (select extract(epoch from '2026-07-21 14:13:54'::timestamp) - extract(epoch from '2026-07-21 14:13: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'), 47870, 'SRID=4674;POINT (-39.824709 -2.624696)', '2026-07-21 14:13:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824756 -2.624714)'), GeomFromEWKT('SRID=4674;POINT (-39.824709 -2.624696)'))) / (select extract(epoch from '2026-07-21 14:13:58'::timestamp) - extract(epoch from '2026-07-21 14:13:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824756 -2.624714)'), GeomFromEWKT('SRID=4674;POINT (-39.824709 -2.624696)'))) / (select extract(epoch from '2026-07-21 14:13:58'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.824639 -2.624702)', '2026-07-21 14:14:03', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824709 -2.624696)'), GeomFromEWKT('SRID=4674;POINT (-39.824639 -2.624702)'))) / (select extract(epoch from '2026-07-21 14:14:03'::timestamp) - extract(epoch from '2026-07-21 14:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824709 -2.624696)'), GeomFromEWKT('SRID=4674;POINT (-39.824639 -2.624702)'))) / (select extract(epoch from '2026-07-21 14:14:03'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.824565 -2.624712)', '2026-07-21 14:14:08', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824639 -2.624702)'), GeomFromEWKT('SRID=4674;POINT (-39.824565 -2.624712)'))) / (select extract(epoch from '2026-07-21 14:14:08'::timestamp) - extract(epoch from '2026-07-21 14:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824639 -2.624702)'), GeomFromEWKT('SRID=4674;POINT (-39.824565 -2.624712)'))) / (select extract(epoch from '2026-07-21 14:14:08'::timestamp) - extract(epoch from '2026-07-21 14:14: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'), 47870, 'SRID=4674;POINT (-39.824488 -2.624722)', '2026-07-21 14:14:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824565 -2.624712)'), GeomFromEWKT('SRID=4674;POINT (-39.824488 -2.624722)'))) / (select extract(epoch from '2026-07-21 14:14:13'::timestamp) - extract(epoch from '2026-07-21 14:14:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824565 -2.624712)'), GeomFromEWKT('SRID=4674;POINT (-39.824488 -2.624722)'))) / (select extract(epoch from '2026-07-21 14:14:13'::timestamp) - extract(epoch from '2026-07-21 14:14: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'), 47870, 'SRID=4674;POINT (-39.824412 -2.624735)', '2026-07-21 14:14:17', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824488 -2.624722)'), GeomFromEWKT('SRID=4674;POINT (-39.824412 -2.624735)'))) / (select extract(epoch from '2026-07-21 14:14:17'::timestamp) - extract(epoch from '2026-07-21 14:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824488 -2.624722)'), GeomFromEWKT('SRID=4674;POINT (-39.824412 -2.624735)'))) / (select extract(epoch from '2026-07-21 14:14:17'::timestamp) - extract(epoch from '2026-07-21 14:14:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.824348 -2.624756)', '2026-07-21 14:14:21', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824412 -2.624735)'), GeomFromEWKT('SRID=4674;POINT (-39.824348 -2.624756)'))) / (select extract(epoch from '2026-07-21 14:14:21'::timestamp) - extract(epoch from '2026-07-21 14:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824412 -2.624735)'), GeomFromEWKT('SRID=4674;POINT (-39.824348 -2.624756)'))) / (select extract(epoch from '2026-07-21 14:14:21'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.824302 -2.624768)', '2026-07-21 14:14:25', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824348 -2.624756)'), GeomFromEWKT('SRID=4674;POINT (-39.824302 -2.624768)'))) / (select extract(epoch from '2026-07-21 14:14:25'::timestamp) - extract(epoch from '2026-07-21 14:14:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824348 -2.624756)'), GeomFromEWKT('SRID=4674;POINT (-39.824302 -2.624768)'))) / (select extract(epoch from '2026-07-21 14:14:25'::timestamp) - extract(epoch from '2026-07-21 14:14: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'), 47870, 'SRID=4674;POINT (-39.824244 -2.624785)', '2026-07-21 14:14:29', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824302 -2.624768)'), GeomFromEWKT('SRID=4674;POINT (-39.824244 -2.624785)'))) / (select extract(epoch from '2026-07-21 14:14:29'::timestamp) - extract(epoch from '2026-07-21 14:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824302 -2.624768)'), GeomFromEWKT('SRID=4674;POINT (-39.824244 -2.624785)'))) / (select extract(epoch from '2026-07-21 14:14:29'::timestamp) - extract(epoch from '2026-07-21 14:14: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'), 47870, 'SRID=4674;POINT (-39.82423 -2.624787)', '2026-07-21 14:14:30', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824244 -2.624785)'), GeomFromEWKT('SRID=4674;POINT (-39.82423 -2.624787)'))) / (select extract(epoch from '2026-07-21 14:14:30'::timestamp) - extract(epoch from '2026-07-21 14:14:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824244 -2.624785)'), GeomFromEWKT('SRID=4674;POINT (-39.82423 -2.624787)'))) / (select extract(epoch from '2026-07-21 14:14:30'::timestamp) - extract(epoch from '2026-07-21 14:14:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.824127 -2.624835)', '2026-07-21 14:14:37', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82423 -2.624787)'), GeomFromEWKT('SRID=4674;POINT (-39.824127 -2.624835)'))) / (select extract(epoch from '2026-07-21 14:14:37'::timestamp) - extract(epoch from '2026-07-21 14:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82423 -2.624787)'), GeomFromEWKT('SRID=4674;POINT (-39.824127 -2.624835)'))) / (select extract(epoch from '2026-07-21 14:14:37'::timestamp) - extract(epoch from '2026-07-21 14:14:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.824038 -2.624874)', '2026-07-21 14:14:43', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824127 -2.624835)'), GeomFromEWKT('SRID=4674;POINT (-39.824038 -2.624874)'))) / (select extract(epoch from '2026-07-21 14:14:43'::timestamp) - extract(epoch from '2026-07-21 14:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824127 -2.624835)'), GeomFromEWKT('SRID=4674;POINT (-39.824038 -2.624874)'))) / (select extract(epoch from '2026-07-21 14:14:43'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.823942 -2.624906)', '2026-07-21 14:14:49', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824038 -2.624874)'), GeomFromEWKT('SRID=4674;POINT (-39.823942 -2.624906)'))) / (select extract(epoch from '2026-07-21 14:14:49'::timestamp) - extract(epoch from '2026-07-21 14:14:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824038 -2.624874)'), GeomFromEWKT('SRID=4674;POINT (-39.823942 -2.624906)'))) / (select extract(epoch from '2026-07-21 14:14:49'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.823846 -2.624942)', '2026-07-21 14:14:55', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823942 -2.624906)'), GeomFromEWKT('SRID=4674;POINT (-39.823846 -2.624942)'))) / (select extract(epoch from '2026-07-21 14:14:55'::timestamp) - extract(epoch from '2026-07-21 14:14:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823942 -2.624906)'), GeomFromEWKT('SRID=4674;POINT (-39.823846 -2.624942)'))) / (select extract(epoch from '2026-07-21 14:14:55'::timestamp) - extract(epoch from '2026-07-21 14:14: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'), 47870, 'SRID=4674;POINT (-39.823762 -2.624962)', '2026-07-21 14:15:00', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823846 -2.624942)'), GeomFromEWKT('SRID=4674;POINT (-39.823762 -2.624962)'))) / (select extract(epoch from '2026-07-21 14:15:00'::timestamp) - extract(epoch from '2026-07-21 14:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823846 -2.624942)'), GeomFromEWKT('SRID=4674;POINT (-39.823762 -2.624962)'))) / (select extract(epoch from '2026-07-21 14:15:00'::timestamp) - extract(epoch from '2026-07-21 14:14: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'), 47870, 'SRID=4674;POINT (-39.823682 -2.624963)', '2026-07-21 14:15:04', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823762 -2.624962)'), GeomFromEWKT('SRID=4674;POINT (-39.823682 -2.624963)'))) / (select extract(epoch from '2026-07-21 14:15:04'::timestamp) - extract(epoch from '2026-07-21 14:15:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823762 -2.624962)'), GeomFromEWKT('SRID=4674;POINT (-39.823682 -2.624963)'))) / (select extract(epoch from '2026-07-21 14:15:04'::timestamp) - extract(epoch from '2026-07-21 14:15:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.82358 -2.624954)', '2026-07-21 14:15:10', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823682 -2.624963)'), GeomFromEWKT('SRID=4674;POINT (-39.82358 -2.624954)'))) / (select extract(epoch from '2026-07-21 14:15:10'::timestamp) - extract(epoch from '2026-07-21 14:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823682 -2.624963)'), GeomFromEWKT('SRID=4674;POINT (-39.82358 -2.624954)'))) / (select extract(epoch from '2026-07-21 14:15:10'::timestamp) - extract(epoch from '2026-07-21 14:15: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'), 47870, 'SRID=4674;POINT (-39.823532 -2.624936)', '2026-07-21 14:15:13', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82358 -2.624954)'), GeomFromEWKT('SRID=4674;POINT (-39.823532 -2.624936)'))) / (select extract(epoch from '2026-07-21 14:15:13'::timestamp) - extract(epoch from '2026-07-21 14:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82358 -2.624954)'), GeomFromEWKT('SRID=4674;POINT (-39.823532 -2.624936)'))) / (select extract(epoch from '2026-07-21 14:15:13'::timestamp) - extract(epoch from '2026-07-21 14:15:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.823511 -2.624909)', '2026-07-21 14:15:15', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823532 -2.624936)'), GeomFromEWKT('SRID=4674;POINT (-39.823511 -2.624909)'))) / (select extract(epoch from '2026-07-21 14:15:15'::timestamp) - extract(epoch from '2026-07-21 14:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823532 -2.624936)'), GeomFromEWKT('SRID=4674;POINT (-39.823511 -2.624909)'))) / (select extract(epoch from '2026-07-21 14:15:15'::timestamp) - extract(epoch from '2026-07-21 14:15: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'), 47870, 'SRID=4674;POINT (-39.823465 -2.624858)', '2026-07-21 14:15:20', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823511 -2.624909)'), GeomFromEWKT('SRID=4674;POINT (-39.823465 -2.624858)'))) / (select extract(epoch from '2026-07-21 14:15:20'::timestamp) - extract(epoch from '2026-07-21 14:15:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823511 -2.624909)'), GeomFromEWKT('SRID=4674;POINT (-39.823465 -2.624858)'))) / (select extract(epoch from '2026-07-21 14:15:20'::timestamp) - extract(epoch from '2026-07-21 14:15:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.823446 -2.624816)', '2026-07-21 14:15:25', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823465 -2.624858)'), GeomFromEWKT('SRID=4674;POINT (-39.823446 -2.624816)'))) / (select extract(epoch from '2026-07-21 14:15:25'::timestamp) - extract(epoch from '2026-07-21 14:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823465 -2.624858)'), GeomFromEWKT('SRID=4674;POINT (-39.823446 -2.624816)'))) / (select extract(epoch from '2026-07-21 14:15:25'::timestamp) - extract(epoch from '2026-07-21 14:15:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.823431 -2.624779)', '2026-07-21 14:15:32', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823446 -2.624816)'), GeomFromEWKT('SRID=4674;POINT (-39.823431 -2.624779)'))) / (select extract(epoch from '2026-07-21 14:15:32'::timestamp) - extract(epoch from '2026-07-21 14:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823446 -2.624816)'), GeomFromEWKT('SRID=4674;POINT (-39.823431 -2.624779)'))) / (select extract(epoch from '2026-07-21 14:15:32'::timestamp) - extract(epoch from '2026-07-21 14:15:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.823426 -2.624757)', '2026-07-21 14:15:39', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823431 -2.624779)'), GeomFromEWKT('SRID=4674;POINT (-39.823426 -2.624757)'))) / (select extract(epoch from '2026-07-21 14:15:39'::timestamp) - extract(epoch from '2026-07-21 14:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823431 -2.624779)'), GeomFromEWKT('SRID=4674;POINT (-39.823426 -2.624757)'))) / (select extract(epoch from '2026-07-21 14:15:39'::timestamp) - extract(epoch from '2026-07-21 14:15:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.823422 -2.624743)', '2026-07-21 14:15:45', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823426 -2.624757)'), GeomFromEWKT('SRID=4674;POINT (-39.823422 -2.624743)'))) / (select extract(epoch from '2026-07-21 14:15:45'::timestamp) - extract(epoch from '2026-07-21 14:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823426 -2.624757)'), GeomFromEWKT('SRID=4674;POINT (-39.823422 -2.624743)'))) / (select extract(epoch from '2026-07-21 14:15:45'::timestamp) - extract(epoch from '2026-07-21 14:15: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'), 47870, 'SRID=4674;POINT (-39.823448 -2.62471)', '2026-07-21 14:15:57', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823422 -2.624743)'), GeomFromEWKT('SRID=4674;POINT (-39.823448 -2.62471)'))) / (select extract(epoch from '2026-07-21 14:15:57'::timestamp) - extract(epoch from '2026-07-21 14:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823422 -2.624743)'), GeomFromEWKT('SRID=4674;POINT (-39.823448 -2.62471)'))) / (select extract(epoch from '2026-07-21 14:15:57'::timestamp) - extract(epoch from '2026-07-21 14:15:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.823463 -2.624682)', '2026-07-21 14:16:04', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823448 -2.62471)'), GeomFromEWKT('SRID=4674;POINT (-39.823463 -2.624682)'))) / (select extract(epoch from '2026-07-21 14:16:04'::timestamp) - extract(epoch from '2026-07-21 14:15:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823448 -2.62471)'), GeomFromEWKT('SRID=4674;POINT (-39.823463 -2.624682)'))) / (select extract(epoch from '2026-07-21 14:16:04'::timestamp) - extract(epoch from '2026-07-21 14:15: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'), 47870, 'SRID=4674;POINT (-39.82348 -2.624657)', '2026-07-21 14:16:10', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823463 -2.624682)'), GeomFromEWKT('SRID=4674;POINT (-39.82348 -2.624657)'))) / (select extract(epoch from '2026-07-21 14:16:10'::timestamp) - extract(epoch from '2026-07-21 14:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823463 -2.624682)'), GeomFromEWKT('SRID=4674;POINT (-39.82348 -2.624657)'))) / (select extract(epoch from '2026-07-21 14:16:10'::timestamp) - extract(epoch from '2026-07-21 14:16:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.823478 -2.624635)', '2026-07-21 14:16:16', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82348 -2.624657)'), GeomFromEWKT('SRID=4674;POINT (-39.823478 -2.624635)'))) / (select extract(epoch from '2026-07-21 14:16:16'::timestamp) - extract(epoch from '2026-07-21 14:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82348 -2.624657)'), GeomFromEWKT('SRID=4674;POINT (-39.823478 -2.624635)'))) / (select extract(epoch from '2026-07-21 14:16:16'::timestamp) - extract(epoch from '2026-07-21 14:16: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'), 47870, 'SRID=4674;POINT (-39.823507 -2.624603)', '2026-07-21 14:16:23', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823478 -2.624635)'), GeomFromEWKT('SRID=4674;POINT (-39.823507 -2.624603)'))) / (select extract(epoch from '2026-07-21 14:16:23'::timestamp) - extract(epoch from '2026-07-21 14:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823478 -2.624635)'), GeomFromEWKT('SRID=4674;POINT (-39.823507 -2.624603)'))) / (select extract(epoch from '2026-07-21 14:16:23'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.823518 -2.62458)', '2026-07-21 14:16:28', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823507 -2.624603)'), GeomFromEWKT('SRID=4674;POINT (-39.823518 -2.62458)'))) / (select extract(epoch from '2026-07-21 14:16:28'::timestamp) - extract(epoch from '2026-07-21 14:16:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823507 -2.624603)'), GeomFromEWKT('SRID=4674;POINT (-39.823518 -2.62458)'))) / (select extract(epoch from '2026-07-21 14:16:28'::timestamp) - extract(epoch from '2026-07-21 14:16: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'), 47870, 'SRID=4674;POINT (-39.82353 -2.624566)', '2026-07-21 14:16:33', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823518 -2.62458)'), GeomFromEWKT('SRID=4674;POINT (-39.82353 -2.624566)'))) / (select extract(epoch from '2026-07-21 14:16:33'::timestamp) - extract(epoch from '2026-07-21 14:16:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823518 -2.62458)'), GeomFromEWKT('SRID=4674;POINT (-39.82353 -2.624566)'))) / (select extract(epoch from '2026-07-21 14:16:33'::timestamp) - extract(epoch from '2026-07-21 14:16: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'), 47870, 'SRID=4674;POINT (-39.823546 -2.624557)', '2026-07-21 14:16:37', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82353 -2.624566)'), GeomFromEWKT('SRID=4674;POINT (-39.823546 -2.624557)'))) / (select extract(epoch from '2026-07-21 14:16:37'::timestamp) - extract(epoch from '2026-07-21 14:16:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82353 -2.624566)'), GeomFromEWKT('SRID=4674;POINT (-39.823546 -2.624557)'))) / (select extract(epoch from '2026-07-21 14:16:37'::timestamp) - extract(epoch from '2026-07-21 14:16:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.823546 -2.624549)', '2026-07-21 14:16:39', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823546 -2.624557)'), GeomFromEWKT('SRID=4674;POINT (-39.823546 -2.624549)'))) / (select extract(epoch from '2026-07-21 14:16:39'::timestamp) - extract(epoch from '2026-07-21 14:16:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823546 -2.624557)'), GeomFromEWKT('SRID=4674;POINT (-39.823546 -2.624549)'))) / (select extract(epoch from '2026-07-21 14:16:39'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.823553 -2.624539)', '2026-07-21 14:16:46', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823546 -2.624549)'), GeomFromEWKT('SRID=4674;POINT (-39.823553 -2.624539)'))) / (select extract(epoch from '2026-07-21 14:16:46'::timestamp) - extract(epoch from '2026-07-21 14:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823546 -2.624549)'), GeomFromEWKT('SRID=4674;POINT (-39.823553 -2.624539)'))) / (select extract(epoch from '2026-07-21 14:16:46'::timestamp) - extract(epoch from '2026-07-21 14:16:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.823575 -2.624494)', '2026-07-21 14:17:04', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823553 -2.624539)'), GeomFromEWKT('SRID=4674;POINT (-39.823575 -2.624494)'))) / (select extract(epoch from '2026-07-21 14:17:04'::timestamp) - extract(epoch from '2026-07-21 14:16:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823553 -2.624539)'), GeomFromEWKT('SRID=4674;POINT (-39.823575 -2.624494)'))) / (select extract(epoch from '2026-07-21 14:17:04'::timestamp) - extract(epoch from '2026-07-21 14:16:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.823588 -2.62447)', '2026-07-21 14:17:09', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823575 -2.624494)'), GeomFromEWKT('SRID=4674;POINT (-39.823588 -2.62447)'))) / (select extract(epoch from '2026-07-21 14:17:09'::timestamp) - extract(epoch from '2026-07-21 14:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823575 -2.624494)'), GeomFromEWKT('SRID=4674;POINT (-39.823588 -2.62447)'))) / (select extract(epoch from '2026-07-21 14:17:09'::timestamp) - extract(epoch from '2026-07-21 14:17: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'), 47870, 'SRID=4674;POINT (-39.823608 -2.624443)', '2026-07-21 14:17:17', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823588 -2.62447)'), GeomFromEWKT('SRID=4674;POINT (-39.823608 -2.624443)'))) / (select extract(epoch from '2026-07-21 14:17:17'::timestamp) - extract(epoch from '2026-07-21 14:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823588 -2.62447)'), GeomFromEWKT('SRID=4674;POINT (-39.823608 -2.624443)'))) / (select extract(epoch from '2026-07-21 14:17:17'::timestamp) - extract(epoch from '2026-07-21 14:17: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'), 47870, 'SRID=4674;POINT (-39.823623 -2.624426)', '2026-07-21 14:17:23', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823608 -2.624443)'), GeomFromEWKT('SRID=4674;POINT (-39.823623 -2.624426)'))) / (select extract(epoch from '2026-07-21 14:17:23'::timestamp) - extract(epoch from '2026-07-21 14:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823608 -2.624443)'), GeomFromEWKT('SRID=4674;POINT (-39.823623 -2.624426)'))) / (select extract(epoch from '2026-07-21 14:17:23'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.823653 -2.624426)', '2026-07-21 14:17:30', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823623 -2.624426)'), GeomFromEWKT('SRID=4674;POINT (-39.823653 -2.624426)'))) / (select extract(epoch from '2026-07-21 14:17:30'::timestamp) - extract(epoch from '2026-07-21 14:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823623 -2.624426)'), GeomFromEWKT('SRID=4674;POINT (-39.823653 -2.624426)'))) / (select extract(epoch from '2026-07-21 14:17:30'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.823668 -2.62443)', '2026-07-21 14:17:38', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823653 -2.624426)'), GeomFromEWKT('SRID=4674;POINT (-39.823668 -2.62443)'))) / (select extract(epoch from '2026-07-21 14:17:38'::timestamp) - extract(epoch from '2026-07-21 14:17:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823653 -2.624426)'), GeomFromEWKT('SRID=4674;POINT (-39.823668 -2.62443)'))) / (select extract(epoch from '2026-07-21 14:17:38'::timestamp) - extract(epoch from '2026-07-21 14:17: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'), 47870, 'SRID=4674;POINT (-39.823739 -2.624404)', '2026-07-21 14:17:55', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823668 -2.62443)'), GeomFromEWKT('SRID=4674;POINT (-39.823739 -2.624404)'))) / (select extract(epoch from '2026-07-21 14:17:55'::timestamp) - extract(epoch from '2026-07-21 14:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823668 -2.62443)'), GeomFromEWKT('SRID=4674;POINT (-39.823739 -2.624404)'))) / (select extract(epoch from '2026-07-21 14:17:55'::timestamp) - extract(epoch from '2026-07-21 14:17: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'), 47870, 'SRID=4674;POINT (-39.823781 -2.62437)', '2026-07-21 14:18:03', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823739 -2.624404)'), GeomFromEWKT('SRID=4674;POINT (-39.823781 -2.62437)'))) / (select extract(epoch from '2026-07-21 14:18:03'::timestamp) - extract(epoch from '2026-07-21 14:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823739 -2.624404)'), GeomFromEWKT('SRID=4674;POINT (-39.823781 -2.62437)'))) / (select extract(epoch from '2026-07-21 14:18:03'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.823816 -2.624317)', '2026-07-21 14:18:14', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823781 -2.62437)'), GeomFromEWKT('SRID=4674;POINT (-39.823816 -2.624317)'))) / (select extract(epoch from '2026-07-21 14:18:14'::timestamp) - extract(epoch from '2026-07-21 14:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823781 -2.62437)'), GeomFromEWKT('SRID=4674;POINT (-39.823816 -2.624317)'))) / (select extract(epoch from '2026-07-21 14:18:14'::timestamp) - extract(epoch from '2026-07-21 14:18:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.823807 -2.624297)', '2026-07-21 14:18:23', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823816 -2.624317)'), GeomFromEWKT('SRID=4674;POINT (-39.823807 -2.624297)'))) / (select extract(epoch from '2026-07-21 14:18:23'::timestamp) - extract(epoch from '2026-07-21 14:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823816 -2.624317)'), GeomFromEWKT('SRID=4674;POINT (-39.823807 -2.624297)'))) / (select extract(epoch from '2026-07-21 14:18:23'::timestamp) - extract(epoch from '2026-07-21 14:18: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'), 47870, 'SRID=4674;POINT (-39.823796 -2.624278)', '2026-07-21 14:18:30', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823807 -2.624297)'), GeomFromEWKT('SRID=4674;POINT (-39.823796 -2.624278)'))) / (select extract(epoch from '2026-07-21 14:18:30'::timestamp) - extract(epoch from '2026-07-21 14:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823807 -2.624297)'), GeomFromEWKT('SRID=4674;POINT (-39.823796 -2.624278)'))) / (select extract(epoch from '2026-07-21 14:18:30'::timestamp) - extract(epoch from '2026-07-21 14:18:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.82373 -2.624243)', '2026-07-21 14:18:55', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823796 -2.624278)'), GeomFromEWKT('SRID=4674;POINT (-39.82373 -2.624243)'))) / (select extract(epoch from '2026-07-21 14:18:55'::timestamp) - extract(epoch from '2026-07-21 14:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823796 -2.624278)'), GeomFromEWKT('SRID=4674;POINT (-39.82373 -2.624243)'))) / (select extract(epoch from '2026-07-21 14:18:55'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.823686 -2.624265)', '2026-07-21 14:18:59', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82373 -2.624243)'), GeomFromEWKT('SRID=4674;POINT (-39.823686 -2.624265)'))) / (select extract(epoch from '2026-07-21 14:18:59'::timestamp) - extract(epoch from '2026-07-21 14:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82373 -2.624243)'), GeomFromEWKT('SRID=4674;POINT (-39.823686 -2.624265)'))) / (select extract(epoch from '2026-07-21 14:18:59'::timestamp) - extract(epoch from '2026-07-21 14:18:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.823643 -2.624296)', '2026-07-21 14:19:03', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823686 -2.624265)'), GeomFromEWKT('SRID=4674;POINT (-39.823643 -2.624296)'))) / (select extract(epoch from '2026-07-21 14:19:03'::timestamp) - extract(epoch from '2026-07-21 14:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823686 -2.624265)'), GeomFromEWKT('SRID=4674;POINT (-39.823643 -2.624296)'))) / (select extract(epoch from '2026-07-21 14:19:03'::timestamp) - extract(epoch from '2026-07-21 14:18: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'), 47870, 'SRID=4674;POINT (-39.823573 -2.624339)', '2026-07-21 14:19:08', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823643 -2.624296)'), GeomFromEWKT('SRID=4674;POINT (-39.823573 -2.624339)'))) / (select extract(epoch from '2026-07-21 14:19:08'::timestamp) - extract(epoch from '2026-07-21 14:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823643 -2.624296)'), GeomFromEWKT('SRID=4674;POINT (-39.823573 -2.624339)'))) / (select extract(epoch from '2026-07-21 14:19:08'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.823493 -2.624371)', '2026-07-21 14:19:13', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823573 -2.624339)'), GeomFromEWKT('SRID=4674;POINT (-39.823493 -2.624371)'))) / (select extract(epoch from '2026-07-21 14:19:13'::timestamp) - extract(epoch from '2026-07-21 14:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823573 -2.624339)'), GeomFromEWKT('SRID=4674;POINT (-39.823493 -2.624371)'))) / (select extract(epoch from '2026-07-21 14:19:13'::timestamp) - extract(epoch from '2026-07-21 14:19: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'), 47870, 'SRID=4674;POINT (-39.823429 -2.624384)', '2026-07-21 14:19:17', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823493 -2.624371)'), GeomFromEWKT('SRID=4674;POINT (-39.823429 -2.624384)'))) / (select extract(epoch from '2026-07-21 14:19:17'::timestamp) - extract(epoch from '2026-07-21 14:19:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823493 -2.624371)'), GeomFromEWKT('SRID=4674;POINT (-39.823429 -2.624384)'))) / (select extract(epoch from '2026-07-21 14:19:17'::timestamp) - extract(epoch from '2026-07-21 14:19: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'), 47870, 'SRID=4674;POINT (-39.823351 -2.624397)', '2026-07-21 14:19:21', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823429 -2.624384)'), GeomFromEWKT('SRID=4674;POINT (-39.823351 -2.624397)'))) / (select extract(epoch from '2026-07-21 14:19:21'::timestamp) - extract(epoch from '2026-07-21 14:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823429 -2.624384)'), GeomFromEWKT('SRID=4674;POINT (-39.823351 -2.624397)'))) / (select extract(epoch from '2026-07-21 14:19:21'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.823256 -2.624423)', '2026-07-21 14:19:26', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823351 -2.624397)'), GeomFromEWKT('SRID=4674;POINT (-39.823256 -2.624423)'))) / (select extract(epoch from '2026-07-21 14:19:26'::timestamp) - extract(epoch from '2026-07-21 14:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823351 -2.624397)'), GeomFromEWKT('SRID=4674;POINT (-39.823256 -2.624423)'))) / (select extract(epoch from '2026-07-21 14:19:26'::timestamp) - extract(epoch from '2026-07-21 14:19:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.823186 -2.624449)', '2026-07-21 14:19:30', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823256 -2.624423)'), GeomFromEWKT('SRID=4674;POINT (-39.823186 -2.624449)'))) / (select extract(epoch from '2026-07-21 14:19:30'::timestamp) - extract(epoch from '2026-07-21 14:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823256 -2.624423)'), GeomFromEWKT('SRID=4674;POINT (-39.823186 -2.624449)'))) / (select extract(epoch from '2026-07-21 14:19:30'::timestamp) - extract(epoch from '2026-07-21 14:19: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'), 47870, 'SRID=4674;POINT (-39.823123 -2.624477)', '2026-07-21 14:19:34', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823186 -2.624449)'), GeomFromEWKT('SRID=4674;POINT (-39.823123 -2.624477)'))) / (select extract(epoch from '2026-07-21 14:19:34'::timestamp) - extract(epoch from '2026-07-21 14:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823186 -2.624449)'), GeomFromEWKT('SRID=4674;POINT (-39.823123 -2.624477)'))) / (select extract(epoch from '2026-07-21 14:19:34'::timestamp) - extract(epoch from '2026-07-21 14:19: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'), 47870, 'SRID=4674;POINT (-39.823025 -2.624528)', '2026-07-21 14:19:40', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823123 -2.624477)'), GeomFromEWKT('SRID=4674;POINT (-39.823025 -2.624528)'))) / (select extract(epoch from '2026-07-21 14:19:40'::timestamp) - extract(epoch from '2026-07-21 14:19:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823123 -2.624477)'), GeomFromEWKT('SRID=4674;POINT (-39.823025 -2.624528)'))) / (select extract(epoch from '2026-07-21 14:19:40'::timestamp) - extract(epoch from '2026-07-21 14:19: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'), 47870, 'SRID=4674;POINT (-39.822935 -2.624544)', '2026-07-21 14:19:45', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823025 -2.624528)'), GeomFromEWKT('SRID=4674;POINT (-39.822935 -2.624544)'))) / (select extract(epoch from '2026-07-21 14:19:45'::timestamp) - extract(epoch from '2026-07-21 14:19:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823025 -2.624528)'), GeomFromEWKT('SRID=4674;POINT (-39.822935 -2.624544)'))) / (select extract(epoch from '2026-07-21 14:19:45'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.82285 -2.624558)', '2026-07-21 14:19:49', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822935 -2.624544)'), GeomFromEWKT('SRID=4674;POINT (-39.82285 -2.624558)'))) / (select extract(epoch from '2026-07-21 14:19:49'::timestamp) - extract(epoch from '2026-07-21 14:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822935 -2.624544)'), GeomFromEWKT('SRID=4674;POINT (-39.82285 -2.624558)'))) / (select extract(epoch from '2026-07-21 14:19:49'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.822747 -2.624576)', '2026-07-21 14:19:54', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82285 -2.624558)'), GeomFromEWKT('SRID=4674;POINT (-39.822747 -2.624576)'))) / (select extract(epoch from '2026-07-21 14:19:54'::timestamp) - extract(epoch from '2026-07-21 14:19:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82285 -2.624558)'), GeomFromEWKT('SRID=4674;POINT (-39.822747 -2.624576)'))) / (select extract(epoch from '2026-07-21 14:19:54'::timestamp) - extract(epoch from '2026-07-21 14:19:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.822659 -2.624612)', '2026-07-21 14:19:59', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822747 -2.624576)'), GeomFromEWKT('SRID=4674;POINT (-39.822659 -2.624612)'))) / (select extract(epoch from '2026-07-21 14:19:59'::timestamp) - extract(epoch from '2026-07-21 14:19:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822747 -2.624576)'), GeomFromEWKT('SRID=4674;POINT (-39.822659 -2.624612)'))) / (select extract(epoch from '2026-07-21 14:19:59'::timestamp) - extract(epoch from '2026-07-21 14:19: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'), 47870, 'SRID=4674;POINT (-39.822573 -2.624652)', '2026-07-21 14:20:04', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822659 -2.624612)'), GeomFromEWKT('SRID=4674;POINT (-39.822573 -2.624652)'))) / (select extract(epoch from '2026-07-21 14:20:04'::timestamp) - extract(epoch from '2026-07-21 14:19:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822659 -2.624612)'), GeomFromEWKT('SRID=4674;POINT (-39.822573 -2.624652)'))) / (select extract(epoch from '2026-07-21 14:20:04'::timestamp) - extract(epoch from '2026-07-21 14:19: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'), 47870, 'SRID=4674;POINT (-39.822508 -2.624713)', '2026-07-21 14:20:09', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822573 -2.624652)'), GeomFromEWKT('SRID=4674;POINT (-39.822508 -2.624713)'))) / (select extract(epoch from '2026-07-21 14:20:09'::timestamp) - extract(epoch from '2026-07-21 14:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822573 -2.624652)'), GeomFromEWKT('SRID=4674;POINT (-39.822508 -2.624713)'))) / (select extract(epoch from '2026-07-21 14:20:09'::timestamp) - extract(epoch from '2026-07-21 14:20:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.822446 -2.624779)', '2026-07-21 14:20:15', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822508 -2.624713)'), GeomFromEWKT('SRID=4674;POINT (-39.822446 -2.624779)'))) / (select extract(epoch from '2026-07-21 14:20:15'::timestamp) - extract(epoch from '2026-07-21 14:20:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822508 -2.624713)'), GeomFromEWKT('SRID=4674;POINT (-39.822446 -2.624779)'))) / (select extract(epoch from '2026-07-21 14:20:15'::timestamp) - extract(epoch from '2026-07-21 14:20: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'), 47870, 'SRID=4674;POINT (-39.822361 -2.624806)', '2026-07-21 14:20:21', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822446 -2.624779)'), GeomFromEWKT('SRID=4674;POINT (-39.822361 -2.624806)'))) / (select extract(epoch from '2026-07-21 14:20:21'::timestamp) - extract(epoch from '2026-07-21 14:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822446 -2.624779)'), GeomFromEWKT('SRID=4674;POINT (-39.822361 -2.624806)'))) / (select extract(epoch from '2026-07-21 14:20:21'::timestamp) - extract(epoch from '2026-07-21 14:20:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.822273 -2.6248)', '2026-07-21 14:20:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822361 -2.624806)'), GeomFromEWKT('SRID=4674;POINT (-39.822273 -2.6248)'))) / (select extract(epoch from '2026-07-21 14:20:27'::timestamp) - extract(epoch from '2026-07-21 14:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822361 -2.624806)'), GeomFromEWKT('SRID=4674;POINT (-39.822273 -2.6248)'))) / (select extract(epoch from '2026-07-21 14:20:27'::timestamp) - extract(epoch from '2026-07-21 14:20: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'), 47870, 'SRID=4674;POINT (-39.822214 -2.624787)', '2026-07-21 14:20:32', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822273 -2.6248)'), GeomFromEWKT('SRID=4674;POINT (-39.822214 -2.624787)'))) / (select extract(epoch from '2026-07-21 14:20:32'::timestamp) - extract(epoch from '2026-07-21 14:20:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822273 -2.6248)'), GeomFromEWKT('SRID=4674;POINT (-39.822214 -2.624787)'))) / (select extract(epoch from '2026-07-21 14:20:32'::timestamp) - extract(epoch from '2026-07-21 14:20: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'), 47870, 'SRID=4674;POINT (-39.822194 -2.624767)', '2026-07-21 14:20:36', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822214 -2.624787)'), GeomFromEWKT('SRID=4674;POINT (-39.822194 -2.624767)'))) / (select extract(epoch from '2026-07-21 14:20:36'::timestamp) - extract(epoch from '2026-07-21 14:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822214 -2.624787)'), GeomFromEWKT('SRID=4674;POINT (-39.822194 -2.624767)'))) / (select extract(epoch from '2026-07-21 14:20:36'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.822175 -2.624752)', '2026-07-21 14:20:39', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822194 -2.624767)'), GeomFromEWKT('SRID=4674;POINT (-39.822175 -2.624752)'))) / (select extract(epoch from '2026-07-21 14:20:39'::timestamp) - extract(epoch from '2026-07-21 14:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822194 -2.624767)'), GeomFromEWKT('SRID=4674;POINT (-39.822175 -2.624752)'))) / (select extract(epoch from '2026-07-21 14:20:39'::timestamp) - extract(epoch from '2026-07-21 14:20: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'), 47870, 'SRID=4674;POINT (-39.822163 -2.624738)', '2026-07-21 14:20:41', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822175 -2.624752)'), GeomFromEWKT('SRID=4674;POINT (-39.822163 -2.624738)'))) / (select extract(epoch from '2026-07-21 14:20:41'::timestamp) - extract(epoch from '2026-07-21 14:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822175 -2.624752)'), GeomFromEWKT('SRID=4674;POINT (-39.822163 -2.624738)'))) / (select extract(epoch from '2026-07-21 14:20:41'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.822129 -2.624699)', '2026-07-21 14:20:47', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822163 -2.624738)'), GeomFromEWKT('SRID=4674;POINT (-39.822129 -2.624699)'))) / (select extract(epoch from '2026-07-21 14:20:47'::timestamp) - extract(epoch from '2026-07-21 14:20:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822163 -2.624738)'), GeomFromEWKT('SRID=4674;POINT (-39.822129 -2.624699)'))) / (select extract(epoch from '2026-07-21 14:20:47'::timestamp) - extract(epoch from '2026-07-21 14:20: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'), 47870, 'SRID=4674;POINT (-39.822102 -2.624676)', '2026-07-21 14:20:54', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822129 -2.624699)'), GeomFromEWKT('SRID=4674;POINT (-39.822102 -2.624676)'))) / (select extract(epoch from '2026-07-21 14:20:54'::timestamp) - extract(epoch from '2026-07-21 14:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822129 -2.624699)'), GeomFromEWKT('SRID=4674;POINT (-39.822102 -2.624676)'))) / (select extract(epoch from '2026-07-21 14:20:54'::timestamp) - extract(epoch from '2026-07-21 14:20: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'), 47870, 'SRID=4674;POINT (-39.822083 -2.624657)', '2026-07-21 14:21:03', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822102 -2.624676)'), GeomFromEWKT('SRID=4674;POINT (-39.822083 -2.624657)'))) / (select extract(epoch from '2026-07-21 14:21:03'::timestamp) - extract(epoch from '2026-07-21 14:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822102 -2.624676)'), GeomFromEWKT('SRID=4674;POINT (-39.822083 -2.624657)'))) / (select extract(epoch from '2026-07-21 14:21:03'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.822079 -2.624648)', '2026-07-21 14:21:04', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822083 -2.624657)'), GeomFromEWKT('SRID=4674;POINT (-39.822079 -2.624648)'))) / (select extract(epoch from '2026-07-21 14:21:04'::timestamp) - extract(epoch from '2026-07-21 14:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822083 -2.624657)'), GeomFromEWKT('SRID=4674;POINT (-39.822079 -2.624648)'))) / (select extract(epoch from '2026-07-21 14:21:04'::timestamp) - extract(epoch from '2026-07-21 14:21:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.822083 -2.624636)', '2026-07-21 14:21:09', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822079 -2.624648)'), GeomFromEWKT('SRID=4674;POINT (-39.822083 -2.624636)'))) / (select extract(epoch from '2026-07-21 14:21:09'::timestamp) - extract(epoch from '2026-07-21 14:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822079 -2.624648)'), GeomFromEWKT('SRID=4674;POINT (-39.822083 -2.624636)'))) / (select extract(epoch from '2026-07-21 14:21:09'::timestamp) - extract(epoch from '2026-07-21 14:21:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.822087 -2.62461)', '2026-07-21 14:21:16', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822083 -2.624636)'), GeomFromEWKT('SRID=4674;POINT (-39.822087 -2.62461)'))) / (select extract(epoch from '2026-07-21 14:21:16'::timestamp) - extract(epoch from '2026-07-21 14:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822083 -2.624636)'), GeomFromEWKT('SRID=4674;POINT (-39.822087 -2.62461)'))) / (select extract(epoch from '2026-07-21 14:21:16'::timestamp) - extract(epoch from '2026-07-21 14:21: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'), 47870, 'SRID=4674;POINT (-39.822094 -2.624595)', '2026-07-21 14:21:21', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822087 -2.62461)'), GeomFromEWKT('SRID=4674;POINT (-39.822094 -2.624595)'))) / (select extract(epoch from '2026-07-21 14:21:21'::timestamp) - extract(epoch from '2026-07-21 14:21:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822087 -2.62461)'), GeomFromEWKT('SRID=4674;POINT (-39.822094 -2.624595)'))) / (select extract(epoch from '2026-07-21 14:21:21'::timestamp) - extract(epoch from '2026-07-21 14:21:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.822097 -2.624577)', '2026-07-21 14:21:26', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822094 -2.624595)'), GeomFromEWKT('SRID=4674;POINT (-39.822097 -2.624577)'))) / (select extract(epoch from '2026-07-21 14:21:26'::timestamp) - extract(epoch from '2026-07-21 14:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822094 -2.624595)'), GeomFromEWKT('SRID=4674;POINT (-39.822097 -2.624577)'))) / (select extract(epoch from '2026-07-21 14:21:26'::timestamp) - extract(epoch from '2026-07-21 14:21:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.822127 -2.624558)', '2026-07-21 14:21:33', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822097 -2.624577)'), GeomFromEWKT('SRID=4674;POINT (-39.822127 -2.624558)'))) / (select extract(epoch from '2026-07-21 14:21:33'::timestamp) - extract(epoch from '2026-07-21 14:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822097 -2.624577)'), GeomFromEWKT('SRID=4674;POINT (-39.822127 -2.624558)'))) / (select extract(epoch from '2026-07-21 14:21:33'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.822137 -2.624543)', '2026-07-21 14:21:37', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822127 -2.624558)'), GeomFromEWKT('SRID=4674;POINT (-39.822137 -2.624543)'))) / (select extract(epoch from '2026-07-21 14:21:37'::timestamp) - extract(epoch from '2026-07-21 14:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822127 -2.624558)'), GeomFromEWKT('SRID=4674;POINT (-39.822137 -2.624543)'))) / (select extract(epoch from '2026-07-21 14:21:37'::timestamp) - extract(epoch from '2026-07-21 14:21: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'), 47870, 'SRID=4674;POINT (-39.82216 -2.624517)', '2026-07-21 14:21:44', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822137 -2.624543)'), GeomFromEWKT('SRID=4674;POINT (-39.82216 -2.624517)'))) / (select extract(epoch from '2026-07-21 14:21:44'::timestamp) - extract(epoch from '2026-07-21 14:21:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822137 -2.624543)'), GeomFromEWKT('SRID=4674;POINT (-39.82216 -2.624517)'))) / (select extract(epoch from '2026-07-21 14:21:44'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.822182 -2.624487)', '2026-07-21 14:21:52', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82216 -2.624517)'), GeomFromEWKT('SRID=4674;POINT (-39.822182 -2.624487)'))) / (select extract(epoch from '2026-07-21 14:21:52'::timestamp) - extract(epoch from '2026-07-21 14:21:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82216 -2.624517)'), GeomFromEWKT('SRID=4674;POINT (-39.822182 -2.624487)'))) / (select extract(epoch from '2026-07-21 14:21:52'::timestamp) - extract(epoch from '2026-07-21 14:21: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'), 47870, 'SRID=4674;POINT (-39.822216 -2.624476)', '2026-07-21 14:21:57', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822182 -2.624487)'), GeomFromEWKT('SRID=4674;POINT (-39.822216 -2.624476)'))) / (select extract(epoch from '2026-07-21 14:21:57'::timestamp) - extract(epoch from '2026-07-21 14:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822182 -2.624487)'), GeomFromEWKT('SRID=4674;POINT (-39.822216 -2.624476)'))) / (select extract(epoch from '2026-07-21 14:21:57'::timestamp) - extract(epoch from '2026-07-21 14:21:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.82226 -2.624476)', '2026-07-21 14:22:05', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822216 -2.624476)'), GeomFromEWKT('SRID=4674;POINT (-39.82226 -2.624476)'))) / (select extract(epoch from '2026-07-21 14:22:05'::timestamp) - extract(epoch from '2026-07-21 14:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822216 -2.624476)'), GeomFromEWKT('SRID=4674;POINT (-39.82226 -2.624476)'))) / (select extract(epoch from '2026-07-21 14:22:05'::timestamp) - extract(epoch from '2026-07-21 14:21:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.822299 -2.624491)', '2026-07-21 14:22:12', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82226 -2.624476)'), GeomFromEWKT('SRID=4674;POINT (-39.822299 -2.624491)'))) / (select extract(epoch from '2026-07-21 14:22:12'::timestamp) - extract(epoch from '2026-07-21 14:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82226 -2.624476)'), GeomFromEWKT('SRID=4674;POINT (-39.822299 -2.624491)'))) / (select extract(epoch from '2026-07-21 14:22:12'::timestamp) - extract(epoch from '2026-07-21 14:22:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.822313 -2.624491)', '2026-07-21 14:22:14', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822299 -2.624491)'), GeomFromEWKT('SRID=4674;POINT (-39.822313 -2.624491)'))) / (select extract(epoch from '2026-07-21 14:22:14'::timestamp) - extract(epoch from '2026-07-21 14:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822299 -2.624491)'), GeomFromEWKT('SRID=4674;POINT (-39.822313 -2.624491)'))) / (select extract(epoch from '2026-07-21 14:22:14'::timestamp) - extract(epoch from '2026-07-21 14:22: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'), 47870, 'SRID=4674;POINT (-39.822329 -2.624492)', '2026-07-21 14:22:17', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822313 -2.624491)'), GeomFromEWKT('SRID=4674;POINT (-39.822329 -2.624492)'))) / (select extract(epoch from '2026-07-21 14:22:17'::timestamp) - extract(epoch from '2026-07-21 14:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822313 -2.624491)'), GeomFromEWKT('SRID=4674;POINT (-39.822329 -2.624492)'))) / (select extract(epoch from '2026-07-21 14:22:17'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.822356 -2.624489)', '2026-07-21 14:22:24', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822329 -2.624492)'), GeomFromEWKT('SRID=4674;POINT (-39.822356 -2.624489)'))) / (select extract(epoch from '2026-07-21 14:22:24'::timestamp) - extract(epoch from '2026-07-21 14:22:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822329 -2.624492)'), GeomFromEWKT('SRID=4674;POINT (-39.822356 -2.624489)'))) / (select extract(epoch from '2026-07-21 14:22:24'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.822382 -2.624479)', '2026-07-21 14:22:31', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822356 -2.624489)'), GeomFromEWKT('SRID=4674;POINT (-39.822382 -2.624479)'))) / (select extract(epoch from '2026-07-21 14:22:31'::timestamp) - extract(epoch from '2026-07-21 14:22:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822356 -2.624489)'), GeomFromEWKT('SRID=4674;POINT (-39.822382 -2.624479)'))) / (select extract(epoch from '2026-07-21 14:22:31'::timestamp) - extract(epoch from '2026-07-21 14:22:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.822405 -2.624462)', '2026-07-21 14:22:37', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822382 -2.624479)'), GeomFromEWKT('SRID=4674;POINT (-39.822405 -2.624462)'))) / (select extract(epoch from '2026-07-21 14:22:37'::timestamp) - extract(epoch from '2026-07-21 14:22:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822382 -2.624479)'), GeomFromEWKT('SRID=4674;POINT (-39.822405 -2.624462)'))) / (select extract(epoch from '2026-07-21 14:22:37'::timestamp) - extract(epoch from '2026-07-21 14:22: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'), 47870, 'SRID=4674;POINT (-39.82243 -2.624438)', '2026-07-21 14:22:43', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822405 -2.624462)'), GeomFromEWKT('SRID=4674;POINT (-39.82243 -2.624438)'))) / (select extract(epoch from '2026-07-21 14:22:43'::timestamp) - extract(epoch from '2026-07-21 14:22:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822405 -2.624462)'), GeomFromEWKT('SRID=4674;POINT (-39.82243 -2.624438)'))) / (select extract(epoch from '2026-07-21 14:22:43'::timestamp) - extract(epoch from '2026-07-21 14:22:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.822448 -2.624422)', '2026-07-21 14:22:46', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82243 -2.624438)'), GeomFromEWKT('SRID=4674;POINT (-39.822448 -2.624422)'))) / (select extract(epoch from '2026-07-21 14:22:46'::timestamp) - extract(epoch from '2026-07-21 14:22:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82243 -2.624438)'), GeomFromEWKT('SRID=4674;POINT (-39.822448 -2.624422)'))) / (select extract(epoch from '2026-07-21 14:22:46'::timestamp) - extract(epoch from '2026-07-21 14:22: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'), 47870, 'SRID=4674;POINT (-39.822452 -2.624406)', '2026-07-21 14:22:49', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822448 -2.624422)'), GeomFromEWKT('SRID=4674;POINT (-39.822452 -2.624406)'))) / (select extract(epoch from '2026-07-21 14:22:49'::timestamp) - extract(epoch from '2026-07-21 14:22:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822448 -2.624422)'), GeomFromEWKT('SRID=4674;POINT (-39.822452 -2.624406)'))) / (select extract(epoch from '2026-07-21 14:22:49'::timestamp) - extract(epoch from '2026-07-21 14:22: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'), 47870, 'SRID=4674;POINT (-39.822444 -2.624381)', '2026-07-21 14:22:54', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822452 -2.624406)'), GeomFromEWKT('SRID=4674;POINT (-39.822444 -2.624381)'))) / (select extract(epoch from '2026-07-21 14:22:54'::timestamp) - extract(epoch from '2026-07-21 14:22:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822452 -2.624406)'), GeomFromEWKT('SRID=4674;POINT (-39.822444 -2.624381)'))) / (select extract(epoch from '2026-07-21 14:22:54'::timestamp) - extract(epoch from '2026-07-21 14:22:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.822416 -2.624386)', '2026-07-21 14:23:00', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822444 -2.624381)'), GeomFromEWKT('SRID=4674;POINT (-39.822416 -2.624386)'))) / (select extract(epoch from '2026-07-21 14:23:00'::timestamp) - extract(epoch from '2026-07-21 14:22:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822444 -2.624381)'), GeomFromEWKT('SRID=4674;POINT (-39.822416 -2.624386)'))) / (select extract(epoch from '2026-07-21 14:23:00'::timestamp) - extract(epoch from '2026-07-21 14:22:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.822374 -2.624424)', '2026-07-21 14:23:06', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822416 -2.624386)'), GeomFromEWKT('SRID=4674;POINT (-39.822374 -2.624424)'))) / (select extract(epoch from '2026-07-21 14:23:06'::timestamp) - extract(epoch from '2026-07-21 14:23:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822416 -2.624386)'), GeomFromEWKT('SRID=4674;POINT (-39.822374 -2.624424)'))) / (select extract(epoch from '2026-07-21 14:23:06'::timestamp) - extract(epoch from '2026-07-21 14:23: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'), 47870, 'SRID=4674;POINT (-39.822339 -2.624474)', '2026-07-21 14:23:11', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822374 -2.624424)'), GeomFromEWKT('SRID=4674;POINT (-39.822339 -2.624474)'))) / (select extract(epoch from '2026-07-21 14:23:11'::timestamp) - extract(epoch from '2026-07-21 14:23:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822374 -2.624424)'), GeomFromEWKT('SRID=4674;POINT (-39.822339 -2.624474)'))) / (select extract(epoch from '2026-07-21 14:23:11'::timestamp) - extract(epoch from '2026-07-21 14:23: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'), 47870, 'SRID=4674;POINT (-39.822333 -2.624481)', '2026-07-21 14:23:12', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822339 -2.624474)'), GeomFromEWKT('SRID=4674;POINT (-39.822333 -2.624481)'))) / (select extract(epoch from '2026-07-21 14:23:12'::timestamp) - extract(epoch from '2026-07-21 14:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822339 -2.624474)'), GeomFromEWKT('SRID=4674;POINT (-39.822333 -2.624481)'))) / (select extract(epoch from '2026-07-21 14:23:12'::timestamp) - extract(epoch from '2026-07-21 14:23:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.822292 -2.624512)', '2026-07-21 14:23:16', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822333 -2.624481)'), GeomFromEWKT('SRID=4674;POINT (-39.822292 -2.624512)'))) / (select extract(epoch from '2026-07-21 14:23:16'::timestamp) - extract(epoch from '2026-07-21 14:23:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822333 -2.624481)'), GeomFromEWKT('SRID=4674;POINT (-39.822292 -2.624512)'))) / (select extract(epoch from '2026-07-21 14:23:16'::timestamp) - extract(epoch from '2026-07-21 14:23:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.822282 -2.624523)', '2026-07-21 14:23:17', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822292 -2.624512)'), GeomFromEWKT('SRID=4674;POINT (-39.822282 -2.624523)'))) / (select extract(epoch from '2026-07-21 14:23:17'::timestamp) - extract(epoch from '2026-07-21 14:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822292 -2.624512)'), GeomFromEWKT('SRID=4674;POINT (-39.822282 -2.624523)'))) / (select extract(epoch from '2026-07-21 14:23:17'::timestamp) - extract(epoch from '2026-07-21 14:23:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.822233 -2.624567)', '2026-07-21 14:23:21', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822282 -2.624523)'), GeomFromEWKT('SRID=4674;POINT (-39.822233 -2.624567)'))) / (select extract(epoch from '2026-07-21 14:23:21'::timestamp) - extract(epoch from '2026-07-21 14:23:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822282 -2.624523)'), GeomFromEWKT('SRID=4674;POINT (-39.822233 -2.624567)'))) / (select extract(epoch from '2026-07-21 14:23:21'::timestamp) - extract(epoch from '2026-07-21 14:23:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.822178 -2.624608)', '2026-07-21 14:23:25', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822233 -2.624567)'), GeomFromEWKT('SRID=4674;POINT (-39.822178 -2.624608)'))) / (select extract(epoch from '2026-07-21 14:23:25'::timestamp) - extract(epoch from '2026-07-21 14:23:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822233 -2.624567)'), GeomFromEWKT('SRID=4674;POINT (-39.822178 -2.624608)'))) / (select extract(epoch from '2026-07-21 14:23:25'::timestamp) - extract(epoch from '2026-07-21 14:23: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'), 47870, 'SRID=4674;POINT (-39.822102 -2.62467)', '2026-07-21 14:23:31', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822178 -2.624608)'), GeomFromEWKT('SRID=4674;POINT (-39.822102 -2.62467)'))) / (select extract(epoch from '2026-07-21 14:23:31'::timestamp) - extract(epoch from '2026-07-21 14:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822178 -2.624608)'), GeomFromEWKT('SRID=4674;POINT (-39.822102 -2.62467)'))) / (select extract(epoch from '2026-07-21 14:23:31'::timestamp) - extract(epoch from '2026-07-21 14:23:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.822035 -2.624716)', '2026-07-21 14:23:36', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822102 -2.62467)'), GeomFromEWKT('SRID=4674;POINT (-39.822035 -2.624716)'))) / (select extract(epoch from '2026-07-21 14:23:36'::timestamp) - extract(epoch from '2026-07-21 14:23:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822102 -2.62467)'), GeomFromEWKT('SRID=4674;POINT (-39.822035 -2.624716)'))) / (select extract(epoch from '2026-07-21 14:23:36'::timestamp) - extract(epoch from '2026-07-21 14:23:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.822009 -2.624737)', '2026-07-21 14:23:38', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822035 -2.624716)'), GeomFromEWKT('SRID=4674;POINT (-39.822009 -2.624737)'))) / (select extract(epoch from '2026-07-21 14:23:38'::timestamp) - extract(epoch from '2026-07-21 14:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822035 -2.624716)'), GeomFromEWKT('SRID=4674;POINT (-39.822009 -2.624737)'))) / (select extract(epoch from '2026-07-21 14:23:38'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.821935 -2.624782)', '2026-07-21 14:23:43', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822009 -2.624737)'), GeomFromEWKT('SRID=4674;POINT (-39.821935 -2.624782)'))) / (select extract(epoch from '2026-07-21 14:23:43'::timestamp) - extract(epoch from '2026-07-21 14:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822009 -2.624737)'), GeomFromEWKT('SRID=4674;POINT (-39.821935 -2.624782)'))) / (select extract(epoch from '2026-07-21 14:23:43'::timestamp) - extract(epoch from '2026-07-21 14:23:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.821848 -2.624835)', '2026-07-21 14:23:49', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821935 -2.624782)'), GeomFromEWKT('SRID=4674;POINT (-39.821848 -2.624835)'))) / (select extract(epoch from '2026-07-21 14:23:49'::timestamp) - extract(epoch from '2026-07-21 14:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821935 -2.624782)'), GeomFromEWKT('SRID=4674;POINT (-39.821848 -2.624835)'))) / (select extract(epoch from '2026-07-21 14:23:49'::timestamp) - extract(epoch from '2026-07-21 14:23: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'), 47870, 'SRID=4674;POINT (-39.821771 -2.624873)', '2026-07-21 14:23:54', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821848 -2.624835)'), GeomFromEWKT('SRID=4674;POINT (-39.821771 -2.624873)'))) / (select extract(epoch from '2026-07-21 14:23:54'::timestamp) - extract(epoch from '2026-07-21 14:23:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821848 -2.624835)'), GeomFromEWKT('SRID=4674;POINT (-39.821771 -2.624873)'))) / (select extract(epoch from '2026-07-21 14:23:54'::timestamp) - extract(epoch from '2026-07-21 14:23: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'), 47870, 'SRID=4674;POINT (-39.821735 -2.624889)', '2026-07-21 14:23:56', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821771 -2.624873)'), GeomFromEWKT('SRID=4674;POINT (-39.821735 -2.624889)'))) / (select extract(epoch from '2026-07-21 14:23:56'::timestamp) - extract(epoch from '2026-07-21 14:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821771 -2.624873)'), GeomFromEWKT('SRID=4674;POINT (-39.821735 -2.624889)'))) / (select extract(epoch from '2026-07-21 14:23:56'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.821684 -2.62491)', '2026-07-21 14:23:59', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821735 -2.624889)'), GeomFromEWKT('SRID=4674;POINT (-39.821684 -2.62491)'))) / (select extract(epoch from '2026-07-21 14:23:59'::timestamp) - extract(epoch from '2026-07-21 14:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821735 -2.624889)'), GeomFromEWKT('SRID=4674;POINT (-39.821684 -2.62491)'))) / (select extract(epoch from '2026-07-21 14:23:59'::timestamp) - extract(epoch from '2026-07-21 14:23:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.821635 -2.62493)', '2026-07-21 14:24:02', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821684 -2.62491)'), GeomFromEWKT('SRID=4674;POINT (-39.821635 -2.62493)'))) / (select extract(epoch from '2026-07-21 14:24:02'::timestamp) - extract(epoch from '2026-07-21 14:23:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821684 -2.62491)'), GeomFromEWKT('SRID=4674;POINT (-39.821635 -2.62493)'))) / (select extract(epoch from '2026-07-21 14:24:02'::timestamp) - extract(epoch from '2026-07-21 14:23: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'), 47870, 'SRID=4674;POINT (-39.821598 -2.624936)', '2026-07-21 14:24:04', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821635 -2.62493)'), GeomFromEWKT('SRID=4674;POINT (-39.821598 -2.624936)'))) / (select extract(epoch from '2026-07-21 14:24:04'::timestamp) - extract(epoch from '2026-07-21 14:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821635 -2.62493)'), GeomFromEWKT('SRID=4674;POINT (-39.821598 -2.624936)'))) / (select extract(epoch from '2026-07-21 14:24:04'::timestamp) - extract(epoch from '2026-07-21 14:24:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.821561 -2.624943)', '2026-07-21 14:24:06', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821598 -2.624936)'), GeomFromEWKT('SRID=4674;POINT (-39.821561 -2.624943)'))) / (select extract(epoch from '2026-07-21 14:24:06'::timestamp) - extract(epoch from '2026-07-21 14:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821598 -2.624936)'), GeomFromEWKT('SRID=4674;POINT (-39.821561 -2.624943)'))) / (select extract(epoch from '2026-07-21 14:24:06'::timestamp) - extract(epoch from '2026-07-21 14:24:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.821524 -2.624948)', '2026-07-21 14:24:08', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821561 -2.624943)'), GeomFromEWKT('SRID=4674;POINT (-39.821524 -2.624948)'))) / (select extract(epoch from '2026-07-21 14:24:08'::timestamp) - extract(epoch from '2026-07-21 14:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821561 -2.624943)'), GeomFromEWKT('SRID=4674;POINT (-39.821524 -2.624948)'))) / (select extract(epoch from '2026-07-21 14:24:08'::timestamp) - extract(epoch from '2026-07-21 14:24:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.821435 -2.624943)', '2026-07-21 14:24:13', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821524 -2.624948)'), GeomFromEWKT('SRID=4674;POINT (-39.821435 -2.624943)'))) / (select extract(epoch from '2026-07-21 14:24:13'::timestamp) - extract(epoch from '2026-07-21 14:24:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821524 -2.624948)'), GeomFromEWKT('SRID=4674;POINT (-39.821435 -2.624943)'))) / (select extract(epoch from '2026-07-21 14:24:13'::timestamp) - extract(epoch from '2026-07-21 14:24:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.82136 -2.624933)', '2026-07-21 14:24:17', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821435 -2.624943)'), GeomFromEWKT('SRID=4674;POINT (-39.82136 -2.624933)'))) / (select extract(epoch from '2026-07-21 14:24:17'::timestamp) - extract(epoch from '2026-07-21 14:24:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821435 -2.624943)'), GeomFromEWKT('SRID=4674;POINT (-39.82136 -2.624933)'))) / (select extract(epoch from '2026-07-21 14:24:17'::timestamp) - extract(epoch from '2026-07-21 14:24:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.821279 -2.624919)', '2026-07-21 14:24:21', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82136 -2.624933)'), GeomFromEWKT('SRID=4674;POINT (-39.821279 -2.624919)'))) / (select extract(epoch from '2026-07-21 14:24:21'::timestamp) - extract(epoch from '2026-07-21 14:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82136 -2.624933)'), GeomFromEWKT('SRID=4674;POINT (-39.821279 -2.624919)'))) / (select extract(epoch from '2026-07-21 14:24:21'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.821178 -2.624895)', '2026-07-21 14:24:26', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821279 -2.624919)'), GeomFromEWKT('SRID=4674;POINT (-39.821178 -2.624895)'))) / (select extract(epoch from '2026-07-21 14:24:26'::timestamp) - extract(epoch from '2026-07-21 14:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821279 -2.624919)'), GeomFromEWKT('SRID=4674;POINT (-39.821178 -2.624895)'))) / (select extract(epoch from '2026-07-21 14:24:26'::timestamp) - extract(epoch from '2026-07-21 14:24: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'), 47870, 'SRID=4674;POINT (-39.821121 -2.624881)', '2026-07-21 14:24:29', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821178 -2.624895)'), GeomFromEWKT('SRID=4674;POINT (-39.821121 -2.624881)'))) / (select extract(epoch from '2026-07-21 14:24:29'::timestamp) - extract(epoch from '2026-07-21 14:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821178 -2.624895)'), GeomFromEWKT('SRID=4674;POINT (-39.821121 -2.624881)'))) / (select extract(epoch from '2026-07-21 14:24:29'::timestamp) - extract(epoch from '2026-07-21 14:24:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.821083 -2.624869)', '2026-07-21 14:24:31', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821121 -2.624881)'), GeomFromEWKT('SRID=4674;POINT (-39.821083 -2.624869)'))) / (select extract(epoch from '2026-07-21 14:24:31'::timestamp) - extract(epoch from '2026-07-21 14:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821121 -2.624881)'), GeomFromEWKT('SRID=4674;POINT (-39.821083 -2.624869)'))) / (select extract(epoch from '2026-07-21 14:24:31'::timestamp) - extract(epoch from '2026-07-21 14:24:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.821021 -2.624848)', '2026-07-21 14:24:35', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821083 -2.624869)'), GeomFromEWKT('SRID=4674;POINT (-39.821021 -2.624848)'))) / (select extract(epoch from '2026-07-21 14:24:35'::timestamp) - extract(epoch from '2026-07-21 14:24:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821083 -2.624869)'), GeomFromEWKT('SRID=4674;POINT (-39.821021 -2.624848)'))) / (select extract(epoch from '2026-07-21 14:24:35'::timestamp) - extract(epoch from '2026-07-21 14:24: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'), 47870, 'SRID=4674;POINT (-39.821009 -2.62484)', '2026-07-21 14:24:36', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821021 -2.624848)'), GeomFromEWKT('SRID=4674;POINT (-39.821009 -2.62484)'))) / (select extract(epoch from '2026-07-21 14:24:36'::timestamp) - extract(epoch from '2026-07-21 14:24:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821021 -2.624848)'), GeomFromEWKT('SRID=4674;POINT (-39.821009 -2.62484)'))) / (select extract(epoch from '2026-07-21 14:24:36'::timestamp) - extract(epoch from '2026-07-21 14:24: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'), 47870, 'SRID=4674;POINT (-39.820976 -2.624826)', '2026-07-21 14:24:39', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821009 -2.62484)'), GeomFromEWKT('SRID=4674;POINT (-39.820976 -2.624826)'))) / (select extract(epoch from '2026-07-21 14:24:39'::timestamp) - extract(epoch from '2026-07-21 14:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821009 -2.62484)'), GeomFromEWKT('SRID=4674;POINT (-39.820976 -2.624826)'))) / (select extract(epoch from '2026-07-21 14:24:39'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.820956 -2.62481)', '2026-07-21 14:24:42', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820976 -2.624826)'), GeomFromEWKT('SRID=4674;POINT (-39.820956 -2.62481)'))) / (select extract(epoch from '2026-07-21 14:24:42'::timestamp) - extract(epoch from '2026-07-21 14:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820976 -2.624826)'), GeomFromEWKT('SRID=4674;POINT (-39.820956 -2.62481)'))) / (select extract(epoch from '2026-07-21 14:24:42'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.820927 -2.624786)', '2026-07-21 14:24:47', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820956 -2.62481)'), GeomFromEWKT('SRID=4674;POINT (-39.820927 -2.624786)'))) / (select extract(epoch from '2026-07-21 14:24:47'::timestamp) - extract(epoch from '2026-07-21 14:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820956 -2.62481)'), GeomFromEWKT('SRID=4674;POINT (-39.820927 -2.624786)'))) / (select extract(epoch from '2026-07-21 14:24:47'::timestamp) - extract(epoch from '2026-07-21 14:24:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.820908 -2.624782)', '2026-07-21 14:24:56', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820927 -2.624786)'), GeomFromEWKT('SRID=4674;POINT (-39.820908 -2.624782)'))) / (select extract(epoch from '2026-07-21 14:24:56'::timestamp) - extract(epoch from '2026-07-21 14:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820927 -2.624786)'), GeomFromEWKT('SRID=4674;POINT (-39.820908 -2.624782)'))) / (select extract(epoch from '2026-07-21 14:24:56'::timestamp) - extract(epoch from '2026-07-21 14:24: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'), 47870, 'SRID=4674;POINT (-39.820915 -2.624742)', '2026-07-21 14:25:11', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820908 -2.624782)'), GeomFromEWKT('SRID=4674;POINT (-39.820915 -2.624742)'))) / (select extract(epoch from '2026-07-21 14:25:11'::timestamp) - extract(epoch from '2026-07-21 14:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820908 -2.624782)'), GeomFromEWKT('SRID=4674;POINT (-39.820915 -2.624742)'))) / (select extract(epoch from '2026-07-21 14:25:11'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.82093 -2.624712)', '2026-07-21 14:25:18', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820915 -2.624742)'), GeomFromEWKT('SRID=4674;POINT (-39.82093 -2.624712)'))) / (select extract(epoch from '2026-07-21 14:25:18'::timestamp) - extract(epoch from '2026-07-21 14:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820915 -2.624742)'), GeomFromEWKT('SRID=4674;POINT (-39.82093 -2.624712)'))) / (select extract(epoch from '2026-07-21 14:25:18'::timestamp) - extract(epoch from '2026-07-21 14:25: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'), 47870, 'SRID=4674;POINT (-39.820952 -2.624672)', '2026-07-21 14:25:25', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82093 -2.624712)'), GeomFromEWKT('SRID=4674;POINT (-39.820952 -2.624672)'))) / (select extract(epoch from '2026-07-21 14:25:25'::timestamp) - extract(epoch from '2026-07-21 14:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82093 -2.624712)'), GeomFromEWKT('SRID=4674;POINT (-39.820952 -2.624672)'))) / (select extract(epoch from '2026-07-21 14:25:25'::timestamp) - extract(epoch from '2026-07-21 14:25: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'), 47870, 'SRID=4674;POINT (-39.820967 -2.624657)', '2026-07-21 14:25:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820952 -2.624672)'), GeomFromEWKT('SRID=4674;POINT (-39.820967 -2.624657)'))) / (select extract(epoch from '2026-07-21 14:25:29'::timestamp) - extract(epoch from '2026-07-21 14:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820952 -2.624672)'), GeomFromEWKT('SRID=4674;POINT (-39.820967 -2.624657)'))) / (select extract(epoch from '2026-07-21 14:25:29'::timestamp) - extract(epoch from '2026-07-21 14:25: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'), 47870, 'SRID=4674;POINT (-39.820971 -2.624648)', '2026-07-21 14:25:31', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820967 -2.624657)'), GeomFromEWKT('SRID=4674;POINT (-39.820971 -2.624648)'))) / (select extract(epoch from '2026-07-21 14:25:31'::timestamp) - extract(epoch from '2026-07-21 14:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820967 -2.624657)'), GeomFromEWKT('SRID=4674;POINT (-39.820971 -2.624648)'))) / (select extract(epoch from '2026-07-21 14:25:31'::timestamp) - extract(epoch from '2026-07-21 14:25:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.820981 -2.624614)', '2026-07-21 14:25:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820971 -2.624648)'), GeomFromEWKT('SRID=4674;POINT (-39.820981 -2.624614)'))) / (select extract(epoch from '2026-07-21 14:25:37'::timestamp) - extract(epoch from '2026-07-21 14:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820971 -2.624648)'), GeomFromEWKT('SRID=4674;POINT (-39.820981 -2.624614)'))) / (select extract(epoch from '2026-07-21 14:25:37'::timestamp) - extract(epoch from '2026-07-21 14:25:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.821001 -2.624567)', '2026-07-21 14:25:46', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820981 -2.624614)'), GeomFromEWKT('SRID=4674;POINT (-39.821001 -2.624567)'))) / (select extract(epoch from '2026-07-21 14:25:46'::timestamp) - extract(epoch from '2026-07-21 14:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820981 -2.624614)'), GeomFromEWKT('SRID=4674;POINT (-39.821001 -2.624567)'))) / (select extract(epoch from '2026-07-21 14:25:46'::timestamp) - extract(epoch from '2026-07-21 14:25: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'), 47870, 'SRID=4674;POINT (-39.821009 -2.624547)', '2026-07-21 14:25:52', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821001 -2.624567)'), GeomFromEWKT('SRID=4674;POINT (-39.821009 -2.624547)'))) / (select extract(epoch from '2026-07-21 14:25:52'::timestamp) - extract(epoch from '2026-07-21 14:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821001 -2.624567)'), GeomFromEWKT('SRID=4674;POINT (-39.821009 -2.624547)'))) / (select extract(epoch from '2026-07-21 14:25:52'::timestamp) - extract(epoch from '2026-07-21 14:25: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'), 47870, 'SRID=4674;POINT (-39.821023 -2.624531)', '2026-07-21 14:25:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821009 -2.624547)'), GeomFromEWKT('SRID=4674;POINT (-39.821023 -2.624531)'))) / (select extract(epoch from '2026-07-21 14:25:58'::timestamp) - extract(epoch from '2026-07-21 14:25:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821009 -2.624547)'), GeomFromEWKT('SRID=4674;POINT (-39.821023 -2.624531)'))) / (select extract(epoch from '2026-07-21 14:25:58'::timestamp) - extract(epoch from '2026-07-21 14:25: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'), 47870, 'SRID=4674;POINT (-39.821033 -2.62452)', '2026-07-21 14:26:04', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821023 -2.624531)'), GeomFromEWKT('SRID=4674;POINT (-39.821033 -2.62452)'))) / (select extract(epoch from '2026-07-21 14:26:04'::timestamp) - extract(epoch from '2026-07-21 14:25:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821023 -2.624531)'), GeomFromEWKT('SRID=4674;POINT (-39.821033 -2.62452)'))) / (select extract(epoch from '2026-07-21 14:26:04'::timestamp) - extract(epoch from '2026-07-21 14:25: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'), 47870, 'SRID=4674;POINT (-39.821029 -2.624519)', '2026-07-21 14:26:17', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821033 -2.62452)'), GeomFromEWKT('SRID=4674;POINT (-39.821029 -2.624519)'))) / (select extract(epoch from '2026-07-21 14:26:17'::timestamp) - extract(epoch from '2026-07-21 14:26:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821033 -2.62452)'), GeomFromEWKT('SRID=4674;POINT (-39.821029 -2.624519)'))) / (select extract(epoch from '2026-07-21 14:26:17'::timestamp) - extract(epoch from '2026-07-21 14:26:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.821063 -2.624487)', '2026-07-21 14:26:26', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821029 -2.624519)'), GeomFromEWKT('SRID=4674;POINT (-39.821063 -2.624487)'))) / (select extract(epoch from '2026-07-21 14:26:26'::timestamp) - extract(epoch from '2026-07-21 14:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821029 -2.624519)'), GeomFromEWKT('SRID=4674;POINT (-39.821063 -2.624487)'))) / (select extract(epoch from '2026-07-21 14:26:26'::timestamp) - extract(epoch from '2026-07-21 14:26: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'), 47870, 'SRID=4674;POINT (-39.82107 -2.624486)', '2026-07-21 14:26:27', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821063 -2.624487)'), GeomFromEWKT('SRID=4674;POINT (-39.82107 -2.624486)'))) / (select extract(epoch from '2026-07-21 14:26:27'::timestamp) - extract(epoch from '2026-07-21 14:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821063 -2.624487)'), GeomFromEWKT('SRID=4674;POINT (-39.82107 -2.624486)'))) / (select extract(epoch from '2026-07-21 14:26:27'::timestamp) - extract(epoch from '2026-07-21 14:26:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.821078 -2.624481)', '2026-07-21 14:26:31', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82107 -2.624486)'), GeomFromEWKT('SRID=4674;POINT (-39.821078 -2.624481)'))) / (select extract(epoch from '2026-07-21 14:26:31'::timestamp) - extract(epoch from '2026-07-21 14:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82107 -2.624486)'), GeomFromEWKT('SRID=4674;POINT (-39.821078 -2.624481)'))) / (select extract(epoch from '2026-07-21 14:26:31'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.821062 -2.624496)', '2026-07-21 14:26:36', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821078 -2.624481)'), GeomFromEWKT('SRID=4674;POINT (-39.821062 -2.624496)'))) / (select extract(epoch from '2026-07-21 14:26:36'::timestamp) - extract(epoch from '2026-07-21 14:26:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821078 -2.624481)'), GeomFromEWKT('SRID=4674;POINT (-39.821062 -2.624496)'))) / (select extract(epoch from '2026-07-21 14:26:36'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.82105 -2.624511)', '2026-07-21 14:26:39', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821062 -2.624496)'), GeomFromEWKT('SRID=4674;POINT (-39.82105 -2.624511)'))) / (select extract(epoch from '2026-07-21 14:26:39'::timestamp) - extract(epoch from '2026-07-21 14:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821062 -2.624496)'), GeomFromEWKT('SRID=4674;POINT (-39.82105 -2.624511)'))) / (select extract(epoch from '2026-07-21 14:26:39'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.821044 -2.624524)', '2026-07-21 14:26:41', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82105 -2.624511)'), GeomFromEWKT('SRID=4674;POINT (-39.821044 -2.624524)'))) / (select extract(epoch from '2026-07-21 14:26:41'::timestamp) - extract(epoch from '2026-07-21 14:26:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82105 -2.624511)'), GeomFromEWKT('SRID=4674;POINT (-39.821044 -2.624524)'))) / (select extract(epoch from '2026-07-21 14:26:41'::timestamp) - extract(epoch from '2026-07-21 14:26:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.821033 -2.624544)', '2026-07-21 14:26:43', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821044 -2.624524)'), GeomFromEWKT('SRID=4674;POINT (-39.821033 -2.624544)'))) / (select extract(epoch from '2026-07-21 14:26:43'::timestamp) - extract(epoch from '2026-07-21 14:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821044 -2.624524)'), GeomFromEWKT('SRID=4674;POINT (-39.821033 -2.624544)'))) / (select extract(epoch from '2026-07-21 14:26:43'::timestamp) - extract(epoch from '2026-07-21 14:26:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.821021 -2.624555)', '2026-07-21 14:26:44', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821033 -2.624544)'), GeomFromEWKT('SRID=4674;POINT (-39.821021 -2.624555)'))) / (select extract(epoch from '2026-07-21 14:26:44'::timestamp) - extract(epoch from '2026-07-21 14:26:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821033 -2.624544)'), GeomFromEWKT('SRID=4674;POINT (-39.821021 -2.624555)'))) / (select extract(epoch from '2026-07-21 14:26:44'::timestamp) - extract(epoch from '2026-07-21 14:26:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.821009 -2.624568)', '2026-07-21 14:26:45', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821021 -2.624555)'), GeomFromEWKT('SRID=4674;POINT (-39.821009 -2.624568)'))) / (select extract(epoch from '2026-07-21 14:26:45'::timestamp) - extract(epoch from '2026-07-21 14:26:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821021 -2.624555)'), GeomFromEWKT('SRID=4674;POINT (-39.821009 -2.624568)'))) / (select extract(epoch from '2026-07-21 14:26:45'::timestamp) - extract(epoch from '2026-07-21 14:26: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'), 47870, 'SRID=4674;POINT (-39.820987 -2.624599)', '2026-07-21 14:26:48', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821009 -2.624568)'), GeomFromEWKT('SRID=4674;POINT (-39.820987 -2.624599)'))) / (select extract(epoch from '2026-07-21 14:26:48'::timestamp) - extract(epoch from '2026-07-21 14:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821009 -2.624568)'), GeomFromEWKT('SRID=4674;POINT (-39.820987 -2.624599)'))) / (select extract(epoch from '2026-07-21 14:26:48'::timestamp) - extract(epoch from '2026-07-21 14:26: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'), 47870, 'SRID=4674;POINT (-39.820934 -2.624642)', '2026-07-21 14:26:53', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820987 -2.624599)'), GeomFromEWKT('SRID=4674;POINT (-39.820934 -2.624642)'))) / (select extract(epoch from '2026-07-21 14:26:53'::timestamp) - extract(epoch from '2026-07-21 14:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820987 -2.624599)'), GeomFromEWKT('SRID=4674;POINT (-39.820934 -2.624642)'))) / (select extract(epoch from '2026-07-21 14:26:53'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.820871 -2.624695)', '2026-07-21 14:26:58', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820934 -2.624642)'), GeomFromEWKT('SRID=4674;POINT (-39.820871 -2.624695)'))) / (select extract(epoch from '2026-07-21 14:26:58'::timestamp) - extract(epoch from '2026-07-21 14:26:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820934 -2.624642)'), GeomFromEWKT('SRID=4674;POINT (-39.820871 -2.624695)'))) / (select extract(epoch from '2026-07-21 14:26:58'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.820806 -2.624755)', '2026-07-21 14:27:03', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820871 -2.624695)'), GeomFromEWKT('SRID=4674;POINT (-39.820806 -2.624755)'))) / (select extract(epoch from '2026-07-21 14:27:03'::timestamp) - extract(epoch from '2026-07-21 14:26:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820871 -2.624695)'), GeomFromEWKT('SRID=4674;POINT (-39.820806 -2.624755)'))) / (select extract(epoch from '2026-07-21 14:27:03'::timestamp) - extract(epoch from '2026-07-21 14:26:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.820735 -2.624815)', '2026-07-21 14:27:08', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820806 -2.624755)'), GeomFromEWKT('SRID=4674;POINT (-39.820735 -2.624815)'))) / (select extract(epoch from '2026-07-21 14:27:08'::timestamp) - extract(epoch from '2026-07-21 14:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820806 -2.624755)'), GeomFromEWKT('SRID=4674;POINT (-39.820735 -2.624815)'))) / (select extract(epoch from '2026-07-21 14:27:08'::timestamp) - extract(epoch from '2026-07-21 14:27: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'), 47870, 'SRID=4674;POINT (-39.820686 -2.624886)', '2026-07-21 14:27:13', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820735 -2.624815)'), GeomFromEWKT('SRID=4674;POINT (-39.820686 -2.624886)'))) / (select extract(epoch from '2026-07-21 14:27:13'::timestamp) - extract(epoch from '2026-07-21 14:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820735 -2.624815)'), GeomFromEWKT('SRID=4674;POINT (-39.820686 -2.624886)'))) / (select extract(epoch from '2026-07-21 14:27:13'::timestamp) - extract(epoch from '2026-07-21 14:27: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'), 47870, 'SRID=4674;POINT (-39.820668 -2.624906)', '2026-07-21 14:27:15', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820686 -2.624886)'), GeomFromEWKT('SRID=4674;POINT (-39.820668 -2.624906)'))) / (select extract(epoch from '2026-07-21 14:27:15'::timestamp) - extract(epoch from '2026-07-21 14:27:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820686 -2.624886)'), GeomFromEWKT('SRID=4674;POINT (-39.820668 -2.624906)'))) / (select extract(epoch from '2026-07-21 14:27:15'::timestamp) - extract(epoch from '2026-07-21 14:27: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'), 47870, 'SRID=4674;POINT (-39.820624 -2.62494)', '2026-07-21 14:27:19', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820668 -2.624906)'), GeomFromEWKT('SRID=4674;POINT (-39.820624 -2.62494)'))) / (select extract(epoch from '2026-07-21 14:27:19'::timestamp) - extract(epoch from '2026-07-21 14:27:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820668 -2.624906)'), GeomFromEWKT('SRID=4674;POINT (-39.820624 -2.62494)'))) / (select extract(epoch from '2026-07-21 14:27:19'::timestamp) - extract(epoch from '2026-07-21 14:27: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'), 47870, 'SRID=4674;POINT (-39.820554 -2.624991)', '2026-07-21 14:27:25', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820624 -2.62494)'), GeomFromEWKT('SRID=4674;POINT (-39.820554 -2.624991)'))) / (select extract(epoch from '2026-07-21 14:27:25'::timestamp) - extract(epoch from '2026-07-21 14:27:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820624 -2.62494)'), GeomFromEWKT('SRID=4674;POINT (-39.820554 -2.624991)'))) / (select extract(epoch from '2026-07-21 14:27:25'::timestamp) - extract(epoch from '2026-07-21 14:27: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'), 47870, 'SRID=4674;POINT (-39.820474 -2.625035)', '2026-07-21 14:27:31', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820554 -2.624991)'), GeomFromEWKT('SRID=4674;POINT (-39.820474 -2.625035)'))) / (select extract(epoch from '2026-07-21 14:27:31'::timestamp) - extract(epoch from '2026-07-21 14:27:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820554 -2.624991)'), GeomFromEWKT('SRID=4674;POINT (-39.820474 -2.625035)'))) / (select extract(epoch from '2026-07-21 14:27:31'::timestamp) - extract(epoch from '2026-07-21 14:27:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.820401 -2.625068)', '2026-07-21 14:27:36', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820474 -2.625035)'), GeomFromEWKT('SRID=4674;POINT (-39.820401 -2.625068)'))) / (select extract(epoch from '2026-07-21 14:27:36'::timestamp) - extract(epoch from '2026-07-21 14:27:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820474 -2.625035)'), GeomFromEWKT('SRID=4674;POINT (-39.820401 -2.625068)'))) / (select extract(epoch from '2026-07-21 14:27:36'::timestamp) - extract(epoch from '2026-07-21 14:27: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'), 47870, 'SRID=4674;POINT (-39.820337 -2.625093)', '2026-07-21 14:27:40', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820401 -2.625068)'), GeomFromEWKT('SRID=4674;POINT (-39.820337 -2.625093)'))) / (select extract(epoch from '2026-07-21 14:27:40'::timestamp) - extract(epoch from '2026-07-21 14:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820401 -2.625068)'), GeomFromEWKT('SRID=4674;POINT (-39.820337 -2.625093)'))) / (select extract(epoch from '2026-07-21 14:27:40'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.820322 -2.6251)', '2026-07-21 14:27:41', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820337 -2.625093)'), GeomFromEWKT('SRID=4674;POINT (-39.820322 -2.6251)'))) / (select extract(epoch from '2026-07-21 14:27:41'::timestamp) - extract(epoch from '2026-07-21 14:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820337 -2.625093)'), GeomFromEWKT('SRID=4674;POINT (-39.820322 -2.6251)'))) / (select extract(epoch from '2026-07-21 14:27:41'::timestamp) - extract(epoch from '2026-07-21 14:27:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.820227 -2.625129)', '2026-07-21 14:27:47', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820322 -2.6251)'), GeomFromEWKT('SRID=4674;POINT (-39.820227 -2.625129)'))) / (select extract(epoch from '2026-07-21 14:27:47'::timestamp) - extract(epoch from '2026-07-21 14:27:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820322 -2.6251)'), GeomFromEWKT('SRID=4674;POINT (-39.820227 -2.625129)'))) / (select extract(epoch from '2026-07-21 14:27:47'::timestamp) - extract(epoch from '2026-07-21 14:27: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'), 47870, 'SRID=4674;POINT (-39.820125 -2.625123)', '2026-07-21 14:27:53', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820227 -2.625129)'), GeomFromEWKT('SRID=4674;POINT (-39.820125 -2.625123)'))) / (select extract(epoch from '2026-07-21 14:27:53'::timestamp) - extract(epoch from '2026-07-21 14:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820227 -2.625129)'), GeomFromEWKT('SRID=4674;POINT (-39.820125 -2.625123)'))) / (select extract(epoch from '2026-07-21 14:27:53'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.820021 -2.625101)', '2026-07-21 14:27:59', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820125 -2.625123)'), GeomFromEWKT('SRID=4674;POINT (-39.820021 -2.625101)'))) / (select extract(epoch from '2026-07-21 14:27:59'::timestamp) - extract(epoch from '2026-07-21 14:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820125 -2.625123)'), GeomFromEWKT('SRID=4674;POINT (-39.820021 -2.625101)'))) / (select extract(epoch from '2026-07-21 14:27:59'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.819981 -2.625089)', '2026-07-21 14:28:02', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820021 -2.625101)'), GeomFromEWKT('SRID=4674;POINT (-39.819981 -2.625089)'))) / (select extract(epoch from '2026-07-21 14:28:02'::timestamp) - extract(epoch from '2026-07-21 14:27:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820021 -2.625101)'), GeomFromEWKT('SRID=4674;POINT (-39.819981 -2.625089)'))) / (select extract(epoch from '2026-07-21 14:28:02'::timestamp) - extract(epoch from '2026-07-21 14:27: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'), 47870, 'SRID=4674;POINT (-39.819948 -2.625072)', '2026-07-21 14:28:05', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819981 -2.625089)'), GeomFromEWKT('SRID=4674;POINT (-39.819948 -2.625072)'))) / (select extract(epoch from '2026-07-21 14:28:05'::timestamp) - extract(epoch from '2026-07-21 14:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819981 -2.625089)'), GeomFromEWKT('SRID=4674;POINT (-39.819948 -2.625072)'))) / (select extract(epoch from '2026-07-21 14:28:05'::timestamp) - extract(epoch from '2026-07-21 14:28:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.819904 -2.625039)', '2026-07-21 14:28:11', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819948 -2.625072)'), GeomFromEWKT('SRID=4674;POINT (-39.819904 -2.625039)'))) / (select extract(epoch from '2026-07-21 14:28:11'::timestamp) - extract(epoch from '2026-07-21 14:28:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819948 -2.625072)'), GeomFromEWKT('SRID=4674;POINT (-39.819904 -2.625039)'))) / (select extract(epoch from '2026-07-21 14:28:11'::timestamp) - extract(epoch from '2026-07-21 14:28:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.81986 -2.625004)', '2026-07-21 14:28:20', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819904 -2.625039)'), GeomFromEWKT('SRID=4674;POINT (-39.81986 -2.625004)'))) / (select extract(epoch from '2026-07-21 14:28:20'::timestamp) - extract(epoch from '2026-07-21 14:28:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819904 -2.625039)'), GeomFromEWKT('SRID=4674;POINT (-39.81986 -2.625004)'))) / (select extract(epoch from '2026-07-21 14:28:20'::timestamp) - extract(epoch from '2026-07-21 14:28:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.819848 -2.62498)', '2026-07-21 14:28:27', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81986 -2.625004)'), GeomFromEWKT('SRID=4674;POINT (-39.819848 -2.62498)'))) / (select extract(epoch from '2026-07-21 14:28:27'::timestamp) - extract(epoch from '2026-07-21 14:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81986 -2.625004)'), GeomFromEWKT('SRID=4674;POINT (-39.819848 -2.62498)'))) / (select extract(epoch from '2026-07-21 14:28:27'::timestamp) - extract(epoch from '2026-07-21 14:28: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'), 47870, 'SRID=4674;POINT (-39.819834 -2.624948)', '2026-07-21 14:28:35', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819848 -2.62498)'), GeomFromEWKT('SRID=4674;POINT (-39.819834 -2.624948)'))) / (select extract(epoch from '2026-07-21 14:28:35'::timestamp) - extract(epoch from '2026-07-21 14:28:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819848 -2.62498)'), GeomFromEWKT('SRID=4674;POINT (-39.819834 -2.624948)'))) / (select extract(epoch from '2026-07-21 14:28:35'::timestamp) - extract(epoch from '2026-07-21 14:28:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.81984 -2.62491)', '2026-07-21 14:28:42', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819834 -2.624948)'), GeomFromEWKT('SRID=4674;POINT (-39.81984 -2.62491)'))) / (select extract(epoch from '2026-07-21 14:28:42'::timestamp) - extract(epoch from '2026-07-21 14:28:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819834 -2.624948)'), GeomFromEWKT('SRID=4674;POINT (-39.81984 -2.62491)'))) / (select extract(epoch from '2026-07-21 14:28:42'::timestamp) - extract(epoch from '2026-07-21 14:28: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'), 47870, 'SRID=4674;POINT (-39.819867 -2.624866)', '2026-07-21 14:28:51', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81984 -2.62491)'), GeomFromEWKT('SRID=4674;POINT (-39.819867 -2.624866)'))) / (select extract(epoch from '2026-07-21 14:28:51'::timestamp) - extract(epoch from '2026-07-21 14:28:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81984 -2.62491)'), GeomFromEWKT('SRID=4674;POINT (-39.819867 -2.624866)'))) / (select extract(epoch from '2026-07-21 14:28:51'::timestamp) - extract(epoch from '2026-07-21 14:28:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.819887 -2.624837)', '2026-07-21 14:29:00', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819867 -2.624866)'), GeomFromEWKT('SRID=4674;POINT (-39.819887 -2.624837)'))) / (select extract(epoch from '2026-07-21 14:29:00'::timestamp) - extract(epoch from '2026-07-21 14:28:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819867 -2.624866)'), GeomFromEWKT('SRID=4674;POINT (-39.819887 -2.624837)'))) / (select extract(epoch from '2026-07-21 14:29:00'::timestamp) - extract(epoch from '2026-07-21 14:28:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.819907 -2.624808)', '2026-07-21 14:29:08', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819887 -2.624837)'), GeomFromEWKT('SRID=4674;POINT (-39.819907 -2.624808)'))) / (select extract(epoch from '2026-07-21 14:29:08'::timestamp) - extract(epoch from '2026-07-21 14:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819887 -2.624837)'), GeomFromEWKT('SRID=4674;POINT (-39.819907 -2.624808)'))) / (select extract(epoch from '2026-07-21 14:29:08'::timestamp) - extract(epoch from '2026-07-21 14:29: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'), 47870, 'SRID=4674;POINT (-39.819928 -2.624774)', '2026-07-21 14:29:15', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819907 -2.624808)'), GeomFromEWKT('SRID=4674;POINT (-39.819928 -2.624774)'))) / (select extract(epoch from '2026-07-21 14:29:15'::timestamp) - extract(epoch from '2026-07-21 14:29:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819907 -2.624808)'), GeomFromEWKT('SRID=4674;POINT (-39.819928 -2.624774)'))) / (select extract(epoch from '2026-07-21 14:29:15'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.819951 -2.624746)', '2026-07-21 14:29:23', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819928 -2.624774)'), GeomFromEWKT('SRID=4674;POINT (-39.819951 -2.624746)'))) / (select extract(epoch from '2026-07-21 14:29:23'::timestamp) - extract(epoch from '2026-07-21 14:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819928 -2.624774)'), GeomFromEWKT('SRID=4674;POINT (-39.819951 -2.624746)'))) / (select extract(epoch from '2026-07-21 14:29:23'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.819964 -2.624733)', '2026-07-21 14:29:29', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819951 -2.624746)'), GeomFromEWKT('SRID=4674;POINT (-39.819964 -2.624733)'))) / (select extract(epoch from '2026-07-21 14:29:29'::timestamp) - extract(epoch from '2026-07-21 14:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819951 -2.624746)'), GeomFromEWKT('SRID=4674;POINT (-39.819964 -2.624733)'))) / (select extract(epoch from '2026-07-21 14:29:29'::timestamp) - extract(epoch from '2026-07-21 14:29:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.819969 -2.624732)', '2026-07-21 14:29:44', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819964 -2.624733)'), GeomFromEWKT('SRID=4674;POINT (-39.819969 -2.624732)'))) / (select extract(epoch from '2026-07-21 14:29:44'::timestamp) - extract(epoch from '2026-07-21 14:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819964 -2.624733)'), GeomFromEWKT('SRID=4674;POINT (-39.819969 -2.624732)'))) / (select extract(epoch from '2026-07-21 14:29:44'::timestamp) - extract(epoch from '2026-07-21 14:29:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.819995 -2.624714)', '2026-07-21 14:29:51', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819969 -2.624732)'), GeomFromEWKT('SRID=4674;POINT (-39.819995 -2.624714)'))) / (select extract(epoch from '2026-07-21 14:29:51'::timestamp) - extract(epoch from '2026-07-21 14:29:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819969 -2.624732)'), GeomFromEWKT('SRID=4674;POINT (-39.819995 -2.624714)'))) / (select extract(epoch from '2026-07-21 14:29:51'::timestamp) - extract(epoch from '2026-07-21 14:29:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.820002 -2.624706)', '2026-07-21 14:29:57', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819995 -2.624714)'), GeomFromEWKT('SRID=4674;POINT (-39.820002 -2.624706)'))) / (select extract(epoch from '2026-07-21 14:29:57'::timestamp) - extract(epoch from '2026-07-21 14:29:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819995 -2.624714)'), GeomFromEWKT('SRID=4674;POINT (-39.820002 -2.624706)'))) / (select extract(epoch from '2026-07-21 14:29:57'::timestamp) - extract(epoch from '2026-07-21 14:29: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'), 47870, 'SRID=4674;POINT (-39.819955 -2.624692)', '2026-07-21 14:30:04', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820002 -2.624706)'), GeomFromEWKT('SRID=4674;POINT (-39.819955 -2.624692)'))) / (select extract(epoch from '2026-07-21 14:30:04'::timestamp) - extract(epoch from '2026-07-21 14:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820002 -2.624706)'), GeomFromEWKT('SRID=4674;POINT (-39.819955 -2.624692)'))) / (select extract(epoch from '2026-07-21 14:30:04'::timestamp) - extract(epoch from '2026-07-21 14:29:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.819899 -2.624711)', '2026-07-21 14:30:10', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819955 -2.624692)'), GeomFromEWKT('SRID=4674;POINT (-39.819899 -2.624711)'))) / (select extract(epoch from '2026-07-21 14:30:10'::timestamp) - extract(epoch from '2026-07-21 14:30:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819955 -2.624692)'), GeomFromEWKT('SRID=4674;POINT (-39.819899 -2.624711)'))) / (select extract(epoch from '2026-07-21 14:30:10'::timestamp) - extract(epoch from '2026-07-21 14:30:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.819828 -2.624736)', '2026-07-21 14:30:15', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819899 -2.624711)'), GeomFromEWKT('SRID=4674;POINT (-39.819828 -2.624736)'))) / (select extract(epoch from '2026-07-21 14:30:15'::timestamp) - extract(epoch from '2026-07-21 14:30:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819899 -2.624711)'), GeomFromEWKT('SRID=4674;POINT (-39.819828 -2.624736)'))) / (select extract(epoch from '2026-07-21 14:30:15'::timestamp) - extract(epoch from '2026-07-21 14:30: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'), 47870, 'SRID=4674;POINT (-39.819746 -2.624765)', '2026-07-21 14:30:21', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819828 -2.624736)'), GeomFromEWKT('SRID=4674;POINT (-39.819746 -2.624765)'))) / (select extract(epoch from '2026-07-21 14:30:21'::timestamp) - extract(epoch from '2026-07-21 14:30:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819828 -2.624736)'), GeomFromEWKT('SRID=4674;POINT (-39.819746 -2.624765)'))) / (select extract(epoch from '2026-07-21 14:30:21'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.819644 -2.624786)', '2026-07-21 14:30:27', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819746 -2.624765)'), GeomFromEWKT('SRID=4674;POINT (-39.819644 -2.624786)'))) / (select extract(epoch from '2026-07-21 14:30:27'::timestamp) - extract(epoch from '2026-07-21 14:30:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819746 -2.624765)'), GeomFromEWKT('SRID=4674;POINT (-39.819644 -2.624786)'))) / (select extract(epoch from '2026-07-21 14:30:27'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.819576 -2.624789)', '2026-07-21 14:30:31', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819644 -2.624786)'), GeomFromEWKT('SRID=4674;POINT (-39.819576 -2.624789)'))) / (select extract(epoch from '2026-07-21 14:30:31'::timestamp) - extract(epoch from '2026-07-21 14:30:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819644 -2.624786)'), GeomFromEWKT('SRID=4674;POINT (-39.819576 -2.624789)'))) / (select extract(epoch from '2026-07-21 14:30:31'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.819552 -2.624783)', '2026-07-21 14:30:33', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819576 -2.624789)'), GeomFromEWKT('SRID=4674;POINT (-39.819552 -2.624783)'))) / (select extract(epoch from '2026-07-21 14:30:33'::timestamp) - extract(epoch from '2026-07-21 14:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819576 -2.624789)'), GeomFromEWKT('SRID=4674;POINT (-39.819552 -2.624783)'))) / (select extract(epoch from '2026-07-21 14:30:33'::timestamp) - extract(epoch from '2026-07-21 14:30:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.819518 -2.624776)', '2026-07-21 14:30:35', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819552 -2.624783)'), GeomFromEWKT('SRID=4674;POINT (-39.819518 -2.624776)'))) / (select extract(epoch from '2026-07-21 14:30:35'::timestamp) - extract(epoch from '2026-07-21 14:30:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819552 -2.624783)'), GeomFromEWKT('SRID=4674;POINT (-39.819518 -2.624776)'))) / (select extract(epoch from '2026-07-21 14:30:35'::timestamp) - extract(epoch from '2026-07-21 14:30: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'), 47870, 'SRID=4674;POINT (-39.819418 -2.624762)', '2026-07-21 14:30:41', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819518 -2.624776)'), GeomFromEWKT('SRID=4674;POINT (-39.819418 -2.624762)'))) / (select extract(epoch from '2026-07-21 14:30:41'::timestamp) - extract(epoch from '2026-07-21 14:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819518 -2.624776)'), GeomFromEWKT('SRID=4674;POINT (-39.819418 -2.624762)'))) / (select extract(epoch from '2026-07-21 14:30:41'::timestamp) - extract(epoch from '2026-07-21 14:30:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.819327 -2.624748)', '2026-07-21 14:30:46', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819418 -2.624762)'), GeomFromEWKT('SRID=4674;POINT (-39.819327 -2.624748)'))) / (select extract(epoch from '2026-07-21 14:30:46'::timestamp) - extract(epoch from '2026-07-21 14:30:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819418 -2.624762)'), GeomFromEWKT('SRID=4674;POINT (-39.819327 -2.624748)'))) / (select extract(epoch from '2026-07-21 14:30:46'::timestamp) - extract(epoch from '2026-07-21 14:30:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.819211 -2.624755)', '2026-07-21 14:30:52', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819327 -2.624748)'), GeomFromEWKT('SRID=4674;POINT (-39.819211 -2.624755)'))) / (select extract(epoch from '2026-07-21 14:30:52'::timestamp) - extract(epoch from '2026-07-21 14:30:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819327 -2.624748)'), GeomFromEWKT('SRID=4674;POINT (-39.819211 -2.624755)'))) / (select extract(epoch from '2026-07-21 14:30:52'::timestamp) - extract(epoch from '2026-07-21 14:30:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.819089 -2.624738)', '2026-07-21 14:30:59', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819211 -2.624755)'), GeomFromEWKT('SRID=4674;POINT (-39.819089 -2.624738)'))) / (select extract(epoch from '2026-07-21 14:30:59'::timestamp) - extract(epoch from '2026-07-21 14:30:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819211 -2.624755)'), GeomFromEWKT('SRID=4674;POINT (-39.819089 -2.624738)'))) / (select extract(epoch from '2026-07-21 14:30:59'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.818976 -2.624691)', '2026-07-21 14:31:05', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819089 -2.624738)'), GeomFromEWKT('SRID=4674;POINT (-39.818976 -2.624691)'))) / (select extract(epoch from '2026-07-21 14:31:05'::timestamp) - extract(epoch from '2026-07-21 14:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819089 -2.624738)'), GeomFromEWKT('SRID=4674;POINT (-39.818976 -2.624691)'))) / (select extract(epoch from '2026-07-21 14:31:05'::timestamp) - extract(epoch from '2026-07-21 14:30:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818901 -2.624647)', '2026-07-21 14:31:10', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818976 -2.624691)'), GeomFromEWKT('SRID=4674;POINT (-39.818901 -2.624647)'))) / (select extract(epoch from '2026-07-21 14:31:10'::timestamp) - extract(epoch from '2026-07-21 14:31:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818976 -2.624691)'), GeomFromEWKT('SRID=4674;POINT (-39.818901 -2.624647)'))) / (select extract(epoch from '2026-07-21 14:31:10'::timestamp) - extract(epoch from '2026-07-21 14:31:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818852 -2.624593)', '2026-07-21 14:31:15', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818901 -2.624647)'), GeomFromEWKT('SRID=4674;POINT (-39.818852 -2.624593)'))) / (select extract(epoch from '2026-07-21 14:31:15'::timestamp) - extract(epoch from '2026-07-21 14:31:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818901 -2.624647)'), GeomFromEWKT('SRID=4674;POINT (-39.818852 -2.624593)'))) / (select extract(epoch from '2026-07-21 14:31:15'::timestamp) - extract(epoch from '2026-07-21 14:31:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818827 -2.624552)', '2026-07-21 14:31:22', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818852 -2.624593)'), GeomFromEWKT('SRID=4674;POINT (-39.818827 -2.624552)'))) / (select extract(epoch from '2026-07-21 14:31:22'::timestamp) - extract(epoch from '2026-07-21 14:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818852 -2.624593)'), GeomFromEWKT('SRID=4674;POINT (-39.818827 -2.624552)'))) / (select extract(epoch from '2026-07-21 14:31:22'::timestamp) - extract(epoch from '2026-07-21 14:31:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818821 -2.624521)', '2026-07-21 14:31:30', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818827 -2.624552)'), GeomFromEWKT('SRID=4674;POINT (-39.818821 -2.624521)'))) / (select extract(epoch from '2026-07-21 14:31:30'::timestamp) - extract(epoch from '2026-07-21 14:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818827 -2.624552)'), GeomFromEWKT('SRID=4674;POINT (-39.818821 -2.624521)'))) / (select extract(epoch from '2026-07-21 14:31:30'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.818837 -2.624495)', '2026-07-21 14:31:36', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818821 -2.624521)'), GeomFromEWKT('SRID=4674;POINT (-39.818837 -2.624495)'))) / (select extract(epoch from '2026-07-21 14:31:36'::timestamp) - extract(epoch from '2026-07-21 14:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818821 -2.624521)'), GeomFromEWKT('SRID=4674;POINT (-39.818837 -2.624495)'))) / (select extract(epoch from '2026-07-21 14:31:36'::timestamp) - extract(epoch from '2026-07-21 14:31: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'), 47870, 'SRID=4674;POINT (-39.818851 -2.624468)', '2026-07-21 14:31:44', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818837 -2.624495)'), GeomFromEWKT('SRID=4674;POINT (-39.818851 -2.624468)'))) / (select extract(epoch from '2026-07-21 14:31:44'::timestamp) - extract(epoch from '2026-07-21 14:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818837 -2.624495)'), GeomFromEWKT('SRID=4674;POINT (-39.818851 -2.624468)'))) / (select extract(epoch from '2026-07-21 14:31:44'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.818872 -2.624453)', '2026-07-21 14:31:52', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818851 -2.624468)'), GeomFromEWKT('SRID=4674;POINT (-39.818872 -2.624453)'))) / (select extract(epoch from '2026-07-21 14:31:52'::timestamp) - extract(epoch from '2026-07-21 14:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818851 -2.624468)'), GeomFromEWKT('SRID=4674;POINT (-39.818872 -2.624453)'))) / (select extract(epoch from '2026-07-21 14:31:52'::timestamp) - extract(epoch from '2026-07-21 14:31:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818892 -2.624439)', '2026-07-21 14:31:57', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818872 -2.624453)'), GeomFromEWKT('SRID=4674;POINT (-39.818892 -2.624439)'))) / (select extract(epoch from '2026-07-21 14:31:57'::timestamp) - extract(epoch from '2026-07-21 14:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818872 -2.624453)'), GeomFromEWKT('SRID=4674;POINT (-39.818892 -2.624439)'))) / (select extract(epoch from '2026-07-21 14:31:57'::timestamp) - extract(epoch from '2026-07-21 14:31: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'), 47870, 'SRID=4674;POINT (-39.818902 -2.624417)', '2026-07-21 14:32:05', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818892 -2.624439)'), GeomFromEWKT('SRID=4674;POINT (-39.818902 -2.624417)'))) / (select extract(epoch from '2026-07-21 14:32:05'::timestamp) - extract(epoch from '2026-07-21 14:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818892 -2.624439)'), GeomFromEWKT('SRID=4674;POINT (-39.818902 -2.624417)'))) / (select extract(epoch from '2026-07-21 14:32:05'::timestamp) - extract(epoch from '2026-07-21 14:31: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'), 47870, 'SRID=4674;POINT (-39.818922 -2.624387)', '2026-07-21 14:32:18', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818902 -2.624417)'), GeomFromEWKT('SRID=4674;POINT (-39.818922 -2.624387)'))) / (select extract(epoch from '2026-07-21 14:32:18'::timestamp) - extract(epoch from '2026-07-21 14:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818902 -2.624417)'), GeomFromEWKT('SRID=4674;POINT (-39.818922 -2.624387)'))) / (select extract(epoch from '2026-07-21 14:32:18'::timestamp) - extract(epoch from '2026-07-21 14:32:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818937 -2.624361)', '2026-07-21 14:32:25', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818922 -2.624387)'), GeomFromEWKT('SRID=4674;POINT (-39.818937 -2.624361)'))) / (select extract(epoch from '2026-07-21 14:32:25'::timestamp) - extract(epoch from '2026-07-21 14:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818922 -2.624387)'), GeomFromEWKT('SRID=4674;POINT (-39.818937 -2.624361)'))) / (select extract(epoch from '2026-07-21 14:32:25'::timestamp) - extract(epoch from '2026-07-21 14:32:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818958 -2.62433)', '2026-07-21 14:32:33', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818937 -2.624361)'), GeomFromEWKT('SRID=4674;POINT (-39.818958 -2.62433)'))) / (select extract(epoch from '2026-07-21 14:32:33'::timestamp) - extract(epoch from '2026-07-21 14:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818937 -2.624361)'), GeomFromEWKT('SRID=4674;POINT (-39.818958 -2.62433)'))) / (select extract(epoch from '2026-07-21 14:32:33'::timestamp) - extract(epoch from '2026-07-21 14:32:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818981 -2.624301)', '2026-07-21 14:32:41', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818958 -2.62433)'), GeomFromEWKT('SRID=4674;POINT (-39.818981 -2.624301)'))) / (select extract(epoch from '2026-07-21 14:32:41'::timestamp) - extract(epoch from '2026-07-21 14:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818958 -2.62433)'), GeomFromEWKT('SRID=4674;POINT (-39.818981 -2.624301)'))) / (select extract(epoch from '2026-07-21 14:32:41'::timestamp) - extract(epoch from '2026-07-21 14:32:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.819 -2.624277)', '2026-07-21 14:32:49', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818981 -2.624301)'), GeomFromEWKT('SRID=4674;POINT (-39.819 -2.624277)'))) / (select extract(epoch from '2026-07-21 14:32:49'::timestamp) - extract(epoch from '2026-07-21 14:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818981 -2.624301)'), GeomFromEWKT('SRID=4674;POINT (-39.819 -2.624277)'))) / (select extract(epoch from '2026-07-21 14:32:49'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.819024 -2.624254)', '2026-07-21 14:32:55', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819 -2.624277)'), GeomFromEWKT('SRID=4674;POINT (-39.819024 -2.624254)'))) / (select extract(epoch from '2026-07-21 14:32:55'::timestamp) - extract(epoch from '2026-07-21 14:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819 -2.624277)'), GeomFromEWKT('SRID=4674;POINT (-39.819024 -2.624254)'))) / (select extract(epoch from '2026-07-21 14:32:55'::timestamp) - extract(epoch from '2026-07-21 14:32: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'), 47870, 'SRID=4674;POINT (-39.819035 -2.624236)', '2026-07-21 14:33:02', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819024 -2.624254)'), GeomFromEWKT('SRID=4674;POINT (-39.819035 -2.624236)'))) / (select extract(epoch from '2026-07-21 14:33:02'::timestamp) - extract(epoch from '2026-07-21 14:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819024 -2.624254)'), GeomFromEWKT('SRID=4674;POINT (-39.819035 -2.624236)'))) / (select extract(epoch from '2026-07-21 14:33:02'::timestamp) - extract(epoch from '2026-07-21 14:32: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'), 47870, 'SRID=4674;POINT (-39.819019 -2.624235)', '2026-07-21 14:33:07', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819035 -2.624236)'), GeomFromEWKT('SRID=4674;POINT (-39.819019 -2.624235)'))) / (select extract(epoch from '2026-07-21 14:33:07'::timestamp) - extract(epoch from '2026-07-21 14:33:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819035 -2.624236)'), GeomFromEWKT('SRID=4674;POINT (-39.819019 -2.624235)'))) / (select extract(epoch from '2026-07-21 14:33:07'::timestamp) - extract(epoch from '2026-07-21 14:33:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.819003 -2.624243)', '2026-07-21 14:33:10', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819019 -2.624235)'), GeomFromEWKT('SRID=4674;POINT (-39.819003 -2.624243)'))) / (select extract(epoch from '2026-07-21 14:33:10'::timestamp) - extract(epoch from '2026-07-21 14:33:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819019 -2.624235)'), GeomFromEWKT('SRID=4674;POINT (-39.819003 -2.624243)'))) / (select extract(epoch from '2026-07-21 14:33:10'::timestamp) - extract(epoch from '2026-07-21 14:33:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818968 -2.624255)', '2026-07-21 14:33:15', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819003 -2.624243)'), GeomFromEWKT('SRID=4674;POINT (-39.818968 -2.624255)'))) / (select extract(epoch from '2026-07-21 14:33:15'::timestamp) - extract(epoch from '2026-07-21 14:33:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819003 -2.624243)'), GeomFromEWKT('SRID=4674;POINT (-39.818968 -2.624255)'))) / (select extract(epoch from '2026-07-21 14:33:15'::timestamp) - extract(epoch from '2026-07-21 14:33:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818954 -2.624257)', '2026-07-21 14:33:16', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818968 -2.624255)'), GeomFromEWKT('SRID=4674;POINT (-39.818954 -2.624257)'))) / (select extract(epoch from '2026-07-21 14:33:16'::timestamp) - extract(epoch from '2026-07-21 14:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818968 -2.624255)'), GeomFromEWKT('SRID=4674;POINT (-39.818954 -2.624257)'))) / (select extract(epoch from '2026-07-21 14:33:16'::timestamp) - extract(epoch from '2026-07-21 14:33: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'), 47870, 'SRID=4674;POINT (-39.818933 -2.624257)', '2026-07-21 14:33:18', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818954 -2.624257)'), GeomFromEWKT('SRID=4674;POINT (-39.818933 -2.624257)'))) / (select extract(epoch from '2026-07-21 14:33:18'::timestamp) - extract(epoch from '2026-07-21 14:33:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818954 -2.624257)'), GeomFromEWKT('SRID=4674;POINT (-39.818933 -2.624257)'))) / (select extract(epoch from '2026-07-21 14:33:18'::timestamp) - extract(epoch from '2026-07-21 14:33:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818896 -2.624239)', '2026-07-21 14:33:21', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818933 -2.624257)'), GeomFromEWKT('SRID=4674;POINT (-39.818896 -2.624239)'))) / (select extract(epoch from '2026-07-21 14:33:21'::timestamp) - extract(epoch from '2026-07-21 14:33:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818933 -2.624257)'), GeomFromEWKT('SRID=4674;POINT (-39.818896 -2.624239)'))) / (select extract(epoch from '2026-07-21 14:33:21'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.818883 -2.62423)', '2026-07-21 14:33:22', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818896 -2.624239)'), GeomFromEWKT('SRID=4674;POINT (-39.818883 -2.62423)'))) / (select extract(epoch from '2026-07-21 14:33:22'::timestamp) - extract(epoch from '2026-07-21 14:33:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818896 -2.624239)'), GeomFromEWKT('SRID=4674;POINT (-39.818883 -2.62423)'))) / (select extract(epoch from '2026-07-21 14:33:22'::timestamp) - extract(epoch from '2026-07-21 14:33:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.81885 -2.62421)', '2026-07-21 14:33:25', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818883 -2.62423)'), GeomFromEWKT('SRID=4674;POINT (-39.81885 -2.62421)'))) / (select extract(epoch from '2026-07-21 14:33:25'::timestamp) - extract(epoch from '2026-07-21 14:33:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818883 -2.62423)'), GeomFromEWKT('SRID=4674;POINT (-39.81885 -2.62421)'))) / (select extract(epoch from '2026-07-21 14:33:25'::timestamp) - extract(epoch from '2026-07-21 14:33: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'), 47870, 'SRID=4674;POINT (-39.818802 -2.624175)', '2026-07-21 14:33:30', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81885 -2.62421)'), GeomFromEWKT('SRID=4674;POINT (-39.818802 -2.624175)'))) / (select extract(epoch from '2026-07-21 14:33:30'::timestamp) - extract(epoch from '2026-07-21 14:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81885 -2.62421)'), GeomFromEWKT('SRID=4674;POINT (-39.818802 -2.624175)'))) / (select extract(epoch from '2026-07-21 14:33:30'::timestamp) - extract(epoch from '2026-07-21 14:33: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'), 47870, 'SRID=4674;POINT (-39.818782 -2.624157)', '2026-07-21 14:33:32', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818802 -2.624175)'), GeomFromEWKT('SRID=4674;POINT (-39.818782 -2.624157)'))) / (select extract(epoch from '2026-07-21 14:33:32'::timestamp) - extract(epoch from '2026-07-21 14:33:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818802 -2.624175)'), GeomFromEWKT('SRID=4674;POINT (-39.818782 -2.624157)'))) / (select extract(epoch from '2026-07-21 14:33:32'::timestamp) - extract(epoch from '2026-07-21 14:33: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'), 47870, 'SRID=4674;POINT (-39.818758 -2.624124)', '2026-07-21 14:33:35', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818782 -2.624157)'), GeomFromEWKT('SRID=4674;POINT (-39.818758 -2.624124)'))) / (select extract(epoch from '2026-07-21 14:33:35'::timestamp) - extract(epoch from '2026-07-21 14:33:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818782 -2.624157)'), GeomFromEWKT('SRID=4674;POINT (-39.818758 -2.624124)'))) / (select extract(epoch from '2026-07-21 14:33:35'::timestamp) - extract(epoch from '2026-07-21 14:33:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818742 -2.624113)', '2026-07-21 14:33:36', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818758 -2.624124)'), GeomFromEWKT('SRID=4674;POINT (-39.818742 -2.624113)'))) / (select extract(epoch from '2026-07-21 14:33:36'::timestamp) - extract(epoch from '2026-07-21 14:33:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818758 -2.624124)'), GeomFromEWKT('SRID=4674;POINT (-39.818742 -2.624113)'))) / (select extract(epoch from '2026-07-21 14:33:36'::timestamp) - extract(epoch from '2026-07-21 14:33: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'), 47870, 'SRID=4674;POINT (-39.818703 -2.624079)', '2026-07-21 14:33:39', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818742 -2.624113)'), GeomFromEWKT('SRID=4674;POINT (-39.818703 -2.624079)'))) / (select extract(epoch from '2026-07-21 14:33:39'::timestamp) - extract(epoch from '2026-07-21 14:33:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818742 -2.624113)'), GeomFromEWKT('SRID=4674;POINT (-39.818703 -2.624079)'))) / (select extract(epoch from '2026-07-21 14:33:39'::timestamp) - extract(epoch from '2026-07-21 14:33: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'), 47870, 'SRID=4674;POINT (-39.818624 -2.624001)', '2026-07-21 14:33:45', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818703 -2.624079)'), GeomFromEWKT('SRID=4674;POINT (-39.818624 -2.624001)'))) / (select extract(epoch from '2026-07-21 14:33:45'::timestamp) - extract(epoch from '2026-07-21 14:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818703 -2.624079)'), GeomFromEWKT('SRID=4674;POINT (-39.818624 -2.624001)'))) / (select extract(epoch from '2026-07-21 14:33:45'::timestamp) - extract(epoch from '2026-07-21 14:33:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818546 -2.623931)', '2026-07-21 14:33:50', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818624 -2.624001)'), GeomFromEWKT('SRID=4674;POINT (-39.818546 -2.623931)'))) / (select extract(epoch from '2026-07-21 14:33:50'::timestamp) - extract(epoch from '2026-07-21 14:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818624 -2.624001)'), GeomFromEWKT('SRID=4674;POINT (-39.818546 -2.623931)'))) / (select extract(epoch from '2026-07-21 14:33:50'::timestamp) - extract(epoch from '2026-07-21 14:33: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'), 47870, 'SRID=4674;POINT (-39.818488 -2.623875)', '2026-07-21 14:33:54', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818546 -2.623931)'), GeomFromEWKT('SRID=4674;POINT (-39.818488 -2.623875)'))) / (select extract(epoch from '2026-07-21 14:33:54'::timestamp) - extract(epoch from '2026-07-21 14:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818546 -2.623931)'), GeomFromEWKT('SRID=4674;POINT (-39.818488 -2.623875)'))) / (select extract(epoch from '2026-07-21 14:33:54'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.81843 -2.623813)', '2026-07-21 14:33:58', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818488 -2.623875)'), GeomFromEWKT('SRID=4674;POINT (-39.81843 -2.623813)'))) / (select extract(epoch from '2026-07-21 14:33:58'::timestamp) - extract(epoch from '2026-07-21 14:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818488 -2.623875)'), GeomFromEWKT('SRID=4674;POINT (-39.81843 -2.623813)'))) / (select extract(epoch from '2026-07-21 14:33:58'::timestamp) - extract(epoch from '2026-07-21 14:33: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'), 47870, 'SRID=4674;POINT (-39.818364 -2.623737)', '2026-07-21 14:34:03', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81843 -2.623813)'), GeomFromEWKT('SRID=4674;POINT (-39.818364 -2.623737)'))) / (select extract(epoch from '2026-07-21 14:34:03'::timestamp) - extract(epoch from '2026-07-21 14:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81843 -2.623813)'), GeomFromEWKT('SRID=4674;POINT (-39.818364 -2.623737)'))) / (select extract(epoch from '2026-07-21 14:34:03'::timestamp) - extract(epoch from '2026-07-21 14:33:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818281 -2.623648)', '2026-07-21 14:34:09', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818364 -2.623737)'), GeomFromEWKT('SRID=4674;POINT (-39.818281 -2.623648)'))) / (select extract(epoch from '2026-07-21 14:34:09'::timestamp) - extract(epoch from '2026-07-21 14:34:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818364 -2.623737)'), GeomFromEWKT('SRID=4674;POINT (-39.818281 -2.623648)'))) / (select extract(epoch from '2026-07-21 14:34:09'::timestamp) - extract(epoch from '2026-07-21 14:34: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'), 47870, 'SRID=4674;POINT (-39.818215 -2.623578)', '2026-07-21 14:34:14', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818281 -2.623648)'), GeomFromEWKT('SRID=4674;POINT (-39.818215 -2.623578)'))) / (select extract(epoch from '2026-07-21 14:34:14'::timestamp) - extract(epoch from '2026-07-21 14:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818281 -2.623648)'), GeomFromEWKT('SRID=4674;POINT (-39.818215 -2.623578)'))) / (select extract(epoch from '2026-07-21 14:34:14'::timestamp) - extract(epoch from '2026-07-21 14:34: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'), 47870, 'SRID=4674;POINT (-39.818189 -2.623536)', '2026-07-21 14:34:17', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818215 -2.623578)'), GeomFromEWKT('SRID=4674;POINT (-39.818189 -2.623536)'))) / (select extract(epoch from '2026-07-21 14:34:17'::timestamp) - extract(epoch from '2026-07-21 14:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818215 -2.623578)'), GeomFromEWKT('SRID=4674;POINT (-39.818189 -2.623536)'))) / (select extract(epoch from '2026-07-21 14:34:17'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.818182 -2.623522)', '2026-07-21 14:34:18', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818189 -2.623536)'), GeomFromEWKT('SRID=4674;POINT (-39.818182 -2.623522)'))) / (select extract(epoch from '2026-07-21 14:34:18'::timestamp) - extract(epoch from '2026-07-21 14:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818189 -2.623536)'), GeomFromEWKT('SRID=4674;POINT (-39.818182 -2.623522)'))) / (select extract(epoch from '2026-07-21 14:34:18'::timestamp) - extract(epoch from '2026-07-21 14:34:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818174 -2.623515)', '2026-07-21 14:34:19', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818182 -2.623522)'), GeomFromEWKT('SRID=4674;POINT (-39.818174 -2.623515)'))) / (select extract(epoch from '2026-07-21 14:34:19'::timestamp) - extract(epoch from '2026-07-21 14:34:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818182 -2.623522)'), GeomFromEWKT('SRID=4674;POINT (-39.818174 -2.623515)'))) / (select extract(epoch from '2026-07-21 14:34:19'::timestamp) - extract(epoch from '2026-07-21 14:34: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'), 47870, 'SRID=4674;POINT (-39.818155 -2.623491)', '2026-07-21 14:34:22', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818174 -2.623515)'), GeomFromEWKT('SRID=4674;POINT (-39.818155 -2.623491)'))) / (select extract(epoch from '2026-07-21 14:34:22'::timestamp) - extract(epoch from '2026-07-21 14:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818174 -2.623515)'), GeomFromEWKT('SRID=4674;POINT (-39.818155 -2.623491)'))) / (select extract(epoch from '2026-07-21 14:34:22'::timestamp) - extract(epoch from '2026-07-21 14:34:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818139 -2.623469)', '2026-07-21 14:34:25', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818155 -2.623491)'), GeomFromEWKT('SRID=4674;POINT (-39.818139 -2.623469)'))) / (select extract(epoch from '2026-07-21 14:34:25'::timestamp) - extract(epoch from '2026-07-21 14:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818155 -2.623491)'), GeomFromEWKT('SRID=4674;POINT (-39.818139 -2.623469)'))) / (select extract(epoch from '2026-07-21 14:34:25'::timestamp) - extract(epoch from '2026-07-21 14:34:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818134 -2.623447)', '2026-07-21 14:34:27', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818139 -2.623469)'), GeomFromEWKT('SRID=4674;POINT (-39.818134 -2.623447)'))) / (select extract(epoch from '2026-07-21 14:34:27'::timestamp) - extract(epoch from '2026-07-21 14:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818139 -2.623469)'), GeomFromEWKT('SRID=4674;POINT (-39.818134 -2.623447)'))) / (select extract(epoch from '2026-07-21 14:34:27'::timestamp) - extract(epoch from '2026-07-21 14:34: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'), 47870, 'SRID=4674;POINT (-39.818123 -2.623406)', '2026-07-21 14:34:33', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818134 -2.623447)'), GeomFromEWKT('SRID=4674;POINT (-39.818123 -2.623406)'))) / (select extract(epoch from '2026-07-21 14:34:33'::timestamp) - extract(epoch from '2026-07-21 14:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818134 -2.623447)'), GeomFromEWKT('SRID=4674;POINT (-39.818123 -2.623406)'))) / (select extract(epoch from '2026-07-21 14:34:33'::timestamp) - extract(epoch from '2026-07-21 14:34: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'), 47870, 'SRID=4674;POINT (-39.818118 -2.623389)', '2026-07-21 14:34:36', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818123 -2.623406)'), GeomFromEWKT('SRID=4674;POINT (-39.818118 -2.623389)'))) / (select extract(epoch from '2026-07-21 14:34:36'::timestamp) - extract(epoch from '2026-07-21 14:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818123 -2.623406)'), GeomFromEWKT('SRID=4674;POINT (-39.818118 -2.623389)'))) / (select extract(epoch from '2026-07-21 14:34:36'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.818117 -2.623372)', '2026-07-21 14:34:39', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818118 -2.623389)'), GeomFromEWKT('SRID=4674;POINT (-39.818117 -2.623372)'))) / (select extract(epoch from '2026-07-21 14:34:39'::timestamp) - extract(epoch from '2026-07-21 14:34:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818118 -2.623389)'), GeomFromEWKT('SRID=4674;POINT (-39.818117 -2.623372)'))) / (select extract(epoch from '2026-07-21 14:34:39'::timestamp) - extract(epoch from '2026-07-21 14:34:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818117 -2.623364)', '2026-07-21 14:34:40', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818117 -2.623372)'), GeomFromEWKT('SRID=4674;POINT (-39.818117 -2.623364)'))) / (select extract(epoch from '2026-07-21 14:34:40'::timestamp) - extract(epoch from '2026-07-21 14:34:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818117 -2.623372)'), GeomFromEWKT('SRID=4674;POINT (-39.818117 -2.623364)'))) / (select extract(epoch from '2026-07-21 14:34:40'::timestamp) - extract(epoch from '2026-07-21 14:34:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818129 -2.623334)', '2026-07-21 14:34:46', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818117 -2.623364)'), GeomFromEWKT('SRID=4674;POINT (-39.818129 -2.623334)'))) / (select extract(epoch from '2026-07-21 14:34:46'::timestamp) - extract(epoch from '2026-07-21 14:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818117 -2.623364)'), GeomFromEWKT('SRID=4674;POINT (-39.818129 -2.623334)'))) / (select extract(epoch from '2026-07-21 14:34:46'::timestamp) - extract(epoch from '2026-07-21 14:34:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818164 -2.623293)', '2026-07-21 14:34:55', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818129 -2.623334)'), GeomFromEWKT('SRID=4674;POINT (-39.818164 -2.623293)'))) / (select extract(epoch from '2026-07-21 14:34:55'::timestamp) - extract(epoch from '2026-07-21 14:34:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818129 -2.623334)'), GeomFromEWKT('SRID=4674;POINT (-39.818164 -2.623293)'))) / (select extract(epoch from '2026-07-21 14:34:55'::timestamp) - extract(epoch from '2026-07-21 14:34:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818172 -2.623271)', '2026-07-21 14:35:00', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818164 -2.623293)'), GeomFromEWKT('SRID=4674;POINT (-39.818172 -2.623271)'))) / (select extract(epoch from '2026-07-21 14:35:00'::timestamp) - extract(epoch from '2026-07-21 14:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818164 -2.623293)'), GeomFromEWKT('SRID=4674;POINT (-39.818172 -2.623271)'))) / (select extract(epoch from '2026-07-21 14:35:00'::timestamp) - extract(epoch from '2026-07-21 14:34:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818185 -2.623252)', '2026-07-21 14:35:07', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818172 -2.623271)'), GeomFromEWKT('SRID=4674;POINT (-39.818185 -2.623252)'))) / (select extract(epoch from '2026-07-21 14:35:07'::timestamp) - extract(epoch from '2026-07-21 14:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818172 -2.623271)'), GeomFromEWKT('SRID=4674;POINT (-39.818185 -2.623252)'))) / (select extract(epoch from '2026-07-21 14:35:07'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.818211 -2.623228)', '2026-07-21 14:35:13', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818185 -2.623252)'), GeomFromEWKT('SRID=4674;POINT (-39.818211 -2.623228)'))) / (select extract(epoch from '2026-07-21 14:35:13'::timestamp) - extract(epoch from '2026-07-21 14:35:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818185 -2.623252)'), GeomFromEWKT('SRID=4674;POINT (-39.818211 -2.623228)'))) / (select extract(epoch from '2026-07-21 14:35:13'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.818252 -2.623229)', '2026-07-21 14:35:27', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818211 -2.623228)'), GeomFromEWKT('SRID=4674;POINT (-39.818252 -2.623229)'))) / (select extract(epoch from '2026-07-21 14:35:27'::timestamp) - extract(epoch from '2026-07-21 14:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818211 -2.623228)'), GeomFromEWKT('SRID=4674;POINT (-39.818252 -2.623229)'))) / (select extract(epoch from '2026-07-21 14:35:27'::timestamp) - extract(epoch from '2026-07-21 14:35:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.8183 -2.623218)', '2026-07-21 14:35:36', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818252 -2.623229)'), GeomFromEWKT('SRID=4674;POINT (-39.8183 -2.623218)'))) / (select extract(epoch from '2026-07-21 14:35:36'::timestamp) - extract(epoch from '2026-07-21 14:35:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818252 -2.623229)'), GeomFromEWKT('SRID=4674;POINT (-39.8183 -2.623218)'))) / (select extract(epoch from '2026-07-21 14:35:36'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.818325 -2.623215)', '2026-07-21 14:35:43', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8183 -2.623218)'), GeomFromEWKT('SRID=4674;POINT (-39.818325 -2.623215)'))) / (select extract(epoch from '2026-07-21 14:35:43'::timestamp) - extract(epoch from '2026-07-21 14:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8183 -2.623218)'), GeomFromEWKT('SRID=4674;POINT (-39.818325 -2.623215)'))) / (select extract(epoch from '2026-07-21 14:35:43'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.818362 -2.623194)', '2026-07-21 14:35:51', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818325 -2.623215)'), GeomFromEWKT('SRID=4674;POINT (-39.818362 -2.623194)'))) / (select extract(epoch from '2026-07-21 14:35:51'::timestamp) - extract(epoch from '2026-07-21 14:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818325 -2.623215)'), GeomFromEWKT('SRID=4674;POINT (-39.818362 -2.623194)'))) / (select extract(epoch from '2026-07-21 14:35:51'::timestamp) - extract(epoch from '2026-07-21 14:35:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818393 -2.623182)', '2026-07-21 14:35:59', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818362 -2.623194)'), GeomFromEWKT('SRID=4674;POINT (-39.818393 -2.623182)'))) / (select extract(epoch from '2026-07-21 14:35:59'::timestamp) - extract(epoch from '2026-07-21 14:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818362 -2.623194)'), GeomFromEWKT('SRID=4674;POINT (-39.818393 -2.623182)'))) / (select extract(epoch from '2026-07-21 14:35:59'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.818409 -2.623191)', '2026-07-21 14:36:05', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818393 -2.623182)'), GeomFromEWKT('SRID=4674;POINT (-39.818409 -2.623191)'))) / (select extract(epoch from '2026-07-21 14:36:05'::timestamp) - extract(epoch from '2026-07-21 14:35:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818393 -2.623182)'), GeomFromEWKT('SRID=4674;POINT (-39.818409 -2.623191)'))) / (select extract(epoch from '2026-07-21 14:36:05'::timestamp) - extract(epoch from '2026-07-21 14:35: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'), 47870, 'SRID=4674;POINT (-39.818437 -2.623186)', '2026-07-21 14:36:13', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818409 -2.623191)'), GeomFromEWKT('SRID=4674;POINT (-39.818437 -2.623186)'))) / (select extract(epoch from '2026-07-21 14:36:13'::timestamp) - extract(epoch from '2026-07-21 14:36:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818409 -2.623191)'), GeomFromEWKT('SRID=4674;POINT (-39.818437 -2.623186)'))) / (select extract(epoch from '2026-07-21 14:36:13'::timestamp) - extract(epoch from '2026-07-21 14:36: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'), 47870, 'SRID=4674;POINT (-39.818454 -2.623173)', '2026-07-21 14:36:20', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818437 -2.623186)'), GeomFromEWKT('SRID=4674;POINT (-39.818454 -2.623173)'))) / (select extract(epoch from '2026-07-21 14:36:20'::timestamp) - extract(epoch from '2026-07-21 14:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818437 -2.623186)'), GeomFromEWKT('SRID=4674;POINT (-39.818454 -2.623173)'))) / (select extract(epoch from '2026-07-21 14:36:20'::timestamp) - extract(epoch from '2026-07-21 14:36:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.81849 -2.623141)', '2026-07-21 14:36:28', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818454 -2.623173)'), GeomFromEWKT('SRID=4674;POINT (-39.81849 -2.623141)'))) / (select extract(epoch from '2026-07-21 14:36:28'::timestamp) - extract(epoch from '2026-07-21 14:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818454 -2.623173)'), GeomFromEWKT('SRID=4674;POINT (-39.81849 -2.623141)'))) / (select extract(epoch from '2026-07-21 14:36:28'::timestamp) - extract(epoch from '2026-07-21 14:36:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.81851 -2.623111)', '2026-07-21 14:36:34', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81849 -2.623141)'), GeomFromEWKT('SRID=4674;POINT (-39.81851 -2.623111)'))) / (select extract(epoch from '2026-07-21 14:36:34'::timestamp) - extract(epoch from '2026-07-21 14:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81849 -2.623141)'), GeomFromEWKT('SRID=4674;POINT (-39.81851 -2.623111)'))) / (select extract(epoch from '2026-07-21 14:36:34'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.818516 -2.623104)', '2026-07-21 14:36:35', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81851 -2.623111)'), GeomFromEWKT('SRID=4674;POINT (-39.818516 -2.623104)'))) / (select extract(epoch from '2026-07-21 14:36:35'::timestamp) - extract(epoch from '2026-07-21 14:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81851 -2.623111)'), GeomFromEWKT('SRID=4674;POINT (-39.818516 -2.623104)'))) / (select extract(epoch from '2026-07-21 14:36:35'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.818532 -2.623082)', '2026-07-21 14:36:40', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818516 -2.623104)'), GeomFromEWKT('SRID=4674;POINT (-39.818532 -2.623082)'))) / (select extract(epoch from '2026-07-21 14:36:40'::timestamp) - extract(epoch from '2026-07-21 14:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818516 -2.623104)'), GeomFromEWKT('SRID=4674;POINT (-39.818532 -2.623082)'))) / (select extract(epoch from '2026-07-21 14:36:40'::timestamp) - extract(epoch from '2026-07-21 14:36:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818533 -2.623058)', '2026-07-21 14:36:45', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818532 -2.623082)'), GeomFromEWKT('SRID=4674;POINT (-39.818533 -2.623058)'))) / (select extract(epoch from '2026-07-21 14:36:45'::timestamp) - extract(epoch from '2026-07-21 14:36:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818532 -2.623082)'), GeomFromEWKT('SRID=4674;POINT (-39.818533 -2.623058)'))) / (select extract(epoch from '2026-07-21 14:36:45'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.81854 -2.62304)', '2026-07-21 14:36:53', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818533 -2.623058)'), GeomFromEWKT('SRID=4674;POINT (-39.81854 -2.62304)'))) / (select extract(epoch from '2026-07-21 14:36:53'::timestamp) - extract(epoch from '2026-07-21 14:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818533 -2.623058)'), GeomFromEWKT('SRID=4674;POINT (-39.81854 -2.62304)'))) / (select extract(epoch from '2026-07-21 14:36:53'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.818581 -2.623046)', '2026-07-21 14:37:11', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81854 -2.62304)'), GeomFromEWKT('SRID=4674;POINT (-39.818581 -2.623046)'))) / (select extract(epoch from '2026-07-21 14:37:11'::timestamp) - extract(epoch from '2026-07-21 14:36:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81854 -2.62304)'), GeomFromEWKT('SRID=4674;POINT (-39.818581 -2.623046)'))) / (select extract(epoch from '2026-07-21 14:37:11'::timestamp) - extract(epoch from '2026-07-21 14:36:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818608 -2.623034)', '2026-07-21 14:37:19', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818581 -2.623046)'), GeomFromEWKT('SRID=4674;POINT (-39.818608 -2.623034)'))) / (select extract(epoch from '2026-07-21 14:37:19'::timestamp) - extract(epoch from '2026-07-21 14:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818581 -2.623046)'), GeomFromEWKT('SRID=4674;POINT (-39.818608 -2.623034)'))) / (select extract(epoch from '2026-07-21 14:37:19'::timestamp) - extract(epoch from '2026-07-21 14:37: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'), 47870, 'SRID=4674;POINT (-39.818657 -2.623004)', '2026-07-21 14:37:34', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818608 -2.623034)'), GeomFromEWKT('SRID=4674;POINT (-39.818657 -2.623004)'))) / (select extract(epoch from '2026-07-21 14:37:34'::timestamp) - extract(epoch from '2026-07-21 14:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818608 -2.623034)'), GeomFromEWKT('SRID=4674;POINT (-39.818657 -2.623004)'))) / (select extract(epoch from '2026-07-21 14:37:34'::timestamp) - extract(epoch from '2026-07-21 14:37: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'), 47870, 'SRID=4674;POINT (-39.818673 -2.62299)', '2026-07-21 14:37:37', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818657 -2.623004)'), GeomFromEWKT('SRID=4674;POINT (-39.818673 -2.62299)'))) / (select extract(epoch from '2026-07-21 14:37:37'::timestamp) - extract(epoch from '2026-07-21 14:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818657 -2.623004)'), GeomFromEWKT('SRID=4674;POINT (-39.818673 -2.62299)'))) / (select extract(epoch from '2026-07-21 14:37:37'::timestamp) - extract(epoch from '2026-07-21 14:37:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818676 -2.622974)', '2026-07-21 14:37:39', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818673 -2.62299)'), GeomFromEWKT('SRID=4674;POINT (-39.818676 -2.622974)'))) / (select extract(epoch from '2026-07-21 14:37:39'::timestamp) - extract(epoch from '2026-07-21 14:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818673 -2.62299)'), GeomFromEWKT('SRID=4674;POINT (-39.818676 -2.622974)'))) / (select extract(epoch from '2026-07-21 14:37:39'::timestamp) - extract(epoch from '2026-07-21 14:37:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818691 -2.622957)', '2026-07-21 14:37:42', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818676 -2.622974)'), GeomFromEWKT('SRID=4674;POINT (-39.818691 -2.622957)'))) / (select extract(epoch from '2026-07-21 14:37:42'::timestamp) - extract(epoch from '2026-07-21 14:37:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818676 -2.622974)'), GeomFromEWKT('SRID=4674;POINT (-39.818691 -2.622957)'))) / (select extract(epoch from '2026-07-21 14:37:42'::timestamp) - extract(epoch from '2026-07-21 14:37: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'), 47870, 'SRID=4674;POINT (-39.818707 -2.622942)', '2026-07-21 14:37:45', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818691 -2.622957)'), GeomFromEWKT('SRID=4674;POINT (-39.818707 -2.622942)'))) / (select extract(epoch from '2026-07-21 14:37:45'::timestamp) - extract(epoch from '2026-07-21 14:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818691 -2.622957)'), GeomFromEWKT('SRID=4674;POINT (-39.818707 -2.622942)'))) / (select extract(epoch from '2026-07-21 14:37:45'::timestamp) - extract(epoch from '2026-07-21 14:37:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818707 -2.622903)', '2026-07-21 14:37:54', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818707 -2.622942)'), GeomFromEWKT('SRID=4674;POINT (-39.818707 -2.622903)'))) / (select extract(epoch from '2026-07-21 14:37:54'::timestamp) - extract(epoch from '2026-07-21 14:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818707 -2.622942)'), GeomFromEWKT('SRID=4674;POINT (-39.818707 -2.622903)'))) / (select extract(epoch from '2026-07-21 14:37:54'::timestamp) - extract(epoch from '2026-07-21 14:37: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'), 47870, 'SRID=4674;POINT (-39.818686 -2.622881)', '2026-07-21 14:38:01', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818707 -2.622903)'), GeomFromEWKT('SRID=4674;POINT (-39.818686 -2.622881)'))) / (select extract(epoch from '2026-07-21 14:38:01'::timestamp) - extract(epoch from '2026-07-21 14:37:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818707 -2.622903)'), GeomFromEWKT('SRID=4674;POINT (-39.818686 -2.622881)'))) / (select extract(epoch from '2026-07-21 14:38:01'::timestamp) - extract(epoch from '2026-07-21 14:37: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'), 47870, 'SRID=4674;POINT (-39.818678 -2.622846)', '2026-07-21 14:38:11', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818686 -2.622881)'), GeomFromEWKT('SRID=4674;POINT (-39.818678 -2.622846)'))) / (select extract(epoch from '2026-07-21 14:38:11'::timestamp) - extract(epoch from '2026-07-21 14:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818686 -2.622881)'), GeomFromEWKT('SRID=4674;POINT (-39.818678 -2.622846)'))) / (select extract(epoch from '2026-07-21 14:38:11'::timestamp) - extract(epoch from '2026-07-21 14:38:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818678 -2.622831)', '2026-07-21 14:38:17', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818678 -2.622846)'), GeomFromEWKT('SRID=4674;POINT (-39.818678 -2.622831)'))) / (select extract(epoch from '2026-07-21 14:38:17'::timestamp) - extract(epoch from '2026-07-21 14:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818678 -2.622846)'), GeomFromEWKT('SRID=4674;POINT (-39.818678 -2.622831)'))) / (select extract(epoch from '2026-07-21 14:38:17'::timestamp) - extract(epoch from '2026-07-21 14:38:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818695 -2.622799)', '2026-07-21 14:38:23', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818678 -2.622831)'), GeomFromEWKT('SRID=4674;POINT (-39.818695 -2.622799)'))) / (select extract(epoch from '2026-07-21 14:38:23'::timestamp) - extract(epoch from '2026-07-21 14:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818678 -2.622831)'), GeomFromEWKT('SRID=4674;POINT (-39.818695 -2.622799)'))) / (select extract(epoch from '2026-07-21 14:38:23'::timestamp) - extract(epoch from '2026-07-21 14:38: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'), 47870, 'SRID=4674;POINT (-39.818719 -2.622771)', '2026-07-21 14:38:30', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818695 -2.622799)'), GeomFromEWKT('SRID=4674;POINT (-39.818719 -2.622771)'))) / (select extract(epoch from '2026-07-21 14:38:30'::timestamp) - extract(epoch from '2026-07-21 14:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818695 -2.622799)'), GeomFromEWKT('SRID=4674;POINT (-39.818719 -2.622771)'))) / (select extract(epoch from '2026-07-21 14:38:30'::timestamp) - extract(epoch from '2026-07-21 14:38:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818736 -2.622739)', '2026-07-21 14:38:36', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818719 -2.622771)'), GeomFromEWKT('SRID=4674;POINT (-39.818736 -2.622739)'))) / (select extract(epoch from '2026-07-21 14:38:36'::timestamp) - extract(epoch from '2026-07-21 14:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818719 -2.622771)'), GeomFromEWKT('SRID=4674;POINT (-39.818736 -2.622739)'))) / (select extract(epoch from '2026-07-21 14:38:36'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.818704 -2.62271)', '2026-07-21 14:38:42', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818736 -2.622739)'), GeomFromEWKT('SRID=4674;POINT (-39.818704 -2.62271)'))) / (select extract(epoch from '2026-07-21 14:38:42'::timestamp) - extract(epoch from '2026-07-21 14:38:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818736 -2.622739)'), GeomFromEWKT('SRID=4674;POINT (-39.818704 -2.62271)'))) / (select extract(epoch from '2026-07-21 14:38:42'::timestamp) - extract(epoch from '2026-07-21 14:38: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'), 47870, 'SRID=4674;POINT (-39.818672 -2.622701)', '2026-07-21 14:38:45', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818704 -2.62271)'), GeomFromEWKT('SRID=4674;POINT (-39.818672 -2.622701)'))) / (select extract(epoch from '2026-07-21 14:38:45'::timestamp) - extract(epoch from '2026-07-21 14:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818704 -2.62271)'), GeomFromEWKT('SRID=4674;POINT (-39.818672 -2.622701)'))) / (select extract(epoch from '2026-07-21 14:38:45'::timestamp) - extract(epoch from '2026-07-21 14:38:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818658 -2.622704)', '2026-07-21 14:38:46', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818672 -2.622701)'), GeomFromEWKT('SRID=4674;POINT (-39.818658 -2.622704)'))) / (select extract(epoch from '2026-07-21 14:38:46'::timestamp) - extract(epoch from '2026-07-21 14:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818672 -2.622701)'), GeomFromEWKT('SRID=4674;POINT (-39.818658 -2.622704)'))) / (select extract(epoch from '2026-07-21 14:38:46'::timestamp) - extract(epoch from '2026-07-21 14:38:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818645 -2.622703)', '2026-07-21 14:38:47', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818658 -2.622704)'), GeomFromEWKT('SRID=4674;POINT (-39.818645 -2.622703)'))) / (select extract(epoch from '2026-07-21 14:38:47'::timestamp) - extract(epoch from '2026-07-21 14:38:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818658 -2.622704)'), GeomFromEWKT('SRID=4674;POINT (-39.818645 -2.622703)'))) / (select extract(epoch from '2026-07-21 14:38:47'::timestamp) - extract(epoch from '2026-07-21 14:38:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818589 -2.622705)', '2026-07-21 14:38:51', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818645 -2.622703)'), GeomFromEWKT('SRID=4674;POINT (-39.818589 -2.622705)'))) / (select extract(epoch from '2026-07-21 14:38:51'::timestamp) - extract(epoch from '2026-07-21 14:38:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818645 -2.622703)'), GeomFromEWKT('SRID=4674;POINT (-39.818589 -2.622705)'))) / (select extract(epoch from '2026-07-21 14:38:51'::timestamp) - extract(epoch from '2026-07-21 14:38: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'), 47870, 'SRID=4674;POINT (-39.818575 -2.622706)', '2026-07-21 14:38:52', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818589 -2.622705)'), GeomFromEWKT('SRID=4674;POINT (-39.818575 -2.622706)'))) / (select extract(epoch from '2026-07-21 14:38:52'::timestamp) - extract(epoch from '2026-07-21 14:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818589 -2.622705)'), GeomFromEWKT('SRID=4674;POINT (-39.818575 -2.622706)'))) / (select extract(epoch from '2026-07-21 14:38:52'::timestamp) - extract(epoch from '2026-07-21 14:38:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818517 -2.622723)', '2026-07-21 14:38:56', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818575 -2.622706)'), GeomFromEWKT('SRID=4674;POINT (-39.818517 -2.622723)'))) / (select extract(epoch from '2026-07-21 14:38:56'::timestamp) - extract(epoch from '2026-07-21 14:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818575 -2.622706)'), GeomFromEWKT('SRID=4674;POINT (-39.818517 -2.622723)'))) / (select extract(epoch from '2026-07-21 14:38:56'::timestamp) - extract(epoch from '2026-07-21 14:38:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818408 -2.622737)', '2026-07-21 14:39:03', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818517 -2.622723)'), GeomFromEWKT('SRID=4674;POINT (-39.818408 -2.622737)'))) / (select extract(epoch from '2026-07-21 14:39:03'::timestamp) - extract(epoch from '2026-07-21 14:38:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818517 -2.622723)'), GeomFromEWKT('SRID=4674;POINT (-39.818408 -2.622737)'))) / (select extract(epoch from '2026-07-21 14:39:03'::timestamp) - extract(epoch from '2026-07-21 14:38: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'), 47870, 'SRID=4674;POINT (-39.818303 -2.622732)', '2026-07-21 14:39:10', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818408 -2.622737)'), GeomFromEWKT('SRID=4674;POINT (-39.818303 -2.622732)'))) / (select extract(epoch from '2026-07-21 14:39:10'::timestamp) - extract(epoch from '2026-07-21 14:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818408 -2.622737)'), GeomFromEWKT('SRID=4674;POINT (-39.818303 -2.622732)'))) / (select extract(epoch from '2026-07-21 14:39:10'::timestamp) - extract(epoch from '2026-07-21 14:39:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818214 -2.622721)', '2026-07-21 14:39:15', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818303 -2.622732)'), GeomFromEWKT('SRID=4674;POINT (-39.818214 -2.622721)'))) / (select extract(epoch from '2026-07-21 14:39:15'::timestamp) - extract(epoch from '2026-07-21 14:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818303 -2.622732)'), GeomFromEWKT('SRID=4674;POINT (-39.818214 -2.622721)'))) / (select extract(epoch from '2026-07-21 14:39:15'::timestamp) - extract(epoch from '2026-07-21 14:39:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818077 -2.622714)', '2026-07-21 14:39:22', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818214 -2.622721)'), GeomFromEWKT('SRID=4674;POINT (-39.818077 -2.622714)'))) / (select extract(epoch from '2026-07-21 14:39:22'::timestamp) - extract(epoch from '2026-07-21 14:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818214 -2.622721)'), GeomFromEWKT('SRID=4674;POINT (-39.818077 -2.622714)'))) / (select extract(epoch from '2026-07-21 14:39:22'::timestamp) - extract(epoch from '2026-07-21 14:39: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'), 47870, 'SRID=4674;POINT (-39.817991 -2.622715)', '2026-07-21 14:39:27', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818077 -2.622714)'), GeomFromEWKT('SRID=4674;POINT (-39.817991 -2.622715)'))) / (select extract(epoch from '2026-07-21 14:39:27'::timestamp) - extract(epoch from '2026-07-21 14:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818077 -2.622714)'), GeomFromEWKT('SRID=4674;POINT (-39.817991 -2.622715)'))) / (select extract(epoch from '2026-07-21 14:39:27'::timestamp) - extract(epoch from '2026-07-21 14:39: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'), 47870, 'SRID=4674;POINT (-39.817887 -2.622688)', '2026-07-21 14:39:33', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817991 -2.622715)'), GeomFromEWKT('SRID=4674;POINT (-39.817887 -2.622688)'))) / (select extract(epoch from '2026-07-21 14:39:33'::timestamp) - extract(epoch from '2026-07-21 14:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817991 -2.622715)'), GeomFromEWKT('SRID=4674;POINT (-39.817887 -2.622688)'))) / (select extract(epoch from '2026-07-21 14:39:33'::timestamp) - extract(epoch from '2026-07-21 14:39: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'), 47870, 'SRID=4674;POINT (-39.817807 -2.622624)', '2026-07-21 14:39:38', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817887 -2.622688)'), GeomFromEWKT('SRID=4674;POINT (-39.817807 -2.622624)'))) / (select extract(epoch from '2026-07-21 14:39:38'::timestamp) - extract(epoch from '2026-07-21 14:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817887 -2.622688)'), GeomFromEWKT('SRID=4674;POINT (-39.817807 -2.622624)'))) / (select extract(epoch from '2026-07-21 14:39:38'::timestamp) - extract(epoch from '2026-07-21 14:39: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'), 47870, 'SRID=4674;POINT (-39.817793 -2.622606)', '2026-07-21 14:39:39', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817807 -2.622624)'), GeomFromEWKT('SRID=4674;POINT (-39.817793 -2.622606)'))) / (select extract(epoch from '2026-07-21 14:39:39'::timestamp) - extract(epoch from '2026-07-21 14:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817807 -2.622624)'), GeomFromEWKT('SRID=4674;POINT (-39.817793 -2.622606)'))) / (select extract(epoch from '2026-07-21 14:39:39'::timestamp) - extract(epoch from '2026-07-21 14:39: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'), 47870, 'SRID=4674;POINT (-39.817717 -2.622523)', '2026-07-21 14:39:44', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817793 -2.622606)'), GeomFromEWKT('SRID=4674;POINT (-39.817717 -2.622523)'))) / (select extract(epoch from '2026-07-21 14:39:44'::timestamp) - extract(epoch from '2026-07-21 14:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817793 -2.622606)'), GeomFromEWKT('SRID=4674;POINT (-39.817717 -2.622523)'))) / (select extract(epoch from '2026-07-21 14:39:44'::timestamp) - extract(epoch from '2026-07-21 14:39:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.81763 -2.622418)', '2026-07-21 14:39:50', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817717 -2.622523)'), GeomFromEWKT('SRID=4674;POINT (-39.81763 -2.622418)'))) / (select extract(epoch from '2026-07-21 14:39:50'::timestamp) - extract(epoch from '2026-07-21 14:39:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817717 -2.622523)'), GeomFromEWKT('SRID=4674;POINT (-39.81763 -2.622418)'))) / (select extract(epoch from '2026-07-21 14:39:50'::timestamp) - extract(epoch from '2026-07-21 14:39:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817617 -2.622405)', '2026-07-21 14:39:51', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81763 -2.622418)'), GeomFromEWKT('SRID=4674;POINT (-39.817617 -2.622405)'))) / (select extract(epoch from '2026-07-21 14:39:51'::timestamp) - extract(epoch from '2026-07-21 14:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81763 -2.622418)'), GeomFromEWKT('SRID=4674;POINT (-39.817617 -2.622405)'))) / (select extract(epoch from '2026-07-21 14:39:51'::timestamp) - extract(epoch from '2026-07-21 14:39:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817591 -2.622378)', '2026-07-21 14:39:54', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817617 -2.622405)'), GeomFromEWKT('SRID=4674;POINT (-39.817591 -2.622378)'))) / (select extract(epoch from '2026-07-21 14:39:54'::timestamp) - extract(epoch from '2026-07-21 14:39:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817617 -2.622405)'), GeomFromEWKT('SRID=4674;POINT (-39.817591 -2.622378)'))) / (select extract(epoch from '2026-07-21 14:39:54'::timestamp) - extract(epoch from '2026-07-21 14:39: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'), 47870, 'SRID=4674;POINT (-39.817541 -2.622328)', '2026-07-21 14:40:02', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817591 -2.622378)'), GeomFromEWKT('SRID=4674;POINT (-39.817541 -2.622328)'))) / (select extract(epoch from '2026-07-21 14:40:02'::timestamp) - extract(epoch from '2026-07-21 14:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817591 -2.622378)'), GeomFromEWKT('SRID=4674;POINT (-39.817541 -2.622328)'))) / (select extract(epoch from '2026-07-21 14:40:02'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.817512 -2.622286)', '2026-07-21 14:40:10', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817541 -2.622328)'), GeomFromEWKT('SRID=4674;POINT (-39.817512 -2.622286)'))) / (select extract(epoch from '2026-07-21 14:40:10'::timestamp) - extract(epoch from '2026-07-21 14:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817541 -2.622328)'), GeomFromEWKT('SRID=4674;POINT (-39.817512 -2.622286)'))) / (select extract(epoch from '2026-07-21 14:40:10'::timestamp) - extract(epoch from '2026-07-21 14:40:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.81752 -2.622239)', '2026-07-21 14:40:18', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817512 -2.622286)'), GeomFromEWKT('SRID=4674;POINT (-39.81752 -2.622239)'))) / (select extract(epoch from '2026-07-21 14:40:18'::timestamp) - extract(epoch from '2026-07-21 14:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817512 -2.622286)'), GeomFromEWKT('SRID=4674;POINT (-39.81752 -2.622239)'))) / (select extract(epoch from '2026-07-21 14:40:18'::timestamp) - extract(epoch from '2026-07-21 14:40:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817535 -2.6222)', '2026-07-21 14:40:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81752 -2.622239)'), GeomFromEWKT('SRID=4674;POINT (-39.817535 -2.6222)'))) / (select extract(epoch from '2026-07-21 14:40:26'::timestamp) - extract(epoch from '2026-07-21 14:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81752 -2.622239)'), GeomFromEWKT('SRID=4674;POINT (-39.817535 -2.6222)'))) / (select extract(epoch from '2026-07-21 14:40:26'::timestamp) - extract(epoch from '2026-07-21 14:40:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817569 -2.622172)', '2026-07-21 14:40:34', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817535 -2.6222)'), GeomFromEWKT('SRID=4674;POINT (-39.817569 -2.622172)'))) / (select extract(epoch from '2026-07-21 14:40:34'::timestamp) - extract(epoch from '2026-07-21 14:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817535 -2.6222)'), GeomFromEWKT('SRID=4674;POINT (-39.817569 -2.622172)'))) / (select extract(epoch from '2026-07-21 14:40:34'::timestamp) - extract(epoch from '2026-07-21 14:40:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817604 -2.622146)', '2026-07-21 14:40:41', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817569 -2.622172)'), GeomFromEWKT('SRID=4674;POINT (-39.817604 -2.622146)'))) / (select extract(epoch from '2026-07-21 14:40:41'::timestamp) - extract(epoch from '2026-07-21 14:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817569 -2.622172)'), GeomFromEWKT('SRID=4674;POINT (-39.817604 -2.622146)'))) / (select extract(epoch from '2026-07-21 14:40:41'::timestamp) - extract(epoch from '2026-07-21 14:40:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817616 -2.622124)', '2026-07-21 14:40:48', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817604 -2.622146)'), GeomFromEWKT('SRID=4674;POINT (-39.817616 -2.622124)'))) / (select extract(epoch from '2026-07-21 14:40:48'::timestamp) - extract(epoch from '2026-07-21 14:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817604 -2.622146)'), GeomFromEWKT('SRID=4674;POINT (-39.817616 -2.622124)'))) / (select extract(epoch from '2026-07-21 14:40:48'::timestamp) - extract(epoch from '2026-07-21 14:40:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817628 -2.6221)', '2026-07-21 14:40:55', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817616 -2.622124)'), GeomFromEWKT('SRID=4674;POINT (-39.817628 -2.6221)'))) / (select extract(epoch from '2026-07-21 14:40:55'::timestamp) - extract(epoch from '2026-07-21 14:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817616 -2.622124)'), GeomFromEWKT('SRID=4674;POINT (-39.817628 -2.6221)'))) / (select extract(epoch from '2026-07-21 14:40:55'::timestamp) - extract(epoch from '2026-07-21 14:40:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817639 -2.622079)', '2026-07-21 14:41:01', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817628 -2.6221)'), GeomFromEWKT('SRID=4674;POINT (-39.817639 -2.622079)'))) / (select extract(epoch from '2026-07-21 14:41:01'::timestamp) - extract(epoch from '2026-07-21 14:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817628 -2.6221)'), GeomFromEWKT('SRID=4674;POINT (-39.817639 -2.622079)'))) / (select extract(epoch from '2026-07-21 14:41:01'::timestamp) - extract(epoch from '2026-07-21 14:40:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817634 -2.622066)', '2026-07-21 14:41:09', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817639 -2.622079)'), GeomFromEWKT('SRID=4674;POINT (-39.817634 -2.622066)'))) / (select extract(epoch from '2026-07-21 14:41:09'::timestamp) - extract(epoch from '2026-07-21 14:41:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817639 -2.622079)'), GeomFromEWKT('SRID=4674;POINT (-39.817634 -2.622066)'))) / (select extract(epoch from '2026-07-21 14:41:09'::timestamp) - extract(epoch from '2026-07-21 14:41: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'), 47870, 'SRID=4674;POINT (-39.817636 -2.622056)', '2026-07-21 14:41:17', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817634 -2.622066)'), GeomFromEWKT('SRID=4674;POINT (-39.817636 -2.622056)'))) / (select extract(epoch from '2026-07-21 14:41:17'::timestamp) - extract(epoch from '2026-07-21 14:41:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817634 -2.622066)'), GeomFromEWKT('SRID=4674;POINT (-39.817636 -2.622056)'))) / (select extract(epoch from '2026-07-21 14:41:17'::timestamp) - extract(epoch from '2026-07-21 14:41: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'), 47870, 'SRID=4674;POINT (-39.817645 -2.622047)', '2026-07-21 14:41:22', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817636 -2.622056)'), GeomFromEWKT('SRID=4674;POINT (-39.817645 -2.622047)'))) / (select extract(epoch from '2026-07-21 14:41:22'::timestamp) - extract(epoch from '2026-07-21 14:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817636 -2.622056)'), GeomFromEWKT('SRID=4674;POINT (-39.817645 -2.622047)'))) / (select extract(epoch from '2026-07-21 14:41:22'::timestamp) - extract(epoch from '2026-07-21 14:41:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817647 -2.622034)', '2026-07-21 14:41:26', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817645 -2.622047)'), GeomFromEWKT('SRID=4674;POINT (-39.817647 -2.622034)'))) / (select extract(epoch from '2026-07-21 14:41:26'::timestamp) - extract(epoch from '2026-07-21 14:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817645 -2.622047)'), GeomFromEWKT('SRID=4674;POINT (-39.817647 -2.622034)'))) / (select extract(epoch from '2026-07-21 14:41:26'::timestamp) - extract(epoch from '2026-07-21 14:41:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817659 -2.622002)', '2026-07-21 14:41:34', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817647 -2.622034)'), GeomFromEWKT('SRID=4674;POINT (-39.817659 -2.622002)'))) / (select extract(epoch from '2026-07-21 14:41:34'::timestamp) - extract(epoch from '2026-07-21 14:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817647 -2.622034)'), GeomFromEWKT('SRID=4674;POINT (-39.817659 -2.622002)'))) / (select extract(epoch from '2026-07-21 14:41:34'::timestamp) - extract(epoch from '2026-07-21 14:41:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817679 -2.621975)', '2026-07-21 14:41:43', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817659 -2.622002)'), GeomFromEWKT('SRID=4674;POINT (-39.817679 -2.621975)'))) / (select extract(epoch from '2026-07-21 14:41:43'::timestamp) - extract(epoch from '2026-07-21 14:41:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817659 -2.622002)'), GeomFromEWKT('SRID=4674;POINT (-39.817679 -2.621975)'))) / (select extract(epoch from '2026-07-21 14:41:43'::timestamp) - extract(epoch from '2026-07-21 14:41: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'), 47870, 'SRID=4674;POINT (-39.81766 -2.62195)', '2026-07-21 14:41:50', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817679 -2.621975)'), GeomFromEWKT('SRID=4674;POINT (-39.81766 -2.62195)'))) / (select extract(epoch from '2026-07-21 14:41:50'::timestamp) - extract(epoch from '2026-07-21 14:41:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817679 -2.621975)'), GeomFromEWKT('SRID=4674;POINT (-39.81766 -2.62195)'))) / (select extract(epoch from '2026-07-21 14:41:50'::timestamp) - extract(epoch from '2026-07-21 14:41: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'), 47870, 'SRID=4674;POINT (-39.817613 -2.621918)', '2026-07-21 14:41:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81766 -2.62195)'), GeomFromEWKT('SRID=4674;POINT (-39.817613 -2.621918)'))) / (select extract(epoch from '2026-07-21 14:41:56'::timestamp) - extract(epoch from '2026-07-21 14:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81766 -2.62195)'), GeomFromEWKT('SRID=4674;POINT (-39.817613 -2.621918)'))) / (select extract(epoch from '2026-07-21 14:41:56'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.817584 -2.621896)', '2026-07-21 14:41:59', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817613 -2.621918)'), GeomFromEWKT('SRID=4674;POINT (-39.817584 -2.621896)'))) / (select extract(epoch from '2026-07-21 14:41:59'::timestamp) - extract(epoch from '2026-07-21 14:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817613 -2.621918)'), GeomFromEWKT('SRID=4674;POINT (-39.817584 -2.621896)'))) / (select extract(epoch from '2026-07-21 14:41:59'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.817548 -2.621862)', '2026-07-21 14:42:02', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817584 -2.621896)'), GeomFromEWKT('SRID=4674;POINT (-39.817548 -2.621862)'))) / (select extract(epoch from '2026-07-21 14:42:02'::timestamp) - extract(epoch from '2026-07-21 14:41:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817584 -2.621896)'), GeomFromEWKT('SRID=4674;POINT (-39.817548 -2.621862)'))) / (select extract(epoch from '2026-07-21 14:42:02'::timestamp) - extract(epoch from '2026-07-21 14:41:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817465 -2.621779)', '2026-07-21 14:42:08', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817548 -2.621862)'), GeomFromEWKT('SRID=4674;POINT (-39.817465 -2.621779)'))) / (select extract(epoch from '2026-07-21 14:42:08'::timestamp) - extract(epoch from '2026-07-21 14:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817548 -2.621862)'), GeomFromEWKT('SRID=4674;POINT (-39.817465 -2.621779)'))) / (select extract(epoch from '2026-07-21 14:42:08'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.817375 -2.621696)', '2026-07-21 14:42:14', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817465 -2.621779)'), GeomFromEWKT('SRID=4674;POINT (-39.817375 -2.621696)'))) / (select extract(epoch from '2026-07-21 14:42:14'::timestamp) - extract(epoch from '2026-07-21 14:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817465 -2.621779)'), GeomFromEWKT('SRID=4674;POINT (-39.817375 -2.621696)'))) / (select extract(epoch from '2026-07-21 14:42:14'::timestamp) - extract(epoch from '2026-07-21 14:42: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'), 47870, 'SRID=4674;POINT (-39.817296 -2.621643)', '2026-07-21 14:42:19', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817375 -2.621696)'), GeomFromEWKT('SRID=4674;POINT (-39.817296 -2.621643)'))) / (select extract(epoch from '2026-07-21 14:42:19'::timestamp) - extract(epoch from '2026-07-21 14:42:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817375 -2.621696)'), GeomFromEWKT('SRID=4674;POINT (-39.817296 -2.621643)'))) / (select extract(epoch from '2026-07-21 14:42:19'::timestamp) - extract(epoch from '2026-07-21 14:42:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817216 -2.621599)', '2026-07-21 14:42:24', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817296 -2.621643)'), GeomFromEWKT('SRID=4674;POINT (-39.817216 -2.621599)'))) / (select extract(epoch from '2026-07-21 14:42:24'::timestamp) - extract(epoch from '2026-07-21 14:42:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817296 -2.621643)'), GeomFromEWKT('SRID=4674;POINT (-39.817216 -2.621599)'))) / (select extract(epoch from '2026-07-21 14:42:24'::timestamp) - extract(epoch from '2026-07-21 14:42: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'), 47870, 'SRID=4674;POINT (-39.817204 -2.621592)', '2026-07-21 14:42:25', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817216 -2.621599)'), GeomFromEWKT('SRID=4674;POINT (-39.817204 -2.621592)'))) / (select extract(epoch from '2026-07-21 14:42:25'::timestamp) - extract(epoch from '2026-07-21 14:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817216 -2.621599)'), GeomFromEWKT('SRID=4674;POINT (-39.817204 -2.621592)'))) / (select extract(epoch from '2026-07-21 14:42:25'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.817145 -2.621546)', '2026-07-21 14:42:29', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817204 -2.621592)'), GeomFromEWKT('SRID=4674;POINT (-39.817145 -2.621546)'))) / (select extract(epoch from '2026-07-21 14:42:29'::timestamp) - extract(epoch from '2026-07-21 14:42:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817204 -2.621592)'), GeomFromEWKT('SRID=4674;POINT (-39.817145 -2.621546)'))) / (select extract(epoch from '2026-07-21 14:42:29'::timestamp) - extract(epoch from '2026-07-21 14:42: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'), 47870, 'SRID=4674;POINT (-39.817102 -2.621474)', '2026-07-21 14:42:33', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817145 -2.621546)'), GeomFromEWKT('SRID=4674;POINT (-39.817102 -2.621474)'))) / (select extract(epoch from '2026-07-21 14:42:33'::timestamp) - extract(epoch from '2026-07-21 14:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817145 -2.621546)'), GeomFromEWKT('SRID=4674;POINT (-39.817102 -2.621474)'))) / (select extract(epoch from '2026-07-21 14:42:33'::timestamp) - extract(epoch from '2026-07-21 14:42:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.81708 -2.621414)', '2026-07-21 14:42:36', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817102 -2.621474)'), GeomFromEWKT('SRID=4674;POINT (-39.81708 -2.621414)'))) / (select extract(epoch from '2026-07-21 14:42:36'::timestamp) - extract(epoch from '2026-07-21 14:42:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817102 -2.621474)'), GeomFromEWKT('SRID=4674;POINT (-39.81708 -2.621414)'))) / (select extract(epoch from '2026-07-21 14:42:36'::timestamp) - extract(epoch from '2026-07-21 14:42: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'), 47870, 'SRID=4674;POINT (-39.817078 -2.621366)', '2026-07-21 14:42:38', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81708 -2.621414)'), GeomFromEWKT('SRID=4674;POINT (-39.817078 -2.621366)'))) / (select extract(epoch from '2026-07-21 14:42:38'::timestamp) - extract(epoch from '2026-07-21 14:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81708 -2.621414)'), GeomFromEWKT('SRID=4674;POINT (-39.817078 -2.621366)'))) / (select extract(epoch from '2026-07-21 14:42:38'::timestamp) - extract(epoch from '2026-07-21 14:42:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817057 -2.621249)', '2026-07-21 14:42:43', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817078 -2.621366)'), GeomFromEWKT('SRID=4674;POINT (-39.817057 -2.621249)'))) / (select extract(epoch from '2026-07-21 14:42:43'::timestamp) - extract(epoch from '2026-07-21 14:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817078 -2.621366)'), GeomFromEWKT('SRID=4674;POINT (-39.817057 -2.621249)'))) / (select extract(epoch from '2026-07-21 14:42:43'::timestamp) - extract(epoch from '2026-07-21 14:42: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'), 47870, 'SRID=4674;POINT (-39.817023 -2.621159)', '2026-07-21 14:42:48', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817057 -2.621249)'), GeomFromEWKT('SRID=4674;POINT (-39.817023 -2.621159)'))) / (select extract(epoch from '2026-07-21 14:42:48'::timestamp) - extract(epoch from '2026-07-21 14:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817057 -2.621249)'), GeomFromEWKT('SRID=4674;POINT (-39.817023 -2.621159)'))) / (select extract(epoch from '2026-07-21 14:42:48'::timestamp) - extract(epoch from '2026-07-21 14:42: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'), 47870, 'SRID=4674;POINT (-39.816996 -2.62112)', '2026-07-21 14:42:52', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817023 -2.621159)'), GeomFromEWKT('SRID=4674;POINT (-39.816996 -2.62112)'))) / (select extract(epoch from '2026-07-21 14:42:52'::timestamp) - extract(epoch from '2026-07-21 14:42:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817023 -2.621159)'), GeomFromEWKT('SRID=4674;POINT (-39.816996 -2.62112)'))) / (select extract(epoch from '2026-07-21 14:42:52'::timestamp) - extract(epoch from '2026-07-21 14:42: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'), 47870, 'SRID=4674;POINT (-39.816991 -2.621113)', '2026-07-21 14:42:53', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816996 -2.62112)'), GeomFromEWKT('SRID=4674;POINT (-39.816991 -2.621113)'))) / (select extract(epoch from '2026-07-21 14:42:53'::timestamp) - extract(epoch from '2026-07-21 14:42:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816996 -2.62112)'), GeomFromEWKT('SRID=4674;POINT (-39.816991 -2.621113)'))) / (select extract(epoch from '2026-07-21 14:42:53'::timestamp) - extract(epoch from '2026-07-21 14:42:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.816977 -2.621083)', '2026-07-21 14:43:00', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816991 -2.621113)'), GeomFromEWKT('SRID=4674;POINT (-39.816977 -2.621083)'))) / (select extract(epoch from '2026-07-21 14:43:00'::timestamp) - extract(epoch from '2026-07-21 14:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816991 -2.621113)'), GeomFromEWKT('SRID=4674;POINT (-39.816977 -2.621083)'))) / (select extract(epoch from '2026-07-21 14:43:00'::timestamp) - extract(epoch from '2026-07-21 14:42: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'), 47870, 'SRID=4674;POINT (-39.816982 -2.621054)', '2026-07-21 14:43:05', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816977 -2.621083)'), GeomFromEWKT('SRID=4674;POINT (-39.816982 -2.621054)'))) / (select extract(epoch from '2026-07-21 14:43:05'::timestamp) - extract(epoch from '2026-07-21 14:43:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816977 -2.621083)'), GeomFromEWKT('SRID=4674;POINT (-39.816982 -2.621054)'))) / (select extract(epoch from '2026-07-21 14:43:05'::timestamp) - extract(epoch from '2026-07-21 14:43:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817001 -2.621036)', '2026-07-21 14:43:13', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816982 -2.621054)'), GeomFromEWKT('SRID=4674;POINT (-39.817001 -2.621036)'))) / (select extract(epoch from '2026-07-21 14:43:13'::timestamp) - extract(epoch from '2026-07-21 14:43:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816982 -2.621054)'), GeomFromEWKT('SRID=4674;POINT (-39.817001 -2.621036)'))) / (select extract(epoch from '2026-07-21 14:43:13'::timestamp) - extract(epoch from '2026-07-21 14:43: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'), 47870, 'SRID=4674;POINT (-39.817019 -2.621007)', '2026-07-21 14:43:19', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817001 -2.621036)'), GeomFromEWKT('SRID=4674;POINT (-39.817019 -2.621007)'))) / (select extract(epoch from '2026-07-21 14:43:19'::timestamp) - extract(epoch from '2026-07-21 14:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817001 -2.621036)'), GeomFromEWKT('SRID=4674;POINT (-39.817019 -2.621007)'))) / (select extract(epoch from '2026-07-21 14:43:19'::timestamp) - extract(epoch from '2026-07-21 14:43: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'), 47870, 'SRID=4674;POINT (-39.817058 -2.620961)', '2026-07-21 14:43:27', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817019 -2.621007)'), GeomFromEWKT('SRID=4674;POINT (-39.817058 -2.620961)'))) / (select extract(epoch from '2026-07-21 14:43:27'::timestamp) - extract(epoch from '2026-07-21 14:43:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817019 -2.621007)'), GeomFromEWKT('SRID=4674;POINT (-39.817058 -2.620961)'))) / (select extract(epoch from '2026-07-21 14:43:27'::timestamp) - extract(epoch from '2026-07-21 14:43: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'), 47870, 'SRID=4674;POINT (-39.817091 -2.620927)', '2026-07-21 14:43:34', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817058 -2.620961)'), GeomFromEWKT('SRID=4674;POINT (-39.817091 -2.620927)'))) / (select extract(epoch from '2026-07-21 14:43:34'::timestamp) - extract(epoch from '2026-07-21 14:43:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817058 -2.620961)'), GeomFromEWKT('SRID=4674;POINT (-39.817091 -2.620927)'))) / (select extract(epoch from '2026-07-21 14:43:34'::timestamp) - extract(epoch from '2026-07-21 14:43: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'), 47870, 'SRID=4674;POINT (-39.817127 -2.620894)', '2026-07-21 14:43:40', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817091 -2.620927)'), GeomFromEWKT('SRID=4674;POINT (-39.817127 -2.620894)'))) / (select extract(epoch from '2026-07-21 14:43:40'::timestamp) - extract(epoch from '2026-07-21 14:43:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817091 -2.620927)'), GeomFromEWKT('SRID=4674;POINT (-39.817127 -2.620894)'))) / (select extract(epoch from '2026-07-21 14:43:40'::timestamp) - extract(epoch from '2026-07-21 14:43:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817135 -2.620892)', '2026-07-21 14:43:41', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817127 -2.620894)'), GeomFromEWKT('SRID=4674;POINT (-39.817135 -2.620892)'))) / (select extract(epoch from '2026-07-21 14:43:41'::timestamp) - extract(epoch from '2026-07-21 14:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817127 -2.620894)'), GeomFromEWKT('SRID=4674;POINT (-39.817135 -2.620892)'))) / (select extract(epoch from '2026-07-21 14:43:41'::timestamp) - extract(epoch from '2026-07-21 14:43: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'), 47870, 'SRID=4674;POINT (-39.817155 -2.620873)', '2026-07-21 14:43:44', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817135 -2.620892)'), GeomFromEWKT('SRID=4674;POINT (-39.817155 -2.620873)'))) / (select extract(epoch from '2026-07-21 14:43:44'::timestamp) - extract(epoch from '2026-07-21 14:43:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817135 -2.620892)'), GeomFromEWKT('SRID=4674;POINT (-39.817155 -2.620873)'))) / (select extract(epoch from '2026-07-21 14:43:44'::timestamp) - extract(epoch from '2026-07-21 14:43: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'), 47870, 'SRID=4674;POINT (-39.817215 -2.620824)', '2026-07-21 14:43:53', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817155 -2.620873)'), GeomFromEWKT('SRID=4674;POINT (-39.817215 -2.620824)'))) / (select extract(epoch from '2026-07-21 14:43:53'::timestamp) - extract(epoch from '2026-07-21 14:43:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817155 -2.620873)'), GeomFromEWKT('SRID=4674;POINT (-39.817215 -2.620824)'))) / (select extract(epoch from '2026-07-21 14:43:53'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.817244 -2.620795)', '2026-07-21 14:43:59', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817215 -2.620824)'), GeomFromEWKT('SRID=4674;POINT (-39.817244 -2.620795)'))) / (select extract(epoch from '2026-07-21 14:43:59'::timestamp) - extract(epoch from '2026-07-21 14:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817215 -2.620824)'), GeomFromEWKT('SRID=4674;POINT (-39.817244 -2.620795)'))) / (select extract(epoch from '2026-07-21 14:43:59'::timestamp) - extract(epoch from '2026-07-21 14:43: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'), 47870, 'SRID=4674;POINT (-39.817247 -2.620787)', '2026-07-21 14:44:00', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817244 -2.620795)'), GeomFromEWKT('SRID=4674;POINT (-39.817247 -2.620787)'))) / (select extract(epoch from '2026-07-21 14:44:00'::timestamp) - extract(epoch from '2026-07-21 14:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817244 -2.620795)'), GeomFromEWKT('SRID=4674;POINT (-39.817247 -2.620787)'))) / (select extract(epoch from '2026-07-21 14:44:00'::timestamp) - extract(epoch from '2026-07-21 14:43: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'), 47870, 'SRID=4674;POINT (-39.817257 -2.620771)', '2026-07-21 14:44:03', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817247 -2.620787)'), GeomFromEWKT('SRID=4674;POINT (-39.817257 -2.620771)'))) / (select extract(epoch from '2026-07-21 14:44:03'::timestamp) - extract(epoch from '2026-07-21 14:44:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817247 -2.620787)'), GeomFromEWKT('SRID=4674;POINT (-39.817257 -2.620771)'))) / (select extract(epoch from '2026-07-21 14:44:03'::timestamp) - extract(epoch from '2026-07-21 14:44:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817256 -2.620748)', '2026-07-21 14:44:08', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817257 -2.620771)'), GeomFromEWKT('SRID=4674;POINT (-39.817256 -2.620748)'))) / (select extract(epoch from '2026-07-21 14:44:08'::timestamp) - extract(epoch from '2026-07-21 14:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817257 -2.620771)'), GeomFromEWKT('SRID=4674;POINT (-39.817256 -2.620748)'))) / (select extract(epoch from '2026-07-21 14:44:08'::timestamp) - extract(epoch from '2026-07-21 14: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'), 47870, 'SRID=4674;POINT (-39.81724 -2.620723)', '2026-07-21 14:44:14', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817256 -2.620748)'), GeomFromEWKT('SRID=4674;POINT (-39.81724 -2.620723)'))) / (select extract(epoch from '2026-07-21 14:44:14'::timestamp) - extract(epoch from '2026-07-21 14:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817256 -2.620748)'), GeomFromEWKT('SRID=4674;POINT (-39.81724 -2.620723)'))) / (select extract(epoch from '2026-07-21 14:44:14'::timestamp) - extract(epoch from '2026-07-21 14:44: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'), 47870, 'SRID=4674;POINT (-39.817236 -2.620718)', '2026-07-21 14:44:21', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81724 -2.620723)'), GeomFromEWKT('SRID=4674;POINT (-39.817236 -2.620718)'))) / (select extract(epoch from '2026-07-21 14:44:21'::timestamp) - extract(epoch from '2026-07-21 14:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81724 -2.620723)'), GeomFromEWKT('SRID=4674;POINT (-39.817236 -2.620718)'))) / (select extract(epoch from '2026-07-21 14:44:21'::timestamp) - extract(epoch from '2026-07-21 14:44:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817233 -2.620706)', '2026-07-21 14:44:31', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817236 -2.620718)'), GeomFromEWKT('SRID=4674;POINT (-39.817233 -2.620706)'))) / (select extract(epoch from '2026-07-21 14:44:31'::timestamp) - extract(epoch from '2026-07-21 14:44:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817236 -2.620718)'), GeomFromEWKT('SRID=4674;POINT (-39.817233 -2.620706)'))) / (select extract(epoch from '2026-07-21 14:44:31'::timestamp) - extract(epoch from '2026-07-21 14:44:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817205 -2.620674)', '2026-07-21 14:44:45', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817233 -2.620706)'), GeomFromEWKT('SRID=4674;POINT (-39.817205 -2.620674)'))) / (select extract(epoch from '2026-07-21 14:44:45'::timestamp) - extract(epoch from '2026-07-21 14:44:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817233 -2.620706)'), GeomFromEWKT('SRID=4674;POINT (-39.817205 -2.620674)'))) / (select extract(epoch from '2026-07-21 14:44:45'::timestamp) - extract(epoch from '2026-07-21 14:44:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
