 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.706088 -2.713312)', '2026-07-24 12:18:32', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706163 -2.713317)'), GeomFromEWKT('SRID=4674;POINT (-39.706088 -2.713312)'))) / (select extract(epoch from '2026-07-24 12:18:32'::timestamp) - extract(epoch from '2026-07-24 12:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706163 -2.713317)'), GeomFromEWKT('SRID=4674;POINT (-39.706088 -2.713312)'))) / (select extract(epoch from '2026-07-24 12:18:32'::timestamp) - extract(epoch from '2026-07-24 12:18:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.706012 -2.71331)', '2026-07-24 12:18:39', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706088 -2.713312)'), GeomFromEWKT('SRID=4674;POINT (-39.706012 -2.71331)'))) / (select extract(epoch from '2026-07-24 12:18:39'::timestamp) - extract(epoch from '2026-07-24 12:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706088 -2.713312)'), GeomFromEWKT('SRID=4674;POINT (-39.706012 -2.71331)'))) / (select extract(epoch from '2026-07-24 12:18:39'::timestamp) - extract(epoch from '2026-07-24 12:18:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705954 -2.713305)', '2026-07-24 12:18:45', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706012 -2.71331)'), GeomFromEWKT('SRID=4674;POINT (-39.705954 -2.713305)'))) / (select extract(epoch from '2026-07-24 12:18:45'::timestamp) - extract(epoch from '2026-07-24 12:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706012 -2.71331)'), GeomFromEWKT('SRID=4674;POINT (-39.705954 -2.713305)'))) / (select extract(epoch from '2026-07-24 12:18:45'::timestamp) - extract(epoch from '2026-07-24 12:18:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705897 -2.713295)', '2026-07-24 12:18:50', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705954 -2.713305)'), GeomFromEWKT('SRID=4674;POINT (-39.705897 -2.713295)'))) / (select extract(epoch from '2026-07-24 12:18:50'::timestamp) - extract(epoch from '2026-07-24 12:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705954 -2.713305)'), GeomFromEWKT('SRID=4674;POINT (-39.705897 -2.713295)'))) / (select extract(epoch from '2026-07-24 12:18:50'::timestamp) - extract(epoch from '2026-07-24 12:18:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705842 -2.713295)', '2026-07-24 12:18:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705897 -2.713295)'), GeomFromEWKT('SRID=4674;POINT (-39.705842 -2.713295)'))) / (select extract(epoch from '2026-07-24 12:18:55'::timestamp) - extract(epoch from '2026-07-24 12:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705897 -2.713295)'), GeomFromEWKT('SRID=4674;POINT (-39.705842 -2.713295)'))) / (select extract(epoch from '2026-07-24 12:18:55'::timestamp) - extract(epoch from '2026-07-24 12:18:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705774 -2.713322)', '2026-07-24 12:19:02', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705842 -2.713295)'), GeomFromEWKT('SRID=4674;POINT (-39.705774 -2.713322)'))) / (select extract(epoch from '2026-07-24 12:19:02'::timestamp) - extract(epoch from '2026-07-24 12:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705842 -2.713295)'), GeomFromEWKT('SRID=4674;POINT (-39.705774 -2.713322)'))) / (select extract(epoch from '2026-07-24 12:19:02'::timestamp) - extract(epoch from '2026-07-24 12:18:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705725 -2.713341)', '2026-07-24 12:19:08', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705774 -2.713322)'), GeomFromEWKT('SRID=4674;POINT (-39.705725 -2.713341)'))) / (select extract(epoch from '2026-07-24 12:19:08'::timestamp) - extract(epoch from '2026-07-24 12:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705774 -2.713322)'), GeomFromEWKT('SRID=4674;POINT (-39.705725 -2.713341)'))) / (select extract(epoch from '2026-07-24 12:19:08'::timestamp) - extract(epoch from '2026-07-24 12:19:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705664 -2.713346)', '2026-07-24 12:19:14', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705725 -2.713341)'), GeomFromEWKT('SRID=4674;POINT (-39.705664 -2.713346)'))) / (select extract(epoch from '2026-07-24 12:19:14'::timestamp) - extract(epoch from '2026-07-24 12:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705725 -2.713341)'), GeomFromEWKT('SRID=4674;POINT (-39.705664 -2.713346)'))) / (select extract(epoch from '2026-07-24 12:19:14'::timestamp) - extract(epoch from '2026-07-24 12:19:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705613 -2.713345)', '2026-07-24 12:19:20', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705664 -2.713346)'), GeomFromEWKT('SRID=4674;POINT (-39.705613 -2.713345)'))) / (select extract(epoch from '2026-07-24 12:19:20'::timestamp) - extract(epoch from '2026-07-24 12:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705664 -2.713346)'), GeomFromEWKT('SRID=4674;POINT (-39.705613 -2.713345)'))) / (select extract(epoch from '2026-07-24 12:19:20'::timestamp) - extract(epoch from '2026-07-24 12:19:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705526 -2.713354)', '2026-07-24 12:19:30', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705613 -2.713345)'), GeomFromEWKT('SRID=4674;POINT (-39.705526 -2.713354)'))) / (select extract(epoch from '2026-07-24 12:19:30'::timestamp) - extract(epoch from '2026-07-24 12:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705613 -2.713345)'), GeomFromEWKT('SRID=4674;POINT (-39.705526 -2.713354)'))) / (select extract(epoch from '2026-07-24 12:19:30'::timestamp) - extract(epoch from '2026-07-24 12: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'), 47870, 'SRID=4674;POINT (-39.705441 -2.713353)', '2026-07-24 12:19:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705526 -2.713354)'), GeomFromEWKT('SRID=4674;POINT (-39.705441 -2.713353)'))) / (select extract(epoch from '2026-07-24 12:19:39'::timestamp) - extract(epoch from '2026-07-24 12:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705526 -2.713354)'), GeomFromEWKT('SRID=4674;POINT (-39.705441 -2.713353)'))) / (select extract(epoch from '2026-07-24 12:19:39'::timestamp) - extract(epoch from '2026-07-24 12:19:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705368 -2.713361)', '2026-07-24 12:19:46', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705441 -2.713353)'), GeomFromEWKT('SRID=4674;POINT (-39.705368 -2.713361)'))) / (select extract(epoch from '2026-07-24 12:19:46'::timestamp) - extract(epoch from '2026-07-24 12:19:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705441 -2.713353)'), GeomFromEWKT('SRID=4674;POINT (-39.705368 -2.713361)'))) / (select extract(epoch from '2026-07-24 12:19:46'::timestamp) - extract(epoch from '2026-07-24 12:19:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705352 -2.713356)', '2026-07-24 12:19:48', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705368 -2.713361)'), GeomFromEWKT('SRID=4674;POINT (-39.705352 -2.713356)'))) / (select extract(epoch from '2026-07-24 12:19:48'::timestamp) - extract(epoch from '2026-07-24 12:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705368 -2.713361)'), GeomFromEWKT('SRID=4674;POINT (-39.705352 -2.713356)'))) / (select extract(epoch from '2026-07-24 12:19:48'::timestamp) - extract(epoch from '2026-07-24 12:19:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705334 -2.713358)', '2026-07-24 12:19:50', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705352 -2.713356)'), GeomFromEWKT('SRID=4674;POINT (-39.705334 -2.713358)'))) / (select extract(epoch from '2026-07-24 12:19:50'::timestamp) - extract(epoch from '2026-07-24 12:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705352 -2.713356)'), GeomFromEWKT('SRID=4674;POINT (-39.705334 -2.713358)'))) / (select extract(epoch from '2026-07-24 12:19:50'::timestamp) - extract(epoch from '2026-07-24 12:19:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705268 -2.713368)', '2026-07-24 12:19:57', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705334 -2.713358)'), GeomFromEWKT('SRID=4674;POINT (-39.705268 -2.713368)'))) / (select extract(epoch from '2026-07-24 12:19:57'::timestamp) - extract(epoch from '2026-07-24 12:19:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705334 -2.713358)'), GeomFromEWKT('SRID=4674;POINT (-39.705268 -2.713368)'))) / (select extract(epoch from '2026-07-24 12:19:57'::timestamp) - extract(epoch from '2026-07-24 12:19:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705223 -2.713368)', '2026-07-24 12:20:02', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705268 -2.713368)'), GeomFromEWKT('SRID=4674;POINT (-39.705223 -2.713368)'))) / (select extract(epoch from '2026-07-24 12:20:02'::timestamp) - extract(epoch from '2026-07-24 12:19:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705268 -2.713368)'), GeomFromEWKT('SRID=4674;POINT (-39.705223 -2.713368)'))) / (select extract(epoch from '2026-07-24 12:20:02'::timestamp) - extract(epoch from '2026-07-24 12:19:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705205 -2.71337)', '2026-07-24 12:20:04', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705223 -2.713368)'), GeomFromEWKT('SRID=4674;POINT (-39.705205 -2.71337)'))) / (select extract(epoch from '2026-07-24 12:20:04'::timestamp) - extract(epoch from '2026-07-24 12:20:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705223 -2.713368)'), GeomFromEWKT('SRID=4674;POINT (-39.705205 -2.71337)'))) / (select extract(epoch from '2026-07-24 12:20:04'::timestamp) - extract(epoch from '2026-07-24 12:20:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70514 -2.713375)', '2026-07-24 12:20:11', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705205 -2.71337)'), GeomFromEWKT('SRID=4674;POINT (-39.70514 -2.713375)'))) / (select extract(epoch from '2026-07-24 12:20:11'::timestamp) - extract(epoch from '2026-07-24 12:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705205 -2.71337)'), GeomFromEWKT('SRID=4674;POINT (-39.70514 -2.713375)'))) / (select extract(epoch from '2026-07-24 12:20:11'::timestamp) - extract(epoch from '2026-07-24 12:20:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705099 -2.713375)', '2026-07-24 12:20:15', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70514 -2.713375)'), GeomFromEWKT('SRID=4674;POINT (-39.705099 -2.713375)'))) / (select extract(epoch from '2026-07-24 12:20:15'::timestamp) - extract(epoch from '2026-07-24 12:20:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70514 -2.713375)'), GeomFromEWKT('SRID=4674;POINT (-39.705099 -2.713375)'))) / (select extract(epoch from '2026-07-24 12:20:15'::timestamp) - extract(epoch from '2026-07-24 12:20:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70508 -2.713377)', '2026-07-24 12:20:17', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705099 -2.713375)'), GeomFromEWKT('SRID=4674;POINT (-39.70508 -2.713377)'))) / (select extract(epoch from '2026-07-24 12:20:17'::timestamp) - extract(epoch from '2026-07-24 12:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705099 -2.713375)'), GeomFromEWKT('SRID=4674;POINT (-39.70508 -2.713377)'))) / (select extract(epoch from '2026-07-24 12:20:17'::timestamp) - extract(epoch from '2026-07-24 12:20:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70503 -2.713374)', '2026-07-24 12:20:24', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70508 -2.713377)'), GeomFromEWKT('SRID=4674;POINT (-39.70503 -2.713374)'))) / (select extract(epoch from '2026-07-24 12:20:24'::timestamp) - extract(epoch from '2026-07-24 12:20:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70508 -2.713377)'), GeomFromEWKT('SRID=4674;POINT (-39.70503 -2.713374)'))) / (select extract(epoch from '2026-07-24 12:20:24'::timestamp) - extract(epoch from '2026-07-24 12:20:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704988 -2.713363)', '2026-07-24 12:20:30', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70503 -2.713374)'), GeomFromEWKT('SRID=4674;POINT (-39.704988 -2.713363)'))) / (select extract(epoch from '2026-07-24 12:20:30'::timestamp) - extract(epoch from '2026-07-24 12:20:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70503 -2.713374)'), GeomFromEWKT('SRID=4674;POINT (-39.704988 -2.713363)'))) / (select extract(epoch from '2026-07-24 12:20:30'::timestamp) - extract(epoch from '2026-07-24 12:20:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704946 -2.713348)', '2026-07-24 12:20:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704988 -2.713363)'), GeomFromEWKT('SRID=4674;POINT (-39.704946 -2.713348)'))) / (select extract(epoch from '2026-07-24 12:20:35'::timestamp) - extract(epoch from '2026-07-24 12:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704988 -2.713363)'), GeomFromEWKT('SRID=4674;POINT (-39.704946 -2.713348)'))) / (select extract(epoch from '2026-07-24 12:20:35'::timestamp) - extract(epoch from '2026-07-24 12:20:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704856 -2.713322)', '2026-07-24 12:20:46', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704946 -2.713348)'), GeomFromEWKT('SRID=4674;POINT (-39.704856 -2.713322)'))) / (select extract(epoch from '2026-07-24 12:20:46'::timestamp) - extract(epoch from '2026-07-24 12:20:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704946 -2.713348)'), GeomFromEWKT('SRID=4674;POINT (-39.704856 -2.713322)'))) / (select extract(epoch from '2026-07-24 12:20:46'::timestamp) - extract(epoch from '2026-07-24 12:20:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704784 -2.71331)', '2026-07-24 12:20:56', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704856 -2.713322)'), GeomFromEWKT('SRID=4674;POINT (-39.704784 -2.71331)'))) / (select extract(epoch from '2026-07-24 12:20:56'::timestamp) - extract(epoch from '2026-07-24 12:20:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704856 -2.713322)'), GeomFromEWKT('SRID=4674;POINT (-39.704784 -2.71331)'))) / (select extract(epoch from '2026-07-24 12:20:56'::timestamp) - extract(epoch from '2026-07-24 12:20:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704738 -2.713319)', '2026-07-24 12:21:03', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704784 -2.71331)'), GeomFromEWKT('SRID=4674;POINT (-39.704738 -2.713319)'))) / (select extract(epoch from '2026-07-24 12:21:03'::timestamp) - extract(epoch from '2026-07-24 12:20:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704784 -2.71331)'), GeomFromEWKT('SRID=4674;POINT (-39.704738 -2.713319)'))) / (select extract(epoch from '2026-07-24 12:21:03'::timestamp) - extract(epoch from '2026-07-24 12: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'), 47870, 'SRID=4674;POINT (-39.704687 -2.713329)', '2026-07-24 12:21:10', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704738 -2.713319)'), GeomFromEWKT('SRID=4674;POINT (-39.704687 -2.713329)'))) / (select extract(epoch from '2026-07-24 12:21:10'::timestamp) - extract(epoch from '2026-07-24 12:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704738 -2.713319)'), GeomFromEWKT('SRID=4674;POINT (-39.704687 -2.713329)'))) / (select extract(epoch from '2026-07-24 12:21:10'::timestamp) - extract(epoch from '2026-07-24 12:21:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704641 -2.713327)', '2026-07-24 12:21:18', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704687 -2.713329)'), GeomFromEWKT('SRID=4674;POINT (-39.704641 -2.713327)'))) / (select extract(epoch from '2026-07-24 12:21:18'::timestamp) - extract(epoch from '2026-07-24 12:21:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704687 -2.713329)'), GeomFromEWKT('SRID=4674;POINT (-39.704641 -2.713327)'))) / (select extract(epoch from '2026-07-24 12:21:18'::timestamp) - extract(epoch from '2026-07-24 12:21:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704594 -2.713321)', '2026-07-24 12:21:25', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704641 -2.713327)'), GeomFromEWKT('SRID=4674;POINT (-39.704594 -2.713321)'))) / (select extract(epoch from '2026-07-24 12:21:25'::timestamp) - extract(epoch from '2026-07-24 12:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704641 -2.713327)'), GeomFromEWKT('SRID=4674;POINT (-39.704594 -2.713321)'))) / (select extract(epoch from '2026-07-24 12:21:25'::timestamp) - extract(epoch from '2026-07-24 12:21:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704583 -2.713323)', '2026-07-24 12:21:26', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704594 -2.713321)'), GeomFromEWKT('SRID=4674;POINT (-39.704583 -2.713323)'))) / (select extract(epoch from '2026-07-24 12:21:26'::timestamp) - extract(epoch from '2026-07-24 12:21:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704594 -2.713321)'), GeomFromEWKT('SRID=4674;POINT (-39.704583 -2.713323)'))) / (select extract(epoch from '2026-07-24 12:21:26'::timestamp) - extract(epoch from '2026-07-24 12:21:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704544 -2.713326)', '2026-07-24 12:21:31', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704583 -2.713323)'), GeomFromEWKT('SRID=4674;POINT (-39.704544 -2.713326)'))) / (select extract(epoch from '2026-07-24 12:21:31'::timestamp) - extract(epoch from '2026-07-24 12:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704583 -2.713323)'), GeomFromEWKT('SRID=4674;POINT (-39.704544 -2.713326)'))) / (select extract(epoch from '2026-07-24 12:21:31'::timestamp) - extract(epoch from '2026-07-24 12:21:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704519 -2.713327)', '2026-07-24 12:21:36', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704544 -2.713326)'), GeomFromEWKT('SRID=4674;POINT (-39.704519 -2.713327)'))) / (select extract(epoch from '2026-07-24 12:21:36'::timestamp) - extract(epoch from '2026-07-24 12:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704544 -2.713326)'), GeomFromEWKT('SRID=4674;POINT (-39.704519 -2.713327)'))) / (select extract(epoch from '2026-07-24 12:21:36'::timestamp) - extract(epoch from '2026-07-24 12:21:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704454 -2.713317)', '2026-07-24 12:21:47', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704519 -2.713327)'), GeomFromEWKT('SRID=4674;POINT (-39.704454 -2.713317)'))) / (select extract(epoch from '2026-07-24 12:21:47'::timestamp) - extract(epoch from '2026-07-24 12:21:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704519 -2.713327)'), GeomFromEWKT('SRID=4674;POINT (-39.704454 -2.713317)'))) / (select extract(epoch from '2026-07-24 12:21:47'::timestamp) - extract(epoch from '2026-07-24 12:21:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704392 -2.713317)', '2026-07-24 12:21:57', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704454 -2.713317)'), GeomFromEWKT('SRID=4674;POINT (-39.704392 -2.713317)'))) / (select extract(epoch from '2026-07-24 12:21:57'::timestamp) - extract(epoch from '2026-07-24 12:21:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704454 -2.713317)'), GeomFromEWKT('SRID=4674;POINT (-39.704392 -2.713317)'))) / (select extract(epoch from '2026-07-24 12:21:57'::timestamp) - extract(epoch from '2026-07-24 12:21:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.7043 -2.713308)', '2026-07-24 12:22:07', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704392 -2.713317)'), GeomFromEWKT('SRID=4674;POINT (-39.7043 -2.713308)'))) / (select extract(epoch from '2026-07-24 12:22:07'::timestamp) - extract(epoch from '2026-07-24 12:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704392 -2.713317)'), GeomFromEWKT('SRID=4674;POINT (-39.7043 -2.713308)'))) / (select extract(epoch from '2026-07-24 12:22:07'::timestamp) - extract(epoch from '2026-07-24 12:21:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704253 -2.71331)', '2026-07-24 12:22:13', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7043 -2.713308)'), GeomFromEWKT('SRID=4674;POINT (-39.704253 -2.71331)'))) / (select extract(epoch from '2026-07-24 12:22:13'::timestamp) - extract(epoch from '2026-07-24 12:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7043 -2.713308)'), GeomFromEWKT('SRID=4674;POINT (-39.704253 -2.71331)'))) / (select extract(epoch from '2026-07-24 12:22:13'::timestamp) - extract(epoch from '2026-07-24 12:22:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704219 -2.713298)', '2026-07-24 12:22:18', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704253 -2.71331)'), GeomFromEWKT('SRID=4674;POINT (-39.704219 -2.713298)'))) / (select extract(epoch from '2026-07-24 12:22:18'::timestamp) - extract(epoch from '2026-07-24 12:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704253 -2.71331)'), GeomFromEWKT('SRID=4674;POINT (-39.704219 -2.713298)'))) / (select extract(epoch from '2026-07-24 12:22:18'::timestamp) - extract(epoch from '2026-07-24 12: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'), 47870, 'SRID=4674;POINT (-39.704196 -2.713296)', '2026-07-24 12:22:20', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704219 -2.713298)'), GeomFromEWKT('SRID=4674;POINT (-39.704196 -2.713296)'))) / (select extract(epoch from '2026-07-24 12:22:20'::timestamp) - extract(epoch from '2026-07-24 12:22:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704219 -2.713298)'), GeomFromEWKT('SRID=4674;POINT (-39.704196 -2.713296)'))) / (select extract(epoch from '2026-07-24 12:22:20'::timestamp) - extract(epoch from '2026-07-24 12:22:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704149 -2.713292)', '2026-07-24 12:22:25', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704196 -2.713296)'), GeomFromEWKT('SRID=4674;POINT (-39.704149 -2.713292)'))) / (select extract(epoch from '2026-07-24 12:22:25'::timestamp) - extract(epoch from '2026-07-24 12:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704196 -2.713296)'), GeomFromEWKT('SRID=4674;POINT (-39.704149 -2.713292)'))) / (select extract(epoch from '2026-07-24 12:22:25'::timestamp) - extract(epoch from '2026-07-24 12:22:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704097 -2.713295)', '2026-07-24 12:22:31', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704149 -2.713292)'), GeomFromEWKT('SRID=4674;POINT (-39.704097 -2.713295)'))) / (select extract(epoch from '2026-07-24 12:22:31'::timestamp) - extract(epoch from '2026-07-24 12:22:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704149 -2.713292)'), GeomFromEWKT('SRID=4674;POINT (-39.704097 -2.713295)'))) / (select extract(epoch from '2026-07-24 12:22:31'::timestamp) - extract(epoch from '2026-07-24 12:22:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70404 -2.713313)', '2026-07-24 12:22:38', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704097 -2.713295)'), GeomFromEWKT('SRID=4674;POINT (-39.70404 -2.713313)'))) / (select extract(epoch from '2026-07-24 12:22:38'::timestamp) - extract(epoch from '2026-07-24 12:22:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704097 -2.713295)'), GeomFromEWKT('SRID=4674;POINT (-39.70404 -2.713313)'))) / (select extract(epoch from '2026-07-24 12:22:38'::timestamp) - extract(epoch from '2026-07-24 12:22:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703968 -2.713327)', '2026-07-24 12:22:47', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70404 -2.713313)'), GeomFromEWKT('SRID=4674;POINT (-39.703968 -2.713327)'))) / (select extract(epoch from '2026-07-24 12:22:47'::timestamp) - extract(epoch from '2026-07-24 12:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70404 -2.713313)'), GeomFromEWKT('SRID=4674;POINT (-39.703968 -2.713327)'))) / (select extract(epoch from '2026-07-24 12:22:47'::timestamp) - extract(epoch from '2026-07-24 12:22:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703958 -2.713328)', '2026-07-24 12:22:48', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703968 -2.713327)'), GeomFromEWKT('SRID=4674;POINT (-39.703958 -2.713328)'))) / (select extract(epoch from '2026-07-24 12:22:48'::timestamp) - extract(epoch from '2026-07-24 12:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703968 -2.713327)'), GeomFromEWKT('SRID=4674;POINT (-39.703958 -2.713328)'))) / (select extract(epoch from '2026-07-24 12:22:48'::timestamp) - extract(epoch from '2026-07-24 12:22:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703938 -2.713326)', '2026-07-24 12:22:50', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703958 -2.713328)'), GeomFromEWKT('SRID=4674;POINT (-39.703938 -2.713326)'))) / (select extract(epoch from '2026-07-24 12:22:50'::timestamp) - extract(epoch from '2026-07-24 12:22:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703958 -2.713328)'), GeomFromEWKT('SRID=4674;POINT (-39.703938 -2.713326)'))) / (select extract(epoch from '2026-07-24 12:22:50'::timestamp) - extract(epoch from '2026-07-24 12: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'), 47870, 'SRID=4674;POINT (-39.703911 -2.713325)', '2026-07-24 12:22:53', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703938 -2.713326)'), GeomFromEWKT('SRID=4674;POINT (-39.703911 -2.713325)'))) / (select extract(epoch from '2026-07-24 12:22:53'::timestamp) - extract(epoch from '2026-07-24 12:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703938 -2.713326)'), GeomFromEWKT('SRID=4674;POINT (-39.703911 -2.713325)'))) / (select extract(epoch from '2026-07-24 12:22:53'::timestamp) - extract(epoch from '2026-07-24 12:22:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703894 -2.713329)', '2026-07-24 12:22:55', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703911 -2.713325)'), GeomFromEWKT('SRID=4674;POINT (-39.703894 -2.713329)'))) / (select extract(epoch from '2026-07-24 12:22:55'::timestamp) - extract(epoch from '2026-07-24 12:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703911 -2.713325)'), GeomFromEWKT('SRID=4674;POINT (-39.703894 -2.713329)'))) / (select extract(epoch from '2026-07-24 12:22:55'::timestamp) - extract(epoch from '2026-07-24 12: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'), 47870, 'SRID=4674;POINT (-39.703866 -2.713345)', '2026-07-24 12:23:00', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703894 -2.713329)'), GeomFromEWKT('SRID=4674;POINT (-39.703866 -2.713345)'))) / (select extract(epoch from '2026-07-24 12:23:00'::timestamp) - extract(epoch from '2026-07-24 12:22:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703894 -2.713329)'), GeomFromEWKT('SRID=4674;POINT (-39.703866 -2.713345)'))) / (select extract(epoch from '2026-07-24 12:23:00'::timestamp) - extract(epoch from '2026-07-24 12:22:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703836 -2.713407)', '2026-07-24 12:23:08', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703866 -2.713345)'), GeomFromEWKT('SRID=4674;POINT (-39.703836 -2.713407)'))) / (select extract(epoch from '2026-07-24 12:23:08'::timestamp) - extract(epoch from '2026-07-24 12:23:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703866 -2.713345)'), GeomFromEWKT('SRID=4674;POINT (-39.703836 -2.713407)'))) / (select extract(epoch from '2026-07-24 12:23:08'::timestamp) - extract(epoch from '2026-07-24 12:23:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703794 -2.713495)', '2026-07-24 12:23:18', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703836 -2.713407)'), GeomFromEWKT('SRID=4674;POINT (-39.703794 -2.713495)'))) / (select extract(epoch from '2026-07-24 12:23:18'::timestamp) - extract(epoch from '2026-07-24 12:23:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703836 -2.713407)'), GeomFromEWKT('SRID=4674;POINT (-39.703794 -2.713495)'))) / (select extract(epoch from '2026-07-24 12:23:18'::timestamp) - extract(epoch from '2026-07-24 12:23:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703766 -2.713549)', '2026-07-24 12:23:24', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703794 -2.713495)'), GeomFromEWKT('SRID=4674;POINT (-39.703766 -2.713549)'))) / (select extract(epoch from '2026-07-24 12:23:24'::timestamp) - extract(epoch from '2026-07-24 12:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703794 -2.713495)'), GeomFromEWKT('SRID=4674;POINT (-39.703766 -2.713549)'))) / (select extract(epoch from '2026-07-24 12:23:24'::timestamp) - extract(epoch from '2026-07-24 12:23:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703767 -2.71356)', '2026-07-24 12:23:25', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703766 -2.713549)'), GeomFromEWKT('SRID=4674;POINT (-39.703767 -2.71356)'))) / (select extract(epoch from '2026-07-24 12:23:25'::timestamp) - extract(epoch from '2026-07-24 12:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703766 -2.713549)'), GeomFromEWKT('SRID=4674;POINT (-39.703767 -2.71356)'))) / (select extract(epoch from '2026-07-24 12:23:25'::timestamp) - extract(epoch from '2026-07-24 12:23:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703765 -2.713568)', '2026-07-24 12:23:26', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703767 -2.71356)'), GeomFromEWKT('SRID=4674;POINT (-39.703765 -2.713568)'))) / (select extract(epoch from '2026-07-24 12:23:26'::timestamp) - extract(epoch from '2026-07-24 12:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703767 -2.71356)'), GeomFromEWKT('SRID=4674;POINT (-39.703765 -2.713568)'))) / (select extract(epoch from '2026-07-24 12:23:26'::timestamp) - extract(epoch from '2026-07-24 12:23:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70376 -2.713612)', '2026-07-24 12:23:30', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703765 -2.713568)'), GeomFromEWKT('SRID=4674;POINT (-39.70376 -2.713612)'))) / (select extract(epoch from '2026-07-24 12:23:30'::timestamp) - extract(epoch from '2026-07-24 12:23:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703765 -2.713568)'), GeomFromEWKT('SRID=4674;POINT (-39.70376 -2.713612)'))) / (select extract(epoch from '2026-07-24 12:23:30'::timestamp) - extract(epoch from '2026-07-24 12:23:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703754 -2.713628)', '2026-07-24 12:23:32', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70376 -2.713612)'), GeomFromEWKT('SRID=4674;POINT (-39.703754 -2.713628)'))) / (select extract(epoch from '2026-07-24 12:23:32'::timestamp) - extract(epoch from '2026-07-24 12:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70376 -2.713612)'), GeomFromEWKT('SRID=4674;POINT (-39.703754 -2.713628)'))) / (select extract(epoch from '2026-07-24 12:23:32'::timestamp) - extract(epoch from '2026-07-24 12:23:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703742 -2.713648)', '2026-07-24 12:23:35', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703754 -2.713628)'), GeomFromEWKT('SRID=4674;POINT (-39.703742 -2.713648)'))) / (select extract(epoch from '2026-07-24 12:23:35'::timestamp) - extract(epoch from '2026-07-24 12:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703754 -2.713628)'), GeomFromEWKT('SRID=4674;POINT (-39.703742 -2.713648)'))) / (select extract(epoch from '2026-07-24 12:23:35'::timestamp) - extract(epoch from '2026-07-24 12:23:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703686 -2.713685)', '2026-07-24 12:23:43', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703742 -2.713648)'), GeomFromEWKT('SRID=4674;POINT (-39.703686 -2.713685)'))) / (select extract(epoch from '2026-07-24 12:23:43'::timestamp) - extract(epoch from '2026-07-24 12:23:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703742 -2.713648)'), GeomFromEWKT('SRID=4674;POINT (-39.703686 -2.713685)'))) / (select extract(epoch from '2026-07-24 12:23:43'::timestamp) - extract(epoch from '2026-07-24 12:23:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703608 -2.713702)', '2026-07-24 12:23:52', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703686 -2.713685)'), GeomFromEWKT('SRID=4674;POINT (-39.703608 -2.713702)'))) / (select extract(epoch from '2026-07-24 12:23:52'::timestamp) - extract(epoch from '2026-07-24 12:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703686 -2.713685)'), GeomFromEWKT('SRID=4674;POINT (-39.703608 -2.713702)'))) / (select extract(epoch from '2026-07-24 12:23:52'::timestamp) - extract(epoch from '2026-07-24 12:23:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703566 -2.713723)', '2026-07-24 12:23:57', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703608 -2.713702)'), GeomFromEWKT('SRID=4674;POINT (-39.703566 -2.713723)'))) / (select extract(epoch from '2026-07-24 12:23:57'::timestamp) - extract(epoch from '2026-07-24 12:23:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703608 -2.713702)'), GeomFromEWKT('SRID=4674;POINT (-39.703566 -2.713723)'))) / (select extract(epoch from '2026-07-24 12:23:57'::timestamp) - extract(epoch from '2026-07-24 12:23:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703543 -2.71374)', '2026-07-24 12:24:01', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703566 -2.713723)'), GeomFromEWKT('SRID=4674;POINT (-39.703543 -2.71374)'))) / (select extract(epoch from '2026-07-24 12:24:01'::timestamp) - extract(epoch from '2026-07-24 12:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703566 -2.713723)'), GeomFromEWKT('SRID=4674;POINT (-39.703543 -2.71374)'))) / (select extract(epoch from '2026-07-24 12:24:01'::timestamp) - extract(epoch from '2026-07-24 12:23:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70352 -2.713746)', '2026-07-24 12:24:07', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703543 -2.71374)'), GeomFromEWKT('SRID=4674;POINT (-39.70352 -2.713746)'))) / (select extract(epoch from '2026-07-24 12:24:07'::timestamp) - extract(epoch from '2026-07-24 12:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703543 -2.71374)'), GeomFromEWKT('SRID=4674;POINT (-39.70352 -2.713746)'))) / (select extract(epoch from '2026-07-24 12:24:07'::timestamp) - extract(epoch from '2026-07-24 12:24:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70354 -2.713712)', '2026-07-24 12:24:27', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70352 -2.713746)'), GeomFromEWKT('SRID=4674;POINT (-39.70354 -2.713712)'))) / (select extract(epoch from '2026-07-24 12:24:27'::timestamp) - extract(epoch from '2026-07-24 12:24:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70352 -2.713746)'), GeomFromEWKT('SRID=4674;POINT (-39.70354 -2.713712)'))) / (select extract(epoch from '2026-07-24 12:24:27'::timestamp) - extract(epoch from '2026-07-24 12: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'), 47870, 'SRID=4674;POINT (-39.703588 -2.713683)', '2026-07-24 12:24:37', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70354 -2.713712)'), GeomFromEWKT('SRID=4674;POINT (-39.703588 -2.713683)'))) / (select extract(epoch from '2026-07-24 12:24:37'::timestamp) - extract(epoch from '2026-07-24 12:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70354 -2.713712)'), GeomFromEWKT('SRID=4674;POINT (-39.703588 -2.713683)'))) / (select extract(epoch from '2026-07-24 12:24:37'::timestamp) - extract(epoch from '2026-07-24 12:24:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703642 -2.713646)', '2026-07-24 12:24:47', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703588 -2.713683)'), GeomFromEWKT('SRID=4674;POINT (-39.703642 -2.713646)'))) / (select extract(epoch from '2026-07-24 12:24:47'::timestamp) - extract(epoch from '2026-07-24 12:24:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703588 -2.713683)'), GeomFromEWKT('SRID=4674;POINT (-39.703642 -2.713646)'))) / (select extract(epoch from '2026-07-24 12:24:47'::timestamp) - extract(epoch from '2026-07-24 12:24:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703681 -2.713626)', '2026-07-24 12:24:54', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703642 -2.713646)'), GeomFromEWKT('SRID=4674;POINT (-39.703681 -2.713626)'))) / (select extract(epoch from '2026-07-24 12:24:54'::timestamp) - extract(epoch from '2026-07-24 12:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703642 -2.713646)'), GeomFromEWKT('SRID=4674;POINT (-39.703681 -2.713626)'))) / (select extract(epoch from '2026-07-24 12:24:54'::timestamp) - extract(epoch from '2026-07-24 12:24:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703724 -2.713618)', '2026-07-24 12:25:00', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703681 -2.713626)'), GeomFromEWKT('SRID=4674;POINT (-39.703724 -2.713618)'))) / (select extract(epoch from '2026-07-24 12:25:00'::timestamp) - extract(epoch from '2026-07-24 12:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703681 -2.713626)'), GeomFromEWKT('SRID=4674;POINT (-39.703724 -2.713618)'))) / (select extract(epoch from '2026-07-24 12:25:00'::timestamp) - extract(epoch from '2026-07-24 12: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'), 47870, 'SRID=4674;POINT (-39.703743 -2.713602)', '2026-07-24 12:25:06', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703724 -2.713618)'), GeomFromEWKT('SRID=4674;POINT (-39.703743 -2.713602)'))) / (select extract(epoch from '2026-07-24 12:25:06'::timestamp) - extract(epoch from '2026-07-24 12:25:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703724 -2.713618)'), GeomFromEWKT('SRID=4674;POINT (-39.703743 -2.713602)'))) / (select extract(epoch from '2026-07-24 12:25:06'::timestamp) - extract(epoch from '2026-07-24 12:25:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703766 -2.713586)', '2026-07-24 12:25:11', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703743 -2.713602)'), GeomFromEWKT('SRID=4674;POINT (-39.703766 -2.713586)'))) / (select extract(epoch from '2026-07-24 12:25:11'::timestamp) - extract(epoch from '2026-07-24 12:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703743 -2.713602)'), GeomFromEWKT('SRID=4674;POINT (-39.703766 -2.713586)'))) / (select extract(epoch from '2026-07-24 12:25:11'::timestamp) - extract(epoch from '2026-07-24 12:25:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703792 -2.713575)', '2026-07-24 12:25:17', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703766 -2.713586)'), GeomFromEWKT('SRID=4674;POINT (-39.703792 -2.713575)'))) / (select extract(epoch from '2026-07-24 12:25:17'::timestamp) - extract(epoch from '2026-07-24 12:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703766 -2.713586)'), GeomFromEWKT('SRID=4674;POINT (-39.703792 -2.713575)'))) / (select extract(epoch from '2026-07-24 12:25:17'::timestamp) - extract(epoch from '2026-07-24 12:25:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703817 -2.713553)', '2026-07-24 12:25:24', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703792 -2.713575)'), GeomFromEWKT('SRID=4674;POINT (-39.703817 -2.713553)'))) / (select extract(epoch from '2026-07-24 12:25:24'::timestamp) - extract(epoch from '2026-07-24 12:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703792 -2.713575)'), GeomFromEWKT('SRID=4674;POINT (-39.703817 -2.713553)'))) / (select extract(epoch from '2026-07-24 12:25:24'::timestamp) - extract(epoch from '2026-07-24 12:25:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703847 -2.71353)', '2026-07-24 12:25:32', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703817 -2.713553)'), GeomFromEWKT('SRID=4674;POINT (-39.703847 -2.71353)'))) / (select extract(epoch from '2026-07-24 12:25:32'::timestamp) - extract(epoch from '2026-07-24 12:25:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703817 -2.713553)'), GeomFromEWKT('SRID=4674;POINT (-39.703847 -2.71353)'))) / (select extract(epoch from '2026-07-24 12:25:32'::timestamp) - extract(epoch from '2026-07-24 12:25:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703905 -2.713482)', '2026-07-24 12:25:46', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703847 -2.71353)'), GeomFromEWKT('SRID=4674;POINT (-39.703905 -2.713482)'))) / (select extract(epoch from '2026-07-24 12:25:46'::timestamp) - extract(epoch from '2026-07-24 12:25:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703847 -2.71353)'), GeomFromEWKT('SRID=4674;POINT (-39.703905 -2.713482)'))) / (select extract(epoch from '2026-07-24 12:25:46'::timestamp) - extract(epoch from '2026-07-24 12:25:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703893 -2.713418)', '2026-07-24 12:25:53', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703905 -2.713482)'), GeomFromEWKT('SRID=4674;POINT (-39.703893 -2.713418)'))) / (select extract(epoch from '2026-07-24 12:25:53'::timestamp) - extract(epoch from '2026-07-24 12:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703905 -2.713482)'), GeomFromEWKT('SRID=4674;POINT (-39.703893 -2.713418)'))) / (select extract(epoch from '2026-07-24 12:25:53'::timestamp) - extract(epoch from '2026-07-24 12:25:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703865 -2.713336)', '2026-07-24 12:25:59', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703893 -2.713418)'), GeomFromEWKT('SRID=4674;POINT (-39.703865 -2.713336)'))) / (select extract(epoch from '2026-07-24 12:25:59'::timestamp) - extract(epoch from '2026-07-24 12:25:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703893 -2.713418)'), GeomFromEWKT('SRID=4674;POINT (-39.703865 -2.713336)'))) / (select extract(epoch from '2026-07-24 12:25:59'::timestamp) - extract(epoch from '2026-07-24 12:25:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703792 -2.713252)', '2026-07-24 12:26:06', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703865 -2.713336)'), GeomFromEWKT('SRID=4674;POINT (-39.703792 -2.713252)'))) / (select extract(epoch from '2026-07-24 12:26:06'::timestamp) - extract(epoch from '2026-07-24 12:25:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703865 -2.713336)'), GeomFromEWKT('SRID=4674;POINT (-39.703792 -2.713252)'))) / (select extract(epoch from '2026-07-24 12:26:06'::timestamp) - extract(epoch from '2026-07-24 12:25:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.7037 -2.713139)', '2026-07-24 12:26:14', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703792 -2.713252)'), GeomFromEWKT('SRID=4674;POINT (-39.7037 -2.713139)'))) / (select extract(epoch from '2026-07-24 12:26:14'::timestamp) - extract(epoch from '2026-07-24 12:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703792 -2.713252)'), GeomFromEWKT('SRID=4674;POINT (-39.7037 -2.713139)'))) / (select extract(epoch from '2026-07-24 12:26:14'::timestamp) - extract(epoch from '2026-07-24 12:26:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703644 -2.71307)', '2026-07-24 12:26:20', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7037 -2.713139)'), GeomFromEWKT('SRID=4674;POINT (-39.703644 -2.71307)'))) / (select extract(epoch from '2026-07-24 12:26:20'::timestamp) - extract(epoch from '2026-07-24 12:26:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7037 -2.713139)'), GeomFromEWKT('SRID=4674;POINT (-39.703644 -2.71307)'))) / (select extract(epoch from '2026-07-24 12:26:20'::timestamp) - extract(epoch from '2026-07-24 12:26:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703575 -2.712984)', '2026-07-24 12:26:27', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703644 -2.71307)'), GeomFromEWKT('SRID=4674;POINT (-39.703575 -2.712984)'))) / (select extract(epoch from '2026-07-24 12:26:27'::timestamp) - extract(epoch from '2026-07-24 12:26:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703644 -2.71307)'), GeomFromEWKT('SRID=4674;POINT (-39.703575 -2.712984)'))) / (select extract(epoch from '2026-07-24 12:26:27'::timestamp) - extract(epoch from '2026-07-24 12:26:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703525 -2.712938)', '2026-07-24 12:26:32', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703575 -2.712984)'), GeomFromEWKT('SRID=4674;POINT (-39.703525 -2.712938)'))) / (select extract(epoch from '2026-07-24 12:26:32'::timestamp) - extract(epoch from '2026-07-24 12:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703575 -2.712984)'), GeomFromEWKT('SRID=4674;POINT (-39.703525 -2.712938)'))) / (select extract(epoch from '2026-07-24 12:26:32'::timestamp) - extract(epoch from '2026-07-24 12:26:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703506 -2.712921)', '2026-07-24 12:26:34', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703525 -2.712938)'), GeomFromEWKT('SRID=4674;POINT (-39.703506 -2.712921)'))) / (select extract(epoch from '2026-07-24 12:26:34'::timestamp) - extract(epoch from '2026-07-24 12:26:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703525 -2.712938)'), GeomFromEWKT('SRID=4674;POINT (-39.703506 -2.712921)'))) / (select extract(epoch from '2026-07-24 12:26:34'::timestamp) - extract(epoch from '2026-07-24 12:26:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703472 -2.712895)', '2026-07-24 12:26:37', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703506 -2.712921)'), GeomFromEWKT('SRID=4674;POINT (-39.703472 -2.712895)'))) / (select extract(epoch from '2026-07-24 12:26:37'::timestamp) - extract(epoch from '2026-07-24 12:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703506 -2.712921)'), GeomFromEWKT('SRID=4674;POINT (-39.703472 -2.712895)'))) / (select extract(epoch from '2026-07-24 12:26:37'::timestamp) - extract(epoch from '2026-07-24 12: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'), 47870, 'SRID=4674;POINT (-39.703445 -2.712878)', '2026-07-24 12:26:39', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703472 -2.712895)'), GeomFromEWKT('SRID=4674;POINT (-39.703445 -2.712878)'))) / (select extract(epoch from '2026-07-24 12:26:39'::timestamp) - extract(epoch from '2026-07-24 12:26:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703472 -2.712895)'), GeomFromEWKT('SRID=4674;POINT (-39.703445 -2.712878)'))) / (select extract(epoch from '2026-07-24 12:26:39'::timestamp) - extract(epoch from '2026-07-24 12:26:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703367 -2.712821)', '2026-07-24 12:26:45', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703445 -2.712878)'), GeomFromEWKT('SRID=4674;POINT (-39.703367 -2.712821)'))) / (select extract(epoch from '2026-07-24 12:26:45'::timestamp) - extract(epoch from '2026-07-24 12:26:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703445 -2.712878)'), GeomFromEWKT('SRID=4674;POINT (-39.703367 -2.712821)'))) / (select extract(epoch from '2026-07-24 12:26:45'::timestamp) - extract(epoch from '2026-07-24 12:26:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703264 -2.712757)', '2026-07-24 12:26:52', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703367 -2.712821)'), GeomFromEWKT('SRID=4674;POINT (-39.703264 -2.712757)'))) / (select extract(epoch from '2026-07-24 12:26:52'::timestamp) - extract(epoch from '2026-07-24 12:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703367 -2.712821)'), GeomFromEWKT('SRID=4674;POINT (-39.703264 -2.712757)'))) / (select extract(epoch from '2026-07-24 12:26:52'::timestamp) - extract(epoch from '2026-07-24 12:26:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703182 -2.712705)', '2026-07-24 12:26:58', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703264 -2.712757)'), GeomFromEWKT('SRID=4674;POINT (-39.703182 -2.712705)'))) / (select extract(epoch from '2026-07-24 12:26:58'::timestamp) - extract(epoch from '2026-07-24 12:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703264 -2.712757)'), GeomFromEWKT('SRID=4674;POINT (-39.703182 -2.712705)'))) / (select extract(epoch from '2026-07-24 12:26:58'::timestamp) - extract(epoch from '2026-07-24 12:26:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703143 -2.712696)', '2026-07-24 12:27:01', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703182 -2.712705)'), GeomFromEWKT('SRID=4674;POINT (-39.703143 -2.712696)'))) / (select extract(epoch from '2026-07-24 12:27:01'::timestamp) - extract(epoch from '2026-07-24 12:26:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703182 -2.712705)'), GeomFromEWKT('SRID=4674;POINT (-39.703143 -2.712696)'))) / (select extract(epoch from '2026-07-24 12:27:01'::timestamp) - extract(epoch from '2026-07-24 12:26:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703119 -2.712685)', '2026-07-24 12:27:03', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703143 -2.712696)'), GeomFromEWKT('SRID=4674;POINT (-39.703119 -2.712685)'))) / (select extract(epoch from '2026-07-24 12:27:03'::timestamp) - extract(epoch from '2026-07-24 12:27:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703143 -2.712696)'), GeomFromEWKT('SRID=4674;POINT (-39.703119 -2.712685)'))) / (select extract(epoch from '2026-07-24 12:27:03'::timestamp) - extract(epoch from '2026-07-24 12:27:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703053 -2.712663)', '2026-07-24 12:27:10', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703119 -2.712685)'), GeomFromEWKT('SRID=4674;POINT (-39.703053 -2.712663)'))) / (select extract(epoch from '2026-07-24 12:27:10'::timestamp) - extract(epoch from '2026-07-24 12:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703119 -2.712685)'), GeomFromEWKT('SRID=4674;POINT (-39.703053 -2.712663)'))) / (select extract(epoch from '2026-07-24 12:27:10'::timestamp) - extract(epoch from '2026-07-24 12:27:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703013 -2.712646)', '2026-07-24 12:27:18', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703053 -2.712663)'), GeomFromEWKT('SRID=4674;POINT (-39.703013 -2.712646)'))) / (select extract(epoch from '2026-07-24 12:27:18'::timestamp) - extract(epoch from '2026-07-24 12:27:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703053 -2.712663)'), GeomFromEWKT('SRID=4674;POINT (-39.703013 -2.712646)'))) / (select extract(epoch from '2026-07-24 12:27:18'::timestamp) - extract(epoch from '2026-07-24 12:27:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702999 -2.712622)', '2026-07-24 12:27:25', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703013 -2.712646)'), GeomFromEWKT('SRID=4674;POINT (-39.702999 -2.712622)'))) / (select extract(epoch from '2026-07-24 12:27:25'::timestamp) - extract(epoch from '2026-07-24 12:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703013 -2.712646)'), GeomFromEWKT('SRID=4674;POINT (-39.702999 -2.712622)'))) / (select extract(epoch from '2026-07-24 12:27:25'::timestamp) - extract(epoch from '2026-07-24 12:27:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703012 -2.71259)', '2026-07-24 12:27:32', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702999 -2.712622)'), GeomFromEWKT('SRID=4674;POINT (-39.703012 -2.71259)'))) / (select extract(epoch from '2026-07-24 12:27:32'::timestamp) - extract(epoch from '2026-07-24 12:27:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702999 -2.712622)'), GeomFromEWKT('SRID=4674;POINT (-39.703012 -2.71259)'))) / (select extract(epoch from '2026-07-24 12:27:32'::timestamp) - extract(epoch from '2026-07-24 12:27:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703045 -2.712548)', '2026-07-24 12:27:43', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703012 -2.71259)'), GeomFromEWKT('SRID=4674;POINT (-39.703045 -2.712548)'))) / (select extract(epoch from '2026-07-24 12:27:43'::timestamp) - extract(epoch from '2026-07-24 12:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703012 -2.71259)'), GeomFromEWKT('SRID=4674;POINT (-39.703045 -2.712548)'))) / (select extract(epoch from '2026-07-24 12:27:43'::timestamp) - extract(epoch from '2026-07-24 12:27:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703089 -2.712511)', '2026-07-24 12:27:53', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703045 -2.712548)'), GeomFromEWKT('SRID=4674;POINT (-39.703089 -2.712511)'))) / (select extract(epoch from '2026-07-24 12:27:53'::timestamp) - extract(epoch from '2026-07-24 12:27:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703045 -2.712548)'), GeomFromEWKT('SRID=4674;POINT (-39.703089 -2.712511)'))) / (select extract(epoch from '2026-07-24 12:27:53'::timestamp) - extract(epoch from '2026-07-24 12:27:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703119 -2.712476)', '2026-07-24 12:28:02', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703089 -2.712511)'), GeomFromEWKT('SRID=4674;POINT (-39.703119 -2.712476)'))) / (select extract(epoch from '2026-07-24 12:28:02'::timestamp) - extract(epoch from '2026-07-24 12:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703089 -2.712511)'), GeomFromEWKT('SRID=4674;POINT (-39.703119 -2.712476)'))) / (select extract(epoch from '2026-07-24 12:28:02'::timestamp) - extract(epoch from '2026-07-24 12:27:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703144 -2.712457)', '2026-07-24 12:28:10', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703119 -2.712476)'), GeomFromEWKT('SRID=4674;POINT (-39.703144 -2.712457)'))) / (select extract(epoch from '2026-07-24 12:28:10'::timestamp) - extract(epoch from '2026-07-24 12:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703119 -2.712476)'), GeomFromEWKT('SRID=4674;POINT (-39.703144 -2.712457)'))) / (select extract(epoch from '2026-07-24 12:28:10'::timestamp) - extract(epoch from '2026-07-24 12:28:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703183 -2.712437)', '2026-07-24 12:28:20', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703144 -2.712457)'), GeomFromEWKT('SRID=4674;POINT (-39.703183 -2.712437)'))) / (select extract(epoch from '2026-07-24 12:28:20'::timestamp) - extract(epoch from '2026-07-24 12:28:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703144 -2.712457)'), GeomFromEWKT('SRID=4674;POINT (-39.703183 -2.712437)'))) / (select extract(epoch from '2026-07-24 12:28:20'::timestamp) - extract(epoch from '2026-07-24 12:28:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703223 -2.712414)', '2026-07-24 12:28:30', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703183 -2.712437)'), GeomFromEWKT('SRID=4674;POINT (-39.703223 -2.712414)'))) / (select extract(epoch from '2026-07-24 12:28:30'::timestamp) - extract(epoch from '2026-07-24 12:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703183 -2.712437)'), GeomFromEWKT('SRID=4674;POINT (-39.703223 -2.712414)'))) / (select extract(epoch from '2026-07-24 12:28:30'::timestamp) - extract(epoch from '2026-07-24 12:28:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703254 -2.712399)', '2026-07-24 12:28:37', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703223 -2.712414)'), GeomFromEWKT('SRID=4674;POINT (-39.703254 -2.712399)'))) / (select extract(epoch from '2026-07-24 12:28:37'::timestamp) - extract(epoch from '2026-07-24 12:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703223 -2.712414)'), GeomFromEWKT('SRID=4674;POINT (-39.703254 -2.712399)'))) / (select extract(epoch from '2026-07-24 12:28:37'::timestamp) - extract(epoch from '2026-07-24 12:28:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703298 -2.712387)', '2026-07-24 12:28:47', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703254 -2.712399)'), GeomFromEWKT('SRID=4674;POINT (-39.703298 -2.712387)'))) / (select extract(epoch from '2026-07-24 12:28:47'::timestamp) - extract(epoch from '2026-07-24 12:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703254 -2.712399)'), GeomFromEWKT('SRID=4674;POINT (-39.703298 -2.712387)'))) / (select extract(epoch from '2026-07-24 12:28:47'::timestamp) - extract(epoch from '2026-07-24 12:28:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703303 -2.712388)', '2026-07-24 12:28:58', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703298 -2.712387)'), GeomFromEWKT('SRID=4674;POINT (-39.703303 -2.712388)'))) / (select extract(epoch from '2026-07-24 12:28:58'::timestamp) - extract(epoch from '2026-07-24 12:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703298 -2.712387)'), GeomFromEWKT('SRID=4674;POINT (-39.703303 -2.712388)'))) / (select extract(epoch from '2026-07-24 12:28:58'::timestamp) - extract(epoch from '2026-07-24 12:28:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703331 -2.712358)', '2026-07-24 12:29:14', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703303 -2.712388)'), GeomFromEWKT('SRID=4674;POINT (-39.703331 -2.712358)'))) / (select extract(epoch from '2026-07-24 12:29:14'::timestamp) - extract(epoch from '2026-07-24 12:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703303 -2.712388)'), GeomFromEWKT('SRID=4674;POINT (-39.703331 -2.712358)'))) / (select extract(epoch from '2026-07-24 12:29:14'::timestamp) - extract(epoch from '2026-07-24 12:28:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703352 -2.712345)', '2026-07-24 12:29:20', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703331 -2.712358)'), GeomFromEWKT('SRID=4674;POINT (-39.703352 -2.712345)'))) / (select extract(epoch from '2026-07-24 12:29:20'::timestamp) - extract(epoch from '2026-07-24 12:29:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703331 -2.712358)'), GeomFromEWKT('SRID=4674;POINT (-39.703352 -2.712345)'))) / (select extract(epoch from '2026-07-24 12:29:20'::timestamp) - extract(epoch from '2026-07-24 12:29:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703386 -2.712325)', '2026-07-24 12:29:29', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703352 -2.712345)'), GeomFromEWKT('SRID=4674;POINT (-39.703386 -2.712325)'))) / (select extract(epoch from '2026-07-24 12:29:29'::timestamp) - extract(epoch from '2026-07-24 12:29:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703352 -2.712345)'), GeomFromEWKT('SRID=4674;POINT (-39.703386 -2.712325)'))) / (select extract(epoch from '2026-07-24 12:29:29'::timestamp) - extract(epoch from '2026-07-24 12:29:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703399 -2.712273)', '2026-07-24 12:29:38', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703386 -2.712325)'), GeomFromEWKT('SRID=4674;POINT (-39.703399 -2.712273)'))) / (select extract(epoch from '2026-07-24 12:29:38'::timestamp) - extract(epoch from '2026-07-24 12:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703386 -2.712325)'), GeomFromEWKT('SRID=4674;POINT (-39.703399 -2.712273)'))) / (select extract(epoch from '2026-07-24 12:29:38'::timestamp) - extract(epoch from '2026-07-24 12:29:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703361 -2.71223)', '2026-07-24 12:29:43', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703399 -2.712273)'), GeomFromEWKT('SRID=4674;POINT (-39.703361 -2.71223)'))) / (select extract(epoch from '2026-07-24 12:29:43'::timestamp) - extract(epoch from '2026-07-24 12:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703399 -2.712273)'), GeomFromEWKT('SRID=4674;POINT (-39.703361 -2.71223)'))) / (select extract(epoch from '2026-07-24 12:29:43'::timestamp) - extract(epoch from '2026-07-24 12:29:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703342 -2.71221)', '2026-07-24 12:29:45', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703361 -2.71223)'), GeomFromEWKT('SRID=4674;POINT (-39.703342 -2.71221)'))) / (select extract(epoch from '2026-07-24 12:29:45'::timestamp) - extract(epoch from '2026-07-24 12:29:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703361 -2.71223)'), GeomFromEWKT('SRID=4674;POINT (-39.703342 -2.71221)'))) / (select extract(epoch from '2026-07-24 12:29:45'::timestamp) - extract(epoch from '2026-07-24 12:29:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703294 -2.712163)', '2026-07-24 12:29:49', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703342 -2.71221)'), GeomFromEWKT('SRID=4674;POINT (-39.703294 -2.712163)'))) / (select extract(epoch from '2026-07-24 12:29:49'::timestamp) - extract(epoch from '2026-07-24 12:29:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703342 -2.71221)'), GeomFromEWKT('SRID=4674;POINT (-39.703294 -2.712163)'))) / (select extract(epoch from '2026-07-24 12:29:49'::timestamp) - extract(epoch from '2026-07-24 12:29:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703202 -2.712062)', '2026-07-24 12:29:57', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703294 -2.712163)'), GeomFromEWKT('SRID=4674;POINT (-39.703202 -2.712062)'))) / (select extract(epoch from '2026-07-24 12:29:57'::timestamp) - extract(epoch from '2026-07-24 12:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703294 -2.712163)'), GeomFromEWKT('SRID=4674;POINT (-39.703202 -2.712062)'))) / (select extract(epoch from '2026-07-24 12:29:57'::timestamp) - extract(epoch from '2026-07-24 12:29:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703138 -2.712001)', '2026-07-24 12:30:03', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703202 -2.712062)'), GeomFromEWKT('SRID=4674;POINT (-39.703138 -2.712001)'))) / (select extract(epoch from '2026-07-24 12:30:03'::timestamp) - extract(epoch from '2026-07-24 12:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703202 -2.712062)'), GeomFromEWKT('SRID=4674;POINT (-39.703138 -2.712001)'))) / (select extract(epoch from '2026-07-24 12:30:03'::timestamp) - extract(epoch from '2026-07-24 12:29:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703061 -2.711925)', '2026-07-24 12:30:10', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703138 -2.712001)'), GeomFromEWKT('SRID=4674;POINT (-39.703061 -2.711925)'))) / (select extract(epoch from '2026-07-24 12:30:10'::timestamp) - extract(epoch from '2026-07-24 12:30:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703138 -2.712001)'), GeomFromEWKT('SRID=4674;POINT (-39.703061 -2.711925)'))) / (select extract(epoch from '2026-07-24 12:30:10'::timestamp) - extract(epoch from '2026-07-24 12:30:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702989 -2.711858)', '2026-07-24 12:30:16', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703061 -2.711925)'), GeomFromEWKT('SRID=4674;POINT (-39.702989 -2.711858)'))) / (select extract(epoch from '2026-07-24 12:30:16'::timestamp) - extract(epoch from '2026-07-24 12:30:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703061 -2.711925)'), GeomFromEWKT('SRID=4674;POINT (-39.702989 -2.711858)'))) / (select extract(epoch from '2026-07-24 12:30:16'::timestamp) - extract(epoch from '2026-07-24 12:30:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702906 -2.711791)', '2026-07-24 12:30:22', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702989 -2.711858)'), GeomFromEWKT('SRID=4674;POINT (-39.702906 -2.711791)'))) / (select extract(epoch from '2026-07-24 12:30:22'::timestamp) - extract(epoch from '2026-07-24 12:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702989 -2.711858)'), GeomFromEWKT('SRID=4674;POINT (-39.702906 -2.711791)'))) / (select extract(epoch from '2026-07-24 12:30:22'::timestamp) - extract(epoch from '2026-07-24 12:30:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702891 -2.711787)', '2026-07-24 12:30:23', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702906 -2.711791)'), GeomFromEWKT('SRID=4674;POINT (-39.702891 -2.711787)'))) / (select extract(epoch from '2026-07-24 12:30:23'::timestamp) - extract(epoch from '2026-07-24 12:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702906 -2.711791)'), GeomFromEWKT('SRID=4674;POINT (-39.702891 -2.711787)'))) / (select extract(epoch from '2026-07-24 12:30:23'::timestamp) - extract(epoch from '2026-07-24 12:30:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702877 -2.711777)', '2026-07-24 12:30:24', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702891 -2.711787)'), GeomFromEWKT('SRID=4674;POINT (-39.702877 -2.711777)'))) / (select extract(epoch from '2026-07-24 12:30:24'::timestamp) - extract(epoch from '2026-07-24 12:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702891 -2.711787)'), GeomFromEWKT('SRID=4674;POINT (-39.702877 -2.711777)'))) / (select extract(epoch from '2026-07-24 12:30:24'::timestamp) - extract(epoch from '2026-07-24 12:30:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70283 -2.711741)', '2026-07-24 12:30:28', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702877 -2.711777)'), GeomFromEWKT('SRID=4674;POINT (-39.70283 -2.711741)'))) / (select extract(epoch from '2026-07-24 12:30:28'::timestamp) - extract(epoch from '2026-07-24 12:30:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702877 -2.711777)'), GeomFromEWKT('SRID=4674;POINT (-39.70283 -2.711741)'))) / (select extract(epoch from '2026-07-24 12:30:28'::timestamp) - extract(epoch from '2026-07-24 12:30:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70282 -2.711733)', '2026-07-24 12:30:29', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70283 -2.711741)'), GeomFromEWKT('SRID=4674;POINT (-39.70282 -2.711733)'))) / (select extract(epoch from '2026-07-24 12:30:29'::timestamp) - extract(epoch from '2026-07-24 12:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70283 -2.711741)'), GeomFromEWKT('SRID=4674;POINT (-39.70282 -2.711733)'))) / (select extract(epoch from '2026-07-24 12:30:29'::timestamp) - extract(epoch from '2026-07-24 12:30:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702765 -2.711709)', '2026-07-24 12:30:33', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70282 -2.711733)'), GeomFromEWKT('SRID=4674;POINT (-39.702765 -2.711709)'))) / (select extract(epoch from '2026-07-24 12:30:33'::timestamp) - extract(epoch from '2026-07-24 12:30:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70282 -2.711733)'), GeomFromEWKT('SRID=4674;POINT (-39.702765 -2.711709)'))) / (select extract(epoch from '2026-07-24 12:30:33'::timestamp) - extract(epoch from '2026-07-24 12:30:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702711 -2.711696)', '2026-07-24 12:30:37', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702765 -2.711709)'), GeomFromEWKT('SRID=4674;POINT (-39.702711 -2.711696)'))) / (select extract(epoch from '2026-07-24 12:30:37'::timestamp) - extract(epoch from '2026-07-24 12:30:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702765 -2.711709)'), GeomFromEWKT('SRID=4674;POINT (-39.702711 -2.711696)'))) / (select extract(epoch from '2026-07-24 12:30:37'::timestamp) - extract(epoch from '2026-07-24 12:30:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702684 -2.711691)', '2026-07-24 12:30:39', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702711 -2.711696)'), GeomFromEWKT('SRID=4674;POINT (-39.702684 -2.711691)'))) / (select extract(epoch from '2026-07-24 12:30:39'::timestamp) - extract(epoch from '2026-07-24 12:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702711 -2.711696)'), GeomFromEWKT('SRID=4674;POINT (-39.702684 -2.711691)'))) / (select extract(epoch from '2026-07-24 12:30:39'::timestamp) - extract(epoch from '2026-07-24 12:30:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702644 -2.711682)', '2026-07-24 12:30:44', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702684 -2.711691)'), GeomFromEWKT('SRID=4674;POINT (-39.702644 -2.711682)'))) / (select extract(epoch from '2026-07-24 12:30:44'::timestamp) - extract(epoch from '2026-07-24 12:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702684 -2.711691)'), GeomFromEWKT('SRID=4674;POINT (-39.702644 -2.711682)'))) / (select extract(epoch from '2026-07-24 12:30:44'::timestamp) - extract(epoch from '2026-07-24 12:30:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702621 -2.711641)', '2026-07-24 12:30:52', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702644 -2.711682)'), GeomFromEWKT('SRID=4674;POINT (-39.702621 -2.711641)'))) / (select extract(epoch from '2026-07-24 12:30:52'::timestamp) - extract(epoch from '2026-07-24 12:30:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702644 -2.711682)'), GeomFromEWKT('SRID=4674;POINT (-39.702621 -2.711641)'))) / (select extract(epoch from '2026-07-24 12:30:52'::timestamp) - extract(epoch from '2026-07-24 12:30:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702633 -2.711608)', '2026-07-24 12:31:00', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702621 -2.711641)'), GeomFromEWKT('SRID=4674;POINT (-39.702633 -2.711608)'))) / (select extract(epoch from '2026-07-24 12:31:00'::timestamp) - extract(epoch from '2026-07-24 12:30:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702621 -2.711641)'), GeomFromEWKT('SRID=4674;POINT (-39.702633 -2.711608)'))) / (select extract(epoch from '2026-07-24 12:31:00'::timestamp) - extract(epoch from '2026-07-24 12:30:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70266 -2.711592)', '2026-07-24 12:31:08', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702633 -2.711608)'), GeomFromEWKT('SRID=4674;POINT (-39.70266 -2.711592)'))) / (select extract(epoch from '2026-07-24 12:31:08'::timestamp) - extract(epoch from '2026-07-24 12:31:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702633 -2.711608)'), GeomFromEWKT('SRID=4674;POINT (-39.70266 -2.711592)'))) / (select extract(epoch from '2026-07-24 12:31:08'::timestamp) - extract(epoch from '2026-07-24 12:31:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702693 -2.711573)', '2026-07-24 12:31:15', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70266 -2.711592)'), GeomFromEWKT('SRID=4674;POINT (-39.702693 -2.711573)'))) / (select extract(epoch from '2026-07-24 12:31:15'::timestamp) - extract(epoch from '2026-07-24 12:31:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70266 -2.711592)'), GeomFromEWKT('SRID=4674;POINT (-39.702693 -2.711573)'))) / (select extract(epoch from '2026-07-24 12:31:15'::timestamp) - extract(epoch from '2026-07-24 12:31:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702731 -2.711569)', '2026-07-24 12:31:22', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702693 -2.711573)'), GeomFromEWKT('SRID=4674;POINT (-39.702731 -2.711569)'))) / (select extract(epoch from '2026-07-24 12:31:22'::timestamp) - extract(epoch from '2026-07-24 12:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702693 -2.711573)'), GeomFromEWKT('SRID=4674;POINT (-39.702731 -2.711569)'))) / (select extract(epoch from '2026-07-24 12:31:22'::timestamp) - extract(epoch from '2026-07-24 12:31:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702743 -2.711569)', '2026-07-24 12:31:24', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702731 -2.711569)'), GeomFromEWKT('SRID=4674;POINT (-39.702743 -2.711569)'))) / (select extract(epoch from '2026-07-24 12:31:24'::timestamp) - extract(epoch from '2026-07-24 12:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702731 -2.711569)'), GeomFromEWKT('SRID=4674;POINT (-39.702743 -2.711569)'))) / (select extract(epoch from '2026-07-24 12:31:24'::timestamp) - extract(epoch from '2026-07-24 12:31:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702795 -2.711548)', '2026-07-24 12:31:35', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702743 -2.711569)'), GeomFromEWKT('SRID=4674;POINT (-39.702795 -2.711548)'))) / (select extract(epoch from '2026-07-24 12:31:35'::timestamp) - extract(epoch from '2026-07-24 12:31:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702743 -2.711569)'), GeomFromEWKT('SRID=4674;POINT (-39.702795 -2.711548)'))) / (select extract(epoch from '2026-07-24 12:31:35'::timestamp) - extract(epoch from '2026-07-24 12:31:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702851 -2.711535)', '2026-07-24 12:31:43', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702795 -2.711548)'), GeomFromEWKT('SRID=4674;POINT (-39.702851 -2.711535)'))) / (select extract(epoch from '2026-07-24 12:31:43'::timestamp) - extract(epoch from '2026-07-24 12:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702795 -2.711548)'), GeomFromEWKT('SRID=4674;POINT (-39.702851 -2.711535)'))) / (select extract(epoch from '2026-07-24 12:31:43'::timestamp) - extract(epoch from '2026-07-24 12:31:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702882 -2.711522)', '2026-07-24 12:31:49', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702851 -2.711535)'), GeomFromEWKT('SRID=4674;POINT (-39.702882 -2.711522)'))) / (select extract(epoch from '2026-07-24 12:31:49'::timestamp) - extract(epoch from '2026-07-24 12:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702851 -2.711535)'), GeomFromEWKT('SRID=4674;POINT (-39.702882 -2.711522)'))) / (select extract(epoch from '2026-07-24 12:31:49'::timestamp) - extract(epoch from '2026-07-24 12:31:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702909 -2.711494)', '2026-07-24 12:31:58', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702882 -2.711522)'), GeomFromEWKT('SRID=4674;POINT (-39.702909 -2.711494)'))) / (select extract(epoch from '2026-07-24 12:31:58'::timestamp) - extract(epoch from '2026-07-24 12:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702882 -2.711522)'), GeomFromEWKT('SRID=4674;POINT (-39.702909 -2.711494)'))) / (select extract(epoch from '2026-07-24 12:31:58'::timestamp) - extract(epoch from '2026-07-24 12:31:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702926 -2.71147)', '2026-07-24 12:32:06', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702909 -2.711494)'), GeomFromEWKT('SRID=4674;POINT (-39.702926 -2.71147)'))) / (select extract(epoch from '2026-07-24 12:32:06'::timestamp) - extract(epoch from '2026-07-24 12:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702909 -2.711494)'), GeomFromEWKT('SRID=4674;POINT (-39.702926 -2.71147)'))) / (select extract(epoch from '2026-07-24 12:32:06'::timestamp) - extract(epoch from '2026-07-24 12:31:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70295 -2.711441)', '2026-07-24 12:32:13', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702926 -2.71147)'), GeomFromEWKT('SRID=4674;POINT (-39.70295 -2.711441)'))) / (select extract(epoch from '2026-07-24 12:32:13'::timestamp) - extract(epoch from '2026-07-24 12:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702926 -2.71147)'), GeomFromEWKT('SRID=4674;POINT (-39.70295 -2.711441)'))) / (select extract(epoch from '2026-07-24 12:32:13'::timestamp) - extract(epoch from '2026-07-24 12:32:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702965 -2.711419)', '2026-07-24 12:32:19', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70295 -2.711441)'), GeomFromEWKT('SRID=4674;POINT (-39.702965 -2.711419)'))) / (select extract(epoch from '2026-07-24 12:32:19'::timestamp) - extract(epoch from '2026-07-24 12:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70295 -2.711441)'), GeomFromEWKT('SRID=4674;POINT (-39.702965 -2.711419)'))) / (select extract(epoch from '2026-07-24 12:32:19'::timestamp) - extract(epoch from '2026-07-24 12:32:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702978 -2.711413)', '2026-07-24 12:32:25', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702965 -2.711419)'), GeomFromEWKT('SRID=4674;POINT (-39.702978 -2.711413)'))) / (select extract(epoch from '2026-07-24 12:32:25'::timestamp) - extract(epoch from '2026-07-24 12:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702965 -2.711419)'), GeomFromEWKT('SRID=4674;POINT (-39.702978 -2.711413)'))) / (select extract(epoch from '2026-07-24 12:32:25'::timestamp) - extract(epoch from '2026-07-24 12:32:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703003 -2.711395)', '2026-07-24 12:32:30', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702978 -2.711413)'), GeomFromEWKT('SRID=4674;POINT (-39.703003 -2.711395)'))) / (select extract(epoch from '2026-07-24 12:32:30'::timestamp) - extract(epoch from '2026-07-24 12:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702978 -2.711413)'), GeomFromEWKT('SRID=4674;POINT (-39.703003 -2.711395)'))) / (select extract(epoch from '2026-07-24 12:32:30'::timestamp) - extract(epoch from '2026-07-24 12:32:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703024 -2.711373)', '2026-07-24 12:32:35', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703003 -2.711395)'), GeomFromEWKT('SRID=4674;POINT (-39.703024 -2.711373)'))) / (select extract(epoch from '2026-07-24 12:32:35'::timestamp) - extract(epoch from '2026-07-24 12:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703003 -2.711395)'), GeomFromEWKT('SRID=4674;POINT (-39.703024 -2.711373)'))) / (select extract(epoch from '2026-07-24 12:32:35'::timestamp) - extract(epoch from '2026-07-24 12:32:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703028 -2.711364)', '2026-07-24 12:32:36', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703024 -2.711373)'), GeomFromEWKT('SRID=4674;POINT (-39.703028 -2.711364)'))) / (select extract(epoch from '2026-07-24 12:32:36'::timestamp) - extract(epoch from '2026-07-24 12:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703024 -2.711373)'), GeomFromEWKT('SRID=4674;POINT (-39.703028 -2.711364)'))) / (select extract(epoch from '2026-07-24 12:32:36'::timestamp) - extract(epoch from '2026-07-24 12:32:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703012 -2.71133)', '2026-07-24 12:32:41', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703028 -2.711364)'), GeomFromEWKT('SRID=4674;POINT (-39.703012 -2.71133)'))) / (select extract(epoch from '2026-07-24 12:32:41'::timestamp) - extract(epoch from '2026-07-24 12:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703028 -2.711364)'), GeomFromEWKT('SRID=4674;POINT (-39.703012 -2.71133)'))) / (select extract(epoch from '2026-07-24 12:32:41'::timestamp) - extract(epoch from '2026-07-24 12:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70296 -2.711256)', '2026-07-24 12:32:49', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703012 -2.71133)'), GeomFromEWKT('SRID=4674;POINT (-39.70296 -2.711256)'))) / (select extract(epoch from '2026-07-24 12:32:49'::timestamp) - extract(epoch from '2026-07-24 12:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703012 -2.71133)'), GeomFromEWKT('SRID=4674;POINT (-39.70296 -2.711256)'))) / (select extract(epoch from '2026-07-24 12:32:49'::timestamp) - extract(epoch from '2026-07-24 12:32:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702928 -2.71122)', '2026-07-24 12:32:53', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70296 -2.711256)'), GeomFromEWKT('SRID=4674;POINT (-39.702928 -2.71122)'))) / (select extract(epoch from '2026-07-24 12:32:53'::timestamp) - extract(epoch from '2026-07-24 12:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70296 -2.711256)'), GeomFromEWKT('SRID=4674;POINT (-39.702928 -2.71122)'))) / (select extract(epoch from '2026-07-24 12:32:53'::timestamp) - extract(epoch from '2026-07-24 12:32:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702911 -2.711198)', '2026-07-24 12:32:55', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702928 -2.71122)'), GeomFromEWKT('SRID=4674;POINT (-39.702911 -2.711198)'))) / (select extract(epoch from '2026-07-24 12:32:55'::timestamp) - extract(epoch from '2026-07-24 12:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702928 -2.71122)'), GeomFromEWKT('SRID=4674;POINT (-39.702911 -2.711198)'))) / (select extract(epoch from '2026-07-24 12:32:55'::timestamp) - extract(epoch from '2026-07-24 12:32:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702853 -2.71115)', '2026-07-24 12:33:01', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702911 -2.711198)'), GeomFromEWKT('SRID=4674;POINT (-39.702853 -2.71115)'))) / (select extract(epoch from '2026-07-24 12:33:01'::timestamp) - extract(epoch from '2026-07-24 12:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702911 -2.711198)'), GeomFromEWKT('SRID=4674;POINT (-39.702853 -2.71115)'))) / (select extract(epoch from '2026-07-24 12:33:01'::timestamp) - extract(epoch from '2026-07-24 12:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702802 -2.711109)', '2026-07-24 12:33:06', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702853 -2.71115)'), GeomFromEWKT('SRID=4674;POINT (-39.702802 -2.711109)'))) / (select extract(epoch from '2026-07-24 12:33:06'::timestamp) - extract(epoch from '2026-07-24 12:33:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702853 -2.71115)'), GeomFromEWKT('SRID=4674;POINT (-39.702802 -2.711109)'))) / (select extract(epoch from '2026-07-24 12:33:06'::timestamp) - extract(epoch from '2026-07-24 12:33:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702782 -2.711096)', '2026-07-24 12:33:08', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702802 -2.711109)'), GeomFromEWKT('SRID=4674;POINT (-39.702782 -2.711096)'))) / (select extract(epoch from '2026-07-24 12:33:08'::timestamp) - extract(epoch from '2026-07-24 12:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702802 -2.711109)'), GeomFromEWKT('SRID=4674;POINT (-39.702782 -2.711096)'))) / (select extract(epoch from '2026-07-24 12:33:08'::timestamp) - extract(epoch from '2026-07-24 12:33:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702739 -2.711054)', '2026-07-24 12:33:13', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702782 -2.711096)'), GeomFromEWKT('SRID=4674;POINT (-39.702739 -2.711054)'))) / (select extract(epoch from '2026-07-24 12:33:13'::timestamp) - extract(epoch from '2026-07-24 12:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702782 -2.711096)'), GeomFromEWKT('SRID=4674;POINT (-39.702739 -2.711054)'))) / (select extract(epoch from '2026-07-24 12:33:13'::timestamp) - extract(epoch from '2026-07-24 12:33:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702726 -2.71105)', '2026-07-24 12:33:14', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702739 -2.711054)'), GeomFromEWKT('SRID=4674;POINT (-39.702726 -2.71105)'))) / (select extract(epoch from '2026-07-24 12:33:14'::timestamp) - extract(epoch from '2026-07-24 12:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702739 -2.711054)'), GeomFromEWKT('SRID=4674;POINT (-39.702726 -2.71105)'))) / (select extract(epoch from '2026-07-24 12:33:14'::timestamp) - extract(epoch from '2026-07-24 12:33:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702662 -2.71102)', '2026-07-24 12:33:19', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702726 -2.71105)'), GeomFromEWKT('SRID=4674;POINT (-39.702662 -2.71102)'))) / (select extract(epoch from '2026-07-24 12:33:19'::timestamp) - extract(epoch from '2026-07-24 12:33:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702726 -2.71105)'), GeomFromEWKT('SRID=4674;POINT (-39.702662 -2.71102)'))) / (select extract(epoch from '2026-07-24 12:33:19'::timestamp) - extract(epoch from '2026-07-24 12:33:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702647 -2.711015)', '2026-07-24 12:33:20', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702662 -2.71102)'), GeomFromEWKT('SRID=4674;POINT (-39.702647 -2.711015)'))) / (select extract(epoch from '2026-07-24 12:33:20'::timestamp) - extract(epoch from '2026-07-24 12:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702662 -2.71102)'), GeomFromEWKT('SRID=4674;POINT (-39.702647 -2.711015)'))) / (select extract(epoch from '2026-07-24 12:33:20'::timestamp) - extract(epoch from '2026-07-24 12:33:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702552 -2.710967)', '2026-07-24 12:33:27', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702647 -2.711015)'), GeomFromEWKT('SRID=4674;POINT (-39.702552 -2.710967)'))) / (select extract(epoch from '2026-07-24 12:33:27'::timestamp) - extract(epoch from '2026-07-24 12:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702647 -2.711015)'), GeomFromEWKT('SRID=4674;POINT (-39.702552 -2.710967)'))) / (select extract(epoch from '2026-07-24 12:33:27'::timestamp) - extract(epoch from '2026-07-24 12:33:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702454 -2.710902)', '2026-07-24 12:33:34', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702552 -2.710967)'), GeomFromEWKT('SRID=4674;POINT (-39.702454 -2.710902)'))) / (select extract(epoch from '2026-07-24 12:33:34'::timestamp) - extract(epoch from '2026-07-24 12:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702552 -2.710967)'), GeomFromEWKT('SRID=4674;POINT (-39.702454 -2.710902)'))) / (select extract(epoch from '2026-07-24 12:33:34'::timestamp) - extract(epoch from '2026-07-24 12:33:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702385 -2.710836)', '2026-07-24 12:33:40', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702454 -2.710902)'), GeomFromEWKT('SRID=4674;POINT (-39.702385 -2.710836)'))) / (select extract(epoch from '2026-07-24 12:33:40'::timestamp) - extract(epoch from '2026-07-24 12:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702454 -2.710902)'), GeomFromEWKT('SRID=4674;POINT (-39.702385 -2.710836)'))) / (select extract(epoch from '2026-07-24 12:33:40'::timestamp) - extract(epoch from '2026-07-24 12:33:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702368 -2.710811)', '2026-07-24 12:33:42', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702385 -2.710836)'), GeomFromEWKT('SRID=4674;POINT (-39.702368 -2.710811)'))) / (select extract(epoch from '2026-07-24 12:33:42'::timestamp) - extract(epoch from '2026-07-24 12:33:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702385 -2.710836)'), GeomFromEWKT('SRID=4674;POINT (-39.702368 -2.710811)'))) / (select extract(epoch from '2026-07-24 12:33:42'::timestamp) - extract(epoch from '2026-07-24 12:33:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702318 -2.710733)', '2026-07-24 12:33:48', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702368 -2.710811)'), GeomFromEWKT('SRID=4674;POINT (-39.702318 -2.710733)'))) / (select extract(epoch from '2026-07-24 12:33:48'::timestamp) - extract(epoch from '2026-07-24 12:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702368 -2.710811)'), GeomFromEWKT('SRID=4674;POINT (-39.702318 -2.710733)'))) / (select extract(epoch from '2026-07-24 12:33:48'::timestamp) - extract(epoch from '2026-07-24 12:33:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702287 -2.710647)', '2026-07-24 12:33:54', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702318 -2.710733)'), GeomFromEWKT('SRID=4674;POINT (-39.702287 -2.710647)'))) / (select extract(epoch from '2026-07-24 12:33:54'::timestamp) - extract(epoch from '2026-07-24 12:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702318 -2.710733)'), GeomFromEWKT('SRID=4674;POINT (-39.702287 -2.710647)'))) / (select extract(epoch from '2026-07-24 12:33:54'::timestamp) - extract(epoch from '2026-07-24 12:33:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70225 -2.710527)', '2026-07-24 12:34:01', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702287 -2.710647)'), GeomFromEWKT('SRID=4674;POINT (-39.70225 -2.710527)'))) / (select extract(epoch from '2026-07-24 12:34:01'::timestamp) - extract(epoch from '2026-07-24 12:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702287 -2.710647)'), GeomFromEWKT('SRID=4674;POINT (-39.70225 -2.710527)'))) / (select extract(epoch from '2026-07-24 12:34:01'::timestamp) - extract(epoch from '2026-07-24 12:33:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702226 -2.710448)', '2026-07-24 12:34:07', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70225 -2.710527)'), GeomFromEWKT('SRID=4674;POINT (-39.702226 -2.710448)'))) / (select extract(epoch from '2026-07-24 12:34:07'::timestamp) - extract(epoch from '2026-07-24 12:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70225 -2.710527)'), GeomFromEWKT('SRID=4674;POINT (-39.702226 -2.710448)'))) / (select extract(epoch from '2026-07-24 12:34:07'::timestamp) - extract(epoch from '2026-07-24 12:34:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702214 -2.710408)', '2026-07-24 12:34:14', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702226 -2.710448)'), GeomFromEWKT('SRID=4674;POINT (-39.702214 -2.710408)'))) / (select extract(epoch from '2026-07-24 12:34:14'::timestamp) - extract(epoch from '2026-07-24 12:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702226 -2.710448)'), GeomFromEWKT('SRID=4674;POINT (-39.702214 -2.710408)'))) / (select extract(epoch from '2026-07-24 12:34:14'::timestamp) - extract(epoch from '2026-07-24 12:34:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702224 -2.710378)', '2026-07-24 12:34:20', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702214 -2.710408)'), GeomFromEWKT('SRID=4674;POINT (-39.702224 -2.710378)'))) / (select extract(epoch from '2026-07-24 12:34:20'::timestamp) - extract(epoch from '2026-07-24 12:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702214 -2.710408)'), GeomFromEWKT('SRID=4674;POINT (-39.702224 -2.710378)'))) / (select extract(epoch from '2026-07-24 12:34:20'::timestamp) - extract(epoch from '2026-07-24 12:34:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702242 -2.71034)', '2026-07-24 12:34:29', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702224 -2.710378)'), GeomFromEWKT('SRID=4674;POINT (-39.702242 -2.71034)'))) / (select extract(epoch from '2026-07-24 12:34:29'::timestamp) - extract(epoch from '2026-07-24 12:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702224 -2.710378)'), GeomFromEWKT('SRID=4674;POINT (-39.702242 -2.71034)'))) / (select extract(epoch from '2026-07-24 12:34:29'::timestamp) - extract(epoch from '2026-07-24 12:34:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702264 -2.710318)', '2026-07-24 12:34:35', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702242 -2.71034)'), GeomFromEWKT('SRID=4674;POINT (-39.702264 -2.710318)'))) / (select extract(epoch from '2026-07-24 12:34:35'::timestamp) - extract(epoch from '2026-07-24 12:34:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702242 -2.71034)'), GeomFromEWKT('SRID=4674;POINT (-39.702264 -2.710318)'))) / (select extract(epoch from '2026-07-24 12:34:35'::timestamp) - extract(epoch from '2026-07-24 12:34:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702287 -2.710304)', '2026-07-24 12:34:41', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702264 -2.710318)'), GeomFromEWKT('SRID=4674;POINT (-39.702287 -2.710304)'))) / (select extract(epoch from '2026-07-24 12:34:41'::timestamp) - extract(epoch from '2026-07-24 12:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702264 -2.710318)'), GeomFromEWKT('SRID=4674;POINT (-39.702287 -2.710304)'))) / (select extract(epoch from '2026-07-24 12:34:41'::timestamp) - extract(epoch from '2026-07-24 12:34:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702326 -2.710284)', '2026-07-24 12:34:49', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702287 -2.710304)'), GeomFromEWKT('SRID=4674;POINT (-39.702326 -2.710284)'))) / (select extract(epoch from '2026-07-24 12:34:49'::timestamp) - extract(epoch from '2026-07-24 12:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702287 -2.710304)'), GeomFromEWKT('SRID=4674;POINT (-39.702326 -2.710284)'))) / (select extract(epoch from '2026-07-24 12:34:49'::timestamp) - extract(epoch from '2026-07-24 12:34:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702347 -2.710268)', '2026-07-24 12:34:53', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702326 -2.710284)'), GeomFromEWKT('SRID=4674;POINT (-39.702347 -2.710268)'))) / (select extract(epoch from '2026-07-24 12:34:53'::timestamp) - extract(epoch from '2026-07-24 12:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702326 -2.710284)'), GeomFromEWKT('SRID=4674;POINT (-39.702347 -2.710268)'))) / (select extract(epoch from '2026-07-24 12:34:53'::timestamp) - extract(epoch from '2026-07-24 12:34:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702372 -2.710254)', '2026-07-24 12:34:56', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702347 -2.710268)'), GeomFromEWKT('SRID=4674;POINT (-39.702372 -2.710254)'))) / (select extract(epoch from '2026-07-24 12:34:56'::timestamp) - extract(epoch from '2026-07-24 12:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702347 -2.710268)'), GeomFromEWKT('SRID=4674;POINT (-39.702372 -2.710254)'))) / (select extract(epoch from '2026-07-24 12:34:56'::timestamp) - extract(epoch from '2026-07-24 12:34:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702424 -2.710226)', '2026-07-24 12:35:05', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702372 -2.710254)'), GeomFromEWKT('SRID=4674;POINT (-39.702424 -2.710226)'))) / (select extract(epoch from '2026-07-24 12:35:05'::timestamp) - extract(epoch from '2026-07-24 12:34:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702372 -2.710254)'), GeomFromEWKT('SRID=4674;POINT (-39.702424 -2.710226)'))) / (select extract(epoch from '2026-07-24 12:35:05'::timestamp) - extract(epoch from '2026-07-24 12:34:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702462 -2.710208)', '2026-07-24 12:35:12', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702424 -2.710226)'), GeomFromEWKT('SRID=4674;POINT (-39.702462 -2.710208)'))) / (select extract(epoch from '2026-07-24 12:35:12'::timestamp) - extract(epoch from '2026-07-24 12:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702424 -2.710226)'), GeomFromEWKT('SRID=4674;POINT (-39.702462 -2.710208)'))) / (select extract(epoch from '2026-07-24 12:35:12'::timestamp) - extract(epoch from '2026-07-24 12:35:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702517 -2.710174)', '2026-07-24 12:35:23', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702462 -2.710208)'), GeomFromEWKT('SRID=4674;POINT (-39.702517 -2.710174)'))) / (select extract(epoch from '2026-07-24 12:35:23'::timestamp) - extract(epoch from '2026-07-24 12:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702462 -2.710208)'), GeomFromEWKT('SRID=4674;POINT (-39.702517 -2.710174)'))) / (select extract(epoch from '2026-07-24 12:35:23'::timestamp) - extract(epoch from '2026-07-24 12:35:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702543 -2.710146)', '2026-07-24 12:35:33', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702517 -2.710174)'), GeomFromEWKT('SRID=4674;POINT (-39.702543 -2.710146)'))) / (select extract(epoch from '2026-07-24 12:35:33'::timestamp) - extract(epoch from '2026-07-24 12:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702517 -2.710174)'), GeomFromEWKT('SRID=4674;POINT (-39.702543 -2.710146)'))) / (select extract(epoch from '2026-07-24 12:35:33'::timestamp) - extract(epoch from '2026-07-24 12:35:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702563 -2.710124)', '2026-07-24 12:35:40', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702543 -2.710146)'), GeomFromEWKT('SRID=4674;POINT (-39.702563 -2.710124)'))) / (select extract(epoch from '2026-07-24 12:35:40'::timestamp) - extract(epoch from '2026-07-24 12:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702543 -2.710146)'), GeomFromEWKT('SRID=4674;POINT (-39.702563 -2.710124)'))) / (select extract(epoch from '2026-07-24 12:35:40'::timestamp) - extract(epoch from '2026-07-24 12:35:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702595 -2.710105)', '2026-07-24 12:35:48', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702563 -2.710124)'), GeomFromEWKT('SRID=4674;POINT (-39.702595 -2.710105)'))) / (select extract(epoch from '2026-07-24 12:35:48'::timestamp) - extract(epoch from '2026-07-24 12:35:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702563 -2.710124)'), GeomFromEWKT('SRID=4674;POINT (-39.702595 -2.710105)'))) / (select extract(epoch from '2026-07-24 12:35:48'::timestamp) - extract(epoch from '2026-07-24 12:35:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702613 -2.710101)', '2026-07-24 12:35:54', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702595 -2.710105)'), GeomFromEWKT('SRID=4674;POINT (-39.702613 -2.710101)'))) / (select extract(epoch from '2026-07-24 12:35:54'::timestamp) - extract(epoch from '2026-07-24 12:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702595 -2.710105)'), GeomFromEWKT('SRID=4674;POINT (-39.702613 -2.710101)'))) / (select extract(epoch from '2026-07-24 12:35:54'::timestamp) - extract(epoch from '2026-07-24 12:35:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702647 -2.71016)', '2026-07-24 12:36:26', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702613 -2.710101)'), GeomFromEWKT('SRID=4674;POINT (-39.702647 -2.71016)'))) / (select extract(epoch from '2026-07-24 12:36:26'::timestamp) - extract(epoch from '2026-07-24 12:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702613 -2.710101)'), GeomFromEWKT('SRID=4674;POINT (-39.702647 -2.71016)'))) / (select extract(epoch from '2026-07-24 12:36:26'::timestamp) - extract(epoch from '2026-07-24 12:35:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702676 -2.710166)', '2026-07-24 12:36:35', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702647 -2.71016)'), GeomFromEWKT('SRID=4674;POINT (-39.702676 -2.710166)'))) / (select extract(epoch from '2026-07-24 12:36:35'::timestamp) - extract(epoch from '2026-07-24 12:36:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702647 -2.71016)'), GeomFromEWKT('SRID=4674;POINT (-39.702676 -2.710166)'))) / (select extract(epoch from '2026-07-24 12:36:35'::timestamp) - extract(epoch from '2026-07-24 12:36:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702722 -2.710147)', '2026-07-24 12:36:56', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702676 -2.710166)'), GeomFromEWKT('SRID=4674;POINT (-39.702722 -2.710147)'))) / (select extract(epoch from '2026-07-24 12:36:56'::timestamp) - extract(epoch from '2026-07-24 12:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702676 -2.710166)'), GeomFromEWKT('SRID=4674;POINT (-39.702722 -2.710147)'))) / (select extract(epoch from '2026-07-24 12:36:56'::timestamp) - extract(epoch from '2026-07-24 12:36:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702761 -2.710124)', '2026-07-24 12:37:05', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702722 -2.710147)'), GeomFromEWKT('SRID=4674;POINT (-39.702761 -2.710124)'))) / (select extract(epoch from '2026-07-24 12:37:05'::timestamp) - extract(epoch from '2026-07-24 12:36:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702722 -2.710147)'), GeomFromEWKT('SRID=4674;POINT (-39.702761 -2.710124)'))) / (select extract(epoch from '2026-07-24 12:37:05'::timestamp) - extract(epoch from '2026-07-24 12:36:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702763 -2.710094)', '2026-07-24 12:37:12', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702761 -2.710124)'), GeomFromEWKT('SRID=4674;POINT (-39.702763 -2.710094)'))) / (select extract(epoch from '2026-07-24 12:37:12'::timestamp) - extract(epoch from '2026-07-24 12:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702761 -2.710124)'), GeomFromEWKT('SRID=4674;POINT (-39.702763 -2.710094)'))) / (select extract(epoch from '2026-07-24 12:37:12'::timestamp) - extract(epoch from '2026-07-24 12:37:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702756 -2.710078)', '2026-07-24 12:37:14', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702763 -2.710094)'), GeomFromEWKT('SRID=4674;POINT (-39.702756 -2.710078)'))) / (select extract(epoch from '2026-07-24 12:37:14'::timestamp) - extract(epoch from '2026-07-24 12:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702763 -2.710094)'), GeomFromEWKT('SRID=4674;POINT (-39.702756 -2.710078)'))) / (select extract(epoch from '2026-07-24 12:37:14'::timestamp) - extract(epoch from '2026-07-24 12:37:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702723 -2.71004)', '2026-07-24 12:37:18', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702756 -2.710078)'), GeomFromEWKT('SRID=4674;POINT (-39.702723 -2.71004)'))) / (select extract(epoch from '2026-07-24 12:37:18'::timestamp) - extract(epoch from '2026-07-24 12:37:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702756 -2.710078)'), GeomFromEWKT('SRID=4674;POINT (-39.702723 -2.71004)'))) / (select extract(epoch from '2026-07-24 12:37:18'::timestamp) - extract(epoch from '2026-07-24 12:37:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702662 -2.709995)', '2026-07-24 12:37:23', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702723 -2.71004)'), GeomFromEWKT('SRID=4674;POINT (-39.702662 -2.709995)'))) / (select extract(epoch from '2026-07-24 12:37:23'::timestamp) - extract(epoch from '2026-07-24 12:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702723 -2.71004)'), GeomFromEWKT('SRID=4674;POINT (-39.702662 -2.709995)'))) / (select extract(epoch from '2026-07-24 12:37:23'::timestamp) - extract(epoch from '2026-07-24 12:37:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702646 -2.709989)', '2026-07-24 12:37:24', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702662 -2.709995)'), GeomFromEWKT('SRID=4674;POINT (-39.702646 -2.709989)'))) / (select extract(epoch from '2026-07-24 12:37:24'::timestamp) - extract(epoch from '2026-07-24 12:37:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702662 -2.709995)'), GeomFromEWKT('SRID=4674;POINT (-39.702646 -2.709989)'))) / (select extract(epoch from '2026-07-24 12:37:24'::timestamp) - extract(epoch from '2026-07-24 12:37:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702558 -2.709956)', '2026-07-24 12:37:30', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702646 -2.709989)'), GeomFromEWKT('SRID=4674;POINT (-39.702558 -2.709956)'))) / (select extract(epoch from '2026-07-24 12:37:30'::timestamp) - extract(epoch from '2026-07-24 12:37:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702646 -2.709989)'), GeomFromEWKT('SRID=4674;POINT (-39.702558 -2.709956)'))) / (select extract(epoch from '2026-07-24 12:37:30'::timestamp) - extract(epoch from '2026-07-24 12:37:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702472 -2.709908)', '2026-07-24 12:37:36', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702558 -2.709956)'), GeomFromEWKT('SRID=4674;POINT (-39.702472 -2.709908)'))) / (select extract(epoch from '2026-07-24 12:37:36'::timestamp) - extract(epoch from '2026-07-24 12:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702558 -2.709956)'), GeomFromEWKT('SRID=4674;POINT (-39.702472 -2.709908)'))) / (select extract(epoch from '2026-07-24 12:37:36'::timestamp) - extract(epoch from '2026-07-24 12:37:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702375 -2.709856)', '2026-07-24 12:37:42', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702472 -2.709908)'), GeomFromEWKT('SRID=4674;POINT (-39.702375 -2.709856)'))) / (select extract(epoch from '2026-07-24 12:37:42'::timestamp) - extract(epoch from '2026-07-24 12:37:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702472 -2.709908)'), GeomFromEWKT('SRID=4674;POINT (-39.702375 -2.709856)'))) / (select extract(epoch from '2026-07-24 12:37:42'::timestamp) - extract(epoch from '2026-07-24 12:37:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702277 -2.709812)', '2026-07-24 12:37:48', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702375 -2.709856)'), GeomFromEWKT('SRID=4674;POINT (-39.702277 -2.709812)'))) / (select extract(epoch from '2026-07-24 12:37:48'::timestamp) - extract(epoch from '2026-07-24 12:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702375 -2.709856)'), GeomFromEWKT('SRID=4674;POINT (-39.702277 -2.709812)'))) / (select extract(epoch from '2026-07-24 12:37:48'::timestamp) - extract(epoch from '2026-07-24 12:37:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702158 -2.709761)', '2026-07-24 12:37:55', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702277 -2.709812)'), GeomFromEWKT('SRID=4674;POINT (-39.702158 -2.709761)'))) / (select extract(epoch from '2026-07-24 12:37:55'::timestamp) - extract(epoch from '2026-07-24 12:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702277 -2.709812)'), GeomFromEWKT('SRID=4674;POINT (-39.702158 -2.709761)'))) / (select extract(epoch from '2026-07-24 12:37:55'::timestamp) - extract(epoch from '2026-07-24 12:37:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702017 -2.709749)', '2026-07-24 12:38:03', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702158 -2.709761)'), GeomFromEWKT('SRID=4674;POINT (-39.702017 -2.709749)'))) / (select extract(epoch from '2026-07-24 12:38:03'::timestamp) - extract(epoch from '2026-07-24 12:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702158 -2.709761)'), GeomFromEWKT('SRID=4674;POINT (-39.702017 -2.709749)'))) / (select extract(epoch from '2026-07-24 12:38:03'::timestamp) - extract(epoch from '2026-07-24 12:37:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701917 -2.709761)', '2026-07-24 12:38:09', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702017 -2.709749)'), GeomFromEWKT('SRID=4674;POINT (-39.701917 -2.709761)'))) / (select extract(epoch from '2026-07-24 12:38:09'::timestamp) - extract(epoch from '2026-07-24 12:38:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702017 -2.709749)'), GeomFromEWKT('SRID=4674;POINT (-39.701917 -2.709761)'))) / (select extract(epoch from '2026-07-24 12:38:09'::timestamp) - extract(epoch from '2026-07-24 12:38:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70179 -2.709743)', '2026-07-24 12:38:16', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701917 -2.709761)'), GeomFromEWKT('SRID=4674;POINT (-39.70179 -2.709743)'))) / (select extract(epoch from '2026-07-24 12:38:16'::timestamp) - extract(epoch from '2026-07-24 12:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701917 -2.709761)'), GeomFromEWKT('SRID=4674;POINT (-39.70179 -2.709743)'))) / (select extract(epoch from '2026-07-24 12:38:16'::timestamp) - extract(epoch from '2026-07-24 12:38:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701699 -2.709714)', '2026-07-24 12:38:21', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70179 -2.709743)'), GeomFromEWKT('SRID=4674;POINT (-39.701699 -2.709714)'))) / (select extract(epoch from '2026-07-24 12:38:21'::timestamp) - extract(epoch from '2026-07-24 12:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70179 -2.709743)'), GeomFromEWKT('SRID=4674;POINT (-39.701699 -2.709714)'))) / (select extract(epoch from '2026-07-24 12:38:21'::timestamp) - extract(epoch from '2026-07-24 12:38:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701577 -2.709663)', '2026-07-24 12:38:28', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701699 -2.709714)'), GeomFromEWKT('SRID=4674;POINT (-39.701577 -2.709663)'))) / (select extract(epoch from '2026-07-24 12:38:28'::timestamp) - extract(epoch from '2026-07-24 12:38:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701699 -2.709714)'), GeomFromEWKT('SRID=4674;POINT (-39.701577 -2.709663)'))) / (select extract(epoch from '2026-07-24 12:38:28'::timestamp) - extract(epoch from '2026-07-24 12:38:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701464 -2.709636)', '2026-07-24 12:38:35', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701577 -2.709663)'), GeomFromEWKT('SRID=4674;POINT (-39.701464 -2.709636)'))) / (select extract(epoch from '2026-07-24 12:38:35'::timestamp) - extract(epoch from '2026-07-24 12:38:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701577 -2.709663)'), GeomFromEWKT('SRID=4674;POINT (-39.701464 -2.709636)'))) / (select extract(epoch from '2026-07-24 12:38:35'::timestamp) - extract(epoch from '2026-07-24 12:38:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701415 -2.709647)', '2026-07-24 12:38:41', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701464 -2.709636)'), GeomFromEWKT('SRID=4674;POINT (-39.701415 -2.709647)'))) / (select extract(epoch from '2026-07-24 12:38:41'::timestamp) - extract(epoch from '2026-07-24 12:38:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701464 -2.709636)'), GeomFromEWKT('SRID=4674;POINT (-39.701415 -2.709647)'))) / (select extract(epoch from '2026-07-24 12:38:41'::timestamp) - extract(epoch from '2026-07-24 12:38:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701403 -2.709644)', '2026-07-24 12:38:49', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701415 -2.709647)'), GeomFromEWKT('SRID=4674;POINT (-39.701403 -2.709644)'))) / (select extract(epoch from '2026-07-24 12:38:49'::timestamp) - extract(epoch from '2026-07-24 12:38:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701415 -2.709647)'), GeomFromEWKT('SRID=4674;POINT (-39.701403 -2.709644)'))) / (select extract(epoch from '2026-07-24 12:38:49'::timestamp) - extract(epoch from '2026-07-24 12:38:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701382 -2.709615)', '2026-07-24 12:38:55', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701403 -2.709644)'), GeomFromEWKT('SRID=4674;POINT (-39.701382 -2.709615)'))) / (select extract(epoch from '2026-07-24 12:38:55'::timestamp) - extract(epoch from '2026-07-24 12:38:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701403 -2.709644)'), GeomFromEWKT('SRID=4674;POINT (-39.701382 -2.709615)'))) / (select extract(epoch from '2026-07-24 12:38:55'::timestamp) - extract(epoch from '2026-07-24 12:38:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701389 -2.709577)', '2026-07-24 12:39:04', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701382 -2.709615)'), GeomFromEWKT('SRID=4674;POINT (-39.701389 -2.709577)'))) / (select extract(epoch from '2026-07-24 12:39:04'::timestamp) - extract(epoch from '2026-07-24 12:38:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701382 -2.709615)'), GeomFromEWKT('SRID=4674;POINT (-39.701389 -2.709577)'))) / (select extract(epoch from '2026-07-24 12:39:04'::timestamp) - extract(epoch from '2026-07-24 12:38:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701404 -2.709554)', '2026-07-24 12:39:10', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701389 -2.709577)'), GeomFromEWKT('SRID=4674;POINT (-39.701404 -2.709554)'))) / (select extract(epoch from '2026-07-24 12:39:10'::timestamp) - extract(epoch from '2026-07-24 12:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701389 -2.709577)'), GeomFromEWKT('SRID=4674;POINT (-39.701404 -2.709554)'))) / (select extract(epoch from '2026-07-24 12:39:10'::timestamp) - extract(epoch from '2026-07-24 12:39:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70147 -2.709503)', '2026-07-24 12:39:23', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701404 -2.709554)'), GeomFromEWKT('SRID=4674;POINT (-39.70147 -2.709503)'))) / (select extract(epoch from '2026-07-24 12:39:23'::timestamp) - extract(epoch from '2026-07-24 12:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701404 -2.709554)'), GeomFromEWKT('SRID=4674;POINT (-39.70147 -2.709503)'))) / (select extract(epoch from '2026-07-24 12:39:23'::timestamp) - extract(epoch from '2026-07-24 12:39:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701526 -2.709473)', '2026-07-24 12:39:34', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70147 -2.709503)'), GeomFromEWKT('SRID=4674;POINT (-39.701526 -2.709473)'))) / (select extract(epoch from '2026-07-24 12:39:34'::timestamp) - extract(epoch from '2026-07-24 12:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70147 -2.709503)'), GeomFromEWKT('SRID=4674;POINT (-39.701526 -2.709473)'))) / (select extract(epoch from '2026-07-24 12:39:34'::timestamp) - extract(epoch from '2026-07-24 12:39:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701564 -2.709438)', '2026-07-24 12:39:45', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701526 -2.709473)'), GeomFromEWKT('SRID=4674;POINT (-39.701564 -2.709438)'))) / (select extract(epoch from '2026-07-24 12:39:45'::timestamp) - extract(epoch from '2026-07-24 12:39:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701526 -2.709473)'), GeomFromEWKT('SRID=4674;POINT (-39.701564 -2.709438)'))) / (select extract(epoch from '2026-07-24 12:39:45'::timestamp) - extract(epoch from '2026-07-24 12:39:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701578 -2.709418)', '2026-07-24 12:39:51', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701564 -2.709438)'), GeomFromEWKT('SRID=4674;POINT (-39.701578 -2.709418)'))) / (select extract(epoch from '2026-07-24 12:39:51'::timestamp) - extract(epoch from '2026-07-24 12:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701564 -2.709438)'), GeomFromEWKT('SRID=4674;POINT (-39.701578 -2.709418)'))) / (select extract(epoch from '2026-07-24 12:39:51'::timestamp) - extract(epoch from '2026-07-24 12:39:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701607 -2.709401)', '2026-07-24 12:39:59', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701578 -2.709418)'), GeomFromEWKT('SRID=4674;POINT (-39.701607 -2.709401)'))) / (select extract(epoch from '2026-07-24 12:39:59'::timestamp) - extract(epoch from '2026-07-24 12:39:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701578 -2.709418)'), GeomFromEWKT('SRID=4674;POINT (-39.701607 -2.709401)'))) / (select extract(epoch from '2026-07-24 12:39:59'::timestamp) - extract(epoch from '2026-07-24 12:39:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701638 -2.709391)', '2026-07-24 12:40:10', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701607 -2.709401)'), GeomFromEWKT('SRID=4674;POINT (-39.701638 -2.709391)'))) / (select extract(epoch from '2026-07-24 12:40:10'::timestamp) - extract(epoch from '2026-07-24 12:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701607 -2.709401)'), GeomFromEWKT('SRID=4674;POINT (-39.701638 -2.709391)'))) / (select extract(epoch from '2026-07-24 12:40:10'::timestamp) - extract(epoch from '2026-07-24 12:39:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701641 -2.709388)', '2026-07-24 12:40:21', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701638 -2.709391)'), GeomFromEWKT('SRID=4674;POINT (-39.701641 -2.709388)'))) / (select extract(epoch from '2026-07-24 12:40:21'::timestamp) - extract(epoch from '2026-07-24 12:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701638 -2.709391)'), GeomFromEWKT('SRID=4674;POINT (-39.701641 -2.709388)'))) / (select extract(epoch from '2026-07-24 12:40:21'::timestamp) - extract(epoch from '2026-07-24 12:40:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701683 -2.70934)', '2026-07-24 12:40:30', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701641 -2.709388)'), GeomFromEWKT('SRID=4674;POINT (-39.701683 -2.70934)'))) / (select extract(epoch from '2026-07-24 12:40:30'::timestamp) - extract(epoch from '2026-07-24 12:40:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701641 -2.709388)'), GeomFromEWKT('SRID=4674;POINT (-39.701683 -2.70934)'))) / (select extract(epoch from '2026-07-24 12:40:30'::timestamp) - extract(epoch from '2026-07-24 12:40:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701719 -2.70929)', '2026-07-24 12:40:40', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701683 -2.70934)'), GeomFromEWKT('SRID=4674;POINT (-39.701719 -2.70929)'))) / (select extract(epoch from '2026-07-24 12:40:40'::timestamp) - extract(epoch from '2026-07-24 12:40:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701683 -2.70934)'), GeomFromEWKT('SRID=4674;POINT (-39.701719 -2.70929)'))) / (select extract(epoch from '2026-07-24 12:40:40'::timestamp) - extract(epoch from '2026-07-24 12: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'), 47870, 'SRID=4674;POINT (-39.701685 -2.709239)', '2026-07-24 12:40:48', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701719 -2.70929)'), GeomFromEWKT('SRID=4674;POINT (-39.701685 -2.709239)'))) / (select extract(epoch from '2026-07-24 12:40:48'::timestamp) - extract(epoch from '2026-07-24 12:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701719 -2.70929)'), GeomFromEWKT('SRID=4674;POINT (-39.701685 -2.709239)'))) / (select extract(epoch from '2026-07-24 12:40:48'::timestamp) - extract(epoch from '2026-07-24 12: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'), 47870, 'SRID=4674;POINT (-39.701668 -2.709222)', '2026-07-24 12:40:50', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701685 -2.709239)'), GeomFromEWKT('SRID=4674;POINT (-39.701668 -2.709222)'))) / (select extract(epoch from '2026-07-24 12:40:50'::timestamp) - extract(epoch from '2026-07-24 12:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701685 -2.709239)'), GeomFromEWKT('SRID=4674;POINT (-39.701668 -2.709222)'))) / (select extract(epoch from '2026-07-24 12:40:50'::timestamp) - extract(epoch from '2026-07-24 12:40:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701629 -2.709177)', '2026-07-24 12:40:55', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701668 -2.709222)'), GeomFromEWKT('SRID=4674;POINT (-39.701629 -2.709177)'))) / (select extract(epoch from '2026-07-24 12:40:55'::timestamp) - extract(epoch from '2026-07-24 12:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701668 -2.709222)'), GeomFromEWKT('SRID=4674;POINT (-39.701629 -2.709177)'))) / (select extract(epoch from '2026-07-24 12:40:55'::timestamp) - extract(epoch from '2026-07-24 12: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'), 47870, 'SRID=4674;POINT (-39.701586 -2.709139)', '2026-07-24 12:40:59', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701629 -2.709177)'), GeomFromEWKT('SRID=4674;POINT (-39.701586 -2.709139)'))) / (select extract(epoch from '2026-07-24 12:40:59'::timestamp) - extract(epoch from '2026-07-24 12:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701629 -2.709177)'), GeomFromEWKT('SRID=4674;POINT (-39.701586 -2.709139)'))) / (select extract(epoch from '2026-07-24 12:40:59'::timestamp) - extract(epoch from '2026-07-24 12:40:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701561 -2.709124)', '2026-07-24 12:41:01', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701586 -2.709139)'), GeomFromEWKT('SRID=4674;POINT (-39.701561 -2.709124)'))) / (select extract(epoch from '2026-07-24 12:41:01'::timestamp) - extract(epoch from '2026-07-24 12:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701586 -2.709139)'), GeomFromEWKT('SRID=4674;POINT (-39.701561 -2.709124)'))) / (select extract(epoch from '2026-07-24 12:41:01'::timestamp) - extract(epoch from '2026-07-24 12:40:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701468 -2.709056)', '2026-07-24 12:41:08', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701561 -2.709124)'), GeomFromEWKT('SRID=4674;POINT (-39.701468 -2.709056)'))) / (select extract(epoch from '2026-07-24 12:41:08'::timestamp) - extract(epoch from '2026-07-24 12:41:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701561 -2.709124)'), GeomFromEWKT('SRID=4674;POINT (-39.701468 -2.709056)'))) / (select extract(epoch from '2026-07-24 12:41:08'::timestamp) - extract(epoch from '2026-07-24 12:41:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701366 -2.708999)', '2026-07-24 12:41:15', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701468 -2.709056)'), GeomFromEWKT('SRID=4674;POINT (-39.701366 -2.708999)'))) / (select extract(epoch from '2026-07-24 12:41:15'::timestamp) - extract(epoch from '2026-07-24 12:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701468 -2.709056)'), GeomFromEWKT('SRID=4674;POINT (-39.701366 -2.708999)'))) / (select extract(epoch from '2026-07-24 12:41:15'::timestamp) - extract(epoch from '2026-07-24 12:41:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701265 -2.708931)', '2026-07-24 12:41:22', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701366 -2.708999)'), GeomFromEWKT('SRID=4674;POINT (-39.701265 -2.708931)'))) / (select extract(epoch from '2026-07-24 12:41:22'::timestamp) - extract(epoch from '2026-07-24 12:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701366 -2.708999)'), GeomFromEWKT('SRID=4674;POINT (-39.701265 -2.708931)'))) / (select extract(epoch from '2026-07-24 12:41:22'::timestamp) - extract(epoch from '2026-07-24 12:41:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701142 -2.708859)', '2026-07-24 12:41:30', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701265 -2.708931)'), GeomFromEWKT('SRID=4674;POINT (-39.701142 -2.708859)'))) / (select extract(epoch from '2026-07-24 12:41:30'::timestamp) - extract(epoch from '2026-07-24 12:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701265 -2.708931)'), GeomFromEWKT('SRID=4674;POINT (-39.701142 -2.708859)'))) / (select extract(epoch from '2026-07-24 12:41:30'::timestamp) - extract(epoch from '2026-07-24 12:41:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701063 -2.708805)', '2026-07-24 12:41:36', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701142 -2.708859)'), GeomFromEWKT('SRID=4674;POINT (-39.701063 -2.708805)'))) / (select extract(epoch from '2026-07-24 12:41:36'::timestamp) - extract(epoch from '2026-07-24 12:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701142 -2.708859)'), GeomFromEWKT('SRID=4674;POINT (-39.701063 -2.708805)'))) / (select extract(epoch from '2026-07-24 12:41:36'::timestamp) - extract(epoch from '2026-07-24 12:41:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700984 -2.708747)', '2026-07-24 12:41:43', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701063 -2.708805)'), GeomFromEWKT('SRID=4674;POINT (-39.700984 -2.708747)'))) / (select extract(epoch from '2026-07-24 12:41:43'::timestamp) - extract(epoch from '2026-07-24 12:41:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701063 -2.708805)'), GeomFromEWKT('SRID=4674;POINT (-39.700984 -2.708747)'))) / (select extract(epoch from '2026-07-24 12:41:43'::timestamp) - extract(epoch from '2026-07-24 12: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'), 47870, 'SRID=4674;POINT (-39.700885 -2.708681)', '2026-07-24 12:41:51', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700984 -2.708747)'), GeomFromEWKT('SRID=4674;POINT (-39.700885 -2.708681)'))) / (select extract(epoch from '2026-07-24 12:41:51'::timestamp) - extract(epoch from '2026-07-24 12:41:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700984 -2.708747)'), GeomFromEWKT('SRID=4674;POINT (-39.700885 -2.708681)'))) / (select extract(epoch from '2026-07-24 12:41:51'::timestamp) - extract(epoch from '2026-07-24 12:41:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700825 -2.708633)', '2026-07-24 12:41:56', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700885 -2.708681)'), GeomFromEWKT('SRID=4674;POINT (-39.700825 -2.708633)'))) / (select extract(epoch from '2026-07-24 12:41:56'::timestamp) - extract(epoch from '2026-07-24 12:41:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700885 -2.708681)'), GeomFromEWKT('SRID=4674;POINT (-39.700825 -2.708633)'))) / (select extract(epoch from '2026-07-24 12:41:56'::timestamp) - extract(epoch from '2026-07-24 12:41:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70076 -2.708576)', '2026-07-24 12:42:02', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700825 -2.708633)'), GeomFromEWKT('SRID=4674;POINT (-39.70076 -2.708576)'))) / (select extract(epoch from '2026-07-24 12:42:02'::timestamp) - extract(epoch from '2026-07-24 12:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700825 -2.708633)'), GeomFromEWKT('SRID=4674;POINT (-39.70076 -2.708576)'))) / (select extract(epoch from '2026-07-24 12:42:02'::timestamp) - extract(epoch from '2026-07-24 12:41:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700703 -2.708541)', '2026-07-24 12:42:07', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70076 -2.708576)'), GeomFromEWKT('SRID=4674;POINT (-39.700703 -2.708541)'))) / (select extract(epoch from '2026-07-24 12:42:07'::timestamp) - extract(epoch from '2026-07-24 12:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70076 -2.708576)'), GeomFromEWKT('SRID=4674;POINT (-39.700703 -2.708541)'))) / (select extract(epoch from '2026-07-24 12:42:07'::timestamp) - extract(epoch from '2026-07-24 12:42:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700684 -2.70853)', '2026-07-24 12:42:09', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700703 -2.708541)'), GeomFromEWKT('SRID=4674;POINT (-39.700684 -2.70853)'))) / (select extract(epoch from '2026-07-24 12:42:09'::timestamp) - extract(epoch from '2026-07-24 12:42:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700703 -2.708541)'), GeomFromEWKT('SRID=4674;POINT (-39.700684 -2.70853)'))) / (select extract(epoch from '2026-07-24 12:42:09'::timestamp) - extract(epoch from '2026-07-24 12:42:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700661 -2.708519)', '2026-07-24 12:42:12', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700684 -2.70853)'), GeomFromEWKT('SRID=4674;POINT (-39.700661 -2.708519)'))) / (select extract(epoch from '2026-07-24 12:42:12'::timestamp) - extract(epoch from '2026-07-24 12:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700684 -2.70853)'), GeomFromEWKT('SRID=4674;POINT (-39.700661 -2.708519)'))) / (select extract(epoch from '2026-07-24 12:42:12'::timestamp) - extract(epoch from '2026-07-24 12:42:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700623 -2.708493)', '2026-07-24 12:42:18', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700661 -2.708519)'), GeomFromEWKT('SRID=4674;POINT (-39.700623 -2.708493)'))) / (select extract(epoch from '2026-07-24 12:42:18'::timestamp) - extract(epoch from '2026-07-24 12:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700661 -2.708519)'), GeomFromEWKT('SRID=4674;POINT (-39.700623 -2.708493)'))) / (select extract(epoch from '2026-07-24 12:42:18'::timestamp) - extract(epoch from '2026-07-24 12:42:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700624 -2.70845)', '2026-07-24 12:42:27', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700623 -2.708493)'), GeomFromEWKT('SRID=4674;POINT (-39.700624 -2.70845)'))) / (select extract(epoch from '2026-07-24 12:42:27'::timestamp) - extract(epoch from '2026-07-24 12:42:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700623 -2.708493)'), GeomFromEWKT('SRID=4674;POINT (-39.700624 -2.70845)'))) / (select extract(epoch from '2026-07-24 12:42:27'::timestamp) - extract(epoch from '2026-07-24 12:42:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700656 -2.708417)', '2026-07-24 12:42:36', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700624 -2.70845)'), GeomFromEWKT('SRID=4674;POINT (-39.700656 -2.708417)'))) / (select extract(epoch from '2026-07-24 12:42:36'::timestamp) - extract(epoch from '2026-07-24 12:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700624 -2.70845)'), GeomFromEWKT('SRID=4674;POINT (-39.700656 -2.708417)'))) / (select extract(epoch from '2026-07-24 12:42:36'::timestamp) - extract(epoch from '2026-07-24 12:42:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700681 -2.708392)', '2026-07-24 12:42:43', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700656 -2.708417)'), GeomFromEWKT('SRID=4674;POINT (-39.700681 -2.708392)'))) / (select extract(epoch from '2026-07-24 12:42:43'::timestamp) - extract(epoch from '2026-07-24 12:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700656 -2.708417)'), GeomFromEWKT('SRID=4674;POINT (-39.700681 -2.708392)'))) / (select extract(epoch from '2026-07-24 12:42:43'::timestamp) - extract(epoch from '2026-07-24 12:42:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700724 -2.708373)', '2026-07-24 12:42:50', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700681 -2.708392)'), GeomFromEWKT('SRID=4674;POINT (-39.700724 -2.708373)'))) / (select extract(epoch from '2026-07-24 12:42:50'::timestamp) - extract(epoch from '2026-07-24 12:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700681 -2.708392)'), GeomFromEWKT('SRID=4674;POINT (-39.700724 -2.708373)'))) / (select extract(epoch from '2026-07-24 12:42:50'::timestamp) - extract(epoch from '2026-07-24 12:42:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700753 -2.708357)', '2026-07-24 12:42:55', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700724 -2.708373)'), GeomFromEWKT('SRID=4674;POINT (-39.700753 -2.708357)'))) / (select extract(epoch from '2026-07-24 12:42:55'::timestamp) - extract(epoch from '2026-07-24 12:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700724 -2.708373)'), GeomFromEWKT('SRID=4674;POINT (-39.700753 -2.708357)'))) / (select extract(epoch from '2026-07-24 12:42:55'::timestamp) - extract(epoch from '2026-07-24 12:42:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700792 -2.708323)', '2026-07-24 12:43:04', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700753 -2.708357)'), GeomFromEWKT('SRID=4674;POINT (-39.700792 -2.708323)'))) / (select extract(epoch from '2026-07-24 12:43:04'::timestamp) - extract(epoch from '2026-07-24 12:42:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700753 -2.708357)'), GeomFromEWKT('SRID=4674;POINT (-39.700792 -2.708323)'))) / (select extract(epoch from '2026-07-24 12:43:04'::timestamp) - extract(epoch from '2026-07-24 12:42:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700813 -2.7083)', '2026-07-24 12:43:11', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700792 -2.708323)'), GeomFromEWKT('SRID=4674;POINT (-39.700813 -2.7083)'))) / (select extract(epoch from '2026-07-24 12:43:11'::timestamp) - extract(epoch from '2026-07-24 12:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700792 -2.708323)'), GeomFromEWKT('SRID=4674;POINT (-39.700813 -2.7083)'))) / (select extract(epoch from '2026-07-24 12:43:11'::timestamp) - extract(epoch from '2026-07-24 12:43:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700824 -2.708287)', '2026-07-24 12:43:18', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700813 -2.7083)'), GeomFromEWKT('SRID=4674;POINT (-39.700824 -2.708287)'))) / (select extract(epoch from '2026-07-24 12:43:18'::timestamp) - extract(epoch from '2026-07-24 12:43:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700813 -2.7083)'), GeomFromEWKT('SRID=4674;POINT (-39.700824 -2.708287)'))) / (select extract(epoch from '2026-07-24 12:43:18'::timestamp) - extract(epoch from '2026-07-24 12:43:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700853 -2.708273)', '2026-07-24 12:43:28', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700824 -2.708287)'), GeomFromEWKT('SRID=4674;POINT (-39.700853 -2.708273)'))) / (select extract(epoch from '2026-07-24 12:43:28'::timestamp) - extract(epoch from '2026-07-24 12:43:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700824 -2.708287)'), GeomFromEWKT('SRID=4674;POINT (-39.700853 -2.708273)'))) / (select extract(epoch from '2026-07-24 12:43:28'::timestamp) - extract(epoch from '2026-07-24 12:43:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700891 -2.708253)', '2026-07-24 12:43:37', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700853 -2.708273)'), GeomFromEWKT('SRID=4674;POINT (-39.700891 -2.708253)'))) / (select extract(epoch from '2026-07-24 12:43:37'::timestamp) - extract(epoch from '2026-07-24 12:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700853 -2.708273)'), GeomFromEWKT('SRID=4674;POINT (-39.700891 -2.708253)'))) / (select extract(epoch from '2026-07-24 12:43:37'::timestamp) - extract(epoch from '2026-07-24 12:43:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700922 -2.708244)', '2026-07-24 12:43:44', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700891 -2.708253)'), GeomFromEWKT('SRID=4674;POINT (-39.700922 -2.708244)'))) / (select extract(epoch from '2026-07-24 12:43:44'::timestamp) - extract(epoch from '2026-07-24 12:43:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700891 -2.708253)'), GeomFromEWKT('SRID=4674;POINT (-39.700922 -2.708244)'))) / (select extract(epoch from '2026-07-24 12:43:44'::timestamp) - extract(epoch from '2026-07-24 12:43:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700977 -2.708222)', '2026-07-24 12:43:53', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700922 -2.708244)'), GeomFromEWKT('SRID=4674;POINT (-39.700977 -2.708222)'))) / (select extract(epoch from '2026-07-24 12:43:53'::timestamp) - extract(epoch from '2026-07-24 12:43:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700922 -2.708244)'), GeomFromEWKT('SRID=4674;POINT (-39.700977 -2.708222)'))) / (select extract(epoch from '2026-07-24 12:43:53'::timestamp) - extract(epoch from '2026-07-24 12:43:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700997 -2.708169)', '2026-07-24 12:44:00', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700977 -2.708222)'), GeomFromEWKT('SRID=4674;POINT (-39.700997 -2.708169)'))) / (select extract(epoch from '2026-07-24 12:44:00'::timestamp) - extract(epoch from '2026-07-24 12:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700977 -2.708222)'), GeomFromEWKT('SRID=4674;POINT (-39.700997 -2.708169)'))) / (select extract(epoch from '2026-07-24 12:44:00'::timestamp) - extract(epoch from '2026-07-24 12:43:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700976 -2.708093)', '2026-07-24 12:44:07', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700997 -2.708169)'), GeomFromEWKT('SRID=4674;POINT (-39.700976 -2.708093)'))) / (select extract(epoch from '2026-07-24 12:44:07'::timestamp) - extract(epoch from '2026-07-24 12:44:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700997 -2.708169)'), GeomFromEWKT('SRID=4674;POINT (-39.700976 -2.708093)'))) / (select extract(epoch from '2026-07-24 12:44:07'::timestamp) - extract(epoch from '2026-07-24 12:44:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700966 -2.708072)', '2026-07-24 12:44:09', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700976 -2.708093)'), GeomFromEWKT('SRID=4674;POINT (-39.700966 -2.708072)'))) / (select extract(epoch from '2026-07-24 12:44:09'::timestamp) - extract(epoch from '2026-07-24 12:44:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700976 -2.708093)'), GeomFromEWKT('SRID=4674;POINT (-39.700966 -2.708072)'))) / (select extract(epoch from '2026-07-24 12:44:09'::timestamp) - extract(epoch from '2026-07-24 12:44:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700905 -2.708011)', '2026-07-24 12:44:15', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700966 -2.708072)'), GeomFromEWKT('SRID=4674;POINT (-39.700905 -2.708011)'))) / (select extract(epoch from '2026-07-24 12:44:15'::timestamp) - extract(epoch from '2026-07-24 12:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700966 -2.708072)'), GeomFromEWKT('SRID=4674;POINT (-39.700905 -2.708011)'))) / (select extract(epoch from '2026-07-24 12:44:15'::timestamp) - extract(epoch from '2026-07-24 12:44:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700847 -2.707937)', '2026-07-24 12:44:21', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700905 -2.708011)'), GeomFromEWKT('SRID=4674;POINT (-39.700847 -2.707937)'))) / (select extract(epoch from '2026-07-24 12:44:21'::timestamp) - extract(epoch from '2026-07-24 12:44:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700905 -2.708011)'), GeomFromEWKT('SRID=4674;POINT (-39.700847 -2.707937)'))) / (select extract(epoch from '2026-07-24 12:44:21'::timestamp) - extract(epoch from '2026-07-24 12:44:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700781 -2.70784)', '2026-07-24 12:44:28', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700847 -2.707937)'), GeomFromEWKT('SRID=4674;POINT (-39.700781 -2.70784)'))) / (select extract(epoch from '2026-07-24 12:44:28'::timestamp) - extract(epoch from '2026-07-24 12:44:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700847 -2.707937)'), GeomFromEWKT('SRID=4674;POINT (-39.700781 -2.70784)'))) / (select extract(epoch from '2026-07-24 12:44:28'::timestamp) - extract(epoch from '2026-07-24 12:44:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700703 -2.707773)', '2026-07-24 12:44:34', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700781 -2.70784)'), GeomFromEWKT('SRID=4674;POINT (-39.700703 -2.707773)'))) / (select extract(epoch from '2026-07-24 12:44:34'::timestamp) - extract(epoch from '2026-07-24 12:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700781 -2.70784)'), GeomFromEWKT('SRID=4674;POINT (-39.700703 -2.707773)'))) / (select extract(epoch from '2026-07-24 12:44:34'::timestamp) - extract(epoch from '2026-07-24 12:44:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700612 -2.70769)', '2026-07-24 12:44:41', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700703 -2.707773)'), GeomFromEWKT('SRID=4674;POINT (-39.700612 -2.70769)'))) / (select extract(epoch from '2026-07-24 12:44:41'::timestamp) - extract(epoch from '2026-07-24 12:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700703 -2.707773)'), GeomFromEWKT('SRID=4674;POINT (-39.700612 -2.70769)'))) / (select extract(epoch from '2026-07-24 12:44:41'::timestamp) - extract(epoch from '2026-07-24 12:44:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700525 -2.707635)', '2026-07-24 12:44:47', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700612 -2.70769)'), GeomFromEWKT('SRID=4674;POINT (-39.700525 -2.707635)'))) / (select extract(epoch from '2026-07-24 12:44:47'::timestamp) - extract(epoch from '2026-07-24 12:44:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700612 -2.70769)'), GeomFromEWKT('SRID=4674;POINT (-39.700525 -2.707635)'))) / (select extract(epoch from '2026-07-24 12:44:47'::timestamp) - extract(epoch from '2026-07-24 12:44:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700412 -2.7076)', '2026-07-24 12:44:55', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700525 -2.707635)'), GeomFromEWKT('SRID=4674;POINT (-39.700412 -2.7076)'))) / (select extract(epoch from '2026-07-24 12:44:55'::timestamp) - extract(epoch from '2026-07-24 12:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700525 -2.707635)'), GeomFromEWKT('SRID=4674;POINT (-39.700412 -2.7076)'))) / (select extract(epoch from '2026-07-24 12:44:55'::timestamp) - extract(epoch from '2026-07-24 12: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'), 47870, 'SRID=4674;POINT (-39.700316 -2.707582)', '2026-07-24 12:45:02', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700412 -2.7076)'), GeomFromEWKT('SRID=4674;POINT (-39.700316 -2.707582)'))) / (select extract(epoch from '2026-07-24 12:45:02'::timestamp) - extract(epoch from '2026-07-24 12:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700412 -2.7076)'), GeomFromEWKT('SRID=4674;POINT (-39.700316 -2.707582)'))) / (select extract(epoch from '2026-07-24 12:45:02'::timestamp) - extract(epoch from '2026-07-24 12: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'), 47870, 'SRID=4674;POINT (-39.700214 -2.707561)', '2026-07-24 12:45:09', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700316 -2.707582)'), GeomFromEWKT('SRID=4674;POINT (-39.700214 -2.707561)'))) / (select extract(epoch from '2026-07-24 12:45:09'::timestamp) - extract(epoch from '2026-07-24 12:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700316 -2.707582)'), GeomFromEWKT('SRID=4674;POINT (-39.700214 -2.707561)'))) / (select extract(epoch from '2026-07-24 12:45:09'::timestamp) - extract(epoch from '2026-07-24 12:45:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700149 -2.707555)', '2026-07-24 12:45:15', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700214 -2.707561)'), GeomFromEWKT('SRID=4674;POINT (-39.700149 -2.707555)'))) / (select extract(epoch from '2026-07-24 12:45:15'::timestamp) - extract(epoch from '2026-07-24 12:45:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700214 -2.707561)'), GeomFromEWKT('SRID=4674;POINT (-39.700149 -2.707555)'))) / (select extract(epoch from '2026-07-24 12:45:15'::timestamp) - extract(epoch from '2026-07-24 12:45:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700111 -2.70755)', '2026-07-24 12:45:19', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700149 -2.707555)'), GeomFromEWKT('SRID=4674;POINT (-39.700111 -2.70755)'))) / (select extract(epoch from '2026-07-24 12:45:19'::timestamp) - extract(epoch from '2026-07-24 12:45:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700149 -2.707555)'), GeomFromEWKT('SRID=4674;POINT (-39.700111 -2.70755)'))) / (select extract(epoch from '2026-07-24 12:45:19'::timestamp) - extract(epoch from '2026-07-24 12:45:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700088 -2.707551)', '2026-07-24 12:45:22', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700111 -2.70755)'), GeomFromEWKT('SRID=4674;POINT (-39.700088 -2.707551)'))) / (select extract(epoch from '2026-07-24 12:45:22'::timestamp) - extract(epoch from '2026-07-24 12:45:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700111 -2.70755)'), GeomFromEWKT('SRID=4674;POINT (-39.700088 -2.707551)'))) / (select extract(epoch from '2026-07-24 12:45:22'::timestamp) - extract(epoch from '2026-07-24 12:45:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70007 -2.707549)', '2026-07-24 12:45:29', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700088 -2.707551)'), GeomFromEWKT('SRID=4674;POINT (-39.70007 -2.707549)'))) / (select extract(epoch from '2026-07-24 12:45:29'::timestamp) - extract(epoch from '2026-07-24 12:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700088 -2.707551)'), GeomFromEWKT('SRID=4674;POINT (-39.70007 -2.707549)'))) / (select extract(epoch from '2026-07-24 12:45:29'::timestamp) - extract(epoch from '2026-07-24 12:45:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700096 -2.707525)', '2026-07-24 12:45:43', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70007 -2.707549)'), GeomFromEWKT('SRID=4674;POINT (-39.700096 -2.707525)'))) / (select extract(epoch from '2026-07-24 12:45:43'::timestamp) - extract(epoch from '2026-07-24 12:45:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70007 -2.707549)'), GeomFromEWKT('SRID=4674;POINT (-39.700096 -2.707525)'))) / (select extract(epoch from '2026-07-24 12:45:43'::timestamp) - extract(epoch from '2026-07-24 12:45:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700118 -2.707506)', '2026-07-24 12:45:49', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700096 -2.707525)'), GeomFromEWKT('SRID=4674;POINT (-39.700118 -2.707506)'))) / (select extract(epoch from '2026-07-24 12:45:49'::timestamp) - extract(epoch from '2026-07-24 12:45:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700096 -2.707525)'), GeomFromEWKT('SRID=4674;POINT (-39.700118 -2.707506)'))) / (select extract(epoch from '2026-07-24 12:45:49'::timestamp) - extract(epoch from '2026-07-24 12:45:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700168 -2.707476)', '2026-07-24 12:46:00', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700118 -2.707506)'), GeomFromEWKT('SRID=4674;POINT (-39.700168 -2.707476)'))) / (select extract(epoch from '2026-07-24 12:46:00'::timestamp) - extract(epoch from '2026-07-24 12:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700118 -2.707506)'), GeomFromEWKT('SRID=4674;POINT (-39.700168 -2.707476)'))) / (select extract(epoch from '2026-07-24 12:46:00'::timestamp) - extract(epoch from '2026-07-24 12:45:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700212 -2.707449)', '2026-07-24 12:46:10', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700168 -2.707476)'), GeomFromEWKT('SRID=4674;POINT (-39.700212 -2.707449)'))) / (select extract(epoch from '2026-07-24 12:46:10'::timestamp) - extract(epoch from '2026-07-24 12:46:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700168 -2.707476)'), GeomFromEWKT('SRID=4674;POINT (-39.700212 -2.707449)'))) / (select extract(epoch from '2026-07-24 12:46:10'::timestamp) - extract(epoch from '2026-07-24 12:46:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700255 -2.707436)', '2026-07-24 12:46:18', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700212 -2.707449)'), GeomFromEWKT('SRID=4674;POINT (-39.700255 -2.707436)'))) / (select extract(epoch from '2026-07-24 12:46:18'::timestamp) - extract(epoch from '2026-07-24 12:46:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700212 -2.707449)'), GeomFromEWKT('SRID=4674;POINT (-39.700255 -2.707436)'))) / (select extract(epoch from '2026-07-24 12:46:18'::timestamp) - extract(epoch from '2026-07-24 12:46:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700297 -2.707411)', '2026-07-24 12:46:25', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700255 -2.707436)'), GeomFromEWKT('SRID=4674;POINT (-39.700297 -2.707411)'))) / (select extract(epoch from '2026-07-24 12:46:25'::timestamp) - extract(epoch from '2026-07-24 12:46:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700255 -2.707436)'), GeomFromEWKT('SRID=4674;POINT (-39.700297 -2.707411)'))) / (select extract(epoch from '2026-07-24 12:46:25'::timestamp) - extract(epoch from '2026-07-24 12:46:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700336 -2.7074)', '2026-07-24 12:46:32', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700297 -2.707411)'), GeomFromEWKT('SRID=4674;POINT (-39.700336 -2.7074)'))) / (select extract(epoch from '2026-07-24 12:46:32'::timestamp) - extract(epoch from '2026-07-24 12:46:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700297 -2.707411)'), GeomFromEWKT('SRID=4674;POINT (-39.700336 -2.7074)'))) / (select extract(epoch from '2026-07-24 12:46:32'::timestamp) - extract(epoch from '2026-07-24 12:46:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700368 -2.707374)', '2026-07-24 12:46:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700336 -2.7074)'), GeomFromEWKT('SRID=4674;POINT (-39.700368 -2.707374)'))) / (select extract(epoch from '2026-07-24 12:46:40'::timestamp) - extract(epoch from '2026-07-24 12:46:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700336 -2.7074)'), GeomFromEWKT('SRID=4674;POINT (-39.700368 -2.707374)'))) / (select extract(epoch from '2026-07-24 12:46:40'::timestamp) - extract(epoch from '2026-07-24 12: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'), 47870, 'SRID=4674;POINT (-39.70038 -2.707343)', '2026-07-24 12:46:48', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700368 -2.707374)'), GeomFromEWKT('SRID=4674;POINT (-39.70038 -2.707343)'))) / (select extract(epoch from '2026-07-24 12:46:48'::timestamp) - extract(epoch from '2026-07-24 12:46:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700368 -2.707374)'), GeomFromEWKT('SRID=4674;POINT (-39.70038 -2.707343)'))) / (select extract(epoch from '2026-07-24 12:46:48'::timestamp) - extract(epoch from '2026-07-24 12:46:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700401 -2.707315)', '2026-07-24 12:46:56', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70038 -2.707343)'), GeomFromEWKT('SRID=4674;POINT (-39.700401 -2.707315)'))) / (select extract(epoch from '2026-07-24 12:46:56'::timestamp) - extract(epoch from '2026-07-24 12:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70038 -2.707343)'), GeomFromEWKT('SRID=4674;POINT (-39.700401 -2.707315)'))) / (select extract(epoch from '2026-07-24 12:46:56'::timestamp) - extract(epoch from '2026-07-24 12:46:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700418 -2.707303)', '2026-07-24 12:47:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700401 -2.707315)'), GeomFromEWKT('SRID=4674;POINT (-39.700418 -2.707303)'))) / (select extract(epoch from '2026-07-24 12:47:02'::timestamp) - extract(epoch from '2026-07-24 12:46:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700401 -2.707315)'), GeomFromEWKT('SRID=4674;POINT (-39.700418 -2.707303)'))) / (select extract(epoch from '2026-07-24 12:47:02'::timestamp) - extract(epoch from '2026-07-24 12: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'), 47870, 'SRID=4674;POINT (-39.700422 -2.707294)', '2026-07-24 12:47:05', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700418 -2.707303)'), GeomFromEWKT('SRID=4674;POINT (-39.700422 -2.707294)'))) / (select extract(epoch from '2026-07-24 12:47:05'::timestamp) - extract(epoch from '2026-07-24 12:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700418 -2.707303)'), GeomFromEWKT('SRID=4674;POINT (-39.700422 -2.707294)'))) / (select extract(epoch from '2026-07-24 12:47:05'::timestamp) - extract(epoch from '2026-07-24 12:47:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70044 -2.707281)', '2026-07-24 12:47:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700422 -2.707294)'), GeomFromEWKT('SRID=4674;POINT (-39.70044 -2.707281)'))) / (select extract(epoch from '2026-07-24 12:47:10'::timestamp) - extract(epoch from '2026-07-24 12:47:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700422 -2.707294)'), GeomFromEWKT('SRID=4674;POINT (-39.70044 -2.707281)'))) / (select extract(epoch from '2026-07-24 12:47:10'::timestamp) - extract(epoch from '2026-07-24 12: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'), 47870, 'SRID=4674;POINT (-39.700467 -2.707255)', '2026-07-24 12:47:19', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70044 -2.707281)'), GeomFromEWKT('SRID=4674;POINT (-39.700467 -2.707255)'))) / (select extract(epoch from '2026-07-24 12:47:19'::timestamp) - extract(epoch from '2026-07-24 12:47:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70044 -2.707281)'), GeomFromEWKT('SRID=4674;POINT (-39.700467 -2.707255)'))) / (select extract(epoch from '2026-07-24 12:47:19'::timestamp) - extract(epoch from '2026-07-24 12:47:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700503 -2.707231)', '2026-07-24 12:47:27', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700467 -2.707255)'), GeomFromEWKT('SRID=4674;POINT (-39.700503 -2.707231)'))) / (select extract(epoch from '2026-07-24 12:47:27'::timestamp) - extract(epoch from '2026-07-24 12:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700467 -2.707255)'), GeomFromEWKT('SRID=4674;POINT (-39.700503 -2.707231)'))) / (select extract(epoch from '2026-07-24 12:47:27'::timestamp) - extract(epoch from '2026-07-24 12:47:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700531 -2.707219)', '2026-07-24 12:47:33', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700503 -2.707231)'), GeomFromEWKT('SRID=4674;POINT (-39.700531 -2.707219)'))) / (select extract(epoch from '2026-07-24 12:47:33'::timestamp) - extract(epoch from '2026-07-24 12:47:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700503 -2.707231)'), GeomFromEWKT('SRID=4674;POINT (-39.700531 -2.707219)'))) / (select extract(epoch from '2026-07-24 12:47:33'::timestamp) - extract(epoch from '2026-07-24 12:47:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700515 -2.707183)', '2026-07-24 12:47:44', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700531 -2.707219)'), GeomFromEWKT('SRID=4674;POINT (-39.700515 -2.707183)'))) / (select extract(epoch from '2026-07-24 12:47:44'::timestamp) - extract(epoch from '2026-07-24 12:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700531 -2.707219)'), GeomFromEWKT('SRID=4674;POINT (-39.700515 -2.707183)'))) / (select extract(epoch from '2026-07-24 12:47:44'::timestamp) - extract(epoch from '2026-07-24 12:47:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700516 -2.70715)', '2026-07-24 12:47:53', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700515 -2.707183)'), GeomFromEWKT('SRID=4674;POINT (-39.700516 -2.70715)'))) / (select extract(epoch from '2026-07-24 12:47:53'::timestamp) - extract(epoch from '2026-07-24 12:47:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700515 -2.707183)'), GeomFromEWKT('SRID=4674;POINT (-39.700516 -2.70715)'))) / (select extract(epoch from '2026-07-24 12:47:53'::timestamp) - extract(epoch from '2026-07-24 12:47:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700553 -2.707141)', '2026-07-24 12:47:59', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700516 -2.70715)'), GeomFromEWKT('SRID=4674;POINT (-39.700553 -2.707141)'))) / (select extract(epoch from '2026-07-24 12:47:59'::timestamp) - extract(epoch from '2026-07-24 12:47:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700516 -2.70715)'), GeomFromEWKT('SRID=4674;POINT (-39.700553 -2.707141)'))) / (select extract(epoch from '2026-07-24 12:47:59'::timestamp) - extract(epoch from '2026-07-24 12:47:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700554 -2.707113)', '2026-07-24 12:48:06', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700553 -2.707141)'), GeomFromEWKT('SRID=4674;POINT (-39.700554 -2.707113)'))) / (select extract(epoch from '2026-07-24 12:48:06'::timestamp) - extract(epoch from '2026-07-24 12:47:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700553 -2.707141)'), GeomFromEWKT('SRID=4674;POINT (-39.700554 -2.707113)'))) / (select extract(epoch from '2026-07-24 12:48:06'::timestamp) - extract(epoch from '2026-07-24 12: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'), 47870, 'SRID=4674;POINT (-39.700524 -2.707069)', '2026-07-24 12:48:11', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700554 -2.707113)'), GeomFromEWKT('SRID=4674;POINT (-39.700524 -2.707069)'))) / (select extract(epoch from '2026-07-24 12:48:11'::timestamp) - extract(epoch from '2026-07-24 12:48:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700554 -2.707113)'), GeomFromEWKT('SRID=4674;POINT (-39.700524 -2.707069)'))) / (select extract(epoch from '2026-07-24 12:48:11'::timestamp) - extract(epoch from '2026-07-24 12:48:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700517 -2.707054)', '2026-07-24 12:48:12', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700524 -2.707069)'), GeomFromEWKT('SRID=4674;POINT (-39.700517 -2.707054)'))) / (select extract(epoch from '2026-07-24 12:48:12'::timestamp) - extract(epoch from '2026-07-24 12:48:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700524 -2.707069)'), GeomFromEWKT('SRID=4674;POINT (-39.700517 -2.707054)'))) / (select extract(epoch from '2026-07-24 12:48:12'::timestamp) - extract(epoch from '2026-07-24 12:48:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700462 -2.706984)', '2026-07-24 12:48:17', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700517 -2.707054)'), GeomFromEWKT('SRID=4674;POINT (-39.700462 -2.706984)'))) / (select extract(epoch from '2026-07-24 12:48:17'::timestamp) - extract(epoch from '2026-07-24 12:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700517 -2.707054)'), GeomFromEWKT('SRID=4674;POINT (-39.700462 -2.706984)'))) / (select extract(epoch from '2026-07-24 12:48:17'::timestamp) - extract(epoch from '2026-07-24 12:48:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70042 -2.706939)', '2026-07-24 12:48:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700462 -2.706984)'), GeomFromEWKT('SRID=4674;POINT (-39.70042 -2.706939)'))) / (select extract(epoch from '2026-07-24 12:48:20'::timestamp) - extract(epoch from '2026-07-24 12:48:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700462 -2.706984)'), GeomFromEWKT('SRID=4674;POINT (-39.70042 -2.706939)'))) / (select extract(epoch from '2026-07-24 12:48:20'::timestamp) - extract(epoch from '2026-07-24 12:48:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700396 -2.706906)', '2026-07-24 12:48:22', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70042 -2.706939)'), GeomFromEWKT('SRID=4674;POINT (-39.700396 -2.706906)'))) / (select extract(epoch from '2026-07-24 12:48:22'::timestamp) - extract(epoch from '2026-07-24 12:48:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70042 -2.706939)'), GeomFromEWKT('SRID=4674;POINT (-39.700396 -2.706906)'))) / (select extract(epoch from '2026-07-24 12:48:22'::timestamp) - extract(epoch from '2026-07-24 12:48:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70034 -2.706814)', '2026-07-24 12:48:27', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700396 -2.706906)'), GeomFromEWKT('SRID=4674;POINT (-39.70034 -2.706814)'))) / (select extract(epoch from '2026-07-24 12:48:27'::timestamp) - extract(epoch from '2026-07-24 12:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700396 -2.706906)'), GeomFromEWKT('SRID=4674;POINT (-39.70034 -2.706814)'))) / (select extract(epoch from '2026-07-24 12:48:27'::timestamp) - extract(epoch from '2026-07-24 12:48:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700265 -2.706689)', '2026-07-24 12:48:34', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70034 -2.706814)'), GeomFromEWKT('SRID=4674;POINT (-39.700265 -2.706689)'))) / (select extract(epoch from '2026-07-24 12:48:34'::timestamp) - extract(epoch from '2026-07-24 12:48:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70034 -2.706814)'), GeomFromEWKT('SRID=4674;POINT (-39.700265 -2.706689)'))) / (select extract(epoch from '2026-07-24 12:48:34'::timestamp) - extract(epoch from '2026-07-24 12:48:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700148 -2.706633)', '2026-07-24 12:48:41', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700265 -2.706689)'), GeomFromEWKT('SRID=4674;POINT (-39.700148 -2.706633)'))) / (select extract(epoch from '2026-07-24 12:48:41'::timestamp) - extract(epoch from '2026-07-24 12:48:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700265 -2.706689)'), GeomFromEWKT('SRID=4674;POINT (-39.700148 -2.706633)'))) / (select extract(epoch from '2026-07-24 12:48:41'::timestamp) - extract(epoch from '2026-07-24 12:48:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700041 -2.706616)', '2026-07-24 12:48:47', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700148 -2.706633)'), GeomFromEWKT('SRID=4674;POINT (-39.700041 -2.706616)'))) / (select extract(epoch from '2026-07-24 12:48:47'::timestamp) - extract(epoch from '2026-07-24 12:48:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700148 -2.706633)'), GeomFromEWKT('SRID=4674;POINT (-39.700041 -2.706616)'))) / (select extract(epoch from '2026-07-24 12:48:47'::timestamp) - extract(epoch from '2026-07-24 12: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'), 47870, 'SRID=4674;POINT (-39.699905 -2.706598)', '2026-07-24 12:48:54', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700041 -2.706616)'), GeomFromEWKT('SRID=4674;POINT (-39.699905 -2.706598)'))) / (select extract(epoch from '2026-07-24 12:48:54'::timestamp) - extract(epoch from '2026-07-24 12:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700041 -2.706616)'), GeomFromEWKT('SRID=4674;POINT (-39.699905 -2.706598)'))) / (select extract(epoch from '2026-07-24 12:48:54'::timestamp) - extract(epoch from '2026-07-24 12:48:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699794 -2.706546)', '2026-07-24 12:49:00', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699905 -2.706598)'), GeomFromEWKT('SRID=4674;POINT (-39.699794 -2.706546)'))) / (select extract(epoch from '2026-07-24 12:49:00'::timestamp) - extract(epoch from '2026-07-24 12:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699905 -2.706598)'), GeomFromEWKT('SRID=4674;POINT (-39.699794 -2.706546)'))) / (select extract(epoch from '2026-07-24 12:49:00'::timestamp) - extract(epoch from '2026-07-24 12:48:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699714 -2.706502)', '2026-07-24 12:49:05', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699794 -2.706546)'), GeomFromEWKT('SRID=4674;POINT (-39.699714 -2.706502)'))) / (select extract(epoch from '2026-07-24 12:49:05'::timestamp) - extract(epoch from '2026-07-24 12:49:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699794 -2.706546)'), GeomFromEWKT('SRID=4674;POINT (-39.699714 -2.706502)'))) / (select extract(epoch from '2026-07-24 12:49:05'::timestamp) - extract(epoch from '2026-07-24 12:49:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699655 -2.706485)', '2026-07-24 12:49:11', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699714 -2.706502)'), GeomFromEWKT('SRID=4674;POINT (-39.699655 -2.706485)'))) / (select extract(epoch from '2026-07-24 12:49:11'::timestamp) - extract(epoch from '2026-07-24 12:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699714 -2.706502)'), GeomFromEWKT('SRID=4674;POINT (-39.699655 -2.706485)'))) / (select extract(epoch from '2026-07-24 12:49:11'::timestamp) - extract(epoch from '2026-07-24 12: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'), 47870, 'SRID=4674;POINT (-39.699635 -2.706469)', '2026-07-24 12:49:16', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699655 -2.706485)'), GeomFromEWKT('SRID=4674;POINT (-39.699635 -2.706469)'))) / (select extract(epoch from '2026-07-24 12:49:16'::timestamp) - extract(epoch from '2026-07-24 12:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699655 -2.706485)'), GeomFromEWKT('SRID=4674;POINT (-39.699635 -2.706469)'))) / (select extract(epoch from '2026-07-24 12:49:16'::timestamp) - extract(epoch from '2026-07-24 12:49:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699635 -2.706435)', '2026-07-24 12:49:24', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699635 -2.706469)'), GeomFromEWKT('SRID=4674;POINT (-39.699635 -2.706435)'))) / (select extract(epoch from '2026-07-24 12:49:24'::timestamp) - extract(epoch from '2026-07-24 12:49:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699635 -2.706469)'), GeomFromEWKT('SRID=4674;POINT (-39.699635 -2.706435)'))) / (select extract(epoch from '2026-07-24 12:49:24'::timestamp) - extract(epoch from '2026-07-24 12:49:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699656 -2.706407)', '2026-07-24 12:49:31', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699635 -2.706435)'), GeomFromEWKT('SRID=4674;POINT (-39.699656 -2.706407)'))) / (select extract(epoch from '2026-07-24 12:49:31'::timestamp) - extract(epoch from '2026-07-24 12:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699635 -2.706435)'), GeomFromEWKT('SRID=4674;POINT (-39.699656 -2.706407)'))) / (select extract(epoch from '2026-07-24 12:49:31'::timestamp) - extract(epoch from '2026-07-24 12:49:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699675 -2.706375)', '2026-07-24 12:49:40', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699656 -2.706407)'), GeomFromEWKT('SRID=4674;POINT (-39.699675 -2.706375)'))) / (select extract(epoch from '2026-07-24 12:49:40'::timestamp) - extract(epoch from '2026-07-24 12:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699656 -2.706407)'), GeomFromEWKT('SRID=4674;POINT (-39.699675 -2.706375)'))) / (select extract(epoch from '2026-07-24 12:49:40'::timestamp) - extract(epoch from '2026-07-24 12:49:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69971 -2.706339)', '2026-07-24 12:49:48', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699675 -2.706375)'), GeomFromEWKT('SRID=4674;POINT (-39.69971 -2.706339)'))) / (select extract(epoch from '2026-07-24 12:49:48'::timestamp) - extract(epoch from '2026-07-24 12:49:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699675 -2.706375)'), GeomFromEWKT('SRID=4674;POINT (-39.69971 -2.706339)'))) / (select extract(epoch from '2026-07-24 12:49:48'::timestamp) - extract(epoch from '2026-07-24 12:49:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699774 -2.706297)', '2026-07-24 12:50:00', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69971 -2.706339)'), GeomFromEWKT('SRID=4674;POINT (-39.699774 -2.706297)'))) / (select extract(epoch from '2026-07-24 12:50:00'::timestamp) - extract(epoch from '2026-07-24 12:49:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69971 -2.706339)'), GeomFromEWKT('SRID=4674;POINT (-39.699774 -2.706297)'))) / (select extract(epoch from '2026-07-24 12:50:00'::timestamp) - extract(epoch from '2026-07-24 12:49:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699821 -2.706273)', '2026-07-24 12:50:08', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699774 -2.706297)'), GeomFromEWKT('SRID=4674;POINT (-39.699821 -2.706273)'))) / (select extract(epoch from '2026-07-24 12:50:08'::timestamp) - extract(epoch from '2026-07-24 12:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699774 -2.706297)'), GeomFromEWKT('SRID=4674;POINT (-39.699821 -2.706273)'))) / (select extract(epoch from '2026-07-24 12:50:08'::timestamp) - extract(epoch from '2026-07-24 12:50:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699855 -2.706263)', '2026-07-24 12:50:12', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699821 -2.706273)'), GeomFromEWKT('SRID=4674;POINT (-39.699855 -2.706263)'))) / (select extract(epoch from '2026-07-24 12:50:12'::timestamp) - extract(epoch from '2026-07-24 12:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699821 -2.706273)'), GeomFromEWKT('SRID=4674;POINT (-39.699855 -2.706263)'))) / (select extract(epoch from '2026-07-24 12:50:12'::timestamp) - extract(epoch from '2026-07-24 12: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'), 47870, 'SRID=4674;POINT (-39.699866 -2.706262)', '2026-07-24 12:50:14', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699855 -2.706263)'), GeomFromEWKT('SRID=4674;POINT (-39.699866 -2.706262)'))) / (select extract(epoch from '2026-07-24 12:50:14'::timestamp) - extract(epoch from '2026-07-24 12:50:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699855 -2.706263)'), GeomFromEWKT('SRID=4674;POINT (-39.699866 -2.706262)'))) / (select extract(epoch from '2026-07-24 12:50:14'::timestamp) - extract(epoch from '2026-07-24 12:50:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699906 -2.706253)', '2026-07-24 12:50:20', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699866 -2.706262)'), GeomFromEWKT('SRID=4674;POINT (-39.699906 -2.706253)'))) / (select extract(epoch from '2026-07-24 12:50:20'::timestamp) - extract(epoch from '2026-07-24 12:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699866 -2.706262)'), GeomFromEWKT('SRID=4674;POINT (-39.699906 -2.706253)'))) / (select extract(epoch from '2026-07-24 12:50:20'::timestamp) - extract(epoch from '2026-07-24 12:50:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69993 -2.70622)', '2026-07-24 12:50:31', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699906 -2.706253)'), GeomFromEWKT('SRID=4674;POINT (-39.69993 -2.70622)'))) / (select extract(epoch from '2026-07-24 12:50:31'::timestamp) - extract(epoch from '2026-07-24 12:50:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699906 -2.706253)'), GeomFromEWKT('SRID=4674;POINT (-39.69993 -2.70622)'))) / (select extract(epoch from '2026-07-24 12:50:31'::timestamp) - extract(epoch from '2026-07-24 12:50:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699931 -2.706199)', '2026-07-24 12:50:41', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69993 -2.70622)'), GeomFromEWKT('SRID=4674;POINT (-39.699931 -2.706199)'))) / (select extract(epoch from '2026-07-24 12:50:41'::timestamp) - extract(epoch from '2026-07-24 12:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69993 -2.70622)'), GeomFromEWKT('SRID=4674;POINT (-39.699931 -2.706199)'))) / (select extract(epoch from '2026-07-24 12:50:41'::timestamp) - extract(epoch from '2026-07-24 12:50:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699965 -2.706177)', '2026-07-24 12:50:58', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699931 -2.706199)'), GeomFromEWKT('SRID=4674;POINT (-39.699965 -2.706177)'))) / (select extract(epoch from '2026-07-24 12:50:58'::timestamp) - extract(epoch from '2026-07-24 12:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699931 -2.706199)'), GeomFromEWKT('SRID=4674;POINT (-39.699965 -2.706177)'))) / (select extract(epoch from '2026-07-24 12:50:58'::timestamp) - extract(epoch from '2026-07-24 12:50:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699992 -2.706162)', '2026-07-24 12:51:06', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699965 -2.706177)'), GeomFromEWKT('SRID=4674;POINT (-39.699992 -2.706162)'))) / (select extract(epoch from '2026-07-24 12:51:06'::timestamp) - extract(epoch from '2026-07-24 12:50:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699965 -2.706177)'), GeomFromEWKT('SRID=4674;POINT (-39.699992 -2.706162)'))) / (select extract(epoch from '2026-07-24 12:51:06'::timestamp) - extract(epoch from '2026-07-24 12:50:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700003 -2.706157)', '2026-07-24 12:51:14', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699992 -2.706162)'), GeomFromEWKT('SRID=4674;POINT (-39.700003 -2.706157)'))) / (select extract(epoch from '2026-07-24 12:51:14'::timestamp) - extract(epoch from '2026-07-24 12:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699992 -2.706162)'), GeomFromEWKT('SRID=4674;POINT (-39.700003 -2.706157)'))) / (select extract(epoch from '2026-07-24 12:51:14'::timestamp) - extract(epoch from '2026-07-24 12: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'), 47870, 'SRID=4674;POINT (-39.700033 -2.706129)', '2026-07-24 12:51:25', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700003 -2.706157)'), GeomFromEWKT('SRID=4674;POINT (-39.700033 -2.706129)'))) / (select extract(epoch from '2026-07-24 12:51:25'::timestamp) - extract(epoch from '2026-07-24 12:51:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700003 -2.706157)'), GeomFromEWKT('SRID=4674;POINT (-39.700033 -2.706129)'))) / (select extract(epoch from '2026-07-24 12:51:25'::timestamp) - extract(epoch from '2026-07-24 12:51:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700053 -2.706068)', '2026-07-24 12:51:45', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700033 -2.706129)'), GeomFromEWKT('SRID=4674;POINT (-39.700053 -2.706068)'))) / (select extract(epoch from '2026-07-24 12:51:45'::timestamp) - extract(epoch from '2026-07-24 12:51:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700033 -2.706129)'), GeomFromEWKT('SRID=4674;POINT (-39.700053 -2.706068)'))) / (select extract(epoch from '2026-07-24 12:51:45'::timestamp) - extract(epoch from '2026-07-24 12:51:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700021 -2.705979)', '2026-07-24 12:51:52', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700053 -2.706068)'), GeomFromEWKT('SRID=4674;POINT (-39.700021 -2.705979)'))) / (select extract(epoch from '2026-07-24 12:51:52'::timestamp) - extract(epoch from '2026-07-24 12:51:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700053 -2.706068)'), GeomFromEWKT('SRID=4674;POINT (-39.700021 -2.705979)'))) / (select extract(epoch from '2026-07-24 12:51:52'::timestamp) - extract(epoch from '2026-07-24 12:51:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699967 -2.70589)', '2026-07-24 12:51:59', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700021 -2.705979)'), GeomFromEWKT('SRID=4674;POINT (-39.699967 -2.70589)'))) / (select extract(epoch from '2026-07-24 12:51:59'::timestamp) - extract(epoch from '2026-07-24 12:51:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700021 -2.705979)'), GeomFromEWKT('SRID=4674;POINT (-39.699967 -2.70589)'))) / (select extract(epoch from '2026-07-24 12:51:59'::timestamp) - extract(epoch from '2026-07-24 12:51:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699911 -2.705814)', '2026-07-24 12:52:05', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699967 -2.70589)'), GeomFromEWKT('SRID=4674;POINT (-39.699911 -2.705814)'))) / (select extract(epoch from '2026-07-24 12:52:05'::timestamp) - extract(epoch from '2026-07-24 12:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699967 -2.70589)'), GeomFromEWKT('SRID=4674;POINT (-39.699911 -2.705814)'))) / (select extract(epoch from '2026-07-24 12:52:05'::timestamp) - extract(epoch from '2026-07-24 12:51:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699831 -2.705747)', '2026-07-24 12:52:11', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699911 -2.705814)'), GeomFromEWKT('SRID=4674;POINT (-39.699831 -2.705747)'))) / (select extract(epoch from '2026-07-24 12:52:11'::timestamp) - extract(epoch from '2026-07-24 12:52:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699911 -2.705814)'), GeomFromEWKT('SRID=4674;POINT (-39.699831 -2.705747)'))) / (select extract(epoch from '2026-07-24 12:52:11'::timestamp) - extract(epoch from '2026-07-24 12:52:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699767 -2.705655)', '2026-07-24 12:52:17', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699831 -2.705747)'), GeomFromEWKT('SRID=4674;POINT (-39.699767 -2.705655)'))) / (select extract(epoch from '2026-07-24 12:52:17'::timestamp) - extract(epoch from '2026-07-24 12:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699831 -2.705747)'), GeomFromEWKT('SRID=4674;POINT (-39.699767 -2.705655)'))) / (select extract(epoch from '2026-07-24 12:52:17'::timestamp) - extract(epoch from '2026-07-24 12:52:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699717 -2.705547)', '2026-07-24 12:52:23', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699767 -2.705655)'), GeomFromEWKT('SRID=4674;POINT (-39.699717 -2.705547)'))) / (select extract(epoch from '2026-07-24 12:52:23'::timestamp) - extract(epoch from '2026-07-24 12:52:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699767 -2.705655)'), GeomFromEWKT('SRID=4674;POINT (-39.699717 -2.705547)'))) / (select extract(epoch from '2026-07-24 12:52:23'::timestamp) - extract(epoch from '2026-07-24 12:52:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699637 -2.705435)', '2026-07-24 12:52:30', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699717 -2.705547)'), GeomFromEWKT('SRID=4674;POINT (-39.699637 -2.705435)'))) / (select extract(epoch from '2026-07-24 12:52:30'::timestamp) - extract(epoch from '2026-07-24 12:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699717 -2.705547)'), GeomFromEWKT('SRID=4674;POINT (-39.699637 -2.705435)'))) / (select extract(epoch from '2026-07-24 12:52:30'::timestamp) - extract(epoch from '2026-07-24 12:52:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699561 -2.705356)', '2026-07-24 12:52:36', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699637 -2.705435)'), GeomFromEWKT('SRID=4674;POINT (-39.699561 -2.705356)'))) / (select extract(epoch from '2026-07-24 12:52:36'::timestamp) - extract(epoch from '2026-07-24 12:52:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699637 -2.705435)'), GeomFromEWKT('SRID=4674;POINT (-39.699561 -2.705356)'))) / (select extract(epoch from '2026-07-24 12:52:36'::timestamp) - extract(epoch from '2026-07-24 12:52:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699453 -2.705275)', '2026-07-24 12:52:43', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699561 -2.705356)'), GeomFromEWKT('SRID=4674;POINT (-39.699453 -2.705275)'))) / (select extract(epoch from '2026-07-24 12:52:43'::timestamp) - extract(epoch from '2026-07-24 12:52:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699561 -2.705356)'), GeomFromEWKT('SRID=4674;POINT (-39.699453 -2.705275)'))) / (select extract(epoch from '2026-07-24 12:52:43'::timestamp) - extract(epoch from '2026-07-24 12:52:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699364 -2.705219)', '2026-07-24 12:52:49', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699453 -2.705275)'), GeomFromEWKT('SRID=4674;POINT (-39.699364 -2.705219)'))) / (select extract(epoch from '2026-07-24 12:52:49'::timestamp) - extract(epoch from '2026-07-24 12:52:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699453 -2.705275)'), GeomFromEWKT('SRID=4674;POINT (-39.699364 -2.705219)'))) / (select extract(epoch from '2026-07-24 12:52:49'::timestamp) - extract(epoch from '2026-07-24 12:52:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699283 -2.705151)', '2026-07-24 12:52:55', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699364 -2.705219)'), GeomFromEWKT('SRID=4674;POINT (-39.699283 -2.705151)'))) / (select extract(epoch from '2026-07-24 12:52:55'::timestamp) - extract(epoch from '2026-07-24 12:52:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699364 -2.705219)'), GeomFromEWKT('SRID=4674;POINT (-39.699283 -2.705151)'))) / (select extract(epoch from '2026-07-24 12:52:55'::timestamp) - extract(epoch from '2026-07-24 12: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'), 47870, 'SRID=4674;POINT (-39.699219 -2.705066)', '2026-07-24 12:53:01', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699283 -2.705151)'), GeomFromEWKT('SRID=4674;POINT (-39.699219 -2.705066)'))) / (select extract(epoch from '2026-07-24 12:53:01'::timestamp) - extract(epoch from '2026-07-24 12:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699283 -2.705151)'), GeomFromEWKT('SRID=4674;POINT (-39.699219 -2.705066)'))) / (select extract(epoch from '2026-07-24 12:53:01'::timestamp) - extract(epoch from '2026-07-24 12:52:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699162 -2.704949)', '2026-07-24 12:53:08', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699219 -2.705066)'), GeomFromEWKT('SRID=4674;POINT (-39.699162 -2.704949)'))) / (select extract(epoch from '2026-07-24 12:53:08'::timestamp) - extract(epoch from '2026-07-24 12:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699219 -2.705066)'), GeomFromEWKT('SRID=4674;POINT (-39.699162 -2.704949)'))) / (select extract(epoch from '2026-07-24 12:53:08'::timestamp) - extract(epoch from '2026-07-24 12:53:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699102 -2.704887)', '2026-07-24 12:53:13', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699162 -2.704949)'), GeomFromEWKT('SRID=4674;POINT (-39.699102 -2.704887)'))) / (select extract(epoch from '2026-07-24 12:53:13'::timestamp) - extract(epoch from '2026-07-24 12:53:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699162 -2.704949)'), GeomFromEWKT('SRID=4674;POINT (-39.699102 -2.704887)'))) / (select extract(epoch from '2026-07-24 12:53:13'::timestamp) - extract(epoch from '2026-07-24 12:53:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699031 -2.704837)', '2026-07-24 12:53:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699102 -2.704887)'), GeomFromEWKT('SRID=4674;POINT (-39.699031 -2.704837)'))) / (select extract(epoch from '2026-07-24 12:53:18'::timestamp) - extract(epoch from '2026-07-24 12:53:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699102 -2.704887)'), GeomFromEWKT('SRID=4674;POINT (-39.699031 -2.704837)'))) / (select extract(epoch from '2026-07-24 12:53:18'::timestamp) - extract(epoch from '2026-07-24 12:53:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698938 -2.704792)', '2026-07-24 12:53:24', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699031 -2.704837)'), GeomFromEWKT('SRID=4674;POINT (-39.698938 -2.704792)'))) / (select extract(epoch from '2026-07-24 12:53:24'::timestamp) - extract(epoch from '2026-07-24 12:53:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699031 -2.704837)'), GeomFromEWKT('SRID=4674;POINT (-39.698938 -2.704792)'))) / (select extract(epoch from '2026-07-24 12:53:24'::timestamp) - extract(epoch from '2026-07-24 12:53:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698871 -2.70472)', '2026-07-24 12:53:30', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698938 -2.704792)'), GeomFromEWKT('SRID=4674;POINT (-39.698871 -2.70472)'))) / (select extract(epoch from '2026-07-24 12:53:30'::timestamp) - extract(epoch from '2026-07-24 12:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698938 -2.704792)'), GeomFromEWKT('SRID=4674;POINT (-39.698871 -2.70472)'))) / (select extract(epoch from '2026-07-24 12:53:30'::timestamp) - extract(epoch from '2026-07-24 12:53:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698797 -2.704606)', '2026-07-24 12:53:37', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698871 -2.70472)'), GeomFromEWKT('SRID=4674;POINT (-39.698797 -2.704606)'))) / (select extract(epoch from '2026-07-24 12:53:37'::timestamp) - extract(epoch from '2026-07-24 12:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698871 -2.70472)'), GeomFromEWKT('SRID=4674;POINT (-39.698797 -2.704606)'))) / (select extract(epoch from '2026-07-24 12:53:37'::timestamp) - extract(epoch from '2026-07-24 12:53:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698728 -2.704521)', '2026-07-24 12:53:43', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698797 -2.704606)'), GeomFromEWKT('SRID=4674;POINT (-39.698728 -2.704521)'))) / (select extract(epoch from '2026-07-24 12:53:43'::timestamp) - extract(epoch from '2026-07-24 12:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698797 -2.704606)'), GeomFromEWKT('SRID=4674;POINT (-39.698728 -2.704521)'))) / (select extract(epoch from '2026-07-24 12:53:43'::timestamp) - extract(epoch from '2026-07-24 12:53:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698671 -2.704476)', '2026-07-24 12:53:50', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698728 -2.704521)'), GeomFromEWKT('SRID=4674;POINT (-39.698671 -2.704476)'))) / (select extract(epoch from '2026-07-24 12:53:50'::timestamp) - extract(epoch from '2026-07-24 12:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698728 -2.704521)'), GeomFromEWKT('SRID=4674;POINT (-39.698671 -2.704476)'))) / (select extract(epoch from '2026-07-24 12:53:50'::timestamp) - extract(epoch from '2026-07-24 12:53:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698658 -2.704443)', '2026-07-24 12:53:56', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698671 -2.704476)'), GeomFromEWKT('SRID=4674;POINT (-39.698658 -2.704443)'))) / (select extract(epoch from '2026-07-24 12:53:56'::timestamp) - extract(epoch from '2026-07-24 12:53:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698671 -2.704476)'), GeomFromEWKT('SRID=4674;POINT (-39.698658 -2.704443)'))) / (select extract(epoch from '2026-07-24 12:53:56'::timestamp) - extract(epoch from '2026-07-24 12:53:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698676 -2.704401)', '2026-07-24 12:54:05', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698658 -2.704443)'), GeomFromEWKT('SRID=4674;POINT (-39.698676 -2.704401)'))) / (select extract(epoch from '2026-07-24 12:54:05'::timestamp) - extract(epoch from '2026-07-24 12:53:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698658 -2.704443)'), GeomFromEWKT('SRID=4674;POINT (-39.698676 -2.704401)'))) / (select extract(epoch from '2026-07-24 12:54:05'::timestamp) - extract(epoch from '2026-07-24 12:53:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698692 -2.704378)', '2026-07-24 12:54:11', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698676 -2.704401)'), GeomFromEWKT('SRID=4674;POINT (-39.698692 -2.704378)'))) / (select extract(epoch from '2026-07-24 12:54:11'::timestamp) - extract(epoch from '2026-07-24 12:54:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698676 -2.704401)'), GeomFromEWKT('SRID=4674;POINT (-39.698692 -2.704378)'))) / (select extract(epoch from '2026-07-24 12:54:11'::timestamp) - extract(epoch from '2026-07-24 12:54:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698735 -2.704355)', '2026-07-24 12:54:23', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698692 -2.704378)'), GeomFromEWKT('SRID=4674;POINT (-39.698735 -2.704355)'))) / (select extract(epoch from '2026-07-24 12:54:23'::timestamp) - extract(epoch from '2026-07-24 12:54:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698692 -2.704378)'), GeomFromEWKT('SRID=4674;POINT (-39.698735 -2.704355)'))) / (select extract(epoch from '2026-07-24 12:54:23'::timestamp) - extract(epoch from '2026-07-24 12:54:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698769 -2.704336)', '2026-07-24 12:54:31', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698735 -2.704355)'), GeomFromEWKT('SRID=4674;POINT (-39.698769 -2.704336)'))) / (select extract(epoch from '2026-07-24 12:54:31'::timestamp) - extract(epoch from '2026-07-24 12:54:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698735 -2.704355)'), GeomFromEWKT('SRID=4674;POINT (-39.698769 -2.704336)'))) / (select extract(epoch from '2026-07-24 12:54:31'::timestamp) - extract(epoch from '2026-07-24 12:54:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698797 -2.704328)', '2026-07-24 12:54:38', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698769 -2.704336)'), GeomFromEWKT('SRID=4674;POINT (-39.698797 -2.704328)'))) / (select extract(epoch from '2026-07-24 12:54:38'::timestamp) - extract(epoch from '2026-07-24 12:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698769 -2.704336)'), GeomFromEWKT('SRID=4674;POINT (-39.698797 -2.704328)'))) / (select extract(epoch from '2026-07-24 12:54:38'::timestamp) - extract(epoch from '2026-07-24 12:54:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698828 -2.704311)', '2026-07-24 12:54:45', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698797 -2.704328)'), GeomFromEWKT('SRID=4674;POINT (-39.698828 -2.704311)'))) / (select extract(epoch from '2026-07-24 12:54:45'::timestamp) - extract(epoch from '2026-07-24 12:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698797 -2.704328)'), GeomFromEWKT('SRID=4674;POINT (-39.698828 -2.704311)'))) / (select extract(epoch from '2026-07-24 12:54:45'::timestamp) - extract(epoch from '2026-07-24 12:54:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698845 -2.704302)', '2026-07-24 12:54:52', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698828 -2.704311)'), GeomFromEWKT('SRID=4674;POINT (-39.698845 -2.704302)'))) / (select extract(epoch from '2026-07-24 12:54:52'::timestamp) - extract(epoch from '2026-07-24 12:54:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698828 -2.704311)'), GeomFromEWKT('SRID=4674;POINT (-39.698845 -2.704302)'))) / (select extract(epoch from '2026-07-24 12:54:52'::timestamp) - extract(epoch from '2026-07-24 12:54:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69888 -2.70429)', '2026-07-24 12:55:04', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698845 -2.704302)'), GeomFromEWKT('SRID=4674;POINT (-39.69888 -2.70429)'))) / (select extract(epoch from '2026-07-24 12:55:04'::timestamp) - extract(epoch from '2026-07-24 12:54:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698845 -2.704302)'), GeomFromEWKT('SRID=4674;POINT (-39.69888 -2.70429)'))) / (select extract(epoch from '2026-07-24 12:55:04'::timestamp) - extract(epoch from '2026-07-24 12:54:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698897 -2.704282)', '2026-07-24 12:55:09', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69888 -2.70429)'), GeomFromEWKT('SRID=4674;POINT (-39.698897 -2.704282)'))) / (select extract(epoch from '2026-07-24 12:55:09'::timestamp) - extract(epoch from '2026-07-24 12:55:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69888 -2.70429)'), GeomFromEWKT('SRID=4674;POINT (-39.698897 -2.704282)'))) / (select extract(epoch from '2026-07-24 12:55:09'::timestamp) - extract(epoch from '2026-07-24 12:55:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698921 -2.704269)', '2026-07-24 12:55:16', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698897 -2.704282)'), GeomFromEWKT('SRID=4674;POINT (-39.698921 -2.704269)'))) / (select extract(epoch from '2026-07-24 12:55:16'::timestamp) - extract(epoch from '2026-07-24 12:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698897 -2.704282)'), GeomFromEWKT('SRID=4674;POINT (-39.698921 -2.704269)'))) / (select extract(epoch from '2026-07-24 12:55:16'::timestamp) - extract(epoch from '2026-07-24 12:55:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69894 -2.704239)', '2026-07-24 12:55:24', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698921 -2.704269)'), GeomFromEWKT('SRID=4674;POINT (-39.69894 -2.704239)'))) / (select extract(epoch from '2026-07-24 12:55:24'::timestamp) - extract(epoch from '2026-07-24 12:55:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698921 -2.704269)'), GeomFromEWKT('SRID=4674;POINT (-39.69894 -2.704239)'))) / (select extract(epoch from '2026-07-24 12:55:24'::timestamp) - extract(epoch from '2026-07-24 12:55:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698958 -2.70422)', '2026-07-24 12:55:31', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69894 -2.704239)'), GeomFromEWKT('SRID=4674;POINT (-39.698958 -2.70422)'))) / (select extract(epoch from '2026-07-24 12:55:31'::timestamp) - extract(epoch from '2026-07-24 12:55:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69894 -2.704239)'), GeomFromEWKT('SRID=4674;POINT (-39.698958 -2.70422)'))) / (select extract(epoch from '2026-07-24 12:55:31'::timestamp) - extract(epoch from '2026-07-24 12:55:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698978 -2.704213)', '2026-07-24 12:55:38', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698958 -2.70422)'), GeomFromEWKT('SRID=4674;POINT (-39.698978 -2.704213)'))) / (select extract(epoch from '2026-07-24 12:55:38'::timestamp) - extract(epoch from '2026-07-24 12:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698958 -2.70422)'), GeomFromEWKT('SRID=4674;POINT (-39.698978 -2.704213)'))) / (select extract(epoch from '2026-07-24 12:55:38'::timestamp) - extract(epoch from '2026-07-24 12:55:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699002 -2.704198)', '2026-07-24 12:55:46', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698978 -2.704213)'), GeomFromEWKT('SRID=4674;POINT (-39.699002 -2.704198)'))) / (select extract(epoch from '2026-07-24 12:55:46'::timestamp) - extract(epoch from '2026-07-24 12:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698978 -2.704213)'), GeomFromEWKT('SRID=4674;POINT (-39.699002 -2.704198)'))) / (select extract(epoch from '2026-07-24 12:55:46'::timestamp) - extract(epoch from '2026-07-24 12:55:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699028 -2.704169)', '2026-07-24 12:55:54', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699002 -2.704198)'), GeomFromEWKT('SRID=4674;POINT (-39.699028 -2.704169)'))) / (select extract(epoch from '2026-07-24 12:55:54'::timestamp) - extract(epoch from '2026-07-24 12:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699002 -2.704198)'), GeomFromEWKT('SRID=4674;POINT (-39.699028 -2.704169)'))) / (select extract(epoch from '2026-07-24 12:55:54'::timestamp) - extract(epoch from '2026-07-24 12:55:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699039 -2.70412)', '2026-07-24 12:56:03', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699028 -2.704169)'), GeomFromEWKT('SRID=4674;POINT (-39.699039 -2.70412)'))) / (select extract(epoch from '2026-07-24 12:56:03'::timestamp) - extract(epoch from '2026-07-24 12:55:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699028 -2.704169)'), GeomFromEWKT('SRID=4674;POINT (-39.699039 -2.70412)'))) / (select extract(epoch from '2026-07-24 12:56:03'::timestamp) - extract(epoch from '2026-07-24 12:55:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699023 -2.704072)', '2026-07-24 12:56:07', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699039 -2.70412)'), GeomFromEWKT('SRID=4674;POINT (-39.699023 -2.704072)'))) / (select extract(epoch from '2026-07-24 12:56:07'::timestamp) - extract(epoch from '2026-07-24 12:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699039 -2.70412)'), GeomFromEWKT('SRID=4674;POINT (-39.699023 -2.704072)'))) / (select extract(epoch from '2026-07-24 12:56:07'::timestamp) - extract(epoch from '2026-07-24 12:56:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699016 -2.704047)', '2026-07-24 12:56:09', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699023 -2.704072)'), GeomFromEWKT('SRID=4674;POINT (-39.699016 -2.704047)'))) / (select extract(epoch from '2026-07-24 12:56:09'::timestamp) - extract(epoch from '2026-07-24 12:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699023 -2.704072)'), GeomFromEWKT('SRID=4674;POINT (-39.699016 -2.704047)'))) / (select extract(epoch from '2026-07-24 12:56:09'::timestamp) - extract(epoch from '2026-07-24 12:56:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698978 -2.703944)', '2026-07-24 12:56:16', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699016 -2.704047)'), GeomFromEWKT('SRID=4674;POINT (-39.698978 -2.703944)'))) / (select extract(epoch from '2026-07-24 12:56:16'::timestamp) - extract(epoch from '2026-07-24 12:56:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699016 -2.704047)'), GeomFromEWKT('SRID=4674;POINT (-39.698978 -2.703944)'))) / (select extract(epoch from '2026-07-24 12:56:16'::timestamp) - extract(epoch from '2026-07-24 12:56:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698909 -2.703841)', '2026-07-24 12:56:23', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698978 -2.703944)'), GeomFromEWKT('SRID=4674;POINT (-39.698909 -2.703841)'))) / (select extract(epoch from '2026-07-24 12:56:23'::timestamp) - extract(epoch from '2026-07-24 12:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698978 -2.703944)'), GeomFromEWKT('SRID=4674;POINT (-39.698909 -2.703841)'))) / (select extract(epoch from '2026-07-24 12:56:23'::timestamp) - extract(epoch from '2026-07-24 12:56:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698821 -2.703788)', '2026-07-24 12:56:29', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698909 -2.703841)'), GeomFromEWKT('SRID=4674;POINT (-39.698821 -2.703788)'))) / (select extract(epoch from '2026-07-24 12:56:29'::timestamp) - extract(epoch from '2026-07-24 12:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698909 -2.703841)'), GeomFromEWKT('SRID=4674;POINT (-39.698821 -2.703788)'))) / (select extract(epoch from '2026-07-24 12:56:29'::timestamp) - extract(epoch from '2026-07-24 12:56:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698715 -2.703731)', '2026-07-24 12:56:36', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698821 -2.703788)'), GeomFromEWKT('SRID=4674;POINT (-39.698715 -2.703731)'))) / (select extract(epoch from '2026-07-24 12:56:36'::timestamp) - extract(epoch from '2026-07-24 12:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698821 -2.703788)'), GeomFromEWKT('SRID=4674;POINT (-39.698715 -2.703731)'))) / (select extract(epoch from '2026-07-24 12:56:36'::timestamp) - extract(epoch from '2026-07-24 12:56:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69863 -2.703683)', '2026-07-24 12:56:41', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698715 -2.703731)'), GeomFromEWKT('SRID=4674;POINT (-39.69863 -2.703683)'))) / (select extract(epoch from '2026-07-24 12:56:41'::timestamp) - extract(epoch from '2026-07-24 12:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698715 -2.703731)'), GeomFromEWKT('SRID=4674;POINT (-39.69863 -2.703683)'))) / (select extract(epoch from '2026-07-24 12:56:41'::timestamp) - extract(epoch from '2026-07-24 12:56:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698547 -2.703625)', '2026-07-24 12:56:46', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69863 -2.703683)'), GeomFromEWKT('SRID=4674;POINT (-39.698547 -2.703625)'))) / (select extract(epoch from '2026-07-24 12:56:46'::timestamp) - extract(epoch from '2026-07-24 12:56:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69863 -2.703683)'), GeomFromEWKT('SRID=4674;POINT (-39.698547 -2.703625)'))) / (select extract(epoch from '2026-07-24 12:56:46'::timestamp) - extract(epoch from '2026-07-24 12:56:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698458 -2.703591)', '2026-07-24 12:56:51', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698547 -2.703625)'), GeomFromEWKT('SRID=4674;POINT (-39.698458 -2.703591)'))) / (select extract(epoch from '2026-07-24 12:56:51'::timestamp) - extract(epoch from '2026-07-24 12:56:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698547 -2.703625)'), GeomFromEWKT('SRID=4674;POINT (-39.698458 -2.703591)'))) / (select extract(epoch from '2026-07-24 12:56:51'::timestamp) - extract(epoch from '2026-07-24 12:56:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698382 -2.703535)', '2026-07-24 12:56:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698458 -2.703591)'), GeomFromEWKT('SRID=4674;POINT (-39.698382 -2.703535)'))) / (select extract(epoch from '2026-07-24 12:56:57'::timestamp) - extract(epoch from '2026-07-24 12:56:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698458 -2.703591)'), GeomFromEWKT('SRID=4674;POINT (-39.698382 -2.703535)'))) / (select extract(epoch from '2026-07-24 12:56:57'::timestamp) - extract(epoch from '2026-07-24 12:56:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698339 -2.703481)', '2026-07-24 12:57:01', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698382 -2.703535)'), GeomFromEWKT('SRID=4674;POINT (-39.698339 -2.703481)'))) / (select extract(epoch from '2026-07-24 12:57:01'::timestamp) - extract(epoch from '2026-07-24 12:56:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698382 -2.703535)'), GeomFromEWKT('SRID=4674;POINT (-39.698339 -2.703481)'))) / (select extract(epoch from '2026-07-24 12:57:01'::timestamp) - extract(epoch from '2026-07-24 12:56:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698292 -2.703408)', '2026-07-24 12:57:08', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698339 -2.703481)'), GeomFromEWKT('SRID=4674;POINT (-39.698292 -2.703408)'))) / (select extract(epoch from '2026-07-24 12:57:08'::timestamp) - extract(epoch from '2026-07-24 12:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698339 -2.703481)'), GeomFromEWKT('SRID=4674;POINT (-39.698292 -2.703408)'))) / (select extract(epoch from '2026-07-24 12:57:08'::timestamp) - extract(epoch from '2026-07-24 12:57:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698263 -2.703377)', '2026-07-24 12:57:13', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698292 -2.703408)'), GeomFromEWKT('SRID=4674;POINT (-39.698263 -2.703377)'))) / (select extract(epoch from '2026-07-24 12:57:13'::timestamp) - extract(epoch from '2026-07-24 12:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698292 -2.703408)'), GeomFromEWKT('SRID=4674;POINT (-39.698263 -2.703377)'))) / (select extract(epoch from '2026-07-24 12:57:13'::timestamp) - extract(epoch from '2026-07-24 12:57:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698253 -2.703335)', '2026-07-24 12:57:20', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698263 -2.703377)'), GeomFromEWKT('SRID=4674;POINT (-39.698253 -2.703335)'))) / (select extract(epoch from '2026-07-24 12:57:20'::timestamp) - extract(epoch from '2026-07-24 12:57:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698263 -2.703377)'), GeomFromEWKT('SRID=4674;POINT (-39.698253 -2.703335)'))) / (select extract(epoch from '2026-07-24 12:57:20'::timestamp) - extract(epoch from '2026-07-24 12:57:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698247 -2.70329)', '2026-07-24 12:57:29', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698253 -2.703335)'), GeomFromEWKT('SRID=4674;POINT (-39.698247 -2.70329)'))) / (select extract(epoch from '2026-07-24 12:57:29'::timestamp) - extract(epoch from '2026-07-24 12:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698253 -2.703335)'), GeomFromEWKT('SRID=4674;POINT (-39.698247 -2.70329)'))) / (select extract(epoch from '2026-07-24 12:57:29'::timestamp) - extract(epoch from '2026-07-24 12:57:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698257 -2.703278)', '2026-07-24 12:57:36', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698247 -2.70329)'), GeomFromEWKT('SRID=4674;POINT (-39.698257 -2.703278)'))) / (select extract(epoch from '2026-07-24 12:57:36'::timestamp) - extract(epoch from '2026-07-24 12:57:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698247 -2.70329)'), GeomFromEWKT('SRID=4674;POINT (-39.698257 -2.703278)'))) / (select extract(epoch from '2026-07-24 12:57:36'::timestamp) - extract(epoch from '2026-07-24 12:57:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698271 -2.703256)', '2026-07-24 12:57:45', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698257 -2.703278)'), GeomFromEWKT('SRID=4674;POINT (-39.698271 -2.703256)'))) / (select extract(epoch from '2026-07-24 12:57:45'::timestamp) - extract(epoch from '2026-07-24 12:57:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698257 -2.703278)'), GeomFromEWKT('SRID=4674;POINT (-39.698271 -2.703256)'))) / (select extract(epoch from '2026-07-24 12:57:45'::timestamp) - extract(epoch from '2026-07-24 12:57:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698307 -2.703249)', '2026-07-24 12:57:54', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698271 -2.703256)'), GeomFromEWKT('SRID=4674;POINT (-39.698307 -2.703249)'))) / (select extract(epoch from '2026-07-24 12:57:54'::timestamp) - extract(epoch from '2026-07-24 12:57:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698271 -2.703256)'), GeomFromEWKT('SRID=4674;POINT (-39.698307 -2.703249)'))) / (select extract(epoch from '2026-07-24 12:57:54'::timestamp) - extract(epoch from '2026-07-24 12:57:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698338 -2.703242)', '2026-07-24 12:58:01', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698307 -2.703249)'), GeomFromEWKT('SRID=4674;POINT (-39.698338 -2.703242)'))) / (select extract(epoch from '2026-07-24 12:58:01'::timestamp) - extract(epoch from '2026-07-24 12:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698307 -2.703249)'), GeomFromEWKT('SRID=4674;POINT (-39.698338 -2.703242)'))) / (select extract(epoch from '2026-07-24 12:58:01'::timestamp) - extract(epoch from '2026-07-24 12:57:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698369 -2.703239)', '2026-07-24 12:58:07', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698338 -2.703242)'), GeomFromEWKT('SRID=4674;POINT (-39.698369 -2.703239)'))) / (select extract(epoch from '2026-07-24 12:58:07'::timestamp) - extract(epoch from '2026-07-24 12:58:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698338 -2.703242)'), GeomFromEWKT('SRID=4674;POINT (-39.698369 -2.703239)'))) / (select extract(epoch from '2026-07-24 12:58:07'::timestamp) - extract(epoch from '2026-07-24 12:58:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698425 -2.703218)', '2026-07-24 12:58:16', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698369 -2.703239)'), GeomFromEWKT('SRID=4674;POINT (-39.698425 -2.703218)'))) / (select extract(epoch from '2026-07-24 12:58:16'::timestamp) - extract(epoch from '2026-07-24 12:58:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698369 -2.703239)'), GeomFromEWKT('SRID=4674;POINT (-39.698425 -2.703218)'))) / (select extract(epoch from '2026-07-24 12:58:16'::timestamp) - extract(epoch from '2026-07-24 12:58:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698491 -2.703194)', '2026-07-24 12:58:25', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698425 -2.703218)'), GeomFromEWKT('SRID=4674;POINT (-39.698491 -2.703194)'))) / (select extract(epoch from '2026-07-24 12:58:25'::timestamp) - extract(epoch from '2026-07-24 12:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698425 -2.703218)'), GeomFromEWKT('SRID=4674;POINT (-39.698491 -2.703194)'))) / (select extract(epoch from '2026-07-24 12:58:25'::timestamp) - extract(epoch from '2026-07-24 12:58:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698533 -2.703185)', '2026-07-24 12:58:31', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698491 -2.703194)'), GeomFromEWKT('SRID=4674;POINT (-39.698533 -2.703185)'))) / (select extract(epoch from '2026-07-24 12:58:31'::timestamp) - extract(epoch from '2026-07-24 12:58:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698491 -2.703194)'), GeomFromEWKT('SRID=4674;POINT (-39.698533 -2.703185)'))) / (select extract(epoch from '2026-07-24 12:58:31'::timestamp) - extract(epoch from '2026-07-24 12:58:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698572 -2.703167)', '2026-07-24 12:58:38', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698533 -2.703185)'), GeomFromEWKT('SRID=4674;POINT (-39.698572 -2.703167)'))) / (select extract(epoch from '2026-07-24 12:58:38'::timestamp) - extract(epoch from '2026-07-24 12:58:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698533 -2.703185)'), GeomFromEWKT('SRID=4674;POINT (-39.698572 -2.703167)'))) / (select extract(epoch from '2026-07-24 12:58:38'::timestamp) - extract(epoch from '2026-07-24 12:58:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698601 -2.703128)', '2026-07-24 12:58:48', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698572 -2.703167)'), GeomFromEWKT('SRID=4674;POINT (-39.698601 -2.703128)'))) / (select extract(epoch from '2026-07-24 12:58:48'::timestamp) - extract(epoch from '2026-07-24 12:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698572 -2.703167)'), GeomFromEWKT('SRID=4674;POINT (-39.698601 -2.703128)'))) / (select extract(epoch from '2026-07-24 12:58:48'::timestamp) - extract(epoch from '2026-07-24 12:58:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698626 -2.703096)', '2026-07-24 12:58:57', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698601 -2.703128)'), GeomFromEWKT('SRID=4674;POINT (-39.698626 -2.703096)'))) / (select extract(epoch from '2026-07-24 12:58:57'::timestamp) - extract(epoch from '2026-07-24 12:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698601 -2.703128)'), GeomFromEWKT('SRID=4674;POINT (-39.698626 -2.703096)'))) / (select extract(epoch from '2026-07-24 12:58:57'::timestamp) - extract(epoch from '2026-07-24 12:58:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698621 -2.703001)', '2026-07-24 12:59:06', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698626 -2.703096)'), GeomFromEWKT('SRID=4674;POINT (-39.698621 -2.703001)'))) / (select extract(epoch from '2026-07-24 12:59:06'::timestamp) - extract(epoch from '2026-07-24 12:58:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698626 -2.703096)'), GeomFromEWKT('SRID=4674;POINT (-39.698621 -2.703001)'))) / (select extract(epoch from '2026-07-24 12:59:06'::timestamp) - extract(epoch from '2026-07-24 12:58:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698607 -2.702956)', '2026-07-24 12:59:09', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698621 -2.703001)'), GeomFromEWKT('SRID=4674;POINT (-39.698607 -2.702956)'))) / (select extract(epoch from '2026-07-24 12:59:09'::timestamp) - extract(epoch from '2026-07-24 12:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698621 -2.703001)'), GeomFromEWKT('SRID=4674;POINT (-39.698607 -2.702956)'))) / (select extract(epoch from '2026-07-24 12:59:09'::timestamp) - extract(epoch from '2026-07-24 12:59:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698602 -2.702925)', '2026-07-24 12:59:11', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698607 -2.702956)'), GeomFromEWKT('SRID=4674;POINT (-39.698602 -2.702925)'))) / (select extract(epoch from '2026-07-24 12:59:11'::timestamp) - extract(epoch from '2026-07-24 12:59:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698607 -2.702956)'), GeomFromEWKT('SRID=4674;POINT (-39.698602 -2.702925)'))) / (select extract(epoch from '2026-07-24 12:59:11'::timestamp) - extract(epoch from '2026-07-24 12:59:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698597 -2.702909)', '2026-07-24 12:59:12', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698602 -2.702925)'), GeomFromEWKT('SRID=4674;POINT (-39.698597 -2.702909)'))) / (select extract(epoch from '2026-07-24 12:59:12'::timestamp) - extract(epoch from '2026-07-24 12:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698602 -2.702925)'), GeomFromEWKT('SRID=4674;POINT (-39.698597 -2.702909)'))) / (select extract(epoch from '2026-07-24 12:59:12'::timestamp) - extract(epoch from '2026-07-24 12:59:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698563 -2.702805)', '2026-07-24 12:59:18', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698597 -2.702909)'), GeomFromEWKT('SRID=4674;POINT (-39.698563 -2.702805)'))) / (select extract(epoch from '2026-07-24 12:59:18'::timestamp) - extract(epoch from '2026-07-24 12:59:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698597 -2.702909)'), GeomFromEWKT('SRID=4674;POINT (-39.698563 -2.702805)'))) / (select extract(epoch from '2026-07-24 12:59:18'::timestamp) - extract(epoch from '2026-07-24 12: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'), 47870, 'SRID=4674;POINT (-39.698515 -2.702702)', '2026-07-24 12:59:24', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698563 -2.702805)'), GeomFromEWKT('SRID=4674;POINT (-39.698515 -2.702702)'))) / (select extract(epoch from '2026-07-24 12:59:24'::timestamp) - extract(epoch from '2026-07-24 12:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698563 -2.702805)'), GeomFromEWKT('SRID=4674;POINT (-39.698515 -2.702702)'))) / (select extract(epoch from '2026-07-24 12:59:24'::timestamp) - extract(epoch from '2026-07-24 12:59:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698464 -2.70261)', '2026-07-24 12:59:30', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698515 -2.702702)'), GeomFromEWKT('SRID=4674;POINT (-39.698464 -2.70261)'))) / (select extract(epoch from '2026-07-24 12:59:30'::timestamp) - extract(epoch from '2026-07-24 12:59:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698515 -2.702702)'), GeomFromEWKT('SRID=4674;POINT (-39.698464 -2.70261)'))) / (select extract(epoch from '2026-07-24 12:59:30'::timestamp) - extract(epoch from '2026-07-24 12:59:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698365 -2.702492)', '2026-07-24 12:59:38', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698464 -2.70261)'), GeomFromEWKT('SRID=4674;POINT (-39.698365 -2.702492)'))) / (select extract(epoch from '2026-07-24 12:59:38'::timestamp) - extract(epoch from '2026-07-24 12:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698464 -2.70261)'), GeomFromEWKT('SRID=4674;POINT (-39.698365 -2.702492)'))) / (select extract(epoch from '2026-07-24 12:59:38'::timestamp) - extract(epoch from '2026-07-24 12:59:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698306 -2.702388)', '2026-07-24 12:59:44', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698365 -2.702492)'), GeomFromEWKT('SRID=4674;POINT (-39.698306 -2.702388)'))) / (select extract(epoch from '2026-07-24 12:59:44'::timestamp) - extract(epoch from '2026-07-24 12:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698365 -2.702492)'), GeomFromEWKT('SRID=4674;POINT (-39.698306 -2.702388)'))) / (select extract(epoch from '2026-07-24 12:59:44'::timestamp) - extract(epoch from '2026-07-24 12:59:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698231 -2.702273)', '2026-07-24 12:59:51', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698306 -2.702388)'), GeomFromEWKT('SRID=4674;POINT (-39.698231 -2.702273)'))) / (select extract(epoch from '2026-07-24 12:59:51'::timestamp) - extract(epoch from '2026-07-24 12:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698306 -2.702388)'), GeomFromEWKT('SRID=4674;POINT (-39.698231 -2.702273)'))) / (select extract(epoch from '2026-07-24 12:59:51'::timestamp) - extract(epoch from '2026-07-24 12:59:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69817 -2.70218)', '2026-07-24 12:59:57', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698231 -2.702273)'), GeomFromEWKT('SRID=4674;POINT (-39.69817 -2.70218)'))) / (select extract(epoch from '2026-07-24 12:59:57'::timestamp) - extract(epoch from '2026-07-24 12:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698231 -2.702273)'), GeomFromEWKT('SRID=4674;POINT (-39.69817 -2.70218)'))) / (select extract(epoch from '2026-07-24 12:59:57'::timestamp) - extract(epoch from '2026-07-24 12:59:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698085 -2.702076)', '2026-07-24 13:00:04', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69817 -2.70218)'), GeomFromEWKT('SRID=4674;POINT (-39.698085 -2.702076)'))) / (select extract(epoch from '2026-07-24 13:00:04'::timestamp) - extract(epoch from '2026-07-24 12:59:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69817 -2.70218)'), GeomFromEWKT('SRID=4674;POINT (-39.698085 -2.702076)'))) / (select extract(epoch from '2026-07-24 13:00:04'::timestamp) - extract(epoch from '2026-07-24 12:59:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698041 -2.701986)', '2026-07-24 13:00:09', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698085 -2.702076)'), GeomFromEWKT('SRID=4674;POINT (-39.698041 -2.701986)'))) / (select extract(epoch from '2026-07-24 13:00:09'::timestamp) - extract(epoch from '2026-07-24 13:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698085 -2.702076)'), GeomFromEWKT('SRID=4674;POINT (-39.698041 -2.701986)'))) / (select extract(epoch from '2026-07-24 13:00:09'::timestamp) - extract(epoch from '2026-07-24 13:00:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69797 -2.701871)', '2026-07-24 13:00:16', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698041 -2.701986)'), GeomFromEWKT('SRID=4674;POINT (-39.69797 -2.701871)'))) / (select extract(epoch from '2026-07-24 13:00:16'::timestamp) - extract(epoch from '2026-07-24 13:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698041 -2.701986)'), GeomFromEWKT('SRID=4674;POINT (-39.69797 -2.701871)'))) / (select extract(epoch from '2026-07-24 13:00:16'::timestamp) - extract(epoch from '2026-07-24 13:00:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697921 -2.701786)', '2026-07-24 13:00:21', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69797 -2.701871)'), GeomFromEWKT('SRID=4674;POINT (-39.697921 -2.701786)'))) / (select extract(epoch from '2026-07-24 13:00:21'::timestamp) - extract(epoch from '2026-07-24 13:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69797 -2.701871)'), GeomFromEWKT('SRID=4674;POINT (-39.697921 -2.701786)'))) / (select extract(epoch from '2026-07-24 13:00:21'::timestamp) - extract(epoch from '2026-07-24 13:00:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697889 -2.701719)', '2026-07-24 13:00:27', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697921 -2.701786)'), GeomFromEWKT('SRID=4674;POINT (-39.697889 -2.701719)'))) / (select extract(epoch from '2026-07-24 13:00:27'::timestamp) - extract(epoch from '2026-07-24 13:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697921 -2.701786)'), GeomFromEWKT('SRID=4674;POINT (-39.697889 -2.701719)'))) / (select extract(epoch from '2026-07-24 13:00:27'::timestamp) - extract(epoch from '2026-07-24 13:00:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697865 -2.701673)', '2026-07-24 13:00:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697889 -2.701719)'), GeomFromEWKT('SRID=4674;POINT (-39.697865 -2.701673)'))) / (select extract(epoch from '2026-07-24 13:00:33'::timestamp) - extract(epoch from '2026-07-24 13:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697889 -2.701719)'), GeomFromEWKT('SRID=4674;POINT (-39.697865 -2.701673)'))) / (select extract(epoch from '2026-07-24 13:00:33'::timestamp) - extract(epoch from '2026-07-24 13:00:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697865 -2.701661)', '2026-07-24 13:00:35', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697865 -2.701673)'), GeomFromEWKT('SRID=4674;POINT (-39.697865 -2.701661)'))) / (select extract(epoch from '2026-07-24 13:00:35'::timestamp) - extract(epoch from '2026-07-24 13:00:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697865 -2.701673)'), GeomFromEWKT('SRID=4674;POINT (-39.697865 -2.701661)'))) / (select extract(epoch from '2026-07-24 13:00:35'::timestamp) - extract(epoch from '2026-07-24 13:00:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697881 -2.701602)', '2026-07-24 13:00:45', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697865 -2.701661)'), GeomFromEWKT('SRID=4674;POINT (-39.697881 -2.701602)'))) / (select extract(epoch from '2026-07-24 13:00:45'::timestamp) - extract(epoch from '2026-07-24 13:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697865 -2.701661)'), GeomFromEWKT('SRID=4674;POINT (-39.697881 -2.701602)'))) / (select extract(epoch from '2026-07-24 13:00:45'::timestamp) - extract(epoch from '2026-07-24 13:00:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69791 -2.701559)', '2026-07-24 13:00:54', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697881 -2.701602)'), GeomFromEWKT('SRID=4674;POINT (-39.69791 -2.701559)'))) / (select extract(epoch from '2026-07-24 13:00:54'::timestamp) - extract(epoch from '2026-07-24 13:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697881 -2.701602)'), GeomFromEWKT('SRID=4674;POINT (-39.69791 -2.701559)'))) / (select extract(epoch from '2026-07-24 13:00:54'::timestamp) - extract(epoch from '2026-07-24 13:00:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697942 -2.701529)', '2026-07-24 13:01:03', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69791 -2.701559)'), GeomFromEWKT('SRID=4674;POINT (-39.697942 -2.701529)'))) / (select extract(epoch from '2026-07-24 13:01:03'::timestamp) - extract(epoch from '2026-07-24 13:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69791 -2.701559)'), GeomFromEWKT('SRID=4674;POINT (-39.697942 -2.701529)'))) / (select extract(epoch from '2026-07-24 13:01:03'::timestamp) - extract(epoch from '2026-07-24 13:00:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697983 -2.701508)', '2026-07-24 13:01:13', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697942 -2.701529)'), GeomFromEWKT('SRID=4674;POINT (-39.697983 -2.701508)'))) / (select extract(epoch from '2026-07-24 13:01:13'::timestamp) - extract(epoch from '2026-07-24 13:01:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697942 -2.701529)'), GeomFromEWKT('SRID=4674;POINT (-39.697983 -2.701508)'))) / (select extract(epoch from '2026-07-24 13:01:13'::timestamp) - extract(epoch from '2026-07-24 13: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'), 47870, 'SRID=4674;POINT (-39.698021 -2.701494)', '2026-07-24 13:01:22', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697983 -2.701508)'), GeomFromEWKT('SRID=4674;POINT (-39.698021 -2.701494)'))) / (select extract(epoch from '2026-07-24 13:01:22'::timestamp) - extract(epoch from '2026-07-24 13:01:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697983 -2.701508)'), GeomFromEWKT('SRID=4674;POINT (-39.698021 -2.701494)'))) / (select extract(epoch from '2026-07-24 13:01:22'::timestamp) - extract(epoch from '2026-07-24 13:01:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698053 -2.701487)', '2026-07-24 13:01:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698021 -2.701494)'), GeomFromEWKT('SRID=4674;POINT (-39.698053 -2.701487)'))) / (select extract(epoch from '2026-07-24 13:01:30'::timestamp) - extract(epoch from '2026-07-24 13:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698021 -2.701494)'), GeomFromEWKT('SRID=4674;POINT (-39.698053 -2.701487)'))) / (select extract(epoch from '2026-07-24 13:01:30'::timestamp) - extract(epoch from '2026-07-24 13:01:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698082 -2.701481)', '2026-07-24 13:01:36', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698053 -2.701487)'), GeomFromEWKT('SRID=4674;POINT (-39.698082 -2.701481)'))) / (select extract(epoch from '2026-07-24 13:01:36'::timestamp) - extract(epoch from '2026-07-24 13:01:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698053 -2.701487)'), GeomFromEWKT('SRID=4674;POINT (-39.698082 -2.701481)'))) / (select extract(epoch from '2026-07-24 13:01:36'::timestamp) - extract(epoch from '2026-07-24 13:01:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698115 -2.701468)', '2026-07-24 13:01:45', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698082 -2.701481)'), GeomFromEWKT('SRID=4674;POINT (-39.698115 -2.701468)'))) / (select extract(epoch from '2026-07-24 13:01:45'::timestamp) - extract(epoch from '2026-07-24 13:01:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698082 -2.701481)'), GeomFromEWKT('SRID=4674;POINT (-39.698115 -2.701468)'))) / (select extract(epoch from '2026-07-24 13:01:45'::timestamp) - extract(epoch from '2026-07-24 13:01:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698167 -2.701453)', '2026-07-24 13:01:57', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698115 -2.701468)'), GeomFromEWKT('SRID=4674;POINT (-39.698167 -2.701453)'))) / (select extract(epoch from '2026-07-24 13:01:57'::timestamp) - extract(epoch from '2026-07-24 13:01:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698115 -2.701468)'), GeomFromEWKT('SRID=4674;POINT (-39.698167 -2.701453)'))) / (select extract(epoch from '2026-07-24 13:01:57'::timestamp) - extract(epoch from '2026-07-24 13:01:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698205 -2.701439)', '2026-07-24 13:02:04', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698167 -2.701453)'), GeomFromEWKT('SRID=4674;POINT (-39.698205 -2.701439)'))) / (select extract(epoch from '2026-07-24 13:02:04'::timestamp) - extract(epoch from '2026-07-24 13:01:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698167 -2.701453)'), GeomFromEWKT('SRID=4674;POINT (-39.698205 -2.701439)'))) / (select extract(epoch from '2026-07-24 13:02:04'::timestamp) - extract(epoch from '2026-07-24 13:01:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698218 -2.701427)', '2026-07-24 13:02:09', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698205 -2.701439)'), GeomFromEWKT('SRID=4674;POINT (-39.698218 -2.701427)'))) / (select extract(epoch from '2026-07-24 13:02:09'::timestamp) - extract(epoch from '2026-07-24 13:02:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698205 -2.701439)'), GeomFromEWKT('SRID=4674;POINT (-39.698218 -2.701427)'))) / (select extract(epoch from '2026-07-24 13:02:09'::timestamp) - extract(epoch from '2026-07-24 13:02:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698249 -2.701409)', '2026-07-24 13:02:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698218 -2.701427)'), GeomFromEWKT('SRID=4674;POINT (-39.698249 -2.701409)'))) / (select extract(epoch from '2026-07-24 13:02:17'::timestamp) - extract(epoch from '2026-07-24 13:02:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698218 -2.701427)'), GeomFromEWKT('SRID=4674;POINT (-39.698249 -2.701409)'))) / (select extract(epoch from '2026-07-24 13:02:17'::timestamp) - extract(epoch from '2026-07-24 13:02:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698266 -2.701374)', '2026-07-24 13:02:26', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698249 -2.701409)'), GeomFromEWKT('SRID=4674;POINT (-39.698266 -2.701374)'))) / (select extract(epoch from '2026-07-24 13:02:26'::timestamp) - extract(epoch from '2026-07-24 13:02:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698249 -2.701409)'), GeomFromEWKT('SRID=4674;POINT (-39.698266 -2.701374)'))) / (select extract(epoch from '2026-07-24 13:02:26'::timestamp) - extract(epoch from '2026-07-24 13:02:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698253 -2.701347)', '2026-07-24 13:02:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698266 -2.701374)'), GeomFromEWKT('SRID=4674;POINT (-39.698253 -2.701347)'))) / (select extract(epoch from '2026-07-24 13:02:29'::timestamp) - extract(epoch from '2026-07-24 13:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698266 -2.701374)'), GeomFromEWKT('SRID=4674;POINT (-39.698253 -2.701347)'))) / (select extract(epoch from '2026-07-24 13:02:29'::timestamp) - extract(epoch from '2026-07-24 13:02:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698237 -2.701331)', '2026-07-24 13:02:31', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698253 -2.701347)'), GeomFromEWKT('SRID=4674;POINT (-39.698237 -2.701331)'))) / (select extract(epoch from '2026-07-24 13:02:31'::timestamp) - extract(epoch from '2026-07-24 13:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698253 -2.701347)'), GeomFromEWKT('SRID=4674;POINT (-39.698237 -2.701331)'))) / (select extract(epoch from '2026-07-24 13:02:31'::timestamp) - extract(epoch from '2026-07-24 13:02:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698228 -2.701318)', '2026-07-24 13:02:32', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698237 -2.701331)'), GeomFromEWKT('SRID=4674;POINT (-39.698228 -2.701318)'))) / (select extract(epoch from '2026-07-24 13:02:32'::timestamp) - extract(epoch from '2026-07-24 13:02:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698237 -2.701331)'), GeomFromEWKT('SRID=4674;POINT (-39.698228 -2.701318)'))) / (select extract(epoch from '2026-07-24 13:02:32'::timestamp) - extract(epoch from '2026-07-24 13:02:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698163 -2.701267)', '2026-07-24 13:02:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698228 -2.701318)'), GeomFromEWKT('SRID=4674;POINT (-39.698163 -2.701267)'))) / (select extract(epoch from '2026-07-24 13:02:38'::timestamp) - extract(epoch from '2026-07-24 13:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698228 -2.701318)'), GeomFromEWKT('SRID=4674;POINT (-39.698163 -2.701267)'))) / (select extract(epoch from '2026-07-24 13:02:38'::timestamp) - extract(epoch from '2026-07-24 13:02:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698096 -2.701221)', '2026-07-24 13:02:43', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698163 -2.701267)'), GeomFromEWKT('SRID=4674;POINT (-39.698096 -2.701221)'))) / (select extract(epoch from '2026-07-24 13:02:43'::timestamp) - extract(epoch from '2026-07-24 13:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698163 -2.701267)'), GeomFromEWKT('SRID=4674;POINT (-39.698096 -2.701221)'))) / (select extract(epoch from '2026-07-24 13:02:43'::timestamp) - extract(epoch from '2026-07-24 13:02:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698008 -2.701172)', '2026-07-24 13:02:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698096 -2.701221)'), GeomFromEWKT('SRID=4674;POINT (-39.698008 -2.701172)'))) / (select extract(epoch from '2026-07-24 13:02:49'::timestamp) - extract(epoch from '2026-07-24 13:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698096 -2.701221)'), GeomFromEWKT('SRID=4674;POINT (-39.698008 -2.701172)'))) / (select extract(epoch from '2026-07-24 13:02:49'::timestamp) - extract(epoch from '2026-07-24 13:02:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697877 -2.701099)', '2026-07-24 13:02:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698008 -2.701172)'), GeomFromEWKT('SRID=4674;POINT (-39.697877 -2.701099)'))) / (select extract(epoch from '2026-07-24 13:02:57'::timestamp) - extract(epoch from '2026-07-24 13:02:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698008 -2.701172)'), GeomFromEWKT('SRID=4674;POINT (-39.697877 -2.701099)'))) / (select extract(epoch from '2026-07-24 13:02:57'::timestamp) - extract(epoch from '2026-07-24 13:02:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697768 -2.701044)', '2026-07-24 13:03:03', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697877 -2.701099)'), GeomFromEWKT('SRID=4674;POINT (-39.697768 -2.701044)'))) / (select extract(epoch from '2026-07-24 13:03:03'::timestamp) - extract(epoch from '2026-07-24 13:02:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697877 -2.701099)'), GeomFromEWKT('SRID=4674;POINT (-39.697768 -2.701044)'))) / (select extract(epoch from '2026-07-24 13:03:03'::timestamp) - extract(epoch from '2026-07-24 13:02:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697657 -2.700965)', '2026-07-24 13:03:10', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697768 -2.701044)'), GeomFromEWKT('SRID=4674;POINT (-39.697657 -2.700965)'))) / (select extract(epoch from '2026-07-24 13:03:10'::timestamp) - extract(epoch from '2026-07-24 13:03:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697768 -2.701044)'), GeomFromEWKT('SRID=4674;POINT (-39.697657 -2.700965)'))) / (select extract(epoch from '2026-07-24 13:03:10'::timestamp) - extract(epoch from '2026-07-24 13:03:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69758 -2.70088)', '2026-07-24 13:03:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697657 -2.700965)'), GeomFromEWKT('SRID=4674;POINT (-39.69758 -2.70088)'))) / (select extract(epoch from '2026-07-24 13:03:16'::timestamp) - extract(epoch from '2026-07-24 13:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697657 -2.700965)'), GeomFromEWKT('SRID=4674;POINT (-39.69758 -2.70088)'))) / (select extract(epoch from '2026-07-24 13:03:16'::timestamp) - extract(epoch from '2026-07-24 13:03:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697501 -2.70078)', '2026-07-24 13:03:23', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69758 -2.70088)'), GeomFromEWKT('SRID=4674;POINT (-39.697501 -2.70078)'))) / (select extract(epoch from '2026-07-24 13:03:23'::timestamp) - extract(epoch from '2026-07-24 13:03:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69758 -2.70088)'), GeomFromEWKT('SRID=4674;POINT (-39.697501 -2.70078)'))) / (select extract(epoch from '2026-07-24 13:03:23'::timestamp) - extract(epoch from '2026-07-24 13: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'), 47870, 'SRID=4674;POINT (-39.697467 -2.700743)', '2026-07-24 13:03:27', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697501 -2.70078)'), GeomFromEWKT('SRID=4674;POINT (-39.697467 -2.700743)'))) / (select extract(epoch from '2026-07-24 13:03:27'::timestamp) - extract(epoch from '2026-07-24 13:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697501 -2.70078)'), GeomFromEWKT('SRID=4674;POINT (-39.697467 -2.700743)'))) / (select extract(epoch from '2026-07-24 13:03:27'::timestamp) - extract(epoch from '2026-07-24 13:03:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697436 -2.700713)', '2026-07-24 13:03:33', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697467 -2.700743)'), GeomFromEWKT('SRID=4674;POINT (-39.697436 -2.700713)'))) / (select extract(epoch from '2026-07-24 13:03:33'::timestamp) - extract(epoch from '2026-07-24 13:03:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697467 -2.700743)'), GeomFromEWKT('SRID=4674;POINT (-39.697436 -2.700713)'))) / (select extract(epoch from '2026-07-24 13:03:33'::timestamp) - extract(epoch from '2026-07-24 13:03:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697424 -2.70069)', '2026-07-24 13:03:40', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697436 -2.700713)'), GeomFromEWKT('SRID=4674;POINT (-39.697424 -2.70069)'))) / (select extract(epoch from '2026-07-24 13:03:40'::timestamp) - extract(epoch from '2026-07-24 13:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697436 -2.700713)'), GeomFromEWKT('SRID=4674;POINT (-39.697424 -2.70069)'))) / (select extract(epoch from '2026-07-24 13:03:40'::timestamp) - extract(epoch from '2026-07-24 13:03:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697419 -2.700658)', '2026-07-24 13:03:48', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697424 -2.70069)'), GeomFromEWKT('SRID=4674;POINT (-39.697419 -2.700658)'))) / (select extract(epoch from '2026-07-24 13:03:48'::timestamp) - extract(epoch from '2026-07-24 13:03:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697424 -2.70069)'), GeomFromEWKT('SRID=4674;POINT (-39.697419 -2.700658)'))) / (select extract(epoch from '2026-07-24 13:03:48'::timestamp) - extract(epoch from '2026-07-24 13:03:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697444 -2.700634)', '2026-07-24 13:03:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697419 -2.700658)'), GeomFromEWKT('SRID=4674;POINT (-39.697444 -2.700634)'))) / (select extract(epoch from '2026-07-24 13:03:56'::timestamp) - extract(epoch from '2026-07-24 13:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697419 -2.700658)'), GeomFromEWKT('SRID=4674;POINT (-39.697444 -2.700634)'))) / (select extract(epoch from '2026-07-24 13:03:56'::timestamp) - extract(epoch from '2026-07-24 13:03:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697473 -2.700595)', '2026-07-24 13:04:05', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697444 -2.700634)'), GeomFromEWKT('SRID=4674;POINT (-39.697473 -2.700595)'))) / (select extract(epoch from '2026-07-24 13:04:05'::timestamp) - extract(epoch from '2026-07-24 13:03:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697444 -2.700634)'), GeomFromEWKT('SRID=4674;POINT (-39.697473 -2.700595)'))) / (select extract(epoch from '2026-07-24 13:04:05'::timestamp) - extract(epoch from '2026-07-24 13:03:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697509 -2.700575)', '2026-07-24 13:04:12', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697473 -2.700595)'), GeomFromEWKT('SRID=4674;POINT (-39.697509 -2.700575)'))) / (select extract(epoch from '2026-07-24 13:04:12'::timestamp) - extract(epoch from '2026-07-24 13:04:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697473 -2.700595)'), GeomFromEWKT('SRID=4674;POINT (-39.697509 -2.700575)'))) / (select extract(epoch from '2026-07-24 13:04:12'::timestamp) - extract(epoch from '2026-07-24 13:04:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697547 -2.700541)', '2026-07-24 13:04:21', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697509 -2.700575)'), GeomFromEWKT('SRID=4674;POINT (-39.697547 -2.700541)'))) / (select extract(epoch from '2026-07-24 13:04:21'::timestamp) - extract(epoch from '2026-07-24 13:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697509 -2.700575)'), GeomFromEWKT('SRID=4674;POINT (-39.697547 -2.700541)'))) / (select extract(epoch from '2026-07-24 13:04:21'::timestamp) - extract(epoch from '2026-07-24 13:04:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697589 -2.700504)', '2026-07-24 13:04:32', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697547 -2.700541)'), GeomFromEWKT('SRID=4674;POINT (-39.697589 -2.700504)'))) / (select extract(epoch from '2026-07-24 13:04:32'::timestamp) - extract(epoch from '2026-07-24 13:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697547 -2.700541)'), GeomFromEWKT('SRID=4674;POINT (-39.697589 -2.700504)'))) / (select extract(epoch from '2026-07-24 13:04:32'::timestamp) - extract(epoch from '2026-07-24 13:04:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69762 -2.700487)', '2026-07-24 13:04:41', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697589 -2.700504)'), GeomFromEWKT('SRID=4674;POINT (-39.69762 -2.700487)'))) / (select extract(epoch from '2026-07-24 13:04:41'::timestamp) - extract(epoch from '2026-07-24 13:04:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697589 -2.700504)'), GeomFromEWKT('SRID=4674;POINT (-39.69762 -2.700487)'))) / (select extract(epoch from '2026-07-24 13:04:41'::timestamp) - extract(epoch from '2026-07-24 13:04:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697634 -2.700461)', '2026-07-24 13:04:59', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69762 -2.700487)'), GeomFromEWKT('SRID=4674;POINT (-39.697634 -2.700461)'))) / (select extract(epoch from '2026-07-24 13:04:59'::timestamp) - extract(epoch from '2026-07-24 13:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69762 -2.700487)'), GeomFromEWKT('SRID=4674;POINT (-39.697634 -2.700461)'))) / (select extract(epoch from '2026-07-24 13:04:59'::timestamp) - extract(epoch from '2026-07-24 13:04:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697646 -2.700441)', '2026-07-24 13:05:11', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697634 -2.700461)'), GeomFromEWKT('SRID=4674;POINT (-39.697646 -2.700441)'))) / (select extract(epoch from '2026-07-24 13:05:11'::timestamp) - extract(epoch from '2026-07-24 13:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697634 -2.700461)'), GeomFromEWKT('SRID=4674;POINT (-39.697646 -2.700441)'))) / (select extract(epoch from '2026-07-24 13:05:11'::timestamp) - extract(epoch from '2026-07-24 13:04:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697669 -2.700452)', '2026-07-24 13:05:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697646 -2.700441)'), GeomFromEWKT('SRID=4674;POINT (-39.697669 -2.700452)'))) / (select extract(epoch from '2026-07-24 13:05:29'::timestamp) - extract(epoch from '2026-07-24 13:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697646 -2.700441)'), GeomFromEWKT('SRID=4674;POINT (-39.697669 -2.700452)'))) / (select extract(epoch from '2026-07-24 13:05:29'::timestamp) - extract(epoch from '2026-07-24 13:05:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697731 -2.700423)', '2026-07-24 13:05:45', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697669 -2.700452)'), GeomFromEWKT('SRID=4674;POINT (-39.697731 -2.700423)'))) / (select extract(epoch from '2026-07-24 13:05:45'::timestamp) - extract(epoch from '2026-07-24 13:05:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697669 -2.700452)'), GeomFromEWKT('SRID=4674;POINT (-39.697731 -2.700423)'))) / (select extract(epoch from '2026-07-24 13:05:45'::timestamp) - extract(epoch from '2026-07-24 13:05:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697767 -2.700408)', '2026-07-24 13:05:52', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697731 -2.700423)'), GeomFromEWKT('SRID=4674;POINT (-39.697767 -2.700408)'))) / (select extract(epoch from '2026-07-24 13:05:52'::timestamp) - extract(epoch from '2026-07-24 13:05:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697731 -2.700423)'), GeomFromEWKT('SRID=4674;POINT (-39.697767 -2.700408)'))) / (select extract(epoch from '2026-07-24 13:05:52'::timestamp) - extract(epoch from '2026-07-24 13:05:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697807 -2.700382)', '2026-07-24 13:06:01', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697767 -2.700408)'), GeomFromEWKT('SRID=4674;POINT (-39.697807 -2.700382)'))) / (select extract(epoch from '2026-07-24 13:06:01'::timestamp) - extract(epoch from '2026-07-24 13:05:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697767 -2.700408)'), GeomFromEWKT('SRID=4674;POINT (-39.697807 -2.700382)'))) / (select extract(epoch from '2026-07-24 13:06:01'::timestamp) - extract(epoch from '2026-07-24 13:05:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697821 -2.700368)', '2026-07-24 13:06:10', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697807 -2.700382)'), GeomFromEWKT('SRID=4674;POINT (-39.697821 -2.700368)'))) / (select extract(epoch from '2026-07-24 13:06:10'::timestamp) - extract(epoch from '2026-07-24 13:06:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697807 -2.700382)'), GeomFromEWKT('SRID=4674;POINT (-39.697821 -2.700368)'))) / (select extract(epoch from '2026-07-24 13:06:10'::timestamp) - extract(epoch from '2026-07-24 13:06:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697769 -2.700341)', '2026-07-24 13:06:22', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697821 -2.700368)'), GeomFromEWKT('SRID=4674;POINT (-39.697769 -2.700341)'))) / (select extract(epoch from '2026-07-24 13:06:22'::timestamp) - extract(epoch from '2026-07-24 13:06:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697821 -2.700368)'), GeomFromEWKT('SRID=4674;POINT (-39.697769 -2.700341)'))) / (select extract(epoch from '2026-07-24 13:06:22'::timestamp) - extract(epoch from '2026-07-24 13:06:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697759 -2.700326)', '2026-07-24 13:06:24', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697769 -2.700341)'), GeomFromEWKT('SRID=4674;POINT (-39.697759 -2.700326)'))) / (select extract(epoch from '2026-07-24 13:06:24'::timestamp) - extract(epoch from '2026-07-24 13:06:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697769 -2.700341)'), GeomFromEWKT('SRID=4674;POINT (-39.697759 -2.700326)'))) / (select extract(epoch from '2026-07-24 13:06:24'::timestamp) - extract(epoch from '2026-07-24 13:06:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697742 -2.700295)', '2026-07-24 13:06:27', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697759 -2.700326)'), GeomFromEWKT('SRID=4674;POINT (-39.697742 -2.700295)'))) / (select extract(epoch from '2026-07-24 13:06:27'::timestamp) - extract(epoch from '2026-07-24 13:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697759 -2.700326)'), GeomFromEWKT('SRID=4674;POINT (-39.697742 -2.700295)'))) / (select extract(epoch from '2026-07-24 13:06:27'::timestamp) - extract(epoch from '2026-07-24 13:06:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697694 -2.700219)', '2026-07-24 13:06:33', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697742 -2.700295)'), GeomFromEWKT('SRID=4674;POINT (-39.697694 -2.700219)'))) / (select extract(epoch from '2026-07-24 13:06:33'::timestamp) - extract(epoch from '2026-07-24 13:06:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697742 -2.700295)'), GeomFromEWKT('SRID=4674;POINT (-39.697694 -2.700219)'))) / (select extract(epoch from '2026-07-24 13:06:33'::timestamp) - extract(epoch from '2026-07-24 13:06:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697632 -2.700115)', '2026-07-24 13:06:40', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697694 -2.700219)'), GeomFromEWKT('SRID=4674;POINT (-39.697632 -2.700115)'))) / (select extract(epoch from '2026-07-24 13:06:40'::timestamp) - extract(epoch from '2026-07-24 13:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697694 -2.700219)'), GeomFromEWKT('SRID=4674;POINT (-39.697632 -2.700115)'))) / (select extract(epoch from '2026-07-24 13:06:40'::timestamp) - extract(epoch from '2026-07-24 13:06:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697561 -2.700006)', '2026-07-24 13:06:47', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697632 -2.700115)'), GeomFromEWKT('SRID=4674;POINT (-39.697561 -2.700006)'))) / (select extract(epoch from '2026-07-24 13:06:47'::timestamp) - extract(epoch from '2026-07-24 13:06:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697632 -2.700115)'), GeomFromEWKT('SRID=4674;POINT (-39.697561 -2.700006)'))) / (select extract(epoch from '2026-07-24 13:06:47'::timestamp) - extract(epoch from '2026-07-24 13:06:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697491 -2.699885)', '2026-07-24 13:06:54', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697561 -2.700006)'), GeomFromEWKT('SRID=4674;POINT (-39.697491 -2.699885)'))) / (select extract(epoch from '2026-07-24 13:06:54'::timestamp) - extract(epoch from '2026-07-24 13:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697561 -2.700006)'), GeomFromEWKT('SRID=4674;POINT (-39.697491 -2.699885)'))) / (select extract(epoch from '2026-07-24 13:06:54'::timestamp) - extract(epoch from '2026-07-24 13:06:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697428 -2.699812)', '2026-07-24 13:07:00', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697491 -2.699885)'), GeomFromEWKT('SRID=4674;POINT (-39.697428 -2.699812)'))) / (select extract(epoch from '2026-07-24 13:07:00'::timestamp) - extract(epoch from '2026-07-24 13:06:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697491 -2.699885)'), GeomFromEWKT('SRID=4674;POINT (-39.697428 -2.699812)'))) / (select extract(epoch from '2026-07-24 13:07:00'::timestamp) - extract(epoch from '2026-07-24 13:06:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697342 -2.699781)', '2026-07-24 13:07:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697428 -2.699812)'), GeomFromEWKT('SRID=4674;POINT (-39.697342 -2.699781)'))) / (select extract(epoch from '2026-07-24 13:07:06'::timestamp) - extract(epoch from '2026-07-24 13:07:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697428 -2.699812)'), GeomFromEWKT('SRID=4674;POINT (-39.697342 -2.699781)'))) / (select extract(epoch from '2026-07-24 13:07:06'::timestamp) - extract(epoch from '2026-07-24 13:07:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697246 -2.699766)', '2026-07-24 13:07:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697342 -2.699781)'), GeomFromEWKT('SRID=4674;POINT (-39.697246 -2.699766)'))) / (select extract(epoch from '2026-07-24 13:07:12'::timestamp) - extract(epoch from '2026-07-24 13:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697342 -2.699781)'), GeomFromEWKT('SRID=4674;POINT (-39.697246 -2.699766)'))) / (select extract(epoch from '2026-07-24 13:07:12'::timestamp) - extract(epoch from '2026-07-24 13:07:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697155 -2.699739)', '2026-07-24 13:07:18', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697246 -2.699766)'), GeomFromEWKT('SRID=4674;POINT (-39.697155 -2.699739)'))) / (select extract(epoch from '2026-07-24 13:07:18'::timestamp) - extract(epoch from '2026-07-24 13:07:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697246 -2.699766)'), GeomFromEWKT('SRID=4674;POINT (-39.697155 -2.699739)'))) / (select extract(epoch from '2026-07-24 13:07:18'::timestamp) - extract(epoch from '2026-07-24 13:07:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69706 -2.699708)', '2026-07-24 13:07:24', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697155 -2.699739)'), GeomFromEWKT('SRID=4674;POINT (-39.69706 -2.699708)'))) / (select extract(epoch from '2026-07-24 13:07:24'::timestamp) - extract(epoch from '2026-07-24 13:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697155 -2.699739)'), GeomFromEWKT('SRID=4674;POINT (-39.69706 -2.699708)'))) / (select extract(epoch from '2026-07-24 13:07:24'::timestamp) - extract(epoch from '2026-07-24 13:07:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696968 -2.699673)', '2026-07-24 13:07:30', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69706 -2.699708)'), GeomFromEWKT('SRID=4674;POINT (-39.696968 -2.699673)'))) / (select extract(epoch from '2026-07-24 13:07:30'::timestamp) - extract(epoch from '2026-07-24 13:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69706 -2.699708)'), GeomFromEWKT('SRID=4674;POINT (-39.696968 -2.699673)'))) / (select extract(epoch from '2026-07-24 13:07:30'::timestamp) - extract(epoch from '2026-07-24 13:07:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696885 -2.699647)', '2026-07-24 13:07:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696968 -2.699673)'), GeomFromEWKT('SRID=4674;POINT (-39.696885 -2.699647)'))) / (select extract(epoch from '2026-07-24 13:07:37'::timestamp) - extract(epoch from '2026-07-24 13:07:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696968 -2.699673)'), GeomFromEWKT('SRID=4674;POINT (-39.696885 -2.699647)'))) / (select extract(epoch from '2026-07-24 13:07:37'::timestamp) - extract(epoch from '2026-07-24 13:07:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69685 -2.699625)', '2026-07-24 13:07:42', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696885 -2.699647)'), GeomFromEWKT('SRID=4674;POINT (-39.69685 -2.699625)'))) / (select extract(epoch from '2026-07-24 13:07:42'::timestamp) - extract(epoch from '2026-07-24 13:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696885 -2.699647)'), GeomFromEWKT('SRID=4674;POINT (-39.69685 -2.699625)'))) / (select extract(epoch from '2026-07-24 13:07:42'::timestamp) - extract(epoch from '2026-07-24 13:07:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696827 -2.69959)', '2026-07-24 13:07:50', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69685 -2.699625)'), GeomFromEWKT('SRID=4674;POINT (-39.696827 -2.69959)'))) / (select extract(epoch from '2026-07-24 13:07:50'::timestamp) - extract(epoch from '2026-07-24 13:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69685 -2.699625)'), GeomFromEWKT('SRID=4674;POINT (-39.696827 -2.69959)'))) / (select extract(epoch from '2026-07-24 13:07:50'::timestamp) - extract(epoch from '2026-07-24 13:07:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696839 -2.699553)', '2026-07-24 13:07:58', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696827 -2.69959)'), GeomFromEWKT('SRID=4674;POINT (-39.696839 -2.699553)'))) / (select extract(epoch from '2026-07-24 13:07:58'::timestamp) - extract(epoch from '2026-07-24 13:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696827 -2.69959)'), GeomFromEWKT('SRID=4674;POINT (-39.696839 -2.699553)'))) / (select extract(epoch from '2026-07-24 13:07:58'::timestamp) - extract(epoch from '2026-07-24 13: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'), 47870, 'SRID=4674;POINT (-39.696858 -2.699532)', '2026-07-24 13:08:04', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696839 -2.699553)'), GeomFromEWKT('SRID=4674;POINT (-39.696858 -2.699532)'))) / (select extract(epoch from '2026-07-24 13:08:04'::timestamp) - extract(epoch from '2026-07-24 13:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696839 -2.699553)'), GeomFromEWKT('SRID=4674;POINT (-39.696858 -2.699532)'))) / (select extract(epoch from '2026-07-24 13:08:04'::timestamp) - extract(epoch from '2026-07-24 13:07:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696896 -2.699505)', '2026-07-24 13:08:13', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696858 -2.699532)'), GeomFromEWKT('SRID=4674;POINT (-39.696896 -2.699505)'))) / (select extract(epoch from '2026-07-24 13:08:13'::timestamp) - extract(epoch from '2026-07-24 13:08:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696858 -2.699532)'), GeomFromEWKT('SRID=4674;POINT (-39.696896 -2.699505)'))) / (select extract(epoch from '2026-07-24 13:08:13'::timestamp) - extract(epoch from '2026-07-24 13:08:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696945 -2.699469)', '2026-07-24 13:08:23', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696896 -2.699505)'), GeomFromEWKT('SRID=4674;POINT (-39.696945 -2.699469)'))) / (select extract(epoch from '2026-07-24 13:08:23'::timestamp) - extract(epoch from '2026-07-24 13:08:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696896 -2.699505)'), GeomFromEWKT('SRID=4674;POINT (-39.696945 -2.699469)'))) / (select extract(epoch from '2026-07-24 13:08:23'::timestamp) - extract(epoch from '2026-07-24 13: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'), 47870, 'SRID=4674;POINT (-39.696998 -2.699439)', '2026-07-24 13:08:34', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696945 -2.699469)'), GeomFromEWKT('SRID=4674;POINT (-39.696998 -2.699439)'))) / (select extract(epoch from '2026-07-24 13:08:34'::timestamp) - extract(epoch from '2026-07-24 13:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696945 -2.699469)'), GeomFromEWKT('SRID=4674;POINT (-39.696998 -2.699439)'))) / (select extract(epoch from '2026-07-24 13:08:34'::timestamp) - extract(epoch from '2026-07-24 13:08:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697012 -2.699419)', '2026-07-24 13:08:41', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696998 -2.699439)'), GeomFromEWKT('SRID=4674;POINT (-39.697012 -2.699419)'))) / (select extract(epoch from '2026-07-24 13:08:41'::timestamp) - extract(epoch from '2026-07-24 13:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696998 -2.699439)'), GeomFromEWKT('SRID=4674;POINT (-39.697012 -2.699419)'))) / (select extract(epoch from '2026-07-24 13:08:41'::timestamp) - extract(epoch from '2026-07-24 13:08:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697057 -2.699395)', '2026-07-24 13:09:11', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697012 -2.699419)'), GeomFromEWKT('SRID=4674;POINT (-39.697057 -2.699395)'))) / (select extract(epoch from '2026-07-24 13:09:11'::timestamp) - extract(epoch from '2026-07-24 13:08:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697012 -2.699419)'), GeomFromEWKT('SRID=4674;POINT (-39.697057 -2.699395)'))) / (select extract(epoch from '2026-07-24 13:09:11'::timestamp) - extract(epoch from '2026-07-24 13:08:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69708 -2.699373)', '2026-07-24 13:09:22', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697057 -2.699395)'), GeomFromEWKT('SRID=4674;POINT (-39.69708 -2.699373)'))) / (select extract(epoch from '2026-07-24 13:09:22'::timestamp) - extract(epoch from '2026-07-24 13:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697057 -2.699395)'), GeomFromEWKT('SRID=4674;POINT (-39.69708 -2.699373)'))) / (select extract(epoch from '2026-07-24 13:09:22'::timestamp) - extract(epoch from '2026-07-24 13:09:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697123 -2.699332)', '2026-07-24 13:09:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69708 -2.699373)'), GeomFromEWKT('SRID=4674;POINT (-39.697123 -2.699332)'))) / (select extract(epoch from '2026-07-24 13:09:32'::timestamp) - extract(epoch from '2026-07-24 13:09:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69708 -2.699373)'), GeomFromEWKT('SRID=4674;POINT (-39.697123 -2.699332)'))) / (select extract(epoch from '2026-07-24 13:09:32'::timestamp) - extract(epoch from '2026-07-24 13:09:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.6971 -2.699254)', '2026-07-24 13:09:39', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697123 -2.699332)'), GeomFromEWKT('SRID=4674;POINT (-39.6971 -2.699254)'))) / (select extract(epoch from '2026-07-24 13:09:39'::timestamp) - extract(epoch from '2026-07-24 13:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697123 -2.699332)'), GeomFromEWKT('SRID=4674;POINT (-39.6971 -2.699254)'))) / (select extract(epoch from '2026-07-24 13:09:39'::timestamp) - extract(epoch from '2026-07-24 13:09:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697047 -2.69919)', '2026-07-24 13:09:45', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6971 -2.699254)'), GeomFromEWKT('SRID=4674;POINT (-39.697047 -2.69919)'))) / (select extract(epoch from '2026-07-24 13:09:45'::timestamp) - extract(epoch from '2026-07-24 13:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6971 -2.699254)'), GeomFromEWKT('SRID=4674;POINT (-39.697047 -2.69919)'))) / (select extract(epoch from '2026-07-24 13:09:45'::timestamp) - extract(epoch from '2026-07-24 13:09:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696959 -2.699105)', '2026-07-24 13:09:52', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697047 -2.69919)'), GeomFromEWKT('SRID=4674;POINT (-39.696959 -2.699105)'))) / (select extract(epoch from '2026-07-24 13:09:52'::timestamp) - extract(epoch from '2026-07-24 13:09:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697047 -2.69919)'), GeomFromEWKT('SRID=4674;POINT (-39.696959 -2.699105)'))) / (select extract(epoch from '2026-07-24 13:09:52'::timestamp) - extract(epoch from '2026-07-24 13:09:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696868 -2.699045)', '2026-07-24 13:09:58', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696959 -2.699105)'), GeomFromEWKT('SRID=4674;POINT (-39.696868 -2.699045)'))) / (select extract(epoch from '2026-07-24 13:09:58'::timestamp) - extract(epoch from '2026-07-24 13:09:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696959 -2.699105)'), GeomFromEWKT('SRID=4674;POINT (-39.696868 -2.699045)'))) / (select extract(epoch from '2026-07-24 13:09:58'::timestamp) - extract(epoch from '2026-07-24 13: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'), 47870, 'SRID=4674;POINT (-39.696779 -2.699024)', '2026-07-24 13:10:03', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696868 -2.699045)'), GeomFromEWKT('SRID=4674;POINT (-39.696779 -2.699024)'))) / (select extract(epoch from '2026-07-24 13:10:03'::timestamp) - extract(epoch from '2026-07-24 13:09:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696868 -2.699045)'), GeomFromEWKT('SRID=4674;POINT (-39.696779 -2.699024)'))) / (select extract(epoch from '2026-07-24 13:10:03'::timestamp) - extract(epoch from '2026-07-24 13:09:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696687 -2.699004)', '2026-07-24 13:10:08', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696779 -2.699024)'), GeomFromEWKT('SRID=4674;POINT (-39.696687 -2.699004)'))) / (select extract(epoch from '2026-07-24 13:10:08'::timestamp) - extract(epoch from '2026-07-24 13:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696779 -2.699024)'), GeomFromEWKT('SRID=4674;POINT (-39.696687 -2.699004)'))) / (select extract(epoch from '2026-07-24 13:10:08'::timestamp) - extract(epoch from '2026-07-24 13:10:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69659 -2.698976)', '2026-07-24 13:10:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696687 -2.699004)'), GeomFromEWKT('SRID=4674;POINT (-39.69659 -2.698976)'))) / (select extract(epoch from '2026-07-24 13:10:13'::timestamp) - extract(epoch from '2026-07-24 13:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696687 -2.699004)'), GeomFromEWKT('SRID=4674;POINT (-39.69659 -2.698976)'))) / (select extract(epoch from '2026-07-24 13:10:13'::timestamp) - extract(epoch from '2026-07-24 13:10:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696513 -2.698952)', '2026-07-24 13:10:19', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69659 -2.698976)'), GeomFromEWKT('SRID=4674;POINT (-39.696513 -2.698952)'))) / (select extract(epoch from '2026-07-24 13:10:19'::timestamp) - extract(epoch from '2026-07-24 13:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69659 -2.698976)'), GeomFromEWKT('SRID=4674;POINT (-39.696513 -2.698952)'))) / (select extract(epoch from '2026-07-24 13:10:19'::timestamp) - extract(epoch from '2026-07-24 13:10:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696446 -2.698928)', '2026-07-24 13:10:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696513 -2.698952)'), GeomFromEWKT('SRID=4674;POINT (-39.696446 -2.698928)'))) / (select extract(epoch from '2026-07-24 13:10:24'::timestamp) - extract(epoch from '2026-07-24 13:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696513 -2.698952)'), GeomFromEWKT('SRID=4674;POINT (-39.696446 -2.698928)'))) / (select extract(epoch from '2026-07-24 13:10:24'::timestamp) - extract(epoch from '2026-07-24 13:10:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696388 -2.698902)', '2026-07-24 13:10:28', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696446 -2.698928)'), GeomFromEWKT('SRID=4674;POINT (-39.696388 -2.698902)'))) / (select extract(epoch from '2026-07-24 13:10:28'::timestamp) - extract(epoch from '2026-07-24 13:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696446 -2.698928)'), GeomFromEWKT('SRID=4674;POINT (-39.696388 -2.698902)'))) / (select extract(epoch from '2026-07-24 13:10:28'::timestamp) - extract(epoch from '2026-07-24 13:10:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696301 -2.698857)', '2026-07-24 13:10:34', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696388 -2.698902)'), GeomFromEWKT('SRID=4674;POINT (-39.696301 -2.698857)'))) / (select extract(epoch from '2026-07-24 13:10:34'::timestamp) - extract(epoch from '2026-07-24 13:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696388 -2.698902)'), GeomFromEWKT('SRID=4674;POINT (-39.696301 -2.698857)'))) / (select extract(epoch from '2026-07-24 13:10:34'::timestamp) - extract(epoch from '2026-07-24 13:10:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696209 -2.698819)', '2026-07-24 13:10:40', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696301 -2.698857)'), GeomFromEWKT('SRID=4674;POINT (-39.696209 -2.698819)'))) / (select extract(epoch from '2026-07-24 13:10:40'::timestamp) - extract(epoch from '2026-07-24 13:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696301 -2.698857)'), GeomFromEWKT('SRID=4674;POINT (-39.696209 -2.698819)'))) / (select extract(epoch from '2026-07-24 13:10:40'::timestamp) - extract(epoch from '2026-07-24 13:10:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696112 -2.698792)', '2026-07-24 13:10:47', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696209 -2.698819)'), GeomFromEWKT('SRID=4674;POINT (-39.696112 -2.698792)'))) / (select extract(epoch from '2026-07-24 13:10:47'::timestamp) - extract(epoch from '2026-07-24 13:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696209 -2.698819)'), GeomFromEWKT('SRID=4674;POINT (-39.696112 -2.698792)'))) / (select extract(epoch from '2026-07-24 13:10:47'::timestamp) - extract(epoch from '2026-07-24 13:10:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696095 -2.698785)', '2026-07-24 13:10:49', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696112 -2.698792)'), GeomFromEWKT('SRID=4674;POINT (-39.696095 -2.698785)'))) / (select extract(epoch from '2026-07-24 13:10:49'::timestamp) - extract(epoch from '2026-07-24 13:10:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696112 -2.698792)'), GeomFromEWKT('SRID=4674;POINT (-39.696095 -2.698785)'))) / (select extract(epoch from '2026-07-24 13:10:49'::timestamp) - extract(epoch from '2026-07-24 13:10:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696064 -2.698775)', '2026-07-24 13:10:52', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696095 -2.698785)'), GeomFromEWKT('SRID=4674;POINT (-39.696064 -2.698775)'))) / (select extract(epoch from '2026-07-24 13:10:52'::timestamp) - extract(epoch from '2026-07-24 13:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696095 -2.698785)'), GeomFromEWKT('SRID=4674;POINT (-39.696064 -2.698775)'))) / (select extract(epoch from '2026-07-24 13:10:52'::timestamp) - extract(epoch from '2026-07-24 13:10:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69603 -2.698748)', '2026-07-24 13:10:58', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696064 -2.698775)'), GeomFromEWKT('SRID=4674;POINT (-39.69603 -2.698748)'))) / (select extract(epoch from '2026-07-24 13:10:58'::timestamp) - extract(epoch from '2026-07-24 13:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696064 -2.698775)'), GeomFromEWKT('SRID=4674;POINT (-39.69603 -2.698748)'))) / (select extract(epoch from '2026-07-24 13:10:58'::timestamp) - extract(epoch from '2026-07-24 13: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'), 47870, 'SRID=4674;POINT (-39.696016 -2.698713)', '2026-07-24 13:11:04', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69603 -2.698748)'), GeomFromEWKT('SRID=4674;POINT (-39.696016 -2.698713)'))) / (select extract(epoch from '2026-07-24 13:11:04'::timestamp) - extract(epoch from '2026-07-24 13:10:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69603 -2.698748)'), GeomFromEWKT('SRID=4674;POINT (-39.696016 -2.698713)'))) / (select extract(epoch from '2026-07-24 13:11:04'::timestamp) - extract(epoch from '2026-07-24 13:10:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696014 -2.698703)', '2026-07-24 13:11:05', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696016 -2.698713)'), GeomFromEWKT('SRID=4674;POINT (-39.696014 -2.698703)'))) / (select extract(epoch from '2026-07-24 13:11:05'::timestamp) - extract(epoch from '2026-07-24 13:11:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696016 -2.698713)'), GeomFromEWKT('SRID=4674;POINT (-39.696014 -2.698703)'))) / (select extract(epoch from '2026-07-24 13:11:05'::timestamp) - extract(epoch from '2026-07-24 13: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'), 47870, 'SRID=4674;POINT (-39.696012 -2.698662)', '2026-07-24 13:11:12', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696014 -2.698703)'), GeomFromEWKT('SRID=4674;POINT (-39.696012 -2.698662)'))) / (select extract(epoch from '2026-07-24 13:11:12'::timestamp) - extract(epoch from '2026-07-24 13:11:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696014 -2.698703)'), GeomFromEWKT('SRID=4674;POINT (-39.696012 -2.698662)'))) / (select extract(epoch from '2026-07-24 13:11:12'::timestamp) - extract(epoch from '2026-07-24 13:11:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696047 -2.698587)', '2026-07-24 13:11:25', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696012 -2.698662)'), GeomFromEWKT('SRID=4674;POINT (-39.696047 -2.698587)'))) / (select extract(epoch from '2026-07-24 13:11:25'::timestamp) - extract(epoch from '2026-07-24 13:11:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696012 -2.698662)'), GeomFromEWKT('SRID=4674;POINT (-39.696047 -2.698587)'))) / (select extract(epoch from '2026-07-24 13:11:25'::timestamp) - extract(epoch from '2026-07-24 13:11:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696111 -2.698544)', '2026-07-24 13:11:37', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696047 -2.698587)'), GeomFromEWKT('SRID=4674;POINT (-39.696111 -2.698544)'))) / (select extract(epoch from '2026-07-24 13:11:37'::timestamp) - extract(epoch from '2026-07-24 13:11:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696047 -2.698587)'), GeomFromEWKT('SRID=4674;POINT (-39.696111 -2.698544)'))) / (select extract(epoch from '2026-07-24 13:11:37'::timestamp) - extract(epoch from '2026-07-24 13:11:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69614 -2.698532)', '2026-07-24 13:11:45', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696111 -2.698544)'), GeomFromEWKT('SRID=4674;POINT (-39.69614 -2.698532)'))) / (select extract(epoch from '2026-07-24 13:11:45'::timestamp) - extract(epoch from '2026-07-24 13:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696111 -2.698544)'), GeomFromEWKT('SRID=4674;POINT (-39.69614 -2.698532)'))) / (select extract(epoch from '2026-07-24 13:11:45'::timestamp) - extract(epoch from '2026-07-24 13:11:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696161 -2.698511)', '2026-07-24 13:11:52', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69614 -2.698532)'), GeomFromEWKT('SRID=4674;POINT (-39.696161 -2.698511)'))) / (select extract(epoch from '2026-07-24 13:11:52'::timestamp) - extract(epoch from '2026-07-24 13:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69614 -2.698532)'), GeomFromEWKT('SRID=4674;POINT (-39.696161 -2.698511)'))) / (select extract(epoch from '2026-07-24 13:11:52'::timestamp) - extract(epoch from '2026-07-24 13:11:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696173 -2.698504)', '2026-07-24 13:12:03', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696161 -2.698511)'), GeomFromEWKT('SRID=4674;POINT (-39.696173 -2.698504)'))) / (select extract(epoch from '2026-07-24 13:12:03'::timestamp) - extract(epoch from '2026-07-24 13:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696161 -2.698511)'), GeomFromEWKT('SRID=4674;POINT (-39.696173 -2.698504)'))) / (select extract(epoch from '2026-07-24 13:12:03'::timestamp) - extract(epoch from '2026-07-24 13:11:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696215 -2.698489)', '2026-07-24 13:12:17', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696173 -2.698504)'), GeomFromEWKT('SRID=4674;POINT (-39.696215 -2.698489)'))) / (select extract(epoch from '2026-07-24 13:12:17'::timestamp) - extract(epoch from '2026-07-24 13:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696173 -2.698504)'), GeomFromEWKT('SRID=4674;POINT (-39.696215 -2.698489)'))) / (select extract(epoch from '2026-07-24 13:12:17'::timestamp) - extract(epoch from '2026-07-24 13:12:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
