 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.824371 -2.68348)', '2026-07-21 12:02:36', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824362 -2.683648)'), GeomFromEWKT('SRID=4674;POINT (-39.824371 -2.68348)'))) / (select extract(epoch from '2026-07-21 12:02:36'::timestamp) - extract(epoch from '2026-07-21 12:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824362 -2.683648)'), GeomFromEWKT('SRID=4674;POINT (-39.824371 -2.68348)'))) / (select extract(epoch from '2026-07-21 12:02:36'::timestamp) - extract(epoch from '2026-07-21 12:02:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.824379 -2.683343)', '2026-07-21 12:02:41', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824371 -2.68348)'), GeomFromEWKT('SRID=4674;POINT (-39.824379 -2.683343)'))) / (select extract(epoch from '2026-07-21 12:02:41'::timestamp) - extract(epoch from '2026-07-21 12:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824371 -2.68348)'), GeomFromEWKT('SRID=4674;POINT (-39.824379 -2.683343)'))) / (select extract(epoch from '2026-07-21 12:02:41'::timestamp) - extract(epoch from '2026-07-21 12:02:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.82438 -2.683202)', '2026-07-21 12:02:46', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824379 -2.683343)'), GeomFromEWKT('SRID=4674;POINT (-39.82438 -2.683202)'))) / (select extract(epoch from '2026-07-21 12:02:46'::timestamp) - extract(epoch from '2026-07-21 12:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824379 -2.683343)'), GeomFromEWKT('SRID=4674;POINT (-39.82438 -2.683202)'))) / (select extract(epoch from '2026-07-21 12:02:46'::timestamp) - extract(epoch from '2026-07-21 12:02:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.824379 -2.683058)', '2026-07-21 12:02:51', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82438 -2.683202)'), GeomFromEWKT('SRID=4674;POINT (-39.824379 -2.683058)'))) / (select extract(epoch from '2026-07-21 12:02:51'::timestamp) - extract(epoch from '2026-07-21 12:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82438 -2.683202)'), GeomFromEWKT('SRID=4674;POINT (-39.824379 -2.683058)'))) / (select extract(epoch from '2026-07-21 12:02:51'::timestamp) - extract(epoch from '2026-07-21 12:02:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.824392 -2.682922)', '2026-07-21 12:02:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824379 -2.683058)'), GeomFromEWKT('SRID=4674;POINT (-39.824392 -2.682922)'))) / (select extract(epoch from '2026-07-21 12:02:56'::timestamp) - extract(epoch from '2026-07-21 12:02:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824379 -2.683058)'), GeomFromEWKT('SRID=4674;POINT (-39.824392 -2.682922)'))) / (select extract(epoch from '2026-07-21 12:02:56'::timestamp) - extract(epoch from '2026-07-21 12:02: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.824414 -2.682782)', '2026-07-21 12:03:01', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824392 -2.682922)'), GeomFromEWKT('SRID=4674;POINT (-39.824414 -2.682782)'))) / (select extract(epoch from '2026-07-21 12:03:01'::timestamp) - extract(epoch from '2026-07-21 12:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824392 -2.682922)'), GeomFromEWKT('SRID=4674;POINT (-39.824414 -2.682782)'))) / (select extract(epoch from '2026-07-21 12:03:01'::timestamp) - extract(epoch from '2026-07-21 12:02:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.824456 -2.682609)', '2026-07-21 12:03:07', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824414 -2.682782)'), GeomFromEWKT('SRID=4674;POINT (-39.824456 -2.682609)'))) / (select extract(epoch from '2026-07-21 12:03:07'::timestamp) - extract(epoch from '2026-07-21 12:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824414 -2.682782)'), GeomFromEWKT('SRID=4674;POINT (-39.824456 -2.682609)'))) / (select extract(epoch from '2026-07-21 12:03:07'::timestamp) - extract(epoch from '2026-07-21 12:03:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.824505 -2.682459)', '2026-07-21 12:03:12', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824456 -2.682609)'), GeomFromEWKT('SRID=4674;POINT (-39.824505 -2.682459)'))) / (select extract(epoch from '2026-07-21 12:03:12'::timestamp) - extract(epoch from '2026-07-21 12:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824456 -2.682609)'), GeomFromEWKT('SRID=4674;POINT (-39.824505 -2.682459)'))) / (select extract(epoch from '2026-07-21 12:03:12'::timestamp) - extract(epoch from '2026-07-21 12:03: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.824554 -2.682289)', '2026-07-21 12:03:18', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824505 -2.682459)'), GeomFromEWKT('SRID=4674;POINT (-39.824554 -2.682289)'))) / (select extract(epoch from '2026-07-21 12:03:18'::timestamp) - extract(epoch from '2026-07-21 12:03:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824505 -2.682459)'), GeomFromEWKT('SRID=4674;POINT (-39.824554 -2.682289)'))) / (select extract(epoch from '2026-07-21 12:03:18'::timestamp) - extract(epoch from '2026-07-21 12:03: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.824602 -2.682146)', '2026-07-21 12:03:23', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824554 -2.682289)'), GeomFromEWKT('SRID=4674;POINT (-39.824602 -2.682146)'))) / (select extract(epoch from '2026-07-21 12:03:23'::timestamp) - extract(epoch from '2026-07-21 12:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824554 -2.682289)'), GeomFromEWKT('SRID=4674;POINT (-39.824602 -2.682146)'))) / (select extract(epoch from '2026-07-21 12:03:23'::timestamp) - extract(epoch from '2026-07-21 12:03: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.824648 -2.682012)', '2026-07-21 12:03:28', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824602 -2.682146)'), GeomFromEWKT('SRID=4674;POINT (-39.824648 -2.682012)'))) / (select extract(epoch from '2026-07-21 12:03:28'::timestamp) - extract(epoch from '2026-07-21 12:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824602 -2.682146)'), GeomFromEWKT('SRID=4674;POINT (-39.824648 -2.682012)'))) / (select extract(epoch from '2026-07-21 12:03:28'::timestamp) - extract(epoch from '2026-07-21 12: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.824688 -2.681874)', '2026-07-21 12:03:33', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824648 -2.682012)'), GeomFromEWKT('SRID=4674;POINT (-39.824688 -2.681874)'))) / (select extract(epoch from '2026-07-21 12:03:33'::timestamp) - extract(epoch from '2026-07-21 12:03:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824648 -2.682012)'), GeomFromEWKT('SRID=4674;POINT (-39.824688 -2.681874)'))) / (select extract(epoch from '2026-07-21 12:03:33'::timestamp) - extract(epoch from '2026-07-21 12:03:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.824733 -2.681762)', '2026-07-21 12:03:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824688 -2.681874)'), GeomFromEWKT('SRID=4674;POINT (-39.824733 -2.681762)'))) / (select extract(epoch from '2026-07-21 12:03:37'::timestamp) - extract(epoch from '2026-07-21 12:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824688 -2.681874)'), GeomFromEWKT('SRID=4674;POINT (-39.824733 -2.681762)'))) / (select extract(epoch from '2026-07-21 12:03:37'::timestamp) - extract(epoch from '2026-07-21 12: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.824783 -2.681625)', '2026-07-21 12:03:42', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824733 -2.681762)'), GeomFromEWKT('SRID=4674;POINT (-39.824783 -2.681625)'))) / (select extract(epoch from '2026-07-21 12:03:42'::timestamp) - extract(epoch from '2026-07-21 12:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824733 -2.681762)'), GeomFromEWKT('SRID=4674;POINT (-39.824783 -2.681625)'))) / (select extract(epoch from '2026-07-21 12:03:42'::timestamp) - extract(epoch from '2026-07-21 12:03:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.824852 -2.681451)', '2026-07-21 12:03:48', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824783 -2.681625)'), GeomFromEWKT('SRID=4674;POINT (-39.824852 -2.681451)'))) / (select extract(epoch from '2026-07-21 12:03:48'::timestamp) - extract(epoch from '2026-07-21 12:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824783 -2.681625)'), GeomFromEWKT('SRID=4674;POINT (-39.824852 -2.681451)'))) / (select extract(epoch from '2026-07-21 12:03:48'::timestamp) - extract(epoch from '2026-07-21 12:03:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.824906 -2.681308)', '2026-07-21 12:03:53', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824852 -2.681451)'), GeomFromEWKT('SRID=4674;POINT (-39.824906 -2.681308)'))) / (select extract(epoch from '2026-07-21 12:03:53'::timestamp) - extract(epoch from '2026-07-21 12:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824852 -2.681451)'), GeomFromEWKT('SRID=4674;POINT (-39.824906 -2.681308)'))) / (select extract(epoch from '2026-07-21 12:03:53'::timestamp) - extract(epoch from '2026-07-21 12: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.824967 -2.681134)', '2026-07-21 12:03:59', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824906 -2.681308)'), GeomFromEWKT('SRID=4674;POINT (-39.824967 -2.681134)'))) / (select extract(epoch from '2026-07-21 12:03:59'::timestamp) - extract(epoch from '2026-07-21 12:03:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824906 -2.681308)'), GeomFromEWKT('SRID=4674;POINT (-39.824967 -2.681134)'))) / (select extract(epoch from '2026-07-21 12:03:59'::timestamp) - extract(epoch from '2026-07-21 12:03:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.825015 -2.680995)', '2026-07-21 12:04:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824967 -2.681134)'), GeomFromEWKT('SRID=4674;POINT (-39.825015 -2.680995)'))) / (select extract(epoch from '2026-07-21 12:04:04'::timestamp) - extract(epoch from '2026-07-21 12:03:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824967 -2.681134)'), GeomFromEWKT('SRID=4674;POINT (-39.825015 -2.680995)'))) / (select extract(epoch from '2026-07-21 12:04:04'::timestamp) - extract(epoch from '2026-07-21 12:03:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.825069 -2.680829)', '2026-07-21 12:04:10', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825015 -2.680995)'), GeomFromEWKT('SRID=4674;POINT (-39.825069 -2.680829)'))) / (select extract(epoch from '2026-07-21 12:04:10'::timestamp) - extract(epoch from '2026-07-21 12:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825015 -2.680995)'), GeomFromEWKT('SRID=4674;POINT (-39.825069 -2.680829)'))) / (select extract(epoch from '2026-07-21 12:04:10'::timestamp) - extract(epoch from '2026-07-21 12:04:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.825127 -2.68066)', '2026-07-21 12:04:16', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825069 -2.680829)'), GeomFromEWKT('SRID=4674;POINT (-39.825127 -2.68066)'))) / (select extract(epoch from '2026-07-21 12:04:16'::timestamp) - extract(epoch from '2026-07-21 12:04:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825069 -2.680829)'), GeomFromEWKT('SRID=4674;POINT (-39.825127 -2.68066)'))) / (select extract(epoch from '2026-07-21 12:04:16'::timestamp) - extract(epoch from '2026-07-21 12:04: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.82517 -2.680493)', '2026-07-21 12:04:22', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825127 -2.68066)'), GeomFromEWKT('SRID=4674;POINT (-39.82517 -2.680493)'))) / (select extract(epoch from '2026-07-21 12:04:22'::timestamp) - extract(epoch from '2026-07-21 12:04:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825127 -2.68066)'), GeomFromEWKT('SRID=4674;POINT (-39.82517 -2.680493)'))) / (select extract(epoch from '2026-07-21 12:04:22'::timestamp) - extract(epoch from '2026-07-21 12:04: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.825197 -2.680329)', '2026-07-21 12:04:28', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82517 -2.680493)'), GeomFromEWKT('SRID=4674;POINT (-39.825197 -2.680329)'))) / (select extract(epoch from '2026-07-21 12:04:28'::timestamp) - extract(epoch from '2026-07-21 12:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82517 -2.680493)'), GeomFromEWKT('SRID=4674;POINT (-39.825197 -2.680329)'))) / (select extract(epoch from '2026-07-21 12:04:28'::timestamp) - extract(epoch from '2026-07-21 12:04: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.825208 -2.680159)', '2026-07-21 12:04:34', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825197 -2.680329)'), GeomFromEWKT('SRID=4674;POINT (-39.825208 -2.680159)'))) / (select extract(epoch from '2026-07-21 12:04:34'::timestamp) - extract(epoch from '2026-07-21 12:04:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825197 -2.680329)'), GeomFromEWKT('SRID=4674;POINT (-39.825208 -2.680159)'))) / (select extract(epoch from '2026-07-21 12:04:34'::timestamp) - extract(epoch from '2026-07-21 12:04: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.825216 -2.680015)', '2026-07-21 12:04:39', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825208 -2.680159)'), GeomFromEWKT('SRID=4674;POINT (-39.825216 -2.680015)'))) / (select extract(epoch from '2026-07-21 12:04:39'::timestamp) - extract(epoch from '2026-07-21 12:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825208 -2.680159)'), GeomFromEWKT('SRID=4674;POINT (-39.825216 -2.680015)'))) / (select extract(epoch from '2026-07-21 12:04:39'::timestamp) - extract(epoch from '2026-07-21 12:04:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.825244 -2.679868)', '2026-07-21 12:04:44', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825216 -2.680015)'), GeomFromEWKT('SRID=4674;POINT (-39.825244 -2.679868)'))) / (select extract(epoch from '2026-07-21 12:04:44'::timestamp) - extract(epoch from '2026-07-21 12:04:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825216 -2.680015)'), GeomFromEWKT('SRID=4674;POINT (-39.825244 -2.679868)'))) / (select extract(epoch from '2026-07-21 12:04:44'::timestamp) - extract(epoch from '2026-07-21 12:04: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.825277 -2.67973)', '2026-07-21 12:04:49', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825244 -2.679868)'), GeomFromEWKT('SRID=4674;POINT (-39.825277 -2.67973)'))) / (select extract(epoch from '2026-07-21 12:04:49'::timestamp) - extract(epoch from '2026-07-21 12:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825244 -2.679868)'), GeomFromEWKT('SRID=4674;POINT (-39.825277 -2.67973)'))) / (select extract(epoch from '2026-07-21 12:04:49'::timestamp) - extract(epoch from '2026-07-21 12:04: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.82533 -2.67956)', '2026-07-21 12:04:55', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825277 -2.67973)'), GeomFromEWKT('SRID=4674;POINT (-39.82533 -2.67956)'))) / (select extract(epoch from '2026-07-21 12:04:55'::timestamp) - extract(epoch from '2026-07-21 12:04:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825277 -2.67973)'), GeomFromEWKT('SRID=4674;POINT (-39.82533 -2.67956)'))) / (select extract(epoch from '2026-07-21 12:04:55'::timestamp) - extract(epoch from '2026-07-21 12:04: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.825383 -2.679387)', '2026-07-21 12:05:01', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82533 -2.67956)'), GeomFromEWKT('SRID=4674;POINT (-39.825383 -2.679387)'))) / (select extract(epoch from '2026-07-21 12:05:01'::timestamp) - extract(epoch from '2026-07-21 12:04:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82533 -2.67956)'), GeomFromEWKT('SRID=4674;POINT (-39.825383 -2.679387)'))) / (select extract(epoch from '2026-07-21 12:05:01'::timestamp) - extract(epoch from '2026-07-21 12:04: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.825438 -2.679218)', '2026-07-21 12:05:07', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825383 -2.679387)'), GeomFromEWKT('SRID=4674;POINT (-39.825438 -2.679218)'))) / (select extract(epoch from '2026-07-21 12:05:07'::timestamp) - extract(epoch from '2026-07-21 12:05:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825383 -2.679387)'), GeomFromEWKT('SRID=4674;POINT (-39.825438 -2.679218)'))) / (select extract(epoch from '2026-07-21 12:05:07'::timestamp) - extract(epoch from '2026-07-21 12:05: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.825496 -2.679048)', '2026-07-21 12:05:13', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825438 -2.679218)'), GeomFromEWKT('SRID=4674;POINT (-39.825496 -2.679048)'))) / (select extract(epoch from '2026-07-21 12:05:13'::timestamp) - extract(epoch from '2026-07-21 12:05:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825438 -2.679218)'), GeomFromEWKT('SRID=4674;POINT (-39.825496 -2.679048)'))) / (select extract(epoch from '2026-07-21 12:05:13'::timestamp) - extract(epoch from '2026-07-21 12:05: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.82554 -2.678908)', '2026-07-21 12:05:18', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825496 -2.679048)'), GeomFromEWKT('SRID=4674;POINT (-39.82554 -2.678908)'))) / (select extract(epoch from '2026-07-21 12:05:18'::timestamp) - extract(epoch from '2026-07-21 12:05:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825496 -2.679048)'), GeomFromEWKT('SRID=4674;POINT (-39.82554 -2.678908)'))) / (select extract(epoch from '2026-07-21 12:05:18'::timestamp) - extract(epoch from '2026-07-21 12:05: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.825574 -2.67877)', '2026-07-21 12:05:23', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82554 -2.678908)'), GeomFromEWKT('SRID=4674;POINT (-39.825574 -2.67877)'))) / (select extract(epoch from '2026-07-21 12:05:23'::timestamp) - extract(epoch from '2026-07-21 12:05:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82554 -2.678908)'), GeomFromEWKT('SRID=4674;POINT (-39.825574 -2.67877)'))) / (select extract(epoch from '2026-07-21 12:05:23'::timestamp) - extract(epoch from '2026-07-21 12:05: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.825597 -2.678626)', '2026-07-21 12:05:28', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825574 -2.67877)'), GeomFromEWKT('SRID=4674;POINT (-39.825597 -2.678626)'))) / (select extract(epoch from '2026-07-21 12:05:28'::timestamp) - extract(epoch from '2026-07-21 12:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825574 -2.67877)'), GeomFromEWKT('SRID=4674;POINT (-39.825597 -2.678626)'))) / (select extract(epoch from '2026-07-21 12:05:28'::timestamp) - extract(epoch from '2026-07-21 12:05:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.825608 -2.678513)', '2026-07-21 12:05:32', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825597 -2.678626)'), GeomFromEWKT('SRID=4674;POINT (-39.825608 -2.678513)'))) / (select extract(epoch from '2026-07-21 12:05:32'::timestamp) - extract(epoch from '2026-07-21 12:05:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825597 -2.678626)'), GeomFromEWKT('SRID=4674;POINT (-39.825608 -2.678513)'))) / (select extract(epoch from '2026-07-21 12:05:32'::timestamp) - extract(epoch from '2026-07-21 12:05:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.825611 -2.678485)', '2026-07-21 12:05:33', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825608 -2.678513)'), GeomFromEWKT('SRID=4674;POINT (-39.825611 -2.678485)'))) / (select extract(epoch from '2026-07-21 12:05:33'::timestamp) - extract(epoch from '2026-07-21 12:05:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825608 -2.678513)'), GeomFromEWKT('SRID=4674;POINT (-39.825611 -2.678485)'))) / (select extract(epoch from '2026-07-21 12:05:33'::timestamp) - extract(epoch from '2026-07-21 12:05:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.825629 -2.678313)', '2026-07-21 12:05:39', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825611 -2.678485)'), GeomFromEWKT('SRID=4674;POINT (-39.825629 -2.678313)'))) / (select extract(epoch from '2026-07-21 12:05:39'::timestamp) - extract(epoch from '2026-07-21 12:05:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825611 -2.678485)'), GeomFromEWKT('SRID=4674;POINT (-39.825629 -2.678313)'))) / (select extract(epoch from '2026-07-21 12:05:39'::timestamp) - extract(epoch from '2026-07-21 12:05:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.825641 -2.678141)', '2026-07-21 12:05:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825629 -2.678313)'), GeomFromEWKT('SRID=4674;POINT (-39.825641 -2.678141)'))) / (select extract(epoch from '2026-07-21 12:05:45'::timestamp) - extract(epoch from '2026-07-21 12:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825629 -2.678313)'), GeomFromEWKT('SRID=4674;POINT (-39.825641 -2.678141)'))) / (select extract(epoch from '2026-07-21 12:05:45'::timestamp) - extract(epoch from '2026-07-21 12:05: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.825668 -2.677972)', '2026-07-21 12:05:51', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825641 -2.678141)'), GeomFromEWKT('SRID=4674;POINT (-39.825668 -2.677972)'))) / (select extract(epoch from '2026-07-21 12:05:51'::timestamp) - extract(epoch from '2026-07-21 12:05:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825641 -2.678141)'), GeomFromEWKT('SRID=4674;POINT (-39.825668 -2.677972)'))) / (select extract(epoch from '2026-07-21 12:05:51'::timestamp) - extract(epoch from '2026-07-21 12: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.825702 -2.67786)', '2026-07-21 12:05:55', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825668 -2.677972)'), GeomFromEWKT('SRID=4674;POINT (-39.825702 -2.67786)'))) / (select extract(epoch from '2026-07-21 12:05:55'::timestamp) - extract(epoch from '2026-07-21 12:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825668 -2.677972)'), GeomFromEWKT('SRID=4674;POINT (-39.825702 -2.67786)'))) / (select extract(epoch from '2026-07-21 12:05:55'::timestamp) - extract(epoch from '2026-07-21 12:05:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.825749 -2.677725)', '2026-07-21 12:06:00', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825702 -2.67786)'), GeomFromEWKT('SRID=4674;POINT (-39.825749 -2.677725)'))) / (select extract(epoch from '2026-07-21 12:06:00'::timestamp) - extract(epoch from '2026-07-21 12:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825702 -2.67786)'), GeomFromEWKT('SRID=4674;POINT (-39.825749 -2.677725)'))) / (select extract(epoch from '2026-07-21 12:06:00'::timestamp) - extract(epoch from '2026-07-21 12:05: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.825829 -2.677562)', '2026-07-21 12:06:06', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825749 -2.677725)'), GeomFromEWKT('SRID=4674;POINT (-39.825829 -2.677562)'))) / (select extract(epoch from '2026-07-21 12:06:06'::timestamp) - extract(epoch from '2026-07-21 12:06:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825749 -2.677725)'), GeomFromEWKT('SRID=4674;POINT (-39.825829 -2.677562)'))) / (select extract(epoch from '2026-07-21 12:06:06'::timestamp) - extract(epoch from '2026-07-21 12:06: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.825896 -2.677394)', '2026-07-21 12:06:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825829 -2.677562)'), GeomFromEWKT('SRID=4674;POINT (-39.825896 -2.677394)'))) / (select extract(epoch from '2026-07-21 12:06:12'::timestamp) - extract(epoch from '2026-07-21 12:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825829 -2.677562)'), GeomFromEWKT('SRID=4674;POINT (-39.825896 -2.677394)'))) / (select extract(epoch from '2026-07-21 12:06:12'::timestamp) - extract(epoch from '2026-07-21 12:06:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.825965 -2.677239)', '2026-07-21 12:06:18', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825896 -2.677394)'), GeomFromEWKT('SRID=4674;POINT (-39.825965 -2.677239)'))) / (select extract(epoch from '2026-07-21 12:06:18'::timestamp) - extract(epoch from '2026-07-21 12:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825896 -2.677394)'), GeomFromEWKT('SRID=4674;POINT (-39.825965 -2.677239)'))) / (select extract(epoch from '2026-07-21 12:06:18'::timestamp) - extract(epoch from '2026-07-21 12:06: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.826055 -2.677078)', '2026-07-21 12:06:24', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825965 -2.677239)'), GeomFromEWKT('SRID=4674;POINT (-39.826055 -2.677078)'))) / (select extract(epoch from '2026-07-21 12:06:24'::timestamp) - extract(epoch from '2026-07-21 12:06:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825965 -2.677239)'), GeomFromEWKT('SRID=4674;POINT (-39.826055 -2.677078)'))) / (select extract(epoch from '2026-07-21 12:06:24'::timestamp) - extract(epoch from '2026-07-21 12:06: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.826127 -2.676945)', '2026-07-21 12:06:29', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826055 -2.677078)'), GeomFromEWKT('SRID=4674;POINT (-39.826127 -2.676945)'))) / (select extract(epoch from '2026-07-21 12:06:29'::timestamp) - extract(epoch from '2026-07-21 12:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826055 -2.677078)'), GeomFromEWKT('SRID=4674;POINT (-39.826127 -2.676945)'))) / (select extract(epoch from '2026-07-21 12:06:29'::timestamp) - extract(epoch from '2026-07-21 12: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.826215 -2.676756)', '2026-07-21 12:06:36', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826127 -2.676945)'), GeomFromEWKT('SRID=4674;POINT (-39.826215 -2.676756)'))) / (select extract(epoch from '2026-07-21 12:06:36'::timestamp) - extract(epoch from '2026-07-21 12:06:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826127 -2.676945)'), GeomFromEWKT('SRID=4674;POINT (-39.826215 -2.676756)'))) / (select extract(epoch from '2026-07-21 12:06:36'::timestamp) - extract(epoch from '2026-07-21 12:06: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.826267 -2.676618)', '2026-07-21 12:06:41', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826215 -2.676756)'), GeomFromEWKT('SRID=4674;POINT (-39.826267 -2.676618)'))) / (select extract(epoch from '2026-07-21 12:06:41'::timestamp) - extract(epoch from '2026-07-21 12:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826215 -2.676756)'), GeomFromEWKT('SRID=4674;POINT (-39.826267 -2.676618)'))) / (select extract(epoch from '2026-07-21 12:06:41'::timestamp) - extract(epoch from '2026-07-21 12:06:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.8263 -2.676482)', '2026-07-21 12:06:46', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826267 -2.676618)'), GeomFromEWKT('SRID=4674;POINT (-39.8263 -2.676482)'))) / (select extract(epoch from '2026-07-21 12:06:46'::timestamp) - extract(epoch from '2026-07-21 12:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826267 -2.676618)'), GeomFromEWKT('SRID=4674;POINT (-39.8263 -2.676482)'))) / (select extract(epoch from '2026-07-21 12:06:46'::timestamp) - extract(epoch from '2026-07-21 12:06: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.826347 -2.676357)', '2026-07-21 12:06:51', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8263 -2.676482)'), GeomFromEWKT('SRID=4674;POINT (-39.826347 -2.676357)'))) / (select extract(epoch from '2026-07-21 12:06:51'::timestamp) - extract(epoch from '2026-07-21 12:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8263 -2.676482)'), GeomFromEWKT('SRID=4674;POINT (-39.826347 -2.676357)'))) / (select extract(epoch from '2026-07-21 12:06:51'::timestamp) - extract(epoch from '2026-07-21 12:06: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.826399 -2.676252)', '2026-07-21 12:06:55', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826347 -2.676357)'), GeomFromEWKT('SRID=4674;POINT (-39.826399 -2.676252)'))) / (select extract(epoch from '2026-07-21 12:06:55'::timestamp) - extract(epoch from '2026-07-21 12:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826347 -2.676357)'), GeomFromEWKT('SRID=4674;POINT (-39.826399 -2.676252)'))) / (select extract(epoch from '2026-07-21 12:06:55'::timestamp) - extract(epoch from '2026-07-21 12:06:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.826481 -2.676106)', '2026-07-21 12:07:01', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826399 -2.676252)'), GeomFromEWKT('SRID=4674;POINT (-39.826481 -2.676106)'))) / (select extract(epoch from '2026-07-21 12:07:01'::timestamp) - extract(epoch from '2026-07-21 12:06:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826399 -2.676252)'), GeomFromEWKT('SRID=4674;POINT (-39.826481 -2.676106)'))) / (select extract(epoch from '2026-07-21 12:07:01'::timestamp) - extract(epoch from '2026-07-21 12:06: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.826554 -2.675949)', '2026-07-21 12:07:07', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826481 -2.676106)'), GeomFromEWKT('SRID=4674;POINT (-39.826554 -2.675949)'))) / (select extract(epoch from '2026-07-21 12:07:07'::timestamp) - extract(epoch from '2026-07-21 12:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826481 -2.676106)'), GeomFromEWKT('SRID=4674;POINT (-39.826554 -2.675949)'))) / (select extract(epoch from '2026-07-21 12:07:07'::timestamp) - extract(epoch from '2026-07-21 12:07:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.826624 -2.675753)', '2026-07-21 12:07:14', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826554 -2.675949)'), GeomFromEWKT('SRID=4674;POINT (-39.826624 -2.675753)'))) / (select extract(epoch from '2026-07-21 12:07:14'::timestamp) - extract(epoch from '2026-07-21 12:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826554 -2.675949)'), GeomFromEWKT('SRID=4674;POINT (-39.826624 -2.675753)'))) / (select extract(epoch from '2026-07-21 12:07:14'::timestamp) - extract(epoch from '2026-07-21 12:07:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.826676 -2.675615)', '2026-07-21 12:07:19', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826624 -2.675753)'), GeomFromEWKT('SRID=4674;POINT (-39.826676 -2.675615)'))) / (select extract(epoch from '2026-07-21 12:07:19'::timestamp) - extract(epoch from '2026-07-21 12:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826624 -2.675753)'), GeomFromEWKT('SRID=4674;POINT (-39.826676 -2.675615)'))) / (select extract(epoch from '2026-07-21 12:07:19'::timestamp) - extract(epoch from '2026-07-21 12:07:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.826715 -2.675509)', '2026-07-21 12:07:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826676 -2.675615)'), GeomFromEWKT('SRID=4674;POINT (-39.826715 -2.675509)'))) / (select extract(epoch from '2026-07-21 12:07:23'::timestamp) - extract(epoch from '2026-07-21 12:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826676 -2.675615)'), GeomFromEWKT('SRID=4674;POINT (-39.826715 -2.675509)'))) / (select extract(epoch from '2026-07-21 12:07:23'::timestamp) - extract(epoch from '2026-07-21 12:07:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.826774 -2.675348)', '2026-07-21 12:07:29', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826715 -2.675509)'), GeomFromEWKT('SRID=4674;POINT (-39.826774 -2.675348)'))) / (select extract(epoch from '2026-07-21 12:07:29'::timestamp) - extract(epoch from '2026-07-21 12:07:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826715 -2.675509)'), GeomFromEWKT('SRID=4674;POINT (-39.826774 -2.675348)'))) / (select extract(epoch from '2026-07-21 12:07:29'::timestamp) - extract(epoch from '2026-07-21 12:07:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.826808 -2.675207)', '2026-07-21 12:07:34', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826774 -2.675348)'), GeomFromEWKT('SRID=4674;POINT (-39.826808 -2.675207)'))) / (select extract(epoch from '2026-07-21 12:07:34'::timestamp) - extract(epoch from '2026-07-21 12:07:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826774 -2.675348)'), GeomFromEWKT('SRID=4674;POINT (-39.826808 -2.675207)'))) / (select extract(epoch from '2026-07-21 12:07:34'::timestamp) - extract(epoch from '2026-07-21 12:07:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.826825 -2.67504)', '2026-07-21 12:07:40', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826808 -2.675207)'), GeomFromEWKT('SRID=4674;POINT (-39.826825 -2.67504)'))) / (select extract(epoch from '2026-07-21 12:07:40'::timestamp) - extract(epoch from '2026-07-21 12:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826808 -2.675207)'), GeomFromEWKT('SRID=4674;POINT (-39.826825 -2.67504)'))) / (select extract(epoch from '2026-07-21 12:07:40'::timestamp) - extract(epoch from '2026-07-21 12:07:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.826843 -2.674901)', '2026-07-21 12:07:45', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826825 -2.67504)'), GeomFromEWKT('SRID=4674;POINT (-39.826843 -2.674901)'))) / (select extract(epoch from '2026-07-21 12:07:45'::timestamp) - extract(epoch from '2026-07-21 12:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826825 -2.67504)'), GeomFromEWKT('SRID=4674;POINT (-39.826843 -2.674901)'))) / (select extract(epoch from '2026-07-21 12:07:45'::timestamp) - extract(epoch from '2026-07-21 12:07: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.82686 -2.674757)', '2026-07-21 12:07:50', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826843 -2.674901)'), GeomFromEWKT('SRID=4674;POINT (-39.82686 -2.674757)'))) / (select extract(epoch from '2026-07-21 12:07:50'::timestamp) - extract(epoch from '2026-07-21 12:07:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826843 -2.674901)'), GeomFromEWKT('SRID=4674;POINT (-39.82686 -2.674757)'))) / (select extract(epoch from '2026-07-21 12:07:50'::timestamp) - extract(epoch from '2026-07-21 12:07: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.826892 -2.674586)', '2026-07-21 12:07:56', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82686 -2.674757)'), GeomFromEWKT('SRID=4674;POINT (-39.826892 -2.674586)'))) / (select extract(epoch from '2026-07-21 12:07:56'::timestamp) - extract(epoch from '2026-07-21 12:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82686 -2.674757)'), GeomFromEWKT('SRID=4674;POINT (-39.826892 -2.674586)'))) / (select extract(epoch from '2026-07-21 12:07:56'::timestamp) - extract(epoch from '2026-07-21 12: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.826924 -2.67442)', '2026-07-21 12:08:02', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826892 -2.674586)'), GeomFromEWKT('SRID=4674;POINT (-39.826924 -2.67442)'))) / (select extract(epoch from '2026-07-21 12:08:02'::timestamp) - extract(epoch from '2026-07-21 12:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826892 -2.674586)'), GeomFromEWKT('SRID=4674;POINT (-39.826924 -2.67442)'))) / (select extract(epoch from '2026-07-21 12:08:02'::timestamp) - extract(epoch from '2026-07-21 12:07:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.826946 -2.67428)', '2026-07-21 12:08:07', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826924 -2.67442)'), GeomFromEWKT('SRID=4674;POINT (-39.826946 -2.67428)'))) / (select extract(epoch from '2026-07-21 12:08:07'::timestamp) - extract(epoch from '2026-07-21 12:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826924 -2.67442)'), GeomFromEWKT('SRID=4674;POINT (-39.826946 -2.67428)'))) / (select extract(epoch from '2026-07-21 12:08:07'::timestamp) - extract(epoch from '2026-07-21 12:08:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.826969 -2.674136)', '2026-07-21 12:08:12', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826946 -2.67428)'), GeomFromEWKT('SRID=4674;POINT (-39.826969 -2.674136)'))) / (select extract(epoch from '2026-07-21 12:08:12'::timestamp) - extract(epoch from '2026-07-21 12:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826946 -2.67428)'), GeomFromEWKT('SRID=4674;POINT (-39.826969 -2.674136)'))) / (select extract(epoch from '2026-07-21 12:08:12'::timestamp) - extract(epoch from '2026-07-21 12:08: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.827017 -2.673943)', '2026-07-21 12:08:19', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826969 -2.674136)'), GeomFromEWKT('SRID=4674;POINT (-39.827017 -2.673943)'))) / (select extract(epoch from '2026-07-21 12:08:19'::timestamp) - extract(epoch from '2026-07-21 12:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826969 -2.674136)'), GeomFromEWKT('SRID=4674;POINT (-39.827017 -2.673943)'))) / (select extract(epoch from '2026-07-21 12:08:19'::timestamp) - extract(epoch from '2026-07-21 12:08: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.827062 -2.673805)', '2026-07-21 12:08:24', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827017 -2.673943)'), GeomFromEWKT('SRID=4674;POINT (-39.827062 -2.673805)'))) / (select extract(epoch from '2026-07-21 12:08:24'::timestamp) - extract(epoch from '2026-07-21 12:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827017 -2.673943)'), GeomFromEWKT('SRID=4674;POINT (-39.827062 -2.673805)'))) / (select extract(epoch from '2026-07-21 12:08:24'::timestamp) - extract(epoch from '2026-07-21 12:08: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.827105 -2.673663)', '2026-07-21 12:08:29', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827062 -2.673805)'), GeomFromEWKT('SRID=4674;POINT (-39.827105 -2.673663)'))) / (select extract(epoch from '2026-07-21 12:08:29'::timestamp) - extract(epoch from '2026-07-21 12:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827062 -2.673805)'), GeomFromEWKT('SRID=4674;POINT (-39.827105 -2.673663)'))) / (select extract(epoch from '2026-07-21 12:08:29'::timestamp) - extract(epoch from '2026-07-21 12:08:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.827157 -2.673495)', '2026-07-21 12:08:35', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827105 -2.673663)'), GeomFromEWKT('SRID=4674;POINT (-39.827157 -2.673495)'))) / (select extract(epoch from '2026-07-21 12:08:35'::timestamp) - extract(epoch from '2026-07-21 12:08:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827105 -2.673663)'), GeomFromEWKT('SRID=4674;POINT (-39.827157 -2.673495)'))) / (select extract(epoch from '2026-07-21 12:08:35'::timestamp) - extract(epoch from '2026-07-21 12:08: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.827191 -2.673326)', '2026-07-21 12:08:41', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827157 -2.673495)'), GeomFromEWKT('SRID=4674;POINT (-39.827191 -2.673326)'))) / (select extract(epoch from '2026-07-21 12:08:41'::timestamp) - extract(epoch from '2026-07-21 12:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827157 -2.673495)'), GeomFromEWKT('SRID=4674;POINT (-39.827191 -2.673326)'))) / (select extract(epoch from '2026-07-21 12:08:41'::timestamp) - extract(epoch from '2026-07-21 12:08: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.827215 -2.673158)', '2026-07-21 12:08:47', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827191 -2.673326)'), GeomFromEWKT('SRID=4674;POINT (-39.827215 -2.673158)'))) / (select extract(epoch from '2026-07-21 12:08:47'::timestamp) - extract(epoch from '2026-07-21 12:08:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827191 -2.673326)'), GeomFromEWKT('SRID=4674;POINT (-39.827215 -2.673158)'))) / (select extract(epoch from '2026-07-21 12:08:47'::timestamp) - extract(epoch from '2026-07-21 12: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.827245 -2.673017)', '2026-07-21 12:08:52', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827215 -2.673158)'), GeomFromEWKT('SRID=4674;POINT (-39.827245 -2.673017)'))) / (select extract(epoch from '2026-07-21 12:08:52'::timestamp) - extract(epoch from '2026-07-21 12:08:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827215 -2.673158)'), GeomFromEWKT('SRID=4674;POINT (-39.827245 -2.673017)'))) / (select extract(epoch from '2026-07-21 12:08:52'::timestamp) - extract(epoch from '2026-07-21 12:08:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.82729 -2.672848)', '2026-07-21 12:08:58', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827245 -2.673017)'), GeomFromEWKT('SRID=4674;POINT (-39.82729 -2.672848)'))) / (select extract(epoch from '2026-07-21 12:08:58'::timestamp) - extract(epoch from '2026-07-21 12:08:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827245 -2.673017)'), GeomFromEWKT('SRID=4674;POINT (-39.82729 -2.672848)'))) / (select extract(epoch from '2026-07-21 12:08:58'::timestamp) - extract(epoch from '2026-07-21 12:08: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.82734 -2.672683)', '2026-07-21 12:09:04', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82729 -2.672848)'), GeomFromEWKT('SRID=4674;POINT (-39.82734 -2.672683)'))) / (select extract(epoch from '2026-07-21 12:09:04'::timestamp) - extract(epoch from '2026-07-21 12:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82729 -2.672848)'), GeomFromEWKT('SRID=4674;POINT (-39.82734 -2.672683)'))) / (select extract(epoch from '2026-07-21 12:09:04'::timestamp) - extract(epoch from '2026-07-21 12:08: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.827417 -2.672499)', '2026-07-21 12:09:11', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82734 -2.672683)'), GeomFromEWKT('SRID=4674;POINT (-39.827417 -2.672499)'))) / (select extract(epoch from '2026-07-21 12:09:11'::timestamp) - extract(epoch from '2026-07-21 12:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82734 -2.672683)'), GeomFromEWKT('SRID=4674;POINT (-39.827417 -2.672499)'))) / (select extract(epoch from '2026-07-21 12:09:11'::timestamp) - extract(epoch from '2026-07-21 12:09: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.827507 -2.672348)', '2026-07-21 12:09:17', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827417 -2.672499)'), GeomFromEWKT('SRID=4674;POINT (-39.827507 -2.672348)'))) / (select extract(epoch from '2026-07-21 12:09:17'::timestamp) - extract(epoch from '2026-07-21 12:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827417 -2.672499)'), GeomFromEWKT('SRID=4674;POINT (-39.827507 -2.672348)'))) / (select extract(epoch from '2026-07-21 12:09:17'::timestamp) - extract(epoch from '2026-07-21 12: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.827592 -2.672193)', '2026-07-21 12:09:23', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827507 -2.672348)'), GeomFromEWKT('SRID=4674;POINT (-39.827592 -2.672193)'))) / (select extract(epoch from '2026-07-21 12:09:23'::timestamp) - extract(epoch from '2026-07-21 12:09:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827507 -2.672348)'), GeomFromEWKT('SRID=4674;POINT (-39.827592 -2.672193)'))) / (select extract(epoch from '2026-07-21 12:09:23'::timestamp) - extract(epoch from '2026-07-21 12:09: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.827672 -2.672069)', '2026-07-21 12:09:28', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827592 -2.672193)'), GeomFromEWKT('SRID=4674;POINT (-39.827672 -2.672069)'))) / (select extract(epoch from '2026-07-21 12:09:28'::timestamp) - extract(epoch from '2026-07-21 12:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827592 -2.672193)'), GeomFromEWKT('SRID=4674;POINT (-39.827672 -2.672069)'))) / (select extract(epoch from '2026-07-21 12:09:28'::timestamp) - extract(epoch from '2026-07-21 12:09:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.827771 -2.671921)', '2026-07-21 12:09:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827672 -2.672069)'), GeomFromEWKT('SRID=4674;POINT (-39.827771 -2.671921)'))) / (select extract(epoch from '2026-07-21 12:09:34'::timestamp) - extract(epoch from '2026-07-21 12:09:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827672 -2.672069)'), GeomFromEWKT('SRID=4674;POINT (-39.827771 -2.671921)'))) / (select extract(epoch from '2026-07-21 12:09:34'::timestamp) - extract(epoch from '2026-07-21 12:09: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.827861 -2.6718)', '2026-07-21 12:09:39', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827771 -2.671921)'), GeomFromEWKT('SRID=4674;POINT (-39.827861 -2.6718)'))) / (select extract(epoch from '2026-07-21 12:09:39'::timestamp) - extract(epoch from '2026-07-21 12:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827771 -2.671921)'), GeomFromEWKT('SRID=4674;POINT (-39.827861 -2.6718)'))) / (select extract(epoch from '2026-07-21 12:09:39'::timestamp) - extract(epoch from '2026-07-21 12:09:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.827938 -2.671678)', '2026-07-21 12:09:44', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827861 -2.6718)'), GeomFromEWKT('SRID=4674;POINT (-39.827938 -2.671678)'))) / (select extract(epoch from '2026-07-21 12:09:44'::timestamp) - extract(epoch from '2026-07-21 12:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827861 -2.6718)'), GeomFromEWKT('SRID=4674;POINT (-39.827938 -2.671678)'))) / (select extract(epoch from '2026-07-21 12:09:44'::timestamp) - extract(epoch from '2026-07-21 12: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.828041 -2.671501)', '2026-07-21 12:09:51', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827938 -2.671678)'), GeomFromEWKT('SRID=4674;POINT (-39.828041 -2.671501)'))) / (select extract(epoch from '2026-07-21 12:09:51'::timestamp) - extract(epoch from '2026-07-21 12:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827938 -2.671678)'), GeomFromEWKT('SRID=4674;POINT (-39.828041 -2.671501)'))) / (select extract(epoch from '2026-07-21 12:09:51'::timestamp) - extract(epoch from '2026-07-21 12:09: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.828103 -2.671365)', '2026-07-21 12:09:56', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828041 -2.671501)'), GeomFromEWKT('SRID=4674;POINT (-39.828103 -2.671365)'))) / (select extract(epoch from '2026-07-21 12:09:56'::timestamp) - extract(epoch from '2026-07-21 12:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828041 -2.671501)'), GeomFromEWKT('SRID=4674;POINT (-39.828103 -2.671365)'))) / (select extract(epoch from '2026-07-21 12:09:56'::timestamp) - extract(epoch from '2026-07-21 12:09:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.828155 -2.67123)', '2026-07-21 12:10:01', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828103 -2.671365)'), GeomFromEWKT('SRID=4674;POINT (-39.828155 -2.67123)'))) / (select extract(epoch from '2026-07-21 12:10:01'::timestamp) - extract(epoch from '2026-07-21 12:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828103 -2.671365)'), GeomFromEWKT('SRID=4674;POINT (-39.828155 -2.67123)'))) / (select extract(epoch from '2026-07-21 12:10:01'::timestamp) - extract(epoch from '2026-07-21 12:09:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.828193 -2.671094)', '2026-07-21 12:10:06', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828155 -2.67123)'), GeomFromEWKT('SRID=4674;POINT (-39.828193 -2.671094)'))) / (select extract(epoch from '2026-07-21 12:10:06'::timestamp) - extract(epoch from '2026-07-21 12:10:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828155 -2.67123)'), GeomFromEWKT('SRID=4674;POINT (-39.828193 -2.671094)'))) / (select extract(epoch from '2026-07-21 12:10:06'::timestamp) - extract(epoch from '2026-07-21 12:10:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.828222 -2.670924)', '2026-07-21 12:10:12', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828193 -2.671094)'), GeomFromEWKT('SRID=4674;POINT (-39.828222 -2.670924)'))) / (select extract(epoch from '2026-07-21 12:10:12'::timestamp) - extract(epoch from '2026-07-21 12:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828193 -2.671094)'), GeomFromEWKT('SRID=4674;POINT (-39.828222 -2.670924)'))) / (select extract(epoch from '2026-07-21 12:10:12'::timestamp) - extract(epoch from '2026-07-21 12:10:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.828249 -2.670816)', '2026-07-21 12:10:16', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828222 -2.670924)'), GeomFromEWKT('SRID=4674;POINT (-39.828249 -2.670816)'))) / (select extract(epoch from '2026-07-21 12:10:16'::timestamp) - extract(epoch from '2026-07-21 12:10:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828222 -2.670924)'), GeomFromEWKT('SRID=4674;POINT (-39.828249 -2.670816)'))) / (select extract(epoch from '2026-07-21 12:10:16'::timestamp) - extract(epoch from '2026-07-21 12:10:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.828291 -2.670641)', '2026-07-21 12:10:22', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828249 -2.670816)'), GeomFromEWKT('SRID=4674;POINT (-39.828291 -2.670641)'))) / (select extract(epoch from '2026-07-21 12:10:22'::timestamp) - extract(epoch from '2026-07-21 12:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828249 -2.670816)'), GeomFromEWKT('SRID=4674;POINT (-39.828291 -2.670641)'))) / (select extract(epoch from '2026-07-21 12:10:22'::timestamp) - extract(epoch from '2026-07-21 12:10:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.828317 -2.670494)', '2026-07-21 12:10:27', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828291 -2.670641)'), GeomFromEWKT('SRID=4674;POINT (-39.828317 -2.670494)'))) / (select extract(epoch from '2026-07-21 12:10:27'::timestamp) - extract(epoch from '2026-07-21 12:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828291 -2.670641)'), GeomFromEWKT('SRID=4674;POINT (-39.828317 -2.670494)'))) / (select extract(epoch from '2026-07-21 12:10:27'::timestamp) - extract(epoch from '2026-07-21 12:10: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.828353 -2.670356)', '2026-07-21 12:10:32', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828317 -2.670494)'), GeomFromEWKT('SRID=4674;POINT (-39.828353 -2.670356)'))) / (select extract(epoch from '2026-07-21 12:10:32'::timestamp) - extract(epoch from '2026-07-21 12:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828317 -2.670494)'), GeomFromEWKT('SRID=4674;POINT (-39.828353 -2.670356)'))) / (select extract(epoch from '2026-07-21 12:10:32'::timestamp) - extract(epoch from '2026-07-21 12:10: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.828383 -2.670189)', '2026-07-21 12:10:38', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828353 -2.670356)'), GeomFromEWKT('SRID=4674;POINT (-39.828383 -2.670189)'))) / (select extract(epoch from '2026-07-21 12:10:38'::timestamp) - extract(epoch from '2026-07-21 12:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828353 -2.670356)'), GeomFromEWKT('SRID=4674;POINT (-39.828383 -2.670189)'))) / (select extract(epoch from '2026-07-21 12:10:38'::timestamp) - extract(epoch from '2026-07-21 12:10: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.828393 -2.670044)', '2026-07-21 12:10:43', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828383 -2.670189)'), GeomFromEWKT('SRID=4674;POINT (-39.828393 -2.670044)'))) / (select extract(epoch from '2026-07-21 12:10:43'::timestamp) - extract(epoch from '2026-07-21 12:10:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828383 -2.670189)'), GeomFromEWKT('SRID=4674;POINT (-39.828393 -2.670044)'))) / (select extract(epoch from '2026-07-21 12:10:43'::timestamp) - extract(epoch from '2026-07-21 12:10:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.828399 -2.669928)', '2026-07-21 12:10:47', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828393 -2.670044)'), GeomFromEWKT('SRID=4674;POINT (-39.828399 -2.669928)'))) / (select extract(epoch from '2026-07-21 12:10:47'::timestamp) - extract(epoch from '2026-07-21 12:10:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828393 -2.670044)'), GeomFromEWKT('SRID=4674;POINT (-39.828399 -2.669928)'))) / (select extract(epoch from '2026-07-21 12:10:47'::timestamp) - extract(epoch from '2026-07-21 12:10: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.828409 -2.669758)', '2026-07-21 12:10:53', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828399 -2.669928)'), GeomFromEWKT('SRID=4674;POINT (-39.828409 -2.669758)'))) / (select extract(epoch from '2026-07-21 12:10:53'::timestamp) - extract(epoch from '2026-07-21 12:10:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828399 -2.669928)'), GeomFromEWKT('SRID=4674;POINT (-39.828409 -2.669758)'))) / (select extract(epoch from '2026-07-21 12:10:53'::timestamp) - extract(epoch from '2026-07-21 12: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.828422 -2.669642)', '2026-07-21 12:10:57', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828409 -2.669758)'), GeomFromEWKT('SRID=4674;POINT (-39.828422 -2.669642)'))) / (select extract(epoch from '2026-07-21 12:10:57'::timestamp) - extract(epoch from '2026-07-21 12:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828409 -2.669758)'), GeomFromEWKT('SRID=4674;POINT (-39.828422 -2.669642)'))) / (select extract(epoch from '2026-07-21 12:10:57'::timestamp) - extract(epoch from '2026-07-21 12:10:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.828438 -2.669499)', '2026-07-21 12:11:02', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828422 -2.669642)'), GeomFromEWKT('SRID=4674;POINT (-39.828438 -2.669499)'))) / (select extract(epoch from '2026-07-21 12:11:02'::timestamp) - extract(epoch from '2026-07-21 12:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828422 -2.669642)'), GeomFromEWKT('SRID=4674;POINT (-39.828438 -2.669499)'))) / (select extract(epoch from '2026-07-21 12:11:02'::timestamp) - extract(epoch from '2026-07-21 12:10: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.828458 -2.669361)', '2026-07-21 12:11:07', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828438 -2.669499)'), GeomFromEWKT('SRID=4674;POINT (-39.828458 -2.669361)'))) / (select extract(epoch from '2026-07-21 12:11:07'::timestamp) - extract(epoch from '2026-07-21 12:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828438 -2.669499)'), GeomFromEWKT('SRID=4674;POINT (-39.828458 -2.669361)'))) / (select extract(epoch from '2026-07-21 12:11:07'::timestamp) - extract(epoch from '2026-07-21 12:11:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.828477 -2.669221)', '2026-07-21 12:11:12', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828458 -2.669361)'), GeomFromEWKT('SRID=4674;POINT (-39.828477 -2.669221)'))) / (select extract(epoch from '2026-07-21 12:11:12'::timestamp) - extract(epoch from '2026-07-21 12:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828458 -2.669361)'), GeomFromEWKT('SRID=4674;POINT (-39.828477 -2.669221)'))) / (select extract(epoch from '2026-07-21 12:11:12'::timestamp) - extract(epoch from '2026-07-21 12:11:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.828494 -2.669076)', '2026-07-21 12:11:17', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828477 -2.669221)'), GeomFromEWKT('SRID=4674;POINT (-39.828494 -2.669076)'))) / (select extract(epoch from '2026-07-21 12:11:17'::timestamp) - extract(epoch from '2026-07-21 12:11:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828477 -2.669221)'), GeomFromEWKT('SRID=4674;POINT (-39.828494 -2.669076)'))) / (select extract(epoch from '2026-07-21 12:11:17'::timestamp) - extract(epoch from '2026-07-21 12: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.828511 -2.668903)', '2026-07-21 12:11:23', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828494 -2.669076)'), GeomFromEWKT('SRID=4674;POINT (-39.828511 -2.668903)'))) / (select extract(epoch from '2026-07-21 12:11:23'::timestamp) - extract(epoch from '2026-07-21 12:11:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828494 -2.669076)'), GeomFromEWKT('SRID=4674;POINT (-39.828511 -2.668903)'))) / (select extract(epoch from '2026-07-21 12:11:23'::timestamp) - extract(epoch from '2026-07-21 12:11: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.828525 -2.668758)', '2026-07-21 12:11:28', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828511 -2.668903)'), GeomFromEWKT('SRID=4674;POINT (-39.828525 -2.668758)'))) / (select extract(epoch from '2026-07-21 12:11:28'::timestamp) - extract(epoch from '2026-07-21 12:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828511 -2.668903)'), GeomFromEWKT('SRID=4674;POINT (-39.828525 -2.668758)'))) / (select extract(epoch from '2026-07-21 12:11:28'::timestamp) - extract(epoch from '2026-07-21 12:11:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.82855 -2.668614)', '2026-07-21 12:11:33', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828525 -2.668758)'), GeomFromEWKT('SRID=4674;POINT (-39.82855 -2.668614)'))) / (select extract(epoch from '2026-07-21 12:11:33'::timestamp) - extract(epoch from '2026-07-21 12:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828525 -2.668758)'), GeomFromEWKT('SRID=4674;POINT (-39.82855 -2.668614)'))) / (select extract(epoch from '2026-07-21 12:11:33'::timestamp) - extract(epoch from '2026-07-21 12:11:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.828615 -2.668417)', '2026-07-21 12:11:40', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82855 -2.668614)'), GeomFromEWKT('SRID=4674;POINT (-39.828615 -2.668417)'))) / (select extract(epoch from '2026-07-21 12:11:40'::timestamp) - extract(epoch from '2026-07-21 12:11:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82855 -2.668614)'), GeomFromEWKT('SRID=4674;POINT (-39.828615 -2.668417)'))) / (select extract(epoch from '2026-07-21 12:11:40'::timestamp) - extract(epoch from '2026-07-21 12:11: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.828676 -2.668252)', '2026-07-21 12:11:46', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828615 -2.668417)'), GeomFromEWKT('SRID=4674;POINT (-39.828676 -2.668252)'))) / (select extract(epoch from '2026-07-21 12:11:46'::timestamp) - extract(epoch from '2026-07-21 12:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828615 -2.668417)'), GeomFromEWKT('SRID=4674;POINT (-39.828676 -2.668252)'))) / (select extract(epoch from '2026-07-21 12:11:46'::timestamp) - extract(epoch from '2026-07-21 12:11:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.828726 -2.668086)', '2026-07-21 12:11:52', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828676 -2.668252)'), GeomFromEWKT('SRID=4674;POINT (-39.828726 -2.668086)'))) / (select extract(epoch from '2026-07-21 12:11:52'::timestamp) - extract(epoch from '2026-07-21 12:11:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828676 -2.668252)'), GeomFromEWKT('SRID=4674;POINT (-39.828726 -2.668086)'))) / (select extract(epoch from '2026-07-21 12:11:52'::timestamp) - extract(epoch from '2026-07-21 12:11: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.828755 -2.667941)', '2026-07-21 12:11:57', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828726 -2.668086)'), GeomFromEWKT('SRID=4674;POINT (-39.828755 -2.667941)'))) / (select extract(epoch from '2026-07-21 12:11:57'::timestamp) - extract(epoch from '2026-07-21 12:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828726 -2.668086)'), GeomFromEWKT('SRID=4674;POINT (-39.828755 -2.667941)'))) / (select extract(epoch from '2026-07-21 12:11:57'::timestamp) - extract(epoch from '2026-07-21 12: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.828783 -2.6678)', '2026-07-21 12:12:02', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828755 -2.667941)'), GeomFromEWKT('SRID=4674;POINT (-39.828783 -2.6678)'))) / (select extract(epoch from '2026-07-21 12:12:02'::timestamp) - extract(epoch from '2026-07-21 12:11:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828755 -2.667941)'), GeomFromEWKT('SRID=4674;POINT (-39.828783 -2.6678)'))) / (select extract(epoch from '2026-07-21 12:12:02'::timestamp) - extract(epoch from '2026-07-21 12:11: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.828806 -2.667662)', '2026-07-21 12:12:07', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828783 -2.6678)'), GeomFromEWKT('SRID=4674;POINT (-39.828806 -2.667662)'))) / (select extract(epoch from '2026-07-21 12:12:07'::timestamp) - extract(epoch from '2026-07-21 12:12:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828783 -2.6678)'), GeomFromEWKT('SRID=4674;POINT (-39.828806 -2.667662)'))) / (select extract(epoch from '2026-07-21 12:12:07'::timestamp) - extract(epoch from '2026-07-21 12:12: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.828828 -2.667521)', '2026-07-21 12:12:12', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828806 -2.667662)'), GeomFromEWKT('SRID=4674;POINT (-39.828828 -2.667521)'))) / (select extract(epoch from '2026-07-21 12:12:12'::timestamp) - extract(epoch from '2026-07-21 12:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828806 -2.667662)'), GeomFromEWKT('SRID=4674;POINT (-39.828828 -2.667521)'))) / (select extract(epoch from '2026-07-21 12:12:12'::timestamp) - extract(epoch from '2026-07-21 12:12: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.828869 -2.667377)', '2026-07-21 12:12:17', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828828 -2.667521)'), GeomFromEWKT('SRID=4674;POINT (-39.828869 -2.667377)'))) / (select extract(epoch from '2026-07-21 12:12:17'::timestamp) - extract(epoch from '2026-07-21 12:12:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828828 -2.667521)'), GeomFromEWKT('SRID=4674;POINT (-39.828869 -2.667377)'))) / (select extract(epoch from '2026-07-21 12:12:17'::timestamp) - extract(epoch from '2026-07-21 12:12: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.828926 -2.667212)', '2026-07-21 12:12:23', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828869 -2.667377)'), GeomFromEWKT('SRID=4674;POINT (-39.828926 -2.667212)'))) / (select extract(epoch from '2026-07-21 12:12:23'::timestamp) - extract(epoch from '2026-07-21 12:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828869 -2.667377)'), GeomFromEWKT('SRID=4674;POINT (-39.828926 -2.667212)'))) / (select extract(epoch from '2026-07-21 12:12:23'::timestamp) - extract(epoch from '2026-07-21 12:12: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.828978 -2.667046)', '2026-07-21 12:12:29', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828926 -2.667212)'), GeomFromEWKT('SRID=4674;POINT (-39.828978 -2.667046)'))) / (select extract(epoch from '2026-07-21 12:12:29'::timestamp) - extract(epoch from '2026-07-21 12:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828926 -2.667212)'), GeomFromEWKT('SRID=4674;POINT (-39.828978 -2.667046)'))) / (select extract(epoch from '2026-07-21 12:12:29'::timestamp) - extract(epoch from '2026-07-21 12:12: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.829017 -2.666906)', '2026-07-21 12:12:34', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828978 -2.667046)'), GeomFromEWKT('SRID=4674;POINT (-39.829017 -2.666906)'))) / (select extract(epoch from '2026-07-21 12:12:34'::timestamp) - extract(epoch from '2026-07-21 12:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828978 -2.667046)'), GeomFromEWKT('SRID=4674;POINT (-39.829017 -2.666906)'))) / (select extract(epoch from '2026-07-21 12:12:34'::timestamp) - extract(epoch from '2026-07-21 12:12:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829051 -2.666797)', '2026-07-21 12:12:38', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829017 -2.666906)'), GeomFromEWKT('SRID=4674;POINT (-39.829051 -2.666797)'))) / (select extract(epoch from '2026-07-21 12:12:38'::timestamp) - extract(epoch from '2026-07-21 12:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829017 -2.666906)'), GeomFromEWKT('SRID=4674;POINT (-39.829051 -2.666797)'))) / (select extract(epoch from '2026-07-21 12:12:38'::timestamp) - extract(epoch from '2026-07-21 12:12:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829106 -2.666602)', '2026-07-21 12:12:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829051 -2.666797)'), GeomFromEWKT('SRID=4674;POINT (-39.829106 -2.666602)'))) / (select extract(epoch from '2026-07-21 12:12:45'::timestamp) - extract(epoch from '2026-07-21 12:12:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829051 -2.666797)'), GeomFromEWKT('SRID=4674;POINT (-39.829106 -2.666602)'))) / (select extract(epoch from '2026-07-21 12:12:45'::timestamp) - extract(epoch from '2026-07-21 12:12:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829142 -2.666459)', '2026-07-21 12:12:50', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829106 -2.666602)'), GeomFromEWKT('SRID=4674;POINT (-39.829142 -2.666459)'))) / (select extract(epoch from '2026-07-21 12:12:50'::timestamp) - extract(epoch from '2026-07-21 12:12:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829106 -2.666602)'), GeomFromEWKT('SRID=4674;POINT (-39.829142 -2.666459)'))) / (select extract(epoch from '2026-07-21 12:12:50'::timestamp) - extract(epoch from '2026-07-21 12:12: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.829178 -2.666311)', '2026-07-21 12:12:55', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829142 -2.666459)'), GeomFromEWKT('SRID=4674;POINT (-39.829178 -2.666311)'))) / (select extract(epoch from '2026-07-21 12:12:55'::timestamp) - extract(epoch from '2026-07-21 12:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829142 -2.666459)'), GeomFromEWKT('SRID=4674;POINT (-39.829178 -2.666311)'))) / (select extract(epoch from '2026-07-21 12:12:55'::timestamp) - extract(epoch from '2026-07-21 12:12: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.829207 -2.666168)', '2026-07-21 12:13:00', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829178 -2.666311)'), GeomFromEWKT('SRID=4674;POINT (-39.829207 -2.666168)'))) / (select extract(epoch from '2026-07-21 12:13:00'::timestamp) - extract(epoch from '2026-07-21 12:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829178 -2.666311)'), GeomFromEWKT('SRID=4674;POINT (-39.829207 -2.666168)'))) / (select extract(epoch from '2026-07-21 12:13:00'::timestamp) - extract(epoch from '2026-07-21 12:12:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829241 -2.665996)', '2026-07-21 12:13:06', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829207 -2.666168)'), GeomFromEWKT('SRID=4674;POINT (-39.829241 -2.665996)'))) / (select extract(epoch from '2026-07-21 12:13:06'::timestamp) - extract(epoch from '2026-07-21 12:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829207 -2.666168)'), GeomFromEWKT('SRID=4674;POINT (-39.829241 -2.665996)'))) / (select extract(epoch from '2026-07-21 12:13:06'::timestamp) - extract(epoch from '2026-07-21 12:13: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.829286 -2.665824)', '2026-07-21 12:13:12', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829241 -2.665996)'), GeomFromEWKT('SRID=4674;POINT (-39.829286 -2.665824)'))) / (select extract(epoch from '2026-07-21 12:13:12'::timestamp) - extract(epoch from '2026-07-21 12:13:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829241 -2.665996)'), GeomFromEWKT('SRID=4674;POINT (-39.829286 -2.665824)'))) / (select extract(epoch from '2026-07-21 12:13:12'::timestamp) - extract(epoch from '2026-07-21 12:13: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.829327 -2.665652)', '2026-07-21 12:13:18', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829286 -2.665824)'), GeomFromEWKT('SRID=4674;POINT (-39.829327 -2.665652)'))) / (select extract(epoch from '2026-07-21 12:13:18'::timestamp) - extract(epoch from '2026-07-21 12:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829286 -2.665824)'), GeomFromEWKT('SRID=4674;POINT (-39.829327 -2.665652)'))) / (select extract(epoch from '2026-07-21 12:13:18'::timestamp) - extract(epoch from '2026-07-21 12:13: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.829372 -2.665476)', '2026-07-21 12:13:24', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829327 -2.665652)'), GeomFromEWKT('SRID=4674;POINT (-39.829372 -2.665476)'))) / (select extract(epoch from '2026-07-21 12:13:24'::timestamp) - extract(epoch from '2026-07-21 12:13:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829327 -2.665652)'), GeomFromEWKT('SRID=4674;POINT (-39.829372 -2.665476)'))) / (select extract(epoch from '2026-07-21 12:13:24'::timestamp) - extract(epoch from '2026-07-21 12:13:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829414 -2.665336)', '2026-07-21 12:13:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829372 -2.665476)'), GeomFromEWKT('SRID=4674;POINT (-39.829414 -2.665336)'))) / (select extract(epoch from '2026-07-21 12:13:29'::timestamp) - extract(epoch from '2026-07-21 12:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829372 -2.665476)'), GeomFromEWKT('SRID=4674;POINT (-39.829414 -2.665336)'))) / (select extract(epoch from '2026-07-21 12:13:29'::timestamp) - extract(epoch from '2026-07-21 12:13:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829472 -2.665167)', '2026-07-21 12:13:35', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829414 -2.665336)'), GeomFromEWKT('SRID=4674;POINT (-39.829472 -2.665167)'))) / (select extract(epoch from '2026-07-21 12:13:35'::timestamp) - extract(epoch from '2026-07-21 12:13:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829414 -2.665336)'), GeomFromEWKT('SRID=4674;POINT (-39.829472 -2.665167)'))) / (select extract(epoch from '2026-07-21 12:13:35'::timestamp) - extract(epoch from '2026-07-21 12:13: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.829522 -2.665029)', '2026-07-21 12:13:40', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829472 -2.665167)'), GeomFromEWKT('SRID=4674;POINT (-39.829522 -2.665029)'))) / (select extract(epoch from '2026-07-21 12:13:40'::timestamp) - extract(epoch from '2026-07-21 12:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829472 -2.665167)'), GeomFromEWKT('SRID=4674;POINT (-39.829522 -2.665029)'))) / (select extract(epoch from '2026-07-21 12:13:40'::timestamp) - extract(epoch from '2026-07-21 12:13: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.829589 -2.664835)', '2026-07-21 12:13:47', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829522 -2.665029)'), GeomFromEWKT('SRID=4674;POINT (-39.829589 -2.664835)'))) / (select extract(epoch from '2026-07-21 12:13:47'::timestamp) - extract(epoch from '2026-07-21 12:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829522 -2.665029)'), GeomFromEWKT('SRID=4674;POINT (-39.829589 -2.664835)'))) / (select extract(epoch from '2026-07-21 12:13:47'::timestamp) - extract(epoch from '2026-07-21 12:13:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829639 -2.664699)', '2026-07-21 12:13:52', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829589 -2.664835)'), GeomFromEWKT('SRID=4674;POINT (-39.829639 -2.664699)'))) / (select extract(epoch from '2026-07-21 12:13:52'::timestamp) - extract(epoch from '2026-07-21 12:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829589 -2.664835)'), GeomFromEWKT('SRID=4674;POINT (-39.829639 -2.664699)'))) / (select extract(epoch from '2026-07-21 12:13:52'::timestamp) - extract(epoch from '2026-07-21 12:13: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.829702 -2.664569)', '2026-07-21 12:13:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829639 -2.664699)'), GeomFromEWKT('SRID=4674;POINT (-39.829702 -2.664569)'))) / (select extract(epoch from '2026-07-21 12:13:57'::timestamp) - extract(epoch from '2026-07-21 12:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829639 -2.664699)'), GeomFromEWKT('SRID=4674;POINT (-39.829702 -2.664569)'))) / (select extract(epoch from '2026-07-21 12:13:57'::timestamp) - extract(epoch from '2026-07-21 12:13: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.829793 -2.664384)', '2026-07-21 12:14:04', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829702 -2.664569)'), GeomFromEWKT('SRID=4674;POINT (-39.829793 -2.664384)'))) / (select extract(epoch from '2026-07-21 12:14:04'::timestamp) - extract(epoch from '2026-07-21 12:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829702 -2.664569)'), GeomFromEWKT('SRID=4674;POINT (-39.829793 -2.664384)'))) / (select extract(epoch from '2026-07-21 12:14:04'::timestamp) - extract(epoch from '2026-07-21 12:13:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829878 -2.664226)', '2026-07-21 12:14:10', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829793 -2.664384)'), GeomFromEWKT('SRID=4674;POINT (-39.829878 -2.664226)'))) / (select extract(epoch from '2026-07-21 12:14:10'::timestamp) - extract(epoch from '2026-07-21 12:14:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829793 -2.664384)'), GeomFromEWKT('SRID=4674;POINT (-39.829878 -2.664226)'))) / (select extract(epoch from '2026-07-21 12:14:10'::timestamp) - extract(epoch from '2026-07-21 12:14:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829952 -2.664092)', '2026-07-21 12:14:15', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829878 -2.664226)'), GeomFromEWKT('SRID=4674;POINT (-39.829952 -2.664092)'))) / (select extract(epoch from '2026-07-21 12:14:15'::timestamp) - extract(epoch from '2026-07-21 12:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829878 -2.664226)'), GeomFromEWKT('SRID=4674;POINT (-39.829952 -2.664092)'))) / (select extract(epoch from '2026-07-21 12:14:15'::timestamp) - extract(epoch from '2026-07-21 12:14:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.830041 -2.66393)', '2026-07-21 12:14:21', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829952 -2.664092)'), GeomFromEWKT('SRID=4674;POINT (-39.830041 -2.66393)'))) / (select extract(epoch from '2026-07-21 12:14:21'::timestamp) - extract(epoch from '2026-07-21 12:14:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829952 -2.664092)'), GeomFromEWKT('SRID=4674;POINT (-39.830041 -2.66393)'))) / (select extract(epoch from '2026-07-21 12:14:21'::timestamp) - extract(epoch from '2026-07-21 12:14: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.830116 -2.66374)', '2026-07-21 12:14:28', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830041 -2.66393)'), GeomFromEWKT('SRID=4674;POINT (-39.830116 -2.66374)'))) / (select extract(epoch from '2026-07-21 12:14:28'::timestamp) - extract(epoch from '2026-07-21 12:14:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830041 -2.66393)'), GeomFromEWKT('SRID=4674;POINT (-39.830116 -2.66374)'))) / (select extract(epoch from '2026-07-21 12:14:28'::timestamp) - extract(epoch from '2026-07-21 12:14:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.830174 -2.663572)', '2026-07-21 12:14:34', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830116 -2.66374)'), GeomFromEWKT('SRID=4674;POINT (-39.830174 -2.663572)'))) / (select extract(epoch from '2026-07-21 12:14:34'::timestamp) - extract(epoch from '2026-07-21 12:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830116 -2.66374)'), GeomFromEWKT('SRID=4674;POINT (-39.830174 -2.663572)'))) / (select extract(epoch from '2026-07-21 12:14:34'::timestamp) - extract(epoch from '2026-07-21 12:14:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.83023 -2.663442)', '2026-07-21 12:14:39', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830174 -2.663572)'), GeomFromEWKT('SRID=4674;POINT (-39.83023 -2.663442)'))) / (select extract(epoch from '2026-07-21 12:14:39'::timestamp) - extract(epoch from '2026-07-21 12:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830174 -2.663572)'), GeomFromEWKT('SRID=4674;POINT (-39.83023 -2.663442)'))) / (select extract(epoch from '2026-07-21 12:14:39'::timestamp) - extract(epoch from '2026-07-21 12:14: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.830305 -2.663313)', '2026-07-21 12:14:44', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83023 -2.663442)'), GeomFromEWKT('SRID=4674;POINT (-39.830305 -2.663313)'))) / (select extract(epoch from '2026-07-21 12:14:44'::timestamp) - extract(epoch from '2026-07-21 12:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83023 -2.663442)'), GeomFromEWKT('SRID=4674;POINT (-39.830305 -2.663313)'))) / (select extract(epoch from '2026-07-21 12:14:44'::timestamp) - extract(epoch from '2026-07-21 12:14: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.830378 -2.66318)', '2026-07-21 12:14:49', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830305 -2.663313)'), GeomFromEWKT('SRID=4674;POINT (-39.830378 -2.66318)'))) / (select extract(epoch from '2026-07-21 12:14:49'::timestamp) - extract(epoch from '2026-07-21 12:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830305 -2.663313)'), GeomFromEWKT('SRID=4674;POINT (-39.830378 -2.66318)'))) / (select extract(epoch from '2026-07-21 12:14:49'::timestamp) - extract(epoch from '2026-07-21 12:14:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.830445 -2.663022)', '2026-07-21 12:14:55', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830378 -2.66318)'), GeomFromEWKT('SRID=4674;POINT (-39.830445 -2.663022)'))) / (select extract(epoch from '2026-07-21 12:14:55'::timestamp) - extract(epoch from '2026-07-21 12:14:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830378 -2.66318)'), GeomFromEWKT('SRID=4674;POINT (-39.830445 -2.663022)'))) / (select extract(epoch from '2026-07-21 12:14:55'::timestamp) - extract(epoch from '2026-07-21 12:14:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.830496 -2.662889)', '2026-07-21 12:15:00', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830445 -2.663022)'), GeomFromEWKT('SRID=4674;POINT (-39.830496 -2.662889)'))) / (select extract(epoch from '2026-07-21 12:15:00'::timestamp) - extract(epoch from '2026-07-21 12:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830445 -2.663022)'), GeomFromEWKT('SRID=4674;POINT (-39.830496 -2.662889)'))) / (select extract(epoch from '2026-07-21 12:15:00'::timestamp) - extract(epoch from '2026-07-21 12:14:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.830566 -2.662698)', '2026-07-21 12:15:07', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830496 -2.662889)'), GeomFromEWKT('SRID=4674;POINT (-39.830566 -2.662698)'))) / (select extract(epoch from '2026-07-21 12:15:07'::timestamp) - extract(epoch from '2026-07-21 12:15:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830496 -2.662889)'), GeomFromEWKT('SRID=4674;POINT (-39.830566 -2.662698)'))) / (select extract(epoch from '2026-07-21 12:15:07'::timestamp) - extract(epoch from '2026-07-21 12:15:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.830611 -2.662555)', '2026-07-21 12:15:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830566 -2.662698)'), GeomFromEWKT('SRID=4674;POINT (-39.830611 -2.662555)'))) / (select extract(epoch from '2026-07-21 12:15:12'::timestamp) - extract(epoch from '2026-07-21 12:15:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830566 -2.662698)'), GeomFromEWKT('SRID=4674;POINT (-39.830611 -2.662555)'))) / (select extract(epoch from '2026-07-21 12:15:12'::timestamp) - extract(epoch from '2026-07-21 12:15:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.830655 -2.662411)', '2026-07-21 12:15:17', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830611 -2.662555)'), GeomFromEWKT('SRID=4674;POINT (-39.830655 -2.662411)'))) / (select extract(epoch from '2026-07-21 12:15:17'::timestamp) - extract(epoch from '2026-07-21 12:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830611 -2.662555)'), GeomFromEWKT('SRID=4674;POINT (-39.830655 -2.662411)'))) / (select extract(epoch from '2026-07-21 12:15:17'::timestamp) - extract(epoch from '2026-07-21 12:15:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.830683 -2.662268)', '2026-07-21 12:15:22', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830655 -2.662411)'), GeomFromEWKT('SRID=4674;POINT (-39.830683 -2.662268)'))) / (select extract(epoch from '2026-07-21 12:15:22'::timestamp) - extract(epoch from '2026-07-21 12:15:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830655 -2.662411)'), GeomFromEWKT('SRID=4674;POINT (-39.830683 -2.662268)'))) / (select extract(epoch from '2026-07-21 12:15:22'::timestamp) - extract(epoch from '2026-07-21 12:15: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.830718 -2.662092)', '2026-07-21 12:15:28', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830683 -2.662268)'), GeomFromEWKT('SRID=4674;POINT (-39.830718 -2.662092)'))) / (select extract(epoch from '2026-07-21 12:15:28'::timestamp) - extract(epoch from '2026-07-21 12:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830683 -2.662268)'), GeomFromEWKT('SRID=4674;POINT (-39.830718 -2.662092)'))) / (select extract(epoch from '2026-07-21 12:15:28'::timestamp) - extract(epoch from '2026-07-21 12:15:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.830758 -2.661945)', '2026-07-21 12:15:33', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830718 -2.662092)'), GeomFromEWKT('SRID=4674;POINT (-39.830758 -2.661945)'))) / (select extract(epoch from '2026-07-21 12:15:33'::timestamp) - extract(epoch from '2026-07-21 12:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830718 -2.662092)'), GeomFromEWKT('SRID=4674;POINT (-39.830758 -2.661945)'))) / (select extract(epoch from '2026-07-21 12:15:33'::timestamp) - extract(epoch from '2026-07-21 12:15:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.830811 -2.661772)', '2026-07-21 12:15:39', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830758 -2.661945)'), GeomFromEWKT('SRID=4674;POINT (-39.830811 -2.661772)'))) / (select extract(epoch from '2026-07-21 12:15:39'::timestamp) - extract(epoch from '2026-07-21 12:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830758 -2.661945)'), GeomFromEWKT('SRID=4674;POINT (-39.830811 -2.661772)'))) / (select extract(epoch from '2026-07-21 12:15:39'::timestamp) - extract(epoch from '2026-07-21 12:15:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.830871 -2.661603)', '2026-07-21 12:15:45', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830811 -2.661772)'), GeomFromEWKT('SRID=4674;POINT (-39.830871 -2.661603)'))) / (select extract(epoch from '2026-07-21 12:15:45'::timestamp) - extract(epoch from '2026-07-21 12:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830811 -2.661772)'), GeomFromEWKT('SRID=4674;POINT (-39.830871 -2.661603)'))) / (select extract(epoch from '2026-07-21 12:15:45'::timestamp) - extract(epoch from '2026-07-21 12:15:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.830943 -2.66144)', '2026-07-21 12:15:51', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830871 -2.661603)'), GeomFromEWKT('SRID=4674;POINT (-39.830943 -2.66144)'))) / (select extract(epoch from '2026-07-21 12:15:51'::timestamp) - extract(epoch from '2026-07-21 12:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830871 -2.661603)'), GeomFromEWKT('SRID=4674;POINT (-39.830943 -2.66144)'))) / (select extract(epoch from '2026-07-21 12:15:51'::timestamp) - extract(epoch from '2026-07-21 12:15:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.831014 -2.661304)', '2026-07-21 12:15:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830943 -2.66144)'), GeomFromEWKT('SRID=4674;POINT (-39.831014 -2.661304)'))) / (select extract(epoch from '2026-07-21 12:15:56'::timestamp) - extract(epoch from '2026-07-21 12:15:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830943 -2.66144)'), GeomFromEWKT('SRID=4674;POINT (-39.831014 -2.661304)'))) / (select extract(epoch from '2026-07-21 12:15:56'::timestamp) - extract(epoch from '2026-07-21 12:15:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.831107 -2.661121)', '2026-07-21 12:16:03', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831014 -2.661304)'), GeomFromEWKT('SRID=4674;POINT (-39.831107 -2.661121)'))) / (select extract(epoch from '2026-07-21 12:16:03'::timestamp) - extract(epoch from '2026-07-21 12:15:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831014 -2.661304)'), GeomFromEWKT('SRID=4674;POINT (-39.831107 -2.661121)'))) / (select extract(epoch from '2026-07-21 12:16:03'::timestamp) - extract(epoch from '2026-07-21 12:15:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.831183 -2.660966)', '2026-07-21 12:16:09', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831107 -2.661121)'), GeomFromEWKT('SRID=4674;POINT (-39.831183 -2.660966)'))) / (select extract(epoch from '2026-07-21 12:16:09'::timestamp) - extract(epoch from '2026-07-21 12:16:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831107 -2.661121)'), GeomFromEWKT('SRID=4674;POINT (-39.831183 -2.660966)'))) / (select extract(epoch from '2026-07-21 12:16:09'::timestamp) - extract(epoch from '2026-07-21 12:16:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.831251 -2.660797)', '2026-07-21 12:16:15', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831183 -2.660966)'), GeomFromEWKT('SRID=4674;POINT (-39.831251 -2.660797)'))) / (select extract(epoch from '2026-07-21 12:16:15'::timestamp) - extract(epoch from '2026-07-21 12:16:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831183 -2.660966)'), GeomFromEWKT('SRID=4674;POINT (-39.831251 -2.660797)'))) / (select extract(epoch from '2026-07-21 12:16:15'::timestamp) - extract(epoch from '2026-07-21 12:16: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.831301 -2.660629)', '2026-07-21 12:16:21', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831251 -2.660797)'), GeomFromEWKT('SRID=4674;POINT (-39.831301 -2.660629)'))) / (select extract(epoch from '2026-07-21 12:16:21'::timestamp) - extract(epoch from '2026-07-21 12:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831251 -2.660797)'), GeomFromEWKT('SRID=4674;POINT (-39.831301 -2.660629)'))) / (select extract(epoch from '2026-07-21 12:16:21'::timestamp) - extract(epoch from '2026-07-21 12:16:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.831335 -2.660489)', '2026-07-21 12:16:26', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831301 -2.660629)'), GeomFromEWKT('SRID=4674;POINT (-39.831335 -2.660489)'))) / (select extract(epoch from '2026-07-21 12:16:26'::timestamp) - extract(epoch from '2026-07-21 12:16:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831301 -2.660629)'), GeomFromEWKT('SRID=4674;POINT (-39.831335 -2.660489)'))) / (select extract(epoch from '2026-07-21 12:16:26'::timestamp) - extract(epoch from '2026-07-21 12:16: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.831357 -2.660343)', '2026-07-21 12:16:31', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831335 -2.660489)'), GeomFromEWKT('SRID=4674;POINT (-39.831357 -2.660343)'))) / (select extract(epoch from '2026-07-21 12:16:31'::timestamp) - extract(epoch from '2026-07-21 12:16:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831335 -2.660489)'), GeomFromEWKT('SRID=4674;POINT (-39.831357 -2.660343)'))) / (select extract(epoch from '2026-07-21 12:16:31'::timestamp) - extract(epoch from '2026-07-21 12:16:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.831397 -2.660144)', '2026-07-21 12:16:38', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831357 -2.660343)'), GeomFromEWKT('SRID=4674;POINT (-39.831397 -2.660144)'))) / (select extract(epoch from '2026-07-21 12:16:38'::timestamp) - extract(epoch from '2026-07-21 12:16:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831357 -2.660343)'), GeomFromEWKT('SRID=4674;POINT (-39.831397 -2.660144)'))) / (select extract(epoch from '2026-07-21 12:16:38'::timestamp) - extract(epoch from '2026-07-21 12:16:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.831443 -2.660009)', '2026-07-21 12:16:43', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831397 -2.660144)'), GeomFromEWKT('SRID=4674;POINT (-39.831443 -2.660009)'))) / (select extract(epoch from '2026-07-21 12:16:43'::timestamp) - extract(epoch from '2026-07-21 12:16:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831397 -2.660144)'), GeomFromEWKT('SRID=4674;POINT (-39.831443 -2.660009)'))) / (select extract(epoch from '2026-07-21 12:16:43'::timestamp) - extract(epoch from '2026-07-21 12:16: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.831495 -2.659873)', '2026-07-21 12:16:48', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831443 -2.660009)'), GeomFromEWKT('SRID=4674;POINT (-39.831495 -2.659873)'))) / (select extract(epoch from '2026-07-21 12:16:48'::timestamp) - extract(epoch from '2026-07-21 12:16:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831443 -2.660009)'), GeomFromEWKT('SRID=4674;POINT (-39.831495 -2.659873)'))) / (select extract(epoch from '2026-07-21 12:16:48'::timestamp) - extract(epoch from '2026-07-21 12:16: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.831553 -2.659737)', '2026-07-21 12:16:53', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831495 -2.659873)'), GeomFromEWKT('SRID=4674;POINT (-39.831553 -2.659737)'))) / (select extract(epoch from '2026-07-21 12:16:53'::timestamp) - extract(epoch from '2026-07-21 12:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831495 -2.659873)'), GeomFromEWKT('SRID=4674;POINT (-39.831553 -2.659737)'))) / (select extract(epoch from '2026-07-21 12:16:53'::timestamp) - extract(epoch from '2026-07-21 12:16:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.831646 -2.659522)', '2026-07-21 12:17:01', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831553 -2.659737)'), GeomFromEWKT('SRID=4674;POINT (-39.831646 -2.659522)'))) / (select extract(epoch from '2026-07-21 12:17:01'::timestamp) - extract(epoch from '2026-07-21 12:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831553 -2.659737)'), GeomFromEWKT('SRID=4674;POINT (-39.831646 -2.659522)'))) / (select extract(epoch from '2026-07-21 12:17:01'::timestamp) - extract(epoch from '2026-07-21 12:16: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.831709 -2.659325)', '2026-07-21 12:17:08', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831646 -2.659522)'), GeomFromEWKT('SRID=4674;POINT (-39.831709 -2.659325)'))) / (select extract(epoch from '2026-07-21 12:17:08'::timestamp) - extract(epoch from '2026-07-21 12:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831646 -2.659522)'), GeomFromEWKT('SRID=4674;POINT (-39.831709 -2.659325)'))) / (select extract(epoch from '2026-07-21 12:17:08'::timestamp) - extract(epoch from '2026-07-21 12:17:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.83176 -2.659154)', '2026-07-21 12:17:14', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831709 -2.659325)'), GeomFromEWKT('SRID=4674;POINT (-39.83176 -2.659154)'))) / (select extract(epoch from '2026-07-21 12:17:14'::timestamp) - extract(epoch from '2026-07-21 12:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831709 -2.659325)'), GeomFromEWKT('SRID=4674;POINT (-39.83176 -2.659154)'))) / (select extract(epoch from '2026-07-21 12:17:14'::timestamp) - extract(epoch from '2026-07-21 12:17:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.831812 -2.65899)', '2026-07-21 12:17:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83176 -2.659154)'), GeomFromEWKT('SRID=4674;POINT (-39.831812 -2.65899)'))) / (select extract(epoch from '2026-07-21 12:17:20'::timestamp) - extract(epoch from '2026-07-21 12:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83176 -2.659154)'), GeomFromEWKT('SRID=4674;POINT (-39.831812 -2.65899)'))) / (select extract(epoch from '2026-07-21 12:17:20'::timestamp) - extract(epoch from '2026-07-21 12:17: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.831867 -2.658852)', '2026-07-21 12:17:25', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831812 -2.65899)'), GeomFromEWKT('SRID=4674;POINT (-39.831867 -2.658852)'))) / (select extract(epoch from '2026-07-21 12:17:25'::timestamp) - extract(epoch from '2026-07-21 12:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831812 -2.65899)'), GeomFromEWKT('SRID=4674;POINT (-39.831867 -2.658852)'))) / (select extract(epoch from '2026-07-21 12:17:25'::timestamp) - extract(epoch from '2026-07-21 12:17:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.831925 -2.658708)', '2026-07-21 12:17:30', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831867 -2.658852)'), GeomFromEWKT('SRID=4674;POINT (-39.831925 -2.658708)'))) / (select extract(epoch from '2026-07-21 12:17:30'::timestamp) - extract(epoch from '2026-07-21 12:17:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831867 -2.658852)'), GeomFromEWKT('SRID=4674;POINT (-39.831925 -2.658708)'))) / (select extract(epoch from '2026-07-21 12:17:30'::timestamp) - extract(epoch from '2026-07-21 12:17: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.831972 -2.65854)', '2026-07-21 12:17:36', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831925 -2.658708)'), GeomFromEWKT('SRID=4674;POINT (-39.831972 -2.65854)'))) / (select extract(epoch from '2026-07-21 12:17:36'::timestamp) - extract(epoch from '2026-07-21 12:17:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831925 -2.658708)'), GeomFromEWKT('SRID=4674;POINT (-39.831972 -2.65854)'))) / (select extract(epoch from '2026-07-21 12:17:36'::timestamp) - extract(epoch from '2026-07-21 12:17:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.831999 -2.658435)', '2026-07-21 12:17:40', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831972 -2.65854)'), GeomFromEWKT('SRID=4674;POINT (-39.831999 -2.658435)'))) / (select extract(epoch from '2026-07-21 12:17:40'::timestamp) - extract(epoch from '2026-07-21 12:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831972 -2.65854)'), GeomFromEWKT('SRID=4674;POINT (-39.831999 -2.658435)'))) / (select extract(epoch from '2026-07-21 12:17:40'::timestamp) - extract(epoch from '2026-07-21 12:17: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.832048 -2.658291)', '2026-07-21 12:17:45', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831999 -2.658435)'), GeomFromEWKT('SRID=4674;POINT (-39.832048 -2.658291)'))) / (select extract(epoch from '2026-07-21 12:17:45'::timestamp) - extract(epoch from '2026-07-21 12:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831999 -2.658435)'), GeomFromEWKT('SRID=4674;POINT (-39.832048 -2.658291)'))) / (select extract(epoch from '2026-07-21 12:17:45'::timestamp) - extract(epoch from '2026-07-21 12:17:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.832107 -2.658158)', '2026-07-21 12:17:50', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832048 -2.658291)'), GeomFromEWKT('SRID=4674;POINT (-39.832107 -2.658158)'))) / (select extract(epoch from '2026-07-21 12:17:50'::timestamp) - extract(epoch from '2026-07-21 12:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832048 -2.658291)'), GeomFromEWKT('SRID=4674;POINT (-39.832107 -2.658158)'))) / (select extract(epoch from '2026-07-21 12:17:50'::timestamp) - extract(epoch from '2026-07-21 12:17:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.832206 -2.657976)', '2026-07-21 12:17:57', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832107 -2.658158)'), GeomFromEWKT('SRID=4674;POINT (-39.832206 -2.657976)'))) / (select extract(epoch from '2026-07-21 12:17:57'::timestamp) - extract(epoch from '2026-07-21 12:17:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832107 -2.658158)'), GeomFromEWKT('SRID=4674;POINT (-39.832206 -2.657976)'))) / (select extract(epoch from '2026-07-21 12:17:57'::timestamp) - extract(epoch from '2026-07-21 12:17:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.832336 -2.657813)', '2026-07-21 12:18:04', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832206 -2.657976)'), GeomFromEWKT('SRID=4674;POINT (-39.832336 -2.657813)'))) / (select extract(epoch from '2026-07-21 12:18:04'::timestamp) - extract(epoch from '2026-07-21 12:17:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832206 -2.657976)'), GeomFromEWKT('SRID=4674;POINT (-39.832336 -2.657813)'))) / (select extract(epoch from '2026-07-21 12:18:04'::timestamp) - extract(epoch from '2026-07-21 12:17: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.832498 -2.657626)', '2026-07-21 12:18:12', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832336 -2.657813)'), GeomFromEWKT('SRID=4674;POINT (-39.832498 -2.657626)'))) / (select extract(epoch from '2026-07-21 12:18:12'::timestamp) - extract(epoch from '2026-07-21 12:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832336 -2.657813)'), GeomFromEWKT('SRID=4674;POINT (-39.832498 -2.657626)'))) / (select extract(epoch from '2026-07-21 12:18:12'::timestamp) - extract(epoch from '2026-07-21 12:18:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.832644 -2.657474)', '2026-07-21 12:18:19', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832498 -2.657626)'), GeomFromEWKT('SRID=4674;POINT (-39.832644 -2.657474)'))) / (select extract(epoch from '2026-07-21 12:18:19'::timestamp) - extract(epoch from '2026-07-21 12:18:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832498 -2.657626)'), GeomFromEWKT('SRID=4674;POINT (-39.832644 -2.657474)'))) / (select extract(epoch from '2026-07-21 12:18:19'::timestamp) - extract(epoch from '2026-07-21 12:18: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.832775 -2.657345)', '2026-07-21 12:18:25', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832644 -2.657474)'), GeomFromEWKT('SRID=4674;POINT (-39.832775 -2.657345)'))) / (select extract(epoch from '2026-07-21 12:18:25'::timestamp) - extract(epoch from '2026-07-21 12:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832644 -2.657474)'), GeomFromEWKT('SRID=4674;POINT (-39.832775 -2.657345)'))) / (select extract(epoch from '2026-07-21 12:18:25'::timestamp) - extract(epoch from '2026-07-21 12:18: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.832924 -2.657201)', '2026-07-21 12:18:32', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832775 -2.657345)'), GeomFromEWKT('SRID=4674;POINT (-39.832924 -2.657201)'))) / (select extract(epoch from '2026-07-21 12:18:32'::timestamp) - extract(epoch from '2026-07-21 12:18:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832775 -2.657345)'), GeomFromEWKT('SRID=4674;POINT (-39.832924 -2.657201)'))) / (select extract(epoch from '2026-07-21 12:18:32'::timestamp) - extract(epoch from '2026-07-21 12:18:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.833052 -2.657039)', '2026-07-21 12:18:39', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832924 -2.657201)'), GeomFromEWKT('SRID=4674;POINT (-39.833052 -2.657039)'))) / (select extract(epoch from '2026-07-21 12:18:39'::timestamp) - extract(epoch from '2026-07-21 12:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832924 -2.657201)'), GeomFromEWKT('SRID=4674;POINT (-39.833052 -2.657039)'))) / (select extract(epoch from '2026-07-21 12:18:39'::timestamp) - extract(epoch from '2026-07-21 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.833139 -2.656901)', '2026-07-21 12:18:44', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.833052 -2.657039)'), GeomFromEWKT('SRID=4674;POINT (-39.833139 -2.656901)'))) / (select extract(epoch from '2026-07-21 12:18:44'::timestamp) - extract(epoch from '2026-07-21 12:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.833052 -2.657039)'), GeomFromEWKT('SRID=4674;POINT (-39.833139 -2.656901)'))) / (select extract(epoch from '2026-07-21 12:18:44'::timestamp) - extract(epoch from '2026-07-21 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.833203 -2.656769)', '2026-07-21 12:18:49', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.833139 -2.656901)'), GeomFromEWKT('SRID=4674;POINT (-39.833203 -2.656769)'))) / (select extract(epoch from '2026-07-21 12:18:49'::timestamp) - extract(epoch from '2026-07-21 12:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.833139 -2.656901)'), GeomFromEWKT('SRID=4674;POINT (-39.833203 -2.656769)'))) / (select extract(epoch from '2026-07-21 12:18:49'::timestamp) - extract(epoch from '2026-07-21 12:18: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.833273 -2.656604)', '2026-07-21 12:18:55', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.833203 -2.656769)'), GeomFromEWKT('SRID=4674;POINT (-39.833273 -2.656604)'))) / (select extract(epoch from '2026-07-21 12:18:55'::timestamp) - extract(epoch from '2026-07-21 12:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.833203 -2.656769)'), GeomFromEWKT('SRID=4674;POINT (-39.833273 -2.656604)'))) / (select extract(epoch from '2026-07-21 12:18:55'::timestamp) - extract(epoch from '2026-07-21 12:18: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.83335 -2.656442)', '2026-07-21 12:19:01', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.833273 -2.656604)'), GeomFromEWKT('SRID=4674;POINT (-39.83335 -2.656442)'))) / (select extract(epoch from '2026-07-21 12:19:01'::timestamp) - extract(epoch from '2026-07-21 12:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.833273 -2.656604)'), GeomFromEWKT('SRID=4674;POINT (-39.83335 -2.656442)'))) / (select extract(epoch from '2026-07-21 12:19:01'::timestamp) - extract(epoch from '2026-07-21 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.833415 -2.6563)', '2026-07-21 12:19:06', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83335 -2.656442)'), GeomFromEWKT('SRID=4674;POINT (-39.833415 -2.6563)'))) / (select extract(epoch from '2026-07-21 12:19:06'::timestamp) - extract(epoch from '2026-07-21 12:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83335 -2.656442)'), GeomFromEWKT('SRID=4674;POINT (-39.833415 -2.6563)'))) / (select extract(epoch from '2026-07-21 12:19:06'::timestamp) - extract(epoch from '2026-07-21 12:19:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.833467 -2.656152)', '2026-07-21 12:19:11', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.833415 -2.6563)'), GeomFromEWKT('SRID=4674;POINT (-39.833467 -2.656152)'))) / (select extract(epoch from '2026-07-21 12:19:11'::timestamp) - extract(epoch from '2026-07-21 12:19:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.833415 -2.6563)'), GeomFromEWKT('SRID=4674;POINT (-39.833467 -2.656152)'))) / (select extract(epoch from '2026-07-21 12:19:11'::timestamp) - extract(epoch from '2026-07-21 12:19:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.833522 -2.65599)', '2026-07-21 12:19:17', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.833467 -2.656152)'), GeomFromEWKT('SRID=4674;POINT (-39.833522 -2.65599)'))) / (select extract(epoch from '2026-07-21 12:19:17'::timestamp) - extract(epoch from '2026-07-21 12:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.833467 -2.656152)'), GeomFromEWKT('SRID=4674;POINT (-39.833522 -2.65599)'))) / (select extract(epoch from '2026-07-21 12:19:17'::timestamp) - extract(epoch from '2026-07-21 12:19:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.833607 -2.655731)', '2026-07-21 12:19:26', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.833522 -2.65599)'), GeomFromEWKT('SRID=4674;POINT (-39.833607 -2.655731)'))) / (select extract(epoch from '2026-07-21 12:19:26'::timestamp) - extract(epoch from '2026-07-21 12:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.833522 -2.65599)'), GeomFromEWKT('SRID=4674;POINT (-39.833607 -2.655731)'))) / (select extract(epoch from '2026-07-21 12:19:26'::timestamp) - extract(epoch from '2026-07-21 12:19:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.833628 -2.655616)', '2026-07-21 12:19:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.833607 -2.655731)'), GeomFromEWKT('SRID=4674;POINT (-39.833628 -2.655616)'))) / (select extract(epoch from '2026-07-21 12:19:30'::timestamp) - extract(epoch from '2026-07-21 12:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.833607 -2.655731)'), GeomFromEWKT('SRID=4674;POINT (-39.833628 -2.655616)'))) / (select extract(epoch from '2026-07-21 12:19:30'::timestamp) - extract(epoch from '2026-07-21 12:19:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.83366 -2.655467)', '2026-07-21 12:19:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.833628 -2.655616)'), GeomFromEWKT('SRID=4674;POINT (-39.83366 -2.655467)'))) / (select extract(epoch from '2026-07-21 12:19:35'::timestamp) - extract(epoch from '2026-07-21 12:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.833628 -2.655616)'), GeomFromEWKT('SRID=4674;POINT (-39.83366 -2.655467)'))) / (select extract(epoch from '2026-07-21 12:19:35'::timestamp) - extract(epoch from '2026-07-21 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.833694 -2.65533)', '2026-07-21 12:19:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83366 -2.655467)'), GeomFromEWKT('SRID=4674;POINT (-39.833694 -2.65533)'))) / (select extract(epoch from '2026-07-21 12:19:40'::timestamp) - extract(epoch from '2026-07-21 12:19:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83366 -2.655467)'), GeomFromEWKT('SRID=4674;POINT (-39.833694 -2.65533)'))) / (select extract(epoch from '2026-07-21 12:19:40'::timestamp) - extract(epoch from '2026-07-21 12:19: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.833744 -2.65513)', '2026-07-21 12:19:47', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.833694 -2.65533)'), GeomFromEWKT('SRID=4674;POINT (-39.833744 -2.65513)'))) / (select extract(epoch from '2026-07-21 12:19:47'::timestamp) - extract(epoch from '2026-07-21 12:19:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.833694 -2.65533)'), GeomFromEWKT('SRID=4674;POINT (-39.833744 -2.65513)'))) / (select extract(epoch from '2026-07-21 12:19:47'::timestamp) - extract(epoch from '2026-07-21 12:19:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.833787 -2.654986)', '2026-07-21 12:19:52', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.833744 -2.65513)'), GeomFromEWKT('SRID=4674;POINT (-39.833787 -2.654986)'))) / (select extract(epoch from '2026-07-21 12:19:52'::timestamp) - extract(epoch from '2026-07-21 12:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.833744 -2.65513)'), GeomFromEWKT('SRID=4674;POINT (-39.833787 -2.654986)'))) / (select extract(epoch from '2026-07-21 12:19:52'::timestamp) - extract(epoch from '2026-07-21 12:19: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.833864 -2.654822)', '2026-07-21 12:19:58', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.833787 -2.654986)'), GeomFromEWKT('SRID=4674;POINT (-39.833864 -2.654822)'))) / (select extract(epoch from '2026-07-21 12:19:58'::timestamp) - extract(epoch from '2026-07-21 12:19:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.833787 -2.654986)'), GeomFromEWKT('SRID=4674;POINT (-39.833864 -2.654822)'))) / (select extract(epoch from '2026-07-21 12:19:58'::timestamp) - extract(epoch from '2026-07-21 12:19:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.833953 -2.654658)', '2026-07-21 12:20:04', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.833864 -2.654822)'), GeomFromEWKT('SRID=4674;POINT (-39.833953 -2.654658)'))) / (select extract(epoch from '2026-07-21 12:20:04'::timestamp) - extract(epoch from '2026-07-21 12:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.833864 -2.654822)'), GeomFromEWKT('SRID=4674;POINT (-39.833953 -2.654658)'))) / (select extract(epoch from '2026-07-21 12:20:04'::timestamp) - extract(epoch from '2026-07-21 12:19:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.834039 -2.654474)', '2026-07-21 12:20:11', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.833953 -2.654658)'), GeomFromEWKT('SRID=4674;POINT (-39.834039 -2.654474)'))) / (select extract(epoch from '2026-07-21 12:20:11'::timestamp) - extract(epoch from '2026-07-21 12:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.833953 -2.654658)'), GeomFromEWKT('SRID=4674;POINT (-39.834039 -2.654474)'))) / (select extract(epoch from '2026-07-21 12:20:11'::timestamp) - extract(epoch from '2026-07-21 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.834117 -2.654286)', '2026-07-21 12:20:18', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.834039 -2.654474)'), GeomFromEWKT('SRID=4674;POINT (-39.834117 -2.654286)'))) / (select extract(epoch from '2026-07-21 12:20:18'::timestamp) - extract(epoch from '2026-07-21 12:20:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.834039 -2.654474)'), GeomFromEWKT('SRID=4674;POINT (-39.834117 -2.654286)'))) / (select extract(epoch from '2026-07-21 12:20:18'::timestamp) - extract(epoch from '2026-07-21 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.834159 -2.654179)', '2026-07-21 12:20:22', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.834117 -2.654286)'), GeomFromEWKT('SRID=4674;POINT (-39.834159 -2.654179)'))) / (select extract(epoch from '2026-07-21 12:20:22'::timestamp) - extract(epoch from '2026-07-21 12:20:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.834117 -2.654286)'), GeomFromEWKT('SRID=4674;POINT (-39.834159 -2.654179)'))) / (select extract(epoch from '2026-07-21 12:20:22'::timestamp) - extract(epoch from '2026-07-21 12:20:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.834218 -2.653972)', '2026-07-21 12:20:29', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.834159 -2.654179)'), GeomFromEWKT('SRID=4674;POINT (-39.834218 -2.653972)'))) / (select extract(epoch from '2026-07-21 12:20:29'::timestamp) - extract(epoch from '2026-07-21 12:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.834159 -2.654179)'), GeomFromEWKT('SRID=4674;POINT (-39.834218 -2.653972)'))) / (select extract(epoch from '2026-07-21 12:20:29'::timestamp) - extract(epoch from '2026-07-21 12:20: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.834251 -2.653797)', '2026-07-21 12:20:35', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.834218 -2.653972)'), GeomFromEWKT('SRID=4674;POINT (-39.834251 -2.653797)'))) / (select extract(epoch from '2026-07-21 12:20:35'::timestamp) - extract(epoch from '2026-07-21 12:20:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.834218 -2.653972)'), GeomFromEWKT('SRID=4674;POINT (-39.834251 -2.653797)'))) / (select extract(epoch from '2026-07-21 12:20:35'::timestamp) - extract(epoch from '2026-07-21 12:20: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.834306 -2.653631)', '2026-07-21 12:20:41', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.834251 -2.653797)'), GeomFromEWKT('SRID=4674;POINT (-39.834306 -2.653631)'))) / (select extract(epoch from '2026-07-21 12:20:41'::timestamp) - extract(epoch from '2026-07-21 12:20:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.834251 -2.653797)'), GeomFromEWKT('SRID=4674;POINT (-39.834306 -2.653631)'))) / (select extract(epoch from '2026-07-21 12:20:41'::timestamp) - extract(epoch from '2026-07-21 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.834357 -2.653492)', '2026-07-21 12:20:46', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.834306 -2.653631)'), GeomFromEWKT('SRID=4674;POINT (-39.834357 -2.653492)'))) / (select extract(epoch from '2026-07-21 12:20:46'::timestamp) - extract(epoch from '2026-07-21 12:20:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.834306 -2.653631)'), GeomFromEWKT('SRID=4674;POINT (-39.834357 -2.653492)'))) / (select extract(epoch from '2026-07-21 12:20:46'::timestamp) - extract(epoch from '2026-07-21 12:20:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.834419 -2.653366)', '2026-07-21 12:20:51', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.834357 -2.653492)'), GeomFromEWKT('SRID=4674;POINT (-39.834419 -2.653366)'))) / (select extract(epoch from '2026-07-21 12:20:51'::timestamp) - extract(epoch from '2026-07-21 12:20:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.834357 -2.653492)'), GeomFromEWKT('SRID=4674;POINT (-39.834419 -2.653366)'))) / (select extract(epoch from '2026-07-21 12:20:51'::timestamp) - extract(epoch from '2026-07-21 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.834487 -2.653232)', '2026-07-21 12:20:56', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.834419 -2.653366)'), GeomFromEWKT('SRID=4674;POINT (-39.834487 -2.653232)'))) / (select extract(epoch from '2026-07-21 12:20:56'::timestamp) - extract(epoch from '2026-07-21 12:20:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.834419 -2.653366)'), GeomFromEWKT('SRID=4674;POINT (-39.834487 -2.653232)'))) / (select extract(epoch from '2026-07-21 12:20:56'::timestamp) - extract(epoch from '2026-07-21 12:20:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.834572 -2.65307)', '2026-07-21 12:21:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.834487 -2.653232)'), GeomFromEWKT('SRID=4674;POINT (-39.834572 -2.65307)'))) / (select extract(epoch from '2026-07-21 12:21:02'::timestamp) - extract(epoch from '2026-07-21 12:20:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.834487 -2.653232)'), GeomFromEWKT('SRID=4674;POINT (-39.834572 -2.65307)'))) / (select extract(epoch from '2026-07-21 12:21:02'::timestamp) - extract(epoch from '2026-07-21 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.834655 -2.652876)', '2026-07-21 12:21:09', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.834572 -2.65307)'), GeomFromEWKT('SRID=4674;POINT (-39.834655 -2.652876)'))) / (select extract(epoch from '2026-07-21 12:21:09'::timestamp) - extract(epoch from '2026-07-21 12:21:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.834572 -2.65307)'), GeomFromEWKT('SRID=4674;POINT (-39.834655 -2.652876)'))) / (select extract(epoch from '2026-07-21 12:21:09'::timestamp) - extract(epoch from '2026-07-21 12:21: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.834702 -2.652736)', '2026-07-21 12:21:14', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.834655 -2.652876)'), GeomFromEWKT('SRID=4674;POINT (-39.834702 -2.652736)'))) / (select extract(epoch from '2026-07-21 12:21:14'::timestamp) - extract(epoch from '2026-07-21 12:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.834655 -2.652876)'), GeomFromEWKT('SRID=4674;POINT (-39.834702 -2.652736)'))) / (select extract(epoch from '2026-07-21 12:21:14'::timestamp) - extract(epoch from '2026-07-21 12:21:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.834757 -2.652568)', '2026-07-21 12:21:20', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.834702 -2.652736)'), GeomFromEWKT('SRID=4674;POINT (-39.834757 -2.652568)'))) / (select extract(epoch from '2026-07-21 12:21:20'::timestamp) - extract(epoch from '2026-07-21 12:21:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.834702 -2.652736)'), GeomFromEWKT('SRID=4674;POINT (-39.834757 -2.652568)'))) / (select extract(epoch from '2026-07-21 12:21:20'::timestamp) - extract(epoch from '2026-07-21 12:21:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.834794 -2.652421)', '2026-07-21 12:21:25', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.834757 -2.652568)'), GeomFromEWKT('SRID=4674;POINT (-39.834794 -2.652421)'))) / (select extract(epoch from '2026-07-21 12:21:25'::timestamp) - extract(epoch from '2026-07-21 12:21:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.834757 -2.652568)'), GeomFromEWKT('SRID=4674;POINT (-39.834794 -2.652421)'))) / (select extract(epoch from '2026-07-21 12:21:25'::timestamp) - extract(epoch from '2026-07-21 12:21:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.834831 -2.652277)', '2026-07-21 12:21:30', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.834794 -2.652421)'), GeomFromEWKT('SRID=4674;POINT (-39.834831 -2.652277)'))) / (select extract(epoch from '2026-07-21 12:21:30'::timestamp) - extract(epoch from '2026-07-21 12:21:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.834794 -2.652421)'), GeomFromEWKT('SRID=4674;POINT (-39.834831 -2.652277)'))) / (select extract(epoch from '2026-07-21 12:21:30'::timestamp) - extract(epoch from '2026-07-21 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.834858 -2.652165)', '2026-07-21 12:21:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.834831 -2.652277)'), GeomFromEWKT('SRID=4674;POINT (-39.834858 -2.652165)'))) / (select extract(epoch from '2026-07-21 12:21:34'::timestamp) - extract(epoch from '2026-07-21 12:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.834831 -2.652277)'), GeomFromEWKT('SRID=4674;POINT (-39.834858 -2.652165)'))) / (select extract(epoch from '2026-07-21 12:21:34'::timestamp) - extract(epoch from '2026-07-21 12:21: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.834924 -2.652002)', '2026-07-21 12:21:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.834858 -2.652165)'), GeomFromEWKT('SRID=4674;POINT (-39.834924 -2.652002)'))) / (select extract(epoch from '2026-07-21 12:21:40'::timestamp) - extract(epoch from '2026-07-21 12:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.834858 -2.652165)'), GeomFromEWKT('SRID=4674;POINT (-39.834924 -2.652002)'))) / (select extract(epoch from '2026-07-21 12:21:40'::timestamp) - extract(epoch from '2026-07-21 12:21: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.835037 -2.651826)', '2026-07-21 12:21:47', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.834924 -2.652002)'), GeomFromEWKT('SRID=4674;POINT (-39.835037 -2.651826)'))) / (select extract(epoch from '2026-07-21 12:21:47'::timestamp) - extract(epoch from '2026-07-21 12:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.834924 -2.652002)'), GeomFromEWKT('SRID=4674;POINT (-39.835037 -2.651826)'))) / (select extract(epoch from '2026-07-21 12:21:47'::timestamp) - extract(epoch from '2026-07-21 12:21: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.83514 -2.651709)', '2026-07-21 12:21:52', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.835037 -2.651826)'), GeomFromEWKT('SRID=4674;POINT (-39.83514 -2.651709)'))) / (select extract(epoch from '2026-07-21 12:21:52'::timestamp) - extract(epoch from '2026-07-21 12:21:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.835037 -2.651826)'), GeomFromEWKT('SRID=4674;POINT (-39.83514 -2.651709)'))) / (select extract(epoch from '2026-07-21 12:21:52'::timestamp) - extract(epoch from '2026-07-21 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.83531 -2.651529)', '2026-07-21 12:22:00', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83514 -2.651709)'), GeomFromEWKT('SRID=4674;POINT (-39.83531 -2.651529)'))) / (select extract(epoch from '2026-07-21 12:22:00'::timestamp) - extract(epoch from '2026-07-21 12:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83514 -2.651709)'), GeomFromEWKT('SRID=4674;POINT (-39.83531 -2.651529)'))) / (select extract(epoch from '2026-07-21 12:22:00'::timestamp) - extract(epoch from '2026-07-21 12:21:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.835474 -2.651336)', '2026-07-21 12:22:08', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83531 -2.651529)'), GeomFromEWKT('SRID=4674;POINT (-39.835474 -2.651336)'))) / (select extract(epoch from '2026-07-21 12:22:08'::timestamp) - extract(epoch from '2026-07-21 12:22:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83531 -2.651529)'), GeomFromEWKT('SRID=4674;POINT (-39.835474 -2.651336)'))) / (select extract(epoch from '2026-07-21 12:22:08'::timestamp) - extract(epoch from '2026-07-21 12:22: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.835583 -2.651192)', '2026-07-21 12:22:14', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.835474 -2.651336)'), GeomFromEWKT('SRID=4674;POINT (-39.835583 -2.651192)'))) / (select extract(epoch from '2026-07-21 12:22:14'::timestamp) - extract(epoch from '2026-07-21 12:22:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.835474 -2.651336)'), GeomFromEWKT('SRID=4674;POINT (-39.835583 -2.651192)'))) / (select extract(epoch from '2026-07-21 12:22:14'::timestamp) - extract(epoch from '2026-07-21 12:22:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.83571 -2.651022)', '2026-07-21 12:22:21', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.835583 -2.651192)'), GeomFromEWKT('SRID=4674;POINT (-39.83571 -2.651022)'))) / (select extract(epoch from '2026-07-21 12:22:21'::timestamp) - extract(epoch from '2026-07-21 12:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.835583 -2.651192)'), GeomFromEWKT('SRID=4674;POINT (-39.83571 -2.651022)'))) / (select extract(epoch from '2026-07-21 12:22:21'::timestamp) - extract(epoch from '2026-07-21 12:22:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.835793 -2.650895)', '2026-07-21 12:22:26', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83571 -2.651022)'), GeomFromEWKT('SRID=4674;POINT (-39.835793 -2.650895)'))) / (select extract(epoch from '2026-07-21 12:22:26'::timestamp) - extract(epoch from '2026-07-21 12:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83571 -2.651022)'), GeomFromEWKT('SRID=4674;POINT (-39.835793 -2.650895)'))) / (select extract(epoch from '2026-07-21 12:22:26'::timestamp) - extract(epoch from '2026-07-21 12:22: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.83587 -2.650738)', '2026-07-21 12:22:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.835793 -2.650895)'), GeomFromEWKT('SRID=4674;POINT (-39.83587 -2.650738)'))) / (select extract(epoch from '2026-07-21 12:22:32'::timestamp) - extract(epoch from '2026-07-21 12:22:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.835793 -2.650895)'), GeomFromEWKT('SRID=4674;POINT (-39.83587 -2.650738)'))) / (select extract(epoch from '2026-07-21 12:22:32'::timestamp) - extract(epoch from '2026-07-21 12:22:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.835962 -2.650546)', '2026-07-21 12:22:39', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83587 -2.650738)'), GeomFromEWKT('SRID=4674;POINT (-39.835962 -2.650546)'))) / (select extract(epoch from '2026-07-21 12:22:39'::timestamp) - extract(epoch from '2026-07-21 12:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83587 -2.650738)'), GeomFromEWKT('SRID=4674;POINT (-39.835962 -2.650546)'))) / (select extract(epoch from '2026-07-21 12:22:39'::timestamp) - extract(epoch from '2026-07-21 12:22: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.836048 -2.650391)', '2026-07-21 12:22:45', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.835962 -2.650546)'), GeomFromEWKT('SRID=4674;POINT (-39.836048 -2.650391)'))) / (select extract(epoch from '2026-07-21 12:22:45'::timestamp) - extract(epoch from '2026-07-21 12:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.835962 -2.650546)'), GeomFromEWKT('SRID=4674;POINT (-39.836048 -2.650391)'))) / (select extract(epoch from '2026-07-21 12:22:45'::timestamp) - extract(epoch from '2026-07-21 12:22: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.836132 -2.650236)', '2026-07-21 12:22:52', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836048 -2.650391)'), GeomFromEWKT('SRID=4674;POINT (-39.836132 -2.650236)'))) / (select extract(epoch from '2026-07-21 12:22:52'::timestamp) - extract(epoch from '2026-07-21 12:22:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836048 -2.650391)'), GeomFromEWKT('SRID=4674;POINT (-39.836132 -2.650236)'))) / (select extract(epoch from '2026-07-21 12:22:52'::timestamp) - extract(epoch from '2026-07-21 12:22:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836188 -2.6501)', '2026-07-21 12:22:59', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836132 -2.650236)'), GeomFromEWKT('SRID=4674;POINT (-39.836188 -2.6501)'))) / (select extract(epoch from '2026-07-21 12:22:59'::timestamp) - extract(epoch from '2026-07-21 12:22:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836132 -2.650236)'), GeomFromEWKT('SRID=4674;POINT (-39.836188 -2.6501)'))) / (select extract(epoch from '2026-07-21 12:22:59'::timestamp) - extract(epoch from '2026-07-21 12:22:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836202 -2.650055)', '2026-07-21 12:23:02', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836188 -2.6501)'), GeomFromEWKT('SRID=4674;POINT (-39.836202 -2.650055)'))) / (select extract(epoch from '2026-07-21 12:23:02'::timestamp) - extract(epoch from '2026-07-21 12:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836188 -2.6501)'), GeomFromEWKT('SRID=4674;POINT (-39.836202 -2.650055)'))) / (select extract(epoch from '2026-07-21 12:23:02'::timestamp) - extract(epoch from '2026-07-21 12:22:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836205 -2.650041)', '2026-07-21 12:23:03', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836202 -2.650055)'), GeomFromEWKT('SRID=4674;POINT (-39.836205 -2.650041)'))) / (select extract(epoch from '2026-07-21 12:23:03'::timestamp) - extract(epoch from '2026-07-21 12:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836202 -2.650055)'), GeomFromEWKT('SRID=4674;POINT (-39.836205 -2.650041)'))) / (select extract(epoch from '2026-07-21 12:23:03'::timestamp) - extract(epoch from '2026-07-21 12:23:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836199 -2.649972)', '2026-07-21 12:23:09', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836205 -2.650041)'), GeomFromEWKT('SRID=4674;POINT (-39.836199 -2.649972)'))) / (select extract(epoch from '2026-07-21 12:23:09'::timestamp) - extract(epoch from '2026-07-21 12:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836205 -2.650041)'), GeomFromEWKT('SRID=4674;POINT (-39.836199 -2.649972)'))) / (select extract(epoch from '2026-07-21 12:23:09'::timestamp) - extract(epoch from '2026-07-21 12:23: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.836203 -2.649952)', '2026-07-21 12:23:12', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836199 -2.649972)'), GeomFromEWKT('SRID=4674;POINT (-39.836203 -2.649952)'))) / (select extract(epoch from '2026-07-21 12:23:12'::timestamp) - extract(epoch from '2026-07-21 12:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836199 -2.649972)'), GeomFromEWKT('SRID=4674;POINT (-39.836203 -2.649952)'))) / (select extract(epoch from '2026-07-21 12:23:12'::timestamp) - extract(epoch from '2026-07-21 12:23: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.836199 -2.649936)', '2026-07-21 12:23:14', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836203 -2.649952)'), GeomFromEWKT('SRID=4674;POINT (-39.836199 -2.649936)'))) / (select extract(epoch from '2026-07-21 12:23:14'::timestamp) - extract(epoch from '2026-07-21 12:23:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836203 -2.649952)'), GeomFromEWKT('SRID=4674;POINT (-39.836199 -2.649936)'))) / (select extract(epoch from '2026-07-21 12:23:14'::timestamp) - extract(epoch from '2026-07-21 12:23:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836199 -2.649929)', '2026-07-21 12:23:15', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836199 -2.649936)'), GeomFromEWKT('SRID=4674;POINT (-39.836199 -2.649929)'))) / (select extract(epoch from '2026-07-21 12:23:15'::timestamp) - extract(epoch from '2026-07-21 12:23:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836199 -2.649936)'), GeomFromEWKT('SRID=4674;POINT (-39.836199 -2.649929)'))) / (select extract(epoch from '2026-07-21 12:23:15'::timestamp) - extract(epoch from '2026-07-21 12:23:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836198 -2.649896)', '2026-07-21 12:23:22', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836199 -2.649929)'), GeomFromEWKT('SRID=4674;POINT (-39.836198 -2.649896)'))) / (select extract(epoch from '2026-07-21 12:23:22'::timestamp) - extract(epoch from '2026-07-21 12:23:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836199 -2.649929)'), GeomFromEWKT('SRID=4674;POINT (-39.836198 -2.649896)'))) / (select extract(epoch from '2026-07-21 12:23:22'::timestamp) - extract(epoch from '2026-07-21 12:23: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.836201 -2.649876)', '2026-07-21 12:23:25', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836198 -2.649896)'), GeomFromEWKT('SRID=4674;POINT (-39.836201 -2.649876)'))) / (select extract(epoch from '2026-07-21 12:23:25'::timestamp) - extract(epoch from '2026-07-21 12:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836198 -2.649896)'), GeomFromEWKT('SRID=4674;POINT (-39.836201 -2.649876)'))) / (select extract(epoch from '2026-07-21 12:23:25'::timestamp) - extract(epoch from '2026-07-21 12:23: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.83621 -2.649862)', '2026-07-21 12:23:27', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836201 -2.649876)'), GeomFromEWKT('SRID=4674;POINT (-39.83621 -2.649862)'))) / (select extract(epoch from '2026-07-21 12:23:27'::timestamp) - extract(epoch from '2026-07-21 12:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836201 -2.649876)'), GeomFromEWKT('SRID=4674;POINT (-39.83621 -2.649862)'))) / (select extract(epoch from '2026-07-21 12:23:27'::timestamp) - extract(epoch from '2026-07-21 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.836209 -2.649853)', '2026-07-21 12:23:28', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83621 -2.649862)'), GeomFromEWKT('SRID=4674;POINT (-39.836209 -2.649853)'))) / (select extract(epoch from '2026-07-21 12:23:28'::timestamp) - extract(epoch from '2026-07-21 12:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83621 -2.649862)'), GeomFromEWKT('SRID=4674;POINT (-39.836209 -2.649853)'))) / (select extract(epoch from '2026-07-21 12:23:28'::timestamp) - extract(epoch from '2026-07-21 12:23: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.836221 -2.649827)', '2026-07-21 12:23:33', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836209 -2.649853)'), GeomFromEWKT('SRID=4674;POINT (-39.836221 -2.649827)'))) / (select extract(epoch from '2026-07-21 12:23:33'::timestamp) - extract(epoch from '2026-07-21 12:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836209 -2.649853)'), GeomFromEWKT('SRID=4674;POINT (-39.836221 -2.649827)'))) / (select extract(epoch from '2026-07-21 12:23:33'::timestamp) - extract(epoch from '2026-07-21 12:23:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836243 -2.64979)', '2026-07-21 12:23:40', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836221 -2.649827)'), GeomFromEWKT('SRID=4674;POINT (-39.836243 -2.64979)'))) / (select extract(epoch from '2026-07-21 12:23:40'::timestamp) - extract(epoch from '2026-07-21 12:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836221 -2.649827)'), GeomFromEWKT('SRID=4674;POINT (-39.836243 -2.64979)'))) / (select extract(epoch from '2026-07-21 12:23:40'::timestamp) - extract(epoch from '2026-07-21 12:23: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.836261 -2.649745)', '2026-07-21 12:23:49', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836243 -2.64979)'), GeomFromEWKT('SRID=4674;POINT (-39.836261 -2.649745)'))) / (select extract(epoch from '2026-07-21 12:23:49'::timestamp) - extract(epoch from '2026-07-21 12:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836243 -2.64979)'), GeomFromEWKT('SRID=4674;POINT (-39.836261 -2.649745)'))) / (select extract(epoch from '2026-07-21 12:23:49'::timestamp) - extract(epoch from '2026-07-21 12:23: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.836285 -2.649714)', '2026-07-21 12:23:57', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836261 -2.649745)'), GeomFromEWKT('SRID=4674;POINT (-39.836285 -2.649714)'))) / (select extract(epoch from '2026-07-21 12:23:57'::timestamp) - extract(epoch from '2026-07-21 12:23:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836261 -2.649745)'), GeomFromEWKT('SRID=4674;POINT (-39.836285 -2.649714)'))) / (select extract(epoch from '2026-07-21 12:23:57'::timestamp) - extract(epoch from '2026-07-21 12:23:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836293 -2.649702)', '2026-07-21 12:24:00', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836285 -2.649714)'), GeomFromEWKT('SRID=4674;POINT (-39.836293 -2.649702)'))) / (select extract(epoch from '2026-07-21 12:24:00'::timestamp) - extract(epoch from '2026-07-21 12:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836285 -2.649714)'), GeomFromEWKT('SRID=4674;POINT (-39.836293 -2.649702)'))) / (select extract(epoch from '2026-07-21 12:24:00'::timestamp) - extract(epoch from '2026-07-21 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.836299 -2.649692)', '2026-07-21 12:24:03', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836293 -2.649702)'), GeomFromEWKT('SRID=4674;POINT (-39.836299 -2.649692)'))) / (select extract(epoch from '2026-07-21 12:24:03'::timestamp) - extract(epoch from '2026-07-21 12:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836293 -2.649702)'), GeomFromEWKT('SRID=4674;POINT (-39.836299 -2.649692)'))) / (select extract(epoch from '2026-07-21 12:24:03'::timestamp) - extract(epoch from '2026-07-21 12:24:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836329 -2.64966)', '2026-07-21 12:24:14', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836299 -2.649692)'), GeomFromEWKT('SRID=4674;POINT (-39.836329 -2.64966)'))) / (select extract(epoch from '2026-07-21 12:24:14'::timestamp) - extract(epoch from '2026-07-21 12:24:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836299 -2.649692)'), GeomFromEWKT('SRID=4674;POINT (-39.836329 -2.64966)'))) / (select extract(epoch from '2026-07-21 12:24:14'::timestamp) - extract(epoch from '2026-07-21 12:24: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.836346 -2.649648)', '2026-07-21 12:24:19', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836329 -2.64966)'), GeomFromEWKT('SRID=4674;POINT (-39.836346 -2.649648)'))) / (select extract(epoch from '2026-07-21 12:24:19'::timestamp) - extract(epoch from '2026-07-21 12:24:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836329 -2.64966)'), GeomFromEWKT('SRID=4674;POINT (-39.836346 -2.649648)'))) / (select extract(epoch from '2026-07-21 12:24:19'::timestamp) - extract(epoch from '2026-07-21 12:24: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.836356 -2.649648)', '2026-07-21 12:24:20', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836346 -2.649648)'), GeomFromEWKT('SRID=4674;POINT (-39.836356 -2.649648)'))) / (select extract(epoch from '2026-07-21 12:24:20'::timestamp) - extract(epoch from '2026-07-21 12:24:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836346 -2.649648)'), GeomFromEWKT('SRID=4674;POINT (-39.836356 -2.649648)'))) / (select extract(epoch from '2026-07-21 12:24:20'::timestamp) - extract(epoch from '2026-07-21 12:24:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836368 -2.649644)', '2026-07-21 12:24:23', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836356 -2.649648)'), GeomFromEWKT('SRID=4674;POINT (-39.836368 -2.649644)'))) / (select extract(epoch from '2026-07-21 12:24:23'::timestamp) - extract(epoch from '2026-07-21 12:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836356 -2.649648)'), GeomFromEWKT('SRID=4674;POINT (-39.836368 -2.649644)'))) / (select extract(epoch from '2026-07-21 12:24:23'::timestamp) - extract(epoch from '2026-07-21 12:24: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.836391 -2.649636)', '2026-07-21 12:24:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836368 -2.649644)'), GeomFromEWKT('SRID=4674;POINT (-39.836391 -2.649636)'))) / (select extract(epoch from '2026-07-21 12:24:27'::timestamp) - extract(epoch from '2026-07-21 12:24:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836368 -2.649644)'), GeomFromEWKT('SRID=4674;POINT (-39.836391 -2.649636)'))) / (select extract(epoch from '2026-07-21 12:24:27'::timestamp) - extract(epoch from '2026-07-21 12:24:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836416 -2.649628)', '2026-07-21 12:24:31', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836391 -2.649636)'), GeomFromEWKT('SRID=4674;POINT (-39.836416 -2.649628)'))) / (select extract(epoch from '2026-07-21 12:24:31'::timestamp) - extract(epoch from '2026-07-21 12:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836391 -2.649636)'), GeomFromEWKT('SRID=4674;POINT (-39.836416 -2.649628)'))) / (select extract(epoch from '2026-07-21 12:24:31'::timestamp) - extract(epoch from '2026-07-21 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.836459 -2.64962)', '2026-07-21 12:24:39', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836416 -2.649628)'), GeomFromEWKT('SRID=4674;POINT (-39.836459 -2.64962)'))) / (select extract(epoch from '2026-07-21 12:24:39'::timestamp) - extract(epoch from '2026-07-21 12:24:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836416 -2.649628)'), GeomFromEWKT('SRID=4674;POINT (-39.836459 -2.64962)'))) / (select extract(epoch from '2026-07-21 12:24:39'::timestamp) - extract(epoch from '2026-07-21 12:24:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836481 -2.649609)', '2026-07-21 12:24:43', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836459 -2.64962)'), GeomFromEWKT('SRID=4674;POINT (-39.836481 -2.649609)'))) / (select extract(epoch from '2026-07-21 12:24:43'::timestamp) - extract(epoch from '2026-07-21 12:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836459 -2.64962)'), GeomFromEWKT('SRID=4674;POINT (-39.836481 -2.649609)'))) / (select extract(epoch from '2026-07-21 12:24:43'::timestamp) - extract(epoch from '2026-07-21 12:24:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.83651 -2.6496)', '2026-07-21 12:24:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836481 -2.649609)'), GeomFromEWKT('SRID=4674;POINT (-39.83651 -2.6496)'))) / (select extract(epoch from '2026-07-21 12:24:49'::timestamp) - extract(epoch from '2026-07-21 12:24:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836481 -2.649609)'), GeomFromEWKT('SRID=4674;POINT (-39.83651 -2.6496)'))) / (select extract(epoch from '2026-07-21 12:24:49'::timestamp) - extract(epoch from '2026-07-21 12:24: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.836541 -2.649595)', '2026-07-21 12:24:55', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83651 -2.6496)'), GeomFromEWKT('SRID=4674;POINT (-39.836541 -2.649595)'))) / (select extract(epoch from '2026-07-21 12:24:55'::timestamp) - extract(epoch from '2026-07-21 12:24:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83651 -2.6496)'), GeomFromEWKT('SRID=4674;POINT (-39.836541 -2.649595)'))) / (select extract(epoch from '2026-07-21 12:24:55'::timestamp) - extract(epoch from '2026-07-21 12:24:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836573 -2.649591)', '2026-07-21 12:25:02', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836541 -2.649595)'), GeomFromEWKT('SRID=4674;POINT (-39.836573 -2.649591)'))) / (select extract(epoch from '2026-07-21 12:25:02'::timestamp) - extract(epoch from '2026-07-21 12:24:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836541 -2.649595)'), GeomFromEWKT('SRID=4674;POINT (-39.836573 -2.649591)'))) / (select extract(epoch from '2026-07-21 12:25:02'::timestamp) - extract(epoch from '2026-07-21 12:24: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.836625 -2.649581)', '2026-07-21 12:25:13', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836573 -2.649591)'), GeomFromEWKT('SRID=4674;POINT (-39.836625 -2.649581)'))) / (select extract(epoch from '2026-07-21 12:25:13'::timestamp) - extract(epoch from '2026-07-21 12:25:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836573 -2.649591)'), GeomFromEWKT('SRID=4674;POINT (-39.836625 -2.649581)'))) / (select extract(epoch from '2026-07-21 12:25:13'::timestamp) - extract(epoch from '2026-07-21 12:25:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836675 -2.649577)', '2026-07-21 12:25:23', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836625 -2.649581)'), GeomFromEWKT('SRID=4674;POINT (-39.836675 -2.649577)'))) / (select extract(epoch from '2026-07-21 12:25:23'::timestamp) - extract(epoch from '2026-07-21 12:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836625 -2.649581)'), GeomFromEWKT('SRID=4674;POINT (-39.836675 -2.649577)'))) / (select extract(epoch from '2026-07-21 12:25:23'::timestamp) - extract(epoch from '2026-07-21 12:25:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836705 -2.649578)', '2026-07-21 12:25:30', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836675 -2.649577)'), GeomFromEWKT('SRID=4674;POINT (-39.836705 -2.649578)'))) / (select extract(epoch from '2026-07-21 12:25:30'::timestamp) - extract(epoch from '2026-07-21 12:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836675 -2.649577)'), GeomFromEWKT('SRID=4674;POINT (-39.836705 -2.649578)'))) / (select extract(epoch from '2026-07-21 12:25:30'::timestamp) - extract(epoch from '2026-07-21 12:25:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836742 -2.649578)', '2026-07-21 12:25:37', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836705 -2.649578)'), GeomFromEWKT('SRID=4674;POINT (-39.836742 -2.649578)'))) / (select extract(epoch from '2026-07-21 12:25:37'::timestamp) - extract(epoch from '2026-07-21 12:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836705 -2.649578)'), GeomFromEWKT('SRID=4674;POINT (-39.836742 -2.649578)'))) / (select extract(epoch from '2026-07-21 12:25:37'::timestamp) - extract(epoch from '2026-07-21 12:25: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.836774 -2.649575)', '2026-07-21 12:25:44', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836742 -2.649578)'), GeomFromEWKT('SRID=4674;POINT (-39.836774 -2.649575)'))) / (select extract(epoch from '2026-07-21 12:25:44'::timestamp) - extract(epoch from '2026-07-21 12:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836742 -2.649578)'), GeomFromEWKT('SRID=4674;POINT (-39.836774 -2.649575)'))) / (select extract(epoch from '2026-07-21 12:25:44'::timestamp) - extract(epoch from '2026-07-21 12:25:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836801 -2.649572)', '2026-07-21 12:25:50', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836774 -2.649575)'), GeomFromEWKT('SRID=4674;POINT (-39.836801 -2.649572)'))) / (select extract(epoch from '2026-07-21 12:25:50'::timestamp) - extract(epoch from '2026-07-21 12:25:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836774 -2.649575)'), GeomFromEWKT('SRID=4674;POINT (-39.836801 -2.649572)'))) / (select extract(epoch from '2026-07-21 12:25:50'::timestamp) - extract(epoch from '2026-07-21 12:25:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.83683 -2.649571)', '2026-07-21 12:25:56', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836801 -2.649572)'), GeomFromEWKT('SRID=4674;POINT (-39.83683 -2.649571)'))) / (select extract(epoch from '2026-07-21 12:25:56'::timestamp) - extract(epoch from '2026-07-21 12:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836801 -2.649572)'), GeomFromEWKT('SRID=4674;POINT (-39.83683 -2.649571)'))) / (select extract(epoch from '2026-07-21 12:25:56'::timestamp) - extract(epoch from '2026-07-21 12:25: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.836856 -2.649566)', '2026-07-21 12:26:02', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83683 -2.649571)'), GeomFromEWKT('SRID=4674;POINT (-39.836856 -2.649566)'))) / (select extract(epoch from '2026-07-21 12:26:02'::timestamp) - extract(epoch from '2026-07-21 12:25:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83683 -2.649571)'), GeomFromEWKT('SRID=4674;POINT (-39.836856 -2.649566)'))) / (select extract(epoch from '2026-07-21 12:26:02'::timestamp) - extract(epoch from '2026-07-21 12:25:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836876 -2.649573)', '2026-07-21 12:26:07', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836856 -2.649566)'), GeomFromEWKT('SRID=4674;POINT (-39.836876 -2.649573)'))) / (select extract(epoch from '2026-07-21 12:26:07'::timestamp) - extract(epoch from '2026-07-21 12:26:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836856 -2.649566)'), GeomFromEWKT('SRID=4674;POINT (-39.836876 -2.649573)'))) / (select extract(epoch from '2026-07-21 12:26:07'::timestamp) - extract(epoch from '2026-07-21 12:26: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.836895 -2.649573)', '2026-07-21 12:26:10', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836876 -2.649573)'), GeomFromEWKT('SRID=4674;POINT (-39.836895 -2.649573)'))) / (select extract(epoch from '2026-07-21 12:26:10'::timestamp) - extract(epoch from '2026-07-21 12:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836876 -2.649573)'), GeomFromEWKT('SRID=4674;POINT (-39.836895 -2.649573)'))) / (select extract(epoch from '2026-07-21 12:26:10'::timestamp) - extract(epoch from '2026-07-21 12:26: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.836917 -2.649577)', '2026-07-21 12:26:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836895 -2.649573)'), GeomFromEWKT('SRID=4674;POINT (-39.836917 -2.649577)'))) / (select extract(epoch from '2026-07-21 12:26:13'::timestamp) - extract(epoch from '2026-07-21 12:26:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836895 -2.649573)'), GeomFromEWKT('SRID=4674;POINT (-39.836917 -2.649577)'))) / (select extract(epoch from '2026-07-21 12:26:13'::timestamp) - extract(epoch from '2026-07-21 12:26: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.836944 -2.649576)', '2026-07-21 12:26:18', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836917 -2.649577)'), GeomFromEWKT('SRID=4674;POINT (-39.836944 -2.649576)'))) / (select extract(epoch from '2026-07-21 12:26:18'::timestamp) - extract(epoch from '2026-07-21 12:26:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836917 -2.649577)'), GeomFromEWKT('SRID=4674;POINT (-39.836944 -2.649576)'))) / (select extract(epoch from '2026-07-21 12:26:18'::timestamp) - extract(epoch from '2026-07-21 12:26:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836965 -2.649565)', '2026-07-21 12:26:25', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836944 -2.649576)'), GeomFromEWKT('SRID=4674;POINT (-39.836965 -2.649565)'))) / (select extract(epoch from '2026-07-21 12:26:25'::timestamp) - extract(epoch from '2026-07-21 12:26:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836944 -2.649576)'), GeomFromEWKT('SRID=4674;POINT (-39.836965 -2.649565)'))) / (select extract(epoch from '2026-07-21 12:26:25'::timestamp) - extract(epoch from '2026-07-21 12:26: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.836997 -2.649563)', '2026-07-21 12:26:32', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836965 -2.649565)'), GeomFromEWKT('SRID=4674;POINT (-39.836997 -2.649563)'))) / (select extract(epoch from '2026-07-21 12:26:32'::timestamp) - extract(epoch from '2026-07-21 12:26:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836965 -2.649565)'), GeomFromEWKT('SRID=4674;POINT (-39.836997 -2.649563)'))) / (select extract(epoch from '2026-07-21 12:26:32'::timestamp) - extract(epoch from '2026-07-21 12:26: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.837033 -2.649556)', '2026-07-21 12:26:40', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836997 -2.649563)'), GeomFromEWKT('SRID=4674;POINT (-39.837033 -2.649556)'))) / (select extract(epoch from '2026-07-21 12:26:40'::timestamp) - extract(epoch from '2026-07-21 12:26:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836997 -2.649563)'), GeomFromEWKT('SRID=4674;POINT (-39.837033 -2.649556)'))) / (select extract(epoch from '2026-07-21 12:26:40'::timestamp) - extract(epoch from '2026-07-21 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.837068 -2.649551)', '2026-07-21 12:26:46', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837033 -2.649556)'), GeomFromEWKT('SRID=4674;POINT (-39.837068 -2.649551)'))) / (select extract(epoch from '2026-07-21 12:26:46'::timestamp) - extract(epoch from '2026-07-21 12:26:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837033 -2.649556)'), GeomFromEWKT('SRID=4674;POINT (-39.837068 -2.649551)'))) / (select extract(epoch from '2026-07-21 12:26:46'::timestamp) - extract(epoch from '2026-07-21 12:26: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.837095 -2.64955)', '2026-07-21 12:26:52', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837068 -2.649551)'), GeomFromEWKT('SRID=4674;POINT (-39.837095 -2.64955)'))) / (select extract(epoch from '2026-07-21 12:26:52'::timestamp) - extract(epoch from '2026-07-21 12:26:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837068 -2.649551)'), GeomFromEWKT('SRID=4674;POINT (-39.837095 -2.64955)'))) / (select extract(epoch from '2026-07-21 12:26:52'::timestamp) - extract(epoch from '2026-07-21 12:26:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.837128 -2.64954)', '2026-07-21 12:27:00', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837095 -2.64955)'), GeomFromEWKT('SRID=4674;POINT (-39.837128 -2.64954)'))) / (select extract(epoch from '2026-07-21 12:27:00'::timestamp) - extract(epoch from '2026-07-21 12:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837095 -2.64955)'), GeomFromEWKT('SRID=4674;POINT (-39.837128 -2.64954)'))) / (select extract(epoch from '2026-07-21 12:27:00'::timestamp) - extract(epoch from '2026-07-21 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.837149 -2.649538)', '2026-07-21 12:27:05', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837128 -2.64954)'), GeomFromEWKT('SRID=4674;POINT (-39.837149 -2.649538)'))) / (select extract(epoch from '2026-07-21 12:27:05'::timestamp) - extract(epoch from '2026-07-21 12:27:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837128 -2.64954)'), GeomFromEWKT('SRID=4674;POINT (-39.837149 -2.649538)'))) / (select extract(epoch from '2026-07-21 12:27:05'::timestamp) - extract(epoch from '2026-07-21 12:27: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.837172 -2.649526)', '2026-07-21 12:27:12', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837149 -2.649538)'), GeomFromEWKT('SRID=4674;POINT (-39.837172 -2.649526)'))) / (select extract(epoch from '2026-07-21 12:27:12'::timestamp) - extract(epoch from '2026-07-21 12:27:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837149 -2.649538)'), GeomFromEWKT('SRID=4674;POINT (-39.837172 -2.649526)'))) / (select extract(epoch from '2026-07-21 12:27:12'::timestamp) - extract(epoch from '2026-07-21 12:27:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.837198 -2.649521)', '2026-07-21 12:27:18', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837172 -2.649526)'), GeomFromEWKT('SRID=4674;POINT (-39.837198 -2.649521)'))) / (select extract(epoch from '2026-07-21 12:27:18'::timestamp) - extract(epoch from '2026-07-21 12:27:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837172 -2.649526)'), GeomFromEWKT('SRID=4674;POINT (-39.837198 -2.649521)'))) / (select extract(epoch from '2026-07-21 12:27:18'::timestamp) - extract(epoch from '2026-07-21 12:27: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.837212 -2.649511)', '2026-07-21 12:27:25', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837198 -2.649521)'), GeomFromEWKT('SRID=4674;POINT (-39.837212 -2.649511)'))) / (select extract(epoch from '2026-07-21 12:27:25'::timestamp) - extract(epoch from '2026-07-21 12:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837198 -2.649521)'), GeomFromEWKT('SRID=4674;POINT (-39.837212 -2.649511)'))) / (select extract(epoch from '2026-07-21 12:27:25'::timestamp) - extract(epoch from '2026-07-21 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.837243 -2.649506)', '2026-07-21 12:27:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837212 -2.649511)'), GeomFromEWKT('SRID=4674;POINT (-39.837243 -2.649506)'))) / (select extract(epoch from '2026-07-21 12:27:32'::timestamp) - extract(epoch from '2026-07-21 12:27:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837212 -2.649511)'), GeomFromEWKT('SRID=4674;POINT (-39.837243 -2.649506)'))) / (select extract(epoch from '2026-07-21 12:27:32'::timestamp) - extract(epoch from '2026-07-21 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.837278 -2.649501)', '2026-07-21 12:27:40', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837243 -2.649506)'), GeomFromEWKT('SRID=4674;POINT (-39.837278 -2.649501)'))) / (select extract(epoch from '2026-07-21 12:27:40'::timestamp) - extract(epoch from '2026-07-21 12:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837243 -2.649506)'), GeomFromEWKT('SRID=4674;POINT (-39.837278 -2.649501)'))) / (select extract(epoch from '2026-07-21 12:27:40'::timestamp) - extract(epoch from '2026-07-21 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.837307 -2.649497)', '2026-07-21 12:27:48', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837278 -2.649501)'), GeomFromEWKT('SRID=4674;POINT (-39.837307 -2.649497)'))) / (select extract(epoch from '2026-07-21 12:27:48'::timestamp) - extract(epoch from '2026-07-21 12:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837278 -2.649501)'), GeomFromEWKT('SRID=4674;POINT (-39.837307 -2.649497)'))) / (select extract(epoch from '2026-07-21 12:27:48'::timestamp) - extract(epoch from '2026-07-21 12:27:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.837348 -2.649492)', '2026-07-21 12:28:01', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837307 -2.649497)'), GeomFromEWKT('SRID=4674;POINT (-39.837348 -2.649492)'))) / (select extract(epoch from '2026-07-21 12:28:01'::timestamp) - extract(epoch from '2026-07-21 12:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837307 -2.649497)'), GeomFromEWKT('SRID=4674;POINT (-39.837348 -2.649492)'))) / (select extract(epoch from '2026-07-21 12:28:01'::timestamp) - extract(epoch from '2026-07-21 12:27:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.837379 -2.649492)', '2026-07-21 12:28:07', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837348 -2.649492)'), GeomFromEWKT('SRID=4674;POINT (-39.837379 -2.649492)'))) / (select extract(epoch from '2026-07-21 12:28:07'::timestamp) - extract(epoch from '2026-07-21 12:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837348 -2.649492)'), GeomFromEWKT('SRID=4674;POINT (-39.837379 -2.649492)'))) / (select extract(epoch from '2026-07-21 12:28:07'::timestamp) - extract(epoch from '2026-07-21 12:28: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.83741 -2.649483)', '2026-07-21 12:28:14', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837379 -2.649492)'), GeomFromEWKT('SRID=4674;POINT (-39.83741 -2.649483)'))) / (select extract(epoch from '2026-07-21 12:28:14'::timestamp) - extract(epoch from '2026-07-21 12:28:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837379 -2.649492)'), GeomFromEWKT('SRID=4674;POINT (-39.83741 -2.649483)'))) / (select extract(epoch from '2026-07-21 12:28:14'::timestamp) - extract(epoch from '2026-07-21 12:28: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.837433 -2.649481)', '2026-07-21 12:28:19', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83741 -2.649483)'), GeomFromEWKT('SRID=4674;POINT (-39.837433 -2.649481)'))) / (select extract(epoch from '2026-07-21 12:28:19'::timestamp) - extract(epoch from '2026-07-21 12:28:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83741 -2.649483)'), GeomFromEWKT('SRID=4674;POINT (-39.837433 -2.649481)'))) / (select extract(epoch from '2026-07-21 12:28:19'::timestamp) - extract(epoch from '2026-07-21 12:28: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.837457 -2.649484)', '2026-07-21 12:28:25', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837433 -2.649481)'), GeomFromEWKT('SRID=4674;POINT (-39.837457 -2.649484)'))) / (select extract(epoch from '2026-07-21 12:28:25'::timestamp) - extract(epoch from '2026-07-21 12:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837433 -2.649481)'), GeomFromEWKT('SRID=4674;POINT (-39.837457 -2.649484)'))) / (select extract(epoch from '2026-07-21 12:28:25'::timestamp) - extract(epoch from '2026-07-21 12:28: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.837475 -2.649486)', '2026-07-21 12:28:32', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837457 -2.649484)'), GeomFromEWKT('SRID=4674;POINT (-39.837475 -2.649486)'))) / (select extract(epoch from '2026-07-21 12:28:32'::timestamp) - extract(epoch from '2026-07-21 12:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837457 -2.649484)'), GeomFromEWKT('SRID=4674;POINT (-39.837475 -2.649486)'))) / (select extract(epoch from '2026-07-21 12:28:32'::timestamp) - extract(epoch from '2026-07-21 12:28: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.837507 -2.649491)', '2026-07-21 12:28:39', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837475 -2.649486)'), GeomFromEWKT('SRID=4674;POINT (-39.837507 -2.649491)'))) / (select extract(epoch from '2026-07-21 12:28:39'::timestamp) - extract(epoch from '2026-07-21 12:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837475 -2.649486)'), GeomFromEWKT('SRID=4674;POINT (-39.837507 -2.649491)'))) / (select extract(epoch from '2026-07-21 12:28:39'::timestamp) - extract(epoch from '2026-07-21 12:28: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.837525 -2.649484)', '2026-07-21 12:28:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837507 -2.649491)'), GeomFromEWKT('SRID=4674;POINT (-39.837525 -2.649484)'))) / (select extract(epoch from '2026-07-21 12:28:45'::timestamp) - extract(epoch from '2026-07-21 12:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837507 -2.649491)'), GeomFromEWKT('SRID=4674;POINT (-39.837525 -2.649484)'))) / (select extract(epoch from '2026-07-21 12:28:45'::timestamp) - extract(epoch from '2026-07-21 12:28: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.837571 -2.649472)', '2026-07-21 12:28:52', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837525 -2.649484)'), GeomFromEWKT('SRID=4674;POINT (-39.837571 -2.649472)'))) / (select extract(epoch from '2026-07-21 12:28:52'::timestamp) - extract(epoch from '2026-07-21 12:28:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837525 -2.649484)'), GeomFromEWKT('SRID=4674;POINT (-39.837571 -2.649472)'))) / (select extract(epoch from '2026-07-21 12:28:52'::timestamp) - extract(epoch from '2026-07-21 12:28:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.837592 -2.649467)', '2026-07-21 12:28:57', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837571 -2.649472)'), GeomFromEWKT('SRID=4674;POINT (-39.837592 -2.649467)'))) / (select extract(epoch from '2026-07-21 12:28:57'::timestamp) - extract(epoch from '2026-07-21 12:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837571 -2.649472)'), GeomFromEWKT('SRID=4674;POINT (-39.837592 -2.649467)'))) / (select extract(epoch from '2026-07-21 12:28:57'::timestamp) - extract(epoch from '2026-07-21 12:28: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.837617 -2.649473)', '2026-07-21 12:29:03', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837592 -2.649467)'), GeomFromEWKT('SRID=4674;POINT (-39.837617 -2.649473)'))) / (select extract(epoch from '2026-07-21 12:29:03'::timestamp) - extract(epoch from '2026-07-21 12:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837592 -2.649467)'), GeomFromEWKT('SRID=4674;POINT (-39.837617 -2.649473)'))) / (select extract(epoch from '2026-07-21 12:29:03'::timestamp) - extract(epoch from '2026-07-21 12:28: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.837656 -2.649466)', '2026-07-21 12:29:10', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837617 -2.649473)'), GeomFromEWKT('SRID=4674;POINT (-39.837656 -2.649466)'))) / (select extract(epoch from '2026-07-21 12:29:10'::timestamp) - extract(epoch from '2026-07-21 12:29:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837617 -2.649473)'), GeomFromEWKT('SRID=4674;POINT (-39.837656 -2.649466)'))) / (select extract(epoch from '2026-07-21 12:29:10'::timestamp) - extract(epoch from '2026-07-21 12:29: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.837674 -2.649458)', '2026-07-21 12:29:14', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837656 -2.649466)'), GeomFromEWKT('SRID=4674;POINT (-39.837674 -2.649458)'))) / (select extract(epoch from '2026-07-21 12:29:14'::timestamp) - extract(epoch from '2026-07-21 12:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837656 -2.649466)'), GeomFromEWKT('SRID=4674;POINT (-39.837674 -2.649458)'))) / (select extract(epoch from '2026-07-21 12:29:14'::timestamp) - extract(epoch from '2026-07-21 12:29:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.837694 -2.649454)', '2026-07-21 12:29:17', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837674 -2.649458)'), GeomFromEWKT('SRID=4674;POINT (-39.837694 -2.649454)'))) / (select extract(epoch from '2026-07-21 12:29:17'::timestamp) - extract(epoch from '2026-07-21 12:29:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837674 -2.649458)'), GeomFromEWKT('SRID=4674;POINT (-39.837694 -2.649454)'))) / (select extract(epoch from '2026-07-21 12:29:17'::timestamp) - extract(epoch from '2026-07-21 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.837717 -2.649448)', '2026-07-21 12:29:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837694 -2.649454)'), GeomFromEWKT('SRID=4674;POINT (-39.837717 -2.649448)'))) / (select extract(epoch from '2026-07-21 12:29:22'::timestamp) - extract(epoch from '2026-07-21 12:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837694 -2.649454)'), GeomFromEWKT('SRID=4674;POINT (-39.837717 -2.649448)'))) / (select extract(epoch from '2026-07-21 12:29:22'::timestamp) - extract(epoch from '2026-07-21 12:29:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.837758 -2.649446)', '2026-07-21 12:29:30', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837717 -2.649448)'), GeomFromEWKT('SRID=4674;POINT (-39.837758 -2.649446)'))) / (select extract(epoch from '2026-07-21 12:29:30'::timestamp) - extract(epoch from '2026-07-21 12:29:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837717 -2.649448)'), GeomFromEWKT('SRID=4674;POINT (-39.837758 -2.649446)'))) / (select extract(epoch from '2026-07-21 12:29:30'::timestamp) - extract(epoch from '2026-07-21 12:29:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.83778 -2.649445)', '2026-07-21 12:29:36', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837758 -2.649446)'), GeomFromEWKT('SRID=4674;POINT (-39.83778 -2.649445)'))) / (select extract(epoch from '2026-07-21 12:29:36'::timestamp) - extract(epoch from '2026-07-21 12:29:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837758 -2.649446)'), GeomFromEWKT('SRID=4674;POINT (-39.83778 -2.649445)'))) / (select extract(epoch from '2026-07-21 12:29:36'::timestamp) - extract(epoch from '2026-07-21 12:29: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.837798 -2.649436)', '2026-07-21 12:29:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83778 -2.649445)'), GeomFromEWKT('SRID=4674;POINT (-39.837798 -2.649436)'))) / (select extract(epoch from '2026-07-21 12:29:42'::timestamp) - extract(epoch from '2026-07-21 12:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83778 -2.649445)'), GeomFromEWKT('SRID=4674;POINT (-39.837798 -2.649436)'))) / (select extract(epoch from '2026-07-21 12:29:42'::timestamp) - extract(epoch from '2026-07-21 12:29: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.837839 -2.649427)', '2026-07-21 12:29:49', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837798 -2.649436)'), GeomFromEWKT('SRID=4674;POINT (-39.837839 -2.649427)'))) / (select extract(epoch from '2026-07-21 12:29:49'::timestamp) - extract(epoch from '2026-07-21 12:29:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837798 -2.649436)'), GeomFromEWKT('SRID=4674;POINT (-39.837839 -2.649427)'))) / (select extract(epoch from '2026-07-21 12:29:49'::timestamp) - extract(epoch from '2026-07-21 12:29:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.837875 -2.649428)', '2026-07-21 12:29:56', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837839 -2.649427)'), GeomFromEWKT('SRID=4674;POINT (-39.837875 -2.649428)'))) / (select extract(epoch from '2026-07-21 12:29:56'::timestamp) - extract(epoch from '2026-07-21 12:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837839 -2.649427)'), GeomFromEWKT('SRID=4674;POINT (-39.837875 -2.649428)'))) / (select extract(epoch from '2026-07-21 12:29:56'::timestamp) - extract(epoch from '2026-07-21 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.837902 -2.649423)', '2026-07-21 12:30:02', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837875 -2.649428)'), GeomFromEWKT('SRID=4674;POINT (-39.837902 -2.649423)'))) / (select extract(epoch from '2026-07-21 12:30:02'::timestamp) - extract(epoch from '2026-07-21 12:29:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837875 -2.649428)'), GeomFromEWKT('SRID=4674;POINT (-39.837902 -2.649423)'))) / (select extract(epoch from '2026-07-21 12:30:02'::timestamp) - extract(epoch from '2026-07-21 12:29:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.837945 -2.649429)', '2026-07-21 12:30:09', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837902 -2.649423)'), GeomFromEWKT('SRID=4674;POINT (-39.837945 -2.649429)'))) / (select extract(epoch from '2026-07-21 12:30:09'::timestamp) - extract(epoch from '2026-07-21 12:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837902 -2.649423)'), GeomFromEWKT('SRID=4674;POINT (-39.837945 -2.649429)'))) / (select extract(epoch from '2026-07-21 12:30:09'::timestamp) - extract(epoch from '2026-07-21 12:30:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.83796 -2.649435)', '2026-07-21 12:30:11', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837945 -2.649429)'), GeomFromEWKT('SRID=4674;POINT (-39.83796 -2.649435)'))) / (select extract(epoch from '2026-07-21 12:30:11'::timestamp) - extract(epoch from '2026-07-21 12:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837945 -2.649429)'), GeomFromEWKT('SRID=4674;POINT (-39.83796 -2.649435)'))) / (select extract(epoch from '2026-07-21 12:30:11'::timestamp) - extract(epoch from '2026-07-21 12:30: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.837986 -2.649436)', '2026-07-21 12:30:15', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83796 -2.649435)'), GeomFromEWKT('SRID=4674;POINT (-39.837986 -2.649436)'))) / (select extract(epoch from '2026-07-21 12:30:15'::timestamp) - extract(epoch from '2026-07-21 12:30:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83796 -2.649435)'), GeomFromEWKT('SRID=4674;POINT (-39.837986 -2.649436)'))) / (select extract(epoch from '2026-07-21 12:30:15'::timestamp) - extract(epoch from '2026-07-21 12:30:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.838015 -2.649426)', '2026-07-21 12:30:22', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837986 -2.649436)'), GeomFromEWKT('SRID=4674;POINT (-39.838015 -2.649426)'))) / (select extract(epoch from '2026-07-21 12:30:22'::timestamp) - extract(epoch from '2026-07-21 12:30:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837986 -2.649436)'), GeomFromEWKT('SRID=4674;POINT (-39.838015 -2.649426)'))) / (select extract(epoch from '2026-07-21 12:30:22'::timestamp) - extract(epoch from '2026-07-21 12:30:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.838052 -2.649418)', '2026-07-21 12:30:29', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838015 -2.649426)'), GeomFromEWKT('SRID=4674;POINT (-39.838052 -2.649418)'))) / (select extract(epoch from '2026-07-21 12:30:29'::timestamp) - extract(epoch from '2026-07-21 12:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838015 -2.649426)'), GeomFromEWKT('SRID=4674;POINT (-39.838052 -2.649418)'))) / (select extract(epoch from '2026-07-21 12:30:29'::timestamp) - extract(epoch from '2026-07-21 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.838093 -2.649415)', '2026-07-21 12:30:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838052 -2.649418)'), GeomFromEWKT('SRID=4674;POINT (-39.838093 -2.649415)'))) / (select extract(epoch from '2026-07-21 12:30:37'::timestamp) - extract(epoch from '2026-07-21 12:30:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838052 -2.649418)'), GeomFromEWKT('SRID=4674;POINT (-39.838093 -2.649415)'))) / (select extract(epoch from '2026-07-21 12:30:37'::timestamp) - extract(epoch from '2026-07-21 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.838107 -2.649406)', '2026-07-21 12:30:42', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838093 -2.649415)'), GeomFromEWKT('SRID=4674;POINT (-39.838107 -2.649406)'))) / (select extract(epoch from '2026-07-21 12:30:42'::timestamp) - extract(epoch from '2026-07-21 12:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838093 -2.649415)'), GeomFromEWKT('SRID=4674;POINT (-39.838107 -2.649406)'))) / (select extract(epoch from '2026-07-21 12:30:42'::timestamp) - extract(epoch from '2026-07-21 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.838141 -2.649405)', '2026-07-21 12:30:51', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838107 -2.649406)'), GeomFromEWKT('SRID=4674;POINT (-39.838141 -2.649405)'))) / (select extract(epoch from '2026-07-21 12:30:51'::timestamp) - extract(epoch from '2026-07-21 12:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838107 -2.649406)'), GeomFromEWKT('SRID=4674;POINT (-39.838141 -2.649405)'))) / (select extract(epoch from '2026-07-21 12:30:51'::timestamp) - extract(epoch from '2026-07-21 12:30: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.838173 -2.649403)', '2026-07-21 12:30:57', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838141 -2.649405)'), GeomFromEWKT('SRID=4674;POINT (-39.838173 -2.649403)'))) / (select extract(epoch from '2026-07-21 12:30:57'::timestamp) - extract(epoch from '2026-07-21 12:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838141 -2.649405)'), GeomFromEWKT('SRID=4674;POINT (-39.838173 -2.649403)'))) / (select extract(epoch from '2026-07-21 12:30:57'::timestamp) - extract(epoch from '2026-07-21 12:30: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.838211 -2.649392)', '2026-07-21 12:31:04', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838173 -2.649403)'), GeomFromEWKT('SRID=4674;POINT (-39.838211 -2.649392)'))) / (select extract(epoch from '2026-07-21 12:31:04'::timestamp) - extract(epoch from '2026-07-21 12:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838173 -2.649403)'), GeomFromEWKT('SRID=4674;POINT (-39.838211 -2.649392)'))) / (select extract(epoch from '2026-07-21 12:31:04'::timestamp) - extract(epoch from '2026-07-21 12:30:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.838228 -2.649387)', '2026-07-21 12:31:10', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838211 -2.649392)'), GeomFromEWKT('SRID=4674;POINT (-39.838228 -2.649387)'))) / (select extract(epoch from '2026-07-21 12:31:10'::timestamp) - extract(epoch from '2026-07-21 12:31:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838211 -2.649392)'), GeomFromEWKT('SRID=4674;POINT (-39.838228 -2.649387)'))) / (select extract(epoch from '2026-07-21 12:31:10'::timestamp) - extract(epoch from '2026-07-21 12:31: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.838253 -2.649374)', '2026-07-21 12:31:18', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838228 -2.649387)'), GeomFromEWKT('SRID=4674;POINT (-39.838253 -2.649374)'))) / (select extract(epoch from '2026-07-21 12:31:18'::timestamp) - extract(epoch from '2026-07-21 12:31:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838228 -2.649387)'), GeomFromEWKT('SRID=4674;POINT (-39.838253 -2.649374)'))) / (select extract(epoch from '2026-07-21 12:31:18'::timestamp) - extract(epoch from '2026-07-21 12:31:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.838287 -2.64937)', '2026-07-21 12:31:24', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838253 -2.649374)'), GeomFromEWKT('SRID=4674;POINT (-39.838287 -2.64937)'))) / (select extract(epoch from '2026-07-21 12:31:24'::timestamp) - extract(epoch from '2026-07-21 12:31:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838253 -2.649374)'), GeomFromEWKT('SRID=4674;POINT (-39.838287 -2.64937)'))) / (select extract(epoch from '2026-07-21 12:31:24'::timestamp) - extract(epoch from '2026-07-21 12:31: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.838345 -2.649361)', '2026-07-21 12:31:42', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838287 -2.64937)'), GeomFromEWKT('SRID=4674;POINT (-39.838345 -2.649361)'))) / (select extract(epoch from '2026-07-21 12:31:42'::timestamp) - extract(epoch from '2026-07-21 12:31:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838287 -2.64937)'), GeomFromEWKT('SRID=4674;POINT (-39.838345 -2.649361)'))) / (select extract(epoch from '2026-07-21 12:31:42'::timestamp) - extract(epoch from '2026-07-21 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.838376 -2.649345)', '2026-07-21 12:31:50', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838345 -2.649361)'), GeomFromEWKT('SRID=4674;POINT (-39.838376 -2.649345)'))) / (select extract(epoch from '2026-07-21 12:31:50'::timestamp) - extract(epoch from '2026-07-21 12:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838345 -2.649361)'), GeomFromEWKT('SRID=4674;POINT (-39.838376 -2.649345)'))) / (select extract(epoch from '2026-07-21 12:31:50'::timestamp) - extract(epoch from '2026-07-21 12:31: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.838394 -2.649332)', '2026-07-21 12:31:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838376 -2.649345)'), GeomFromEWKT('SRID=4674;POINT (-39.838394 -2.649332)'))) / (select extract(epoch from '2026-07-21 12:31:55'::timestamp) - extract(epoch from '2026-07-21 12:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838376 -2.649345)'), GeomFromEWKT('SRID=4674;POINT (-39.838394 -2.649332)'))) / (select extract(epoch from '2026-07-21 12:31:55'::timestamp) - extract(epoch from '2026-07-21 12:31: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.838427 -2.649321)', '2026-07-21 12:32:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838394 -2.649332)'), GeomFromEWKT('SRID=4674;POINT (-39.838427 -2.649321)'))) / (select extract(epoch from '2026-07-21 12:32:04'::timestamp) - extract(epoch from '2026-07-21 12:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838394 -2.649332)'), GeomFromEWKT('SRID=4674;POINT (-39.838427 -2.649321)'))) / (select extract(epoch from '2026-07-21 12:32:04'::timestamp) - extract(epoch from '2026-07-21 12:31: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.838444 -2.649317)', '2026-07-21 12:32:08', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838427 -2.649321)'), GeomFromEWKT('SRID=4674;POINT (-39.838444 -2.649317)'))) / (select extract(epoch from '2026-07-21 12:32:08'::timestamp) - extract(epoch from '2026-07-21 12:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838427 -2.649321)'), GeomFromEWKT('SRID=4674;POINT (-39.838444 -2.649317)'))) / (select extract(epoch from '2026-07-21 12:32:08'::timestamp) - extract(epoch from '2026-07-21 12:32: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.838463 -2.649315)', '2026-07-21 12:32:14', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838444 -2.649317)'), GeomFromEWKT('SRID=4674;POINT (-39.838463 -2.649315)'))) / (select extract(epoch from '2026-07-21 12:32:14'::timestamp) - extract(epoch from '2026-07-21 12:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838444 -2.649317)'), GeomFromEWKT('SRID=4674;POINT (-39.838463 -2.649315)'))) / (select extract(epoch from '2026-07-21 12:32:14'::timestamp) - extract(epoch from '2026-07-21 12:32:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.838486 -2.649311)', '2026-07-21 12:32:22', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838463 -2.649315)'), GeomFromEWKT('SRID=4674;POINT (-39.838486 -2.649311)'))) / (select extract(epoch from '2026-07-21 12:32:22'::timestamp) - extract(epoch from '2026-07-21 12:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838463 -2.649315)'), GeomFromEWKT('SRID=4674;POINT (-39.838486 -2.649311)'))) / (select extract(epoch from '2026-07-21 12:32:22'::timestamp) - extract(epoch from '2026-07-21 12:32:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.838511 -2.649293)', '2026-07-21 12:32:28', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838486 -2.649311)'), GeomFromEWKT('SRID=4674;POINT (-39.838511 -2.649293)'))) / (select extract(epoch from '2026-07-21 12:32:28'::timestamp) - extract(epoch from '2026-07-21 12:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838486 -2.649311)'), GeomFromEWKT('SRID=4674;POINT (-39.838511 -2.649293)'))) / (select extract(epoch from '2026-07-21 12:32:28'::timestamp) - extract(epoch from '2026-07-21 12:32: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.838529 -2.64928)', '2026-07-21 12:32:33', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838511 -2.649293)'), GeomFromEWKT('SRID=4674;POINT (-39.838529 -2.64928)'))) / (select extract(epoch from '2026-07-21 12:32:33'::timestamp) - extract(epoch from '2026-07-21 12:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838511 -2.649293)'), GeomFromEWKT('SRID=4674;POINT (-39.838529 -2.64928)'))) / (select extract(epoch from '2026-07-21 12:32:33'::timestamp) - extract(epoch from '2026-07-21 12:32: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.838554 -2.64927)', '2026-07-21 12:32:41', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838529 -2.64928)'), GeomFromEWKT('SRID=4674;POINT (-39.838554 -2.64927)'))) / (select extract(epoch from '2026-07-21 12:32:41'::timestamp) - extract(epoch from '2026-07-21 12:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838529 -2.64928)'), GeomFromEWKT('SRID=4674;POINT (-39.838554 -2.64927)'))) / (select extract(epoch from '2026-07-21 12:32:41'::timestamp) - extract(epoch from '2026-07-21 12:32:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.838586 -2.649269)', '2026-07-21 12:32:49', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838554 -2.64927)'), GeomFromEWKT('SRID=4674;POINT (-39.838586 -2.649269)'))) / (select extract(epoch from '2026-07-21 12:32:49'::timestamp) - extract(epoch from '2026-07-21 12:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838554 -2.64927)'), GeomFromEWKT('SRID=4674;POINT (-39.838586 -2.649269)'))) / (select extract(epoch from '2026-07-21 12:32:49'::timestamp) - extract(epoch from '2026-07-21 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.838591 -2.649271)', '2026-07-21 12:32:50', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838586 -2.649269)'), GeomFromEWKT('SRID=4674;POINT (-39.838591 -2.649271)'))) / (select extract(epoch from '2026-07-21 12:32:50'::timestamp) - extract(epoch from '2026-07-21 12:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838586 -2.649269)'), GeomFromEWKT('SRID=4674;POINT (-39.838591 -2.649271)'))) / (select extract(epoch from '2026-07-21 12:32:50'::timestamp) - extract(epoch from '2026-07-21 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.838621 -2.649279)', '2026-07-21 12:32:57', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838591 -2.649271)'), GeomFromEWKT('SRID=4674;POINT (-39.838621 -2.649279)'))) / (select extract(epoch from '2026-07-21 12:32:57'::timestamp) - extract(epoch from '2026-07-21 12:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838591 -2.649271)'), GeomFromEWKT('SRID=4674;POINT (-39.838621 -2.649279)'))) / (select extract(epoch from '2026-07-21 12:32:57'::timestamp) - extract(epoch from '2026-07-21 12:32: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.838642 -2.649279)', '2026-07-21 12:33:03', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838621 -2.649279)'), GeomFromEWKT('SRID=4674;POINT (-39.838642 -2.649279)'))) / (select extract(epoch from '2026-07-21 12:33:03'::timestamp) - extract(epoch from '2026-07-21 12:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838621 -2.649279)'), GeomFromEWKT('SRID=4674;POINT (-39.838642 -2.649279)'))) / (select extract(epoch from '2026-07-21 12:33:03'::timestamp) - extract(epoch from '2026-07-21 12:32: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.838679 -2.649275)', '2026-07-21 12:33:11', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838642 -2.649279)'), GeomFromEWKT('SRID=4674;POINT (-39.838679 -2.649275)'))) / (select extract(epoch from '2026-07-21 12:33:11'::timestamp) - extract(epoch from '2026-07-21 12:33:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838642 -2.649279)'), GeomFromEWKT('SRID=4674;POINT (-39.838679 -2.649275)'))) / (select extract(epoch from '2026-07-21 12:33:11'::timestamp) - extract(epoch from '2026-07-21 12:33: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.838699 -2.649278)', '2026-07-21 12:33:18', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838679 -2.649275)'), GeomFromEWKT('SRID=4674;POINT (-39.838699 -2.649278)'))) / (select extract(epoch from '2026-07-21 12:33:18'::timestamp) - extract(epoch from '2026-07-21 12:33:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838679 -2.649275)'), GeomFromEWKT('SRID=4674;POINT (-39.838699 -2.649278)'))) / (select extract(epoch from '2026-07-21 12:33:18'::timestamp) - extract(epoch from '2026-07-21 12:33: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.838721 -2.649277)', '2026-07-21 12:33:22', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838699 -2.649278)'), GeomFromEWKT('SRID=4674;POINT (-39.838721 -2.649277)'))) / (select extract(epoch from '2026-07-21 12:33:22'::timestamp) - extract(epoch from '2026-07-21 12:33:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838699 -2.649278)'), GeomFromEWKT('SRID=4674;POINT (-39.838721 -2.649277)'))) / (select extract(epoch from '2026-07-21 12:33:22'::timestamp) - extract(epoch from '2026-07-21 12:33:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.838714 -2.649298)', '2026-07-21 12:33:31', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838721 -2.649277)'), GeomFromEWKT('SRID=4674;POINT (-39.838714 -2.649298)'))) / (select extract(epoch from '2026-07-21 12:33:31'::timestamp) - extract(epoch from '2026-07-21 12:33:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838721 -2.649277)'), GeomFromEWKT('SRID=4674;POINT (-39.838714 -2.649298)'))) / (select extract(epoch from '2026-07-21 12:33:31'::timestamp) - extract(epoch from '2026-07-21 12:33:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.838647 -2.649314)', '2026-07-21 12:33:39', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838714 -2.649298)'), GeomFromEWKT('SRID=4674;POINT (-39.838647 -2.649314)'))) / (select extract(epoch from '2026-07-21 12:33:39'::timestamp) - extract(epoch from '2026-07-21 12:33:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838714 -2.649298)'), GeomFromEWKT('SRID=4674;POINT (-39.838647 -2.649314)'))) / (select extract(epoch from '2026-07-21 12:33:39'::timestamp) - extract(epoch from '2026-07-21 12:33: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.838626 -2.649326)', '2026-07-21 12:33:41', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838647 -2.649314)'), GeomFromEWKT('SRID=4674;POINT (-39.838626 -2.649326)'))) / (select extract(epoch from '2026-07-21 12:33:41'::timestamp) - extract(epoch from '2026-07-21 12:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838647 -2.649314)'), GeomFromEWKT('SRID=4674;POINT (-39.838626 -2.649326)'))) / (select extract(epoch from '2026-07-21 12:33:41'::timestamp) - extract(epoch from '2026-07-21 12:33:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.838584 -2.649326)', '2026-07-21 12:33:44', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838626 -2.649326)'), GeomFromEWKT('SRID=4674;POINT (-39.838584 -2.649326)'))) / (select extract(epoch from '2026-07-21 12:33:44'::timestamp) - extract(epoch from '2026-07-21 12:33:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838626 -2.649326)'), GeomFromEWKT('SRID=4674;POINT (-39.838584 -2.649326)'))) / (select extract(epoch from '2026-07-21 12:33:44'::timestamp) - extract(epoch from '2026-07-21 12:33: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.838532 -2.649334)', '2026-07-21 12:33:48', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838584 -2.649326)'), GeomFromEWKT('SRID=4674;POINT (-39.838532 -2.649334)'))) / (select extract(epoch from '2026-07-21 12:33:48'::timestamp) - extract(epoch from '2026-07-21 12:33:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838584 -2.649326)'), GeomFromEWKT('SRID=4674;POINT (-39.838532 -2.649334)'))) / (select extract(epoch from '2026-07-21 12:33:48'::timestamp) - extract(epoch from '2026-07-21 12:33:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.838517 -2.649335)', '2026-07-21 12:33:49', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838532 -2.649334)'), GeomFromEWKT('SRID=4674;POINT (-39.838517 -2.649335)'))) / (select extract(epoch from '2026-07-21 12:33:49'::timestamp) - extract(epoch from '2026-07-21 12:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838532 -2.649334)'), GeomFromEWKT('SRID=4674;POINT (-39.838517 -2.649335)'))) / (select extract(epoch from '2026-07-21 12:33:49'::timestamp) - extract(epoch from '2026-07-21 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.838486 -2.649336)', '2026-07-21 12:33:51', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838517 -2.649335)'), GeomFromEWKT('SRID=4674;POINT (-39.838486 -2.649336)'))) / (select extract(epoch from '2026-07-21 12:33:51'::timestamp) - extract(epoch from '2026-07-21 12:33:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838517 -2.649335)'), GeomFromEWKT('SRID=4674;POINT (-39.838486 -2.649336)'))) / (select extract(epoch from '2026-07-21 12:33:51'::timestamp) - extract(epoch from '2026-07-21 12:33: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.838457 -2.64934)', '2026-07-21 12:33:53', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838486 -2.649336)'), GeomFromEWKT('SRID=4674;POINT (-39.838457 -2.64934)'))) / (select extract(epoch from '2026-07-21 12:33:53'::timestamp) - extract(epoch from '2026-07-21 12:33:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838486 -2.649336)'), GeomFromEWKT('SRID=4674;POINT (-39.838457 -2.64934)'))) / (select extract(epoch from '2026-07-21 12:33:53'::timestamp) - extract(epoch from '2026-07-21 12:33: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.838405 -2.64937)', '2026-07-21 12:33:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838457 -2.64934)'), GeomFromEWKT('SRID=4674;POINT (-39.838405 -2.64937)'))) / (select extract(epoch from '2026-07-21 12:33:57'::timestamp) - extract(epoch from '2026-07-21 12:33:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838457 -2.64934)'), GeomFromEWKT('SRID=4674;POINT (-39.838405 -2.64937)'))) / (select extract(epoch from '2026-07-21 12:33:57'::timestamp) - extract(epoch from '2026-07-21 12:33:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.838357 -2.649432)', '2026-07-21 12:34:02', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838405 -2.64937)'), GeomFromEWKT('SRID=4674;POINT (-39.838357 -2.649432)'))) / (select extract(epoch from '2026-07-21 12:34:02'::timestamp) - extract(epoch from '2026-07-21 12:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838405 -2.64937)'), GeomFromEWKT('SRID=4674;POINT (-39.838357 -2.649432)'))) / (select extract(epoch from '2026-07-21 12:34:02'::timestamp) - extract(epoch from '2026-07-21 12:33:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.838353 -2.649449)', '2026-07-21 12:34:03', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838357 -2.649432)'), GeomFromEWKT('SRID=4674;POINT (-39.838353 -2.649449)'))) / (select extract(epoch from '2026-07-21 12:34:03'::timestamp) - extract(epoch from '2026-07-21 12:34:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838357 -2.649432)'), GeomFromEWKT('SRID=4674;POINT (-39.838353 -2.649449)'))) / (select extract(epoch from '2026-07-21 12:34:03'::timestamp) - extract(epoch from '2026-07-21 12:34:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.83834 -2.64949)', '2026-07-21 12:34:06', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838353 -2.649449)'), GeomFromEWKT('SRID=4674;POINT (-39.83834 -2.64949)'))) / (select extract(epoch from '2026-07-21 12:34:06'::timestamp) - extract(epoch from '2026-07-21 12:34:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838353 -2.649449)'), GeomFromEWKT('SRID=4674;POINT (-39.83834 -2.64949)'))) / (select extract(epoch from '2026-07-21 12:34:06'::timestamp) - extract(epoch from '2026-07-21 12:34:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.838334 -2.649524)', '2026-07-21 12:34:08', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83834 -2.64949)'), GeomFromEWKT('SRID=4674;POINT (-39.838334 -2.649524)'))) / (select extract(epoch from '2026-07-21 12:34:08'::timestamp) - extract(epoch from '2026-07-21 12:34:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83834 -2.64949)'), GeomFromEWKT('SRID=4674;POINT (-39.838334 -2.649524)'))) / (select extract(epoch from '2026-07-21 12:34:08'::timestamp) - extract(epoch from '2026-07-21 12:34: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.838305 -2.649589)', '2026-07-21 12:34:13', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838334 -2.649524)'), GeomFromEWKT('SRID=4674;POINT (-39.838305 -2.649589)'))) / (select extract(epoch from '2026-07-21 12:34:13'::timestamp) - extract(epoch from '2026-07-21 12:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838334 -2.649524)'), GeomFromEWKT('SRID=4674;POINT (-39.838305 -2.649589)'))) / (select extract(epoch from '2026-07-21 12:34:13'::timestamp) - extract(epoch from '2026-07-21 12:34:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.838292 -2.649608)', '2026-07-21 12:34:15', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838305 -2.649589)'), GeomFromEWKT('SRID=4674;POINT (-39.838292 -2.649608)'))) / (select extract(epoch from '2026-07-21 12:34:15'::timestamp) - extract(epoch from '2026-07-21 12:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838305 -2.649589)'), GeomFromEWKT('SRID=4674;POINT (-39.838292 -2.649608)'))) / (select extract(epoch from '2026-07-21 12:34:15'::timestamp) - extract(epoch from '2026-07-21 12:34: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.83826 -2.649632)', '2026-07-21 12:34:18', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838292 -2.649608)'), GeomFromEWKT('SRID=4674;POINT (-39.83826 -2.649632)'))) / (select extract(epoch from '2026-07-21 12:34:18'::timestamp) - extract(epoch from '2026-07-21 12:34:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838292 -2.649608)'), GeomFromEWKT('SRID=4674;POINT (-39.83826 -2.649632)'))) / (select extract(epoch from '2026-07-21 12:34:18'::timestamp) - extract(epoch from '2026-07-21 12:34: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.83825 -2.649638)', '2026-07-21 12:34:19', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83826 -2.649632)'), GeomFromEWKT('SRID=4674;POINT (-39.83825 -2.649638)'))) / (select extract(epoch from '2026-07-21 12:34:19'::timestamp) - extract(epoch from '2026-07-21 12:34:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83826 -2.649632)'), GeomFromEWKT('SRID=4674;POINT (-39.83825 -2.649638)'))) / (select extract(epoch from '2026-07-21 12:34:19'::timestamp) - extract(epoch from '2026-07-21 12:34:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.838226 -2.649647)', '2026-07-21 12:34:21', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83825 -2.649638)'), GeomFromEWKT('SRID=4674;POINT (-39.838226 -2.649647)'))) / (select extract(epoch from '2026-07-21 12:34:21'::timestamp) - extract(epoch from '2026-07-21 12:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83825 -2.649638)'), GeomFromEWKT('SRID=4674;POINT (-39.838226 -2.649647)'))) / (select extract(epoch from '2026-07-21 12:34:21'::timestamp) - extract(epoch from '2026-07-21 12:34:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.838214 -2.649654)', '2026-07-21 12:34:22', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838226 -2.649647)'), GeomFromEWKT('SRID=4674;POINT (-39.838214 -2.649654)'))) / (select extract(epoch from '2026-07-21 12:34:22'::timestamp) - extract(epoch from '2026-07-21 12:34:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838226 -2.649647)'), GeomFromEWKT('SRID=4674;POINT (-39.838214 -2.649654)'))) / (select extract(epoch from '2026-07-21 12:34:22'::timestamp) - extract(epoch from '2026-07-21 12:34: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.838199 -2.649653)', '2026-07-21 12:34:23', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838214 -2.649654)'), GeomFromEWKT('SRID=4674;POINT (-39.838199 -2.649653)'))) / (select extract(epoch from '2026-07-21 12:34:23'::timestamp) - extract(epoch from '2026-07-21 12:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838214 -2.649654)'), GeomFromEWKT('SRID=4674;POINT (-39.838199 -2.649653)'))) / (select extract(epoch from '2026-07-21 12:34:23'::timestamp) - extract(epoch from '2026-07-21 12:34:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.838158 -2.64966)', '2026-07-21 12:34:26', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838199 -2.649653)'), GeomFromEWKT('SRID=4674;POINT (-39.838158 -2.64966)'))) / (select extract(epoch from '2026-07-21 12:34:26'::timestamp) - extract(epoch from '2026-07-21 12:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838199 -2.649653)'), GeomFromEWKT('SRID=4674;POINT (-39.838158 -2.64966)'))) / (select extract(epoch from '2026-07-21 12:34:26'::timestamp) - extract(epoch from '2026-07-21 12:34:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.838129 -2.649659)', '2026-07-21 12:34:28', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838158 -2.64966)'), GeomFromEWKT('SRID=4674;POINT (-39.838129 -2.649659)'))) / (select extract(epoch from '2026-07-21 12:34:28'::timestamp) - extract(epoch from '2026-07-21 12:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838158 -2.64966)'), GeomFromEWKT('SRID=4674;POINT (-39.838129 -2.649659)'))) / (select extract(epoch from '2026-07-21 12:34:28'::timestamp) - extract(epoch from '2026-07-21 12:34: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.838099 -2.649661)', '2026-07-21 12:34:30', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838129 -2.649659)'), GeomFromEWKT('SRID=4674;POINT (-39.838099 -2.649661)'))) / (select extract(epoch from '2026-07-21 12:34:30'::timestamp) - extract(epoch from '2026-07-21 12:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838129 -2.649659)'), GeomFromEWKT('SRID=4674;POINT (-39.838099 -2.649661)'))) / (select extract(epoch from '2026-07-21 12:34:30'::timestamp) - extract(epoch from '2026-07-21 12:34:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.838083 -2.649658)', '2026-07-21 12:34:31', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838099 -2.649661)'), GeomFromEWKT('SRID=4674;POINT (-39.838083 -2.649658)'))) / (select extract(epoch from '2026-07-21 12:34:31'::timestamp) - extract(epoch from '2026-07-21 12:34:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838099 -2.649661)'), GeomFromEWKT('SRID=4674;POINT (-39.838083 -2.649658)'))) / (select extract(epoch from '2026-07-21 12:34:31'::timestamp) - extract(epoch from '2026-07-21 12:34: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.838008 -2.649663)', '2026-07-21 12:34:36', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838083 -2.649658)'), GeomFromEWKT('SRID=4674;POINT (-39.838008 -2.649663)'))) / (select extract(epoch from '2026-07-21 12:34:36'::timestamp) - extract(epoch from '2026-07-21 12:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838083 -2.649658)'), GeomFromEWKT('SRID=4674;POINT (-39.838008 -2.649663)'))) / (select extract(epoch from '2026-07-21 12:34:36'::timestamp) - extract(epoch from '2026-07-21 12:34:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.837943 -2.649692)', '2026-07-21 12:34:41', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838008 -2.649663)'), GeomFromEWKT('SRID=4674;POINT (-39.837943 -2.649692)'))) / (select extract(epoch from '2026-07-21 12:34:41'::timestamp) - extract(epoch from '2026-07-21 12:34:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.838008 -2.649663)'), GeomFromEWKT('SRID=4674;POINT (-39.837943 -2.649692)'))) / (select extract(epoch from '2026-07-21 12:34:41'::timestamp) - extract(epoch from '2026-07-21 12:34:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.837912 -2.649703)', '2026-07-21 12:34:43', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837943 -2.649692)'), GeomFromEWKT('SRID=4674;POINT (-39.837912 -2.649703)'))) / (select extract(epoch from '2026-07-21 12:34:43'::timestamp) - extract(epoch from '2026-07-21 12:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837943 -2.649692)'), GeomFromEWKT('SRID=4674;POINT (-39.837912 -2.649703)'))) / (select extract(epoch from '2026-07-21 12:34:43'::timestamp) - extract(epoch from '2026-07-21 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.83788 -2.649717)', '2026-07-21 12:34:45', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837912 -2.649703)'), GeomFromEWKT('SRID=4674;POINT (-39.83788 -2.649717)'))) / (select extract(epoch from '2026-07-21 12:34:45'::timestamp) - extract(epoch from '2026-07-21 12:34:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837912 -2.649703)'), GeomFromEWKT('SRID=4674;POINT (-39.83788 -2.649717)'))) / (select extract(epoch from '2026-07-21 12:34:45'::timestamp) - extract(epoch from '2026-07-21 12:34: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.837798 -2.649741)', '2026-07-21 12:34:50', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83788 -2.649717)'), GeomFromEWKT('SRID=4674;POINT (-39.837798 -2.649741)'))) / (select extract(epoch from '2026-07-21 12:34:50'::timestamp) - extract(epoch from '2026-07-21 12:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83788 -2.649717)'), GeomFromEWKT('SRID=4674;POINT (-39.837798 -2.649741)'))) / (select extract(epoch from '2026-07-21 12:34:50'::timestamp) - extract(epoch from '2026-07-21 12:34:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.837725 -2.649762)', '2026-07-21 12:34:54', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837798 -2.649741)'), GeomFromEWKT('SRID=4674;POINT (-39.837725 -2.649762)'))) / (select extract(epoch from '2026-07-21 12:34:54'::timestamp) - extract(epoch from '2026-07-21 12:34:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837798 -2.649741)'), GeomFromEWKT('SRID=4674;POINT (-39.837725 -2.649762)'))) / (select extract(epoch from '2026-07-21 12:34:54'::timestamp) - extract(epoch from '2026-07-21 12:34: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.837655 -2.649797)', '2026-07-21 12:34:58', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837725 -2.649762)'), GeomFromEWKT('SRID=4674;POINT (-39.837655 -2.649797)'))) / (select extract(epoch from '2026-07-21 12:34:58'::timestamp) - extract(epoch from '2026-07-21 12:34:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837725 -2.649762)'), GeomFromEWKT('SRID=4674;POINT (-39.837655 -2.649797)'))) / (select extract(epoch from '2026-07-21 12:34:58'::timestamp) - extract(epoch from '2026-07-21 12:34: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.837561 -2.649832)', '2026-07-21 12:35:03', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837655 -2.649797)'), GeomFromEWKT('SRID=4674;POINT (-39.837561 -2.649832)'))) / (select extract(epoch from '2026-07-21 12:35:03'::timestamp) - extract(epoch from '2026-07-21 12:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837655 -2.649797)'), GeomFromEWKT('SRID=4674;POINT (-39.837561 -2.649832)'))) / (select extract(epoch from '2026-07-21 12:35:03'::timestamp) - extract(epoch from '2026-07-21 12:34: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.837462 -2.649851)', '2026-07-21 12:35:08', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837561 -2.649832)'), GeomFromEWKT('SRID=4674;POINT (-39.837462 -2.649851)'))) / (select extract(epoch from '2026-07-21 12:35:08'::timestamp) - extract(epoch from '2026-07-21 12:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837561 -2.649832)'), GeomFromEWKT('SRID=4674;POINT (-39.837462 -2.649851)'))) / (select extract(epoch from '2026-07-21 12:35:08'::timestamp) - extract(epoch from '2026-07-21 12:35: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.837388 -2.649881)', '2026-07-21 12:35:12', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837462 -2.649851)'), GeomFromEWKT('SRID=4674;POINT (-39.837388 -2.649881)'))) / (select extract(epoch from '2026-07-21 12:35:12'::timestamp) - extract(epoch from '2026-07-21 12:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837462 -2.649851)'), GeomFromEWKT('SRID=4674;POINT (-39.837388 -2.649881)'))) / (select extract(epoch from '2026-07-21 12:35:12'::timestamp) - extract(epoch from '2026-07-21 12:35: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.837311 -2.649939)', '2026-07-21 12:35:17', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837388 -2.649881)'), GeomFromEWKT('SRID=4674;POINT (-39.837311 -2.649939)'))) / (select extract(epoch from '2026-07-21 12:35:17'::timestamp) - extract(epoch from '2026-07-21 12:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837388 -2.649881)'), GeomFromEWKT('SRID=4674;POINT (-39.837311 -2.649939)'))) / (select extract(epoch from '2026-07-21 12:35:17'::timestamp) - extract(epoch from '2026-07-21 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.837223 -2.650005)', '2026-07-21 12:35:23', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837311 -2.649939)'), GeomFromEWKT('SRID=4674;POINT (-39.837223 -2.650005)'))) / (select extract(epoch from '2026-07-21 12:35:23'::timestamp) - extract(epoch from '2026-07-21 12:35:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837311 -2.649939)'), GeomFromEWKT('SRID=4674;POINT (-39.837223 -2.650005)'))) / (select extract(epoch from '2026-07-21 12:35:23'::timestamp) - extract(epoch from '2026-07-21 12:35:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.837156 -2.650043)', '2026-07-21 12:35:27', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837223 -2.650005)'), GeomFromEWKT('SRID=4674;POINT (-39.837156 -2.650043)'))) / (select extract(epoch from '2026-07-21 12:35:27'::timestamp) - extract(epoch from '2026-07-21 12:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837223 -2.650005)'), GeomFromEWKT('SRID=4674;POINT (-39.837156 -2.650043)'))) / (select extract(epoch from '2026-07-21 12:35:27'::timestamp) - extract(epoch from '2026-07-21 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.837092 -2.650061)', '2026-07-21 12:35:31', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837156 -2.650043)'), GeomFromEWKT('SRID=4674;POINT (-39.837092 -2.650061)'))) / (select extract(epoch from '2026-07-21 12:35:31'::timestamp) - extract(epoch from '2026-07-21 12:35:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837156 -2.650043)'), GeomFromEWKT('SRID=4674;POINT (-39.837092 -2.650061)'))) / (select extract(epoch from '2026-07-21 12:35:31'::timestamp) - extract(epoch from '2026-07-21 12:35:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.837084 -2.650064)', '2026-07-21 12:35:32', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837092 -2.650061)'), GeomFromEWKT('SRID=4674;POINT (-39.837084 -2.650064)'))) / (select extract(epoch from '2026-07-21 12:35:32'::timestamp) - extract(epoch from '2026-07-21 12:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837092 -2.650061)'), GeomFromEWKT('SRID=4674;POINT (-39.837084 -2.650064)'))) / (select extract(epoch from '2026-07-21 12:35:32'::timestamp) - extract(epoch from '2026-07-21 12:35: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.837064 -2.650066)', '2026-07-21 12:35:34', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837084 -2.650064)'), GeomFromEWKT('SRID=4674;POINT (-39.837064 -2.650066)'))) / (select extract(epoch from '2026-07-21 12:35:34'::timestamp) - extract(epoch from '2026-07-21 12:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837084 -2.650064)'), GeomFromEWKT('SRID=4674;POINT (-39.837064 -2.650066)'))) / (select extract(epoch from '2026-07-21 12:35:34'::timestamp) - extract(epoch from '2026-07-21 12:35:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.837049 -2.650069)', '2026-07-21 12:35:36', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837064 -2.650066)'), GeomFromEWKT('SRID=4674;POINT (-39.837049 -2.650069)'))) / (select extract(epoch from '2026-07-21 12:35:36'::timestamp) - extract(epoch from '2026-07-21 12:35:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837064 -2.650066)'), GeomFromEWKT('SRID=4674;POINT (-39.837049 -2.650069)'))) / (select extract(epoch from '2026-07-21 12:35:36'::timestamp) - extract(epoch from '2026-07-21 12:35: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.837041 -2.650068)', '2026-07-21 12:35:37', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837049 -2.650069)'), GeomFromEWKT('SRID=4674;POINT (-39.837041 -2.650068)'))) / (select extract(epoch from '2026-07-21 12:35:37'::timestamp) - extract(epoch from '2026-07-21 12:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837049 -2.650069)'), GeomFromEWKT('SRID=4674;POINT (-39.837041 -2.650068)'))) / (select extract(epoch from '2026-07-21 12:35:37'::timestamp) - extract(epoch from '2026-07-21 12:35:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836986 -2.650086)', '2026-07-21 12:35:43', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837041 -2.650068)'), GeomFromEWKT('SRID=4674;POINT (-39.836986 -2.650086)'))) / (select extract(epoch from '2026-07-21 12:35:43'::timestamp) - extract(epoch from '2026-07-21 12:35:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837041 -2.650068)'), GeomFromEWKT('SRID=4674;POINT (-39.836986 -2.650086)'))) / (select extract(epoch from '2026-07-21 12:35:43'::timestamp) - extract(epoch from '2026-07-21 12:35: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.836905 -2.650124)', '2026-07-21 12:35:49', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836986 -2.650086)'), GeomFromEWKT('SRID=4674;POINT (-39.836905 -2.650124)'))) / (select extract(epoch from '2026-07-21 12:35:49'::timestamp) - extract(epoch from '2026-07-21 12:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836986 -2.650086)'), GeomFromEWKT('SRID=4674;POINT (-39.836905 -2.650124)'))) / (select extract(epoch from '2026-07-21 12:35:49'::timestamp) - extract(epoch from '2026-07-21 12:35:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836845 -2.650155)', '2026-07-21 12:35:53', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836905 -2.650124)'), GeomFromEWKT('SRID=4674;POINT (-39.836845 -2.650155)'))) / (select extract(epoch from '2026-07-21 12:35:53'::timestamp) - extract(epoch from '2026-07-21 12:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836905 -2.650124)'), GeomFromEWKT('SRID=4674;POINT (-39.836845 -2.650155)'))) / (select extract(epoch from '2026-07-21 12:35:53'::timestamp) - extract(epoch from '2026-07-21 12:35: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.836832 -2.650165)', '2026-07-21 12:35:54', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836845 -2.650155)'), GeomFromEWKT('SRID=4674;POINT (-39.836832 -2.650165)'))) / (select extract(epoch from '2026-07-21 12:35:54'::timestamp) - extract(epoch from '2026-07-21 12:35:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836845 -2.650155)'), GeomFromEWKT('SRID=4674;POINT (-39.836832 -2.650165)'))) / (select extract(epoch from '2026-07-21 12:35:54'::timestamp) - extract(epoch from '2026-07-21 12:35: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.836767 -2.650201)', '2026-07-21 12:35:59', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836832 -2.650165)'), GeomFromEWKT('SRID=4674;POINT (-39.836767 -2.650201)'))) / (select extract(epoch from '2026-07-21 12:35:59'::timestamp) - extract(epoch from '2026-07-21 12:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836832 -2.650165)'), GeomFromEWKT('SRID=4674;POINT (-39.836767 -2.650201)'))) / (select extract(epoch from '2026-07-21 12:35:59'::timestamp) - extract(epoch from '2026-07-21 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.836742 -2.650201)', '2026-07-21 12:36:01', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836767 -2.650201)'), GeomFromEWKT('SRID=4674;POINT (-39.836742 -2.650201)'))) / (select extract(epoch from '2026-07-21 12:36:01'::timestamp) - extract(epoch from '2026-07-21 12:35:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836767 -2.650201)'), GeomFromEWKT('SRID=4674;POINT (-39.836742 -2.650201)'))) / (select extract(epoch from '2026-07-21 12:36:01'::timestamp) - extract(epoch from '2026-07-21 12:35:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836719 -2.650191)', '2026-07-21 12:36:03', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836742 -2.650201)'), GeomFromEWKT('SRID=4674;POINT (-39.836719 -2.650191)'))) / (select extract(epoch from '2026-07-21 12:36:03'::timestamp) - extract(epoch from '2026-07-21 12:36:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836742 -2.650201)'), GeomFromEWKT('SRID=4674;POINT (-39.836719 -2.650191)'))) / (select extract(epoch from '2026-07-21 12:36:03'::timestamp) - extract(epoch from '2026-07-21 12:36: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.836711 -2.650185)', '2026-07-21 12:36:04', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836719 -2.650191)'), GeomFromEWKT('SRID=4674;POINT (-39.836711 -2.650185)'))) / (select extract(epoch from '2026-07-21 12:36:04'::timestamp) - extract(epoch from '2026-07-21 12:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836719 -2.650191)'), GeomFromEWKT('SRID=4674;POINT (-39.836711 -2.650185)'))) / (select extract(epoch from '2026-07-21 12:36:04'::timestamp) - extract(epoch from '2026-07-21 12:36: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.836697 -2.650166)', '2026-07-21 12:36:07', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836711 -2.650185)'), GeomFromEWKT('SRID=4674;POINT (-39.836697 -2.650166)'))) / (select extract(epoch from '2026-07-21 12:36:07'::timestamp) - extract(epoch from '2026-07-21 12:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836711 -2.650185)'), GeomFromEWKT('SRID=4674;POINT (-39.836697 -2.650166)'))) / (select extract(epoch from '2026-07-21 12:36:07'::timestamp) - extract(epoch from '2026-07-21 12:36: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.836694 -2.650158)', '2026-07-21 12:36:08', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836697 -2.650166)'), GeomFromEWKT('SRID=4674;POINT (-39.836694 -2.650158)'))) / (select extract(epoch from '2026-07-21 12:36:08'::timestamp) - extract(epoch from '2026-07-21 12:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836697 -2.650166)'), GeomFromEWKT('SRID=4674;POINT (-39.836694 -2.650158)'))) / (select extract(epoch from '2026-07-21 12:36:08'::timestamp) - extract(epoch from '2026-07-21 12:36:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836693 -2.650126)', '2026-07-21 12:36:12', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836694 -2.650158)'), GeomFromEWKT('SRID=4674;POINT (-39.836693 -2.650126)'))) / (select extract(epoch from '2026-07-21 12:36:12'::timestamp) - extract(epoch from '2026-07-21 12:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836694 -2.650158)'), GeomFromEWKT('SRID=4674;POINT (-39.836693 -2.650126)'))) / (select extract(epoch from '2026-07-21 12:36:12'::timestamp) - extract(epoch from '2026-07-21 12:36:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836695 -2.650111)', '2026-07-21 12:36:14', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836693 -2.650126)'), GeomFromEWKT('SRID=4674;POINT (-39.836695 -2.650111)'))) / (select extract(epoch from '2026-07-21 12:36:14'::timestamp) - extract(epoch from '2026-07-21 12:36:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836693 -2.650126)'), GeomFromEWKT('SRID=4674;POINT (-39.836695 -2.650111)'))) / (select extract(epoch from '2026-07-21 12:36:14'::timestamp) - extract(epoch from '2026-07-21 12:36: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.836719 -2.650055)', '2026-07-21 12:36:21', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836695 -2.650111)'), GeomFromEWKT('SRID=4674;POINT (-39.836719 -2.650055)'))) / (select extract(epoch from '2026-07-21 12:36:21'::timestamp) - extract(epoch from '2026-07-21 12:36:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836695 -2.650111)'), GeomFromEWKT('SRID=4674;POINT (-39.836719 -2.650055)'))) / (select extract(epoch from '2026-07-21 12:36:21'::timestamp) - extract(epoch from '2026-07-21 12:36: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.836723 -2.650048)', '2026-07-21 12:36:22', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836719 -2.650055)'), GeomFromEWKT('SRID=4674;POINT (-39.836723 -2.650048)'))) / (select extract(epoch from '2026-07-21 12:36:22'::timestamp) - extract(epoch from '2026-07-21 12:36:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836719 -2.650055)'), GeomFromEWKT('SRID=4674;POINT (-39.836723 -2.650048)'))) / (select extract(epoch from '2026-07-21 12:36:22'::timestamp) - extract(epoch from '2026-07-21 12:36:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836743 -2.650024)', '2026-07-21 12:36:26', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836723 -2.650048)'), GeomFromEWKT('SRID=4674;POINT (-39.836743 -2.650024)'))) / (select extract(epoch from '2026-07-21 12:36:26'::timestamp) - extract(epoch from '2026-07-21 12:36:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836723 -2.650048)'), GeomFromEWKT('SRID=4674;POINT (-39.836743 -2.650024)'))) / (select extract(epoch from '2026-07-21 12:36:26'::timestamp) - extract(epoch from '2026-07-21 12:36: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.836758 -2.649979)', '2026-07-21 12:36:33', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836743 -2.650024)'), GeomFromEWKT('SRID=4674;POINT (-39.836758 -2.649979)'))) / (select extract(epoch from '2026-07-21 12:36:33'::timestamp) - extract(epoch from '2026-07-21 12:36:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836743 -2.650024)'), GeomFromEWKT('SRID=4674;POINT (-39.836758 -2.649979)'))) / (select extract(epoch from '2026-07-21 12:36:33'::timestamp) - extract(epoch from '2026-07-21 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.836746 -2.649959)', '2026-07-21 12:36:38', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836758 -2.649979)'), GeomFromEWKT('SRID=4674;POINT (-39.836746 -2.649959)'))) / (select extract(epoch from '2026-07-21 12:36:38'::timestamp) - extract(epoch from '2026-07-21 12:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836758 -2.649979)'), GeomFromEWKT('SRID=4674;POINT (-39.836746 -2.649959)'))) / (select extract(epoch from '2026-07-21 12:36:38'::timestamp) - extract(epoch from '2026-07-21 12:36: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.83675 -2.650012)', '2026-07-21 12:36:50', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836746 -2.649959)'), GeomFromEWKT('SRID=4674;POINT (-39.83675 -2.650012)'))) / (select extract(epoch from '2026-07-21 12:36:50'::timestamp) - extract(epoch from '2026-07-21 12:36:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836746 -2.649959)'), GeomFromEWKT('SRID=4674;POINT (-39.83675 -2.650012)'))) / (select extract(epoch from '2026-07-21 12:36:50'::timestamp) - extract(epoch from '2026-07-21 12:36: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.836763 -2.650055)', '2026-07-21 12:36:54', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83675 -2.650012)'), GeomFromEWKT('SRID=4674;POINT (-39.836763 -2.650055)'))) / (select extract(epoch from '2026-07-21 12:36:54'::timestamp) - extract(epoch from '2026-07-21 12:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83675 -2.650012)'), GeomFromEWKT('SRID=4674;POINT (-39.836763 -2.650055)'))) / (select extract(epoch from '2026-07-21 12:36:54'::timestamp) - extract(epoch from '2026-07-21 12:36:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836759 -2.650067)', '2026-07-21 12:36:55', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836763 -2.650055)'), GeomFromEWKT('SRID=4674;POINT (-39.836759 -2.650067)'))) / (select extract(epoch from '2026-07-21 12:36:55'::timestamp) - extract(epoch from '2026-07-21 12:36:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836763 -2.650055)'), GeomFromEWKT('SRID=4674;POINT (-39.836759 -2.650067)'))) / (select extract(epoch from '2026-07-21 12:36:55'::timestamp) - extract(epoch from '2026-07-21 12:36: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.836736 -2.650113)', '2026-07-21 12:37:01', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836759 -2.650067)'), GeomFromEWKT('SRID=4674;POINT (-39.836736 -2.650113)'))) / (select extract(epoch from '2026-07-21 12:37:01'::timestamp) - extract(epoch from '2026-07-21 12:36:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836759 -2.650067)'), GeomFromEWKT('SRID=4674;POINT (-39.836736 -2.650113)'))) / (select extract(epoch from '2026-07-21 12:37:01'::timestamp) - extract(epoch from '2026-07-21 12:36:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836712 -2.650113)', '2026-07-21 12:37:07', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836736 -2.650113)'), GeomFromEWKT('SRID=4674;POINT (-39.836712 -2.650113)'))) / (select extract(epoch from '2026-07-21 12:37:07'::timestamp) - extract(epoch from '2026-07-21 12:37:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836736 -2.650113)'), GeomFromEWKT('SRID=4674;POINT (-39.836712 -2.650113)'))) / (select extract(epoch from '2026-07-21 12:37:07'::timestamp) - extract(epoch from '2026-07-21 12:37: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.836708 -2.650094)', '2026-07-21 12:37:12', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836712 -2.650113)'), GeomFromEWKT('SRID=4674;POINT (-39.836708 -2.650094)'))) / (select extract(epoch from '2026-07-21 12:37:12'::timestamp) - extract(epoch from '2026-07-21 12:37:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836712 -2.650113)'), GeomFromEWKT('SRID=4674;POINT (-39.836708 -2.650094)'))) / (select extract(epoch from '2026-07-21 12:37:12'::timestamp) - extract(epoch from '2026-07-21 12:37: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.836717 -2.650064)', '2026-07-21 12:37:18', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836708 -2.650094)'), GeomFromEWKT('SRID=4674;POINT (-39.836717 -2.650064)'))) / (select extract(epoch from '2026-07-21 12:37:18'::timestamp) - extract(epoch from '2026-07-21 12:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836708 -2.650094)'), GeomFromEWKT('SRID=4674;POINT (-39.836717 -2.650064)'))) / (select extract(epoch from '2026-07-21 12:37:18'::timestamp) - extract(epoch from '2026-07-21 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.836732 -2.650026)', '2026-07-21 12:37:26', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836717 -2.650064)'), GeomFromEWKT('SRID=4674;POINT (-39.836732 -2.650026)'))) / (select extract(epoch from '2026-07-21 12:37:26'::timestamp) - extract(epoch from '2026-07-21 12:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836717 -2.650064)'), GeomFromEWKT('SRID=4674;POINT (-39.836732 -2.650026)'))) / (select extract(epoch from '2026-07-21 12:37:26'::timestamp) - extract(epoch from '2026-07-21 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.836711 -2.649989)', '2026-07-21 12:37:33', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836732 -2.650026)'), GeomFromEWKT('SRID=4674;POINT (-39.836711 -2.649989)'))) / (select extract(epoch from '2026-07-21 12:37:33'::timestamp) - extract(epoch from '2026-07-21 12:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836732 -2.650026)'), GeomFromEWKT('SRID=4674;POINT (-39.836711 -2.649989)'))) / (select extract(epoch from '2026-07-21 12:37:33'::timestamp) - extract(epoch from '2026-07-21 12:37: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.836701 -2.649946)', '2026-07-21 12:37:42', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836711 -2.649989)'), GeomFromEWKT('SRID=4674;POINT (-39.836701 -2.649946)'))) / (select extract(epoch from '2026-07-21 12:37:42'::timestamp) - extract(epoch from '2026-07-21 12:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836711 -2.649989)'), GeomFromEWKT('SRID=4674;POINT (-39.836701 -2.649946)'))) / (select extract(epoch from '2026-07-21 12:37:42'::timestamp) - extract(epoch from '2026-07-21 12:37: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.836713 -2.6499)', '2026-07-21 12:37:51', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836701 -2.649946)'), GeomFromEWKT('SRID=4674;POINT (-39.836713 -2.6499)'))) / (select extract(epoch from '2026-07-21 12:37:51'::timestamp) - extract(epoch from '2026-07-21 12:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836701 -2.649946)'), GeomFromEWKT('SRID=4674;POINT (-39.836713 -2.6499)'))) / (select extract(epoch from '2026-07-21 12:37:51'::timestamp) - extract(epoch from '2026-07-21 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.836732 -2.649857)', '2026-07-21 12:37:59', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836713 -2.6499)'), GeomFromEWKT('SRID=4674;POINT (-39.836732 -2.649857)'))) / (select extract(epoch from '2026-07-21 12:37:59'::timestamp) - extract(epoch from '2026-07-21 12:37:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836713 -2.6499)'), GeomFromEWKT('SRID=4674;POINT (-39.836732 -2.649857)'))) / (select extract(epoch from '2026-07-21 12:37:59'::timestamp) - extract(epoch from '2026-07-21 12:37:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836754 -2.649824)', '2026-07-21 12:38:07', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836732 -2.649857)'), GeomFromEWKT('SRID=4674;POINT (-39.836754 -2.649824)'))) / (select extract(epoch from '2026-07-21 12:38:07'::timestamp) - extract(epoch from '2026-07-21 12:37:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836732 -2.649857)'), GeomFromEWKT('SRID=4674;POINT (-39.836754 -2.649824)'))) / (select extract(epoch from '2026-07-21 12:38:07'::timestamp) - extract(epoch from '2026-07-21 12:37: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.836776 -2.649798)', '2026-07-21 12:38:14', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836754 -2.649824)'), GeomFromEWKT('SRID=4674;POINT (-39.836776 -2.649798)'))) / (select extract(epoch from '2026-07-21 12:38:14'::timestamp) - extract(epoch from '2026-07-21 12:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836754 -2.649824)'), GeomFromEWKT('SRID=4674;POINT (-39.836776 -2.649798)'))) / (select extract(epoch from '2026-07-21 12:38:14'::timestamp) - extract(epoch from '2026-07-21 12:38: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.8368 -2.649783)', '2026-07-21 12:38:20', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836776 -2.649798)'), GeomFromEWKT('SRID=4674;POINT (-39.8368 -2.649783)'))) / (select extract(epoch from '2026-07-21 12:38:20'::timestamp) - extract(epoch from '2026-07-21 12:38:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836776 -2.649798)'), GeomFromEWKT('SRID=4674;POINT (-39.8368 -2.649783)'))) / (select extract(epoch from '2026-07-21 12:38:20'::timestamp) - extract(epoch from '2026-07-21 12:38: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.83683 -2.649775)', '2026-07-21 12:38:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8368 -2.649783)'), GeomFromEWKT('SRID=4674;POINT (-39.83683 -2.649775)'))) / (select extract(epoch from '2026-07-21 12:38:27'::timestamp) - extract(epoch from '2026-07-21 12:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8368 -2.649783)'), GeomFromEWKT('SRID=4674;POINT (-39.83683 -2.649775)'))) / (select extract(epoch from '2026-07-21 12:38:27'::timestamp) - extract(epoch from '2026-07-21 12:38: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.836855 -2.64976)', '2026-07-21 12:38:32', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83683 -2.649775)'), GeomFromEWKT('SRID=4674;POINT (-39.836855 -2.64976)'))) / (select extract(epoch from '2026-07-21 12:38:32'::timestamp) - extract(epoch from '2026-07-21 12:38:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83683 -2.649775)'), GeomFromEWKT('SRID=4674;POINT (-39.836855 -2.64976)'))) / (select extract(epoch from '2026-07-21 12:38:32'::timestamp) - extract(epoch from '2026-07-21 12:38: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.836878 -2.64974)', '2026-07-21 12:38:38', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836855 -2.64976)'), GeomFromEWKT('SRID=4674;POINT (-39.836878 -2.64974)'))) / (select extract(epoch from '2026-07-21 12:38:38'::timestamp) - extract(epoch from '2026-07-21 12:38:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836855 -2.64976)'), GeomFromEWKT('SRID=4674;POINT (-39.836878 -2.64974)'))) / (select extract(epoch from '2026-07-21 12:38:38'::timestamp) - extract(epoch from '2026-07-21 12:38: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.836899 -2.649731)', '2026-07-21 12:38:41', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836878 -2.64974)'), GeomFromEWKT('SRID=4674;POINT (-39.836899 -2.649731)'))) / (select extract(epoch from '2026-07-21 12:38:41'::timestamp) - extract(epoch from '2026-07-21 12:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836878 -2.64974)'), GeomFromEWKT('SRID=4674;POINT (-39.836899 -2.649731)'))) / (select extract(epoch from '2026-07-21 12:38:41'::timestamp) - extract(epoch from '2026-07-21 12:38: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.836909 -2.649729)', '2026-07-21 12:38:43', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836899 -2.649731)'), GeomFromEWKT('SRID=4674;POINT (-39.836909 -2.649729)'))) / (select extract(epoch from '2026-07-21 12:38:43'::timestamp) - extract(epoch from '2026-07-21 12:38:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836899 -2.649731)'), GeomFromEWKT('SRID=4674;POINT (-39.836909 -2.649729)'))) / (select extract(epoch from '2026-07-21 12:38:43'::timestamp) - extract(epoch from '2026-07-21 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.836938 -2.649709)', '2026-07-21 12:38:50', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836909 -2.649729)'), GeomFromEWKT('SRID=4674;POINT (-39.836938 -2.649709)'))) / (select extract(epoch from '2026-07-21 12:38:50'::timestamp) - extract(epoch from '2026-07-21 12:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836909 -2.649729)'), GeomFromEWKT('SRID=4674;POINT (-39.836938 -2.649709)'))) / (select extract(epoch from '2026-07-21 12:38:50'::timestamp) - extract(epoch from '2026-07-21 12:38:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836957 -2.649684)', '2026-07-21 12:38:57', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836938 -2.649709)'), GeomFromEWKT('SRID=4674;POINT (-39.836957 -2.649684)'))) / (select extract(epoch from '2026-07-21 12:38:57'::timestamp) - extract(epoch from '2026-07-21 12:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836938 -2.649709)'), GeomFromEWKT('SRID=4674;POINT (-39.836957 -2.649684)'))) / (select extract(epoch from '2026-07-21 12:38:57'::timestamp) - extract(epoch from '2026-07-21 12:38:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836971 -2.649667)', '2026-07-21 12:39:04', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836957 -2.649684)'), GeomFromEWKT('SRID=4674;POINT (-39.836971 -2.649667)'))) / (select extract(epoch from '2026-07-21 12:39:04'::timestamp) - extract(epoch from '2026-07-21 12:38:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836957 -2.649684)'), GeomFromEWKT('SRID=4674;POINT (-39.836971 -2.649667)'))) / (select extract(epoch from '2026-07-21 12:39:04'::timestamp) - extract(epoch from '2026-07-21 12:38:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836984 -2.649635)', '2026-07-21 12:39:10', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836971 -2.649667)'), GeomFromEWKT('SRID=4674;POINT (-39.836984 -2.649635)'))) / (select extract(epoch from '2026-07-21 12:39:10'::timestamp) - extract(epoch from '2026-07-21 12:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836971 -2.649667)'), GeomFromEWKT('SRID=4674;POINT (-39.836984 -2.649635)'))) / (select extract(epoch from '2026-07-21 12:39:10'::timestamp) - extract(epoch from '2026-07-21 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.837004 -2.649608)', '2026-07-21 12:39:17', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836984 -2.649635)'), GeomFromEWKT('SRID=4674;POINT (-39.837004 -2.649608)'))) / (select extract(epoch from '2026-07-21 12:39:17'::timestamp) - extract(epoch from '2026-07-21 12:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836984 -2.649635)'), GeomFromEWKT('SRID=4674;POINT (-39.837004 -2.649608)'))) / (select extract(epoch from '2026-07-21 12:39:17'::timestamp) - extract(epoch from '2026-07-21 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.837023 -2.649581)', '2026-07-21 12:39:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837004 -2.649608)'), GeomFromEWKT('SRID=4674;POINT (-39.837023 -2.649581)'))) / (select extract(epoch from '2026-07-21 12:39:23'::timestamp) - extract(epoch from '2026-07-21 12:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837004 -2.649608)'), GeomFromEWKT('SRID=4674;POINT (-39.837023 -2.649581)'))) / (select extract(epoch from '2026-07-21 12:39:23'::timestamp) - extract(epoch from '2026-07-21 12:39: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.837036 -2.649571)', '2026-07-21 12:39:26', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837023 -2.649581)'), GeomFromEWKT('SRID=4674;POINT (-39.837036 -2.649571)'))) / (select extract(epoch from '2026-07-21 12:39:26'::timestamp) - extract(epoch from '2026-07-21 12:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837023 -2.649581)'), GeomFromEWKT('SRID=4674;POINT (-39.837036 -2.649571)'))) / (select extract(epoch from '2026-07-21 12:39:26'::timestamp) - extract(epoch from '2026-07-21 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.837049 -2.649561)', '2026-07-21 12:39:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837036 -2.649571)'), GeomFromEWKT('SRID=4674;POINT (-39.837049 -2.649561)'))) / (select extract(epoch from '2026-07-21 12:39:29'::timestamp) - extract(epoch from '2026-07-21 12:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837036 -2.649571)'), GeomFromEWKT('SRID=4674;POINT (-39.837049 -2.649561)'))) / (select extract(epoch from '2026-07-21 12:39:29'::timestamp) - extract(epoch from '2026-07-21 12:39:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.837067 -2.649543)', '2026-07-21 12:39:35', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837049 -2.649561)'), GeomFromEWKT('SRID=4674;POINT (-39.837067 -2.649543)'))) / (select extract(epoch from '2026-07-21 12:39:35'::timestamp) - extract(epoch from '2026-07-21 12:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837049 -2.649561)'), GeomFromEWKT('SRID=4674;POINT (-39.837067 -2.649543)'))) / (select extract(epoch from '2026-07-21 12:39:35'::timestamp) - extract(epoch from '2026-07-21 12:39: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.837082 -2.649532)', '2026-07-21 12:39:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837067 -2.649543)'), GeomFromEWKT('SRID=4674;POINT (-39.837082 -2.649532)'))) / (select extract(epoch from '2026-07-21 12:39:43'::timestamp) - extract(epoch from '2026-07-21 12:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837067 -2.649543)'), GeomFromEWKT('SRID=4674;POINT (-39.837082 -2.649532)'))) / (select extract(epoch from '2026-07-21 12:39:43'::timestamp) - extract(epoch from '2026-07-21 12:39: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.837111 -2.649515)', '2026-07-21 12:39:56', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837082 -2.649532)'), GeomFromEWKT('SRID=4674;POINT (-39.837111 -2.649515)'))) / (select extract(epoch from '2026-07-21 12:39:56'::timestamp) - extract(epoch from '2026-07-21 12:39:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837082 -2.649532)'), GeomFromEWKT('SRID=4674;POINT (-39.837111 -2.649515)'))) / (select extract(epoch from '2026-07-21 12:39:56'::timestamp) - extract(epoch from '2026-07-21 12:39: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.837143 -2.649493)', '2026-07-21 12:40:02', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837111 -2.649515)'), GeomFromEWKT('SRID=4674;POINT (-39.837143 -2.649493)'))) / (select extract(epoch from '2026-07-21 12:40:02'::timestamp) - extract(epoch from '2026-07-21 12:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837111 -2.649515)'), GeomFromEWKT('SRID=4674;POINT (-39.837143 -2.649493)'))) / (select extract(epoch from '2026-07-21 12:40:02'::timestamp) - extract(epoch from '2026-07-21 12:39: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.837178 -2.649487)', '2026-07-21 12:40:09', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837143 -2.649493)'), GeomFromEWKT('SRID=4674;POINT (-39.837178 -2.649487)'))) / (select extract(epoch from '2026-07-21 12:40:09'::timestamp) - extract(epoch from '2026-07-21 12:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837143 -2.649493)'), GeomFromEWKT('SRID=4674;POINT (-39.837178 -2.649487)'))) / (select extract(epoch from '2026-07-21 12:40:09'::timestamp) - extract(epoch from '2026-07-21 12:40:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.837205 -2.649472)', '2026-07-21 12:40:15', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837178 -2.649487)'), GeomFromEWKT('SRID=4674;POINT (-39.837205 -2.649472)'))) / (select extract(epoch from '2026-07-21 12:40:15'::timestamp) - extract(epoch from '2026-07-21 12:40:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837178 -2.649487)'), GeomFromEWKT('SRID=4674;POINT (-39.837205 -2.649472)'))) / (select extract(epoch from '2026-07-21 12:40:15'::timestamp) - extract(epoch from '2026-07-21 12:40:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.837244 -2.649468)', '2026-07-21 12:40:21', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837205 -2.649472)'), GeomFromEWKT('SRID=4674;POINT (-39.837244 -2.649468)'))) / (select extract(epoch from '2026-07-21 12:40:21'::timestamp) - extract(epoch from '2026-07-21 12:40:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837205 -2.649472)'), GeomFromEWKT('SRID=4674;POINT (-39.837244 -2.649468)'))) / (select extract(epoch from '2026-07-21 12:40:21'::timestamp) - extract(epoch from '2026-07-21 12:40: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.837281 -2.649457)', '2026-07-21 12:40:28', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837244 -2.649468)'), GeomFromEWKT('SRID=4674;POINT (-39.837281 -2.649457)'))) / (select extract(epoch from '2026-07-21 12:40:28'::timestamp) - extract(epoch from '2026-07-21 12:40:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837244 -2.649468)'), GeomFromEWKT('SRID=4674;POINT (-39.837281 -2.649457)'))) / (select extract(epoch from '2026-07-21 12:40:28'::timestamp) - extract(epoch from '2026-07-21 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.837309 -2.649459)', '2026-07-21 12:40:34', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837281 -2.649457)'), GeomFromEWKT('SRID=4674;POINT (-39.837309 -2.649459)'))) / (select extract(epoch from '2026-07-21 12:40:34'::timestamp) - extract(epoch from '2026-07-21 12:40:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837281 -2.649457)'), GeomFromEWKT('SRID=4674;POINT (-39.837309 -2.649459)'))) / (select extract(epoch from '2026-07-21 12:40:34'::timestamp) - extract(epoch from '2026-07-21 12:40: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.83732 -2.649461)', '2026-07-21 12:40:40', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837309 -2.649459)'), GeomFromEWKT('SRID=4674;POINT (-39.83732 -2.649461)'))) / (select extract(epoch from '2026-07-21 12:40:40'::timestamp) - extract(epoch from '2026-07-21 12:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837309 -2.649459)'), GeomFromEWKT('SRID=4674;POINT (-39.83732 -2.649461)'))) / (select extract(epoch from '2026-07-21 12:40:40'::timestamp) - extract(epoch from '2026-07-21 12:40:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.837285 -2.649481)', '2026-07-21 12:40:48', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83732 -2.649461)'), GeomFromEWKT('SRID=4674;POINT (-39.837285 -2.649481)'))) / (select extract(epoch from '2026-07-21 12:40:48'::timestamp) - extract(epoch from '2026-07-21 12:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83732 -2.649461)'), GeomFromEWKT('SRID=4674;POINT (-39.837285 -2.649481)'))) / (select extract(epoch from '2026-07-21 12:40:48'::timestamp) - extract(epoch from '2026-07-21 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.837218 -2.649514)', '2026-07-21 12:40:54', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837285 -2.649481)'), GeomFromEWKT('SRID=4674;POINT (-39.837218 -2.649514)'))) / (select extract(epoch from '2026-07-21 12:40:54'::timestamp) - extract(epoch from '2026-07-21 12:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837285 -2.649481)'), GeomFromEWKT('SRID=4674;POINT (-39.837218 -2.649514)'))) / (select extract(epoch from '2026-07-21 12:40:54'::timestamp) - extract(epoch from '2026-07-21 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.83718 -2.649549)', '2026-07-21 12:40:58', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837218 -2.649514)'), GeomFromEWKT('SRID=4674;POINT (-39.83718 -2.649549)'))) / (select extract(epoch from '2026-07-21 12:40:58'::timestamp) - extract(epoch from '2026-07-21 12:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837218 -2.649514)'), GeomFromEWKT('SRID=4674;POINT (-39.83718 -2.649549)'))) / (select extract(epoch from '2026-07-21 12:40:58'::timestamp) - extract(epoch from '2026-07-21 12:40: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.83712 -2.649602)', '2026-07-21 12:41:03', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83718 -2.649549)'), GeomFromEWKT('SRID=4674;POINT (-39.83712 -2.649602)'))) / (select extract(epoch from '2026-07-21 12:41:03'::timestamp) - extract(epoch from '2026-07-21 12:40:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83718 -2.649549)'), GeomFromEWKT('SRID=4674;POINT (-39.83712 -2.649602)'))) / (select extract(epoch from '2026-07-21 12:41:03'::timestamp) - extract(epoch from '2026-07-21 12:40: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.837066 -2.649644)', '2026-07-21 12:41:07', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83712 -2.649602)'), GeomFromEWKT('SRID=4674;POINT (-39.837066 -2.649644)'))) / (select extract(epoch from '2026-07-21 12:41:07'::timestamp) - extract(epoch from '2026-07-21 12:41:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83712 -2.649602)'), GeomFromEWKT('SRID=4674;POINT (-39.837066 -2.649644)'))) / (select extract(epoch from '2026-07-21 12:41:07'::timestamp) - extract(epoch from '2026-07-21 12:41: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.837021 -2.649682)', '2026-07-21 12:41:11', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837066 -2.649644)'), GeomFromEWKT('SRID=4674;POINT (-39.837021 -2.649682)'))) / (select extract(epoch from '2026-07-21 12:41:11'::timestamp) - extract(epoch from '2026-07-21 12:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837066 -2.649644)'), GeomFromEWKT('SRID=4674;POINT (-39.837021 -2.649682)'))) / (select extract(epoch from '2026-07-21 12:41:11'::timestamp) - extract(epoch from '2026-07-21 12:41: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.836973 -2.649721)', '2026-07-21 12:41:15', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837021 -2.649682)'), GeomFromEWKT('SRID=4674;POINT (-39.836973 -2.649721)'))) / (select extract(epoch from '2026-07-21 12:41:15'::timestamp) - extract(epoch from '2026-07-21 12:41:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837021 -2.649682)'), GeomFromEWKT('SRID=4674;POINT (-39.836973 -2.649721)'))) / (select extract(epoch from '2026-07-21 12:41:15'::timestamp) - extract(epoch from '2026-07-21 12:41:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836965 -2.649735)', '2026-07-21 12:41:16', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836973 -2.649721)'), GeomFromEWKT('SRID=4674;POINT (-39.836965 -2.649735)'))) / (select extract(epoch from '2026-07-21 12:41:16'::timestamp) - extract(epoch from '2026-07-21 12:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836973 -2.649721)'), GeomFromEWKT('SRID=4674;POINT (-39.836965 -2.649735)'))) / (select extract(epoch from '2026-07-21 12:41:16'::timestamp) - extract(epoch from '2026-07-21 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.836929 -2.649816)', '2026-07-21 12:41:21', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836965 -2.649735)'), GeomFromEWKT('SRID=4674;POINT (-39.836929 -2.649816)'))) / (select extract(epoch from '2026-07-21 12:41:21'::timestamp) - extract(epoch from '2026-07-21 12:41:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836965 -2.649735)'), GeomFromEWKT('SRID=4674;POINT (-39.836929 -2.649816)'))) / (select extract(epoch from '2026-07-21 12:41:21'::timestamp) - extract(epoch from '2026-07-21 12:41: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.836897 -2.649891)', '2026-07-21 12:41:26', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836929 -2.649816)'), GeomFromEWKT('SRID=4674;POINT (-39.836897 -2.649891)'))) / (select extract(epoch from '2026-07-21 12:41:26'::timestamp) - extract(epoch from '2026-07-21 12:41:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836929 -2.649816)'), GeomFromEWKT('SRID=4674;POINT (-39.836897 -2.649891)'))) / (select extract(epoch from '2026-07-21 12:41:26'::timestamp) - extract(epoch from '2026-07-21 12:41: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.836863 -2.649954)', '2026-07-21 12:41:31', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836897 -2.649891)'), GeomFromEWKT('SRID=4674;POINT (-39.836863 -2.649954)'))) / (select extract(epoch from '2026-07-21 12:41:31'::timestamp) - extract(epoch from '2026-07-21 12:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836897 -2.649891)'), GeomFromEWKT('SRID=4674;POINT (-39.836863 -2.649954)'))) / (select extract(epoch from '2026-07-21 12:41:31'::timestamp) - extract(epoch from '2026-07-21 12:41:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836853 -2.649962)', '2026-07-21 12:41:32', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836863 -2.649954)'), GeomFromEWKT('SRID=4674;POINT (-39.836853 -2.649962)'))) / (select extract(epoch from '2026-07-21 12:41:32'::timestamp) - extract(epoch from '2026-07-21 12:41:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836863 -2.649954)'), GeomFromEWKT('SRID=4674;POINT (-39.836853 -2.649962)'))) / (select extract(epoch from '2026-07-21 12:41:32'::timestamp) - extract(epoch from '2026-07-21 12:41:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836818 -2.649986)', '2026-07-21 12:41:35', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836853 -2.649962)'), GeomFromEWKT('SRID=4674;POINT (-39.836818 -2.649986)'))) / (select extract(epoch from '2026-07-21 12:41:35'::timestamp) - extract(epoch from '2026-07-21 12:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836853 -2.649962)'), GeomFromEWKT('SRID=4674;POINT (-39.836818 -2.649986)'))) / (select extract(epoch from '2026-07-21 12:41:35'::timestamp) - extract(epoch from '2026-07-21 12:41:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836811 -2.649996)', '2026-07-21 12:41:36', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836818 -2.649986)'), GeomFromEWKT('SRID=4674;POINT (-39.836811 -2.649996)'))) / (select extract(epoch from '2026-07-21 12:41:36'::timestamp) - extract(epoch from '2026-07-21 12:41:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836818 -2.649986)'), GeomFromEWKT('SRID=4674;POINT (-39.836811 -2.649996)'))) / (select extract(epoch from '2026-07-21 12:41:36'::timestamp) - extract(epoch from '2026-07-21 12:41: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.836777 -2.65002)', '2026-07-21 12:41:39', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836811 -2.649996)'), GeomFromEWKT('SRID=4674;POINT (-39.836777 -2.65002)'))) / (select extract(epoch from '2026-07-21 12:41:39'::timestamp) - extract(epoch from '2026-07-21 12:41:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836811 -2.649996)'), GeomFromEWKT('SRID=4674;POINT (-39.836777 -2.65002)'))) / (select extract(epoch from '2026-07-21 12:41:39'::timestamp) - extract(epoch from '2026-07-21 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.836703 -2.650044)', '2026-07-21 12:41:45', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836777 -2.65002)'), GeomFromEWKT('SRID=4674;POINT (-39.836703 -2.650044)'))) / (select extract(epoch from '2026-07-21 12:41:45'::timestamp) - extract(epoch from '2026-07-21 12:41:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836777 -2.65002)'), GeomFromEWKT('SRID=4674;POINT (-39.836703 -2.650044)'))) / (select extract(epoch from '2026-07-21 12:41:45'::timestamp) - extract(epoch from '2026-07-21 12:41: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.836641 -2.650056)', '2026-07-21 12:41:52', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836703 -2.650044)'), GeomFromEWKT('SRID=4674;POINT (-39.836641 -2.650056)'))) / (select extract(epoch from '2026-07-21 12:41:52'::timestamp) - extract(epoch from '2026-07-21 12:41:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836703 -2.650044)'), GeomFromEWKT('SRID=4674;POINT (-39.836641 -2.650056)'))) / (select extract(epoch from '2026-07-21 12:41:52'::timestamp) - extract(epoch from '2026-07-21 12:41: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.836614 -2.650055)', '2026-07-21 12:41:59', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836641 -2.650056)'), GeomFromEWKT('SRID=4674;POINT (-39.836614 -2.650055)'))) / (select extract(epoch from '2026-07-21 12:41:59'::timestamp) - extract(epoch from '2026-07-21 12:41:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836641 -2.650056)'), GeomFromEWKT('SRID=4674;POINT (-39.836614 -2.650055)'))) / (select extract(epoch from '2026-07-21 12:41:59'::timestamp) - extract(epoch from '2026-07-21 12:41:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836621 -2.650034)', '2026-07-21 12:42:08', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836614 -2.650055)'), GeomFromEWKT('SRID=4674;POINT (-39.836621 -2.650034)'))) / (select extract(epoch from '2026-07-21 12:42:08'::timestamp) - extract(epoch from '2026-07-21 12:41:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836614 -2.650055)'), GeomFromEWKT('SRID=4674;POINT (-39.836621 -2.650034)'))) / (select extract(epoch from '2026-07-21 12:42:08'::timestamp) - extract(epoch from '2026-07-21 12:41:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836632 -2.649995)', '2026-07-21 12:42:16', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836621 -2.650034)'), GeomFromEWKT('SRID=4674;POINT (-39.836632 -2.649995)'))) / (select extract(epoch from '2026-07-21 12:42:16'::timestamp) - extract(epoch from '2026-07-21 12:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836621 -2.650034)'), GeomFromEWKT('SRID=4674;POINT (-39.836632 -2.649995)'))) / (select extract(epoch from '2026-07-21 12:42:16'::timestamp) - extract(epoch from '2026-07-21 12:42:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836643 -2.649978)', '2026-07-21 12:42:23', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836632 -2.649995)'), GeomFromEWKT('SRID=4674;POINT (-39.836643 -2.649978)'))) / (select extract(epoch from '2026-07-21 12:42:23'::timestamp) - extract(epoch from '2026-07-21 12:42:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836632 -2.649995)'), GeomFromEWKT('SRID=4674;POINT (-39.836643 -2.649978)'))) / (select extract(epoch from '2026-07-21 12:42:23'::timestamp) - extract(epoch from '2026-07-21 12:42:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836663 -2.649948)', '2026-07-21 12:42:30', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836643 -2.649978)'), GeomFromEWKT('SRID=4674;POINT (-39.836663 -2.649948)'))) / (select extract(epoch from '2026-07-21 12:42:30'::timestamp) - extract(epoch from '2026-07-21 12:42:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836643 -2.649978)'), GeomFromEWKT('SRID=4674;POINT (-39.836663 -2.649948)'))) / (select extract(epoch from '2026-07-21 12:42:30'::timestamp) - extract(epoch from '2026-07-21 12:42: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.836677 -2.649921)', '2026-07-21 12:42:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836663 -2.649948)'), GeomFromEWKT('SRID=4674;POINT (-39.836677 -2.649921)'))) / (select extract(epoch from '2026-07-21 12:42:35'::timestamp) - extract(epoch from '2026-07-21 12:42:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836663 -2.649948)'), GeomFromEWKT('SRID=4674;POINT (-39.836677 -2.649921)'))) / (select extract(epoch from '2026-07-21 12:42:35'::timestamp) - extract(epoch from '2026-07-21 12:42:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836712 -2.649885)', '2026-07-21 12:42:43', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836677 -2.649921)'), GeomFromEWKT('SRID=4674;POINT (-39.836712 -2.649885)'))) / (select extract(epoch from '2026-07-21 12:42:43'::timestamp) - extract(epoch from '2026-07-21 12:42:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836677 -2.649921)'), GeomFromEWKT('SRID=4674;POINT (-39.836712 -2.649885)'))) / (select extract(epoch from '2026-07-21 12:42:43'::timestamp) - extract(epoch from '2026-07-21 12:42:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836746 -2.649853)', '2026-07-21 12:42:50', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836712 -2.649885)'), GeomFromEWKT('SRID=4674;POINT (-39.836746 -2.649853)'))) / (select extract(epoch from '2026-07-21 12:42:50'::timestamp) - extract(epoch from '2026-07-21 12:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836712 -2.649885)'), GeomFromEWKT('SRID=4674;POINT (-39.836746 -2.649853)'))) / (select extract(epoch from '2026-07-21 12:42:50'::timestamp) - extract(epoch from '2026-07-21 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.836776 -2.649825)', '2026-07-21 12:42:56', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836746 -2.649853)'), GeomFromEWKT('SRID=4674;POINT (-39.836776 -2.649825)'))) / (select extract(epoch from '2026-07-21 12:42:56'::timestamp) - extract(epoch from '2026-07-21 12:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836746 -2.649853)'), GeomFromEWKT('SRID=4674;POINT (-39.836776 -2.649825)'))) / (select extract(epoch from '2026-07-21 12:42:56'::timestamp) - extract(epoch from '2026-07-21 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.836802 -2.6498)', '2026-07-21 12:43:01', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836776 -2.649825)'), GeomFromEWKT('SRID=4674;POINT (-39.836802 -2.6498)'))) / (select extract(epoch from '2026-07-21 12:43:01'::timestamp) - extract(epoch from '2026-07-21 12:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836776 -2.649825)'), GeomFromEWKT('SRID=4674;POINT (-39.836802 -2.6498)'))) / (select extract(epoch from '2026-07-21 12:43:01'::timestamp) - extract(epoch from '2026-07-21 12:42:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.83682 -2.649781)', '2026-07-21 12:43:07', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836802 -2.6498)'), GeomFromEWKT('SRID=4674;POINT (-39.83682 -2.649781)'))) / (select extract(epoch from '2026-07-21 12:43:07'::timestamp) - extract(epoch from '2026-07-21 12:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836802 -2.6498)'), GeomFromEWKT('SRID=4674;POINT (-39.83682 -2.649781)'))) / (select extract(epoch from '2026-07-21 12:43:07'::timestamp) - extract(epoch from '2026-07-21 12:43: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.836833 -2.649756)', '2026-07-21 12:43:12', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83682 -2.649781)'), GeomFromEWKT('SRID=4674;POINT (-39.836833 -2.649756)'))) / (select extract(epoch from '2026-07-21 12:43:12'::timestamp) - extract(epoch from '2026-07-21 12:43:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83682 -2.649781)'), GeomFromEWKT('SRID=4674;POINT (-39.836833 -2.649756)'))) / (select extract(epoch from '2026-07-21 12:43:12'::timestamp) - extract(epoch from '2026-07-21 12:43: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.836856 -2.649734)', '2026-07-21 12:43:18', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836833 -2.649756)'), GeomFromEWKT('SRID=4674;POINT (-39.836856 -2.649734)'))) / (select extract(epoch from '2026-07-21 12:43:18'::timestamp) - extract(epoch from '2026-07-21 12:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836833 -2.649756)'), GeomFromEWKT('SRID=4674;POINT (-39.836856 -2.649734)'))) / (select extract(epoch from '2026-07-21 12:43:18'::timestamp) - extract(epoch from '2026-07-21 12:43: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.836901 -2.649696)', '2026-07-21 12:43:27', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836856 -2.649734)'), GeomFromEWKT('SRID=4674;POINT (-39.836901 -2.649696)'))) / (select extract(epoch from '2026-07-21 12:43:27'::timestamp) - extract(epoch from '2026-07-21 12:43:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836856 -2.649734)'), GeomFromEWKT('SRID=4674;POINT (-39.836901 -2.649696)'))) / (select extract(epoch from '2026-07-21 12:43:27'::timestamp) - extract(epoch from '2026-07-21 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.83693 -2.649671)', '2026-07-21 12:43:34', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836901 -2.649696)'), GeomFromEWKT('SRID=4674;POINT (-39.83693 -2.649671)'))) / (select extract(epoch from '2026-07-21 12:43:34'::timestamp) - extract(epoch from '2026-07-21 12:43:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836901 -2.649696)'), GeomFromEWKT('SRID=4674;POINT (-39.83693 -2.649671)'))) / (select extract(epoch from '2026-07-21 12:43:34'::timestamp) - extract(epoch from '2026-07-21 12:43:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836961 -2.649654)', '2026-07-21 12:43:41', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83693 -2.649671)'), GeomFromEWKT('SRID=4674;POINT (-39.836961 -2.649654)'))) / (select extract(epoch from '2026-07-21 12:43:41'::timestamp) - extract(epoch from '2026-07-21 12:43:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83693 -2.649671)'), GeomFromEWKT('SRID=4674;POINT (-39.836961 -2.649654)'))) / (select extract(epoch from '2026-07-21 12:43:41'::timestamp) - extract(epoch from '2026-07-21 12:43:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836972 -2.64964)', '2026-07-21 12:43:47', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836961 -2.649654)'), GeomFromEWKT('SRID=4674;POINT (-39.836972 -2.64964)'))) / (select extract(epoch from '2026-07-21 12:43:47'::timestamp) - extract(epoch from '2026-07-21 12:43:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836961 -2.649654)'), GeomFromEWKT('SRID=4674;POINT (-39.836972 -2.64964)'))) / (select extract(epoch from '2026-07-21 12:43:47'::timestamp) - extract(epoch from '2026-07-21 12:43:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.836998 -2.649627)', '2026-07-21 12:43:54', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836972 -2.64964)'), GeomFromEWKT('SRID=4674;POINT (-39.836998 -2.649627)'))) / (select extract(epoch from '2026-07-21 12:43:54'::timestamp) - extract(epoch from '2026-07-21 12:43:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836972 -2.64964)'), GeomFromEWKT('SRID=4674;POINT (-39.836998 -2.649627)'))) / (select extract(epoch from '2026-07-21 12:43:54'::timestamp) - extract(epoch from '2026-07-21 12:43: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.837031 -2.64962)', '2026-07-21 12:44:01', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836998 -2.649627)'), GeomFromEWKT('SRID=4674;POINT (-39.837031 -2.64962)'))) / (select extract(epoch from '2026-07-21 12:44:01'::timestamp) - extract(epoch from '2026-07-21 12:43:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.836998 -2.649627)'), GeomFromEWKT('SRID=4674;POINT (-39.837031 -2.64962)'))) / (select extract(epoch from '2026-07-21 12:44:01'::timestamp) - extract(epoch from '2026-07-21 12:43: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.837057 -2.649613)', '2026-07-21 12:44:08', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837031 -2.64962)'), GeomFromEWKT('SRID=4674;POINT (-39.837057 -2.649613)'))) / (select extract(epoch from '2026-07-21 12:44:08'::timestamp) - extract(epoch from '2026-07-21 12:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837031 -2.64962)'), GeomFromEWKT('SRID=4674;POINT (-39.837057 -2.649613)'))) / (select extract(epoch from '2026-07-21 12:44:08'::timestamp) - extract(epoch from '2026-07-21 12:44:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.837074 -2.649597)', '2026-07-21 12:44:14', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837057 -2.649613)'), GeomFromEWKT('SRID=4674;POINT (-39.837074 -2.649597)'))) / (select extract(epoch from '2026-07-21 12:44:14'::timestamp) - extract(epoch from '2026-07-21 12:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837057 -2.649613)'), GeomFromEWKT('SRID=4674;POINT (-39.837074 -2.649597)'))) / (select extract(epoch from '2026-07-21 12:44:14'::timestamp) - extract(epoch from '2026-07-21 12:44:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.837083 -2.649575)', '2026-07-21 12:44:19', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837074 -2.649597)'), GeomFromEWKT('SRID=4674;POINT (-39.837083 -2.649575)'))) / (select extract(epoch from '2026-07-21 12:44:19'::timestamp) - extract(epoch from '2026-07-21 12:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837074 -2.649597)'), GeomFromEWKT('SRID=4674;POINT (-39.837083 -2.649575)'))) / (select extract(epoch from '2026-07-21 12:44:19'::timestamp) - extract(epoch from '2026-07-21 12:44:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.837091 -2.649553)', '2026-07-21 12:44:25', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837083 -2.649575)'), GeomFromEWKT('SRID=4674;POINT (-39.837091 -2.649553)'))) / (select extract(epoch from '2026-07-21 12:44:25'::timestamp) - extract(epoch from '2026-07-21 12:44:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837083 -2.649575)'), GeomFromEWKT('SRID=4674;POINT (-39.837091 -2.649553)'))) / (select extract(epoch from '2026-07-21 12:44:25'::timestamp) - extract(epoch from '2026-07-21 12:44:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.837106 -2.649538)', '2026-07-21 12:44:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837091 -2.649553)'), GeomFromEWKT('SRID=4674;POINT (-39.837106 -2.649538)'))) / (select extract(epoch from '2026-07-21 12:44:28'::timestamp) - extract(epoch from '2026-07-21 12:44:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837091 -2.649553)'), GeomFromEWKT('SRID=4674;POINT (-39.837106 -2.649538)'))) / (select extract(epoch from '2026-07-21 12:44:28'::timestamp) - extract(epoch from '2026-07-21 12:44: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.837106 -2.649532)', '2026-07-21 12:44:29', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837106 -2.649538)'), GeomFromEWKT('SRID=4674;POINT (-39.837106 -2.649532)'))) / (select extract(epoch from '2026-07-21 12:44:29'::timestamp) - extract(epoch from '2026-07-21 12:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837106 -2.649538)'), GeomFromEWKT('SRID=4674;POINT (-39.837106 -2.649532)'))) / (select extract(epoch from '2026-07-21 12:44:29'::timestamp) - extract(epoch from '2026-07-21 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.837136 -2.649503)', '2026-07-21 12:44:36', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837106 -2.649532)'), GeomFromEWKT('SRID=4674;POINT (-39.837136 -2.649503)'))) / (select extract(epoch from '2026-07-21 12:44:36'::timestamp) - extract(epoch from '2026-07-21 12:44:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837106 -2.649532)'), GeomFromEWKT('SRID=4674;POINT (-39.837136 -2.649503)'))) / (select extract(epoch from '2026-07-21 12:44:36'::timestamp) - extract(epoch from '2026-07-21 12:44: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.837169 -2.64946)', '2026-07-21 12:44:43', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837136 -2.649503)'), GeomFromEWKT('SRID=4674;POINT (-39.837169 -2.64946)'))) / (select extract(epoch from '2026-07-21 12:44:43'::timestamp) - extract(epoch from '2026-07-21 12:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837136 -2.649503)'), GeomFromEWKT('SRID=4674;POINT (-39.837169 -2.64946)'))) / (select extract(epoch from '2026-07-21 12:44:43'::timestamp) - extract(epoch from '2026-07-21 12:44: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.83716 -2.649422)', '2026-07-21 12:44:49', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837169 -2.64946)'), GeomFromEWKT('SRID=4674;POINT (-39.83716 -2.649422)'))) / (select extract(epoch from '2026-07-21 12:44:49'::timestamp) - extract(epoch from '2026-07-21 12:44:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837169 -2.64946)'), GeomFromEWKT('SRID=4674;POINT (-39.83716 -2.649422)'))) / (select extract(epoch from '2026-07-21 12:44:49'::timestamp) - extract(epoch from '2026-07-21 12:44: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.837158 -2.649415)', '2026-07-21 12:44:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83716 -2.649422)'), GeomFromEWKT('SRID=4674;POINT (-39.837158 -2.649415)'))) / (select extract(epoch from '2026-07-21 12:44:50'::timestamp) - extract(epoch from '2026-07-21 12:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83716 -2.649422)'), GeomFromEWKT('SRID=4674;POINT (-39.837158 -2.649415)'))) / (select extract(epoch from '2026-07-21 12:44:50'::timestamp) - extract(epoch from '2026-07-21 12:44: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.837144 -2.649376)', '2026-07-21 12:44:54', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837158 -2.649415)'), GeomFromEWKT('SRID=4674;POINT (-39.837144 -2.649376)'))) / (select extract(epoch from '2026-07-21 12:44:54'::timestamp) - extract(epoch from '2026-07-21 12:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837158 -2.649415)'), GeomFromEWKT('SRID=4674;POINT (-39.837144 -2.649376)'))) / (select extract(epoch from '2026-07-21 12:44:54'::timestamp) - extract(epoch from '2026-07-21 12:44: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.837108 -2.649291)', '2026-07-21 12:45:00', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837144 -2.649376)'), GeomFromEWKT('SRID=4674;POINT (-39.837108 -2.649291)'))) / (select extract(epoch from '2026-07-21 12:45:00'::timestamp) - extract(epoch from '2026-07-21 12:44:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837144 -2.649376)'), GeomFromEWKT('SRID=4674;POINT (-39.837108 -2.649291)'))) / (select extract(epoch from '2026-07-21 12:45:00'::timestamp) - extract(epoch from '2026-07-21 12:44:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.837098 -2.649235)', '2026-07-21 12:45:03', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837108 -2.649291)'), GeomFromEWKT('SRID=4674;POINT (-39.837098 -2.649235)'))) / (select extract(epoch from '2026-07-21 12:45:03'::timestamp) - extract(epoch from '2026-07-21 12:45:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837108 -2.649291)'), GeomFromEWKT('SRID=4674;POINT (-39.837098 -2.649235)'))) / (select extract(epoch from '2026-07-21 12:45:03'::timestamp) - extract(epoch from '2026-07-21 12:45: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.83709 -2.64922)', '2026-07-21 12:45:04', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837098 -2.649235)'), GeomFromEWKT('SRID=4674;POINT (-39.83709 -2.64922)'))) / (select extract(epoch from '2026-07-21 12:45:04'::timestamp) - extract(epoch from '2026-07-21 12:45:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837098 -2.649235)'), GeomFromEWKT('SRID=4674;POINT (-39.83709 -2.64922)'))) / (select extract(epoch from '2026-07-21 12:45:04'::timestamp) - extract(epoch from '2026-07-21 12:45: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.837087 -2.649201)', '2026-07-21 12:45:05', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83709 -2.64922)'), GeomFromEWKT('SRID=4674;POINT (-39.837087 -2.649201)'))) / (select extract(epoch from '2026-07-21 12:45:05'::timestamp) - extract(epoch from '2026-07-21 12:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83709 -2.64922)'), GeomFromEWKT('SRID=4674;POINT (-39.837087 -2.649201)'))) / (select extract(epoch from '2026-07-21 12:45:05'::timestamp) - extract(epoch from '2026-07-21 12:45:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.837072 -2.649147)', '2026-07-21 12:45:08', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837087 -2.649201)'), GeomFromEWKT('SRID=4674;POINT (-39.837072 -2.649147)'))) / (select extract(epoch from '2026-07-21 12:45:08'::timestamp) - extract(epoch from '2026-07-21 12:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837087 -2.649201)'), GeomFromEWKT('SRID=4674;POINT (-39.837072 -2.649147)'))) / (select extract(epoch from '2026-07-21 12:45:08'::timestamp) - extract(epoch from '2026-07-21 12:45:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.83703 -2.649078)', '2026-07-21 12:45:12', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837072 -2.649147)'), GeomFromEWKT('SRID=4674;POINT (-39.83703 -2.649078)'))) / (select extract(epoch from '2026-07-21 12:45:12'::timestamp) - extract(epoch from '2026-07-21 12:45:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.837072 -2.649147)'), GeomFromEWKT('SRID=4674;POINT (-39.83703 -2.649078)'))) / (select extract(epoch from '2026-07-21 12:45:12'::timestamp) - extract(epoch from '2026-07-21 12:45:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
