BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.836547 -3.531055)', '2026-08-07 13:38:42', 7.6, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.836527 -3.531053)', '2026-08-07 13:38:57', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836547 -3.531055)'), GeomFromEWKT('SRID=4674;POINT (-38.836527 -3.531053)'))) / (select extract(epoch from '2026-08-07 13:38:57'::timestamp) - extract(epoch from '2026-08-07 13:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836547 -3.531055)'), GeomFromEWKT('SRID=4674;POINT (-38.836527 -3.531053)'))) / (select extract(epoch from '2026-08-07 13:38:57'::timestamp) - extract(epoch from '2026-08-07 13: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'), 48147, 'SRID=4674;POINT (-38.836497 -3.531058)', '2026-08-07 13:39:05', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836527 -3.531053)'), GeomFromEWKT('SRID=4674;POINT (-38.836497 -3.531058)'))) / (select extract(epoch from '2026-08-07 13:39:05'::timestamp) - extract(epoch from '2026-08-07 13:38:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836527 -3.531053)'), GeomFromEWKT('SRID=4674;POINT (-38.836497 -3.531058)'))) / (select extract(epoch from '2026-08-07 13:39:05'::timestamp) - extract(epoch from '2026-08-07 13:38:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.83647 -3.531069)', '2026-08-07 13:39:15', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836497 -3.531058)'), GeomFromEWKT('SRID=4674;POINT (-38.83647 -3.531069)'))) / (select extract(epoch from '2026-08-07 13:39:15'::timestamp) - extract(epoch from '2026-08-07 13:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836497 -3.531058)'), GeomFromEWKT('SRID=4674;POINT (-38.83647 -3.531069)'))) / (select extract(epoch from '2026-08-07 13:39:15'::timestamp) - extract(epoch from '2026-08-07 13:39: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'), 48147, 'SRID=4674;POINT (-38.836449 -3.531075)', '2026-08-07 13:39:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83647 -3.531069)'), GeomFromEWKT('SRID=4674;POINT (-38.836449 -3.531075)'))) / (select extract(epoch from '2026-08-07 13:39:24'::timestamp) - extract(epoch from '2026-08-07 13:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83647 -3.531069)'), GeomFromEWKT('SRID=4674;POINT (-38.836449 -3.531075)'))) / (select extract(epoch from '2026-08-07 13:39:24'::timestamp) - extract(epoch from '2026-08-07 13: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'), 48147, 'SRID=4674;POINT (-38.836442 -3.531084)', '2026-08-07 13:39:33', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836449 -3.531075)'), GeomFromEWKT('SRID=4674;POINT (-38.836442 -3.531084)'))) / (select extract(epoch from '2026-08-07 13:39:33'::timestamp) - extract(epoch from '2026-08-07 13:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836449 -3.531075)'), GeomFromEWKT('SRID=4674;POINT (-38.836442 -3.531084)'))) / (select extract(epoch from '2026-08-07 13:39:33'::timestamp) - extract(epoch from '2026-08-07 13:39:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.836404 -3.531089)', '2026-08-07 13:39:42', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836442 -3.531084)'), GeomFromEWKT('SRID=4674;POINT (-38.836404 -3.531089)'))) / (select extract(epoch from '2026-08-07 13:39:42'::timestamp) - extract(epoch from '2026-08-07 13:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836442 -3.531084)'), GeomFromEWKT('SRID=4674;POINT (-38.836404 -3.531089)'))) / (select extract(epoch from '2026-08-07 13:39:42'::timestamp) - extract(epoch from '2026-08-07 13: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'), 48147, 'SRID=4674;POINT (-38.83638 -3.531085)', '2026-08-07 13:39:50', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836404 -3.531089)'), GeomFromEWKT('SRID=4674;POINT (-38.83638 -3.531085)'))) / (select extract(epoch from '2026-08-07 13:39:50'::timestamp) - extract(epoch from '2026-08-07 13:39:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836404 -3.531089)'), GeomFromEWKT('SRID=4674;POINT (-38.83638 -3.531085)'))) / (select extract(epoch from '2026-08-07 13:39:50'::timestamp) - extract(epoch from '2026-08-07 13:39:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.836363 -3.531089)', '2026-08-07 13:40:02', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83638 -3.531085)'), GeomFromEWKT('SRID=4674;POINT (-38.836363 -3.531089)'))) / (select extract(epoch from '2026-08-07 13:40:02'::timestamp) - extract(epoch from '2026-08-07 13:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83638 -3.531085)'), GeomFromEWKT('SRID=4674;POINT (-38.836363 -3.531089)'))) / (select extract(epoch from '2026-08-07 13:40:02'::timestamp) - extract(epoch from '2026-08-07 13: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'), 48147, 'SRID=4674;POINT (-38.836334 -3.531098)', '2026-08-07 13:40:09', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836363 -3.531089)'), GeomFromEWKT('SRID=4674;POINT (-38.836334 -3.531098)'))) / (select extract(epoch from '2026-08-07 13:40:09'::timestamp) - extract(epoch from '2026-08-07 13:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836363 -3.531089)'), GeomFromEWKT('SRID=4674;POINT (-38.836334 -3.531098)'))) / (select extract(epoch from '2026-08-07 13:40:09'::timestamp) - extract(epoch from '2026-08-07 13: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'), 48147, 'SRID=4674;POINT (-38.836319 -3.531095)', '2026-08-07 13:40:17', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836334 -3.531098)'), GeomFromEWKT('SRID=4674;POINT (-38.836319 -3.531095)'))) / (select extract(epoch from '2026-08-07 13:40:17'::timestamp) - extract(epoch from '2026-08-07 13:40:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836334 -3.531098)'), GeomFromEWKT('SRID=4674;POINT (-38.836319 -3.531095)'))) / (select extract(epoch from '2026-08-07 13:40:17'::timestamp) - extract(epoch from '2026-08-07 13:40: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'), 48147, 'SRID=4674;POINT (-38.836303 -3.531094)', '2026-08-07 13:40:30', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836319 -3.531095)'), GeomFromEWKT('SRID=4674;POINT (-38.836303 -3.531094)'))) / (select extract(epoch from '2026-08-07 13:40:30'::timestamp) - extract(epoch from '2026-08-07 13:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836319 -3.531095)'), GeomFromEWKT('SRID=4674;POINT (-38.836303 -3.531094)'))) / (select extract(epoch from '2026-08-07 13:40:30'::timestamp) - extract(epoch from '2026-08-07 13:40:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.836282 -3.531098)', '2026-08-07 13:40:40', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836303 -3.531094)'), GeomFromEWKT('SRID=4674;POINT (-38.836282 -3.531098)'))) / (select extract(epoch from '2026-08-07 13:40:40'::timestamp) - extract(epoch from '2026-08-07 13:40:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836303 -3.531094)'), GeomFromEWKT('SRID=4674;POINT (-38.836282 -3.531098)'))) / (select extract(epoch from '2026-08-07 13:40:40'::timestamp) - extract(epoch from '2026-08-07 13:40: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'), 48147, 'SRID=4674;POINT (-38.836254 -3.531092)', '2026-08-07 13:40:50', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836282 -3.531098)'), GeomFromEWKT('SRID=4674;POINT (-38.836254 -3.531092)'))) / (select extract(epoch from '2026-08-07 13:40:50'::timestamp) - extract(epoch from '2026-08-07 13:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836282 -3.531098)'), GeomFromEWKT('SRID=4674;POINT (-38.836254 -3.531092)'))) / (select extract(epoch from '2026-08-07 13:40:50'::timestamp) - extract(epoch from '2026-08-07 13:40: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'), 48147, 'SRID=4674;POINT (-38.836237 -3.531088)', '2026-08-07 13:41:02', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836254 -3.531092)'), GeomFromEWKT('SRID=4674;POINT (-38.836237 -3.531088)'))) / (select extract(epoch from '2026-08-07 13:41:02'::timestamp) - extract(epoch from '2026-08-07 13:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836254 -3.531092)'), GeomFromEWKT('SRID=4674;POINT (-38.836237 -3.531088)'))) / (select extract(epoch from '2026-08-07 13:41:02'::timestamp) - extract(epoch from '2026-08-07 13:40: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'), 48147, 'SRID=4674;POINT (-38.83623 -3.531089)', '2026-08-07 13:41:11', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836237 -3.531088)'), GeomFromEWKT('SRID=4674;POINT (-38.83623 -3.531089)'))) / (select extract(epoch from '2026-08-07 13:41:11'::timestamp) - extract(epoch from '2026-08-07 13:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836237 -3.531088)'), GeomFromEWKT('SRID=4674;POINT (-38.83623 -3.531089)'))) / (select extract(epoch from '2026-08-07 13:41:11'::timestamp) - extract(epoch from '2026-08-07 13:41: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'), 48147, 'SRID=4674;POINT (-38.836218 -3.53109)', '2026-08-07 13:41:18', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83623 -3.531089)'), GeomFromEWKT('SRID=4674;POINT (-38.836218 -3.53109)'))) / (select extract(epoch from '2026-08-07 13:41:18'::timestamp) - extract(epoch from '2026-08-07 13:41:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83623 -3.531089)'), GeomFromEWKT('SRID=4674;POINT (-38.836218 -3.53109)'))) / (select extract(epoch from '2026-08-07 13:41:18'::timestamp) - extract(epoch from '2026-08-07 13:41:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.836206 -3.531092)', '2026-08-07 13:41:25', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836218 -3.53109)'), GeomFromEWKT('SRID=4674;POINT (-38.836206 -3.531092)'))) / (select extract(epoch from '2026-08-07 13:41:25'::timestamp) - extract(epoch from '2026-08-07 13:41:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836218 -3.53109)'), GeomFromEWKT('SRID=4674;POINT (-38.836206 -3.531092)'))) / (select extract(epoch from '2026-08-07 13:41:25'::timestamp) - extract(epoch from '2026-08-07 13:41:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.836181 -3.5311)', '2026-08-07 13:41:36', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836206 -3.531092)'), GeomFromEWKT('SRID=4674;POINT (-38.836181 -3.5311)'))) / (select extract(epoch from '2026-08-07 13:41:36'::timestamp) - extract(epoch from '2026-08-07 13:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836206 -3.531092)'), GeomFromEWKT('SRID=4674;POINT (-38.836181 -3.5311)'))) / (select extract(epoch from '2026-08-07 13:41:36'::timestamp) - extract(epoch from '2026-08-07 13:41: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'), 48147, 'SRID=4674;POINT (-38.836124 -3.5311)', '2026-08-07 13:41:50', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836181 -3.5311)'), GeomFromEWKT('SRID=4674;POINT (-38.836124 -3.5311)'))) / (select extract(epoch from '2026-08-07 13:41:50'::timestamp) - extract(epoch from '2026-08-07 13:41:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836181 -3.5311)'), GeomFromEWKT('SRID=4674;POINT (-38.836124 -3.5311)'))) / (select extract(epoch from '2026-08-07 13:41:50'::timestamp) - extract(epoch from '2026-08-07 13:41: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'), 48147, 'SRID=4674;POINT (-38.836101 -3.531103)', '2026-08-07 13:41:59', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836124 -3.5311)'), GeomFromEWKT('SRID=4674;POINT (-38.836101 -3.531103)'))) / (select extract(epoch from '2026-08-07 13:41:59'::timestamp) - extract(epoch from '2026-08-07 13:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836124 -3.5311)'), GeomFromEWKT('SRID=4674;POINT (-38.836101 -3.531103)'))) / (select extract(epoch from '2026-08-07 13:41:59'::timestamp) - extract(epoch from '2026-08-07 13: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'), 48147, 'SRID=4674;POINT (-38.836079 -3.531109)', '2026-08-07 13:42:06', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836101 -3.531103)'), GeomFromEWKT('SRID=4674;POINT (-38.836079 -3.531109)'))) / (select extract(epoch from '2026-08-07 13:42:06'::timestamp) - extract(epoch from '2026-08-07 13:41:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836101 -3.531103)'), GeomFromEWKT('SRID=4674;POINT (-38.836079 -3.531109)'))) / (select extract(epoch from '2026-08-07 13:42:06'::timestamp) - extract(epoch from '2026-08-07 13: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'), 48147, 'SRID=4674;POINT (-38.836066 -3.531106)', '2026-08-07 13:42:16', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836079 -3.531109)'), GeomFromEWKT('SRID=4674;POINT (-38.836066 -3.531106)'))) / (select extract(epoch from '2026-08-07 13:42:16'::timestamp) - extract(epoch from '2026-08-07 13:42:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836079 -3.531109)'), GeomFromEWKT('SRID=4674;POINT (-38.836066 -3.531106)'))) / (select extract(epoch from '2026-08-07 13:42:16'::timestamp) - extract(epoch from '2026-08-07 13:42: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'), 48147, 'SRID=4674;POINT (-38.83604 -3.531107)', '2026-08-07 13:42:26', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836066 -3.531106)'), GeomFromEWKT('SRID=4674;POINT (-38.83604 -3.531107)'))) / (select extract(epoch from '2026-08-07 13:42:26'::timestamp) - extract(epoch from '2026-08-07 13:42:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836066 -3.531106)'), GeomFromEWKT('SRID=4674;POINT (-38.83604 -3.531107)'))) / (select extract(epoch from '2026-08-07 13:42:26'::timestamp) - extract(epoch from '2026-08-07 13:42:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.836017 -3.531102)', '2026-08-07 13:42:32', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83604 -3.531107)'), GeomFromEWKT('SRID=4674;POINT (-38.836017 -3.531102)'))) / (select extract(epoch from '2026-08-07 13:42:32'::timestamp) - extract(epoch from '2026-08-07 13:42:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83604 -3.531107)'), GeomFromEWKT('SRID=4674;POINT (-38.836017 -3.531102)'))) / (select extract(epoch from '2026-08-07 13:42:32'::timestamp) - extract(epoch from '2026-08-07 13:42: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'), 48147, 'SRID=4674;POINT (-38.835994 -3.531097)', '2026-08-07 13:42:45', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836017 -3.531102)'), GeomFromEWKT('SRID=4674;POINT (-38.835994 -3.531097)'))) / (select extract(epoch from '2026-08-07 13:42:45'::timestamp) - extract(epoch from '2026-08-07 13:42:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.836017 -3.531102)'), GeomFromEWKT('SRID=4674;POINT (-38.835994 -3.531097)'))) / (select extract(epoch from '2026-08-07 13:42:45'::timestamp) - extract(epoch from '2026-08-07 13:42:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.835958 -3.531107)', '2026-08-07 13:42:57', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835994 -3.531097)'), GeomFromEWKT('SRID=4674;POINT (-38.835958 -3.531107)'))) / (select extract(epoch from '2026-08-07 13:42:57'::timestamp) - extract(epoch from '2026-08-07 13:42:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835994 -3.531097)'), GeomFromEWKT('SRID=4674;POINT (-38.835958 -3.531107)'))) / (select extract(epoch from '2026-08-07 13:42:57'::timestamp) - extract(epoch from '2026-08-07 13:42: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'), 48147, 'SRID=4674;POINT (-38.835928 -3.53111)', '2026-08-07 13:43:05', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835958 -3.531107)'), GeomFromEWKT('SRID=4674;POINT (-38.835928 -3.53111)'))) / (select extract(epoch from '2026-08-07 13:43:05'::timestamp) - extract(epoch from '2026-08-07 13:42:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835958 -3.531107)'), GeomFromEWKT('SRID=4674;POINT (-38.835928 -3.53111)'))) / (select extract(epoch from '2026-08-07 13:43:05'::timestamp) - extract(epoch from '2026-08-07 13:42: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'), 48147, 'SRID=4674;POINT (-38.835922 -3.531111)', '2026-08-07 13:43:13', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835928 -3.53111)'), GeomFromEWKT('SRID=4674;POINT (-38.835922 -3.531111)'))) / (select extract(epoch from '2026-08-07 13:43:13'::timestamp) - extract(epoch from '2026-08-07 13:43:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835928 -3.53111)'), GeomFromEWKT('SRID=4674;POINT (-38.835922 -3.531111)'))) / (select extract(epoch from '2026-08-07 13:43:13'::timestamp) - extract(epoch from '2026-08-07 13: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'), 48147, 'SRID=4674;POINT (-38.835918 -3.531115)', '2026-08-07 13:43:21', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835922 -3.531111)'), GeomFromEWKT('SRID=4674;POINT (-38.835918 -3.531115)'))) / (select extract(epoch from '2026-08-07 13:43:21'::timestamp) - extract(epoch from '2026-08-07 13:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835922 -3.531111)'), GeomFromEWKT('SRID=4674;POINT (-38.835918 -3.531115)'))) / (select extract(epoch from '2026-08-07 13:43:21'::timestamp) - extract(epoch from '2026-08-07 13: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'), 48147, 'SRID=4674;POINT (-38.835892 -3.531112)', '2026-08-07 13:43:30', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835918 -3.531115)'), GeomFromEWKT('SRID=4674;POINT (-38.835892 -3.531112)'))) / (select extract(epoch from '2026-08-07 13:43:30'::timestamp) - extract(epoch from '2026-08-07 13:43:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835918 -3.531115)'), GeomFromEWKT('SRID=4674;POINT (-38.835892 -3.531112)'))) / (select extract(epoch from '2026-08-07 13:43:30'::timestamp) - extract(epoch from '2026-08-07 13:43: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'), 48147, 'SRID=4674;POINT (-38.835884 -3.531117)', '2026-08-07 13:43:41', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835892 -3.531112)'), GeomFromEWKT('SRID=4674;POINT (-38.835884 -3.531117)'))) / (select extract(epoch from '2026-08-07 13:43:41'::timestamp) - extract(epoch from '2026-08-07 13:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835892 -3.531112)'), GeomFromEWKT('SRID=4674;POINT (-38.835884 -3.531117)'))) / (select extract(epoch from '2026-08-07 13:43:41'::timestamp) - extract(epoch from '2026-08-07 13:43: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'), 48147, 'SRID=4674;POINT (-38.83587 -3.531119)', '2026-08-07 13:43:51', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835884 -3.531117)'), GeomFromEWKT('SRID=4674;POINT (-38.83587 -3.531119)'))) / (select extract(epoch from '2026-08-07 13:43:51'::timestamp) - extract(epoch from '2026-08-07 13:43:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835884 -3.531117)'), GeomFromEWKT('SRID=4674;POINT (-38.83587 -3.531119)'))) / (select extract(epoch from '2026-08-07 13:43:51'::timestamp) - extract(epoch from '2026-08-07 13: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'), 48147, 'SRID=4674;POINT (-38.83586 -3.531123)', '2026-08-07 13:44:01', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83587 -3.531119)'), GeomFromEWKT('SRID=4674;POINT (-38.83586 -3.531123)'))) / (select extract(epoch from '2026-08-07 13:44:01'::timestamp) - extract(epoch from '2026-08-07 13:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83587 -3.531119)'), GeomFromEWKT('SRID=4674;POINT (-38.83586 -3.531123)'))) / (select extract(epoch from '2026-08-07 13:44:01'::timestamp) - extract(epoch from '2026-08-07 13:43: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'), 48147, 'SRID=4674;POINT (-38.835843 -3.531128)', '2026-08-07 13:44:08', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83586 -3.531123)'), GeomFromEWKT('SRID=4674;POINT (-38.835843 -3.531128)'))) / (select extract(epoch from '2026-08-07 13:44:08'::timestamp) - extract(epoch from '2026-08-07 13:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83586 -3.531123)'), GeomFromEWKT('SRID=4674;POINT (-38.835843 -3.531128)'))) / (select extract(epoch from '2026-08-07 13:44:08'::timestamp) - extract(epoch from '2026-08-07 13:44:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.835825 -3.531127)', '2026-08-07 13:44:19', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835843 -3.531128)'), GeomFromEWKT('SRID=4674;POINT (-38.835825 -3.531127)'))) / (select extract(epoch from '2026-08-07 13:44:19'::timestamp) - extract(epoch from '2026-08-07 13:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835843 -3.531128)'), GeomFromEWKT('SRID=4674;POINT (-38.835825 -3.531127)'))) / (select extract(epoch from '2026-08-07 13:44:19'::timestamp) - extract(epoch from '2026-08-07 13: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'), 48147, 'SRID=4674;POINT (-38.835811 -3.531127)', '2026-08-07 13:44:30', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835825 -3.531127)'), GeomFromEWKT('SRID=4674;POINT (-38.835811 -3.531127)'))) / (select extract(epoch from '2026-08-07 13:44:30'::timestamp) - extract(epoch from '2026-08-07 13:44:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835825 -3.531127)'), GeomFromEWKT('SRID=4674;POINT (-38.835811 -3.531127)'))) / (select extract(epoch from '2026-08-07 13:44:30'::timestamp) - extract(epoch from '2026-08-07 13:44: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'), 48147, 'SRID=4674;POINT (-38.835782 -3.531131)', '2026-08-07 13:44:40', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835811 -3.531127)'), GeomFromEWKT('SRID=4674;POINT (-38.835782 -3.531131)'))) / (select extract(epoch from '2026-08-07 13:44:40'::timestamp) - extract(epoch from '2026-08-07 13:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835811 -3.531127)'), GeomFromEWKT('SRID=4674;POINT (-38.835782 -3.531131)'))) / (select extract(epoch from '2026-08-07 13:44:40'::timestamp) - extract(epoch from '2026-08-07 13:44:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.835771 -3.531131)', '2026-08-07 13:44:45', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835782 -3.531131)'), GeomFromEWKT('SRID=4674;POINT (-38.835771 -3.531131)'))) / (select extract(epoch from '2026-08-07 13:44:45'::timestamp) - extract(epoch from '2026-08-07 13:44:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835782 -3.531131)'), GeomFromEWKT('SRID=4674;POINT (-38.835771 -3.531131)'))) / (select extract(epoch from '2026-08-07 13:44:45'::timestamp) - extract(epoch from '2026-08-07 13:44:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.835764 -3.531146)', '2026-08-07 13:44:47', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835771 -3.531131)'), GeomFromEWKT('SRID=4674;POINT (-38.835764 -3.531146)'))) / (select extract(epoch from '2026-08-07 13:44:47'::timestamp) - extract(epoch from '2026-08-07 13:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835771 -3.531131)'), GeomFromEWKT('SRID=4674;POINT (-38.835764 -3.531146)'))) / (select extract(epoch from '2026-08-07 13:44:47'::timestamp) - extract(epoch from '2026-08-07 13:44:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.835745 -3.531143)', '2026-08-07 13:44:55', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835764 -3.531146)'), GeomFromEWKT('SRID=4674;POINT (-38.835745 -3.531143)'))) / (select extract(epoch from '2026-08-07 13:44:55'::timestamp) - extract(epoch from '2026-08-07 13:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835764 -3.531146)'), GeomFromEWKT('SRID=4674;POINT (-38.835745 -3.531143)'))) / (select extract(epoch from '2026-08-07 13:44:55'::timestamp) - extract(epoch from '2026-08-07 13:44:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.835721 -3.531142)', '2026-08-07 13:45:04', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835745 -3.531143)'), GeomFromEWKT('SRID=4674;POINT (-38.835721 -3.531142)'))) / (select extract(epoch from '2026-08-07 13:45:04'::timestamp) - extract(epoch from '2026-08-07 13:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835745 -3.531143)'), GeomFromEWKT('SRID=4674;POINT (-38.835721 -3.531142)'))) / (select extract(epoch from '2026-08-07 13:45:04'::timestamp) - extract(epoch from '2026-08-07 13:44:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.8357 -3.53115)', '2026-08-07 13:45:11', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835721 -3.531142)'), GeomFromEWKT('SRID=4674;POINT (-38.8357 -3.53115)'))) / (select extract(epoch from '2026-08-07 13:45:11'::timestamp) - extract(epoch from '2026-08-07 13:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835721 -3.531142)'), GeomFromEWKT('SRID=4674;POINT (-38.8357 -3.53115)'))) / (select extract(epoch from '2026-08-07 13:45:11'::timestamp) - extract(epoch from '2026-08-07 13:45:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.835684 -3.531151)', '2026-08-07 13:45:20', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.8357 -3.53115)'), GeomFromEWKT('SRID=4674;POINT (-38.835684 -3.531151)'))) / (select extract(epoch from '2026-08-07 13:45:20'::timestamp) - extract(epoch from '2026-08-07 13:45:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.8357 -3.53115)'), GeomFromEWKT('SRID=4674;POINT (-38.835684 -3.531151)'))) / (select extract(epoch from '2026-08-07 13:45:20'::timestamp) - extract(epoch from '2026-08-07 13:45:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.835666 -3.531146)', '2026-08-07 13:45:33', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835684 -3.531151)'), GeomFromEWKT('SRID=4674;POINT (-38.835666 -3.531146)'))) / (select extract(epoch from '2026-08-07 13:45:33'::timestamp) - extract(epoch from '2026-08-07 13:45:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835684 -3.531151)'), GeomFromEWKT('SRID=4674;POINT (-38.835666 -3.531146)'))) / (select extract(epoch from '2026-08-07 13:45:33'::timestamp) - extract(epoch from '2026-08-07 13:45: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'), 48147, 'SRID=4674;POINT (-38.835662 -3.531137)', '2026-08-07 13:45:46', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835666 -3.531146)'), GeomFromEWKT('SRID=4674;POINT (-38.835662 -3.531137)'))) / (select extract(epoch from '2026-08-07 13:45:46'::timestamp) - extract(epoch from '2026-08-07 13:45:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835666 -3.531146)'), GeomFromEWKT('SRID=4674;POINT (-38.835662 -3.531137)'))) / (select extract(epoch from '2026-08-07 13:45:46'::timestamp) - extract(epoch from '2026-08-07 13:45: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'), 48147, 'SRID=4674;POINT (-38.835657 -3.531131)', '2026-08-07 13:45:56', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835662 -3.531137)'), GeomFromEWKT('SRID=4674;POINT (-38.835657 -3.531131)'))) / (select extract(epoch from '2026-08-07 13:45:56'::timestamp) - extract(epoch from '2026-08-07 13:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835662 -3.531137)'), GeomFromEWKT('SRID=4674;POINT (-38.835657 -3.531131)'))) / (select extract(epoch from '2026-08-07 13:45:56'::timestamp) - extract(epoch from '2026-08-07 13:45:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.835656 -3.531129)', '2026-08-07 13:46:04', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835657 -3.531131)'), GeomFromEWKT('SRID=4674;POINT (-38.835656 -3.531129)'))) / (select extract(epoch from '2026-08-07 13:46:04'::timestamp) - extract(epoch from '2026-08-07 13:45:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835657 -3.531131)'), GeomFromEWKT('SRID=4674;POINT (-38.835656 -3.531129)'))) / (select extract(epoch from '2026-08-07 13:46:04'::timestamp) - extract(epoch from '2026-08-07 13:45: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'), 48147, 'SRID=4674;POINT (-38.835654 -3.531126)', '2026-08-07 13:46:13', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835656 -3.531129)'), GeomFromEWKT('SRID=4674;POINT (-38.835654 -3.531126)'))) / (select extract(epoch from '2026-08-07 13:46:13'::timestamp) - extract(epoch from '2026-08-07 13:46:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835656 -3.531129)'), GeomFromEWKT('SRID=4674;POINT (-38.835654 -3.531126)'))) / (select extract(epoch from '2026-08-07 13:46:13'::timestamp) - extract(epoch from '2026-08-07 13:46:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.835653 -3.531123)', '2026-08-07 13:46:24', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835654 -3.531126)'), GeomFromEWKT('SRID=4674;POINT (-38.835653 -3.531123)'))) / (select extract(epoch from '2026-08-07 13:46:24'::timestamp) - extract(epoch from '2026-08-07 13:46:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835654 -3.531126)'), GeomFromEWKT('SRID=4674;POINT (-38.835653 -3.531123)'))) / (select extract(epoch from '2026-08-07 13:46:24'::timestamp) - extract(epoch from '2026-08-07 13:46:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.835651 -3.531128)', '2026-08-07 13:46:32', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835653 -3.531123)'), GeomFromEWKT('SRID=4674;POINT (-38.835651 -3.531128)'))) / (select extract(epoch from '2026-08-07 13:46:32'::timestamp) - extract(epoch from '2026-08-07 13:46:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835653 -3.531123)'), GeomFromEWKT('SRID=4674;POINT (-38.835651 -3.531128)'))) / (select extract(epoch from '2026-08-07 13:46:32'::timestamp) - extract(epoch from '2026-08-07 13:46: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'), 48147, 'SRID=4674;POINT (-38.835638 -3.531136)', '2026-08-07 13:46:39', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835651 -3.531128)'), GeomFromEWKT('SRID=4674;POINT (-38.835638 -3.531136)'))) / (select extract(epoch from '2026-08-07 13:46:39'::timestamp) - extract(epoch from '2026-08-07 13:46:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835651 -3.531128)'), GeomFromEWKT('SRID=4674;POINT (-38.835638 -3.531136)'))) / (select extract(epoch from '2026-08-07 13:46:39'::timestamp) - extract(epoch from '2026-08-07 13:46: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'), 48147, 'SRID=4674;POINT (-38.835604 -3.531141)', '2026-08-07 13:46:49', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835638 -3.531136)'), GeomFromEWKT('SRID=4674;POINT (-38.835604 -3.531141)'))) / (select extract(epoch from '2026-08-07 13:46:49'::timestamp) - extract(epoch from '2026-08-07 13:46:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835638 -3.531136)'), GeomFromEWKT('SRID=4674;POINT (-38.835604 -3.531141)'))) / (select extract(epoch from '2026-08-07 13:46:49'::timestamp) - extract(epoch from '2026-08-07 13:46:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.835582 -3.531142)', '2026-08-07 13:46:56', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835604 -3.531141)'), GeomFromEWKT('SRID=4674;POINT (-38.835582 -3.531142)'))) / (select extract(epoch from '2026-08-07 13:46:56'::timestamp) - extract(epoch from '2026-08-07 13:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835604 -3.531141)'), GeomFromEWKT('SRID=4674;POINT (-38.835582 -3.531142)'))) / (select extract(epoch from '2026-08-07 13:46:56'::timestamp) - extract(epoch from '2026-08-07 13:46:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.835555 -3.53115)', '2026-08-07 13:47:05', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835582 -3.531142)'), GeomFromEWKT('SRID=4674;POINT (-38.835555 -3.53115)'))) / (select extract(epoch from '2026-08-07 13:47:05'::timestamp) - extract(epoch from '2026-08-07 13:46:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835582 -3.531142)'), GeomFromEWKT('SRID=4674;POINT (-38.835555 -3.53115)'))) / (select extract(epoch from '2026-08-07 13:47:05'::timestamp) - extract(epoch from '2026-08-07 13:46: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'), 48147, 'SRID=4674;POINT (-38.83554 -3.531152)', '2026-08-07 13:47:15', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835555 -3.53115)'), GeomFromEWKT('SRID=4674;POINT (-38.83554 -3.531152)'))) / (select extract(epoch from '2026-08-07 13:47:15'::timestamp) - extract(epoch from '2026-08-07 13:47:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835555 -3.53115)'), GeomFromEWKT('SRID=4674;POINT (-38.83554 -3.531152)'))) / (select extract(epoch from '2026-08-07 13:47:15'::timestamp) - extract(epoch from '2026-08-07 13:47: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'), 48147, 'SRID=4674;POINT (-38.83552 -3.531152)', '2026-08-07 13:47:26', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83554 -3.531152)'), GeomFromEWKT('SRID=4674;POINT (-38.83552 -3.531152)'))) / (select extract(epoch from '2026-08-07 13:47:26'::timestamp) - extract(epoch from '2026-08-07 13:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83554 -3.531152)'), GeomFromEWKT('SRID=4674;POINT (-38.83552 -3.531152)'))) / (select extract(epoch from '2026-08-07 13:47:26'::timestamp) - extract(epoch from '2026-08-07 13:47:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.835492 -3.531157)', '2026-08-07 13:47:37', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83552 -3.531152)'), GeomFromEWKT('SRID=4674;POINT (-38.835492 -3.531157)'))) / (select extract(epoch from '2026-08-07 13:47:37'::timestamp) - extract(epoch from '2026-08-07 13:47:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83552 -3.531152)'), GeomFromEWKT('SRID=4674;POINT (-38.835492 -3.531157)'))) / (select extract(epoch from '2026-08-07 13:47:37'::timestamp) - extract(epoch from '2026-08-07 13:47: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'), 48147, 'SRID=4674;POINT (-38.835475 -3.531157)', '2026-08-07 13:47:48', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835492 -3.531157)'), GeomFromEWKT('SRID=4674;POINT (-38.835475 -3.531157)'))) / (select extract(epoch from '2026-08-07 13:47:48'::timestamp) - extract(epoch from '2026-08-07 13:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835492 -3.531157)'), GeomFromEWKT('SRID=4674;POINT (-38.835475 -3.531157)'))) / (select extract(epoch from '2026-08-07 13:47:48'::timestamp) - extract(epoch from '2026-08-07 13:47:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.835454 -3.531155)', '2026-08-07 13:47:59', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835475 -3.531157)'), GeomFromEWKT('SRID=4674;POINT (-38.835454 -3.531155)'))) / (select extract(epoch from '2026-08-07 13:47:59'::timestamp) - extract(epoch from '2026-08-07 13:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835475 -3.531157)'), GeomFromEWKT('SRID=4674;POINT (-38.835454 -3.531155)'))) / (select extract(epoch from '2026-08-07 13:47:59'::timestamp) - extract(epoch from '2026-08-07 13:47:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.835416 -3.53115)', '2026-08-07 13:48:09', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835454 -3.531155)'), GeomFromEWKT('SRID=4674;POINT (-38.835416 -3.53115)'))) / (select extract(epoch from '2026-08-07 13:48:09'::timestamp) - extract(epoch from '2026-08-07 13:47:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835454 -3.531155)'), GeomFromEWKT('SRID=4674;POINT (-38.835416 -3.53115)'))) / (select extract(epoch from '2026-08-07 13:48:09'::timestamp) - extract(epoch from '2026-08-07 13:47: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'), 48147, 'SRID=4674;POINT (-38.835399 -3.531145)', '2026-08-07 13:48:19', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835416 -3.53115)'), GeomFromEWKT('SRID=4674;POINT (-38.835399 -3.531145)'))) / (select extract(epoch from '2026-08-07 13:48:19'::timestamp) - extract(epoch from '2026-08-07 13:48:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835416 -3.53115)'), GeomFromEWKT('SRID=4674;POINT (-38.835399 -3.531145)'))) / (select extract(epoch from '2026-08-07 13:48:19'::timestamp) - extract(epoch from '2026-08-07 13:48: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'), 48147, 'SRID=4674;POINT (-38.835386 -3.531153)', '2026-08-07 13:48:30', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835399 -3.531145)'), GeomFromEWKT('SRID=4674;POINT (-38.835386 -3.531153)'))) / (select extract(epoch from '2026-08-07 13:48:30'::timestamp) - extract(epoch from '2026-08-07 13:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835399 -3.531145)'), GeomFromEWKT('SRID=4674;POINT (-38.835386 -3.531153)'))) / (select extract(epoch from '2026-08-07 13:48:30'::timestamp) - extract(epoch from '2026-08-07 13:48:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.835342 -3.531159)', '2026-08-07 13:48:41', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835386 -3.531153)'), GeomFromEWKT('SRID=4674;POINT (-38.835342 -3.531159)'))) / (select extract(epoch from '2026-08-07 13:48:41'::timestamp) - extract(epoch from '2026-08-07 13:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835386 -3.531153)'), GeomFromEWKT('SRID=4674;POINT (-38.835342 -3.531159)'))) / (select extract(epoch from '2026-08-07 13:48:41'::timestamp) - extract(epoch from '2026-08-07 13:48:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.835324 -3.531162)', '2026-08-07 13:48:51', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835342 -3.531159)'), GeomFromEWKT('SRID=4674;POINT (-38.835324 -3.531162)'))) / (select extract(epoch from '2026-08-07 13:48:51'::timestamp) - extract(epoch from '2026-08-07 13:48:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835342 -3.531159)'), GeomFromEWKT('SRID=4674;POINT (-38.835324 -3.531162)'))) / (select extract(epoch from '2026-08-07 13:48:51'::timestamp) - extract(epoch from '2026-08-07 13:48: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'), 48147, 'SRID=4674;POINT (-38.835313 -3.531165)', '2026-08-07 13:48:57', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835324 -3.531162)'), GeomFromEWKT('SRID=4674;POINT (-38.835313 -3.531165)'))) / (select extract(epoch from '2026-08-07 13:48:57'::timestamp) - extract(epoch from '2026-08-07 13:48:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835324 -3.531162)'), GeomFromEWKT('SRID=4674;POINT (-38.835313 -3.531165)'))) / (select extract(epoch from '2026-08-07 13:48:57'::timestamp) - extract(epoch from '2026-08-07 13:48: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'), 48147, 'SRID=4674;POINT (-38.835298 -3.531168)', '2026-08-07 13:49:05', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835313 -3.531165)'), GeomFromEWKT('SRID=4674;POINT (-38.835298 -3.531168)'))) / (select extract(epoch from '2026-08-07 13:49:05'::timestamp) - extract(epoch from '2026-08-07 13:48:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835313 -3.531165)'), GeomFromEWKT('SRID=4674;POINT (-38.835298 -3.531168)'))) / (select extract(epoch from '2026-08-07 13:49:05'::timestamp) - extract(epoch from '2026-08-07 13:48:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.835275 -3.531166)', '2026-08-07 13:49:13', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835298 -3.531168)'), GeomFromEWKT('SRID=4674;POINT (-38.835275 -3.531166)'))) / (select extract(epoch from '2026-08-07 13:49:13'::timestamp) - extract(epoch from '2026-08-07 13:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835298 -3.531168)'), GeomFromEWKT('SRID=4674;POINT (-38.835275 -3.531166)'))) / (select extract(epoch from '2026-08-07 13:49:13'::timestamp) - extract(epoch from '2026-08-07 13:49: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'), 48147, 'SRID=4674;POINT (-38.835246 -3.531162)', '2026-08-07 13:49:25', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835275 -3.531166)'), GeomFromEWKT('SRID=4674;POINT (-38.835246 -3.531162)'))) / (select extract(epoch from '2026-08-07 13:49:25'::timestamp) - extract(epoch from '2026-08-07 13:49:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835275 -3.531166)'), GeomFromEWKT('SRID=4674;POINT (-38.835246 -3.531162)'))) / (select extract(epoch from '2026-08-07 13:49:25'::timestamp) - extract(epoch from '2026-08-07 13:49: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'), 48147, 'SRID=4674;POINT (-38.83523 -3.531168)', '2026-08-07 13:49:36', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835246 -3.531162)'), GeomFromEWKT('SRID=4674;POINT (-38.83523 -3.531168)'))) / (select extract(epoch from '2026-08-07 13:49:36'::timestamp) - extract(epoch from '2026-08-07 13:49:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835246 -3.531162)'), GeomFromEWKT('SRID=4674;POINT (-38.83523 -3.531168)'))) / (select extract(epoch from '2026-08-07 13:49:36'::timestamp) - extract(epoch from '2026-08-07 13:49: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'), 48147, 'SRID=4674;POINT (-38.83521 -3.531169)', '2026-08-07 13:49:45', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83523 -3.531168)'), GeomFromEWKT('SRID=4674;POINT (-38.83521 -3.531169)'))) / (select extract(epoch from '2026-08-07 13:49:45'::timestamp) - extract(epoch from '2026-08-07 13:49:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83523 -3.531168)'), GeomFromEWKT('SRID=4674;POINT (-38.83521 -3.531169)'))) / (select extract(epoch from '2026-08-07 13:49:45'::timestamp) - extract(epoch from '2026-08-07 13:49:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.835189 -3.531162)', '2026-08-07 13:49:52', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83521 -3.531169)'), GeomFromEWKT('SRID=4674;POINT (-38.835189 -3.531162)'))) / (select extract(epoch from '2026-08-07 13:49:52'::timestamp) - extract(epoch from '2026-08-07 13:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83521 -3.531169)'), GeomFromEWKT('SRID=4674;POINT (-38.835189 -3.531162)'))) / (select extract(epoch from '2026-08-07 13:49:52'::timestamp) - extract(epoch from '2026-08-07 13:49: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'), 48147, 'SRID=4674;POINT (-38.835172 -3.531162)', '2026-08-07 13:50:02', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835189 -3.531162)'), GeomFromEWKT('SRID=4674;POINT (-38.835172 -3.531162)'))) / (select extract(epoch from '2026-08-07 13:50:02'::timestamp) - extract(epoch from '2026-08-07 13:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835189 -3.531162)'), GeomFromEWKT('SRID=4674;POINT (-38.835172 -3.531162)'))) / (select extract(epoch from '2026-08-07 13:50:02'::timestamp) - extract(epoch from '2026-08-07 13:49: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'), 48147, 'SRID=4674;POINT (-38.835164 -3.531172)', '2026-08-07 13:50:08', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835172 -3.531162)'), GeomFromEWKT('SRID=4674;POINT (-38.835164 -3.531172)'))) / (select extract(epoch from '2026-08-07 13:50:08'::timestamp) - extract(epoch from '2026-08-07 13:50:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835172 -3.531162)'), GeomFromEWKT('SRID=4674;POINT (-38.835164 -3.531172)'))) / (select extract(epoch from '2026-08-07 13:50:08'::timestamp) - extract(epoch from '2026-08-07 13:50: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'), 48147, 'SRID=4674;POINT (-38.835146 -3.531176)', '2026-08-07 13:50:17', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835164 -3.531172)'), GeomFromEWKT('SRID=4674;POINT (-38.835146 -3.531176)'))) / (select extract(epoch from '2026-08-07 13:50:17'::timestamp) - extract(epoch from '2026-08-07 13:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835164 -3.531172)'), GeomFromEWKT('SRID=4674;POINT (-38.835146 -3.531176)'))) / (select extract(epoch from '2026-08-07 13:50:17'::timestamp) - extract(epoch from '2026-08-07 13:50: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'), 48147, 'SRID=4674;POINT (-38.835126 -3.531173)', '2026-08-07 13:50:26', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835146 -3.531176)'), GeomFromEWKT('SRID=4674;POINT (-38.835126 -3.531173)'))) / (select extract(epoch from '2026-08-07 13:50:26'::timestamp) - extract(epoch from '2026-08-07 13:50:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835146 -3.531176)'), GeomFromEWKT('SRID=4674;POINT (-38.835126 -3.531173)'))) / (select extract(epoch from '2026-08-07 13:50:26'::timestamp) - extract(epoch from '2026-08-07 13:50:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.83508 -3.531175)', '2026-08-07 13:50:37', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835126 -3.531173)'), GeomFromEWKT('SRID=4674;POINT (-38.83508 -3.531175)'))) / (select extract(epoch from '2026-08-07 13:50:37'::timestamp) - extract(epoch from '2026-08-07 13:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835126 -3.531173)'), GeomFromEWKT('SRID=4674;POINT (-38.83508 -3.531175)'))) / (select extract(epoch from '2026-08-07 13:50:37'::timestamp) - extract(epoch from '2026-08-07 13:50:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.835061 -3.531174)', '2026-08-07 13:50:49', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83508 -3.531175)'), GeomFromEWKT('SRID=4674;POINT (-38.835061 -3.531174)'))) / (select extract(epoch from '2026-08-07 13:50:49'::timestamp) - extract(epoch from '2026-08-07 13:50:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83508 -3.531175)'), GeomFromEWKT('SRID=4674;POINT (-38.835061 -3.531174)'))) / (select extract(epoch from '2026-08-07 13:50:49'::timestamp) - extract(epoch from '2026-08-07 13:50:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.835026 -3.531176)', '2026-08-07 13:51:06', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835061 -3.531174)'), GeomFromEWKT('SRID=4674;POINT (-38.835026 -3.531176)'))) / (select extract(epoch from '2026-08-07 13:51:06'::timestamp) - extract(epoch from '2026-08-07 13:50:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835061 -3.531174)'), GeomFromEWKT('SRID=4674;POINT (-38.835026 -3.531176)'))) / (select extract(epoch from '2026-08-07 13:51:06'::timestamp) - extract(epoch from '2026-08-07 13:50:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.834984 -3.53118)', '2026-08-07 13:51:21', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835026 -3.531176)'), GeomFromEWKT('SRID=4674;POINT (-38.834984 -3.53118)'))) / (select extract(epoch from '2026-08-07 13:51:21'::timestamp) - extract(epoch from '2026-08-07 13:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.835026 -3.531176)'), GeomFromEWKT('SRID=4674;POINT (-38.834984 -3.53118)'))) / (select extract(epoch from '2026-08-07 13:51:21'::timestamp) - extract(epoch from '2026-08-07 13:51:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.834954 -3.531184)', '2026-08-07 13:51:36', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834984 -3.53118)'), GeomFromEWKT('SRID=4674;POINT (-38.834954 -3.531184)'))) / (select extract(epoch from '2026-08-07 13:51:36'::timestamp) - extract(epoch from '2026-08-07 13:51:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834984 -3.53118)'), GeomFromEWKT('SRID=4674;POINT (-38.834954 -3.531184)'))) / (select extract(epoch from '2026-08-07 13:51:36'::timestamp) - extract(epoch from '2026-08-07 13:51: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'), 48147, 'SRID=4674;POINT (-38.834929 -3.531186)', '2026-08-07 13:51:46', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834954 -3.531184)'), GeomFromEWKT('SRID=4674;POINT (-38.834929 -3.531186)'))) / (select extract(epoch from '2026-08-07 13:51:46'::timestamp) - extract(epoch from '2026-08-07 13:51:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834954 -3.531184)'), GeomFromEWKT('SRID=4674;POINT (-38.834929 -3.531186)'))) / (select extract(epoch from '2026-08-07 13:51:46'::timestamp) - extract(epoch from '2026-08-07 13:51: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'), 48147, 'SRID=4674;POINT (-38.834906 -3.531183)', '2026-08-07 13:51:58', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834929 -3.531186)'), GeomFromEWKT('SRID=4674;POINT (-38.834906 -3.531183)'))) / (select extract(epoch from '2026-08-07 13:51:58'::timestamp) - extract(epoch from '2026-08-07 13:51:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834929 -3.531186)'), GeomFromEWKT('SRID=4674;POINT (-38.834906 -3.531183)'))) / (select extract(epoch from '2026-08-07 13:51:58'::timestamp) - extract(epoch from '2026-08-07 13:51: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'), 48147, 'SRID=4674;POINT (-38.834885 -3.53118)', '2026-08-07 13:52:12', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834906 -3.531183)'), GeomFromEWKT('SRID=4674;POINT (-38.834885 -3.53118)'))) / (select extract(epoch from '2026-08-07 13:52:12'::timestamp) - extract(epoch from '2026-08-07 13:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834906 -3.531183)'), GeomFromEWKT('SRID=4674;POINT (-38.834885 -3.53118)'))) / (select extract(epoch from '2026-08-07 13:52:12'::timestamp) - extract(epoch from '2026-08-07 13:51: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'), 48147, 'SRID=4674;POINT (-38.83487 -3.531184)', '2026-08-07 13:52:26', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834885 -3.53118)'), GeomFromEWKT('SRID=4674;POINT (-38.83487 -3.531184)'))) / (select extract(epoch from '2026-08-07 13:52:26'::timestamp) - extract(epoch from '2026-08-07 13:52:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834885 -3.53118)'), GeomFromEWKT('SRID=4674;POINT (-38.83487 -3.531184)'))) / (select extract(epoch from '2026-08-07 13:52:26'::timestamp) - extract(epoch from '2026-08-07 13:52: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'), 48147, 'SRID=4674;POINT (-38.834858 -3.531181)', '2026-08-07 13:52:34', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83487 -3.531184)'), GeomFromEWKT('SRID=4674;POINT (-38.834858 -3.531181)'))) / (select extract(epoch from '2026-08-07 13:52:34'::timestamp) - extract(epoch from '2026-08-07 13:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83487 -3.531184)'), GeomFromEWKT('SRID=4674;POINT (-38.834858 -3.531181)'))) / (select extract(epoch from '2026-08-07 13:52:34'::timestamp) - extract(epoch from '2026-08-07 13:52:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.834823 -3.531168)', '2026-08-07 13:52:49', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834858 -3.531181)'), GeomFromEWKT('SRID=4674;POINT (-38.834823 -3.531168)'))) / (select extract(epoch from '2026-08-07 13:52:49'::timestamp) - extract(epoch from '2026-08-07 13:52:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834858 -3.531181)'), GeomFromEWKT('SRID=4674;POINT (-38.834823 -3.531168)'))) / (select extract(epoch from '2026-08-07 13:52:49'::timestamp) - extract(epoch from '2026-08-07 13:52: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'), 48147, 'SRID=4674;POINT (-38.834793 -3.531171)', '2026-08-07 13:53:05', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834823 -3.531168)'), GeomFromEWKT('SRID=4674;POINT (-38.834793 -3.531171)'))) / (select extract(epoch from '2026-08-07 13:53:05'::timestamp) - extract(epoch from '2026-08-07 13:52:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834823 -3.531168)'), GeomFromEWKT('SRID=4674;POINT (-38.834793 -3.531171)'))) / (select extract(epoch from '2026-08-07 13:53:05'::timestamp) - extract(epoch from '2026-08-07 13:52: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'), 48147, 'SRID=4674;POINT (-38.834769 -3.531172)', '2026-08-07 13:53:15', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834793 -3.531171)'), GeomFromEWKT('SRID=4674;POINT (-38.834769 -3.531172)'))) / (select extract(epoch from '2026-08-07 13:53:15'::timestamp) - extract(epoch from '2026-08-07 13:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834793 -3.531171)'), GeomFromEWKT('SRID=4674;POINT (-38.834769 -3.531172)'))) / (select extract(epoch from '2026-08-07 13:53:15'::timestamp) - extract(epoch from '2026-08-07 13:53:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.834723 -3.531175)', '2026-08-07 13:53:25', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834769 -3.531172)'), GeomFromEWKT('SRID=4674;POINT (-38.834723 -3.531175)'))) / (select extract(epoch from '2026-08-07 13:53:25'::timestamp) - extract(epoch from '2026-08-07 13:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834769 -3.531172)'), GeomFromEWKT('SRID=4674;POINT (-38.834723 -3.531175)'))) / (select extract(epoch from '2026-08-07 13:53:25'::timestamp) - extract(epoch from '2026-08-07 13:53:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.834703 -3.531174)', '2026-08-07 13:53:33', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834723 -3.531175)'), GeomFromEWKT('SRID=4674;POINT (-38.834703 -3.531174)'))) / (select extract(epoch from '2026-08-07 13:53:33'::timestamp) - extract(epoch from '2026-08-07 13:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834723 -3.531175)'), GeomFromEWKT('SRID=4674;POINT (-38.834703 -3.531174)'))) / (select extract(epoch from '2026-08-07 13:53:33'::timestamp) - extract(epoch from '2026-08-07 13:53: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'), 48147, 'SRID=4674;POINT (-38.834689 -3.531178)', '2026-08-07 13:53:41', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834703 -3.531174)'), GeomFromEWKT('SRID=4674;POINT (-38.834689 -3.531178)'))) / (select extract(epoch from '2026-08-07 13:53:41'::timestamp) - extract(epoch from '2026-08-07 13:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834703 -3.531174)'), GeomFromEWKT('SRID=4674;POINT (-38.834689 -3.531178)'))) / (select extract(epoch from '2026-08-07 13:53:41'::timestamp) - extract(epoch from '2026-08-07 13:53: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'), 48147, 'SRID=4674;POINT (-38.834661 -3.53119)', '2026-08-07 13:53:54', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834689 -3.531178)'), GeomFromEWKT('SRID=4674;POINT (-38.834661 -3.53119)'))) / (select extract(epoch from '2026-08-07 13:53:54'::timestamp) - extract(epoch from '2026-08-07 13:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834689 -3.531178)'), GeomFromEWKT('SRID=4674;POINT (-38.834661 -3.53119)'))) / (select extract(epoch from '2026-08-07 13:53:54'::timestamp) - extract(epoch from '2026-08-07 13:53: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'), 48147, 'SRID=4674;POINT (-38.834624 -3.531188)', '2026-08-07 13:54:03', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834661 -3.53119)'), GeomFromEWKT('SRID=4674;POINT (-38.834624 -3.531188)'))) / (select extract(epoch from '2026-08-07 13:54:03'::timestamp) - extract(epoch from '2026-08-07 13:53:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834661 -3.53119)'), GeomFromEWKT('SRID=4674;POINT (-38.834624 -3.531188)'))) / (select extract(epoch from '2026-08-07 13:54:03'::timestamp) - extract(epoch from '2026-08-07 13:53: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'), 48147, 'SRID=4674;POINT (-38.834607 -3.53119)', '2026-08-07 13:54:12', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834624 -3.531188)'), GeomFromEWKT('SRID=4674;POINT (-38.834607 -3.53119)'))) / (select extract(epoch from '2026-08-07 13:54:12'::timestamp) - extract(epoch from '2026-08-07 13:54:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834624 -3.531188)'), GeomFromEWKT('SRID=4674;POINT (-38.834607 -3.53119)'))) / (select extract(epoch from '2026-08-07 13:54:12'::timestamp) - extract(epoch from '2026-08-07 13:54: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'), 48147, 'SRID=4674;POINT (-38.834583 -3.531197)', '2026-08-07 13:54:26', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834607 -3.53119)'), GeomFromEWKT('SRID=4674;POINT (-38.834583 -3.531197)'))) / (select extract(epoch from '2026-08-07 13:54:26'::timestamp) - extract(epoch from '2026-08-07 13:54:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834607 -3.53119)'), GeomFromEWKT('SRID=4674;POINT (-38.834583 -3.531197)'))) / (select extract(epoch from '2026-08-07 13:54:26'::timestamp) - extract(epoch from '2026-08-07 13:54: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'), 48147, 'SRID=4674;POINT (-38.834575 -3.531204)', '2026-08-07 13:54:35', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834583 -3.531197)'), GeomFromEWKT('SRID=4674;POINT (-38.834575 -3.531204)'))) / (select extract(epoch from '2026-08-07 13:54:35'::timestamp) - extract(epoch from '2026-08-07 13:54:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834583 -3.531197)'), GeomFromEWKT('SRID=4674;POINT (-38.834575 -3.531204)'))) / (select extract(epoch from '2026-08-07 13:54:35'::timestamp) - extract(epoch from '2026-08-07 13:54:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.83455 -3.531203)', '2026-08-07 13:54:47', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834575 -3.531204)'), GeomFromEWKT('SRID=4674;POINT (-38.83455 -3.531203)'))) / (select extract(epoch from '2026-08-07 13:54:47'::timestamp) - extract(epoch from '2026-08-07 13:54:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834575 -3.531204)'), GeomFromEWKT('SRID=4674;POINT (-38.83455 -3.531203)'))) / (select extract(epoch from '2026-08-07 13:54:47'::timestamp) - extract(epoch from '2026-08-07 13:54:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.834529 -3.531211)', '2026-08-07 13:54:58', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83455 -3.531203)'), GeomFromEWKT('SRID=4674;POINT (-38.834529 -3.531211)'))) / (select extract(epoch from '2026-08-07 13:54:58'::timestamp) - extract(epoch from '2026-08-07 13:54:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83455 -3.531203)'), GeomFromEWKT('SRID=4674;POINT (-38.834529 -3.531211)'))) / (select extract(epoch from '2026-08-07 13:54:58'::timestamp) - extract(epoch from '2026-08-07 13:54:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.834524 -3.531227)', '2026-08-07 13:55:08', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834529 -3.531211)'), GeomFromEWKT('SRID=4674;POINT (-38.834524 -3.531227)'))) / (select extract(epoch from '2026-08-07 13:55:08'::timestamp) - extract(epoch from '2026-08-07 13:54:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834529 -3.531211)'), GeomFromEWKT('SRID=4674;POINT (-38.834524 -3.531227)'))) / (select extract(epoch from '2026-08-07 13:55:08'::timestamp) - extract(epoch from '2026-08-07 13:54: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'), 48147, 'SRID=4674;POINT (-38.834497 -3.531238)', '2026-08-07 13:55:21', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834524 -3.531227)'), GeomFromEWKT('SRID=4674;POINT (-38.834497 -3.531238)'))) / (select extract(epoch from '2026-08-07 13:55:21'::timestamp) - extract(epoch from '2026-08-07 13:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834524 -3.531227)'), GeomFromEWKT('SRID=4674;POINT (-38.834497 -3.531238)'))) / (select extract(epoch from '2026-08-07 13:55:21'::timestamp) - extract(epoch from '2026-08-07 13:55:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.834474 -3.531241)', '2026-08-07 13:55:29', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834497 -3.531238)'), GeomFromEWKT('SRID=4674;POINT (-38.834474 -3.531241)'))) / (select extract(epoch from '2026-08-07 13:55:29'::timestamp) - extract(epoch from '2026-08-07 13:55:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834497 -3.531238)'), GeomFromEWKT('SRID=4674;POINT (-38.834474 -3.531241)'))) / (select extract(epoch from '2026-08-07 13:55:29'::timestamp) - extract(epoch from '2026-08-07 13:55: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'), 48147, 'SRID=4674;POINT (-38.834426 -3.53124)', '2026-08-07 13:55:41', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834474 -3.531241)'), GeomFromEWKT('SRID=4674;POINT (-38.834426 -3.53124)'))) / (select extract(epoch from '2026-08-07 13:55:41'::timestamp) - extract(epoch from '2026-08-07 13:55:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834474 -3.531241)'), GeomFromEWKT('SRID=4674;POINT (-38.834426 -3.53124)'))) / (select extract(epoch from '2026-08-07 13:55:41'::timestamp) - extract(epoch from '2026-08-07 13:55:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.834395 -3.531236)', '2026-08-07 13:55:52', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834426 -3.53124)'), GeomFromEWKT('SRID=4674;POINT (-38.834395 -3.531236)'))) / (select extract(epoch from '2026-08-07 13:55:52'::timestamp) - extract(epoch from '2026-08-07 13:55:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834426 -3.53124)'), GeomFromEWKT('SRID=4674;POINT (-38.834395 -3.531236)'))) / (select extract(epoch from '2026-08-07 13:55:52'::timestamp) - extract(epoch from '2026-08-07 13:55:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.834367 -3.531229)', '2026-08-07 13:56:01', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834395 -3.531236)'), GeomFromEWKT('SRID=4674;POINT (-38.834367 -3.531229)'))) / (select extract(epoch from '2026-08-07 13:56:01'::timestamp) - extract(epoch from '2026-08-07 13:55:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834395 -3.531236)'), GeomFromEWKT('SRID=4674;POINT (-38.834367 -3.531229)'))) / (select extract(epoch from '2026-08-07 13:56:01'::timestamp) - extract(epoch from '2026-08-07 13:55: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'), 48147, 'SRID=4674;POINT (-38.834312 -3.531231)', '2026-08-07 13:56:15', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834367 -3.531229)'), GeomFromEWKT('SRID=4674;POINT (-38.834312 -3.531231)'))) / (select extract(epoch from '2026-08-07 13:56:15'::timestamp) - extract(epoch from '2026-08-07 13:56:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834367 -3.531229)'), GeomFromEWKT('SRID=4674;POINT (-38.834312 -3.531231)'))) / (select extract(epoch from '2026-08-07 13:56:15'::timestamp) - extract(epoch from '2026-08-07 13:56: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'), 48147, 'SRID=4674;POINT (-38.834291 -3.531227)', '2026-08-07 13:56:27', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834312 -3.531231)'), GeomFromEWKT('SRID=4674;POINT (-38.834291 -3.531227)'))) / (select extract(epoch from '2026-08-07 13:56:27'::timestamp) - extract(epoch from '2026-08-07 13:56:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834312 -3.531231)'), GeomFromEWKT('SRID=4674;POINT (-38.834291 -3.531227)'))) / (select extract(epoch from '2026-08-07 13:56:27'::timestamp) - extract(epoch from '2026-08-07 13:56: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'), 48147, 'SRID=4674;POINT (-38.834277 -3.531224)', '2026-08-07 13:56:37', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834291 -3.531227)'), GeomFromEWKT('SRID=4674;POINT (-38.834277 -3.531224)'))) / (select extract(epoch from '2026-08-07 13:56:37'::timestamp) - extract(epoch from '2026-08-07 13:56:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834291 -3.531227)'), GeomFromEWKT('SRID=4674;POINT (-38.834277 -3.531224)'))) / (select extract(epoch from '2026-08-07 13:56:37'::timestamp) - extract(epoch from '2026-08-07 13:56: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'), 48147, 'SRID=4674;POINT (-38.834258 -3.53123)', '2026-08-07 13:56:49', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834277 -3.531224)'), GeomFromEWKT('SRID=4674;POINT (-38.834258 -3.53123)'))) / (select extract(epoch from '2026-08-07 13:56:49'::timestamp) - extract(epoch from '2026-08-07 13:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834277 -3.531224)'), GeomFromEWKT('SRID=4674;POINT (-38.834258 -3.53123)'))) / (select extract(epoch from '2026-08-07 13:56:49'::timestamp) - extract(epoch from '2026-08-07 13:56:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.834249 -3.53123)', '2026-08-07 13:56:59', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834258 -3.53123)'), GeomFromEWKT('SRID=4674;POINT (-38.834249 -3.53123)'))) / (select extract(epoch from '2026-08-07 13:56:59'::timestamp) - extract(epoch from '2026-08-07 13:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834258 -3.53123)'), GeomFromEWKT('SRID=4674;POINT (-38.834249 -3.53123)'))) / (select extract(epoch from '2026-08-07 13:56:59'::timestamp) - extract(epoch from '2026-08-07 13:56: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'), 48147, 'SRID=4674;POINT (-38.834231 -3.531229)', '2026-08-07 13:57:07', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834249 -3.53123)'), GeomFromEWKT('SRID=4674;POINT (-38.834231 -3.531229)'))) / (select extract(epoch from '2026-08-07 13:57:07'::timestamp) - extract(epoch from '2026-08-07 13:56:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834249 -3.53123)'), GeomFromEWKT('SRID=4674;POINT (-38.834231 -3.531229)'))) / (select extract(epoch from '2026-08-07 13:57:07'::timestamp) - extract(epoch from '2026-08-07 13:56: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'), 48147, 'SRID=4674;POINT (-38.834196 -3.531233)', '2026-08-07 13:57:16', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834231 -3.531229)'), GeomFromEWKT('SRID=4674;POINT (-38.834196 -3.531233)'))) / (select extract(epoch from '2026-08-07 13:57:16'::timestamp) - extract(epoch from '2026-08-07 13:57:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834231 -3.531229)'), GeomFromEWKT('SRID=4674;POINT (-38.834196 -3.531233)'))) / (select extract(epoch from '2026-08-07 13:57:16'::timestamp) - extract(epoch from '2026-08-07 13:57: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'), 48147, 'SRID=4674;POINT (-38.834173 -3.531233)', '2026-08-07 13:57:32', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834196 -3.531233)'), GeomFromEWKT('SRID=4674;POINT (-38.834173 -3.531233)'))) / (select extract(epoch from '2026-08-07 13:57:32'::timestamp) - extract(epoch from '2026-08-07 13:57:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834196 -3.531233)'), GeomFromEWKT('SRID=4674;POINT (-38.834173 -3.531233)'))) / (select extract(epoch from '2026-08-07 13:57:32'::timestamp) - extract(epoch from '2026-08-07 13:57:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.834152 -3.531231)', '2026-08-07 13:57:49', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834173 -3.531233)'), GeomFromEWKT('SRID=4674;POINT (-38.834152 -3.531231)'))) / (select extract(epoch from '2026-08-07 13:57:49'::timestamp) - extract(epoch from '2026-08-07 13:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834173 -3.531233)'), GeomFromEWKT('SRID=4674;POINT (-38.834152 -3.531231)'))) / (select extract(epoch from '2026-08-07 13:57:49'::timestamp) - extract(epoch from '2026-08-07 13:57:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.834145 -3.531233)', '2026-08-07 13:58:02', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834152 -3.531231)'), GeomFromEWKT('SRID=4674;POINT (-38.834145 -3.531233)'))) / (select extract(epoch from '2026-08-07 13:58:02'::timestamp) - extract(epoch from '2026-08-07 13:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834152 -3.531231)'), GeomFromEWKT('SRID=4674;POINT (-38.834145 -3.531233)'))) / (select extract(epoch from '2026-08-07 13:58:02'::timestamp) - extract(epoch from '2026-08-07 13:57:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.834122 -3.531232)', '2026-08-07 13:58:12', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834145 -3.531233)'), GeomFromEWKT('SRID=4674;POINT (-38.834122 -3.531232)'))) / (select extract(epoch from '2026-08-07 13:58:12'::timestamp) - extract(epoch from '2026-08-07 13:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834145 -3.531233)'), GeomFromEWKT('SRID=4674;POINT (-38.834122 -3.531232)'))) / (select extract(epoch from '2026-08-07 13:58:12'::timestamp) - extract(epoch from '2026-08-07 13:58:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.834093 -3.531231)', '2026-08-07 13:58:26', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834122 -3.531232)'), GeomFromEWKT('SRID=4674;POINT (-38.834093 -3.531231)'))) / (select extract(epoch from '2026-08-07 13:58:26'::timestamp) - extract(epoch from '2026-08-07 13:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834122 -3.531232)'), GeomFromEWKT('SRID=4674;POINT (-38.834093 -3.531231)'))) / (select extract(epoch from '2026-08-07 13:58:26'::timestamp) - extract(epoch from '2026-08-07 13:58:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.834081 -3.531222)', '2026-08-07 13:58:35', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834093 -3.531231)'), GeomFromEWKT('SRID=4674;POINT (-38.834081 -3.531222)'))) / (select extract(epoch from '2026-08-07 13:58:35'::timestamp) - extract(epoch from '2026-08-07 13:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834093 -3.531231)'), GeomFromEWKT('SRID=4674;POINT (-38.834081 -3.531222)'))) / (select extract(epoch from '2026-08-07 13:58:35'::timestamp) - extract(epoch from '2026-08-07 13:58:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.834068 -3.531218)', '2026-08-07 13:58:47', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834081 -3.531222)'), GeomFromEWKT('SRID=4674;POINT (-38.834068 -3.531218)'))) / (select extract(epoch from '2026-08-07 13:58:47'::timestamp) - extract(epoch from '2026-08-07 13:58:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834081 -3.531222)'), GeomFromEWKT('SRID=4674;POINT (-38.834068 -3.531218)'))) / (select extract(epoch from '2026-08-07 13:58:47'::timestamp) - extract(epoch from '2026-08-07 13:58: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'), 48147, 'SRID=4674;POINT (-38.834052 -3.531219)', '2026-08-07 13:58:58', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834068 -3.531218)'), GeomFromEWKT('SRID=4674;POINT (-38.834052 -3.531219)'))) / (select extract(epoch from '2026-08-07 13:58:58'::timestamp) - extract(epoch from '2026-08-07 13:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834068 -3.531218)'), GeomFromEWKT('SRID=4674;POINT (-38.834052 -3.531219)'))) / (select extract(epoch from '2026-08-07 13:58:58'::timestamp) - extract(epoch from '2026-08-07 13:58: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'), 48147, 'SRID=4674;POINT (-38.834039 -3.531225)', '2026-08-07 13:59:04', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834052 -3.531219)'), GeomFromEWKT('SRID=4674;POINT (-38.834039 -3.531225)'))) / (select extract(epoch from '2026-08-07 13:59:04'::timestamp) - extract(epoch from '2026-08-07 13:58:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834052 -3.531219)'), GeomFromEWKT('SRID=4674;POINT (-38.834039 -3.531225)'))) / (select extract(epoch from '2026-08-07 13:59:04'::timestamp) - extract(epoch from '2026-08-07 13:58: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'), 48147, 'SRID=4674;POINT (-38.834022 -3.531226)', '2026-08-07 13:59:12', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834039 -3.531225)'), GeomFromEWKT('SRID=4674;POINT (-38.834022 -3.531226)'))) / (select extract(epoch from '2026-08-07 13:59:12'::timestamp) - extract(epoch from '2026-08-07 13:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834039 -3.531225)'), GeomFromEWKT('SRID=4674;POINT (-38.834022 -3.531226)'))) / (select extract(epoch from '2026-08-07 13:59:12'::timestamp) - extract(epoch from '2026-08-07 13:59: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'), 48147, 'SRID=4674;POINT (-38.833976 -3.531226)', '2026-08-07 13:59:26', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834022 -3.531226)'), GeomFromEWKT('SRID=4674;POINT (-38.833976 -3.531226)'))) / (select extract(epoch from '2026-08-07 13:59:26'::timestamp) - extract(epoch from '2026-08-07 13:59:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.834022 -3.531226)'), GeomFromEWKT('SRID=4674;POINT (-38.833976 -3.531226)'))) / (select extract(epoch from '2026-08-07 13:59:26'::timestamp) - extract(epoch from '2026-08-07 13:59: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'), 48147, 'SRID=4674;POINT (-38.833961 -3.531234)', '2026-08-07 13:59:35', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833976 -3.531226)'), GeomFromEWKT('SRID=4674;POINT (-38.833961 -3.531234)'))) / (select extract(epoch from '2026-08-07 13:59:35'::timestamp) - extract(epoch from '2026-08-07 13:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833976 -3.531226)'), GeomFromEWKT('SRID=4674;POINT (-38.833961 -3.531234)'))) / (select extract(epoch from '2026-08-07 13:59:35'::timestamp) - extract(epoch from '2026-08-07 13:59: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'), 48147, 'SRID=4674;POINT (-38.833914 -3.531248)', '2026-08-07 13:59:47', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833961 -3.531234)'), GeomFromEWKT('SRID=4674;POINT (-38.833914 -3.531248)'))) / (select extract(epoch from '2026-08-07 13:59:47'::timestamp) - extract(epoch from '2026-08-07 13:59:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833961 -3.531234)'), GeomFromEWKT('SRID=4674;POINT (-38.833914 -3.531248)'))) / (select extract(epoch from '2026-08-07 13:59:47'::timestamp) - extract(epoch from '2026-08-07 13:59: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'), 48147, 'SRID=4674;POINT (-38.833878 -3.531244)', '2026-08-07 13:59:56', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833914 -3.531248)'), GeomFromEWKT('SRID=4674;POINT (-38.833878 -3.531244)'))) / (select extract(epoch from '2026-08-07 13:59:56'::timestamp) - extract(epoch from '2026-08-07 13:59:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833914 -3.531248)'), GeomFromEWKT('SRID=4674;POINT (-38.833878 -3.531244)'))) / (select extract(epoch from '2026-08-07 13:59:56'::timestamp) - extract(epoch from '2026-08-07 13:59: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'), 48147, 'SRID=4674;POINT (-38.833862 -3.531247)', '2026-08-07 14:00:06', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833878 -3.531244)'), GeomFromEWKT('SRID=4674;POINT (-38.833862 -3.531247)'))) / (select extract(epoch from '2026-08-07 14:00:06'::timestamp) - extract(epoch from '2026-08-07 13:59:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833878 -3.531244)'), GeomFromEWKT('SRID=4674;POINT (-38.833862 -3.531247)'))) / (select extract(epoch from '2026-08-07 14:00:06'::timestamp) - extract(epoch from '2026-08-07 13:59:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.833839 -3.53125)', '2026-08-07 14:00:17', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833862 -3.531247)'), GeomFromEWKT('SRID=4674;POINT (-38.833839 -3.53125)'))) / (select extract(epoch from '2026-08-07 14:00:17'::timestamp) - extract(epoch from '2026-08-07 14:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833862 -3.531247)'), GeomFromEWKT('SRID=4674;POINT (-38.833839 -3.53125)'))) / (select extract(epoch from '2026-08-07 14:00:17'::timestamp) - extract(epoch from '2026-08-07 14:00: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'), 48147, 'SRID=4674;POINT (-38.833842 -3.531238)', '2026-08-07 14:00:30', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833839 -3.53125)'), GeomFromEWKT('SRID=4674;POINT (-38.833842 -3.531238)'))) / (select extract(epoch from '2026-08-07 14:00:30'::timestamp) - extract(epoch from '2026-08-07 14:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833839 -3.53125)'), GeomFromEWKT('SRID=4674;POINT (-38.833842 -3.531238)'))) / (select extract(epoch from '2026-08-07 14:00:30'::timestamp) - extract(epoch from '2026-08-07 14:00: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'), 48147, 'SRID=4674;POINT (-38.833822 -3.531237)', '2026-08-07 14:00:42', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833842 -3.531238)'), GeomFromEWKT('SRID=4674;POINT (-38.833822 -3.531237)'))) / (select extract(epoch from '2026-08-07 14:00:42'::timestamp) - extract(epoch from '2026-08-07 14:00:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833842 -3.531238)'), GeomFromEWKT('SRID=4674;POINT (-38.833822 -3.531237)'))) / (select extract(epoch from '2026-08-07 14:00:42'::timestamp) - extract(epoch from '2026-08-07 14:00:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.833793 -3.531238)', '2026-08-07 14:00:53', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833822 -3.531237)'), GeomFromEWKT('SRID=4674;POINT (-38.833793 -3.531238)'))) / (select extract(epoch from '2026-08-07 14:00:53'::timestamp) - extract(epoch from '2026-08-07 14:00:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833822 -3.531237)'), GeomFromEWKT('SRID=4674;POINT (-38.833793 -3.531238)'))) / (select extract(epoch from '2026-08-07 14:00:53'::timestamp) - extract(epoch from '2026-08-07 14:00:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.833788 -3.531241)', '2026-08-07 14:01:03', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833793 -3.531238)'), GeomFromEWKT('SRID=4674;POINT (-38.833788 -3.531241)'))) / (select extract(epoch from '2026-08-07 14:01:03'::timestamp) - extract(epoch from '2026-08-07 14:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833793 -3.531238)'), GeomFromEWKT('SRID=4674;POINT (-38.833788 -3.531241)'))) / (select extract(epoch from '2026-08-07 14:01:03'::timestamp) - extract(epoch from '2026-08-07 14:00: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'), 48147, 'SRID=4674;POINT (-38.833767 -3.531244)', '2026-08-07 14:01:14', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833788 -3.531241)'), GeomFromEWKT('SRID=4674;POINT (-38.833767 -3.531244)'))) / (select extract(epoch from '2026-08-07 14:01:14'::timestamp) - extract(epoch from '2026-08-07 14:01:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833788 -3.531241)'), GeomFromEWKT('SRID=4674;POINT (-38.833767 -3.531244)'))) / (select extract(epoch from '2026-08-07 14:01:14'::timestamp) - extract(epoch from '2026-08-07 14:01: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'), 48147, 'SRID=4674;POINT (-38.833742 -3.531246)', '2026-08-07 14:01:25', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833767 -3.531244)'), GeomFromEWKT('SRID=4674;POINT (-38.833742 -3.531246)'))) / (select extract(epoch from '2026-08-07 14:01:25'::timestamp) - extract(epoch from '2026-08-07 14:01:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833767 -3.531244)'), GeomFromEWKT('SRID=4674;POINT (-38.833742 -3.531246)'))) / (select extract(epoch from '2026-08-07 14:01:25'::timestamp) - extract(epoch from '2026-08-07 14:01: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'), 48147, 'SRID=4674;POINT (-38.833688 -3.531246)', '2026-08-07 14:01:40', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833742 -3.531246)'), GeomFromEWKT('SRID=4674;POINT (-38.833688 -3.531246)'))) / (select extract(epoch from '2026-08-07 14:01:40'::timestamp) - extract(epoch from '2026-08-07 14:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833742 -3.531246)'), GeomFromEWKT('SRID=4674;POINT (-38.833688 -3.531246)'))) / (select extract(epoch from '2026-08-07 14:01:40'::timestamp) - extract(epoch from '2026-08-07 14:01: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'), 48147, 'SRID=4674;POINT (-38.833672 -3.531251)', '2026-08-07 14:01:50', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833688 -3.531246)'), GeomFromEWKT('SRID=4674;POINT (-38.833672 -3.531251)'))) / (select extract(epoch from '2026-08-07 14:01:50'::timestamp) - extract(epoch from '2026-08-07 14:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833688 -3.531246)'), GeomFromEWKT('SRID=4674;POINT (-38.833672 -3.531251)'))) / (select extract(epoch from '2026-08-07 14:01:50'::timestamp) - extract(epoch from '2026-08-07 14:01:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.833652 -3.531251)', '2026-08-07 14:01:59', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833672 -3.531251)'), GeomFromEWKT('SRID=4674;POINT (-38.833652 -3.531251)'))) / (select extract(epoch from '2026-08-07 14:01:59'::timestamp) - extract(epoch from '2026-08-07 14:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833672 -3.531251)'), GeomFromEWKT('SRID=4674;POINT (-38.833652 -3.531251)'))) / (select extract(epoch from '2026-08-07 14:01:59'::timestamp) - extract(epoch from '2026-08-07 14:01: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'), 48147, 'SRID=4674;POINT (-38.833639 -3.531246)', '2026-08-07 14:02:15', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833652 -3.531251)'), GeomFromEWKT('SRID=4674;POINT (-38.833639 -3.531246)'))) / (select extract(epoch from '2026-08-07 14:02:15'::timestamp) - extract(epoch from '2026-08-07 14:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833652 -3.531251)'), GeomFromEWKT('SRID=4674;POINT (-38.833639 -3.531246)'))) / (select extract(epoch from '2026-08-07 14:02:15'::timestamp) - extract(epoch from '2026-08-07 14:01: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'), 48147, 'SRID=4674;POINT (-38.833616 -3.531246)', '2026-08-07 14:02:27', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833639 -3.531246)'), GeomFromEWKT('SRID=4674;POINT (-38.833616 -3.531246)'))) / (select extract(epoch from '2026-08-07 14:02:27'::timestamp) - extract(epoch from '2026-08-07 14:02:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833639 -3.531246)'), GeomFromEWKT('SRID=4674;POINT (-38.833616 -3.531246)'))) / (select extract(epoch from '2026-08-07 14:02:27'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.833586 -3.531244)', '2026-08-07 14:02:41', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833616 -3.531246)'), GeomFromEWKT('SRID=4674;POINT (-38.833586 -3.531244)'))) / (select extract(epoch from '2026-08-07 14:02:41'::timestamp) - extract(epoch from '2026-08-07 14:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833616 -3.531246)'), GeomFromEWKT('SRID=4674;POINT (-38.833586 -3.531244)'))) / (select extract(epoch from '2026-08-07 14:02:41'::timestamp) - extract(epoch from '2026-08-07 14:02:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.833565 -3.53124)', '2026-08-07 14:02:56', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833586 -3.531244)'), GeomFromEWKT('SRID=4674;POINT (-38.833565 -3.53124)'))) / (select extract(epoch from '2026-08-07 14:02:56'::timestamp) - extract(epoch from '2026-08-07 14:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833586 -3.531244)'), GeomFromEWKT('SRID=4674;POINT (-38.833565 -3.53124)'))) / (select extract(epoch from '2026-08-07 14:02:56'::timestamp) - extract(epoch from '2026-08-07 14:02: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'), 48147, 'SRID=4674;POINT (-38.833555 -3.531237)', '2026-08-07 14:03:04', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833565 -3.53124)'), GeomFromEWKT('SRID=4674;POINT (-38.833555 -3.531237)'))) / (select extract(epoch from '2026-08-07 14:03:04'::timestamp) - extract(epoch from '2026-08-07 14:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833565 -3.53124)'), GeomFromEWKT('SRID=4674;POINT (-38.833555 -3.531237)'))) / (select extract(epoch from '2026-08-07 14:03:04'::timestamp) - extract(epoch from '2026-08-07 14:02: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'), 48147, 'SRID=4674;POINT (-38.833542 -3.531246)', '2026-08-07 14:03:16', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833555 -3.531237)'), GeomFromEWKT('SRID=4674;POINT (-38.833542 -3.531246)'))) / (select extract(epoch from '2026-08-07 14:03:16'::timestamp) - extract(epoch from '2026-08-07 14:03:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833555 -3.531237)'), GeomFromEWKT('SRID=4674;POINT (-38.833542 -3.531246)'))) / (select extract(epoch from '2026-08-07 14:03:16'::timestamp) - extract(epoch from '2026-08-07 14:03: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'), 48147, 'SRID=4674;POINT (-38.833529 -3.531244)', '2026-08-07 14:03:25', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833542 -3.531246)'), GeomFromEWKT('SRID=4674;POINT (-38.833529 -3.531244)'))) / (select extract(epoch from '2026-08-07 14:03:25'::timestamp) - extract(epoch from '2026-08-07 14:03:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833542 -3.531246)'), GeomFromEWKT('SRID=4674;POINT (-38.833529 -3.531244)'))) / (select extract(epoch from '2026-08-07 14:03:25'::timestamp) - extract(epoch from '2026-08-07 14:03:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.833494 -3.531247)', '2026-08-07 14:03:36', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833529 -3.531244)'), GeomFromEWKT('SRID=4674;POINT (-38.833494 -3.531247)'))) / (select extract(epoch from '2026-08-07 14:03:36'::timestamp) - extract(epoch from '2026-08-07 14:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833529 -3.531244)'), GeomFromEWKT('SRID=4674;POINT (-38.833494 -3.531247)'))) / (select extract(epoch from '2026-08-07 14:03:36'::timestamp) - extract(epoch from '2026-08-07 14:03:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.833475 -3.531257)', '2026-08-07 14:03:49', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833494 -3.531247)'), GeomFromEWKT('SRID=4674;POINT (-38.833475 -3.531257)'))) / (select extract(epoch from '2026-08-07 14:03:49'::timestamp) - extract(epoch from '2026-08-07 14:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833494 -3.531247)'), GeomFromEWKT('SRID=4674;POINT (-38.833475 -3.531257)'))) / (select extract(epoch from '2026-08-07 14:03:49'::timestamp) - extract(epoch from '2026-08-07 14:03: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'), 48147, 'SRID=4674;POINT (-38.833452 -3.531257)', '2026-08-07 14:03:58', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833475 -3.531257)'), GeomFromEWKT('SRID=4674;POINT (-38.833452 -3.531257)'))) / (select extract(epoch from '2026-08-07 14:03:58'::timestamp) - extract(epoch from '2026-08-07 14:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833475 -3.531257)'), GeomFromEWKT('SRID=4674;POINT (-38.833452 -3.531257)'))) / (select extract(epoch from '2026-08-07 14:03:58'::timestamp) - extract(epoch from '2026-08-07 14:03: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'), 48147, 'SRID=4674;POINT (-38.833428 -3.531249)', '2026-08-07 14:04:08', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833452 -3.531257)'), GeomFromEWKT('SRID=4674;POINT (-38.833428 -3.531249)'))) / (select extract(epoch from '2026-08-07 14:04:08'::timestamp) - extract(epoch from '2026-08-07 14:03:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833452 -3.531257)'), GeomFromEWKT('SRID=4674;POINT (-38.833428 -3.531249)'))) / (select extract(epoch from '2026-08-07 14:04:08'::timestamp) - extract(epoch from '2026-08-07 14:03: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'), 48147, 'SRID=4674;POINT (-38.833382 -3.531252)', '2026-08-07 14:04:19', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833428 -3.531249)'), GeomFromEWKT('SRID=4674;POINT (-38.833382 -3.531252)'))) / (select extract(epoch from '2026-08-07 14:04:19'::timestamp) - extract(epoch from '2026-08-07 14:04:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833428 -3.531249)'), GeomFromEWKT('SRID=4674;POINT (-38.833382 -3.531252)'))) / (select extract(epoch from '2026-08-07 14:04:19'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.833345 -3.53125)', '2026-08-07 14:04:29', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833382 -3.531252)'), GeomFromEWKT('SRID=4674;POINT (-38.833345 -3.53125)'))) / (select extract(epoch from '2026-08-07 14:04:29'::timestamp) - extract(epoch from '2026-08-07 14:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833382 -3.531252)'), GeomFromEWKT('SRID=4674;POINT (-38.833345 -3.53125)'))) / (select extract(epoch from '2026-08-07 14:04:29'::timestamp) - extract(epoch from '2026-08-07 14:04: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'), 48147, 'SRID=4674;POINT (-38.833325 -3.531254)', '2026-08-07 14:04:38', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833345 -3.53125)'), GeomFromEWKT('SRID=4674;POINT (-38.833325 -3.531254)'))) / (select extract(epoch from '2026-08-07 14:04:38'::timestamp) - extract(epoch from '2026-08-07 14:04:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833345 -3.53125)'), GeomFromEWKT('SRID=4674;POINT (-38.833325 -3.531254)'))) / (select extract(epoch from '2026-08-07 14:04:38'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.83331 -3.531258)', '2026-08-07 14:04:51', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833325 -3.531254)'), GeomFromEWKT('SRID=4674;POINT (-38.83331 -3.531258)'))) / (select extract(epoch from '2026-08-07 14:04:51'::timestamp) - extract(epoch from '2026-08-07 14:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833325 -3.531254)'), GeomFromEWKT('SRID=4674;POINT (-38.83331 -3.531258)'))) / (select extract(epoch from '2026-08-07 14:04:51'::timestamp) - extract(epoch from '2026-08-07 14:04:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.833294 -3.531261)', '2026-08-07 14:05:05', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83331 -3.531258)'), GeomFromEWKT('SRID=4674;POINT (-38.833294 -3.531261)'))) / (select extract(epoch from '2026-08-07 14:05:05'::timestamp) - extract(epoch from '2026-08-07 14:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83331 -3.531258)'), GeomFromEWKT('SRID=4674;POINT (-38.833294 -3.531261)'))) / (select extract(epoch from '2026-08-07 14:05:05'::timestamp) - extract(epoch from '2026-08-07 14:04: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'), 48147, 'SRID=4674;POINT (-38.833261 -3.53128)', '2026-08-07 14:05:19', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833294 -3.531261)'), GeomFromEWKT('SRID=4674;POINT (-38.833261 -3.53128)'))) / (select extract(epoch from '2026-08-07 14:05:19'::timestamp) - extract(epoch from '2026-08-07 14:05:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833294 -3.531261)'), GeomFromEWKT('SRID=4674;POINT (-38.833261 -3.53128)'))) / (select extract(epoch from '2026-08-07 14:05:19'::timestamp) - extract(epoch from '2026-08-07 14:05: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'), 48147, 'SRID=4674;POINT (-38.833242 -3.531269)', '2026-08-07 14:05:32', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833261 -3.53128)'), GeomFromEWKT('SRID=4674;POINT (-38.833242 -3.531269)'))) / (select extract(epoch from '2026-08-07 14:05:32'::timestamp) - extract(epoch from '2026-08-07 14:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833261 -3.53128)'), GeomFromEWKT('SRID=4674;POINT (-38.833242 -3.531269)'))) / (select extract(epoch from '2026-08-07 14:05:32'::timestamp) - extract(epoch from '2026-08-07 14:05:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.833244 -3.531266)', '2026-08-07 14:05:48', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833242 -3.531269)'), GeomFromEWKT('SRID=4674;POINT (-38.833244 -3.531266)'))) / (select extract(epoch from '2026-08-07 14:05:48'::timestamp) - extract(epoch from '2026-08-07 14:05:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833242 -3.531269)'), GeomFromEWKT('SRID=4674;POINT (-38.833244 -3.531266)'))) / (select extract(epoch from '2026-08-07 14:05:48'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.833244 -3.531263)', '2026-08-07 14:05:57', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833244 -3.531266)'), GeomFromEWKT('SRID=4674;POINT (-38.833244 -3.531263)'))) / (select extract(epoch from '2026-08-07 14:05:57'::timestamp) - extract(epoch from '2026-08-07 14:05:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833244 -3.531266)'), GeomFromEWKT('SRID=4674;POINT (-38.833244 -3.531263)'))) / (select extract(epoch from '2026-08-07 14:05:57'::timestamp) - extract(epoch from '2026-08-07 14:05: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'), 48147, 'SRID=4674;POINT (-38.833239 -3.531268)', '2026-08-07 14:06:07', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833244 -3.531263)'), GeomFromEWKT('SRID=4674;POINT (-38.833239 -3.531268)'))) / (select extract(epoch from '2026-08-07 14:06:07'::timestamp) - extract(epoch from '2026-08-07 14:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833244 -3.531263)'), GeomFromEWKT('SRID=4674;POINT (-38.833239 -3.531268)'))) / (select extract(epoch from '2026-08-07 14:06:07'::timestamp) - extract(epoch from '2026-08-07 14:05:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.833226 -3.531273)', '2026-08-07 14:06:15', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833239 -3.531268)'), GeomFromEWKT('SRID=4674;POINT (-38.833226 -3.531273)'))) / (select extract(epoch from '2026-08-07 14:06:15'::timestamp) - extract(epoch from '2026-08-07 14:06:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833239 -3.531268)'), GeomFromEWKT('SRID=4674;POINT (-38.833226 -3.531273)'))) / (select extract(epoch from '2026-08-07 14:06:15'::timestamp) - extract(epoch from '2026-08-07 14:06: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'), 48147, 'SRID=4674;POINT (-38.833193 -3.531262)', '2026-08-07 14:06:25', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833226 -3.531273)'), GeomFromEWKT('SRID=4674;POINT (-38.833193 -3.531262)'))) / (select extract(epoch from '2026-08-07 14:06:25'::timestamp) - extract(epoch from '2026-08-07 14:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833226 -3.531273)'), GeomFromEWKT('SRID=4674;POINT (-38.833193 -3.531262)'))) / (select extract(epoch from '2026-08-07 14:06:25'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.833143 -3.531248)', '2026-08-07 14:06:38', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833193 -3.531262)'), GeomFromEWKT('SRID=4674;POINT (-38.833143 -3.531248)'))) / (select extract(epoch from '2026-08-07 14:06:38'::timestamp) - extract(epoch from '2026-08-07 14:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833193 -3.531262)'), GeomFromEWKT('SRID=4674;POINT (-38.833143 -3.531248)'))) / (select extract(epoch from '2026-08-07 14:06:38'::timestamp) - extract(epoch from '2026-08-07 14:06:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.833103 -3.531244)', '2026-08-07 14:06:50', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833143 -3.531248)'), GeomFromEWKT('SRID=4674;POINT (-38.833103 -3.531244)'))) / (select extract(epoch from '2026-08-07 14:06:50'::timestamp) - extract(epoch from '2026-08-07 14:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833143 -3.531248)'), GeomFromEWKT('SRID=4674;POINT (-38.833103 -3.531244)'))) / (select extract(epoch from '2026-08-07 14:06:50'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.833061 -3.531235)', '2026-08-07 14:07:01', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833103 -3.531244)'), GeomFromEWKT('SRID=4674;POINT (-38.833061 -3.531235)'))) / (select extract(epoch from '2026-08-07 14:07:01'::timestamp) - extract(epoch from '2026-08-07 14:06:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833103 -3.531244)'), GeomFromEWKT('SRID=4674;POINT (-38.833061 -3.531235)'))) / (select extract(epoch from '2026-08-07 14:07:01'::timestamp) - extract(epoch from '2026-08-07 14:06:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.833008 -3.531221)', '2026-08-07 14:07:14', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833061 -3.531235)'), GeomFromEWKT('SRID=4674;POINT (-38.833008 -3.531221)'))) / (select extract(epoch from '2026-08-07 14:07:14'::timestamp) - extract(epoch from '2026-08-07 14:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833061 -3.531235)'), GeomFromEWKT('SRID=4674;POINT (-38.833008 -3.531221)'))) / (select extract(epoch from '2026-08-07 14:07:14'::timestamp) - extract(epoch from '2026-08-07 14:07:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.832972 -3.531226)', '2026-08-07 14:07:26', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833008 -3.531221)'), GeomFromEWKT('SRID=4674;POINT (-38.832972 -3.531226)'))) / (select extract(epoch from '2026-08-07 14:07:26'::timestamp) - extract(epoch from '2026-08-07 14:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833008 -3.531221)'), GeomFromEWKT('SRID=4674;POINT (-38.832972 -3.531226)'))) / (select extract(epoch from '2026-08-07 14:07:26'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.832963 -3.531223)', '2026-08-07 14:07:35', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832972 -3.531226)'), GeomFromEWKT('SRID=4674;POINT (-38.832963 -3.531223)'))) / (select extract(epoch from '2026-08-07 14:07:35'::timestamp) - extract(epoch from '2026-08-07 14:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832972 -3.531226)'), GeomFromEWKT('SRID=4674;POINT (-38.832963 -3.531223)'))) / (select extract(epoch from '2026-08-07 14:07:35'::timestamp) - extract(epoch from '2026-08-07 14:07: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'), 48147, 'SRID=4674;POINT (-38.832982 -3.53122)', '2026-08-07 14:07:50', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832963 -3.531223)'), GeomFromEWKT('SRID=4674;POINT (-38.832982 -3.53122)'))) / (select extract(epoch from '2026-08-07 14:07:50'::timestamp) - extract(epoch from '2026-08-07 14:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832963 -3.531223)'), GeomFromEWKT('SRID=4674;POINT (-38.832982 -3.53122)'))) / (select extract(epoch from '2026-08-07 14:07:50'::timestamp) - extract(epoch from '2026-08-07 14:07: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'), 48147, 'SRID=4674;POINT (-38.833033 -3.531216)', '2026-08-07 14:08:01', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832982 -3.53122)'), GeomFromEWKT('SRID=4674;POINT (-38.833033 -3.531216)'))) / (select extract(epoch from '2026-08-07 14:08:01'::timestamp) - extract(epoch from '2026-08-07 14:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832982 -3.53122)'), GeomFromEWKT('SRID=4674;POINT (-38.833033 -3.531216)'))) / (select extract(epoch from '2026-08-07 14:08:01'::timestamp) - extract(epoch from '2026-08-07 14:07:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.833118 -3.531199)', '2026-08-07 14:08:13', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833033 -3.531216)'), GeomFromEWKT('SRID=4674;POINT (-38.833118 -3.531199)'))) / (select extract(epoch from '2026-08-07 14:08:13'::timestamp) - extract(epoch from '2026-08-07 14:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833033 -3.531216)'), GeomFromEWKT('SRID=4674;POINT (-38.833118 -3.531199)'))) / (select extract(epoch from '2026-08-07 14:08:13'::timestamp) - extract(epoch from '2026-08-07 14:08:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.833198 -3.531175)', '2026-08-07 14:08:26', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833118 -3.531199)'), GeomFromEWKT('SRID=4674;POINT (-38.833198 -3.531175)'))) / (select extract(epoch from '2026-08-07 14:08:26'::timestamp) - extract(epoch from '2026-08-07 14:08:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833118 -3.531199)'), GeomFromEWKT('SRID=4674;POINT (-38.833198 -3.531175)'))) / (select extract(epoch from '2026-08-07 14:08:26'::timestamp) - extract(epoch from '2026-08-07 14:08: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'), 48147, 'SRID=4674;POINT (-38.833259 -3.531161)', '2026-08-07 14:08:36', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833198 -3.531175)'), GeomFromEWKT('SRID=4674;POINT (-38.833259 -3.531161)'))) / (select extract(epoch from '2026-08-07 14:08:36'::timestamp) - extract(epoch from '2026-08-07 14:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833198 -3.531175)'), GeomFromEWKT('SRID=4674;POINT (-38.833259 -3.531161)'))) / (select extract(epoch from '2026-08-07 14:08:36'::timestamp) - extract(epoch from '2026-08-07 14:08: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'), 48147, 'SRID=4674;POINT (-38.833317 -3.531158)', '2026-08-07 14:08:45', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833259 -3.531161)'), GeomFromEWKT('SRID=4674;POINT (-38.833317 -3.531158)'))) / (select extract(epoch from '2026-08-07 14:08:45'::timestamp) - extract(epoch from '2026-08-07 14:08:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833259 -3.531161)'), GeomFromEWKT('SRID=4674;POINT (-38.833317 -3.531158)'))) / (select extract(epoch from '2026-08-07 14:08:45'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.833365 -3.531213)', '2026-08-07 14:08:54', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833317 -3.531158)'), GeomFromEWKT('SRID=4674;POINT (-38.833365 -3.531213)'))) / (select extract(epoch from '2026-08-07 14:08:54'::timestamp) - extract(epoch from '2026-08-07 14:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833317 -3.531158)'), GeomFromEWKT('SRID=4674;POINT (-38.833365 -3.531213)'))) / (select extract(epoch from '2026-08-07 14:08:54'::timestamp) - extract(epoch from '2026-08-07 14:08:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.833356 -3.531296)', '2026-08-07 14:09:03', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833365 -3.531213)'), GeomFromEWKT('SRID=4674;POINT (-38.833356 -3.531296)'))) / (select extract(epoch from '2026-08-07 14:09:03'::timestamp) - extract(epoch from '2026-08-07 14:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833365 -3.531213)'), GeomFromEWKT('SRID=4674;POINT (-38.833356 -3.531296)'))) / (select extract(epoch from '2026-08-07 14:09:03'::timestamp) - extract(epoch from '2026-08-07 14:08:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.833316 -3.531388)', '2026-08-07 14:09:13', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833356 -3.531296)'), GeomFromEWKT('SRID=4674;POINT (-38.833316 -3.531388)'))) / (select extract(epoch from '2026-08-07 14:09:13'::timestamp) - extract(epoch from '2026-08-07 14:09:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833356 -3.531296)'), GeomFromEWKT('SRID=4674;POINT (-38.833316 -3.531388)'))) / (select extract(epoch from '2026-08-07 14:09:13'::timestamp) - extract(epoch from '2026-08-07 14:09: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'), 48147, 'SRID=4674;POINT (-38.833284 -3.531495)', '2026-08-07 14:09:25', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833316 -3.531388)'), GeomFromEWKT('SRID=4674;POINT (-38.833284 -3.531495)'))) / (select extract(epoch from '2026-08-07 14:09:25'::timestamp) - extract(epoch from '2026-08-07 14:09:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833316 -3.531388)'), GeomFromEWKT('SRID=4674;POINT (-38.833284 -3.531495)'))) / (select extract(epoch from '2026-08-07 14:09:25'::timestamp) - extract(epoch from '2026-08-07 14:09: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'), 48147, 'SRID=4674;POINT (-38.83327 -3.531585)', '2026-08-07 14:09:37', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833284 -3.531495)'), GeomFromEWKT('SRID=4674;POINT (-38.83327 -3.531585)'))) / (select extract(epoch from '2026-08-07 14:09:37'::timestamp) - extract(epoch from '2026-08-07 14:09:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833284 -3.531495)'), GeomFromEWKT('SRID=4674;POINT (-38.83327 -3.531585)'))) / (select extract(epoch from '2026-08-07 14:09:37'::timestamp) - extract(epoch from '2026-08-07 14:09: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'), 48147, 'SRID=4674;POINT (-38.833248 -3.531624)', '2026-08-07 14:09:42', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83327 -3.531585)'), GeomFromEWKT('SRID=4674;POINT (-38.833248 -3.531624)'))) / (select extract(epoch from '2026-08-07 14:09:42'::timestamp) - extract(epoch from '2026-08-07 14:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83327 -3.531585)'), GeomFromEWKT('SRID=4674;POINT (-38.833248 -3.531624)'))) / (select extract(epoch from '2026-08-07 14:09:42'::timestamp) - extract(epoch from '2026-08-07 14:09: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'), 48147, 'SRID=4674;POINT (-38.833233 -3.531658)', '2026-08-07 14:09:46', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833248 -3.531624)'), GeomFromEWKT('SRID=4674;POINT (-38.833233 -3.531658)'))) / (select extract(epoch from '2026-08-07 14:09:46'::timestamp) - extract(epoch from '2026-08-07 14:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833248 -3.531624)'), GeomFromEWKT('SRID=4674;POINT (-38.833233 -3.531658)'))) / (select extract(epoch from '2026-08-07 14:09:46'::timestamp) - extract(epoch from '2026-08-07 14:09: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'), 48147, 'SRID=4674;POINT (-38.833221 -3.531696)', '2026-08-07 14:09:50', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833233 -3.531658)'), GeomFromEWKT('SRID=4674;POINT (-38.833221 -3.531696)'))) / (select extract(epoch from '2026-08-07 14:09:50'::timestamp) - extract(epoch from '2026-08-07 14:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833233 -3.531658)'), GeomFromEWKT('SRID=4674;POINT (-38.833221 -3.531696)'))) / (select extract(epoch from '2026-08-07 14:09:50'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.833219 -3.531717)', '2026-08-07 14:09:52', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833221 -3.531696)'), GeomFromEWKT('SRID=4674;POINT (-38.833219 -3.531717)'))) / (select extract(epoch from '2026-08-07 14:09:52'::timestamp) - extract(epoch from '2026-08-07 14:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833221 -3.531696)'), GeomFromEWKT('SRID=4674;POINT (-38.833219 -3.531717)'))) / (select extract(epoch from '2026-08-07 14:09:52'::timestamp) - extract(epoch from '2026-08-07 14:09:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.833212 -3.531771)', '2026-08-07 14:09:59', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833219 -3.531717)'), GeomFromEWKT('SRID=4674;POINT (-38.833212 -3.531771)'))) / (select extract(epoch from '2026-08-07 14:09:59'::timestamp) - extract(epoch from '2026-08-07 14:09:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833219 -3.531717)'), GeomFromEWKT('SRID=4674;POINT (-38.833212 -3.531771)'))) / (select extract(epoch from '2026-08-07 14:09:59'::timestamp) - extract(epoch from '2026-08-07 14:09: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'), 48147, 'SRID=4674;POINT (-38.833203 -3.531902)', '2026-08-07 14:10:10', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833212 -3.531771)'), GeomFromEWKT('SRID=4674;POINT (-38.833203 -3.531902)'))) / (select extract(epoch from '2026-08-07 14:10:10'::timestamp) - extract(epoch from '2026-08-07 14:09:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833212 -3.531771)'), GeomFromEWKT('SRID=4674;POINT (-38.833203 -3.531902)'))) / (select extract(epoch from '2026-08-07 14:10:10'::timestamp) - extract(epoch from '2026-08-07 14:09: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'), 48147, 'SRID=4674;POINT (-38.833168 -3.532016)', '2026-08-07 14:10:17', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833203 -3.531902)'), GeomFromEWKT('SRID=4674;POINT (-38.833168 -3.532016)'))) / (select extract(epoch from '2026-08-07 14:10:17'::timestamp) - extract(epoch from '2026-08-07 14:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833203 -3.531902)'), GeomFromEWKT('SRID=4674;POINT (-38.833168 -3.532016)'))) / (select extract(epoch from '2026-08-07 14:10:17'::timestamp) - extract(epoch from '2026-08-07 14:10:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.833116 -3.532139)', '2026-08-07 14:10:25', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833168 -3.532016)'), GeomFromEWKT('SRID=4674;POINT (-38.833116 -3.532139)'))) / (select extract(epoch from '2026-08-07 14:10:25'::timestamp) - extract(epoch from '2026-08-07 14:10:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833168 -3.532016)'), GeomFromEWKT('SRID=4674;POINT (-38.833116 -3.532139)'))) / (select extract(epoch from '2026-08-07 14:10:25'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.833058 -3.532297)', '2026-08-07 14:10:33', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833116 -3.532139)'), GeomFromEWKT('SRID=4674;POINT (-38.833058 -3.532297)'))) / (select extract(epoch from '2026-08-07 14:10:33'::timestamp) - extract(epoch from '2026-08-07 14:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833116 -3.532139)'), GeomFromEWKT('SRID=4674;POINT (-38.833058 -3.532297)'))) / (select extract(epoch from '2026-08-07 14:10:33'::timestamp) - extract(epoch from '2026-08-07 14:10: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'), 48147, 'SRID=4674;POINT (-38.832994 -3.532427)', '2026-08-07 14:10:40', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833058 -3.532297)'), GeomFromEWKT('SRID=4674;POINT (-38.832994 -3.532427)'))) / (select extract(epoch from '2026-08-07 14:10:40'::timestamp) - extract(epoch from '2026-08-07 14:10:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.833058 -3.532297)'), GeomFromEWKT('SRID=4674;POINT (-38.832994 -3.532427)'))) / (select extract(epoch from '2026-08-07 14:10:40'::timestamp) - extract(epoch from '2026-08-07 14:10: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'), 48147, 'SRID=4674;POINT (-38.83296 -3.532513)', '2026-08-07 14:10:46', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832994 -3.532427)'), GeomFromEWKT('SRID=4674;POINT (-38.83296 -3.532513)'))) / (select extract(epoch from '2026-08-07 14:10:46'::timestamp) - extract(epoch from '2026-08-07 14:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832994 -3.532427)'), GeomFromEWKT('SRID=4674;POINT (-38.83296 -3.532513)'))) / (select extract(epoch from '2026-08-07 14:10:46'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.832943 -3.53255)', '2026-08-07 14:10:50', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83296 -3.532513)'), GeomFromEWKT('SRID=4674;POINT (-38.832943 -3.53255)'))) / (select extract(epoch from '2026-08-07 14:10:50'::timestamp) - extract(epoch from '2026-08-07 14:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83296 -3.532513)'), GeomFromEWKT('SRID=4674;POINT (-38.832943 -3.53255)'))) / (select extract(epoch from '2026-08-07 14:10:50'::timestamp) - extract(epoch from '2026-08-07 14:10:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.832941 -3.532571)', '2026-08-07 14:10:52', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832943 -3.53255)'), GeomFromEWKT('SRID=4674;POINT (-38.832941 -3.532571)'))) / (select extract(epoch from '2026-08-07 14:10:52'::timestamp) - extract(epoch from '2026-08-07 14:10:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832943 -3.53255)'), GeomFromEWKT('SRID=4674;POINT (-38.832941 -3.532571)'))) / (select extract(epoch from '2026-08-07 14:10:52'::timestamp) - extract(epoch from '2026-08-07 14:10: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'), 48147, 'SRID=4674;POINT (-38.832919 -3.532639)', '2026-08-07 14:10:59', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832941 -3.532571)'), GeomFromEWKT('SRID=4674;POINT (-38.832919 -3.532639)'))) / (select extract(epoch from '2026-08-07 14:10:59'::timestamp) - extract(epoch from '2026-08-07 14:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832941 -3.532571)'), GeomFromEWKT('SRID=4674;POINT (-38.832919 -3.532639)'))) / (select extract(epoch from '2026-08-07 14:10:59'::timestamp) - extract(epoch from '2026-08-07 14:10:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.832909 -3.532695)', '2026-08-07 14:11:04', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832919 -3.532639)'), GeomFromEWKT('SRID=4674;POINT (-38.832909 -3.532695)'))) / (select extract(epoch from '2026-08-07 14:11:04'::timestamp) - extract(epoch from '2026-08-07 14:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832919 -3.532639)'), GeomFromEWKT('SRID=4674;POINT (-38.832909 -3.532695)'))) / (select extract(epoch from '2026-08-07 14:11:04'::timestamp) - extract(epoch from '2026-08-07 14:10:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.832901 -3.532763)', '2026-08-07 14:11:10', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832909 -3.532695)'), GeomFromEWKT('SRID=4674;POINT (-38.832901 -3.532763)'))) / (select extract(epoch from '2026-08-07 14:11:10'::timestamp) - extract(epoch from '2026-08-07 14:11:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832909 -3.532695)'), GeomFromEWKT('SRID=4674;POINT (-38.832901 -3.532763)'))) / (select extract(epoch from '2026-08-07 14:11:10'::timestamp) - extract(epoch from '2026-08-07 14:11: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'), 48147, 'SRID=4674;POINT (-38.83289 -3.532856)', '2026-08-07 14:11:18', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832901 -3.532763)'), GeomFromEWKT('SRID=4674;POINT (-38.83289 -3.532856)'))) / (select extract(epoch from '2026-08-07 14:11:18'::timestamp) - extract(epoch from '2026-08-07 14:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832901 -3.532763)'), GeomFromEWKT('SRID=4674;POINT (-38.83289 -3.532856)'))) / (select extract(epoch from '2026-08-07 14:11:18'::timestamp) - extract(epoch from '2026-08-07 14:11:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.83289 -3.532889)', '2026-08-07 14:11:21', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83289 -3.532856)'), GeomFromEWKT('SRID=4674;POINT (-38.83289 -3.532889)'))) / (select extract(epoch from '2026-08-07 14:11:21'::timestamp) - extract(epoch from '2026-08-07 14:11:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83289 -3.532856)'), GeomFromEWKT('SRID=4674;POINT (-38.83289 -3.532889)'))) / (select extract(epoch from '2026-08-07 14:11:21'::timestamp) - extract(epoch from '2026-08-07 14:11: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'), 48147, 'SRID=4674;POINT (-38.832883 -3.532911)', '2026-08-07 14:11:23', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83289 -3.532889)'), GeomFromEWKT('SRID=4674;POINT (-38.832883 -3.532911)'))) / (select extract(epoch from '2026-08-07 14:11:23'::timestamp) - extract(epoch from '2026-08-07 14:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83289 -3.532889)'), GeomFromEWKT('SRID=4674;POINT (-38.832883 -3.532911)'))) / (select extract(epoch from '2026-08-07 14:11:23'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.832866 -3.533001)', '2026-08-07 14:11:30', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832883 -3.532911)'), GeomFromEWKT('SRID=4674;POINT (-38.832866 -3.533001)'))) / (select extract(epoch from '2026-08-07 14:11:30'::timestamp) - extract(epoch from '2026-08-07 14:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832883 -3.532911)'), GeomFromEWKT('SRID=4674;POINT (-38.832866 -3.533001)'))) / (select extract(epoch from '2026-08-07 14:11:30'::timestamp) - extract(epoch from '2026-08-07 14:11: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'), 48147, 'SRID=4674;POINT (-38.832845 -3.533095)', '2026-08-07 14:11:38', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832866 -3.533001)'), GeomFromEWKT('SRID=4674;POINT (-38.832845 -3.533095)'))) / (select extract(epoch from '2026-08-07 14:11:38'::timestamp) - extract(epoch from '2026-08-07 14:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832866 -3.533001)'), GeomFromEWKT('SRID=4674;POINT (-38.832845 -3.533095)'))) / (select extract(epoch from '2026-08-07 14:11:38'::timestamp) - extract(epoch from '2026-08-07 14:11:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.832842 -3.533117)', '2026-08-07 14:11:40', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832845 -3.533095)'), GeomFromEWKT('SRID=4674;POINT (-38.832842 -3.533117)'))) / (select extract(epoch from '2026-08-07 14:11:40'::timestamp) - extract(epoch from '2026-08-07 14:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832845 -3.533095)'), GeomFromEWKT('SRID=4674;POINT (-38.832842 -3.533117)'))) / (select extract(epoch from '2026-08-07 14:11:40'::timestamp) - extract(epoch from '2026-08-07 14:11: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'), 48147, 'SRID=4674;POINT (-38.832834 -3.533165)', '2026-08-07 14:11:44', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832842 -3.533117)'), GeomFromEWKT('SRID=4674;POINT (-38.832834 -3.533165)'))) / (select extract(epoch from '2026-08-07 14:11:44'::timestamp) - extract(epoch from '2026-08-07 14:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832842 -3.533117)'), GeomFromEWKT('SRID=4674;POINT (-38.832834 -3.533165)'))) / (select extract(epoch from '2026-08-07 14:11:44'::timestamp) - extract(epoch from '2026-08-07 14:11: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'), 48147, 'SRID=4674;POINT (-38.832823 -3.53325)', '2026-08-07 14:11:51', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832834 -3.533165)'), GeomFromEWKT('SRID=4674;POINT (-38.832823 -3.53325)'))) / (select extract(epoch from '2026-08-07 14:11:51'::timestamp) - extract(epoch from '2026-08-07 14:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832834 -3.533165)'), GeomFromEWKT('SRID=4674;POINT (-38.832823 -3.53325)'))) / (select extract(epoch from '2026-08-07 14:11:51'::timestamp) - extract(epoch from '2026-08-07 14:11:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.832811 -3.533334)', '2026-08-07 14:11:58', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832823 -3.53325)'), GeomFromEWKT('SRID=4674;POINT (-38.832811 -3.533334)'))) / (select extract(epoch from '2026-08-07 14:11:58'::timestamp) - extract(epoch from '2026-08-07 14:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832823 -3.53325)'), GeomFromEWKT('SRID=4674;POINT (-38.832811 -3.533334)'))) / (select extract(epoch from '2026-08-07 14:11:58'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.832804 -3.533367)', '2026-08-07 14:12:01', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832811 -3.533334)'), GeomFromEWKT('SRID=4674;POINT (-38.832804 -3.533367)'))) / (select extract(epoch from '2026-08-07 14:12:01'::timestamp) - extract(epoch from '2026-08-07 14:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832811 -3.533334)'), GeomFromEWKT('SRID=4674;POINT (-38.832804 -3.533367)'))) / (select extract(epoch from '2026-08-07 14:12:01'::timestamp) - extract(epoch from '2026-08-07 14:11: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'), 48147, 'SRID=4674;POINT (-38.832795 -3.533383)', '2026-08-07 14:12:03', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832804 -3.533367)'), GeomFromEWKT('SRID=4674;POINT (-38.832795 -3.533383)'))) / (select extract(epoch from '2026-08-07 14:12:03'::timestamp) - extract(epoch from '2026-08-07 14:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832804 -3.533367)'), GeomFromEWKT('SRID=4674;POINT (-38.832795 -3.533383)'))) / (select extract(epoch from '2026-08-07 14:12:03'::timestamp) - extract(epoch from '2026-08-07 14:12: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'), 48147, 'SRID=4674;POINT (-38.832793 -3.533395)', '2026-08-07 14:12:04', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832795 -3.533383)'), GeomFromEWKT('SRID=4674;POINT (-38.832793 -3.533395)'))) / (select extract(epoch from '2026-08-07 14:12:04'::timestamp) - extract(epoch from '2026-08-07 14:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832795 -3.533383)'), GeomFromEWKT('SRID=4674;POINT (-38.832793 -3.533395)'))) / (select extract(epoch from '2026-08-07 14:12:04'::timestamp) - extract(epoch from '2026-08-07 14:12: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'), 48147, 'SRID=4674;POINT (-38.832785 -3.533442)', '2026-08-07 14:12:08', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832793 -3.533395)'), GeomFromEWKT('SRID=4674;POINT (-38.832785 -3.533442)'))) / (select extract(epoch from '2026-08-07 14:12:08'::timestamp) - extract(epoch from '2026-08-07 14:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832793 -3.533395)'), GeomFromEWKT('SRID=4674;POINT (-38.832785 -3.533442)'))) / (select extract(epoch from '2026-08-07 14:12:08'::timestamp) - extract(epoch from '2026-08-07 14:12: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'), 48147, 'SRID=4674;POINT (-38.832778 -3.533473)', '2026-08-07 14:12:11', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832785 -3.533442)'), GeomFromEWKT('SRID=4674;POINT (-38.832778 -3.533473)'))) / (select extract(epoch from '2026-08-07 14:12:11'::timestamp) - extract(epoch from '2026-08-07 14:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832785 -3.533442)'), GeomFromEWKT('SRID=4674;POINT (-38.832778 -3.533473)'))) / (select extract(epoch from '2026-08-07 14:12:11'::timestamp) - extract(epoch from '2026-08-07 14:12: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'), 48147, 'SRID=4674;POINT (-38.832759 -3.533553)', '2026-08-07 14:12:18', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832778 -3.533473)'), GeomFromEWKT('SRID=4674;POINT (-38.832759 -3.533553)'))) / (select extract(epoch from '2026-08-07 14:12:18'::timestamp) - extract(epoch from '2026-08-07 14:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832778 -3.533473)'), GeomFromEWKT('SRID=4674;POINT (-38.832759 -3.533553)'))) / (select extract(epoch from '2026-08-07 14:12:18'::timestamp) - extract(epoch from '2026-08-07 14:12: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'), 48147, 'SRID=4674;POINT (-38.832747 -3.533617)', '2026-08-07 14:12:24', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832759 -3.533553)'), GeomFromEWKT('SRID=4674;POINT (-38.832747 -3.533617)'))) / (select extract(epoch from '2026-08-07 14:12:24'::timestamp) - extract(epoch from '2026-08-07 14:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832759 -3.533553)'), GeomFromEWKT('SRID=4674;POINT (-38.832747 -3.533617)'))) / (select extract(epoch from '2026-08-07 14:12:24'::timestamp) - extract(epoch from '2026-08-07 14:12:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.832738 -3.533674)', '2026-08-07 14:12:29', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832747 -3.533617)'), GeomFromEWKT('SRID=4674;POINT (-38.832738 -3.533674)'))) / (select extract(epoch from '2026-08-07 14:12:29'::timestamp) - extract(epoch from '2026-08-07 14:12:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832747 -3.533617)'), GeomFromEWKT('SRID=4674;POINT (-38.832738 -3.533674)'))) / (select extract(epoch from '2026-08-07 14:12:29'::timestamp) - extract(epoch from '2026-08-07 14:12: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'), 48147, 'SRID=4674;POINT (-38.832735 -3.533703)', '2026-08-07 14:12:32', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832738 -3.533674)'), GeomFromEWKT('SRID=4674;POINT (-38.832735 -3.533703)'))) / (select extract(epoch from '2026-08-07 14:12:32'::timestamp) - extract(epoch from '2026-08-07 14:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832738 -3.533674)'), GeomFromEWKT('SRID=4674;POINT (-38.832735 -3.533703)'))) / (select extract(epoch from '2026-08-07 14:12:32'::timestamp) - extract(epoch from '2026-08-07 14:12: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'), 48147, 'SRID=4674;POINT (-38.832737 -3.533714)', '2026-08-07 14:12:33', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832735 -3.533703)'), GeomFromEWKT('SRID=4674;POINT (-38.832737 -3.533714)'))) / (select extract(epoch from '2026-08-07 14:12:33'::timestamp) - extract(epoch from '2026-08-07 14:12:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832735 -3.533703)'), GeomFromEWKT('SRID=4674;POINT (-38.832737 -3.533714)'))) / (select extract(epoch from '2026-08-07 14:12:33'::timestamp) - extract(epoch from '2026-08-07 14:12:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.832742 -3.533754)', '2026-08-07 14:12:37', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832737 -3.533714)'), GeomFromEWKT('SRID=4674;POINT (-38.832742 -3.533754)'))) / (select extract(epoch from '2026-08-07 14:12:37'::timestamp) - extract(epoch from '2026-08-07 14:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832737 -3.533714)'), GeomFromEWKT('SRID=4674;POINT (-38.832742 -3.533754)'))) / (select extract(epoch from '2026-08-07 14:12:37'::timestamp) - extract(epoch from '2026-08-07 14:12: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'), 48147, 'SRID=4674;POINT (-38.832737 -3.533826)', '2026-08-07 14:12:44', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832742 -3.533754)'), GeomFromEWKT('SRID=4674;POINT (-38.832737 -3.533826)'))) / (select extract(epoch from '2026-08-07 14:12:44'::timestamp) - extract(epoch from '2026-08-07 14:12:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832742 -3.533754)'), GeomFromEWKT('SRID=4674;POINT (-38.832737 -3.533826)'))) / (select extract(epoch from '2026-08-07 14:12:44'::timestamp) - extract(epoch from '2026-08-07 14:12: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'), 48147, 'SRID=4674;POINT (-38.83273 -3.533912)', '2026-08-07 14:12:51', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832737 -3.533826)'), GeomFromEWKT('SRID=4674;POINT (-38.83273 -3.533912)'))) / (select extract(epoch from '2026-08-07 14:12:51'::timestamp) - extract(epoch from '2026-08-07 14:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832737 -3.533826)'), GeomFromEWKT('SRID=4674;POINT (-38.83273 -3.533912)'))) / (select extract(epoch from '2026-08-07 14:12:51'::timestamp) - extract(epoch from '2026-08-07 14:12: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'), 48147, 'SRID=4674;POINT (-38.832709 -3.534013)', '2026-08-07 14:12:59', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83273 -3.533912)'), GeomFromEWKT('SRID=4674;POINT (-38.832709 -3.534013)'))) / (select extract(epoch from '2026-08-07 14:12:59'::timestamp) - extract(epoch from '2026-08-07 14:12:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83273 -3.533912)'), GeomFromEWKT('SRID=4674;POINT (-38.832709 -3.534013)'))) / (select extract(epoch from '2026-08-07 14:12:59'::timestamp) - extract(epoch from '2026-08-07 14:12: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'), 48147, 'SRID=4674;POINT (-38.832689 -3.534098)', '2026-08-07 14:13:07', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832709 -3.534013)'), GeomFromEWKT('SRID=4674;POINT (-38.832689 -3.534098)'))) / (select extract(epoch from '2026-08-07 14:13:07'::timestamp) - extract(epoch from '2026-08-07 14:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832709 -3.534013)'), GeomFromEWKT('SRID=4674;POINT (-38.832689 -3.534098)'))) / (select extract(epoch from '2026-08-07 14:13:07'::timestamp) - extract(epoch from '2026-08-07 14:12: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'), 48147, 'SRID=4674;POINT (-38.832679 -3.534171)', '2026-08-07 14:13:14', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832689 -3.534098)'), GeomFromEWKT('SRID=4674;POINT (-38.832679 -3.534171)'))) / (select extract(epoch from '2026-08-07 14:13:14'::timestamp) - extract(epoch from '2026-08-07 14:13:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832689 -3.534098)'), GeomFromEWKT('SRID=4674;POINT (-38.832679 -3.534171)'))) / (select extract(epoch from '2026-08-07 14:13:14'::timestamp) - extract(epoch from '2026-08-07 14:13:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.832666 -3.534244)', '2026-08-07 14:13:20', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832679 -3.534171)'), GeomFromEWKT('SRID=4674;POINT (-38.832666 -3.534244)'))) / (select extract(epoch from '2026-08-07 14:13:20'::timestamp) - extract(epoch from '2026-08-07 14:13:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832679 -3.534171)'), GeomFromEWKT('SRID=4674;POINT (-38.832666 -3.534244)'))) / (select extract(epoch from '2026-08-07 14:13:20'::timestamp) - extract(epoch from '2026-08-07 14:13: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'), 48147, 'SRID=4674;POINT (-38.832655 -3.534317)', '2026-08-07 14:13:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832666 -3.534244)'), GeomFromEWKT('SRID=4674;POINT (-38.832655 -3.534317)'))) / (select extract(epoch from '2026-08-07 14:13:27'::timestamp) - extract(epoch from '2026-08-07 14:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832666 -3.534244)'), GeomFromEWKT('SRID=4674;POINT (-38.832655 -3.534317)'))) / (select extract(epoch from '2026-08-07 14:13:27'::timestamp) - extract(epoch from '2026-08-07 14:13:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.832633 -3.534392)', '2026-08-07 14:13:33', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832655 -3.534317)'), GeomFromEWKT('SRID=4674;POINT (-38.832633 -3.534392)'))) / (select extract(epoch from '2026-08-07 14:13:33'::timestamp) - extract(epoch from '2026-08-07 14:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832655 -3.534317)'), GeomFromEWKT('SRID=4674;POINT (-38.832633 -3.534392)'))) / (select extract(epoch from '2026-08-07 14:13:33'::timestamp) - extract(epoch from '2026-08-07 14:13: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'), 48147, 'SRID=4674;POINT (-38.832609 -3.534474)', '2026-08-07 14:13:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832633 -3.534392)'), GeomFromEWKT('SRID=4674;POINT (-38.832609 -3.534474)'))) / (select extract(epoch from '2026-08-07 14:13:40'::timestamp) - extract(epoch from '2026-08-07 14:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832633 -3.534392)'), GeomFromEWKT('SRID=4674;POINT (-38.832609 -3.534474)'))) / (select extract(epoch from '2026-08-07 14:13:40'::timestamp) - extract(epoch from '2026-08-07 14:13:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.832586 -3.534557)', '2026-08-07 14:13:48', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832609 -3.534474)'), GeomFromEWKT('SRID=4674;POINT (-38.832586 -3.534557)'))) / (select extract(epoch from '2026-08-07 14:13:48'::timestamp) - extract(epoch from '2026-08-07 14:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832609 -3.534474)'), GeomFromEWKT('SRID=4674;POINT (-38.832586 -3.534557)'))) / (select extract(epoch from '2026-08-07 14:13:48'::timestamp) - extract(epoch from '2026-08-07 14:13: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'), 48147, 'SRID=4674;POINT (-38.832595 -3.534649)', '2026-08-07 14:13:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832586 -3.534557)'), GeomFromEWKT('SRID=4674;POINT (-38.832595 -3.534649)'))) / (select extract(epoch from '2026-08-07 14:13:56'::timestamp) - extract(epoch from '2026-08-07 14:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832586 -3.534557)'), GeomFromEWKT('SRID=4674;POINT (-38.832595 -3.534649)'))) / (select extract(epoch from '2026-08-07 14:13:56'::timestamp) - extract(epoch from '2026-08-07 14:13: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'), 48147, 'SRID=4674;POINT (-38.832599 -3.534751)', '2026-08-07 14:14:04', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832595 -3.534649)'), GeomFromEWKT('SRID=4674;POINT (-38.832599 -3.534751)'))) / (select extract(epoch from '2026-08-07 14:14:04'::timestamp) - extract(epoch from '2026-08-07 14:13:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832595 -3.534649)'), GeomFromEWKT('SRID=4674;POINT (-38.832599 -3.534751)'))) / (select extract(epoch from '2026-08-07 14:14:04'::timestamp) - extract(epoch from '2026-08-07 14:13:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.832599 -3.534836)', '2026-08-07 14:14:11', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832599 -3.534751)'), GeomFromEWKT('SRID=4674;POINT (-38.832599 -3.534836)'))) / (select extract(epoch from '2026-08-07 14:14:11'::timestamp) - extract(epoch from '2026-08-07 14:14:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832599 -3.534751)'), GeomFromEWKT('SRID=4674;POINT (-38.832599 -3.534836)'))) / (select extract(epoch from '2026-08-07 14:14:11'::timestamp) - extract(epoch from '2026-08-07 14:14:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.832585 -3.534942)', '2026-08-07 14:14:20', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832599 -3.534836)'), GeomFromEWKT('SRID=4674;POINT (-38.832585 -3.534942)'))) / (select extract(epoch from '2026-08-07 14:14:20'::timestamp) - extract(epoch from '2026-08-07 14:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832599 -3.534836)'), GeomFromEWKT('SRID=4674;POINT (-38.832585 -3.534942)'))) / (select extract(epoch from '2026-08-07 14:14:20'::timestamp) - extract(epoch from '2026-08-07 14:14:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.83257 -3.535023)', '2026-08-07 14:14:28', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832585 -3.534942)'), GeomFromEWKT('SRID=4674;POINT (-38.83257 -3.535023)'))) / (select extract(epoch from '2026-08-07 14:14:28'::timestamp) - extract(epoch from '2026-08-07 14:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832585 -3.534942)'), GeomFromEWKT('SRID=4674;POINT (-38.83257 -3.535023)'))) / (select extract(epoch from '2026-08-07 14:14:28'::timestamp) - extract(epoch from '2026-08-07 14:14:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.832543 -3.535111)', '2026-08-07 14:14:36', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83257 -3.535023)'), GeomFromEWKT('SRID=4674;POINT (-38.832543 -3.535111)'))) / (select extract(epoch from '2026-08-07 14:14:36'::timestamp) - extract(epoch from '2026-08-07 14:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83257 -3.535023)'), GeomFromEWKT('SRID=4674;POINT (-38.832543 -3.535111)'))) / (select extract(epoch from '2026-08-07 14:14:36'::timestamp) - extract(epoch from '2026-08-07 14:14: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'), 48147, 'SRID=4674;POINT (-38.832532 -3.535203)', '2026-08-07 14:14:44', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832543 -3.535111)'), GeomFromEWKT('SRID=4674;POINT (-38.832532 -3.535203)'))) / (select extract(epoch from '2026-08-07 14:14:44'::timestamp) - extract(epoch from '2026-08-07 14:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832543 -3.535111)'), GeomFromEWKT('SRID=4674;POINT (-38.832532 -3.535203)'))) / (select extract(epoch from '2026-08-07 14:14:44'::timestamp) - extract(epoch from '2026-08-07 14:14:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.832519 -3.535293)', '2026-08-07 14:14:52', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832532 -3.535203)'), GeomFromEWKT('SRID=4674;POINT (-38.832519 -3.535293)'))) / (select extract(epoch from '2026-08-07 14:14:52'::timestamp) - extract(epoch from '2026-08-07 14:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832532 -3.535203)'), GeomFromEWKT('SRID=4674;POINT (-38.832519 -3.535293)'))) / (select extract(epoch from '2026-08-07 14:14:52'::timestamp) - extract(epoch from '2026-08-07 14:14: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'), 48147, 'SRID=4674;POINT (-38.832505 -3.535368)', '2026-08-07 14:14:59', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832519 -3.535293)'), GeomFromEWKT('SRID=4674;POINT (-38.832505 -3.535368)'))) / (select extract(epoch from '2026-08-07 14:14:59'::timestamp) - extract(epoch from '2026-08-07 14:14:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832519 -3.535293)'), GeomFromEWKT('SRID=4674;POINT (-38.832505 -3.535368)'))) / (select extract(epoch from '2026-08-07 14:14:59'::timestamp) - extract(epoch from '2026-08-07 14:14: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'), 48147, 'SRID=4674;POINT (-38.832502 -3.535388)', '2026-08-07 14:15:01', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832505 -3.535368)'), GeomFromEWKT('SRID=4674;POINT (-38.832502 -3.535388)'))) / (select extract(epoch from '2026-08-07 14:15:01'::timestamp) - extract(epoch from '2026-08-07 14:14:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832505 -3.535368)'), GeomFromEWKT('SRID=4674;POINT (-38.832502 -3.535388)'))) / (select extract(epoch from '2026-08-07 14:15:01'::timestamp) - extract(epoch from '2026-08-07 14:14:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.832497 -3.535437)', '2026-08-07 14:15:05', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832502 -3.535388)'), GeomFromEWKT('SRID=4674;POINT (-38.832497 -3.535437)'))) / (select extract(epoch from '2026-08-07 14:15:05'::timestamp) - extract(epoch from '2026-08-07 14:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832502 -3.535388)'), GeomFromEWKT('SRID=4674;POINT (-38.832497 -3.535437)'))) / (select extract(epoch from '2026-08-07 14:15:05'::timestamp) - extract(epoch from '2026-08-07 14:15: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'), 48147, 'SRID=4674;POINT (-38.832485 -3.535528)', '2026-08-07 14:15:12', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832497 -3.535437)'), GeomFromEWKT('SRID=4674;POINT (-38.832485 -3.535528)'))) / (select extract(epoch from '2026-08-07 14:15:12'::timestamp) - extract(epoch from '2026-08-07 14:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832497 -3.535437)'), GeomFromEWKT('SRID=4674;POINT (-38.832485 -3.535528)'))) / (select extract(epoch from '2026-08-07 14:15:12'::timestamp) - extract(epoch from '2026-08-07 14:15: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'), 48147, 'SRID=4674;POINT (-38.832475 -3.535623)', '2026-08-07 14:15:20', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832485 -3.535528)'), GeomFromEWKT('SRID=4674;POINT (-38.832475 -3.535623)'))) / (select extract(epoch from '2026-08-07 14:15:20'::timestamp) - extract(epoch from '2026-08-07 14:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832485 -3.535528)'), GeomFromEWKT('SRID=4674;POINT (-38.832475 -3.535623)'))) / (select extract(epoch from '2026-08-07 14:15:20'::timestamp) - extract(epoch from '2026-08-07 14:15:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.832452 -3.535687)', '2026-08-07 14:15:26', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832475 -3.535623)'), GeomFromEWKT('SRID=4674;POINT (-38.832452 -3.535687)'))) / (select extract(epoch from '2026-08-07 14:15:26'::timestamp) - extract(epoch from '2026-08-07 14:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832475 -3.535623)'), GeomFromEWKT('SRID=4674;POINT (-38.832452 -3.535687)'))) / (select extract(epoch from '2026-08-07 14:15:26'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.832443 -3.535757)', '2026-08-07 14:15:32', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832452 -3.535687)'), GeomFromEWKT('SRID=4674;POINT (-38.832443 -3.535757)'))) / (select extract(epoch from '2026-08-07 14:15:32'::timestamp) - extract(epoch from '2026-08-07 14:15:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832452 -3.535687)'), GeomFromEWKT('SRID=4674;POINT (-38.832443 -3.535757)'))) / (select extract(epoch from '2026-08-07 14:15:32'::timestamp) - extract(epoch from '2026-08-07 14:15:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.832446 -3.535769)', '2026-08-07 14:15:33', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832443 -3.535757)'), GeomFromEWKT('SRID=4674;POINT (-38.832446 -3.535769)'))) / (select extract(epoch from '2026-08-07 14:15:33'::timestamp) - extract(epoch from '2026-08-07 14:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832443 -3.535757)'), GeomFromEWKT('SRID=4674;POINT (-38.832446 -3.535769)'))) / (select extract(epoch from '2026-08-07 14:15:33'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.832439 -3.535842)', '2026-08-07 14:15:40', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832446 -3.535769)'), GeomFromEWKT('SRID=4674;POINT (-38.832439 -3.535842)'))) / (select extract(epoch from '2026-08-07 14:15:40'::timestamp) - extract(epoch from '2026-08-07 14:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832446 -3.535769)'), GeomFromEWKT('SRID=4674;POINT (-38.832439 -3.535842)'))) / (select extract(epoch from '2026-08-07 14:15:40'::timestamp) - extract(epoch from '2026-08-07 14:15: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'), 48147, 'SRID=4674;POINT (-38.832441 -3.535917)', '2026-08-07 14:15:47', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832439 -3.535842)'), GeomFromEWKT('SRID=4674;POINT (-38.832441 -3.535917)'))) / (select extract(epoch from '2026-08-07 14:15:47'::timestamp) - extract(epoch from '2026-08-07 14:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832439 -3.535842)'), GeomFromEWKT('SRID=4674;POINT (-38.832441 -3.535917)'))) / (select extract(epoch from '2026-08-07 14:15:47'::timestamp) - extract(epoch from '2026-08-07 14:15:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.832409 -3.536023)', '2026-08-07 14:15:56', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832441 -3.535917)'), GeomFromEWKT('SRID=4674;POINT (-38.832409 -3.536023)'))) / (select extract(epoch from '2026-08-07 14:15:56'::timestamp) - extract(epoch from '2026-08-07 14:15:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832441 -3.535917)'), GeomFromEWKT('SRID=4674;POINT (-38.832409 -3.536023)'))) / (select extract(epoch from '2026-08-07 14:15:56'::timestamp) - extract(epoch from '2026-08-07 14:15: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'), 48147, 'SRID=4674;POINT (-38.832391 -3.53607)', '2026-08-07 14:16:00', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832409 -3.536023)'), GeomFromEWKT('SRID=4674;POINT (-38.832391 -3.53607)'))) / (select extract(epoch from '2026-08-07 14:16:00'::timestamp) - extract(epoch from '2026-08-07 14:15:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832409 -3.536023)'), GeomFromEWKT('SRID=4674;POINT (-38.832391 -3.53607)'))) / (select extract(epoch from '2026-08-07 14:16:00'::timestamp) - extract(epoch from '2026-08-07 14:15: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'), 48147, 'SRID=4674;POINT (-38.832387 -3.536105)', '2026-08-07 14:16:03', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832391 -3.53607)'), GeomFromEWKT('SRID=4674;POINT (-38.832387 -3.536105)'))) / (select extract(epoch from '2026-08-07 14:16:03'::timestamp) - extract(epoch from '2026-08-07 14:16:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832391 -3.53607)'), GeomFromEWKT('SRID=4674;POINT (-38.832387 -3.536105)'))) / (select extract(epoch from '2026-08-07 14:16:03'::timestamp) - extract(epoch from '2026-08-07 14:16:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.832387 -3.536128)', '2026-08-07 14:16:05', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832387 -3.536105)'), GeomFromEWKT('SRID=4674;POINT (-38.832387 -3.536128)'))) / (select extract(epoch from '2026-08-07 14:16:05'::timestamp) - extract(epoch from '2026-08-07 14:16:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832387 -3.536105)'), GeomFromEWKT('SRID=4674;POINT (-38.832387 -3.536128)'))) / (select extract(epoch from '2026-08-07 14:16:05'::timestamp) - extract(epoch from '2026-08-07 14:16: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'), 48147, 'SRID=4674;POINT (-38.832381 -3.536148)', '2026-08-07 14:16:07', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832387 -3.536128)'), GeomFromEWKT('SRID=4674;POINT (-38.832381 -3.536148)'))) / (select extract(epoch from '2026-08-07 14:16:07'::timestamp) - extract(epoch from '2026-08-07 14:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832387 -3.536128)'), GeomFromEWKT('SRID=4674;POINT (-38.832381 -3.536148)'))) / (select extract(epoch from '2026-08-07 14:16:07'::timestamp) - extract(epoch from '2026-08-07 14:16:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.832382 -3.53616)', '2026-08-07 14:16:08', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832381 -3.536148)'), GeomFromEWKT('SRID=4674;POINT (-38.832382 -3.53616)'))) / (select extract(epoch from '2026-08-07 14:16:08'::timestamp) - extract(epoch from '2026-08-07 14:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832381 -3.536148)'), GeomFromEWKT('SRID=4674;POINT (-38.832382 -3.53616)'))) / (select extract(epoch from '2026-08-07 14:16:08'::timestamp) - extract(epoch from '2026-08-07 14:16: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'), 48147, 'SRID=4674;POINT (-38.832353 -3.536238)', '2026-08-07 14:16:15', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832382 -3.53616)'), GeomFromEWKT('SRID=4674;POINT (-38.832353 -3.536238)'))) / (select extract(epoch from '2026-08-07 14:16:15'::timestamp) - extract(epoch from '2026-08-07 14:16:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832382 -3.53616)'), GeomFromEWKT('SRID=4674;POINT (-38.832353 -3.536238)'))) / (select extract(epoch from '2026-08-07 14:16:15'::timestamp) - extract(epoch from '2026-08-07 14:16:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.832322 -3.536314)', '2026-08-07 14:16:22', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832353 -3.536238)'), GeomFromEWKT('SRID=4674;POINT (-38.832322 -3.536314)'))) / (select extract(epoch from '2026-08-07 14:16:22'::timestamp) - extract(epoch from '2026-08-07 14:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832353 -3.536238)'), GeomFromEWKT('SRID=4674;POINT (-38.832322 -3.536314)'))) / (select extract(epoch from '2026-08-07 14:16:22'::timestamp) - extract(epoch from '2026-08-07 14:16: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'), 48147, 'SRID=4674;POINT (-38.832325 -3.536382)', '2026-08-07 14:16:28', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832322 -3.536314)'), GeomFromEWKT('SRID=4674;POINT (-38.832325 -3.536382)'))) / (select extract(epoch from '2026-08-07 14:16:28'::timestamp) - extract(epoch from '2026-08-07 14:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832322 -3.536314)'), GeomFromEWKT('SRID=4674;POINT (-38.832325 -3.536382)'))) / (select extract(epoch from '2026-08-07 14:16:28'::timestamp) - extract(epoch from '2026-08-07 14:16:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.832325 -3.536461)', '2026-08-07 14:16:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832325 -3.536382)'), GeomFromEWKT('SRID=4674;POINT (-38.832325 -3.536461)'))) / (select extract(epoch from '2026-08-07 14:16:34'::timestamp) - extract(epoch from '2026-08-07 14:16:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832325 -3.536382)'), GeomFromEWKT('SRID=4674;POINT (-38.832325 -3.536461)'))) / (select extract(epoch from '2026-08-07 14:16:34'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.832326 -3.536474)', '2026-08-07 14:16:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832325 -3.536461)'), GeomFromEWKT('SRID=4674;POINT (-38.832326 -3.536474)'))) / (select extract(epoch from '2026-08-07 14:16:35'::timestamp) - extract(epoch from '2026-08-07 14:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832325 -3.536461)'), GeomFromEWKT('SRID=4674;POINT (-38.832326 -3.536474)'))) / (select extract(epoch from '2026-08-07 14:16:35'::timestamp) - extract(epoch from '2026-08-07 14:16: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'), 48147, 'SRID=4674;POINT (-38.832324 -3.536498)', '2026-08-07 14:16:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832326 -3.536474)'), GeomFromEWKT('SRID=4674;POINT (-38.832324 -3.536498)'))) / (select extract(epoch from '2026-08-07 14:16:37'::timestamp) - extract(epoch from '2026-08-07 14:16:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832326 -3.536474)'), GeomFromEWKT('SRID=4674;POINT (-38.832324 -3.536498)'))) / (select extract(epoch from '2026-08-07 14:16:37'::timestamp) - extract(epoch from '2026-08-07 14:16: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'), 48147, 'SRID=4674;POINT (-38.832316 -3.536535)', '2026-08-07 14:16:40', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832324 -3.536498)'), GeomFromEWKT('SRID=4674;POINT (-38.832316 -3.536535)'))) / (select extract(epoch from '2026-08-07 14:16:40'::timestamp) - extract(epoch from '2026-08-07 14:16:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832324 -3.536498)'), GeomFromEWKT('SRID=4674;POINT (-38.832316 -3.536535)'))) / (select extract(epoch from '2026-08-07 14:16:40'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.832313 -3.536555)', '2026-08-07 14:16:42', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832316 -3.536535)'), GeomFromEWKT('SRID=4674;POINT (-38.832313 -3.536555)'))) / (select extract(epoch from '2026-08-07 14:16:42'::timestamp) - extract(epoch from '2026-08-07 14:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832316 -3.536535)'), GeomFromEWKT('SRID=4674;POINT (-38.832313 -3.536555)'))) / (select extract(epoch from '2026-08-07 14:16:42'::timestamp) - extract(epoch from '2026-08-07 14:16:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.832306 -3.536622)', '2026-08-07 14:16:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832313 -3.536555)'), GeomFromEWKT('SRID=4674;POINT (-38.832306 -3.536622)'))) / (select extract(epoch from '2026-08-07 14:16:49'::timestamp) - extract(epoch from '2026-08-07 14:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832313 -3.536555)'), GeomFromEWKT('SRID=4674;POINT (-38.832306 -3.536622)'))) / (select extract(epoch from '2026-08-07 14:16:49'::timestamp) - extract(epoch from '2026-08-07 14:16: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'), 48147, 'SRID=4674;POINT (-38.832301 -3.536693)', '2026-08-07 14:16:56', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832306 -3.536622)'), GeomFromEWKT('SRID=4674;POINT (-38.832301 -3.536693)'))) / (select extract(epoch from '2026-08-07 14:16:56'::timestamp) - extract(epoch from '2026-08-07 14:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832306 -3.536622)'), GeomFromEWKT('SRID=4674;POINT (-38.832301 -3.536693)'))) / (select extract(epoch from '2026-08-07 14:16:56'::timestamp) - extract(epoch from '2026-08-07 14:16: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'), 48147, 'SRID=4674;POINT (-38.832288 -3.53675)', '2026-08-07 14:17:02', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832301 -3.536693)'), GeomFromEWKT('SRID=4674;POINT (-38.832288 -3.53675)'))) / (select extract(epoch from '2026-08-07 14:17:02'::timestamp) - extract(epoch from '2026-08-07 14:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832301 -3.536693)'), GeomFromEWKT('SRID=4674;POINT (-38.832288 -3.53675)'))) / (select extract(epoch from '2026-08-07 14:17:02'::timestamp) - extract(epoch from '2026-08-07 14:16:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.832261 -3.536837)', '2026-08-07 14:17:10', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832288 -3.53675)'), GeomFromEWKT('SRID=4674;POINT (-38.832261 -3.536837)'))) / (select extract(epoch from '2026-08-07 14:17:10'::timestamp) - extract(epoch from '2026-08-07 14:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832288 -3.53675)'), GeomFromEWKT('SRID=4674;POINT (-38.832261 -3.536837)'))) / (select extract(epoch from '2026-08-07 14:17:10'::timestamp) - extract(epoch from '2026-08-07 14:17: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'), 48147, 'SRID=4674;POINT (-38.832243 -3.536916)', '2026-08-07 14:17:17', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832261 -3.536837)'), GeomFromEWKT('SRID=4674;POINT (-38.832243 -3.536916)'))) / (select extract(epoch from '2026-08-07 14:17:17'::timestamp) - extract(epoch from '2026-08-07 14:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832261 -3.536837)'), GeomFromEWKT('SRID=4674;POINT (-38.832243 -3.536916)'))) / (select extract(epoch from '2026-08-07 14:17:17'::timestamp) - extract(epoch from '2026-08-07 14:17:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.832228 -3.536948)', '2026-08-07 14:17:20', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832243 -3.536916)'), GeomFromEWKT('SRID=4674;POINT (-38.832228 -3.536948)'))) / (select extract(epoch from '2026-08-07 14:17:20'::timestamp) - extract(epoch from '2026-08-07 14:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832243 -3.536916)'), GeomFromEWKT('SRID=4674;POINT (-38.832228 -3.536948)'))) / (select extract(epoch from '2026-08-07 14:17:20'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.832214 -3.536973)', '2026-08-07 14:17:22', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832228 -3.536948)'), GeomFromEWKT('SRID=4674;POINT (-38.832214 -3.536973)'))) / (select extract(epoch from '2026-08-07 14:17:22'::timestamp) - extract(epoch from '2026-08-07 14:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832228 -3.536948)'), GeomFromEWKT('SRID=4674;POINT (-38.832214 -3.536973)'))) / (select extract(epoch from '2026-08-07 14:17:22'::timestamp) - extract(epoch from '2026-08-07 14:17: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'), 48147, 'SRID=4674;POINT (-38.832216 -3.536987)', '2026-08-07 14:17:23', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832214 -3.536973)'), GeomFromEWKT('SRID=4674;POINT (-38.832216 -3.536987)'))) / (select extract(epoch from '2026-08-07 14:17:23'::timestamp) - extract(epoch from '2026-08-07 14:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832214 -3.536973)'), GeomFromEWKT('SRID=4674;POINT (-38.832216 -3.536987)'))) / (select extract(epoch from '2026-08-07 14:17:23'::timestamp) - extract(epoch from '2026-08-07 14:17:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.832222 -3.537052)', '2026-08-07 14:17:30', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832216 -3.536987)'), GeomFromEWKT('SRID=4674;POINT (-38.832222 -3.537052)'))) / (select extract(epoch from '2026-08-07 14:17:30'::timestamp) - extract(epoch from '2026-08-07 14:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832216 -3.536987)'), GeomFromEWKT('SRID=4674;POINT (-38.832222 -3.537052)'))) / (select extract(epoch from '2026-08-07 14:17:30'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.832218 -3.53712)', '2026-08-07 14:17:37', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832222 -3.537052)'), GeomFromEWKT('SRID=4674;POINT (-38.832218 -3.53712)'))) / (select extract(epoch from '2026-08-07 14:17:37'::timestamp) - extract(epoch from '2026-08-07 14:17:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832222 -3.537052)'), GeomFromEWKT('SRID=4674;POINT (-38.832218 -3.53712)'))) / (select extract(epoch from '2026-08-07 14:17:37'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.83222 -3.537224)', '2026-08-07 14:17:48', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832218 -3.53712)'), GeomFromEWKT('SRID=4674;POINT (-38.83222 -3.537224)'))) / (select extract(epoch from '2026-08-07 14:17:48'::timestamp) - extract(epoch from '2026-08-07 14:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832218 -3.53712)'), GeomFromEWKT('SRID=4674;POINT (-38.83222 -3.537224)'))) / (select extract(epoch from '2026-08-07 14:17:48'::timestamp) - extract(epoch from '2026-08-07 14:17:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.832194 -3.53737)', '2026-08-07 14:18:03', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83222 -3.537224)'), GeomFromEWKT('SRID=4674;POINT (-38.832194 -3.53737)'))) / (select extract(epoch from '2026-08-07 14:18:03'::timestamp) - extract(epoch from '2026-08-07 14:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83222 -3.537224)'), GeomFromEWKT('SRID=4674;POINT (-38.832194 -3.53737)'))) / (select extract(epoch from '2026-08-07 14:18:03'::timestamp) - extract(epoch from '2026-08-07 14:17:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.832185 -3.537499)', '2026-08-07 14:18:15', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832194 -3.53737)'), GeomFromEWKT('SRID=4674;POINT (-38.832185 -3.537499)'))) / (select extract(epoch from '2026-08-07 14:18:15'::timestamp) - extract(epoch from '2026-08-07 14:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832194 -3.53737)'), GeomFromEWKT('SRID=4674;POINT (-38.832185 -3.537499)'))) / (select extract(epoch from '2026-08-07 14:18:15'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.832162 -3.537633)', '2026-08-07 14:18:29', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832185 -3.537499)'), GeomFromEWKT('SRID=4674;POINT (-38.832162 -3.537633)'))) / (select extract(epoch from '2026-08-07 14:18:29'::timestamp) - extract(epoch from '2026-08-07 14:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832185 -3.537499)'), GeomFromEWKT('SRID=4674;POINT (-38.832162 -3.537633)'))) / (select extract(epoch from '2026-08-07 14:18:29'::timestamp) - extract(epoch from '2026-08-07 14:18:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.83217 -3.537767)', '2026-08-07 14:18:42', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832162 -3.537633)'), GeomFromEWKT('SRID=4674;POINT (-38.83217 -3.537767)'))) / (select extract(epoch from '2026-08-07 14:18:42'::timestamp) - extract(epoch from '2026-08-07 14:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832162 -3.537633)'), GeomFromEWKT('SRID=4674;POINT (-38.83217 -3.537767)'))) / (select extract(epoch from '2026-08-07 14:18:42'::timestamp) - extract(epoch from '2026-08-07 14:18: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'), 48147, 'SRID=4674;POINT (-38.832153 -3.53789)', '2026-08-07 14:18:53', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83217 -3.537767)'), GeomFromEWKT('SRID=4674;POINT (-38.832153 -3.53789)'))) / (select extract(epoch from '2026-08-07 14:18:53'::timestamp) - extract(epoch from '2026-08-07 14:18:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83217 -3.537767)'), GeomFromEWKT('SRID=4674;POINT (-38.832153 -3.53789)'))) / (select extract(epoch from '2026-08-07 14:18:53'::timestamp) - extract(epoch from '2026-08-07 14:18: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'), 48147, 'SRID=4674;POINT (-38.832135 -3.537946)', '2026-08-07 14:18:59', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832153 -3.53789)'), GeomFromEWKT('SRID=4674;POINT (-38.832135 -3.537946)'))) / (select extract(epoch from '2026-08-07 14:18:59'::timestamp) - extract(epoch from '2026-08-07 14:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832153 -3.53789)'), GeomFromEWKT('SRID=4674;POINT (-38.832135 -3.537946)'))) / (select extract(epoch from '2026-08-07 14:18:59'::timestamp) - extract(epoch from '2026-08-07 14:18:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.832101 -3.538012)', '2026-08-07 14:19:04', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832135 -3.537946)'), GeomFromEWKT('SRID=4674;POINT (-38.832101 -3.538012)'))) / (select extract(epoch from '2026-08-07 14:19:04'::timestamp) - extract(epoch from '2026-08-07 14:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832135 -3.537946)'), GeomFromEWKT('SRID=4674;POINT (-38.832101 -3.538012)'))) / (select extract(epoch from '2026-08-07 14:19:04'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.832095 -3.538022)', '2026-08-07 14:19:05', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832101 -3.538012)'), GeomFromEWKT('SRID=4674;POINT (-38.832095 -3.538022)'))) / (select extract(epoch from '2026-08-07 14:19:05'::timestamp) - extract(epoch from '2026-08-07 14:19:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832101 -3.538012)'), GeomFromEWKT('SRID=4674;POINT (-38.832095 -3.538022)'))) / (select extract(epoch from '2026-08-07 14:19:05'::timestamp) - extract(epoch from '2026-08-07 14:19:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.832094 -3.538031)', '2026-08-07 14:19:06', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832095 -3.538022)'), GeomFromEWKT('SRID=4674;POINT (-38.832094 -3.538031)'))) / (select extract(epoch from '2026-08-07 14:19:06'::timestamp) - extract(epoch from '2026-08-07 14:19:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832095 -3.538022)'), GeomFromEWKT('SRID=4674;POINT (-38.832094 -3.538031)'))) / (select extract(epoch from '2026-08-07 14:19:06'::timestamp) - extract(epoch from '2026-08-07 14:19: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'), 48147, 'SRID=4674;POINT (-38.832094 -3.538089)', '2026-08-07 14:19:11', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832094 -3.538031)'), GeomFromEWKT('SRID=4674;POINT (-38.832094 -3.538089)'))) / (select extract(epoch from '2026-08-07 14:19:11'::timestamp) - extract(epoch from '2026-08-07 14:19:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832094 -3.538031)'), GeomFromEWKT('SRID=4674;POINT (-38.832094 -3.538089)'))) / (select extract(epoch from '2026-08-07 14:19:11'::timestamp) - extract(epoch from '2026-08-07 14:19: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'), 48147, 'SRID=4674;POINT (-38.832093 -3.538188)', '2026-08-07 14:19:20', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832094 -3.538089)'), GeomFromEWKT('SRID=4674;POINT (-38.832093 -3.538188)'))) / (select extract(epoch from '2026-08-07 14:19:20'::timestamp) - extract(epoch from '2026-08-07 14:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832094 -3.538089)'), GeomFromEWKT('SRID=4674;POINT (-38.832093 -3.538188)'))) / (select extract(epoch from '2026-08-07 14:19:20'::timestamp) - extract(epoch from '2026-08-07 14:19: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'), 48147, 'SRID=4674;POINT (-38.832091 -3.538259)', '2026-08-07 14:19:27', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832093 -3.538188)'), GeomFromEWKT('SRID=4674;POINT (-38.832091 -3.538259)'))) / (select extract(epoch from '2026-08-07 14:19:27'::timestamp) - extract(epoch from '2026-08-07 14:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832093 -3.538188)'), GeomFromEWKT('SRID=4674;POINT (-38.832091 -3.538259)'))) / (select extract(epoch from '2026-08-07 14:19:27'::timestamp) - extract(epoch from '2026-08-07 14:19:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.832103 -3.538354)', '2026-08-07 14:19:36', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832091 -3.538259)'), GeomFromEWKT('SRID=4674;POINT (-38.832103 -3.538354)'))) / (select extract(epoch from '2026-08-07 14:19:36'::timestamp) - extract(epoch from '2026-08-07 14:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832091 -3.538259)'), GeomFromEWKT('SRID=4674;POINT (-38.832103 -3.538354)'))) / (select extract(epoch from '2026-08-07 14:19:36'::timestamp) - extract(epoch from '2026-08-07 14:19: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'), 48147, 'SRID=4674;POINT (-38.832078 -3.538447)', '2026-08-07 14:19:44', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832103 -3.538354)'), GeomFromEWKT('SRID=4674;POINT (-38.832078 -3.538447)'))) / (select extract(epoch from '2026-08-07 14:19:44'::timestamp) - extract(epoch from '2026-08-07 14:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832103 -3.538354)'), GeomFromEWKT('SRID=4674;POINT (-38.832078 -3.538447)'))) / (select extract(epoch from '2026-08-07 14:19:44'::timestamp) - extract(epoch from '2026-08-07 14:19:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.832057 -3.538528)', '2026-08-07 14:19:51', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832078 -3.538447)'), GeomFromEWKT('SRID=4674;POINT (-38.832057 -3.538528)'))) / (select extract(epoch from '2026-08-07 14:19:51'::timestamp) - extract(epoch from '2026-08-07 14:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832078 -3.538447)'), GeomFromEWKT('SRID=4674;POINT (-38.832057 -3.538528)'))) / (select extract(epoch from '2026-08-07 14:19:51'::timestamp) - extract(epoch from '2026-08-07 14:19:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.832052 -3.538609)', '2026-08-07 14:19:58', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832057 -3.538528)'), GeomFromEWKT('SRID=4674;POINT (-38.832052 -3.538609)'))) / (select extract(epoch from '2026-08-07 14:19:58'::timestamp) - extract(epoch from '2026-08-07 14:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832057 -3.538528)'), GeomFromEWKT('SRID=4674;POINT (-38.832052 -3.538609)'))) / (select extract(epoch from '2026-08-07 14:19:58'::timestamp) - extract(epoch from '2026-08-07 14:19: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'), 48147, 'SRID=4674;POINT (-38.832026 -3.538676)', '2026-08-07 14:20:04', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832052 -3.538609)'), GeomFromEWKT('SRID=4674;POINT (-38.832026 -3.538676)'))) / (select extract(epoch from '2026-08-07 14:20:04'::timestamp) - extract(epoch from '2026-08-07 14:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832052 -3.538609)'), GeomFromEWKT('SRID=4674;POINT (-38.832026 -3.538676)'))) / (select extract(epoch from '2026-08-07 14:20:04'::timestamp) - extract(epoch from '2026-08-07 14:19:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.83202 -3.538688)', '2026-08-07 14:20:05', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832026 -3.538676)'), GeomFromEWKT('SRID=4674;POINT (-38.83202 -3.538688)'))) / (select extract(epoch from '2026-08-07 14:20:05'::timestamp) - extract(epoch from '2026-08-07 14:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832026 -3.538676)'), GeomFromEWKT('SRID=4674;POINT (-38.83202 -3.538688)'))) / (select extract(epoch from '2026-08-07 14:20:05'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.832001 -3.538776)', '2026-08-07 14:20:12', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83202 -3.538688)'), GeomFromEWKT('SRID=4674;POINT (-38.832001 -3.538776)'))) / (select extract(epoch from '2026-08-07 14:20:12'::timestamp) - extract(epoch from '2026-08-07 14:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83202 -3.538688)'), GeomFromEWKT('SRID=4674;POINT (-38.832001 -3.538776)'))) / (select extract(epoch from '2026-08-07 14:20:12'::timestamp) - extract(epoch from '2026-08-07 14:20: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'), 48147, 'SRID=4674;POINT (-38.831986 -3.538866)', '2026-08-07 14:20:20', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832001 -3.538776)'), GeomFromEWKT('SRID=4674;POINT (-38.831986 -3.538866)'))) / (select extract(epoch from '2026-08-07 14:20:20'::timestamp) - extract(epoch from '2026-08-07 14:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.832001 -3.538776)'), GeomFromEWKT('SRID=4674;POINT (-38.831986 -3.538866)'))) / (select extract(epoch from '2026-08-07 14:20:20'::timestamp) - extract(epoch from '2026-08-07 14:20: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'), 48147, 'SRID=4674;POINT (-38.831978 -3.538946)', '2026-08-07 14:20:28', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831986 -3.538866)'), GeomFromEWKT('SRID=4674;POINT (-38.831978 -3.538946)'))) / (select extract(epoch from '2026-08-07 14:20:28'::timestamp) - extract(epoch from '2026-08-07 14:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831986 -3.538866)'), GeomFromEWKT('SRID=4674;POINT (-38.831978 -3.538946)'))) / (select extract(epoch from '2026-08-07 14:20:28'::timestamp) - extract(epoch from '2026-08-07 14:20: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'), 48147, 'SRID=4674;POINT (-38.831974 -3.539034)', '2026-08-07 14:20:36', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831978 -3.538946)'), GeomFromEWKT('SRID=4674;POINT (-38.831974 -3.539034)'))) / (select extract(epoch from '2026-08-07 14:20:36'::timestamp) - extract(epoch from '2026-08-07 14:20:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831978 -3.538946)'), GeomFromEWKT('SRID=4674;POINT (-38.831974 -3.539034)'))) / (select extract(epoch from '2026-08-07 14:20:36'::timestamp) - extract(epoch from '2026-08-07 14:20: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'), 48147, 'SRID=4674;POINT (-38.831961 -3.53912)', '2026-08-07 14:20:44', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831974 -3.539034)'), GeomFromEWKT('SRID=4674;POINT (-38.831961 -3.53912)'))) / (select extract(epoch from '2026-08-07 14:20:44'::timestamp) - extract(epoch from '2026-08-07 14:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831974 -3.539034)'), GeomFromEWKT('SRID=4674;POINT (-38.831961 -3.53912)'))) / (select extract(epoch from '2026-08-07 14:20:44'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.831949 -3.539197)', '2026-08-07 14:20:51', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831961 -3.53912)'), GeomFromEWKT('SRID=4674;POINT (-38.831949 -3.539197)'))) / (select extract(epoch from '2026-08-07 14:20:51'::timestamp) - extract(epoch from '2026-08-07 14:20:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831961 -3.53912)'), GeomFromEWKT('SRID=4674;POINT (-38.831949 -3.539197)'))) / (select extract(epoch from '2026-08-07 14:20:51'::timestamp) - extract(epoch from '2026-08-07 14:20:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.831937 -3.53925)', '2026-08-07 14:20:56', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831949 -3.539197)'), GeomFromEWKT('SRID=4674;POINT (-38.831937 -3.53925)'))) / (select extract(epoch from '2026-08-07 14:20:56'::timestamp) - extract(epoch from '2026-08-07 14:20:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831949 -3.539197)'), GeomFromEWKT('SRID=4674;POINT (-38.831937 -3.53925)'))) / (select extract(epoch from '2026-08-07 14:20:56'::timestamp) - extract(epoch from '2026-08-07 14:20: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'), 48147, 'SRID=4674;POINT (-38.831935 -3.539272)', '2026-08-07 14:20:58', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831937 -3.53925)'), GeomFromEWKT('SRID=4674;POINT (-38.831935 -3.539272)'))) / (select extract(epoch from '2026-08-07 14:20:58'::timestamp) - extract(epoch from '2026-08-07 14:20:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831937 -3.53925)'), GeomFromEWKT('SRID=4674;POINT (-38.831935 -3.539272)'))) / (select extract(epoch from '2026-08-07 14:20:58'::timestamp) - extract(epoch from '2026-08-07 14:20:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.831929 -3.539335)', '2026-08-07 14:21:04', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831935 -3.539272)'), GeomFromEWKT('SRID=4674;POINT (-38.831929 -3.539335)'))) / (select extract(epoch from '2026-08-07 14:21:04'::timestamp) - extract(epoch from '2026-08-07 14:20:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831935 -3.539272)'), GeomFromEWKT('SRID=4674;POINT (-38.831929 -3.539335)'))) / (select extract(epoch from '2026-08-07 14:21:04'::timestamp) - extract(epoch from '2026-08-07 14:20: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'), 48147, 'SRID=4674;POINT (-38.831908 -3.539427)', '2026-08-07 14:21:12', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831929 -3.539335)'), GeomFromEWKT('SRID=4674;POINT (-38.831908 -3.539427)'))) / (select extract(epoch from '2026-08-07 14:21:12'::timestamp) - extract(epoch from '2026-08-07 14:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831929 -3.539335)'), GeomFromEWKT('SRID=4674;POINT (-38.831908 -3.539427)'))) / (select extract(epoch from '2026-08-07 14:21:12'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.831888 -3.539507)', '2026-08-07 14:21:19', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831908 -3.539427)'), GeomFromEWKT('SRID=4674;POINT (-38.831888 -3.539507)'))) / (select extract(epoch from '2026-08-07 14:21:19'::timestamp) - extract(epoch from '2026-08-07 14:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831908 -3.539427)'), GeomFromEWKT('SRID=4674;POINT (-38.831888 -3.539507)'))) / (select extract(epoch from '2026-08-07 14:21:19'::timestamp) - extract(epoch from '2026-08-07 14:21:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.831866 -3.539583)', '2026-08-07 14:21:27', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831888 -3.539507)'), GeomFromEWKT('SRID=4674;POINT (-38.831866 -3.539583)'))) / (select extract(epoch from '2026-08-07 14:21:27'::timestamp) - extract(epoch from '2026-08-07 14:21:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831888 -3.539507)'), GeomFromEWKT('SRID=4674;POINT (-38.831866 -3.539583)'))) / (select extract(epoch from '2026-08-07 14:21:27'::timestamp) - extract(epoch from '2026-08-07 14:21: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'), 48147, 'SRID=4674;POINT (-38.831854 -3.539656)', '2026-08-07 14:21:35', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831866 -3.539583)'), GeomFromEWKT('SRID=4674;POINT (-38.831854 -3.539656)'))) / (select extract(epoch from '2026-08-07 14:21:35'::timestamp) - extract(epoch from '2026-08-07 14:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831866 -3.539583)'), GeomFromEWKT('SRID=4674;POINT (-38.831854 -3.539656)'))) / (select extract(epoch from '2026-08-07 14:21:35'::timestamp) - extract(epoch from '2026-08-07 14:21: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'), 48147, 'SRID=4674;POINT (-38.831849 -3.539714)', '2026-08-07 14:21:42', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831854 -3.539656)'), GeomFromEWKT('SRID=4674;POINT (-38.831849 -3.539714)'))) / (select extract(epoch from '2026-08-07 14:21:42'::timestamp) - extract(epoch from '2026-08-07 14:21:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831854 -3.539656)'), GeomFromEWKT('SRID=4674;POINT (-38.831849 -3.539714)'))) / (select extract(epoch from '2026-08-07 14:21:42'::timestamp) - extract(epoch from '2026-08-07 14:21:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.831846 -3.53975)', '2026-08-07 14:21:46', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831849 -3.539714)'), GeomFromEWKT('SRID=4674;POINT (-38.831846 -3.53975)'))) / (select extract(epoch from '2026-08-07 14:21:46'::timestamp) - extract(epoch from '2026-08-07 14:21:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831849 -3.539714)'), GeomFromEWKT('SRID=4674;POINT (-38.831846 -3.53975)'))) / (select extract(epoch from '2026-08-07 14:21:46'::timestamp) - extract(epoch from '2026-08-07 14:21: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'), 48147, 'SRID=4674;POINT (-38.831832 -3.539795)', '2026-08-07 14:21:50', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831846 -3.53975)'), GeomFromEWKT('SRID=4674;POINT (-38.831832 -3.539795)'))) / (select extract(epoch from '2026-08-07 14:21:50'::timestamp) - extract(epoch from '2026-08-07 14:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831846 -3.53975)'), GeomFromEWKT('SRID=4674;POINT (-38.831832 -3.539795)'))) / (select extract(epoch from '2026-08-07 14:21:50'::timestamp) - extract(epoch from '2026-08-07 14:21:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.831814 -3.539838)', '2026-08-07 14:21:54', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831832 -3.539795)'), GeomFromEWKT('SRID=4674;POINT (-38.831814 -3.539838)'))) / (select extract(epoch from '2026-08-07 14:21:54'::timestamp) - extract(epoch from '2026-08-07 14:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831832 -3.539795)'), GeomFromEWKT('SRID=4674;POINT (-38.831814 -3.539838)'))) / (select extract(epoch from '2026-08-07 14:21:54'::timestamp) - extract(epoch from '2026-08-07 14:21:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.831806 -3.539863)', '2026-08-07 14:21:56', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831814 -3.539838)'), GeomFromEWKT('SRID=4674;POINT (-38.831806 -3.539863)'))) / (select extract(epoch from '2026-08-07 14:21:56'::timestamp) - extract(epoch from '2026-08-07 14:21:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831814 -3.539838)'), GeomFromEWKT('SRID=4674;POINT (-38.831806 -3.539863)'))) / (select extract(epoch from '2026-08-07 14:21:56'::timestamp) - extract(epoch from '2026-08-07 14:21: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'), 48147, 'SRID=4674;POINT (-38.831776 -3.539961)', '2026-08-07 14:22:05', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831806 -3.539863)'), GeomFromEWKT('SRID=4674;POINT (-38.831776 -3.539961)'))) / (select extract(epoch from '2026-08-07 14:22:05'::timestamp) - extract(epoch from '2026-08-07 14:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831806 -3.539863)'), GeomFromEWKT('SRID=4674;POINT (-38.831776 -3.539961)'))) / (select extract(epoch from '2026-08-07 14:22:05'::timestamp) - extract(epoch from '2026-08-07 14:21:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.831768 -3.540056)', '2026-08-07 14:22:13', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831776 -3.539961)'), GeomFromEWKT('SRID=4674;POINT (-38.831768 -3.540056)'))) / (select extract(epoch from '2026-08-07 14:22:13'::timestamp) - extract(epoch from '2026-08-07 14:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831776 -3.539961)'), GeomFromEWKT('SRID=4674;POINT (-38.831768 -3.540056)'))) / (select extract(epoch from '2026-08-07 14:22:13'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.831764 -3.540124)', '2026-08-07 14:22:19', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831768 -3.540056)'), GeomFromEWKT('SRID=4674;POINT (-38.831764 -3.540124)'))) / (select extract(epoch from '2026-08-07 14:22:19'::timestamp) - extract(epoch from '2026-08-07 14:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831768 -3.540056)'), GeomFromEWKT('SRID=4674;POINT (-38.831764 -3.540124)'))) / (select extract(epoch from '2026-08-07 14:22:19'::timestamp) - extract(epoch from '2026-08-07 14:22: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'), 48147, 'SRID=4674;POINT (-38.831758 -3.540212)', '2026-08-07 14:22:26', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831764 -3.540124)'), GeomFromEWKT('SRID=4674;POINT (-38.831758 -3.540212)'))) / (select extract(epoch from '2026-08-07 14:22:26'::timestamp) - extract(epoch from '2026-08-07 14:22:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831764 -3.540124)'), GeomFromEWKT('SRID=4674;POINT (-38.831758 -3.540212)'))) / (select extract(epoch from '2026-08-07 14:22:26'::timestamp) - extract(epoch from '2026-08-07 14:22:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.831736 -3.540293)', '2026-08-07 14:22:33', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831758 -3.540212)'), GeomFromEWKT('SRID=4674;POINT (-38.831736 -3.540293)'))) / (select extract(epoch from '2026-08-07 14:22:33'::timestamp) - extract(epoch from '2026-08-07 14:22:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831758 -3.540212)'), GeomFromEWKT('SRID=4674;POINT (-38.831736 -3.540293)'))) / (select extract(epoch from '2026-08-07 14:22:33'::timestamp) - extract(epoch from '2026-08-07 14:22: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'), 48147, 'SRID=4674;POINT (-38.831715 -3.540382)', '2026-08-07 14:22:41', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831736 -3.540293)'), GeomFromEWKT('SRID=4674;POINT (-38.831715 -3.540382)'))) / (select extract(epoch from '2026-08-07 14:22:41'::timestamp) - extract(epoch from '2026-08-07 14:22:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831736 -3.540293)'), GeomFromEWKT('SRID=4674;POINT (-38.831715 -3.540382)'))) / (select extract(epoch from '2026-08-07 14:22:41'::timestamp) - extract(epoch from '2026-08-07 14:22: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'), 48147, 'SRID=4674;POINT (-38.831693 -3.540462)', '2026-08-07 14:22:48', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831715 -3.540382)'), GeomFromEWKT('SRID=4674;POINT (-38.831693 -3.540462)'))) / (select extract(epoch from '2026-08-07 14:22:48'::timestamp) - extract(epoch from '2026-08-07 14:22:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831715 -3.540382)'), GeomFromEWKT('SRID=4674;POINT (-38.831693 -3.540462)'))) / (select extract(epoch from '2026-08-07 14:22:48'::timestamp) - extract(epoch from '2026-08-07 14:22:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.831678 -3.540501)', '2026-08-07 14:22:53', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831693 -3.540462)'), GeomFromEWKT('SRID=4674;POINT (-38.831678 -3.540501)'))) / (select extract(epoch from '2026-08-07 14:22:53'::timestamp) - extract(epoch from '2026-08-07 14:22:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831693 -3.540462)'), GeomFromEWKT('SRID=4674;POINT (-38.831678 -3.540501)'))) / (select extract(epoch from '2026-08-07 14:22:53'::timestamp) - extract(epoch from '2026-08-07 14:22:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.831675 -3.540535)', '2026-08-07 14:22:56', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831678 -3.540501)'), GeomFromEWKT('SRID=4674;POINT (-38.831675 -3.540535)'))) / (select extract(epoch from '2026-08-07 14:22:56'::timestamp) - extract(epoch from '2026-08-07 14:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831678 -3.540501)'), GeomFromEWKT('SRID=4674;POINT (-38.831675 -3.540535)'))) / (select extract(epoch from '2026-08-07 14:22:56'::timestamp) - extract(epoch from '2026-08-07 14:22: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'), 48147, 'SRID=4674;POINT (-38.831655 -3.540618)', '2026-08-07 14:23:04', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831675 -3.540535)'), GeomFromEWKT('SRID=4674;POINT (-38.831655 -3.540618)'))) / (select extract(epoch from '2026-08-07 14:23:04'::timestamp) - extract(epoch from '2026-08-07 14:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831675 -3.540535)'), GeomFromEWKT('SRID=4674;POINT (-38.831655 -3.540618)'))) / (select extract(epoch from '2026-08-07 14:23:04'::timestamp) - extract(epoch from '2026-08-07 14:22:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.831639 -3.540715)', '2026-08-07 14:23:12', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831655 -3.540618)'), GeomFromEWKT('SRID=4674;POINT (-38.831639 -3.540715)'))) / (select extract(epoch from '2026-08-07 14:23:12'::timestamp) - extract(epoch from '2026-08-07 14:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831655 -3.540618)'), GeomFromEWKT('SRID=4674;POINT (-38.831639 -3.540715)'))) / (select extract(epoch from '2026-08-07 14:23:12'::timestamp) - extract(epoch from '2026-08-07 14:23: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'), 48147, 'SRID=4674;POINT (-38.83163 -3.540799)', '2026-08-07 14:23:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831639 -3.540715)'), GeomFromEWKT('SRID=4674;POINT (-38.83163 -3.540799)'))) / (select extract(epoch from '2026-08-07 14:23:20'::timestamp) - extract(epoch from '2026-08-07 14:23:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831639 -3.540715)'), GeomFromEWKT('SRID=4674;POINT (-38.83163 -3.540799)'))) / (select extract(epoch from '2026-08-07 14:23:20'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.831623 -3.540887)', '2026-08-07 14:23:28', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83163 -3.540799)'), GeomFromEWKT('SRID=4674;POINT (-38.831623 -3.540887)'))) / (select extract(epoch from '2026-08-07 14:23:28'::timestamp) - extract(epoch from '2026-08-07 14:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83163 -3.540799)'), GeomFromEWKT('SRID=4674;POINT (-38.831623 -3.540887)'))) / (select extract(epoch from '2026-08-07 14:23:28'::timestamp) - extract(epoch from '2026-08-07 14:23:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.831599 -3.540971)', '2026-08-07 14:23:36', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831623 -3.540887)'), GeomFromEWKT('SRID=4674;POINT (-38.831599 -3.540971)'))) / (select extract(epoch from '2026-08-07 14:23:36'::timestamp) - extract(epoch from '2026-08-07 14:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831623 -3.540887)'), GeomFromEWKT('SRID=4674;POINT (-38.831599 -3.540971)'))) / (select extract(epoch from '2026-08-07 14:23:36'::timestamp) - extract(epoch from '2026-08-07 14:23: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'), 48147, 'SRID=4674;POINT (-38.831575 -3.541036)', '2026-08-07 14:23:43', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831599 -3.540971)'), GeomFromEWKT('SRID=4674;POINT (-38.831575 -3.541036)'))) / (select extract(epoch from '2026-08-07 14:23:43'::timestamp) - extract(epoch from '2026-08-07 14:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831599 -3.540971)'), GeomFromEWKT('SRID=4674;POINT (-38.831575 -3.541036)'))) / (select extract(epoch from '2026-08-07 14:23:43'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.831528 -3.541123)', '2026-08-07 14:23:51', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831575 -3.541036)'), GeomFromEWKT('SRID=4674;POINT (-38.831528 -3.541123)'))) / (select extract(epoch from '2026-08-07 14:23:51'::timestamp) - extract(epoch from '2026-08-07 14:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831575 -3.541036)'), GeomFromEWKT('SRID=4674;POINT (-38.831528 -3.541123)'))) / (select extract(epoch from '2026-08-07 14:23:51'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.83149 -3.541231)', '2026-08-07 14:24:00', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831528 -3.541123)'), GeomFromEWKT('SRID=4674;POINT (-38.83149 -3.541231)'))) / (select extract(epoch from '2026-08-07 14:24:00'::timestamp) - extract(epoch from '2026-08-07 14:23:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831528 -3.541123)'), GeomFromEWKT('SRID=4674;POINT (-38.83149 -3.541231)'))) / (select extract(epoch from '2026-08-07 14:24:00'::timestamp) - extract(epoch from '2026-08-07 14:23: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'), 48147, 'SRID=4674;POINT (-38.83145 -3.541305)', '2026-08-07 14:24:07', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83149 -3.541231)'), GeomFromEWKT('SRID=4674;POINT (-38.83145 -3.541305)'))) / (select extract(epoch from '2026-08-07 14:24:07'::timestamp) - extract(epoch from '2026-08-07 14:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83149 -3.541231)'), GeomFromEWKT('SRID=4674;POINT (-38.83145 -3.541305)'))) / (select extract(epoch from '2026-08-07 14:24:07'::timestamp) - extract(epoch from '2026-08-07 14:24:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.831433 -3.541392)', '2026-08-07 14:24:15', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83145 -3.541305)'), GeomFromEWKT('SRID=4674;POINT (-38.831433 -3.541392)'))) / (select extract(epoch from '2026-08-07 14:24:15'::timestamp) - extract(epoch from '2026-08-07 14:24:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83145 -3.541305)'), GeomFromEWKT('SRID=4674;POINT (-38.831433 -3.541392)'))) / (select extract(epoch from '2026-08-07 14:24:15'::timestamp) - extract(epoch from '2026-08-07 14:24: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'), 48147, 'SRID=4674;POINT (-38.831414 -3.541469)', '2026-08-07 14:24:22', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831433 -3.541392)'), GeomFromEWKT('SRID=4674;POINT (-38.831414 -3.541469)'))) / (select extract(epoch from '2026-08-07 14:24:22'::timestamp) - extract(epoch from '2026-08-07 14:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831433 -3.541392)'), GeomFromEWKT('SRID=4674;POINT (-38.831414 -3.541469)'))) / (select extract(epoch from '2026-08-07 14:24:22'::timestamp) - extract(epoch from '2026-08-07 14:24: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'), 48147, 'SRID=4674;POINT (-38.831393 -3.541539)', '2026-08-07 14:24:28', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831414 -3.541469)'), GeomFromEWKT('SRID=4674;POINT (-38.831393 -3.541539)'))) / (select extract(epoch from '2026-08-07 14:24:28'::timestamp) - extract(epoch from '2026-08-07 14:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831414 -3.541469)'), GeomFromEWKT('SRID=4674;POINT (-38.831393 -3.541539)'))) / (select extract(epoch from '2026-08-07 14:24:28'::timestamp) - extract(epoch from '2026-08-07 14:24: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'), 48147, 'SRID=4674;POINT (-38.831385 -3.541609)', '2026-08-07 14:24:35', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831393 -3.541539)'), GeomFromEWKT('SRID=4674;POINT (-38.831385 -3.541609)'))) / (select extract(epoch from '2026-08-07 14:24:35'::timestamp) - extract(epoch from '2026-08-07 14:24:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831393 -3.541539)'), GeomFromEWKT('SRID=4674;POINT (-38.831385 -3.541609)'))) / (select extract(epoch from '2026-08-07 14:24:35'::timestamp) - extract(epoch from '2026-08-07 14:24:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.831353 -3.541723)', '2026-08-07 14:24:45', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831385 -3.541609)'), GeomFromEWKT('SRID=4674;POINT (-38.831353 -3.541723)'))) / (select extract(epoch from '2026-08-07 14:24:45'::timestamp) - extract(epoch from '2026-08-07 14:24:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831385 -3.541609)'), GeomFromEWKT('SRID=4674;POINT (-38.831353 -3.541723)'))) / (select extract(epoch from '2026-08-07 14:24:45'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.831327 -3.541821)', '2026-08-07 14:24:54', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831353 -3.541723)'), GeomFromEWKT('SRID=4674;POINT (-38.831327 -3.541821)'))) / (select extract(epoch from '2026-08-07 14:24:54'::timestamp) - extract(epoch from '2026-08-07 14:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831353 -3.541723)'), GeomFromEWKT('SRID=4674;POINT (-38.831327 -3.541821)'))) / (select extract(epoch from '2026-08-07 14:24:54'::timestamp) - extract(epoch from '2026-08-07 14:24:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.831301 -3.541901)', '2026-08-07 14:25:01', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831327 -3.541821)'), GeomFromEWKT('SRID=4674;POINT (-38.831301 -3.541901)'))) / (select extract(epoch from '2026-08-07 14:25:01'::timestamp) - extract(epoch from '2026-08-07 14:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831327 -3.541821)'), GeomFromEWKT('SRID=4674;POINT (-38.831301 -3.541901)'))) / (select extract(epoch from '2026-08-07 14:25:01'::timestamp) - extract(epoch from '2026-08-07 14:24: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'), 48147, 'SRID=4674;POINT (-38.831292 -3.541932)', '2026-08-07 14:25:04', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831301 -3.541901)'), GeomFromEWKT('SRID=4674;POINT (-38.831292 -3.541932)'))) / (select extract(epoch from '2026-08-07 14:25:04'::timestamp) - extract(epoch from '2026-08-07 14:25:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831301 -3.541901)'), GeomFromEWKT('SRID=4674;POINT (-38.831292 -3.541932)'))) / (select extract(epoch from '2026-08-07 14:25:04'::timestamp) - extract(epoch from '2026-08-07 14:25: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'), 48147, 'SRID=4674;POINT (-38.831282 -3.54196)', '2026-08-07 14:25:07', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831292 -3.541932)'), GeomFromEWKT('SRID=4674;POINT (-38.831282 -3.54196)'))) / (select extract(epoch from '2026-08-07 14:25:07'::timestamp) - extract(epoch from '2026-08-07 14:25:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831292 -3.541932)'), GeomFromEWKT('SRID=4674;POINT (-38.831282 -3.54196)'))) / (select extract(epoch from '2026-08-07 14:25:07'::timestamp) - extract(epoch from '2026-08-07 14:25: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'), 48147, 'SRID=4674;POINT (-38.831269 -3.541977)', '2026-08-07 14:25:09', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831282 -3.54196)'), GeomFromEWKT('SRID=4674;POINT (-38.831269 -3.541977)'))) / (select extract(epoch from '2026-08-07 14:25:09'::timestamp) - extract(epoch from '2026-08-07 14:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831282 -3.54196)'), GeomFromEWKT('SRID=4674;POINT (-38.831269 -3.541977)'))) / (select extract(epoch from '2026-08-07 14:25:09'::timestamp) - extract(epoch from '2026-08-07 14:25: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'), 48147, 'SRID=4674;POINT (-38.831245 -3.542016)', '2026-08-07 14:25:13', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831269 -3.541977)'), GeomFromEWKT('SRID=4674;POINT (-38.831245 -3.542016)'))) / (select extract(epoch from '2026-08-07 14:25:13'::timestamp) - extract(epoch from '2026-08-07 14:25:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831269 -3.541977)'), GeomFromEWKT('SRID=4674;POINT (-38.831245 -3.542016)'))) / (select extract(epoch from '2026-08-07 14:25:13'::timestamp) - extract(epoch from '2026-08-07 14:25:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.831219 -3.542111)', '2026-08-07 14:25:23', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831245 -3.542016)'), GeomFromEWKT('SRID=4674;POINT (-38.831219 -3.542111)'))) / (select extract(epoch from '2026-08-07 14:25:23'::timestamp) - extract(epoch from '2026-08-07 14:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831245 -3.542016)'), GeomFromEWKT('SRID=4674;POINT (-38.831219 -3.542111)'))) / (select extract(epoch from '2026-08-07 14:25:23'::timestamp) - extract(epoch from '2026-08-07 14:25: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'), 48147, 'SRID=4674;POINT (-38.831208 -3.542168)', '2026-08-07 14:25:29', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831219 -3.542111)'), GeomFromEWKT('SRID=4674;POINT (-38.831208 -3.542168)'))) / (select extract(epoch from '2026-08-07 14:25:29'::timestamp) - extract(epoch from '2026-08-07 14:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831219 -3.542111)'), GeomFromEWKT('SRID=4674;POINT (-38.831208 -3.542168)'))) / (select extract(epoch from '2026-08-07 14:25:29'::timestamp) - extract(epoch from '2026-08-07 14:25: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'), 48147, 'SRID=4674;POINT (-38.831205 -3.542242)', '2026-08-07 14:25:37', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831208 -3.542168)'), GeomFromEWKT('SRID=4674;POINT (-38.831205 -3.542242)'))) / (select extract(epoch from '2026-08-07 14:25:37'::timestamp) - extract(epoch from '2026-08-07 14:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831208 -3.542168)'), GeomFromEWKT('SRID=4674;POINT (-38.831205 -3.542242)'))) / (select extract(epoch from '2026-08-07 14:25:37'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.831197 -3.542316)', '2026-08-07 14:25:44', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831205 -3.542242)'), GeomFromEWKT('SRID=4674;POINT (-38.831197 -3.542316)'))) / (select extract(epoch from '2026-08-07 14:25:44'::timestamp) - extract(epoch from '2026-08-07 14:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831205 -3.542242)'), GeomFromEWKT('SRID=4674;POINT (-38.831197 -3.542316)'))) / (select extract(epoch from '2026-08-07 14:25:44'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.831174 -3.542404)', '2026-08-07 14:25:52', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831197 -3.542316)'), GeomFromEWKT('SRID=4674;POINT (-38.831174 -3.542404)'))) / (select extract(epoch from '2026-08-07 14:25:52'::timestamp) - extract(epoch from '2026-08-07 14:25:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831197 -3.542316)'), GeomFromEWKT('SRID=4674;POINT (-38.831174 -3.542404)'))) / (select extract(epoch from '2026-08-07 14:25:52'::timestamp) - extract(epoch from '2026-08-07 14:25:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.831153 -3.542499)', '2026-08-07 14:26:01', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831174 -3.542404)'), GeomFromEWKT('SRID=4674;POINT (-38.831153 -3.542499)'))) / (select extract(epoch from '2026-08-07 14:26:01'::timestamp) - extract(epoch from '2026-08-07 14:25:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831174 -3.542404)'), GeomFromEWKT('SRID=4674;POINT (-38.831153 -3.542499)'))) / (select extract(epoch from '2026-08-07 14:26:01'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.831141 -3.542586)', '2026-08-07 14:26:09', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831153 -3.542499)'), GeomFromEWKT('SRID=4674;POINT (-38.831141 -3.542586)'))) / (select extract(epoch from '2026-08-07 14:26:09'::timestamp) - extract(epoch from '2026-08-07 14:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831153 -3.542499)'), GeomFromEWKT('SRID=4674;POINT (-38.831141 -3.542586)'))) / (select extract(epoch from '2026-08-07 14:26:09'::timestamp) - extract(epoch from '2026-08-07 14:26:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.83112 -3.542681)', '2026-08-07 14:26:17', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831141 -3.542586)'), GeomFromEWKT('SRID=4674;POINT (-38.83112 -3.542681)'))) / (select extract(epoch from '2026-08-07 14:26:17'::timestamp) - extract(epoch from '2026-08-07 14:26:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831141 -3.542586)'), GeomFromEWKT('SRID=4674;POINT (-38.83112 -3.542681)'))) / (select extract(epoch from '2026-08-07 14:26:17'::timestamp) - extract(epoch from '2026-08-07 14:26: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'), 48147, 'SRID=4674;POINT (-38.831115 -3.542784)', '2026-08-07 14:26:26', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83112 -3.542681)'), GeomFromEWKT('SRID=4674;POINT (-38.831115 -3.542784)'))) / (select extract(epoch from '2026-08-07 14:26:26'::timestamp) - extract(epoch from '2026-08-07 14:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83112 -3.542681)'), GeomFromEWKT('SRID=4674;POINT (-38.831115 -3.542784)'))) / (select extract(epoch from '2026-08-07 14:26:26'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.831092 -3.542871)', '2026-08-07 14:26:34', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831115 -3.542784)'), GeomFromEWKT('SRID=4674;POINT (-38.831092 -3.542871)'))) / (select extract(epoch from '2026-08-07 14:26:34'::timestamp) - extract(epoch from '2026-08-07 14:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831115 -3.542784)'), GeomFromEWKT('SRID=4674;POINT (-38.831092 -3.542871)'))) / (select extract(epoch from '2026-08-07 14:26:34'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.831086 -3.542952)', '2026-08-07 14:26:41', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831092 -3.542871)'), GeomFromEWKT('SRID=4674;POINT (-38.831086 -3.542952)'))) / (select extract(epoch from '2026-08-07 14:26:41'::timestamp) - extract(epoch from '2026-08-07 14:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831092 -3.542871)'), GeomFromEWKT('SRID=4674;POINT (-38.831086 -3.542952)'))) / (select extract(epoch from '2026-08-07 14:26:41'::timestamp) - extract(epoch from '2026-08-07 14:26: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'), 48147, 'SRID=4674;POINT (-38.831083 -3.543044)', '2026-08-07 14:26:48', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831086 -3.542952)'), GeomFromEWKT('SRID=4674;POINT (-38.831083 -3.543044)'))) / (select extract(epoch from '2026-08-07 14:26:48'::timestamp) - extract(epoch from '2026-08-07 14:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831086 -3.542952)'), GeomFromEWKT('SRID=4674;POINT (-38.831083 -3.543044)'))) / (select extract(epoch from '2026-08-07 14:26:48'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.831068 -3.543135)', '2026-08-07 14:26:55', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831083 -3.543044)'), GeomFromEWKT('SRID=4674;POINT (-38.831068 -3.543135)'))) / (select extract(epoch from '2026-08-07 14:26:55'::timestamp) - extract(epoch from '2026-08-07 14:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831083 -3.543044)'), GeomFromEWKT('SRID=4674;POINT (-38.831068 -3.543135)'))) / (select extract(epoch from '2026-08-07 14:26:55'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.83106 -3.543235)', '2026-08-07 14:27:03', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831068 -3.543135)'), GeomFromEWKT('SRID=4674;POINT (-38.83106 -3.543235)'))) / (select extract(epoch from '2026-08-07 14:27:03'::timestamp) - extract(epoch from '2026-08-07 14:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831068 -3.543135)'), GeomFromEWKT('SRID=4674;POINT (-38.83106 -3.543235)'))) / (select extract(epoch from '2026-08-07 14:27:03'::timestamp) - extract(epoch from '2026-08-07 14:26: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'), 48147, 'SRID=4674;POINT (-38.83105 -3.543289)', '2026-08-07 14:27:08', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83106 -3.543235)'), GeomFromEWKT('SRID=4674;POINT (-38.83105 -3.543289)'))) / (select extract(epoch from '2026-08-07 14:27:08'::timestamp) - extract(epoch from '2026-08-07 14:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83106 -3.543235)'), GeomFromEWKT('SRID=4674;POINT (-38.83105 -3.543289)'))) / (select extract(epoch from '2026-08-07 14:27:08'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.83105 -3.543321)', '2026-08-07 14:27:11', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83105 -3.543289)'), GeomFromEWKT('SRID=4674;POINT (-38.83105 -3.543321)'))) / (select extract(epoch from '2026-08-07 14:27:11'::timestamp) - extract(epoch from '2026-08-07 14:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83105 -3.543289)'), GeomFromEWKT('SRID=4674;POINT (-38.83105 -3.543321)'))) / (select extract(epoch from '2026-08-07 14:27:11'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.831057 -3.543384)', '2026-08-07 14:27:17', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83105 -3.543321)'), GeomFromEWKT('SRID=4674;POINT (-38.831057 -3.543384)'))) / (select extract(epoch from '2026-08-07 14:27:17'::timestamp) - extract(epoch from '2026-08-07 14:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83105 -3.543321)'), GeomFromEWKT('SRID=4674;POINT (-38.831057 -3.543384)'))) / (select extract(epoch from '2026-08-07 14:27:17'::timestamp) - extract(epoch from '2026-08-07 14:27:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.831069 -3.543475)', '2026-08-07 14:27:26', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831057 -3.543384)'), GeomFromEWKT('SRID=4674;POINT (-38.831069 -3.543475)'))) / (select extract(epoch from '2026-08-07 14:27:26'::timestamp) - extract(epoch from '2026-08-07 14:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831057 -3.543384)'), GeomFromEWKT('SRID=4674;POINT (-38.831069 -3.543475)'))) / (select extract(epoch from '2026-08-07 14:27:26'::timestamp) - extract(epoch from '2026-08-07 14:27: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'), 48147, 'SRID=4674;POINT (-38.83108 -3.54357)', '2026-08-07 14:27:34', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831069 -3.543475)'), GeomFromEWKT('SRID=4674;POINT (-38.83108 -3.54357)'))) / (select extract(epoch from '2026-08-07 14:27:34'::timestamp) - extract(epoch from '2026-08-07 14:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831069 -3.543475)'), GeomFromEWKT('SRID=4674;POINT (-38.83108 -3.54357)'))) / (select extract(epoch from '2026-08-07 14:27:34'::timestamp) - extract(epoch from '2026-08-07 14:27: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'), 48147, 'SRID=4674;POINT (-38.83108 -3.543663)', '2026-08-07 14:27:41', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83108 -3.54357)'), GeomFromEWKT('SRID=4674;POINT (-38.83108 -3.543663)'))) / (select extract(epoch from '2026-08-07 14:27:41'::timestamp) - extract(epoch from '2026-08-07 14:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83108 -3.54357)'), GeomFromEWKT('SRID=4674;POINT (-38.83108 -3.543663)'))) / (select extract(epoch from '2026-08-07 14:27:41'::timestamp) - extract(epoch from '2026-08-07 14:27: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'), 48147, 'SRID=4674;POINT (-38.831067 -3.543754)', '2026-08-07 14:27:48', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83108 -3.543663)'), GeomFromEWKT('SRID=4674;POINT (-38.831067 -3.543754)'))) / (select extract(epoch from '2026-08-07 14:27:48'::timestamp) - extract(epoch from '2026-08-07 14:27:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.83108 -3.543663)'), GeomFromEWKT('SRID=4674;POINT (-38.831067 -3.543754)'))) / (select extract(epoch from '2026-08-07 14:27:48'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.831067 -3.543894)', '2026-08-07 14:27:58', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831067 -3.543754)'), GeomFromEWKT('SRID=4674;POINT (-38.831067 -3.543894)'))) / (select extract(epoch from '2026-08-07 14:27:58'::timestamp) - extract(epoch from '2026-08-07 14:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831067 -3.543754)'), GeomFromEWKT('SRID=4674;POINT (-38.831067 -3.543894)'))) / (select extract(epoch from '2026-08-07 14:27:58'::timestamp) - extract(epoch from '2026-08-07 14:27: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'), 48147, 'SRID=4674;POINT (-38.831068 -3.543982)', '2026-08-07 14:28:06', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831067 -3.543894)'), GeomFromEWKT('SRID=4674;POINT (-38.831068 -3.543982)'))) / (select extract(epoch from '2026-08-07 14:28:06'::timestamp) - extract(epoch from '2026-08-07 14:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831067 -3.543894)'), GeomFromEWKT('SRID=4674;POINT (-38.831068 -3.543982)'))) / (select extract(epoch from '2026-08-07 14:28:06'::timestamp) - extract(epoch from '2026-08-07 14:27:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.831075 -3.544055)', '2026-08-07 14:28:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831068 -3.543982)'), GeomFromEWKT('SRID=4674;POINT (-38.831075 -3.544055)'))) / (select extract(epoch from '2026-08-07 14:28:12'::timestamp) - extract(epoch from '2026-08-07 14:28:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831068 -3.543982)'), GeomFromEWKT('SRID=4674;POINT (-38.831075 -3.544055)'))) / (select extract(epoch from '2026-08-07 14:28:12'::timestamp) - extract(epoch from '2026-08-07 14:28:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.831072 -3.544141)', '2026-08-07 14:28:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831075 -3.544055)'), GeomFromEWKT('SRID=4674;POINT (-38.831072 -3.544141)'))) / (select extract(epoch from '2026-08-07 14:28:20'::timestamp) - extract(epoch from '2026-08-07 14:28:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831075 -3.544055)'), GeomFromEWKT('SRID=4674;POINT (-38.831072 -3.544141)'))) / (select extract(epoch from '2026-08-07 14:28:20'::timestamp) - extract(epoch from '2026-08-07 14:28: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'), 48147, 'SRID=4674;POINT (-38.831064 -3.544231)', '2026-08-07 14:28:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831072 -3.544141)'), GeomFromEWKT('SRID=4674;POINT (-38.831064 -3.544231)'))) / (select extract(epoch from '2026-08-07 14:28:27'::timestamp) - extract(epoch from '2026-08-07 14:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831072 -3.544141)'), GeomFromEWKT('SRID=4674;POINT (-38.831064 -3.544231)'))) / (select extract(epoch from '2026-08-07 14:28:27'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.831078 -3.544316)', '2026-08-07 14:28:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831064 -3.544231)'), GeomFromEWKT('SRID=4674;POINT (-38.831078 -3.544316)'))) / (select extract(epoch from '2026-08-07 14:28:34'::timestamp) - extract(epoch from '2026-08-07 14:28:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831064 -3.544231)'), GeomFromEWKT('SRID=4674;POINT (-38.831078 -3.544316)'))) / (select extract(epoch from '2026-08-07 14:28:34'::timestamp) - extract(epoch from '2026-08-07 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'), 48147, 'SRID=4674;POINT (-38.831132 -3.544422)', '2026-08-07 14:28:43', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831078 -3.544316)'), GeomFromEWKT('SRID=4674;POINT (-38.831132 -3.544422)'))) / (select extract(epoch from '2026-08-07 14:28:43'::timestamp) - extract(epoch from '2026-08-07 14:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831078 -3.544316)'), GeomFromEWKT('SRID=4674;POINT (-38.831132 -3.544422)'))) / (select extract(epoch from '2026-08-07 14:28:43'::timestamp) - extract(epoch from '2026-08-07 14:28:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.831168 -3.54449)', '2026-08-07 14:28:50', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831132 -3.544422)'), GeomFromEWKT('SRID=4674;POINT (-38.831168 -3.54449)'))) / (select extract(epoch from '2026-08-07 14:28:50'::timestamp) - extract(epoch from '2026-08-07 14:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831132 -3.544422)'), GeomFromEWKT('SRID=4674;POINT (-38.831168 -3.54449)'))) / (select extract(epoch from '2026-08-07 14:28:50'::timestamp) - extract(epoch from '2026-08-07 14:28:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48147, 'SRID=4674;POINT (-38.831188 -3.544573)', '2026-08-07 14:28:57', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831168 -3.54449)'), GeomFromEWKT('SRID=4674;POINT (-38.831188 -3.544573)'))) / (select extract(epoch from '2026-08-07 14:28:57'::timestamp) - extract(epoch from '2026-08-07 14:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.831168 -3.54449)'), GeomFromEWKT('SRID=4674;POINT (-38.831188 -3.544573)'))) / (select extract(epoch from '2026-08-07 14:28:57'::timestamp) - extract(epoch from '2026-08-07 14:28:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
