 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.832848 -2.637055)', '2026-07-21 13:22:19', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832884 -2.637107)'), GeomFromEWKT('SRID=4674;POINT (-39.832848 -2.637055)'))) / (select extract(epoch from '2026-07-21 13:22:19'::timestamp) - extract(epoch from '2026-07-21 13:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832884 -2.637107)'), GeomFromEWKT('SRID=4674;POINT (-39.832848 -2.637055)'))) / (select extract(epoch from '2026-07-21 13:22:19'::timestamp) - extract(epoch from '2026-07-21 13:22: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.832834 -2.637044)', '2026-07-21 13:22:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832848 -2.637055)'), GeomFromEWKT('SRID=4674;POINT (-39.832834 -2.637044)'))) / (select extract(epoch from '2026-07-21 13:22:20'::timestamp) - extract(epoch from '2026-07-21 13:22:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832848 -2.637055)'), GeomFromEWKT('SRID=4674;POINT (-39.832834 -2.637044)'))) / (select extract(epoch from '2026-07-21 13:22:20'::timestamp) - extract(epoch from '2026-07-21 13:22:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.832791 -2.637013)', '2026-07-21 13:22:23', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832834 -2.637044)'), GeomFromEWKT('SRID=4674;POINT (-39.832791 -2.637013)'))) / (select extract(epoch from '2026-07-21 13:22:23'::timestamp) - extract(epoch from '2026-07-21 13:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832834 -2.637044)'), GeomFromEWKT('SRID=4674;POINT (-39.832791 -2.637013)'))) / (select extract(epoch from '2026-07-21 13:22:23'::timestamp) - extract(epoch from '2026-07-21 13:22:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.832706 -2.636979)', '2026-07-21 13:22:28', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832791 -2.637013)'), GeomFromEWKT('SRID=4674;POINT (-39.832706 -2.636979)'))) / (select extract(epoch from '2026-07-21 13:22:28'::timestamp) - extract(epoch from '2026-07-21 13:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832791 -2.637013)'), GeomFromEWKT('SRID=4674;POINT (-39.832706 -2.636979)'))) / (select extract(epoch from '2026-07-21 13:22:28'::timestamp) - extract(epoch from '2026-07-21 13:22:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.832616 -2.636953)', '2026-07-21 13:22:33', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832706 -2.636979)'), GeomFromEWKT('SRID=4674;POINT (-39.832616 -2.636953)'))) / (select extract(epoch from '2026-07-21 13:22:33'::timestamp) - extract(epoch from '2026-07-21 13:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832706 -2.636979)'), GeomFromEWKT('SRID=4674;POINT (-39.832616 -2.636953)'))) / (select extract(epoch from '2026-07-21 13:22:33'::timestamp) - extract(epoch from '2026-07-21 13:22:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.83252 -2.636916)', '2026-07-21 13:22:38', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832616 -2.636953)'), GeomFromEWKT('SRID=4674;POINT (-39.83252 -2.636916)'))) / (select extract(epoch from '2026-07-21 13:22:38'::timestamp) - extract(epoch from '2026-07-21 13:22:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832616 -2.636953)'), GeomFromEWKT('SRID=4674;POINT (-39.83252 -2.636916)'))) / (select extract(epoch from '2026-07-21 13:22:38'::timestamp) - extract(epoch from '2026-07-21 13:22:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.832482 -2.636902)', '2026-07-21 13:22:40', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83252 -2.636916)'), GeomFromEWKT('SRID=4674;POINT (-39.832482 -2.636902)'))) / (select extract(epoch from '2026-07-21 13:22:40'::timestamp) - extract(epoch from '2026-07-21 13:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83252 -2.636916)'), GeomFromEWKT('SRID=4674;POINT (-39.832482 -2.636902)'))) / (select extract(epoch from '2026-07-21 13:22:40'::timestamp) - extract(epoch from '2026-07-21 13:22:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.832431 -2.636872)', '2026-07-21 13:22:43', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832482 -2.636902)'), GeomFromEWKT('SRID=4674;POINT (-39.832431 -2.636872)'))) / (select extract(epoch from '2026-07-21 13:22:43'::timestamp) - extract(epoch from '2026-07-21 13:22:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832482 -2.636902)'), GeomFromEWKT('SRID=4674;POINT (-39.832431 -2.636872)'))) / (select extract(epoch from '2026-07-21 13:22:43'::timestamp) - extract(epoch from '2026-07-21 13:22: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.832348 -2.636834)', '2026-07-21 13:22:48', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832431 -2.636872)'), GeomFromEWKT('SRID=4674;POINT (-39.832348 -2.636834)'))) / (select extract(epoch from '2026-07-21 13:22:48'::timestamp) - extract(epoch from '2026-07-21 13:22:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832431 -2.636872)'), GeomFromEWKT('SRID=4674;POINT (-39.832348 -2.636834)'))) / (select extract(epoch from '2026-07-21 13:22:48'::timestamp) - extract(epoch from '2026-07-21 13:22:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.8323 -2.636809)', '2026-07-21 13:22:53', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832348 -2.636834)'), GeomFromEWKT('SRID=4674;POINT (-39.8323 -2.636809)'))) / (select extract(epoch from '2026-07-21 13:22:53'::timestamp) - extract(epoch from '2026-07-21 13:22:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832348 -2.636834)'), GeomFromEWKT('SRID=4674;POINT (-39.8323 -2.636809)'))) / (select extract(epoch from '2026-07-21 13:22:53'::timestamp) - extract(epoch from '2026-07-21 13:22:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.832283 -2.636783)', '2026-07-21 13:22:59', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8323 -2.636809)'), GeomFromEWKT('SRID=4674;POINT (-39.832283 -2.636783)'))) / (select extract(epoch from '2026-07-21 13:22:59'::timestamp) - extract(epoch from '2026-07-21 13:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8323 -2.636809)'), GeomFromEWKT('SRID=4674;POINT (-39.832283 -2.636783)'))) / (select extract(epoch from '2026-07-21 13:22:59'::timestamp) - extract(epoch from '2026-07-21 13:22:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.832299 -2.636736)', '2026-07-21 13:23:06', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832283 -2.636783)'), GeomFromEWKT('SRID=4674;POINT (-39.832299 -2.636736)'))) / (select extract(epoch from '2026-07-21 13:23:06'::timestamp) - extract(epoch from '2026-07-21 13:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832283 -2.636783)'), GeomFromEWKT('SRID=4674;POINT (-39.832299 -2.636736)'))) / (select extract(epoch from '2026-07-21 13:23:06'::timestamp) - extract(epoch from '2026-07-21 13: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.832313 -2.636706)', '2026-07-21 13:23:11', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832299 -2.636736)'), GeomFromEWKT('SRID=4674;POINT (-39.832313 -2.636706)'))) / (select extract(epoch from '2026-07-21 13:23:11'::timestamp) - extract(epoch from '2026-07-21 13:23:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832299 -2.636736)'), GeomFromEWKT('SRID=4674;POINT (-39.832313 -2.636706)'))) / (select extract(epoch from '2026-07-21 13:23:11'::timestamp) - extract(epoch from '2026-07-21 13:23:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.832339 -2.636674)', '2026-07-21 13:23:18', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832313 -2.636706)'), GeomFromEWKT('SRID=4674;POINT (-39.832339 -2.636674)'))) / (select extract(epoch from '2026-07-21 13:23:18'::timestamp) - extract(epoch from '2026-07-21 13:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832313 -2.636706)'), GeomFromEWKT('SRID=4674;POINT (-39.832339 -2.636674)'))) / (select extract(epoch from '2026-07-21 13:23:18'::timestamp) - extract(epoch from '2026-07-21 13:23:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.832353 -2.636648)', '2026-07-21 13:23:23', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832339 -2.636674)'), GeomFromEWKT('SRID=4674;POINT (-39.832353 -2.636648)'))) / (select extract(epoch from '2026-07-21 13:23:23'::timestamp) - extract(epoch from '2026-07-21 13:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832339 -2.636674)'), GeomFromEWKT('SRID=4674;POINT (-39.832353 -2.636648)'))) / (select extract(epoch from '2026-07-21 13:23:23'::timestamp) - extract(epoch from '2026-07-21 13:23:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.832371 -2.636619)', '2026-07-21 13:23:28', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832353 -2.636648)'), GeomFromEWKT('SRID=4674;POINT (-39.832371 -2.636619)'))) / (select extract(epoch from '2026-07-21 13:23:28'::timestamp) - extract(epoch from '2026-07-21 13:23:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832353 -2.636648)'), GeomFromEWKT('SRID=4674;POINT (-39.832371 -2.636619)'))) / (select extract(epoch from '2026-07-21 13:23:28'::timestamp) - extract(epoch from '2026-07-21 13:23: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.832387 -2.636602)', '2026-07-21 13:23:34', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832371 -2.636619)'), GeomFromEWKT('SRID=4674;POINT (-39.832387 -2.636602)'))) / (select extract(epoch from '2026-07-21 13:23:34'::timestamp) - extract(epoch from '2026-07-21 13:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832371 -2.636619)'), GeomFromEWKT('SRID=4674;POINT (-39.832387 -2.636602)'))) / (select extract(epoch from '2026-07-21 13:23:34'::timestamp) - extract(epoch from '2026-07-21 13: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.832393 -2.6366)', '2026-07-21 13:23:35', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832387 -2.636602)'), GeomFromEWKT('SRID=4674;POINT (-39.832393 -2.6366)'))) / (select extract(epoch from '2026-07-21 13:23:35'::timestamp) - extract(epoch from '2026-07-21 13:23:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832387 -2.636602)'), GeomFromEWKT('SRID=4674;POINT (-39.832393 -2.6366)'))) / (select extract(epoch from '2026-07-21 13:23:35'::timestamp) - extract(epoch from '2026-07-21 13:23: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.832417 -2.636593)', '2026-07-21 13:23:38', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832393 -2.6366)'), GeomFromEWKT('SRID=4674;POINT (-39.832417 -2.636593)'))) / (select extract(epoch from '2026-07-21 13:23:38'::timestamp) - extract(epoch from '2026-07-21 13:23:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832393 -2.6366)'), GeomFromEWKT('SRID=4674;POINT (-39.832417 -2.636593)'))) / (select extract(epoch from '2026-07-21 13:23:38'::timestamp) - extract(epoch from '2026-07-21 13:23:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.832434 -2.636575)', '2026-07-21 13:23:47', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832417 -2.636593)'), GeomFromEWKT('SRID=4674;POINT (-39.832434 -2.636575)'))) / (select extract(epoch from '2026-07-21 13:23:47'::timestamp) - extract(epoch from '2026-07-21 13:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832417 -2.636593)'), GeomFromEWKT('SRID=4674;POINT (-39.832434 -2.636575)'))) / (select extract(epoch from '2026-07-21 13:23:47'::timestamp) - extract(epoch from '2026-07-21 13:23:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.832454 -2.636564)', '2026-07-21 13:23:54', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832434 -2.636575)'), GeomFromEWKT('SRID=4674;POINT (-39.832454 -2.636564)'))) / (select extract(epoch from '2026-07-21 13:23:54'::timestamp) - extract(epoch from '2026-07-21 13:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832434 -2.636575)'), GeomFromEWKT('SRID=4674;POINT (-39.832454 -2.636564)'))) / (select extract(epoch from '2026-07-21 13:23:54'::timestamp) - extract(epoch from '2026-07-21 13:23: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.832482 -2.636561)', '2026-07-21 13:23:59', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832454 -2.636564)'), GeomFromEWKT('SRID=4674;POINT (-39.832482 -2.636561)'))) / (select extract(epoch from '2026-07-21 13:23:59'::timestamp) - extract(epoch from '2026-07-21 13:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832454 -2.636564)'), GeomFromEWKT('SRID=4674;POINT (-39.832482 -2.636561)'))) / (select extract(epoch from '2026-07-21 13:23:59'::timestamp) - extract(epoch from '2026-07-21 13:23:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.832479 -2.636555)', '2026-07-21 13:24:09', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832482 -2.636561)'), GeomFromEWKT('SRID=4674;POINT (-39.832479 -2.636555)'))) / (select extract(epoch from '2026-07-21 13:24:09'::timestamp) - extract(epoch from '2026-07-21 13:23:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832482 -2.636561)'), GeomFromEWKT('SRID=4674;POINT (-39.832479 -2.636555)'))) / (select extract(epoch from '2026-07-21 13:24:09'::timestamp) - extract(epoch from '2026-07-21 13:23:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.83244 -2.636522)', '2026-07-21 13:24:30', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832479 -2.636555)'), GeomFromEWKT('SRID=4674;POINT (-39.83244 -2.636522)'))) / (select extract(epoch from '2026-07-21 13:24:30'::timestamp) - extract(epoch from '2026-07-21 13:24:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832479 -2.636555)'), GeomFromEWKT('SRID=4674;POINT (-39.83244 -2.636522)'))) / (select extract(epoch from '2026-07-21 13:24:30'::timestamp) - extract(epoch from '2026-07-21 13:24: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.832438 -2.636515)', '2026-07-21 13:24:37', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83244 -2.636522)'), GeomFromEWKT('SRID=4674;POINT (-39.832438 -2.636515)'))) / (select extract(epoch from '2026-07-21 13:24:37'::timestamp) - extract(epoch from '2026-07-21 13:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83244 -2.636522)'), GeomFromEWKT('SRID=4674;POINT (-39.832438 -2.636515)'))) / (select extract(epoch from '2026-07-21 13:24:37'::timestamp) - extract(epoch from '2026-07-21 13:24:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.83244 -2.636516)', '2026-07-21 13:24:40', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832438 -2.636515)'), GeomFromEWKT('SRID=4674;POINT (-39.83244 -2.636516)'))) / (select extract(epoch from '2026-07-21 13:24:40'::timestamp) - extract(epoch from '2026-07-21 13:24:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832438 -2.636515)'), GeomFromEWKT('SRID=4674;POINT (-39.83244 -2.636516)'))) / (select extract(epoch from '2026-07-21 13:24:40'::timestamp) - extract(epoch from '2026-07-21 13:24:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.83245 -2.636511)', '2026-07-21 13:24:43', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83244 -2.636516)'), GeomFromEWKT('SRID=4674;POINT (-39.83245 -2.636511)'))) / (select extract(epoch from '2026-07-21 13:24:43'::timestamp) - extract(epoch from '2026-07-21 13:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83244 -2.636516)'), GeomFromEWKT('SRID=4674;POINT (-39.83245 -2.636511)'))) / (select extract(epoch from '2026-07-21 13:24:43'::timestamp) - extract(epoch from '2026-07-21 13:24:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.832464 -2.636503)', '2026-07-21 13:24:51', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83245 -2.636511)'), GeomFromEWKT('SRID=4674;POINT (-39.832464 -2.636503)'))) / (select extract(epoch from '2026-07-21 13:24:51'::timestamp) - extract(epoch from '2026-07-21 13:24:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83245 -2.636511)'), GeomFromEWKT('SRID=4674;POINT (-39.832464 -2.636503)'))) / (select extract(epoch from '2026-07-21 13:24:51'::timestamp) - extract(epoch from '2026-07-21 13: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.832482 -2.6365)', '2026-07-21 13:24:55', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832464 -2.636503)'), GeomFromEWKT('SRID=4674;POINT (-39.832482 -2.6365)'))) / (select extract(epoch from '2026-07-21 13:24:55'::timestamp) - extract(epoch from '2026-07-21 13:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832464 -2.636503)'), GeomFromEWKT('SRID=4674;POINT (-39.832482 -2.6365)'))) / (select extract(epoch from '2026-07-21 13:24:55'::timestamp) - extract(epoch from '2026-07-21 13:24: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.832509 -2.636488)', '2026-07-21 13:25:00', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832482 -2.6365)'), GeomFromEWKT('SRID=4674;POINT (-39.832509 -2.636488)'))) / (select extract(epoch from '2026-07-21 13:25:00'::timestamp) - extract(epoch from '2026-07-21 13:24:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832482 -2.6365)'), GeomFromEWKT('SRID=4674;POINT (-39.832509 -2.636488)'))) / (select extract(epoch from '2026-07-21 13:25:00'::timestamp) - extract(epoch from '2026-07-21 13: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.832538 -2.636477)', '2026-07-21 13:25:08', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832509 -2.636488)'), GeomFromEWKT('SRID=4674;POINT (-39.832538 -2.636477)'))) / (select extract(epoch from '2026-07-21 13:25:08'::timestamp) - extract(epoch from '2026-07-21 13:25:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832509 -2.636488)'), GeomFromEWKT('SRID=4674;POINT (-39.832538 -2.636477)'))) / (select extract(epoch from '2026-07-21 13:25:08'::timestamp) - extract(epoch from '2026-07-21 13:25:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.832566 -2.636446)', '2026-07-21 13:25:20', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832538 -2.636477)'), GeomFromEWKT('SRID=4674;POINT (-39.832566 -2.636446)'))) / (select extract(epoch from '2026-07-21 13:25:20'::timestamp) - extract(epoch from '2026-07-21 13:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832538 -2.636477)'), GeomFromEWKT('SRID=4674;POINT (-39.832566 -2.636446)'))) / (select extract(epoch from '2026-07-21 13:25:20'::timestamp) - extract(epoch from '2026-07-21 13:25:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.83259 -2.636424)', '2026-07-21 13:25:26', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832566 -2.636446)'), GeomFromEWKT('SRID=4674;POINT (-39.83259 -2.636424)'))) / (select extract(epoch from '2026-07-21 13:25:26'::timestamp) - extract(epoch from '2026-07-21 13:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832566 -2.636446)'), GeomFromEWKT('SRID=4674;POINT (-39.83259 -2.636424)'))) / (select extract(epoch from '2026-07-21 13:25:26'::timestamp) - extract(epoch from '2026-07-21 13:25: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.832614 -2.636413)', '2026-07-21 13:25:31', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83259 -2.636424)'), GeomFromEWKT('SRID=4674;POINT (-39.832614 -2.636413)'))) / (select extract(epoch from '2026-07-21 13:25:31'::timestamp) - extract(epoch from '2026-07-21 13:25:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83259 -2.636424)'), GeomFromEWKT('SRID=4674;POINT (-39.832614 -2.636413)'))) / (select extract(epoch from '2026-07-21 13:25:31'::timestamp) - extract(epoch from '2026-07-21 13:25: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.83263 -2.636401)', '2026-07-21 13:25:33', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832614 -2.636413)'), GeomFromEWKT('SRID=4674;POINT (-39.83263 -2.636401)'))) / (select extract(epoch from '2026-07-21 13:25:33'::timestamp) - extract(epoch from '2026-07-21 13:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832614 -2.636413)'), GeomFromEWKT('SRID=4674;POINT (-39.83263 -2.636401)'))) / (select extract(epoch from '2026-07-21 13:25:33'::timestamp) - extract(epoch from '2026-07-21 13:25:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.832638 -2.636399)', '2026-07-21 13:25:34', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83263 -2.636401)'), GeomFromEWKT('SRID=4674;POINT (-39.832638 -2.636399)'))) / (select extract(epoch from '2026-07-21 13:25:34'::timestamp) - extract(epoch from '2026-07-21 13:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83263 -2.636401)'), GeomFromEWKT('SRID=4674;POINT (-39.832638 -2.636399)'))) / (select extract(epoch from '2026-07-21 13:25:34'::timestamp) - extract(epoch from '2026-07-21 13:25:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.832674 -2.636383)', '2026-07-21 13:25:40', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832638 -2.636399)'), GeomFromEWKT('SRID=4674;POINT (-39.832674 -2.636383)'))) / (select extract(epoch from '2026-07-21 13:25:40'::timestamp) - extract(epoch from '2026-07-21 13:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832638 -2.636399)'), GeomFromEWKT('SRID=4674;POINT (-39.832674 -2.636383)'))) / (select extract(epoch from '2026-07-21 13:25:40'::timestamp) - extract(epoch from '2026-07-21 13:25: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.832712 -2.636361)', '2026-07-21 13:25:46', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832674 -2.636383)'), GeomFromEWKT('SRID=4674;POINT (-39.832712 -2.636361)'))) / (select extract(epoch from '2026-07-21 13:25:46'::timestamp) - extract(epoch from '2026-07-21 13:25:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832674 -2.636383)'), GeomFromEWKT('SRID=4674;POINT (-39.832712 -2.636361)'))) / (select extract(epoch from '2026-07-21 13:25:46'::timestamp) - extract(epoch from '2026-07-21 13:25: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.832733 -2.636354)', '2026-07-21 13:25:49', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832712 -2.636361)'), GeomFromEWKT('SRID=4674;POINT (-39.832733 -2.636354)'))) / (select extract(epoch from '2026-07-21 13:25:49'::timestamp) - extract(epoch from '2026-07-21 13:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832712 -2.636361)'), GeomFromEWKT('SRID=4674;POINT (-39.832733 -2.636354)'))) / (select extract(epoch from '2026-07-21 13:25:49'::timestamp) - extract(epoch from '2026-07-21 13:25:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.832747 -2.636349)', '2026-07-21 13:25:51', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832733 -2.636354)'), GeomFromEWKT('SRID=4674;POINT (-39.832747 -2.636349)'))) / (select extract(epoch from '2026-07-21 13:25:51'::timestamp) - extract(epoch from '2026-07-21 13:25:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832733 -2.636354)'), GeomFromEWKT('SRID=4674;POINT (-39.832747 -2.636349)'))) / (select extract(epoch from '2026-07-21 13:25:51'::timestamp) - extract(epoch from '2026-07-21 13:25:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.832778 -2.636324)', '2026-07-21 13:25:57', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832747 -2.636349)'), GeomFromEWKT('SRID=4674;POINT (-39.832778 -2.636324)'))) / (select extract(epoch from '2026-07-21 13:25:57'::timestamp) - extract(epoch from '2026-07-21 13:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832747 -2.636349)'), GeomFromEWKT('SRID=4674;POINT (-39.832778 -2.636324)'))) / (select extract(epoch from '2026-07-21 13:25:57'::timestamp) - extract(epoch from '2026-07-21 13:25: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.832806 -2.636292)', '2026-07-21 13:26:03', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832778 -2.636324)'), GeomFromEWKT('SRID=4674;POINT (-39.832806 -2.636292)'))) / (select extract(epoch from '2026-07-21 13:26:03'::timestamp) - extract(epoch from '2026-07-21 13:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832778 -2.636324)'), GeomFromEWKT('SRID=4674;POINT (-39.832806 -2.636292)'))) / (select extract(epoch from '2026-07-21 13:26:03'::timestamp) - extract(epoch from '2026-07-21 13:25: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.832814 -2.636275)', '2026-07-21 13:26:07', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832806 -2.636292)'), GeomFromEWKT('SRID=4674;POINT (-39.832814 -2.636275)'))) / (select extract(epoch from '2026-07-21 13:26:07'::timestamp) - extract(epoch from '2026-07-21 13:26:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832806 -2.636292)'), GeomFromEWKT('SRID=4674;POINT (-39.832814 -2.636275)'))) / (select extract(epoch from '2026-07-21 13:26:07'::timestamp) - extract(epoch from '2026-07-21 13:26: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.832833 -2.636245)', '2026-07-21 13:26:13', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832814 -2.636275)'), GeomFromEWKT('SRID=4674;POINT (-39.832833 -2.636245)'))) / (select extract(epoch from '2026-07-21 13:26:13'::timestamp) - extract(epoch from '2026-07-21 13:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832814 -2.636275)'), GeomFromEWKT('SRID=4674;POINT (-39.832833 -2.636245)'))) / (select extract(epoch from '2026-07-21 13:26:13'::timestamp) - extract(epoch from '2026-07-21 13: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.832848 -2.636231)', '2026-07-21 13:26:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832833 -2.636245)'), GeomFromEWKT('SRID=4674;POINT (-39.832848 -2.636231)'))) / (select extract(epoch from '2026-07-21 13:26:20'::timestamp) - extract(epoch from '2026-07-21 13:26:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832833 -2.636245)'), GeomFromEWKT('SRID=4674;POINT (-39.832848 -2.636231)'))) / (select extract(epoch from '2026-07-21 13:26:20'::timestamp) - extract(epoch from '2026-07-21 13: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.832848 -2.636214)', '2026-07-21 13:26:29', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832848 -2.636231)'), GeomFromEWKT('SRID=4674;POINT (-39.832848 -2.636214)'))) / (select extract(epoch from '2026-07-21 13:26:29'::timestamp) - extract(epoch from '2026-07-21 13:26:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832848 -2.636231)'), GeomFromEWKT('SRID=4674;POINT (-39.832848 -2.636214)'))) / (select extract(epoch from '2026-07-21 13:26:29'::timestamp) - extract(epoch from '2026-07-21 13:26:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.832859 -2.636213)', '2026-07-21 13:26:30', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832848 -2.636214)'), GeomFromEWKT('SRID=4674;POINT (-39.832859 -2.636213)'))) / (select extract(epoch from '2026-07-21 13:26:30'::timestamp) - extract(epoch from '2026-07-21 13:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832848 -2.636214)'), GeomFromEWKT('SRID=4674;POINT (-39.832859 -2.636213)'))) / (select extract(epoch from '2026-07-21 13:26:30'::timestamp) - extract(epoch from '2026-07-21 13:26:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.832873 -2.636207)', '2026-07-21 13:26:36', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832859 -2.636213)'), GeomFromEWKT('SRID=4674;POINT (-39.832873 -2.636207)'))) / (select extract(epoch from '2026-07-21 13:26:36'::timestamp) - extract(epoch from '2026-07-21 13:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832859 -2.636213)'), GeomFromEWKT('SRID=4674;POINT (-39.832873 -2.636207)'))) / (select extract(epoch from '2026-07-21 13:26:36'::timestamp) - extract(epoch from '2026-07-21 13:26: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.832889 -2.636197)', '2026-07-21 13:26:44', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832873 -2.636207)'), GeomFromEWKT('SRID=4674;POINT (-39.832889 -2.636197)'))) / (select extract(epoch from '2026-07-21 13:26:44'::timestamp) - extract(epoch from '2026-07-21 13:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832873 -2.636207)'), GeomFromEWKT('SRID=4674;POINT (-39.832889 -2.636197)'))) / (select extract(epoch from '2026-07-21 13:26:44'::timestamp) - extract(epoch from '2026-07-21 13:26:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.832925 -2.636182)', '2026-07-21 13:26:55', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832889 -2.636197)'), GeomFromEWKT('SRID=4674;POINT (-39.832925 -2.636182)'))) / (select extract(epoch from '2026-07-21 13:26:55'::timestamp) - extract(epoch from '2026-07-21 13:26:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832889 -2.636197)'), GeomFromEWKT('SRID=4674;POINT (-39.832925 -2.636182)'))) / (select extract(epoch from '2026-07-21 13:26:55'::timestamp) - extract(epoch from '2026-07-21 13:26:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.832936 -2.63618)', '2026-07-21 13:27:05', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832925 -2.636182)'), GeomFromEWKT('SRID=4674;POINT (-39.832936 -2.63618)'))) / (select extract(epoch from '2026-07-21 13:27:05'::timestamp) - extract(epoch from '2026-07-21 13:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832925 -2.636182)'), GeomFromEWKT('SRID=4674;POINT (-39.832936 -2.63618)'))) / (select extract(epoch from '2026-07-21 13:27:05'::timestamp) - extract(epoch from '2026-07-21 13:26:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.832961 -2.636185)', '2026-07-21 13:27:22', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832936 -2.63618)'), GeomFromEWKT('SRID=4674;POINT (-39.832961 -2.636185)'))) / (select extract(epoch from '2026-07-21 13:27:22'::timestamp) - extract(epoch from '2026-07-21 13:27:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832936 -2.63618)'), GeomFromEWKT('SRID=4674;POINT (-39.832961 -2.636185)'))) / (select extract(epoch from '2026-07-21 13:27:22'::timestamp) - extract(epoch from '2026-07-21 13: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.832994 -2.636178)', '2026-07-21 13:27:35', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832961 -2.636185)'), GeomFromEWKT('SRID=4674;POINT (-39.832994 -2.636178)'))) / (select extract(epoch from '2026-07-21 13:27:35'::timestamp) - extract(epoch from '2026-07-21 13:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832961 -2.636185)'), GeomFromEWKT('SRID=4674;POINT (-39.832994 -2.636178)'))) / (select extract(epoch from '2026-07-21 13:27:35'::timestamp) - extract(epoch from '2026-07-21 13:27: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.832946 -2.636163)', '2026-07-21 13:27:45', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832994 -2.636178)'), GeomFromEWKT('SRID=4674;POINT (-39.832946 -2.636163)'))) / (select extract(epoch from '2026-07-21 13:27:45'::timestamp) - extract(epoch from '2026-07-21 13:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832994 -2.636178)'), GeomFromEWKT('SRID=4674;POINT (-39.832946 -2.636163)'))) / (select extract(epoch from '2026-07-21 13:27:45'::timestamp) - extract(epoch from '2026-07-21 13:27: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.832898 -2.636135)', '2026-07-21 13:27:50', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832946 -2.636163)'), GeomFromEWKT('SRID=4674;POINT (-39.832898 -2.636135)'))) / (select extract(epoch from '2026-07-21 13:27:50'::timestamp) - extract(epoch from '2026-07-21 13:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832946 -2.636163)'), GeomFromEWKT('SRID=4674;POINT (-39.832898 -2.636135)'))) / (select extract(epoch from '2026-07-21 13:27:50'::timestamp) - extract(epoch from '2026-07-21 13:27: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.832822 -2.63609)', '2026-07-21 13:27:56', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832898 -2.636135)'), GeomFromEWKT('SRID=4674;POINT (-39.832822 -2.63609)'))) / (select extract(epoch from '2026-07-21 13:27:56'::timestamp) - extract(epoch from '2026-07-21 13:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832898 -2.636135)'), GeomFromEWKT('SRID=4674;POINT (-39.832822 -2.63609)'))) / (select extract(epoch from '2026-07-21 13:27:56'::timestamp) - extract(epoch from '2026-07-21 13:27: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.832777 -2.636076)', '2026-07-21 13:27:59', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832822 -2.63609)'), GeomFromEWKT('SRID=4674;POINT (-39.832777 -2.636076)'))) / (select extract(epoch from '2026-07-21 13:27:59'::timestamp) - extract(epoch from '2026-07-21 13:27:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832822 -2.63609)'), GeomFromEWKT('SRID=4674;POINT (-39.832777 -2.636076)'))) / (select extract(epoch from '2026-07-21 13:27:59'::timestamp) - extract(epoch from '2026-07-21 13:27: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.83276 -2.636075)', '2026-07-21 13:28:00', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832777 -2.636076)'), GeomFromEWKT('SRID=4674;POINT (-39.83276 -2.636075)'))) / (select extract(epoch from '2026-07-21 13:28:00'::timestamp) - extract(epoch from '2026-07-21 13:27:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832777 -2.636076)'), GeomFromEWKT('SRID=4674;POINT (-39.83276 -2.636075)'))) / (select extract(epoch from '2026-07-21 13:28:00'::timestamp) - extract(epoch from '2026-07-21 13:27:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.832664 -2.636063)', '2026-07-21 13:28:05', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83276 -2.636075)'), GeomFromEWKT('SRID=4674;POINT (-39.832664 -2.636063)'))) / (select extract(epoch from '2026-07-21 13:28:05'::timestamp) - extract(epoch from '2026-07-21 13:28:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83276 -2.636075)'), GeomFromEWKT('SRID=4674;POINT (-39.832664 -2.636063)'))) / (select extract(epoch from '2026-07-21 13:28:05'::timestamp) - extract(epoch from '2026-07-21 13:28: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.832612 -2.636051)', '2026-07-21 13:28:08', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832664 -2.636063)'), GeomFromEWKT('SRID=4674;POINT (-39.832612 -2.636051)'))) / (select extract(epoch from '2026-07-21 13:28:08'::timestamp) - extract(epoch from '2026-07-21 13:28:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832664 -2.636063)'), GeomFromEWKT('SRID=4674;POINT (-39.832612 -2.636051)'))) / (select extract(epoch from '2026-07-21 13:28:08'::timestamp) - extract(epoch from '2026-07-21 13:28:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.832579 -2.636036)', '2026-07-21 13:28:10', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832612 -2.636051)'), GeomFromEWKT('SRID=4674;POINT (-39.832579 -2.636036)'))) / (select extract(epoch from '2026-07-21 13:28:10'::timestamp) - extract(epoch from '2026-07-21 13:28:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832612 -2.636051)'), GeomFromEWKT('SRID=4674;POINT (-39.832579 -2.636036)'))) / (select extract(epoch from '2026-07-21 13:28:10'::timestamp) - extract(epoch from '2026-07-21 13:28: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.832513 -2.635993)', '2026-07-21 13:28:14', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832579 -2.636036)'), GeomFromEWKT('SRID=4674;POINT (-39.832513 -2.635993)'))) / (select extract(epoch from '2026-07-21 13:28:14'::timestamp) - extract(epoch from '2026-07-21 13:28:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832579 -2.636036)'), GeomFromEWKT('SRID=4674;POINT (-39.832513 -2.635993)'))) / (select extract(epoch from '2026-07-21 13:28:14'::timestamp) - extract(epoch from '2026-07-21 13:28:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.832467 -2.635952)', '2026-07-21 13:28:18', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832513 -2.635993)'), GeomFromEWKT('SRID=4674;POINT (-39.832467 -2.635952)'))) / (select extract(epoch from '2026-07-21 13:28:18'::timestamp) - extract(epoch from '2026-07-21 13:28:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832513 -2.635993)'), GeomFromEWKT('SRID=4674;POINT (-39.832467 -2.635952)'))) / (select extract(epoch from '2026-07-21 13:28:18'::timestamp) - extract(epoch from '2026-07-21 13: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.832444 -2.635937)', '2026-07-21 13:28:20', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832467 -2.635952)'), GeomFromEWKT('SRID=4674;POINT (-39.832444 -2.635937)'))) / (select extract(epoch from '2026-07-21 13:28:20'::timestamp) - extract(epoch from '2026-07-21 13:28:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832467 -2.635952)'), GeomFromEWKT('SRID=4674;POINT (-39.832444 -2.635937)'))) / (select extract(epoch from '2026-07-21 13:28:20'::timestamp) - extract(epoch from '2026-07-21 13:28: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.832378 -2.63592)', '2026-07-21 13:28:25', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832444 -2.635937)'), GeomFromEWKT('SRID=4674;POINT (-39.832378 -2.63592)'))) / (select extract(epoch from '2026-07-21 13:28:25'::timestamp) - extract(epoch from '2026-07-21 13:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832444 -2.635937)'), GeomFromEWKT('SRID=4674;POINT (-39.832378 -2.63592)'))) / (select extract(epoch from '2026-07-21 13:28:25'::timestamp) - extract(epoch from '2026-07-21 13:28:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.832367 -2.635919)', '2026-07-21 13:28:26', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832378 -2.63592)'), GeomFromEWKT('SRID=4674;POINT (-39.832367 -2.635919)'))) / (select extract(epoch from '2026-07-21 13:28:26'::timestamp) - extract(epoch from '2026-07-21 13:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832378 -2.63592)'), GeomFromEWKT('SRID=4674;POINT (-39.832367 -2.635919)'))) / (select extract(epoch from '2026-07-21 13:28:26'::timestamp) - extract(epoch from '2026-07-21 13: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.832308 -2.635913)', '2026-07-21 13:28:30', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832367 -2.635919)'), GeomFromEWKT('SRID=4674;POINT (-39.832308 -2.635913)'))) / (select extract(epoch from '2026-07-21 13:28:30'::timestamp) - extract(epoch from '2026-07-21 13:28:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832367 -2.635919)'), GeomFromEWKT('SRID=4674;POINT (-39.832308 -2.635913)'))) / (select extract(epoch from '2026-07-21 13:28:30'::timestamp) - extract(epoch from '2026-07-21 13:28:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.832227 -2.635901)', '2026-07-21 13:28:36', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832308 -2.635913)'), GeomFromEWKT('SRID=4674;POINT (-39.832227 -2.635901)'))) / (select extract(epoch from '2026-07-21 13:28:36'::timestamp) - extract(epoch from '2026-07-21 13:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832308 -2.635913)'), GeomFromEWKT('SRID=4674;POINT (-39.832227 -2.635901)'))) / (select extract(epoch from '2026-07-21 13:28:36'::timestamp) - extract(epoch from '2026-07-21 13:28:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.832151 -2.635869)', '2026-07-21 13:28:41', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832227 -2.635901)'), GeomFromEWKT('SRID=4674;POINT (-39.832151 -2.635869)'))) / (select extract(epoch from '2026-07-21 13:28:41'::timestamp) - extract(epoch from '2026-07-21 13:28:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832227 -2.635901)'), GeomFromEWKT('SRID=4674;POINT (-39.832151 -2.635869)'))) / (select extract(epoch from '2026-07-21 13:28:41'::timestamp) - extract(epoch from '2026-07-21 13:28:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.832044 -2.635833)', '2026-07-21 13:28:47', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832151 -2.635869)'), GeomFromEWKT('SRID=4674;POINT (-39.832044 -2.635833)'))) / (select extract(epoch from '2026-07-21 13:28:47'::timestamp) - extract(epoch from '2026-07-21 13:28:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832151 -2.635869)'), GeomFromEWKT('SRID=4674;POINT (-39.832044 -2.635833)'))) / (select extract(epoch from '2026-07-21 13:28:47'::timestamp) - extract(epoch from '2026-07-21 13:28: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.831976 -2.635838)', '2026-07-21 13:28:51', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832044 -2.635833)'), GeomFromEWKT('SRID=4674;POINT (-39.831976 -2.635838)'))) / (select extract(epoch from '2026-07-21 13:28:51'::timestamp) - extract(epoch from '2026-07-21 13:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832044 -2.635833)'), GeomFromEWKT('SRID=4674;POINT (-39.831976 -2.635838)'))) / (select extract(epoch from '2026-07-21 13:28:51'::timestamp) - extract(epoch from '2026-07-21 13:28:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.831961 -2.63584)', '2026-07-21 13:28:52', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831976 -2.635838)'), GeomFromEWKT('SRID=4674;POINT (-39.831961 -2.63584)'))) / (select extract(epoch from '2026-07-21 13:28:52'::timestamp) - extract(epoch from '2026-07-21 13:28:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831976 -2.635838)'), GeomFromEWKT('SRID=4674;POINT (-39.831961 -2.63584)'))) / (select extract(epoch from '2026-07-21 13:28:52'::timestamp) - extract(epoch from '2026-07-21 13:28:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.831865 -2.635847)', '2026-07-21 13:28:58', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831961 -2.63584)'), GeomFromEWKT('SRID=4674;POINT (-39.831865 -2.635847)'))) / (select extract(epoch from '2026-07-21 13:28:58'::timestamp) - extract(epoch from '2026-07-21 13:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831961 -2.63584)'), GeomFromEWKT('SRID=4674;POINT (-39.831865 -2.635847)'))) / (select extract(epoch from '2026-07-21 13:28:58'::timestamp) - extract(epoch from '2026-07-21 13: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.831773 -2.635833)', '2026-07-21 13:29:03', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831865 -2.635847)'), GeomFromEWKT('SRID=4674;POINT (-39.831773 -2.635833)'))) / (select extract(epoch from '2026-07-21 13:29:03'::timestamp) - extract(epoch from '2026-07-21 13:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831865 -2.635847)'), GeomFromEWKT('SRID=4674;POINT (-39.831773 -2.635833)'))) / (select extract(epoch from '2026-07-21 13:29:03'::timestamp) - extract(epoch from '2026-07-21 13:28:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.831725 -2.635811)', '2026-07-21 13:29:06', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831773 -2.635833)'), GeomFromEWKT('SRID=4674;POINT (-39.831725 -2.635811)'))) / (select extract(epoch from '2026-07-21 13:29:06'::timestamp) - extract(epoch from '2026-07-21 13:29:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831773 -2.635833)'), GeomFromEWKT('SRID=4674;POINT (-39.831725 -2.635811)'))) / (select extract(epoch from '2026-07-21 13:29:06'::timestamp) - extract(epoch from '2026-07-21 13: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.831703 -2.635803)', '2026-07-21 13:29:08', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831725 -2.635811)'), GeomFromEWKT('SRID=4674;POINT (-39.831703 -2.635803)'))) / (select extract(epoch from '2026-07-21 13:29:08'::timestamp) - extract(epoch from '2026-07-21 13:29:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831725 -2.635811)'), GeomFromEWKT('SRID=4674;POINT (-39.831703 -2.635803)'))) / (select extract(epoch from '2026-07-21 13:29:08'::timestamp) - extract(epoch from '2026-07-21 13:29: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.831692 -2.6358)', '2026-07-21 13:29:09', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831703 -2.635803)'), GeomFromEWKT('SRID=4674;POINT (-39.831692 -2.6358)'))) / (select extract(epoch from '2026-07-21 13:29:09'::timestamp) - extract(epoch from '2026-07-21 13:29:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831703 -2.635803)'), GeomFromEWKT('SRID=4674;POINT (-39.831692 -2.6358)'))) / (select extract(epoch from '2026-07-21 13:29:09'::timestamp) - extract(epoch from '2026-07-21 13:29:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.831672 -2.635783)', '2026-07-21 13:29:11', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831692 -2.6358)'), GeomFromEWKT('SRID=4674;POINT (-39.831672 -2.635783)'))) / (select extract(epoch from '2026-07-21 13:29:11'::timestamp) - extract(epoch from '2026-07-21 13:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831692 -2.6358)'), GeomFromEWKT('SRID=4674;POINT (-39.831672 -2.635783)'))) / (select extract(epoch from '2026-07-21 13:29:11'::timestamp) - extract(epoch from '2026-07-21 13:29: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.831656 -2.635772)', '2026-07-21 13:29:13', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831672 -2.635783)'), GeomFromEWKT('SRID=4674;POINT (-39.831656 -2.635772)'))) / (select extract(epoch from '2026-07-21 13:29:13'::timestamp) - extract(epoch from '2026-07-21 13:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831672 -2.635783)'), GeomFromEWKT('SRID=4674;POINT (-39.831656 -2.635772)'))) / (select extract(epoch from '2026-07-21 13:29:13'::timestamp) - extract(epoch from '2026-07-21 13:29: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.831637 -2.635755)', '2026-07-21 13:29:16', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831656 -2.635772)'), GeomFromEWKT('SRID=4674;POINT (-39.831637 -2.635755)'))) / (select extract(epoch from '2026-07-21 13:29:16'::timestamp) - extract(epoch from '2026-07-21 13:29:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831656 -2.635772)'), GeomFromEWKT('SRID=4674;POINT (-39.831637 -2.635755)'))) / (select extract(epoch from '2026-07-21 13:29:16'::timestamp) - extract(epoch from '2026-07-21 13:29: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.831627 -2.635732)', '2026-07-21 13:29:21', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831637 -2.635755)'), GeomFromEWKT('SRID=4674;POINT (-39.831627 -2.635732)'))) / (select extract(epoch from '2026-07-21 13:29:21'::timestamp) - extract(epoch from '2026-07-21 13:29:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831637 -2.635755)'), GeomFromEWKT('SRID=4674;POINT (-39.831627 -2.635732)'))) / (select extract(epoch from '2026-07-21 13:29:21'::timestamp) - extract(epoch from '2026-07-21 13:29: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.831625 -2.635711)', '2026-07-21 13:29:25', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831627 -2.635732)'), GeomFromEWKT('SRID=4674;POINT (-39.831625 -2.635711)'))) / (select extract(epoch from '2026-07-21 13:29:25'::timestamp) - extract(epoch from '2026-07-21 13:29:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831627 -2.635732)'), GeomFromEWKT('SRID=4674;POINT (-39.831625 -2.635711)'))) / (select extract(epoch from '2026-07-21 13:29:25'::timestamp) - extract(epoch from '2026-07-21 13:29: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.831624 -2.635682)', '2026-07-21 13:29:32', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831625 -2.635711)'), GeomFromEWKT('SRID=4674;POINT (-39.831624 -2.635682)'))) / (select extract(epoch from '2026-07-21 13:29:32'::timestamp) - extract(epoch from '2026-07-21 13:29:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831625 -2.635711)'), GeomFromEWKT('SRID=4674;POINT (-39.831624 -2.635682)'))) / (select extract(epoch from '2026-07-21 13:29:32'::timestamp) - extract(epoch from '2026-07-21 13:29: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.831637 -2.635652)', '2026-07-21 13:29:44', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831624 -2.635682)'), GeomFromEWKT('SRID=4674;POINT (-39.831637 -2.635652)'))) / (select extract(epoch from '2026-07-21 13:29:44'::timestamp) - extract(epoch from '2026-07-21 13:29:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831624 -2.635682)'), GeomFromEWKT('SRID=4674;POINT (-39.831637 -2.635652)'))) / (select extract(epoch from '2026-07-21 13:29:44'::timestamp) - extract(epoch from '2026-07-21 13:29: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.831676 -2.635633)', '2026-07-21 13:29:52', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831637 -2.635652)'), GeomFromEWKT('SRID=4674;POINT (-39.831676 -2.635633)'))) / (select extract(epoch from '2026-07-21 13:29:52'::timestamp) - extract(epoch from '2026-07-21 13:29:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831637 -2.635652)'), GeomFromEWKT('SRID=4674;POINT (-39.831676 -2.635633)'))) / (select extract(epoch from '2026-07-21 13:29:52'::timestamp) - extract(epoch from '2026-07-21 13:29:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.831695 -2.635627)', '2026-07-21 13:29:56', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831676 -2.635633)'), GeomFromEWKT('SRID=4674;POINT (-39.831695 -2.635627)'))) / (select extract(epoch from '2026-07-21 13:29:56'::timestamp) - extract(epoch from '2026-07-21 13:29:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831676 -2.635633)'), GeomFromEWKT('SRID=4674;POINT (-39.831695 -2.635627)'))) / (select extract(epoch from '2026-07-21 13:29:56'::timestamp) - extract(epoch from '2026-07-21 13:29: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.831721 -2.635626)', '2026-07-21 13:30:00', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831695 -2.635627)'), GeomFromEWKT('SRID=4674;POINT (-39.831721 -2.635626)'))) / (select extract(epoch from '2026-07-21 13:30:00'::timestamp) - extract(epoch from '2026-07-21 13:29:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831695 -2.635627)'), GeomFromEWKT('SRID=4674;POINT (-39.831721 -2.635626)'))) / (select extract(epoch from '2026-07-21 13:30:00'::timestamp) - extract(epoch from '2026-07-21 13: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.831741 -2.635627)', '2026-07-21 13:30:05', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831721 -2.635626)'), GeomFromEWKT('SRID=4674;POINT (-39.831741 -2.635627)'))) / (select extract(epoch from '2026-07-21 13:30:05'::timestamp) - extract(epoch from '2026-07-21 13:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831721 -2.635626)'), GeomFromEWKT('SRID=4674;POINT (-39.831741 -2.635627)'))) / (select extract(epoch from '2026-07-21 13:30:05'::timestamp) - extract(epoch from '2026-07-21 13:30: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.831772 -2.635616)', '2026-07-21 13:30:11', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831741 -2.635627)'), GeomFromEWKT('SRID=4674;POINT (-39.831772 -2.635616)'))) / (select extract(epoch from '2026-07-21 13:30:11'::timestamp) - extract(epoch from '2026-07-21 13:30:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831741 -2.635627)'), GeomFromEWKT('SRID=4674;POINT (-39.831772 -2.635616)'))) / (select extract(epoch from '2026-07-21 13:30:11'::timestamp) - extract(epoch from '2026-07-21 13:30: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.831786 -2.635615)', '2026-07-21 13:30:14', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831772 -2.635616)'), GeomFromEWKT('SRID=4674;POINT (-39.831786 -2.635615)'))) / (select extract(epoch from '2026-07-21 13:30:14'::timestamp) - extract(epoch from '2026-07-21 13:30:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831772 -2.635616)'), GeomFromEWKT('SRID=4674;POINT (-39.831786 -2.635615)'))) / (select extract(epoch from '2026-07-21 13:30:14'::timestamp) - extract(epoch from '2026-07-21 13: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.831796 -2.635608)', '2026-07-21 13:30:17', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831786 -2.635615)'), GeomFromEWKT('SRID=4674;POINT (-39.831796 -2.635608)'))) / (select extract(epoch from '2026-07-21 13:30:17'::timestamp) - extract(epoch from '2026-07-21 13:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831786 -2.635615)'), GeomFromEWKT('SRID=4674;POINT (-39.831796 -2.635608)'))) / (select extract(epoch from '2026-07-21 13:30:17'::timestamp) - extract(epoch from '2026-07-21 13:30: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.831815 -2.635602)', '2026-07-21 13:30:20', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831796 -2.635608)'), GeomFromEWKT('SRID=4674;POINT (-39.831815 -2.635602)'))) / (select extract(epoch from '2026-07-21 13:30:20'::timestamp) - extract(epoch from '2026-07-21 13:30:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831796 -2.635608)'), GeomFromEWKT('SRID=4674;POINT (-39.831815 -2.635602)'))) / (select extract(epoch from '2026-07-21 13:30:20'::timestamp) - extract(epoch from '2026-07-21 13:30: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.831824 -2.635593)', '2026-07-21 13:30:22', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831815 -2.635602)'), GeomFromEWKT('SRID=4674;POINT (-39.831824 -2.635593)'))) / (select extract(epoch from '2026-07-21 13:30:22'::timestamp) - extract(epoch from '2026-07-21 13:30:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831815 -2.635602)'), GeomFromEWKT('SRID=4674;POINT (-39.831824 -2.635593)'))) / (select extract(epoch from '2026-07-21 13:30:22'::timestamp) - extract(epoch from '2026-07-21 13:30: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.831849 -2.635584)', '2026-07-21 13:30:27', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831824 -2.635593)'), GeomFromEWKT('SRID=4674;POINT (-39.831849 -2.635584)'))) / (select extract(epoch from '2026-07-21 13:30:27'::timestamp) - extract(epoch from '2026-07-21 13:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831824 -2.635593)'), GeomFromEWKT('SRID=4674;POINT (-39.831849 -2.635584)'))) / (select extract(epoch from '2026-07-21 13:30:27'::timestamp) - extract(epoch from '2026-07-21 13: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.831882 -2.635573)', '2026-07-21 13:30:33', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831849 -2.635584)'), GeomFromEWKT('SRID=4674;POINT (-39.831882 -2.635573)'))) / (select extract(epoch from '2026-07-21 13:30:33'::timestamp) - extract(epoch from '2026-07-21 13:30:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831849 -2.635584)'), GeomFromEWKT('SRID=4674;POINT (-39.831882 -2.635573)'))) / (select extract(epoch from '2026-07-21 13:30:33'::timestamp) - extract(epoch from '2026-07-21 13:30:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.831928 -2.635555)', '2026-07-21 13:30:41', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831882 -2.635573)'), GeomFromEWKT('SRID=4674;POINT (-39.831928 -2.635555)'))) / (select extract(epoch from '2026-07-21 13:30:41'::timestamp) - extract(epoch from '2026-07-21 13:30:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831882 -2.635573)'), GeomFromEWKT('SRID=4674;POINT (-39.831928 -2.635555)'))) / (select extract(epoch from '2026-07-21 13:30:41'::timestamp) - extract(epoch from '2026-07-21 13:30:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.831962 -2.635525)', '2026-07-21 13:30:50', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831928 -2.635555)'), GeomFromEWKT('SRID=4674;POINT (-39.831962 -2.635525)'))) / (select extract(epoch from '2026-07-21 13:30:50'::timestamp) - extract(epoch from '2026-07-21 13:30:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831928 -2.635555)'), GeomFromEWKT('SRID=4674;POINT (-39.831962 -2.635525)'))) / (select extract(epoch from '2026-07-21 13:30:50'::timestamp) - extract(epoch from '2026-07-21 13:30:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.831996 -2.635492)', '2026-07-21 13:30:59', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831962 -2.635525)'), GeomFromEWKT('SRID=4674;POINT (-39.831996 -2.635492)'))) / (select extract(epoch from '2026-07-21 13:30:59'::timestamp) - extract(epoch from '2026-07-21 13:30:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831962 -2.635525)'), GeomFromEWKT('SRID=4674;POINT (-39.831996 -2.635492)'))) / (select extract(epoch from '2026-07-21 13:30:59'::timestamp) - extract(epoch from '2026-07-21 13:30: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.832007 -2.635454)', '2026-07-21 13:31:07', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831996 -2.635492)'), GeomFromEWKT('SRID=4674;POINT (-39.832007 -2.635454)'))) / (select extract(epoch from '2026-07-21 13:31:07'::timestamp) - extract(epoch from '2026-07-21 13:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831996 -2.635492)'), GeomFromEWKT('SRID=4674;POINT (-39.832007 -2.635454)'))) / (select extract(epoch from '2026-07-21 13:31:07'::timestamp) - extract(epoch from '2026-07-21 13:30:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.83203 -2.635422)', '2026-07-21 13:31:15', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832007 -2.635454)'), GeomFromEWKT('SRID=4674;POINT (-39.83203 -2.635422)'))) / (select extract(epoch from '2026-07-21 13:31:15'::timestamp) - extract(epoch from '2026-07-21 13:31:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832007 -2.635454)'), GeomFromEWKT('SRID=4674;POINT (-39.83203 -2.635422)'))) / (select extract(epoch from '2026-07-21 13:31:15'::timestamp) - extract(epoch from '2026-07-21 13:31:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.832013 -2.635386)', '2026-07-21 13:31:21', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83203 -2.635422)'), GeomFromEWKT('SRID=4674;POINT (-39.832013 -2.635386)'))) / (select extract(epoch from '2026-07-21 13:31:21'::timestamp) - extract(epoch from '2026-07-21 13:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83203 -2.635422)'), GeomFromEWKT('SRID=4674;POINT (-39.832013 -2.635386)'))) / (select extract(epoch from '2026-07-21 13:31:21'::timestamp) - extract(epoch from '2026-07-21 13:31:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.831974 -2.635349)', '2026-07-21 13:31:25', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832013 -2.635386)'), GeomFromEWKT('SRID=4674;POINT (-39.831974 -2.635349)'))) / (select extract(epoch from '2026-07-21 13:31:25'::timestamp) - extract(epoch from '2026-07-21 13:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.832013 -2.635386)'), GeomFromEWKT('SRID=4674;POINT (-39.831974 -2.635349)'))) / (select extract(epoch from '2026-07-21 13:31:25'::timestamp) - extract(epoch from '2026-07-21 13:31: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.831963 -2.635342)', '2026-07-21 13:31:26', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831974 -2.635349)'), GeomFromEWKT('SRID=4674;POINT (-39.831963 -2.635342)'))) / (select extract(epoch from '2026-07-21 13:31:26'::timestamp) - extract(epoch from '2026-07-21 13:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831974 -2.635349)'), GeomFromEWKT('SRID=4674;POINT (-39.831963 -2.635342)'))) / (select extract(epoch from '2026-07-21 13:31:26'::timestamp) - extract(epoch from '2026-07-21 13:31: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.831895 -2.635266)', '2026-07-21 13:31:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831963 -2.635342)'), GeomFromEWKT('SRID=4674;POINT (-39.831895 -2.635266)'))) / (select extract(epoch from '2026-07-21 13:31:32'::timestamp) - extract(epoch from '2026-07-21 13:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831963 -2.635342)'), GeomFromEWKT('SRID=4674;POINT (-39.831895 -2.635266)'))) / (select extract(epoch from '2026-07-21 13:31:32'::timestamp) - extract(epoch from '2026-07-21 13:31: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.831823 -2.63521)', '2026-07-21 13:31:37', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831895 -2.635266)'), GeomFromEWKT('SRID=4674;POINT (-39.831823 -2.63521)'))) / (select extract(epoch from '2026-07-21 13:31:37'::timestamp) - extract(epoch from '2026-07-21 13:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831895 -2.635266)'), GeomFromEWKT('SRID=4674;POINT (-39.831823 -2.63521)'))) / (select extract(epoch from '2026-07-21 13:31:37'::timestamp) - extract(epoch from '2026-07-21 13:31: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.831694 -2.635138)', '2026-07-21 13:31:45', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831823 -2.63521)'), GeomFromEWKT('SRID=4674;POINT (-39.831694 -2.635138)'))) / (select extract(epoch from '2026-07-21 13:31:45'::timestamp) - extract(epoch from '2026-07-21 13:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831823 -2.63521)'), GeomFromEWKT('SRID=4674;POINT (-39.831694 -2.635138)'))) / (select extract(epoch from '2026-07-21 13:31:45'::timestamp) - extract(epoch from '2026-07-21 13:31: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.831653 -2.635096)', '2026-07-21 13:31:48', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831694 -2.635138)'), GeomFromEWKT('SRID=4674;POINT (-39.831653 -2.635096)'))) / (select extract(epoch from '2026-07-21 13:31:48'::timestamp) - extract(epoch from '2026-07-21 13:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831694 -2.635138)'), GeomFromEWKT('SRID=4674;POINT (-39.831653 -2.635096)'))) / (select extract(epoch from '2026-07-21 13:31:48'::timestamp) - extract(epoch from '2026-07-21 13:31: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.831639 -2.635083)', '2026-07-21 13:31:49', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831653 -2.635096)'), GeomFromEWKT('SRID=4674;POINT (-39.831639 -2.635083)'))) / (select extract(epoch from '2026-07-21 13:31:49'::timestamp) - extract(epoch from '2026-07-21 13:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831653 -2.635096)'), GeomFromEWKT('SRID=4674;POINT (-39.831639 -2.635083)'))) / (select extract(epoch from '2026-07-21 13:31:49'::timestamp) - extract(epoch from '2026-07-21 13:31: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.831535 -2.635032)', '2026-07-21 13:31:55', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831639 -2.635083)'), GeomFromEWKT('SRID=4674;POINT (-39.831535 -2.635032)'))) / (select extract(epoch from '2026-07-21 13:31:55'::timestamp) - extract(epoch from '2026-07-21 13:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831639 -2.635083)'), GeomFromEWKT('SRID=4674;POINT (-39.831535 -2.635032)'))) / (select extract(epoch from '2026-07-21 13:31:55'::timestamp) - extract(epoch from '2026-07-21 13:31:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.831464 -2.634977)', '2026-07-21 13:32:00', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831535 -2.635032)'), GeomFromEWKT('SRID=4674;POINT (-39.831464 -2.634977)'))) / (select extract(epoch from '2026-07-21 13:32:00'::timestamp) - extract(epoch from '2026-07-21 13:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831535 -2.635032)'), GeomFromEWKT('SRID=4674;POINT (-39.831464 -2.634977)'))) / (select extract(epoch from '2026-07-21 13:32:00'::timestamp) - extract(epoch from '2026-07-21 13: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.831393 -2.634909)', '2026-07-21 13:32:05', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831464 -2.634977)'), GeomFromEWKT('SRID=4674;POINT (-39.831393 -2.634909)'))) / (select extract(epoch from '2026-07-21 13:32:05'::timestamp) - extract(epoch from '2026-07-21 13:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831464 -2.634977)'), GeomFromEWKT('SRID=4674;POINT (-39.831393 -2.634909)'))) / (select extract(epoch from '2026-07-21 13:32:05'::timestamp) - extract(epoch from '2026-07-21 13:32: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.831325 -2.634841)', '2026-07-21 13:32:10', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831393 -2.634909)'), GeomFromEWKT('SRID=4674;POINT (-39.831325 -2.634841)'))) / (select extract(epoch from '2026-07-21 13:32:10'::timestamp) - extract(epoch from '2026-07-21 13:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831393 -2.634909)'), GeomFromEWKT('SRID=4674;POINT (-39.831325 -2.634841)'))) / (select extract(epoch from '2026-07-21 13:32:10'::timestamp) - extract(epoch from '2026-07-21 13:32:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.831296 -2.634816)', '2026-07-21 13:32:12', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831325 -2.634841)'), GeomFromEWKT('SRID=4674;POINT (-39.831296 -2.634816)'))) / (select extract(epoch from '2026-07-21 13:32:12'::timestamp) - extract(epoch from '2026-07-21 13:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831325 -2.634841)'), GeomFromEWKT('SRID=4674;POINT (-39.831296 -2.634816)'))) / (select extract(epoch from '2026-07-21 13:32:12'::timestamp) - extract(epoch from '2026-07-21 13:32: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.831248 -2.634797)', '2026-07-21 13:32:15', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831296 -2.634816)'), GeomFromEWKT('SRID=4674;POINT (-39.831248 -2.634797)'))) / (select extract(epoch from '2026-07-21 13:32:15'::timestamp) - extract(epoch from '2026-07-21 13:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831296 -2.634816)'), GeomFromEWKT('SRID=4674;POINT (-39.831248 -2.634797)'))) / (select extract(epoch from '2026-07-21 13:32:15'::timestamp) - extract(epoch from '2026-07-21 13:32: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.831181 -2.634774)', '2026-07-21 13:32:19', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831248 -2.634797)'), GeomFromEWKT('SRID=4674;POINT (-39.831181 -2.634774)'))) / (select extract(epoch from '2026-07-21 13:32:19'::timestamp) - extract(epoch from '2026-07-21 13:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831248 -2.634797)'), GeomFromEWKT('SRID=4674;POINT (-39.831181 -2.634774)'))) / (select extract(epoch from '2026-07-21 13:32:19'::timestamp) - extract(epoch from '2026-07-21 13:32: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.831153 -2.634764)', '2026-07-21 13:32:21', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831181 -2.634774)'), GeomFromEWKT('SRID=4674;POINT (-39.831153 -2.634764)'))) / (select extract(epoch from '2026-07-21 13:32:21'::timestamp) - extract(epoch from '2026-07-21 13:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831181 -2.634774)'), GeomFromEWKT('SRID=4674;POINT (-39.831153 -2.634764)'))) / (select extract(epoch from '2026-07-21 13:32:21'::timestamp) - extract(epoch from '2026-07-21 13:32:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.831119 -2.634746)', '2026-07-21 13:32:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831153 -2.634764)'), GeomFromEWKT('SRID=4674;POINT (-39.831119 -2.634746)'))) / (select extract(epoch from '2026-07-21 13:32:24'::timestamp) - extract(epoch from '2026-07-21 13:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831153 -2.634764)'), GeomFromEWKT('SRID=4674;POINT (-39.831119 -2.634746)'))) / (select extract(epoch from '2026-07-21 13:32:24'::timestamp) - extract(epoch from '2026-07-21 13:32:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.831059 -2.634711)', '2026-07-21 13:32:29', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831119 -2.634746)'), GeomFromEWKT('SRID=4674;POINT (-39.831059 -2.634711)'))) / (select extract(epoch from '2026-07-21 13:32:29'::timestamp) - extract(epoch from '2026-07-21 13:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831119 -2.634746)'), GeomFromEWKT('SRID=4674;POINT (-39.831059 -2.634711)'))) / (select extract(epoch from '2026-07-21 13:32:29'::timestamp) - extract(epoch from '2026-07-21 13:32: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.831052 -2.634704)', '2026-07-21 13:32:30', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831059 -2.634711)'), GeomFromEWKT('SRID=4674;POINT (-39.831052 -2.634704)'))) / (select extract(epoch from '2026-07-21 13:32:30'::timestamp) - extract(epoch from '2026-07-21 13:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831059 -2.634711)'), GeomFromEWKT('SRID=4674;POINT (-39.831052 -2.634704)'))) / (select extract(epoch from '2026-07-21 13:32:30'::timestamp) - extract(epoch from '2026-07-21 13:32: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.831042 -2.6347)', '2026-07-21 13:32:31', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831052 -2.634704)'), GeomFromEWKT('SRID=4674;POINT (-39.831042 -2.6347)'))) / (select extract(epoch from '2026-07-21 13:32:31'::timestamp) - extract(epoch from '2026-07-21 13:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831052 -2.634704)'), GeomFromEWKT('SRID=4674;POINT (-39.831042 -2.6347)'))) / (select extract(epoch from '2026-07-21 13:32:31'::timestamp) - extract(epoch from '2026-07-21 13:32:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.831005 -2.63468)', '2026-07-21 13:32:35', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831042 -2.6347)'), GeomFromEWKT('SRID=4674;POINT (-39.831005 -2.63468)'))) / (select extract(epoch from '2026-07-21 13:32:35'::timestamp) - extract(epoch from '2026-07-21 13:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831042 -2.6347)'), GeomFromEWKT('SRID=4674;POINT (-39.831005 -2.63468)'))) / (select extract(epoch from '2026-07-21 13:32:35'::timestamp) - extract(epoch from '2026-07-21 13:32: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.830975 -2.634636)', '2026-07-21 13:32:43', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831005 -2.63468)'), GeomFromEWKT('SRID=4674;POINT (-39.830975 -2.634636)'))) / (select extract(epoch from '2026-07-21 13:32:43'::timestamp) - extract(epoch from '2026-07-21 13:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831005 -2.63468)'), GeomFromEWKT('SRID=4674;POINT (-39.830975 -2.634636)'))) / (select extract(epoch from '2026-07-21 13:32:43'::timestamp) - extract(epoch from '2026-07-21 13:32:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.830973 -2.634608)', '2026-07-21 13:32:50', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830975 -2.634636)'), GeomFromEWKT('SRID=4674;POINT (-39.830973 -2.634608)'))) / (select extract(epoch from '2026-07-21 13:32:50'::timestamp) - extract(epoch from '2026-07-21 13:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830975 -2.634636)'), GeomFromEWKT('SRID=4674;POINT (-39.830973 -2.634608)'))) / (select extract(epoch from '2026-07-21 13:32:50'::timestamp) - extract(epoch from '2026-07-21 13:32: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.830983 -2.634596)', '2026-07-21 13:32:53', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830973 -2.634608)'), GeomFromEWKT('SRID=4674;POINT (-39.830983 -2.634596)'))) / (select extract(epoch from '2026-07-21 13:32:53'::timestamp) - extract(epoch from '2026-07-21 13:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830973 -2.634608)'), GeomFromEWKT('SRID=4674;POINT (-39.830983 -2.634596)'))) / (select extract(epoch from '2026-07-21 13:32:53'::timestamp) - extract(epoch from '2026-07-21 13: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.830981 -2.634591)', '2026-07-21 13:32:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830983 -2.634596)'), GeomFromEWKT('SRID=4674;POINT (-39.830981 -2.634591)'))) / (select extract(epoch from '2026-07-21 13:32:55'::timestamp) - extract(epoch from '2026-07-21 13:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830983 -2.634596)'), GeomFromEWKT('SRID=4674;POINT (-39.830981 -2.634591)'))) / (select extract(epoch from '2026-07-21 13:32:55'::timestamp) - extract(epoch from '2026-07-21 13:32:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.830984 -2.634549)', '2026-07-21 13:33:03', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830981 -2.634591)'), GeomFromEWKT('SRID=4674;POINT (-39.830984 -2.634549)'))) / (select extract(epoch from '2026-07-21 13:33:03'::timestamp) - extract(epoch from '2026-07-21 13:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830981 -2.634591)'), GeomFromEWKT('SRID=4674;POINT (-39.830984 -2.634549)'))) / (select extract(epoch from '2026-07-21 13:33:03'::timestamp) - extract(epoch from '2026-07-21 13:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.831001 -2.63453)', '2026-07-21 13:33:08', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830984 -2.634549)'), GeomFromEWKT('SRID=4674;POINT (-39.831001 -2.63453)'))) / (select extract(epoch from '2026-07-21 13:33:08'::timestamp) - extract(epoch from '2026-07-21 13:33:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830984 -2.634549)'), GeomFromEWKT('SRID=4674;POINT (-39.831001 -2.63453)'))) / (select extract(epoch from '2026-07-21 13:33:08'::timestamp) - extract(epoch from '2026-07-21 13: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.831027 -2.634503)', '2026-07-21 13:33:14', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831001 -2.63453)'), GeomFromEWKT('SRID=4674;POINT (-39.831027 -2.634503)'))) / (select extract(epoch from '2026-07-21 13:33:14'::timestamp) - extract(epoch from '2026-07-21 13:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831001 -2.63453)'), GeomFromEWKT('SRID=4674;POINT (-39.831027 -2.634503)'))) / (select extract(epoch from '2026-07-21 13:33:14'::timestamp) - extract(epoch from '2026-07-21 13:33:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.831036 -2.634497)', '2026-07-21 13:33:15', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831027 -2.634503)'), GeomFromEWKT('SRID=4674;POINT (-39.831036 -2.634497)'))) / (select extract(epoch from '2026-07-21 13:33:15'::timestamp) - extract(epoch from '2026-07-21 13:33:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831027 -2.634503)'), GeomFromEWKT('SRID=4674;POINT (-39.831036 -2.634497)'))) / (select extract(epoch from '2026-07-21 13:33:15'::timestamp) - extract(epoch from '2026-07-21 13:33:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.831061 -2.63448)', '2026-07-21 13:33:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831036 -2.634497)'), GeomFromEWKT('SRID=4674;POINT (-39.831061 -2.63448)'))) / (select extract(epoch from '2026-07-21 13:33:20'::timestamp) - extract(epoch from '2026-07-21 13:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831036 -2.634497)'), GeomFromEWKT('SRID=4674;POINT (-39.831061 -2.63448)'))) / (select extract(epoch from '2026-07-21 13:33:20'::timestamp) - extract(epoch from '2026-07-21 13:33:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.831094 -2.634456)', '2026-07-21 13:33:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831061 -2.63448)'), GeomFromEWKT('SRID=4674;POINT (-39.831094 -2.634456)'))) / (select extract(epoch from '2026-07-21 13:33:29'::timestamp) - extract(epoch from '2026-07-21 13:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831061 -2.63448)'), GeomFromEWKT('SRID=4674;POINT (-39.831094 -2.634456)'))) / (select extract(epoch from '2026-07-21 13:33:29'::timestamp) - extract(epoch from '2026-07-21 13:33:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.831119 -2.634433)', '2026-07-21 13:33:36', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831094 -2.634456)'), GeomFromEWKT('SRID=4674;POINT (-39.831119 -2.634433)'))) / (select extract(epoch from '2026-07-21 13:33:36'::timestamp) - extract(epoch from '2026-07-21 13:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831094 -2.634456)'), GeomFromEWKT('SRID=4674;POINT (-39.831119 -2.634433)'))) / (select extract(epoch from '2026-07-21 13:33:36'::timestamp) - extract(epoch from '2026-07-21 13:33: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.831123 -2.634427)', '2026-07-21 13:33:47', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831119 -2.634433)'), GeomFromEWKT('SRID=4674;POINT (-39.831123 -2.634427)'))) / (select extract(epoch from '2026-07-21 13:33:47'::timestamp) - extract(epoch from '2026-07-21 13:33:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831119 -2.634433)'), GeomFromEWKT('SRID=4674;POINT (-39.831123 -2.634427)'))) / (select extract(epoch from '2026-07-21 13:33:47'::timestamp) - extract(epoch from '2026-07-21 13:33:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.831153 -2.6344)', '2026-07-21 13:34:04', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831123 -2.634427)'), GeomFromEWKT('SRID=4674;POINT (-39.831153 -2.6344)'))) / (select extract(epoch from '2026-07-21 13:34:04'::timestamp) - extract(epoch from '2026-07-21 13:33:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831123 -2.634427)'), GeomFromEWKT('SRID=4674;POINT (-39.831153 -2.6344)'))) / (select extract(epoch from '2026-07-21 13:34:04'::timestamp) - extract(epoch from '2026-07-21 13:33: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.8312 -2.634352)', '2026-07-21 13:34:15', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831153 -2.6344)'), GeomFromEWKT('SRID=4674;POINT (-39.8312 -2.634352)'))) / (select extract(epoch from '2026-07-21 13:34:15'::timestamp) - extract(epoch from '2026-07-21 13:34:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831153 -2.6344)'), GeomFromEWKT('SRID=4674;POINT (-39.8312 -2.634352)'))) / (select extract(epoch from '2026-07-21 13:34:15'::timestamp) - extract(epoch from '2026-07-21 13:34: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.831205 -2.634336)', '2026-07-21 13:34:21', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8312 -2.634352)'), GeomFromEWKT('SRID=4674;POINT (-39.831205 -2.634336)'))) / (select extract(epoch from '2026-07-21 13:34:21'::timestamp) - extract(epoch from '2026-07-21 13:34:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8312 -2.634352)'), GeomFromEWKT('SRID=4674;POINT (-39.831205 -2.634336)'))) / (select extract(epoch from '2026-07-21 13:34:21'::timestamp) - extract(epoch from '2026-07-21 13: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.831201 -2.634327)', '2026-07-21 13:34:22', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831205 -2.634336)'), GeomFromEWKT('SRID=4674;POINT (-39.831201 -2.634327)'))) / (select extract(epoch from '2026-07-21 13:34:22'::timestamp) - extract(epoch from '2026-07-21 13:34:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831205 -2.634336)'), GeomFromEWKT('SRID=4674;POINT (-39.831201 -2.634327)'))) / (select extract(epoch from '2026-07-21 13:34:22'::timestamp) - extract(epoch from '2026-07-21 13: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.831192 -2.634303)', '2026-07-21 13:34:25', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831201 -2.634327)'), GeomFromEWKT('SRID=4674;POINT (-39.831192 -2.634303)'))) / (select extract(epoch from '2026-07-21 13:34:25'::timestamp) - extract(epoch from '2026-07-21 13:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831201 -2.634327)'), GeomFromEWKT('SRID=4674;POINT (-39.831192 -2.634303)'))) / (select extract(epoch from '2026-07-21 13:34:25'::timestamp) - extract(epoch from '2026-07-21 13: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.831169 -2.634225)', '2026-07-21 13:34:31', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831192 -2.634303)'), GeomFromEWKT('SRID=4674;POINT (-39.831169 -2.634225)'))) / (select extract(epoch from '2026-07-21 13:34:31'::timestamp) - extract(epoch from '2026-07-21 13:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831192 -2.634303)'), GeomFromEWKT('SRID=4674;POINT (-39.831169 -2.634225)'))) / (select extract(epoch from '2026-07-21 13:34:31'::timestamp) - extract(epoch from '2026-07-21 13:34:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.831133 -2.63413)', '2026-07-21 13:34:37', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831169 -2.634225)'), GeomFromEWKT('SRID=4674;POINT (-39.831133 -2.63413)'))) / (select extract(epoch from '2026-07-21 13:34:37'::timestamp) - extract(epoch from '2026-07-21 13:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831169 -2.634225)'), GeomFromEWKT('SRID=4674;POINT (-39.831133 -2.63413)'))) / (select extract(epoch from '2026-07-21 13:34:37'::timestamp) - extract(epoch from '2026-07-21 13: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.831089 -2.634049)', '2026-07-21 13:34:42', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831133 -2.63413)'), GeomFromEWKT('SRID=4674;POINT (-39.831089 -2.634049)'))) / (select extract(epoch from '2026-07-21 13:34:42'::timestamp) - extract(epoch from '2026-07-21 13:34:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831133 -2.63413)'), GeomFromEWKT('SRID=4674;POINT (-39.831089 -2.634049)'))) / (select extract(epoch from '2026-07-21 13:34:42'::timestamp) - extract(epoch from '2026-07-21 13:34:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.831072 -2.634024)', '2026-07-21 13:34:44', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831089 -2.634049)'), GeomFromEWKT('SRID=4674;POINT (-39.831072 -2.634024)'))) / (select extract(epoch from '2026-07-21 13:34:44'::timestamp) - extract(epoch from '2026-07-21 13:34:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831089 -2.634049)'), GeomFromEWKT('SRID=4674;POINT (-39.831072 -2.634024)'))) / (select extract(epoch from '2026-07-21 13:34:44'::timestamp) - extract(epoch from '2026-07-21 13:34: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.831039 -2.633993)', '2026-07-21 13:34:47', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831072 -2.634024)'), GeomFromEWKT('SRID=4674;POINT (-39.831039 -2.633993)'))) / (select extract(epoch from '2026-07-21 13:34:47'::timestamp) - extract(epoch from '2026-07-21 13:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831072 -2.634024)'), GeomFromEWKT('SRID=4674;POINT (-39.831039 -2.633993)'))) / (select extract(epoch from '2026-07-21 13:34:47'::timestamp) - extract(epoch from '2026-07-21 13:34: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.831032 -2.633985)', '2026-07-21 13:34:48', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831039 -2.633993)'), GeomFromEWKT('SRID=4674;POINT (-39.831032 -2.633985)'))) / (select extract(epoch from '2026-07-21 13:34:48'::timestamp) - extract(epoch from '2026-07-21 13:34:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831039 -2.633993)'), GeomFromEWKT('SRID=4674;POINT (-39.831032 -2.633985)'))) / (select extract(epoch from '2026-07-21 13:34:48'::timestamp) - extract(epoch from '2026-07-21 13:34:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.831012 -2.633973)', '2026-07-21 13:34:50', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831032 -2.633985)'), GeomFromEWKT('SRID=4674;POINT (-39.831012 -2.633973)'))) / (select extract(epoch from '2026-07-21 13:34:50'::timestamp) - extract(epoch from '2026-07-21 13:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831032 -2.633985)'), GeomFromEWKT('SRID=4674;POINT (-39.831012 -2.633973)'))) / (select extract(epoch from '2026-07-21 13:34:50'::timestamp) - extract(epoch from '2026-07-21 13:34: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.830997 -2.633968)', '2026-07-21 13:34:51', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831012 -2.633973)'), GeomFromEWKT('SRID=4674;POINT (-39.830997 -2.633968)'))) / (select extract(epoch from '2026-07-21 13:34:51'::timestamp) - extract(epoch from '2026-07-21 13:34:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.831012 -2.633973)'), GeomFromEWKT('SRID=4674;POINT (-39.830997 -2.633968)'))) / (select extract(epoch from '2026-07-21 13:34:51'::timestamp) - extract(epoch from '2026-07-21 13: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.83097 -2.633949)', '2026-07-21 13:34:53', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830997 -2.633968)'), GeomFromEWKT('SRID=4674;POINT (-39.83097 -2.633949)'))) / (select extract(epoch from '2026-07-21 13:34:53'::timestamp) - extract(epoch from '2026-07-21 13:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830997 -2.633968)'), GeomFromEWKT('SRID=4674;POINT (-39.83097 -2.633949)'))) / (select extract(epoch from '2026-07-21 13:34:53'::timestamp) - extract(epoch from '2026-07-21 13:34: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.83094 -2.633935)', '2026-07-21 13:34:55', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83097 -2.633949)'), GeomFromEWKT('SRID=4674;POINT (-39.83094 -2.633935)'))) / (select extract(epoch from '2026-07-21 13:34:55'::timestamp) - extract(epoch from '2026-07-21 13:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83097 -2.633949)'), GeomFromEWKT('SRID=4674;POINT (-39.83094 -2.633935)'))) / (select extract(epoch from '2026-07-21 13:34:55'::timestamp) - extract(epoch from '2026-07-21 13:34:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.830865 -2.633897)', '2026-07-21 13:35:00', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83094 -2.633935)'), GeomFromEWKT('SRID=4674;POINT (-39.830865 -2.633897)'))) / (select extract(epoch from '2026-07-21 13:35:00'::timestamp) - extract(epoch from '2026-07-21 13:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83094 -2.633935)'), GeomFromEWKT('SRID=4674;POINT (-39.830865 -2.633897)'))) / (select extract(epoch from '2026-07-21 13:35:00'::timestamp) - extract(epoch from '2026-07-21 13:34:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.830848 -2.63389)', '2026-07-21 13:35:01', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830865 -2.633897)'), GeomFromEWKT('SRID=4674;POINT (-39.830848 -2.63389)'))) / (select extract(epoch from '2026-07-21 13:35:01'::timestamp) - extract(epoch from '2026-07-21 13:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830865 -2.633897)'), GeomFromEWKT('SRID=4674;POINT (-39.830848 -2.63389)'))) / (select extract(epoch from '2026-07-21 13:35:01'::timestamp) - extract(epoch from '2026-07-21 13:35:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.830802 -2.633857)', '2026-07-21 13:35:04', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830848 -2.63389)'), GeomFromEWKT('SRID=4674;POINT (-39.830802 -2.633857)'))) / (select extract(epoch from '2026-07-21 13:35:04'::timestamp) - extract(epoch from '2026-07-21 13:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830848 -2.63389)'), GeomFromEWKT('SRID=4674;POINT (-39.830802 -2.633857)'))) / (select extract(epoch from '2026-07-21 13:35:04'::timestamp) - extract(epoch from '2026-07-21 13:35: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.830733 -2.633811)', '2026-07-21 13:35:08', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830802 -2.633857)'), GeomFromEWKT('SRID=4674;POINT (-39.830733 -2.633811)'))) / (select extract(epoch from '2026-07-21 13:35:08'::timestamp) - extract(epoch from '2026-07-21 13:35:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830802 -2.633857)'), GeomFromEWKT('SRID=4674;POINT (-39.830733 -2.633811)'))) / (select extract(epoch from '2026-07-21 13:35:08'::timestamp) - extract(epoch from '2026-07-21 13:35: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.830718 -2.633795)', '2026-07-21 13:35:09', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830733 -2.633811)'), GeomFromEWKT('SRID=4674;POINT (-39.830718 -2.633795)'))) / (select extract(epoch from '2026-07-21 13:35:09'::timestamp) - extract(epoch from '2026-07-21 13:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830733 -2.633811)'), GeomFromEWKT('SRID=4674;POINT (-39.830718 -2.633795)'))) / (select extract(epoch from '2026-07-21 13:35:09'::timestamp) - extract(epoch from '2026-07-21 13: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.830619 -2.633693)', '2026-07-21 13:35:15', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830718 -2.633795)'), GeomFromEWKT('SRID=4674;POINT (-39.830619 -2.633693)'))) / (select extract(epoch from '2026-07-21 13:35:15'::timestamp) - extract(epoch from '2026-07-21 13:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830718 -2.633795)'), GeomFromEWKT('SRID=4674;POINT (-39.830619 -2.633693)'))) / (select extract(epoch from '2026-07-21 13:35:15'::timestamp) - extract(epoch from '2026-07-21 13:35: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.830559 -2.633595)', '2026-07-21 13:35:20', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830619 -2.633693)'), GeomFromEWKT('SRID=4674;POINT (-39.830559 -2.633595)'))) / (select extract(epoch from '2026-07-21 13:35:20'::timestamp) - extract(epoch from '2026-07-21 13:35:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830619 -2.633693)'), GeomFromEWKT('SRID=4674;POINT (-39.830559 -2.633595)'))) / (select extract(epoch from '2026-07-21 13:35:20'::timestamp) - extract(epoch from '2026-07-21 13:35: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.830514 -2.633537)', '2026-07-21 13:35:25', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830559 -2.633595)'), GeomFromEWKT('SRID=4674;POINT (-39.830514 -2.633537)'))) / (select extract(epoch from '2026-07-21 13:35:25'::timestamp) - extract(epoch from '2026-07-21 13:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830559 -2.633595)'), GeomFromEWKT('SRID=4674;POINT (-39.830514 -2.633537)'))) / (select extract(epoch from '2026-07-21 13:35:25'::timestamp) - extract(epoch from '2026-07-21 13:35: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.830482 -2.633503)', '2026-07-21 13:35:30', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830514 -2.633537)'), GeomFromEWKT('SRID=4674;POINT (-39.830482 -2.633503)'))) / (select extract(epoch from '2026-07-21 13:35:30'::timestamp) - extract(epoch from '2026-07-21 13:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830514 -2.633537)'), GeomFromEWKT('SRID=4674;POINT (-39.830482 -2.633503)'))) / (select extract(epoch from '2026-07-21 13:35:30'::timestamp) - extract(epoch from '2026-07-21 13:35: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.830476 -2.633489)', '2026-07-21 13:35:35', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830482 -2.633503)'), GeomFromEWKT('SRID=4674;POINT (-39.830476 -2.633489)'))) / (select extract(epoch from '2026-07-21 13:35:35'::timestamp) - extract(epoch from '2026-07-21 13:35:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830482 -2.633503)'), GeomFromEWKT('SRID=4674;POINT (-39.830476 -2.633489)'))) / (select extract(epoch from '2026-07-21 13:35:35'::timestamp) - extract(epoch from '2026-07-21 13:35: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.830494 -2.633464)', '2026-07-21 13:35:46', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830476 -2.633489)'), GeomFromEWKT('SRID=4674;POINT (-39.830494 -2.633464)'))) / (select extract(epoch from '2026-07-21 13:35:46'::timestamp) - extract(epoch from '2026-07-21 13:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830476 -2.633489)'), GeomFromEWKT('SRID=4674;POINT (-39.830494 -2.633464)'))) / (select extract(epoch from '2026-07-21 13:35:46'::timestamp) - extract(epoch from '2026-07-21 13:35: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.83052 -2.633439)', '2026-07-21 13:35:51', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830494 -2.633464)'), GeomFromEWKT('SRID=4674;POINT (-39.83052 -2.633439)'))) / (select extract(epoch from '2026-07-21 13:35:51'::timestamp) - extract(epoch from '2026-07-21 13:35:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830494 -2.633464)'), GeomFromEWKT('SRID=4674;POINT (-39.83052 -2.633439)'))) / (select extract(epoch from '2026-07-21 13:35:51'::timestamp) - extract(epoch from '2026-07-21 13:35:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.830525 -2.633433)', '2026-07-21 13:35:52', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83052 -2.633439)'), GeomFromEWKT('SRID=4674;POINT (-39.830525 -2.633433)'))) / (select extract(epoch from '2026-07-21 13:35:52'::timestamp) - extract(epoch from '2026-07-21 13:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83052 -2.633439)'), GeomFromEWKT('SRID=4674;POINT (-39.830525 -2.633433)'))) / (select extract(epoch from '2026-07-21 13:35:52'::timestamp) - extract(epoch from '2026-07-21 13:35:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.830551 -2.633404)', '2026-07-21 13:35:59', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830525 -2.633433)'), GeomFromEWKT('SRID=4674;POINT (-39.830551 -2.633404)'))) / (select extract(epoch from '2026-07-21 13:35:59'::timestamp) - extract(epoch from '2026-07-21 13:35:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830525 -2.633433)'), GeomFromEWKT('SRID=4674;POINT (-39.830551 -2.633404)'))) / (select extract(epoch from '2026-07-21 13:35:59'::timestamp) - extract(epoch from '2026-07-21 13:35: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.830577 -2.63337)', '2026-07-21 13:36:06', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830551 -2.633404)'), GeomFromEWKT('SRID=4674;POINT (-39.830577 -2.63337)'))) / (select extract(epoch from '2026-07-21 13:36:06'::timestamp) - extract(epoch from '2026-07-21 13:35:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830551 -2.633404)'), GeomFromEWKT('SRID=4674;POINT (-39.830577 -2.63337)'))) / (select extract(epoch from '2026-07-21 13:36:06'::timestamp) - extract(epoch from '2026-07-21 13: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.830608 -2.633326)', '2026-07-21 13:36:14', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830577 -2.63337)'), GeomFromEWKT('SRID=4674;POINT (-39.830608 -2.633326)'))) / (select extract(epoch from '2026-07-21 13:36:14'::timestamp) - extract(epoch from '2026-07-21 13:36:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830577 -2.63337)'), GeomFromEWKT('SRID=4674;POINT (-39.830608 -2.633326)'))) / (select extract(epoch from '2026-07-21 13:36:14'::timestamp) - extract(epoch from '2026-07-21 13:36: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.83062 -2.633293)', '2026-07-21 13:36:22', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830608 -2.633326)'), GeomFromEWKT('SRID=4674;POINT (-39.83062 -2.633293)'))) / (select extract(epoch from '2026-07-21 13:36:22'::timestamp) - extract(epoch from '2026-07-21 13:36:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830608 -2.633326)'), GeomFromEWKT('SRID=4674;POINT (-39.83062 -2.633293)'))) / (select extract(epoch from '2026-07-21 13:36:22'::timestamp) - extract(epoch from '2026-07-21 13: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.830622 -2.633282)', '2026-07-21 13:36:24', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83062 -2.633293)'), GeomFromEWKT('SRID=4674;POINT (-39.830622 -2.633282)'))) / (select extract(epoch from '2026-07-21 13:36:24'::timestamp) - extract(epoch from '2026-07-21 13:36:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83062 -2.633293)'), GeomFromEWKT('SRID=4674;POINT (-39.830622 -2.633282)'))) / (select extract(epoch from '2026-07-21 13:36:24'::timestamp) - extract(epoch from '2026-07-21 13: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.830622 -2.633275)', '2026-07-21 13:36:26', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830622 -2.633282)'), GeomFromEWKT('SRID=4674;POINT (-39.830622 -2.633275)'))) / (select extract(epoch from '2026-07-21 13:36:26'::timestamp) - extract(epoch from '2026-07-21 13:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830622 -2.633282)'), GeomFromEWKT('SRID=4674;POINT (-39.830622 -2.633275)'))) / (select extract(epoch from '2026-07-21 13:36:26'::timestamp) - extract(epoch from '2026-07-21 13:36: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.830633 -2.633256)', '2026-07-21 13:36:33', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830622 -2.633275)'), GeomFromEWKT('SRID=4674;POINT (-39.830633 -2.633256)'))) / (select extract(epoch from '2026-07-21 13:36:33'::timestamp) - extract(epoch from '2026-07-21 13:36:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830622 -2.633275)'), GeomFromEWKT('SRID=4674;POINT (-39.830633 -2.633256)'))) / (select extract(epoch from '2026-07-21 13:36:33'::timestamp) - extract(epoch from '2026-07-21 13: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.830647 -2.633245)', '2026-07-21 13:36:39', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830633 -2.633256)'), GeomFromEWKT('SRID=4674;POINT (-39.830647 -2.633245)'))) / (select extract(epoch from '2026-07-21 13:36:39'::timestamp) - extract(epoch from '2026-07-21 13:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830633 -2.633256)'), GeomFromEWKT('SRID=4674;POINT (-39.830647 -2.633245)'))) / (select extract(epoch from '2026-07-21 13:36:39'::timestamp) - extract(epoch from '2026-07-21 13: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.830647 -2.633232)', '2026-07-21 13:36:44', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830647 -2.633245)'), GeomFromEWKT('SRID=4674;POINT (-39.830647 -2.633232)'))) / (select extract(epoch from '2026-07-21 13:36:44'::timestamp) - extract(epoch from '2026-07-21 13:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830647 -2.633245)'), GeomFromEWKT('SRID=4674;POINT (-39.830647 -2.633232)'))) / (select extract(epoch from '2026-07-21 13:36:44'::timestamp) - extract(epoch from '2026-07-21 13:36: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.830655 -2.633219)', '2026-07-21 13:36:49', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830647 -2.633232)'), GeomFromEWKT('SRID=4674;POINT (-39.830655 -2.633219)'))) / (select extract(epoch from '2026-07-21 13:36:49'::timestamp) - extract(epoch from '2026-07-21 13:36:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830647 -2.633232)'), GeomFromEWKT('SRID=4674;POINT (-39.830655 -2.633219)'))) / (select extract(epoch from '2026-07-21 13:36:49'::timestamp) - extract(epoch from '2026-07-21 13:36: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.830652 -2.63318)', '2026-07-21 13:36:55', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830655 -2.633219)'), GeomFromEWKT('SRID=4674;POINT (-39.830652 -2.63318)'))) / (select extract(epoch from '2026-07-21 13:36:55'::timestamp) - extract(epoch from '2026-07-21 13:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830655 -2.633219)'), GeomFromEWKT('SRID=4674;POINT (-39.830652 -2.63318)'))) / (select extract(epoch from '2026-07-21 13:36:55'::timestamp) - extract(epoch from '2026-07-21 13:36: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.830632 -2.633131)', '2026-07-21 13:36:59', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830652 -2.63318)'), GeomFromEWKT('SRID=4674;POINT (-39.830632 -2.633131)'))) / (select extract(epoch from '2026-07-21 13:36:59'::timestamp) - extract(epoch from '2026-07-21 13:36:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830652 -2.63318)'), GeomFromEWKT('SRID=4674;POINT (-39.830632 -2.633131)'))) / (select extract(epoch from '2026-07-21 13:36:59'::timestamp) - extract(epoch from '2026-07-21 13: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.830633 -2.633114)', '2026-07-21 13:37:00', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830632 -2.633131)'), GeomFromEWKT('SRID=4674;POINT (-39.830633 -2.633114)'))) / (select extract(epoch from '2026-07-21 13:37:00'::timestamp) - extract(epoch from '2026-07-21 13:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830632 -2.633131)'), GeomFromEWKT('SRID=4674;POINT (-39.830633 -2.633114)'))) / (select extract(epoch from '2026-07-21 13:37:00'::timestamp) - extract(epoch from '2026-07-21 13:36: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.830629 -2.633097)', '2026-07-21 13:37:01', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830633 -2.633114)'), GeomFromEWKT('SRID=4674;POINT (-39.830629 -2.633097)'))) / (select extract(epoch from '2026-07-21 13:37:01'::timestamp) - extract(epoch from '2026-07-21 13:37:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830633 -2.633114)'), GeomFromEWKT('SRID=4674;POINT (-39.830629 -2.633097)'))) / (select extract(epoch from '2026-07-21 13:37:01'::timestamp) - extract(epoch from '2026-07-21 13:37: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.830618 -2.633044)', '2026-07-21 13:37:04', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830629 -2.633097)'), GeomFromEWKT('SRID=4674;POINT (-39.830618 -2.633044)'))) / (select extract(epoch from '2026-07-21 13:37:04'::timestamp) - extract(epoch from '2026-07-21 13:37:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830629 -2.633097)'), GeomFromEWKT('SRID=4674;POINT (-39.830618 -2.633044)'))) / (select extract(epoch from '2026-07-21 13:37:04'::timestamp) - extract(epoch from '2026-07-21 13: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.830571 -2.632909)', '2026-07-21 13:37:11', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830618 -2.633044)'), GeomFromEWKT('SRID=4674;POINT (-39.830571 -2.632909)'))) / (select extract(epoch from '2026-07-21 13:37:11'::timestamp) - extract(epoch from '2026-07-21 13:37:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830618 -2.633044)'), GeomFromEWKT('SRID=4674;POINT (-39.830571 -2.632909)'))) / (select extract(epoch from '2026-07-21 13:37:11'::timestamp) - extract(epoch from '2026-07-21 13:37:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.830561 -2.632868)', '2026-07-21 13:37:13', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830571 -2.632909)'), GeomFromEWKT('SRID=4674;POINT (-39.830561 -2.632868)'))) / (select extract(epoch from '2026-07-21 13:37:13'::timestamp) - extract(epoch from '2026-07-21 13:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830571 -2.632909)'), GeomFromEWKT('SRID=4674;POINT (-39.830561 -2.632868)'))) / (select extract(epoch from '2026-07-21 13:37:13'::timestamp) - extract(epoch from '2026-07-21 13:37:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.830547 -2.632779)', '2026-07-21 13:37:17', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830561 -2.632868)'), GeomFromEWKT('SRID=4674;POINT (-39.830547 -2.632779)'))) / (select extract(epoch from '2026-07-21 13:37:17'::timestamp) - extract(epoch from '2026-07-21 13:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830561 -2.632868)'), GeomFromEWKT('SRID=4674;POINT (-39.830547 -2.632779)'))) / (select extract(epoch from '2026-07-21 13:37:17'::timestamp) - extract(epoch from '2026-07-21 13:37: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.830489 -2.63262)', '2026-07-21 13:37:24', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830547 -2.632779)'), GeomFromEWKT('SRID=4674;POINT (-39.830489 -2.63262)'))) / (select extract(epoch from '2026-07-21 13:37:24'::timestamp) - extract(epoch from '2026-07-21 13:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830547 -2.632779)'), GeomFromEWKT('SRID=4674;POINT (-39.830489 -2.63262)'))) / (select extract(epoch from '2026-07-21 13:37:24'::timestamp) - extract(epoch from '2026-07-21 13:37:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.830445 -2.632483)', '2026-07-21 13:37:30', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830489 -2.63262)'), GeomFromEWKT('SRID=4674;POINT (-39.830445 -2.632483)'))) / (select extract(epoch from '2026-07-21 13:37:30'::timestamp) - extract(epoch from '2026-07-21 13:37:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830489 -2.63262)'), GeomFromEWKT('SRID=4674;POINT (-39.830445 -2.632483)'))) / (select extract(epoch from '2026-07-21 13:37:30'::timestamp) - extract(epoch from '2026-07-21 13:37:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.830391 -2.632382)', '2026-07-21 13:37:35', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830445 -2.632483)'), GeomFromEWKT('SRID=4674;POINT (-39.830391 -2.632382)'))) / (select extract(epoch from '2026-07-21 13:37:35'::timestamp) - extract(epoch from '2026-07-21 13:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830445 -2.632483)'), GeomFromEWKT('SRID=4674;POINT (-39.830391 -2.632382)'))) / (select extract(epoch from '2026-07-21 13:37:35'::timestamp) - extract(epoch from '2026-07-21 13:37:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.830325 -2.632318)', '2026-07-21 13:37:39', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830391 -2.632382)'), GeomFromEWKT('SRID=4674;POINT (-39.830325 -2.632318)'))) / (select extract(epoch from '2026-07-21 13:37:39'::timestamp) - extract(epoch from '2026-07-21 13:37:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830391 -2.632382)'), GeomFromEWKT('SRID=4674;POINT (-39.830325 -2.632318)'))) / (select extract(epoch from '2026-07-21 13:37:39'::timestamp) - extract(epoch from '2026-07-21 13:37: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.830262 -2.632242)', '2026-07-21 13:37:44', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830325 -2.632318)'), GeomFromEWKT('SRID=4674;POINT (-39.830262 -2.632242)'))) / (select extract(epoch from '2026-07-21 13:37:44'::timestamp) - extract(epoch from '2026-07-21 13:37:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830325 -2.632318)'), GeomFromEWKT('SRID=4674;POINT (-39.830262 -2.632242)'))) / (select extract(epoch from '2026-07-21 13:37:44'::timestamp) - extract(epoch from '2026-07-21 13:37:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.830202 -2.63217)', '2026-07-21 13:37:49', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830262 -2.632242)'), GeomFromEWKT('SRID=4674;POINT (-39.830202 -2.63217)'))) / (select extract(epoch from '2026-07-21 13:37:49'::timestamp) - extract(epoch from '2026-07-21 13:37:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830262 -2.632242)'), GeomFromEWKT('SRID=4674;POINT (-39.830202 -2.63217)'))) / (select extract(epoch from '2026-07-21 13:37:49'::timestamp) - extract(epoch from '2026-07-21 13:37: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.830113 -2.632083)', '2026-07-21 13:37:55', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830202 -2.63217)'), GeomFromEWKT('SRID=4674;POINT (-39.830113 -2.632083)'))) / (select extract(epoch from '2026-07-21 13:37:55'::timestamp) - extract(epoch from '2026-07-21 13:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830202 -2.63217)'), GeomFromEWKT('SRID=4674;POINT (-39.830113 -2.632083)'))) / (select extract(epoch from '2026-07-21 13:37:55'::timestamp) - extract(epoch from '2026-07-21 13:37:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.830068 -2.632037)', '2026-07-21 13:37:58', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830113 -2.632083)'), GeomFromEWKT('SRID=4674;POINT (-39.830068 -2.632037)'))) / (select extract(epoch from '2026-07-21 13:37:58'::timestamp) - extract(epoch from '2026-07-21 13:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830113 -2.632083)'), GeomFromEWKT('SRID=4674;POINT (-39.830068 -2.632037)'))) / (select extract(epoch from '2026-07-21 13:37:58'::timestamp) - extract(epoch from '2026-07-21 13:37:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.830055 -2.632019)', '2026-07-21 13:37:59', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830068 -2.632037)'), GeomFromEWKT('SRID=4674;POINT (-39.830055 -2.632019)'))) / (select extract(epoch from '2026-07-21 13:37:59'::timestamp) - extract(epoch from '2026-07-21 13:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830068 -2.632037)'), GeomFromEWKT('SRID=4674;POINT (-39.830055 -2.632019)'))) / (select extract(epoch from '2026-07-21 13:37:59'::timestamp) - extract(epoch from '2026-07-21 13:37: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.829968 -2.631883)', '2026-07-21 13:38:06', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830055 -2.632019)'), GeomFromEWKT('SRID=4674;POINT (-39.829968 -2.631883)'))) / (select extract(epoch from '2026-07-21 13:38:06'::timestamp) - extract(epoch from '2026-07-21 13:37:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830055 -2.632019)'), GeomFromEWKT('SRID=4674;POINT (-39.829968 -2.631883)'))) / (select extract(epoch from '2026-07-21 13:38:06'::timestamp) - extract(epoch from '2026-07-21 13: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.829948 -2.631841)', '2026-07-21 13:38:08', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829968 -2.631883)'), GeomFromEWKT('SRID=4674;POINT (-39.829948 -2.631841)'))) / (select extract(epoch from '2026-07-21 13:38:08'::timestamp) - extract(epoch from '2026-07-21 13:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829968 -2.631883)'), GeomFromEWKT('SRID=4674;POINT (-39.829948 -2.631841)'))) / (select extract(epoch from '2026-07-21 13:38:08'::timestamp) - extract(epoch from '2026-07-21 13:38: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.829926 -2.631805)', '2026-07-21 13:38:10', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829948 -2.631841)'), GeomFromEWKT('SRID=4674;POINT (-39.829926 -2.631805)'))) / (select extract(epoch from '2026-07-21 13:38:10'::timestamp) - extract(epoch from '2026-07-21 13:38:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829948 -2.631841)'), GeomFromEWKT('SRID=4674;POINT (-39.829926 -2.631805)'))) / (select extract(epoch from '2026-07-21 13:38:10'::timestamp) - extract(epoch from '2026-07-21 13:38: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.829885 -2.631727)', '2026-07-21 13:38:14', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829926 -2.631805)'), GeomFromEWKT('SRID=4674;POINT (-39.829885 -2.631727)'))) / (select extract(epoch from '2026-07-21 13:38:14'::timestamp) - extract(epoch from '2026-07-21 13:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829926 -2.631805)'), GeomFromEWKT('SRID=4674;POINT (-39.829885 -2.631727)'))) / (select extract(epoch from '2026-07-21 13:38:14'::timestamp) - extract(epoch from '2026-07-21 13:38: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.829852 -2.631669)', '2026-07-21 13:38:17', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829885 -2.631727)'), GeomFromEWKT('SRID=4674;POINT (-39.829852 -2.631669)'))) / (select extract(epoch from '2026-07-21 13:38:17'::timestamp) - extract(epoch from '2026-07-21 13:38:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829885 -2.631727)'), GeomFromEWKT('SRID=4674;POINT (-39.829852 -2.631669)'))) / (select extract(epoch from '2026-07-21 13:38:17'::timestamp) - extract(epoch from '2026-07-21 13: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.829837 -2.631653)', '2026-07-21 13:38:18', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829852 -2.631669)'), GeomFromEWKT('SRID=4674;POINT (-39.829837 -2.631653)'))) / (select extract(epoch from '2026-07-21 13:38:18'::timestamp) - extract(epoch from '2026-07-21 13:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829852 -2.631669)'), GeomFromEWKT('SRID=4674;POINT (-39.829837 -2.631653)'))) / (select extract(epoch from '2026-07-21 13:38:18'::timestamp) - extract(epoch from '2026-07-21 13:38:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829772 -2.631567)', '2026-07-21 13:38:23', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829837 -2.631653)'), GeomFromEWKT('SRID=4674;POINT (-39.829772 -2.631567)'))) / (select extract(epoch from '2026-07-21 13:38:23'::timestamp) - extract(epoch from '2026-07-21 13:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829837 -2.631653)'), GeomFromEWKT('SRID=4674;POINT (-39.829772 -2.631567)'))) / (select extract(epoch from '2026-07-21 13:38:23'::timestamp) - extract(epoch from '2026-07-21 13:38: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.829758 -2.631552)', '2026-07-21 13:38:24', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829772 -2.631567)'), GeomFromEWKT('SRID=4674;POINT (-39.829758 -2.631552)'))) / (select extract(epoch from '2026-07-21 13:38:24'::timestamp) - extract(epoch from '2026-07-21 13:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829772 -2.631567)'), GeomFromEWKT('SRID=4674;POINT (-39.829758 -2.631552)'))) / (select extract(epoch from '2026-07-21 13:38:24'::timestamp) - extract(epoch from '2026-07-21 13:38:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829735 -2.631525)', '2026-07-21 13:38:26', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829758 -2.631552)'), GeomFromEWKT('SRID=4674;POINT (-39.829735 -2.631525)'))) / (select extract(epoch from '2026-07-21 13:38:26'::timestamp) - extract(epoch from '2026-07-21 13:38:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829758 -2.631552)'), GeomFromEWKT('SRID=4674;POINT (-39.829735 -2.631525)'))) / (select extract(epoch from '2026-07-21 13:38:26'::timestamp) - extract(epoch from '2026-07-21 13:38: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.829689 -2.631456)', '2026-07-21 13:38:30', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829735 -2.631525)'), GeomFromEWKT('SRID=4674;POINT (-39.829689 -2.631456)'))) / (select extract(epoch from '2026-07-21 13:38:30'::timestamp) - extract(epoch from '2026-07-21 13:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829735 -2.631525)'), GeomFromEWKT('SRID=4674;POINT (-39.829689 -2.631456)'))) / (select extract(epoch from '2026-07-21 13:38:30'::timestamp) - extract(epoch from '2026-07-21 13:38: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.829649 -2.631367)', '2026-07-21 13:38:34', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829689 -2.631456)'), GeomFromEWKT('SRID=4674;POINT (-39.829649 -2.631367)'))) / (select extract(epoch from '2026-07-21 13:38:34'::timestamp) - extract(epoch from '2026-07-21 13:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829689 -2.631456)'), GeomFromEWKT('SRID=4674;POINT (-39.829649 -2.631367)'))) / (select extract(epoch from '2026-07-21 13:38:34'::timestamp) - extract(epoch from '2026-07-21 13:38:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829593 -2.63125)', '2026-07-21 13:38:40', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829649 -2.631367)'), GeomFromEWKT('SRID=4674;POINT (-39.829593 -2.63125)'))) / (select extract(epoch from '2026-07-21 13:38:40'::timestamp) - extract(epoch from '2026-07-21 13:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829649 -2.631367)'), GeomFromEWKT('SRID=4674;POINT (-39.829593 -2.63125)'))) / (select extract(epoch from '2026-07-21 13:38:40'::timestamp) - extract(epoch from '2026-07-21 13:38: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.829557 -2.631183)', '2026-07-21 13:38:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829593 -2.63125)'), GeomFromEWKT('SRID=4674;POINT (-39.829557 -2.631183)'))) / (select extract(epoch from '2026-07-21 13:38:44'::timestamp) - extract(epoch from '2026-07-21 13:38:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829593 -2.63125)'), GeomFromEWKT('SRID=4674;POINT (-39.829557 -2.631183)'))) / (select extract(epoch from '2026-07-21 13:38:44'::timestamp) - extract(epoch from '2026-07-21 13:38: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.829461 -2.631095)', '2026-07-21 13:38:51', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829557 -2.631183)'), GeomFromEWKT('SRID=4674;POINT (-39.829461 -2.631095)'))) / (select extract(epoch from '2026-07-21 13:38:51'::timestamp) - extract(epoch from '2026-07-21 13:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829557 -2.631183)'), GeomFromEWKT('SRID=4674;POINT (-39.829461 -2.631095)'))) / (select extract(epoch from '2026-07-21 13:38:51'::timestamp) - extract(epoch from '2026-07-21 13:38: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.829387 -2.630992)', '2026-07-21 13:38:59', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829461 -2.631095)'), GeomFromEWKT('SRID=4674;POINT (-39.829387 -2.630992)'))) / (select extract(epoch from '2026-07-21 13:38:59'::timestamp) - extract(epoch from '2026-07-21 13:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829461 -2.631095)'), GeomFromEWKT('SRID=4674;POINT (-39.829387 -2.630992)'))) / (select extract(epoch from '2026-07-21 13:38:59'::timestamp) - extract(epoch from '2026-07-21 13:38:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.82938 -2.630982)', '2026-07-21 13:39:00', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829387 -2.630992)'), GeomFromEWKT('SRID=4674;POINT (-39.82938 -2.630982)'))) / (select extract(epoch from '2026-07-21 13:39:00'::timestamp) - extract(epoch from '2026-07-21 13:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829387 -2.630992)'), GeomFromEWKT('SRID=4674;POINT (-39.82938 -2.630982)'))) / (select extract(epoch from '2026-07-21 13:39:00'::timestamp) - extract(epoch from '2026-07-21 13:38: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.82935 -2.630942)', '2026-07-21 13:39:05', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82938 -2.630982)'), GeomFromEWKT('SRID=4674;POINT (-39.82935 -2.630942)'))) / (select extract(epoch from '2026-07-21 13:39:05'::timestamp) - extract(epoch from '2026-07-21 13:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82938 -2.630982)'), GeomFromEWKT('SRID=4674;POINT (-39.82935 -2.630942)'))) / (select extract(epoch from '2026-07-21 13:39:05'::timestamp) - extract(epoch from '2026-07-21 13:39:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829336 -2.630913)', '2026-07-21 13:39:10', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82935 -2.630942)'), GeomFromEWKT('SRID=4674;POINT (-39.829336 -2.630913)'))) / (select extract(epoch from '2026-07-21 13:39:10'::timestamp) - extract(epoch from '2026-07-21 13:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82935 -2.630942)'), GeomFromEWKT('SRID=4674;POINT (-39.829336 -2.630913)'))) / (select extract(epoch from '2026-07-21 13:39:10'::timestamp) - extract(epoch from '2026-07-21 13:39:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829344 -2.630864)', '2026-07-21 13:39:17', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829336 -2.630913)'), GeomFromEWKT('SRID=4674;POINT (-39.829344 -2.630864)'))) / (select extract(epoch from '2026-07-21 13:39:17'::timestamp) - extract(epoch from '2026-07-21 13:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829336 -2.630913)'), GeomFromEWKT('SRID=4674;POINT (-39.829344 -2.630864)'))) / (select extract(epoch from '2026-07-21 13:39:17'::timestamp) - extract(epoch from '2026-07-21 13: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.829348 -2.630821)', '2026-07-21 13:39:24', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829344 -2.630864)'), GeomFromEWKT('SRID=4674;POINT (-39.829348 -2.630821)'))) / (select extract(epoch from '2026-07-21 13:39:24'::timestamp) - extract(epoch from '2026-07-21 13:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829344 -2.630864)'), GeomFromEWKT('SRID=4674;POINT (-39.829348 -2.630821)'))) / (select extract(epoch from '2026-07-21 13:39:24'::timestamp) - extract(epoch from '2026-07-21 13: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.829364 -2.630784)', '2026-07-21 13:39:31', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829348 -2.630821)'), GeomFromEWKT('SRID=4674;POINT (-39.829364 -2.630784)'))) / (select extract(epoch from '2026-07-21 13:39:31'::timestamp) - extract(epoch from '2026-07-21 13:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829348 -2.630821)'), GeomFromEWKT('SRID=4674;POINT (-39.829364 -2.630784)'))) / (select extract(epoch from '2026-07-21 13:39:31'::timestamp) - extract(epoch from '2026-07-21 13:39:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829383 -2.630765)', '2026-07-21 13:39:37', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829364 -2.630784)'), GeomFromEWKT('SRID=4674;POINT (-39.829383 -2.630765)'))) / (select extract(epoch from '2026-07-21 13:39:37'::timestamp) - extract(epoch from '2026-07-21 13:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829364 -2.630784)'), GeomFromEWKT('SRID=4674;POINT (-39.829383 -2.630765)'))) / (select extract(epoch from '2026-07-21 13:39:37'::timestamp) - extract(epoch from '2026-07-21 13:39: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.829411 -2.630736)', '2026-07-21 13:39:45', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829383 -2.630765)'), GeomFromEWKT('SRID=4674;POINT (-39.829411 -2.630736)'))) / (select extract(epoch from '2026-07-21 13:39:45'::timestamp) - extract(epoch from '2026-07-21 13:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829383 -2.630765)'), GeomFromEWKT('SRID=4674;POINT (-39.829411 -2.630736)'))) / (select extract(epoch from '2026-07-21 13:39:45'::timestamp) - extract(epoch from '2026-07-21 13:39: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.829445 -2.630717)', '2026-07-21 13:39:54', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829411 -2.630736)'), GeomFromEWKT('SRID=4674;POINT (-39.829445 -2.630717)'))) / (select extract(epoch from '2026-07-21 13:39:54'::timestamp) - extract(epoch from '2026-07-21 13:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829411 -2.630736)'), GeomFromEWKT('SRID=4674;POINT (-39.829445 -2.630717)'))) / (select extract(epoch from '2026-07-21 13:39:54'::timestamp) - extract(epoch from '2026-07-21 13:39:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829463 -2.630697)', '2026-07-21 13:40:01', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829445 -2.630717)'), GeomFromEWKT('SRID=4674;POINT (-39.829463 -2.630697)'))) / (select extract(epoch from '2026-07-21 13:40:01'::timestamp) - extract(epoch from '2026-07-21 13:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829445 -2.630717)'), GeomFromEWKT('SRID=4674;POINT (-39.829463 -2.630697)'))) / (select extract(epoch from '2026-07-21 13:40:01'::timestamp) - extract(epoch from '2026-07-21 13:39:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829481 -2.630686)', '2026-07-21 13:40:05', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829463 -2.630697)'), GeomFromEWKT('SRID=4674;POINT (-39.829481 -2.630686)'))) / (select extract(epoch from '2026-07-21 13:40:05'::timestamp) - extract(epoch from '2026-07-21 13:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829463 -2.630697)'), GeomFromEWKT('SRID=4674;POINT (-39.829481 -2.630686)'))) / (select extract(epoch from '2026-07-21 13:40:05'::timestamp) - extract(epoch from '2026-07-21 13:40: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.829502 -2.630669)', '2026-07-21 13:40:09', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829481 -2.630686)'), GeomFromEWKT('SRID=4674;POINT (-39.829502 -2.630669)'))) / (select extract(epoch from '2026-07-21 13:40:09'::timestamp) - extract(epoch from '2026-07-21 13:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829481 -2.630686)'), GeomFromEWKT('SRID=4674;POINT (-39.829502 -2.630669)'))) / (select extract(epoch from '2026-07-21 13:40:09'::timestamp) - extract(epoch from '2026-07-21 13:40: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.829528 -2.630658)', '2026-07-21 13:40:14', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829502 -2.630669)'), GeomFromEWKT('SRID=4674;POINT (-39.829528 -2.630658)'))) / (select extract(epoch from '2026-07-21 13:40:14'::timestamp) - extract(epoch from '2026-07-21 13:40:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829502 -2.630669)'), GeomFromEWKT('SRID=4674;POINT (-39.829528 -2.630658)'))) / (select extract(epoch from '2026-07-21 13:40:14'::timestamp) - extract(epoch from '2026-07-21 13:40:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.82954 -2.630653)', '2026-07-21 13:40:23', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829528 -2.630658)'), GeomFromEWKT('SRID=4674;POINT (-39.82954 -2.630653)'))) / (select extract(epoch from '2026-07-21 13:40:23'::timestamp) - extract(epoch from '2026-07-21 13:40:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829528 -2.630658)'), GeomFromEWKT('SRID=4674;POINT (-39.82954 -2.630653)'))) / (select extract(epoch from '2026-07-21 13:40:23'::timestamp) - extract(epoch from '2026-07-21 13:40: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.829592 -2.630611)', '2026-07-21 13:40:43', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82954 -2.630653)'), GeomFromEWKT('SRID=4674;POINT (-39.829592 -2.630611)'))) / (select extract(epoch from '2026-07-21 13:40:43'::timestamp) - extract(epoch from '2026-07-21 13:40:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82954 -2.630653)'), GeomFromEWKT('SRID=4674;POINT (-39.829592 -2.630611)'))) / (select extract(epoch from '2026-07-21 13:40:43'::timestamp) - extract(epoch from '2026-07-21 13:40: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.829626 -2.630597)', '2026-07-21 13:40:50', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829592 -2.630611)'), GeomFromEWKT('SRID=4674;POINT (-39.829626 -2.630597)'))) / (select extract(epoch from '2026-07-21 13:40:50'::timestamp) - extract(epoch from '2026-07-21 13:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829592 -2.630611)'), GeomFromEWKT('SRID=4674;POINT (-39.829626 -2.630597)'))) / (select extract(epoch from '2026-07-21 13:40:50'::timestamp) - extract(epoch from '2026-07-21 13:40: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.829655 -2.630582)', '2026-07-21 13:40:58', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829626 -2.630597)'), GeomFromEWKT('SRID=4674;POINT (-39.829655 -2.630582)'))) / (select extract(epoch from '2026-07-21 13:40:58'::timestamp) - extract(epoch from '2026-07-21 13:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829626 -2.630597)'), GeomFromEWKT('SRID=4674;POINT (-39.829655 -2.630582)'))) / (select extract(epoch from '2026-07-21 13:40:58'::timestamp) - extract(epoch from '2026-07-21 13:40:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829683 -2.630568)', '2026-07-21 13:41:06', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829655 -2.630582)'), GeomFromEWKT('SRID=4674;POINT (-39.829683 -2.630568)'))) / (select extract(epoch from '2026-07-21 13:41:06'::timestamp) - extract(epoch from '2026-07-21 13:40:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829655 -2.630582)'), GeomFromEWKT('SRID=4674;POINT (-39.829683 -2.630568)'))) / (select extract(epoch from '2026-07-21 13:41:06'::timestamp) - extract(epoch from '2026-07-21 13: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.829724 -2.630539)', '2026-07-21 13:41:15', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829683 -2.630568)'), GeomFromEWKT('SRID=4674;POINT (-39.829724 -2.630539)'))) / (select extract(epoch from '2026-07-21 13:41:15'::timestamp) - extract(epoch from '2026-07-21 13:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829683 -2.630568)'), GeomFromEWKT('SRID=4674;POINT (-39.829724 -2.630539)'))) / (select extract(epoch from '2026-07-21 13:41:15'::timestamp) - extract(epoch from '2026-07-21 13:41:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.82977 -2.6305)', '2026-07-21 13:41:24', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829724 -2.630539)'), GeomFromEWKT('SRID=4674;POINT (-39.82977 -2.6305)'))) / (select extract(epoch from '2026-07-21 13:41:24'::timestamp) - extract(epoch from '2026-07-21 13:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829724 -2.630539)'), GeomFromEWKT('SRID=4674;POINT (-39.82977 -2.6305)'))) / (select extract(epoch from '2026-07-21 13:41:24'::timestamp) - extract(epoch from '2026-07-21 13: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.829795 -2.630461)', '2026-07-21 13:41:32', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82977 -2.6305)'), GeomFromEWKT('SRID=4674;POINT (-39.829795 -2.630461)'))) / (select extract(epoch from '2026-07-21 13:41:32'::timestamp) - extract(epoch from '2026-07-21 13:41:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82977 -2.6305)'), GeomFromEWKT('SRID=4674;POINT (-39.829795 -2.630461)'))) / (select extract(epoch from '2026-07-21 13:41:32'::timestamp) - extract(epoch from '2026-07-21 13:41:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829784 -2.630449)', '2026-07-21 13:41:37', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829795 -2.630461)'), GeomFromEWKT('SRID=4674;POINT (-39.829784 -2.630449)'))) / (select extract(epoch from '2026-07-21 13:41:37'::timestamp) - extract(epoch from '2026-07-21 13:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829795 -2.630461)'), GeomFromEWKT('SRID=4674;POINT (-39.829784 -2.630449)'))) / (select extract(epoch from '2026-07-21 13:41:37'::timestamp) - extract(epoch from '2026-07-21 13: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.829741 -2.63043)', '2026-07-21 13:41:44', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829784 -2.630449)'), GeomFromEWKT('SRID=4674;POINT (-39.829741 -2.63043)'))) / (select extract(epoch from '2026-07-21 13:41:44'::timestamp) - extract(epoch from '2026-07-21 13:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829784 -2.630449)'), GeomFromEWKT('SRID=4674;POINT (-39.829741 -2.63043)'))) / (select extract(epoch from '2026-07-21 13:41:44'::timestamp) - extract(epoch from '2026-07-21 13:41:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829717 -2.630426)', '2026-07-21 13:41:53', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829741 -2.63043)'), GeomFromEWKT('SRID=4674;POINT (-39.829717 -2.630426)'))) / (select extract(epoch from '2026-07-21 13:41:53'::timestamp) - extract(epoch from '2026-07-21 13:41:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829741 -2.63043)'), GeomFromEWKT('SRID=4674;POINT (-39.829717 -2.630426)'))) / (select extract(epoch from '2026-07-21 13:41:53'::timestamp) - extract(epoch from '2026-07-21 13:41:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829716 -2.630408)', '2026-07-21 13:42:01', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829717 -2.630426)'), GeomFromEWKT('SRID=4674;POINT (-39.829716 -2.630408)'))) / (select extract(epoch from '2026-07-21 13:42:01'::timestamp) - extract(epoch from '2026-07-21 13:41:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829717 -2.630426)'), GeomFromEWKT('SRID=4674;POINT (-39.829716 -2.630408)'))) / (select extract(epoch from '2026-07-21 13:42:01'::timestamp) - extract(epoch from '2026-07-21 13:41: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.829721 -2.630385)', '2026-07-21 13:42:07', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829716 -2.630408)'), GeomFromEWKT('SRID=4674;POINT (-39.829721 -2.630385)'))) / (select extract(epoch from '2026-07-21 13:42:07'::timestamp) - extract(epoch from '2026-07-21 13:42:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829716 -2.630408)'), GeomFromEWKT('SRID=4674;POINT (-39.829721 -2.630385)'))) / (select extract(epoch from '2026-07-21 13:42:07'::timestamp) - extract(epoch from '2026-07-21 13:42: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.82974 -2.630348)', '2026-07-21 13:42:18', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829721 -2.630385)'), GeomFromEWKT('SRID=4674;POINT (-39.82974 -2.630348)'))) / (select extract(epoch from '2026-07-21 13:42:18'::timestamp) - extract(epoch from '2026-07-21 13:42:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829721 -2.630385)'), GeomFromEWKT('SRID=4674;POINT (-39.82974 -2.630348)'))) / (select extract(epoch from '2026-07-21 13:42:18'::timestamp) - extract(epoch from '2026-07-21 13:42:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829753 -2.630324)', '2026-07-21 13:42:24', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82974 -2.630348)'), GeomFromEWKT('SRID=4674;POINT (-39.829753 -2.630324)'))) / (select extract(epoch from '2026-07-21 13:42:24'::timestamp) - extract(epoch from '2026-07-21 13:42:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82974 -2.630348)'), GeomFromEWKT('SRID=4674;POINT (-39.829753 -2.630324)'))) / (select extract(epoch from '2026-07-21 13:42:24'::timestamp) - extract(epoch from '2026-07-21 13:42:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829761 -2.630298)', '2026-07-21 13:42:30', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829753 -2.630324)'), GeomFromEWKT('SRID=4674;POINT (-39.829761 -2.630298)'))) / (select extract(epoch from '2026-07-21 13:42:30'::timestamp) - extract(epoch from '2026-07-21 13:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829753 -2.630324)'), GeomFromEWKT('SRID=4674;POINT (-39.829761 -2.630298)'))) / (select extract(epoch from '2026-07-21 13:42:30'::timestamp) - extract(epoch from '2026-07-21 13:42:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829799 -2.630268)', '2026-07-21 13:42:37', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829761 -2.630298)'), GeomFromEWKT('SRID=4674;POINT (-39.829799 -2.630268)'))) / (select extract(epoch from '2026-07-21 13:42:37'::timestamp) - extract(epoch from '2026-07-21 13:42:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829761 -2.630298)'), GeomFromEWKT('SRID=4674;POINT (-39.829799 -2.630268)'))) / (select extract(epoch from '2026-07-21 13:42:37'::timestamp) - extract(epoch from '2026-07-21 13: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.829792 -2.63023)', '2026-07-21 13:42:44', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829799 -2.630268)'), GeomFromEWKT('SRID=4674;POINT (-39.829792 -2.63023)'))) / (select extract(epoch from '2026-07-21 13:42:44'::timestamp) - extract(epoch from '2026-07-21 13:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829799 -2.630268)'), GeomFromEWKT('SRID=4674;POINT (-39.829792 -2.63023)'))) / (select extract(epoch from '2026-07-21 13:42:44'::timestamp) - extract(epoch from '2026-07-21 13:42: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.82976 -2.630205)', '2026-07-21 13:42:52', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829792 -2.63023)'), GeomFromEWKT('SRID=4674;POINT (-39.82976 -2.630205)'))) / (select extract(epoch from '2026-07-21 13:42:52'::timestamp) - extract(epoch from '2026-07-21 13:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829792 -2.63023)'), GeomFromEWKT('SRID=4674;POINT (-39.82976 -2.630205)'))) / (select extract(epoch from '2026-07-21 13:42:52'::timestamp) - extract(epoch from '2026-07-21 13:42: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.829732 -2.630236)', '2026-07-21 13:43:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82976 -2.630205)'), GeomFromEWKT('SRID=4674;POINT (-39.829732 -2.630236)'))) / (select extract(epoch from '2026-07-21 13:43:01'::timestamp) - extract(epoch from '2026-07-21 13:42:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82976 -2.630205)'), GeomFromEWKT('SRID=4674;POINT (-39.829732 -2.630236)'))) / (select extract(epoch from '2026-07-21 13:43:01'::timestamp) - extract(epoch from '2026-07-21 13:42:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829726 -2.63027)', '2026-07-21 13:43:06', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829732 -2.630236)'), GeomFromEWKT('SRID=4674;POINT (-39.829726 -2.63027)'))) / (select extract(epoch from '2026-07-21 13:43:06'::timestamp) - extract(epoch from '2026-07-21 13:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829732 -2.630236)'), GeomFromEWKT('SRID=4674;POINT (-39.829726 -2.63027)'))) / (select extract(epoch from '2026-07-21 13:43:06'::timestamp) - extract(epoch from '2026-07-21 13: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.829726 -2.630291)', '2026-07-21 13:43:08', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829726 -2.63027)'), GeomFromEWKT('SRID=4674;POINT (-39.829726 -2.630291)'))) / (select extract(epoch from '2026-07-21 13:43:08'::timestamp) - extract(epoch from '2026-07-21 13:43:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829726 -2.63027)'), GeomFromEWKT('SRID=4674;POINT (-39.829726 -2.630291)'))) / (select extract(epoch from '2026-07-21 13:43:08'::timestamp) - extract(epoch from '2026-07-21 13:43: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.829714 -2.630331)', '2026-07-21 13:43:13', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829726 -2.630291)'), GeomFromEWKT('SRID=4674;POINT (-39.829714 -2.630331)'))) / (select extract(epoch from '2026-07-21 13:43:13'::timestamp) - extract(epoch from '2026-07-21 13:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829726 -2.630291)'), GeomFromEWKT('SRID=4674;POINT (-39.829714 -2.630331)'))) / (select extract(epoch from '2026-07-21 13:43:13'::timestamp) - extract(epoch from '2026-07-21 13:43:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829714 -2.630366)', '2026-07-21 13:43:16', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829714 -2.630331)'), GeomFromEWKT('SRID=4674;POINT (-39.829714 -2.630366)'))) / (select extract(epoch from '2026-07-21 13:43:16'::timestamp) - extract(epoch from '2026-07-21 13:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829714 -2.630331)'), GeomFromEWKT('SRID=4674;POINT (-39.829714 -2.630366)'))) / (select extract(epoch from '2026-07-21 13:43:16'::timestamp) - extract(epoch from '2026-07-21 13:43:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829702 -2.630382)', '2026-07-21 13:43:18', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829714 -2.630366)'), GeomFromEWKT('SRID=4674;POINT (-39.829702 -2.630382)'))) / (select extract(epoch from '2026-07-21 13:43:18'::timestamp) - extract(epoch from '2026-07-21 13:43:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829714 -2.630366)'), GeomFromEWKT('SRID=4674;POINT (-39.829702 -2.630382)'))) / (select extract(epoch from '2026-07-21 13:43:18'::timestamp) - extract(epoch from '2026-07-21 13:43: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.829692 -2.630408)', '2026-07-21 13:43:21', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829702 -2.630382)'), GeomFromEWKT('SRID=4674;POINT (-39.829692 -2.630408)'))) / (select extract(epoch from '2026-07-21 13:43:21'::timestamp) - extract(epoch from '2026-07-21 13:43:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829702 -2.630382)'), GeomFromEWKT('SRID=4674;POINT (-39.829692 -2.630408)'))) / (select extract(epoch from '2026-07-21 13:43:21'::timestamp) - extract(epoch from '2026-07-21 13: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.829681 -2.630432)', '2026-07-21 13:43:24', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829692 -2.630408)'), GeomFromEWKT('SRID=4674;POINT (-39.829681 -2.630432)'))) / (select extract(epoch from '2026-07-21 13:43:24'::timestamp) - extract(epoch from '2026-07-21 13:43:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829692 -2.630408)'), GeomFromEWKT('SRID=4674;POINT (-39.829681 -2.630432)'))) / (select extract(epoch from '2026-07-21 13:43:24'::timestamp) - extract(epoch from '2026-07-21 13:43:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.82964 -2.630479)', '2026-07-21 13:43:30', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829681 -2.630432)'), GeomFromEWKT('SRID=4674;POINT (-39.82964 -2.630479)'))) / (select extract(epoch from '2026-07-21 13:43:30'::timestamp) - extract(epoch from '2026-07-21 13:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829681 -2.630432)'), GeomFromEWKT('SRID=4674;POINT (-39.82964 -2.630479)'))) / (select extract(epoch from '2026-07-21 13:43:30'::timestamp) - extract(epoch from '2026-07-21 13:43: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.829603 -2.630538)', '2026-07-21 13:43:36', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82964 -2.630479)'), GeomFromEWKT('SRID=4674;POINT (-39.829603 -2.630538)'))) / (select extract(epoch from '2026-07-21 13:43:36'::timestamp) - extract(epoch from '2026-07-21 13:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82964 -2.630479)'), GeomFromEWKT('SRID=4674;POINT (-39.829603 -2.630538)'))) / (select extract(epoch from '2026-07-21 13:43:36'::timestamp) - extract(epoch from '2026-07-21 13:43:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829586 -2.630558)', '2026-07-21 13:43:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829603 -2.630538)'), GeomFromEWKT('SRID=4674;POINT (-39.829586 -2.630558)'))) / (select extract(epoch from '2026-07-21 13:43:38'::timestamp) - extract(epoch from '2026-07-21 13:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829603 -2.630538)'), GeomFromEWKT('SRID=4674;POINT (-39.829586 -2.630558)'))) / (select extract(epoch from '2026-07-21 13:43:38'::timestamp) - extract(epoch from '2026-07-21 13:43: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.829561 -2.630598)', '2026-07-21 13:43:42', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829586 -2.630558)'), GeomFromEWKT('SRID=4674;POINT (-39.829561 -2.630598)'))) / (select extract(epoch from '2026-07-21 13:43:42'::timestamp) - extract(epoch from '2026-07-21 13:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829586 -2.630558)'), GeomFromEWKT('SRID=4674;POINT (-39.829561 -2.630598)'))) / (select extract(epoch from '2026-07-21 13:43:42'::timestamp) - extract(epoch from '2026-07-21 13:43:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829547 -2.630617)', '2026-07-21 13:43:44', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829561 -2.630598)'), GeomFromEWKT('SRID=4674;POINT (-39.829547 -2.630617)'))) / (select extract(epoch from '2026-07-21 13:43:44'::timestamp) - extract(epoch from '2026-07-21 13:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829561 -2.630598)'), GeomFromEWKT('SRID=4674;POINT (-39.829547 -2.630617)'))) / (select extract(epoch from '2026-07-21 13:43:44'::timestamp) - extract(epoch from '2026-07-21 13:43: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.829537 -2.630646)', '2026-07-21 13:43:47', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829547 -2.630617)'), GeomFromEWKT('SRID=4674;POINT (-39.829537 -2.630646)'))) / (select extract(epoch from '2026-07-21 13:43:47'::timestamp) - extract(epoch from '2026-07-21 13:43:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829547 -2.630617)'), GeomFromEWKT('SRID=4674;POINT (-39.829537 -2.630646)'))) / (select extract(epoch from '2026-07-21 13:43:47'::timestamp) - extract(epoch from '2026-07-21 13:43:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829524 -2.630662)', '2026-07-21 13:43:49', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829537 -2.630646)'), GeomFromEWKT('SRID=4674;POINT (-39.829524 -2.630662)'))) / (select extract(epoch from '2026-07-21 13:43:49'::timestamp) - extract(epoch from '2026-07-21 13:43:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829537 -2.630646)'), GeomFromEWKT('SRID=4674;POINT (-39.829524 -2.630662)'))) / (select extract(epoch from '2026-07-21 13:43:49'::timestamp) - extract(epoch from '2026-07-21 13: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.829496 -2.630716)', '2026-07-21 13:43:55', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829524 -2.630662)'), GeomFromEWKT('SRID=4674;POINT (-39.829496 -2.630716)'))) / (select extract(epoch from '2026-07-21 13:43:55'::timestamp) - extract(epoch from '2026-07-21 13:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829524 -2.630662)'), GeomFromEWKT('SRID=4674;POINT (-39.829496 -2.630716)'))) / (select extract(epoch from '2026-07-21 13:43:55'::timestamp) - extract(epoch from '2026-07-21 13:43: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.829473 -2.630745)', '2026-07-21 13:43:59', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829496 -2.630716)'), GeomFromEWKT('SRID=4674;POINT (-39.829473 -2.630745)'))) / (select extract(epoch from '2026-07-21 13:43:59'::timestamp) - extract(epoch from '2026-07-21 13:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829496 -2.630716)'), GeomFromEWKT('SRID=4674;POINT (-39.829473 -2.630745)'))) / (select extract(epoch from '2026-07-21 13:43:59'::timestamp) - extract(epoch from '2026-07-21 13:43: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.829462 -2.630762)', '2026-07-21 13:44:01', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829473 -2.630745)'), GeomFromEWKT('SRID=4674;POINT (-39.829462 -2.630762)'))) / (select extract(epoch from '2026-07-21 13:44:01'::timestamp) - extract(epoch from '2026-07-21 13:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829473 -2.630745)'), GeomFromEWKT('SRID=4674;POINT (-39.829462 -2.630762)'))) / (select extract(epoch from '2026-07-21 13:44:01'::timestamp) - extract(epoch from '2026-07-21 13:43:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.82944 -2.630787)', '2026-07-21 13:44:06', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829462 -2.630762)'), GeomFromEWKT('SRID=4674;POINT (-39.82944 -2.630787)'))) / (select extract(epoch from '2026-07-21 13:44:06'::timestamp) - extract(epoch from '2026-07-21 13:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829462 -2.630762)'), GeomFromEWKT('SRID=4674;POINT (-39.82944 -2.630787)'))) / (select extract(epoch from '2026-07-21 13:44:06'::timestamp) - extract(epoch from '2026-07-21 13:44:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829437 -2.630808)', '2026-07-21 13:44:13', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82944 -2.630787)'), GeomFromEWKT('SRID=4674;POINT (-39.829437 -2.630808)'))) / (select extract(epoch from '2026-07-21 13:44:13'::timestamp) - extract(epoch from '2026-07-21 13:44:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82944 -2.630787)'), GeomFromEWKT('SRID=4674;POINT (-39.829437 -2.630808)'))) / (select extract(epoch from '2026-07-21 13:44:13'::timestamp) - extract(epoch from '2026-07-21 13:44: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.829458 -2.630824)', '2026-07-21 13:44:20', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829437 -2.630808)'), GeomFromEWKT('SRID=4674;POINT (-39.829458 -2.630824)'))) / (select extract(epoch from '2026-07-21 13:44:20'::timestamp) - extract(epoch from '2026-07-21 13:44:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829437 -2.630808)'), GeomFromEWKT('SRID=4674;POINT (-39.829458 -2.630824)'))) / (select extract(epoch from '2026-07-21 13:44:20'::timestamp) - extract(epoch from '2026-07-21 13:44: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.829464 -2.630839)', '2026-07-21 13:44:24', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829458 -2.630824)'), GeomFromEWKT('SRID=4674;POINT (-39.829464 -2.630839)'))) / (select extract(epoch from '2026-07-21 13:44:24'::timestamp) - extract(epoch from '2026-07-21 13:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829458 -2.630824)'), GeomFromEWKT('SRID=4674;POINT (-39.829464 -2.630839)'))) / (select extract(epoch from '2026-07-21 13:44:24'::timestamp) - extract(epoch from '2026-07-21 13:44: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.829472 -2.630854)', '2026-07-21 13:44:26', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829464 -2.630839)'), GeomFromEWKT('SRID=4674;POINT (-39.829472 -2.630854)'))) / (select extract(epoch from '2026-07-21 13:44:26'::timestamp) - extract(epoch from '2026-07-21 13:44:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829464 -2.630839)'), GeomFromEWKT('SRID=4674;POINT (-39.829472 -2.630854)'))) / (select extract(epoch from '2026-07-21 13:44:26'::timestamp) - extract(epoch from '2026-07-21 13:44: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.829468 -2.630923)', '2026-07-21 13:44:33', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829472 -2.630854)'), GeomFromEWKT('SRID=4674;POINT (-39.829468 -2.630923)'))) / (select extract(epoch from '2026-07-21 13:44:33'::timestamp) - extract(epoch from '2026-07-21 13:44:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829472 -2.630854)'), GeomFromEWKT('SRID=4674;POINT (-39.829468 -2.630923)'))) / (select extract(epoch from '2026-07-21 13:44:33'::timestamp) - extract(epoch from '2026-07-21 13:44: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.829462 -2.630938)', '2026-07-21 13:44:35', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829468 -2.630923)'), GeomFromEWKT('SRID=4674;POINT (-39.829462 -2.630938)'))) / (select extract(epoch from '2026-07-21 13:44:35'::timestamp) - extract(epoch from '2026-07-21 13:44:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829468 -2.630923)'), GeomFromEWKT('SRID=4674;POINT (-39.829462 -2.630938)'))) / (select extract(epoch from '2026-07-21 13:44:35'::timestamp) - extract(epoch from '2026-07-21 13:44: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.82945 -2.630965)', '2026-07-21 13:44:38', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829462 -2.630938)'), GeomFromEWKT('SRID=4674;POINT (-39.82945 -2.630965)'))) / (select extract(epoch from '2026-07-21 13:44:38'::timestamp) - extract(epoch from '2026-07-21 13:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829462 -2.630938)'), GeomFromEWKT('SRID=4674;POINT (-39.82945 -2.630965)'))) / (select extract(epoch from '2026-07-21 13:44:38'::timestamp) - extract(epoch from '2026-07-21 13:44:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829434 -2.630987)', '2026-07-21 13:44:41', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82945 -2.630965)'), GeomFromEWKT('SRID=4674;POINT (-39.829434 -2.630987)'))) / (select extract(epoch from '2026-07-21 13:44:41'::timestamp) - extract(epoch from '2026-07-21 13:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82945 -2.630965)'), GeomFromEWKT('SRID=4674;POINT (-39.829434 -2.630987)'))) / (select extract(epoch from '2026-07-21 13:44:41'::timestamp) - extract(epoch from '2026-07-21 13:44: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.829417 -2.631008)', '2026-07-21 13:44:44', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829434 -2.630987)'), GeomFromEWKT('SRID=4674;POINT (-39.829417 -2.631008)'))) / (select extract(epoch from '2026-07-21 13:44:44'::timestamp) - extract(epoch from '2026-07-21 13:44:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829434 -2.630987)'), GeomFromEWKT('SRID=4674;POINT (-39.829417 -2.631008)'))) / (select extract(epoch from '2026-07-21 13:44:44'::timestamp) - extract(epoch from '2026-07-21 13:44:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829395 -2.631016)', '2026-07-21 13:44:46', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829417 -2.631008)'), GeomFromEWKT('SRID=4674;POINT (-39.829395 -2.631016)'))) / (select extract(epoch from '2026-07-21 13:44:46'::timestamp) - extract(epoch from '2026-07-21 13:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829417 -2.631008)'), GeomFromEWKT('SRID=4674;POINT (-39.829395 -2.631016)'))) / (select extract(epoch from '2026-07-21 13:44:46'::timestamp) - extract(epoch from '2026-07-21 13:44: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.829372 -2.631028)', '2026-07-21 13:44:49', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829395 -2.631016)'), GeomFromEWKT('SRID=4674;POINT (-39.829372 -2.631028)'))) / (select extract(epoch from '2026-07-21 13:44:49'::timestamp) - extract(epoch from '2026-07-21 13:44:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829395 -2.631016)'), GeomFromEWKT('SRID=4674;POINT (-39.829372 -2.631028)'))) / (select extract(epoch from '2026-07-21 13:44:49'::timestamp) - extract(epoch from '2026-07-21 13:44: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.829332 -2.631018)', '2026-07-21 13:44:55', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829372 -2.631028)'), GeomFromEWKT('SRID=4674;POINT (-39.829332 -2.631018)'))) / (select extract(epoch from '2026-07-21 13:44:55'::timestamp) - extract(epoch from '2026-07-21 13:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829372 -2.631028)'), GeomFromEWKT('SRID=4674;POINT (-39.829332 -2.631018)'))) / (select extract(epoch from '2026-07-21 13:44:55'::timestamp) - extract(epoch from '2026-07-21 13: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.829324 -2.630992)', '2026-07-21 13:45:00', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829332 -2.631018)'), GeomFromEWKT('SRID=4674;POINT (-39.829324 -2.630992)'))) / (select extract(epoch from '2026-07-21 13:45:00'::timestamp) - extract(epoch from '2026-07-21 13:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829332 -2.631018)'), GeomFromEWKT('SRID=4674;POINT (-39.829324 -2.630992)'))) / (select extract(epoch from '2026-07-21 13:45:00'::timestamp) - extract(epoch from '2026-07-21 13:44:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829324 -2.630981)', '2026-07-21 13:45:01', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829324 -2.630992)'), GeomFromEWKT('SRID=4674;POINT (-39.829324 -2.630981)'))) / (select extract(epoch from '2026-07-21 13:45:01'::timestamp) - extract(epoch from '2026-07-21 13:45:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829324 -2.630992)'), GeomFromEWKT('SRID=4674;POINT (-39.829324 -2.630981)'))) / (select extract(epoch from '2026-07-21 13:45:01'::timestamp) - extract(epoch from '2026-07-21 13: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.829338 -2.630966)', '2026-07-21 13:45:04', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829324 -2.630981)'), GeomFromEWKT('SRID=4674;POINT (-39.829338 -2.630966)'))) / (select extract(epoch from '2026-07-21 13:45:04'::timestamp) - extract(epoch from '2026-07-21 13:45:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829324 -2.630981)'), GeomFromEWKT('SRID=4674;POINT (-39.829338 -2.630966)'))) / (select extract(epoch from '2026-07-21 13:45:04'::timestamp) - extract(epoch from '2026-07-21 13:45: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.829348 -2.630959)', '2026-07-21 13:45:05', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829338 -2.630966)'), GeomFromEWKT('SRID=4674;POINT (-39.829348 -2.630959)'))) / (select extract(epoch from '2026-07-21 13:45:05'::timestamp) - extract(epoch from '2026-07-21 13:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829338 -2.630966)'), GeomFromEWKT('SRID=4674;POINT (-39.829348 -2.630959)'))) / (select extract(epoch from '2026-07-21 13:45:05'::timestamp) - extract(epoch from '2026-07-21 13:45:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829376 -2.630935)', '2026-07-21 13:45:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829348 -2.630959)'), GeomFromEWKT('SRID=4674;POINT (-39.829376 -2.630935)'))) / (select extract(epoch from '2026-07-21 13:45:10'::timestamp) - extract(epoch from '2026-07-21 13:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829348 -2.630959)'), GeomFromEWKT('SRID=4674;POINT (-39.829376 -2.630935)'))) / (select extract(epoch from '2026-07-21 13:45:10'::timestamp) - extract(epoch from '2026-07-21 13: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.829395 -2.630904)', '2026-07-21 13:45:16', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829376 -2.630935)'), GeomFromEWKT('SRID=4674;POINT (-39.829395 -2.630904)'))) / (select extract(epoch from '2026-07-21 13:45:16'::timestamp) - extract(epoch from '2026-07-21 13:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829376 -2.630935)'), GeomFromEWKT('SRID=4674;POINT (-39.829395 -2.630904)'))) / (select extract(epoch from '2026-07-21 13:45:16'::timestamp) - extract(epoch from '2026-07-21 13:45: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.829428 -2.630865)', '2026-07-21 13:45:24', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829395 -2.630904)'), GeomFromEWKT('SRID=4674;POINT (-39.829428 -2.630865)'))) / (select extract(epoch from '2026-07-21 13:45:24'::timestamp) - extract(epoch from '2026-07-21 13:45:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829395 -2.630904)'), GeomFromEWKT('SRID=4674;POINT (-39.829428 -2.630865)'))) / (select extract(epoch from '2026-07-21 13:45:24'::timestamp) - extract(epoch from '2026-07-21 13:45: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.829444 -2.630842)', '2026-07-21 13:45:28', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829428 -2.630865)'), GeomFromEWKT('SRID=4674;POINT (-39.829444 -2.630842)'))) / (select extract(epoch from '2026-07-21 13:45:28'::timestamp) - extract(epoch from '2026-07-21 13:45:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829428 -2.630865)'), GeomFromEWKT('SRID=4674;POINT (-39.829444 -2.630842)'))) / (select extract(epoch from '2026-07-21 13:45:28'::timestamp) - extract(epoch from '2026-07-21 13:45: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.829464 -2.630818)', '2026-07-21 13:45:34', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829444 -2.630842)'), GeomFromEWKT('SRID=4674;POINT (-39.829464 -2.630818)'))) / (select extract(epoch from '2026-07-21 13:45:34'::timestamp) - extract(epoch from '2026-07-21 13:45:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829444 -2.630842)'), GeomFromEWKT('SRID=4674;POINT (-39.829464 -2.630818)'))) / (select extract(epoch from '2026-07-21 13:45:34'::timestamp) - extract(epoch from '2026-07-21 13:45: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.829481 -2.630782)', '2026-07-21 13:45:40', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829464 -2.630818)'), GeomFromEWKT('SRID=4674;POINT (-39.829481 -2.630782)'))) / (select extract(epoch from '2026-07-21 13:45:40'::timestamp) - extract(epoch from '2026-07-21 13:45:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829464 -2.630818)'), GeomFromEWKT('SRID=4674;POINT (-39.829481 -2.630782)'))) / (select extract(epoch from '2026-07-21 13:45:40'::timestamp) - extract(epoch from '2026-07-21 13:45: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.829487 -2.630757)', '2026-07-21 13:45:45', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829481 -2.630782)'), GeomFromEWKT('SRID=4674;POINT (-39.829487 -2.630757)'))) / (select extract(epoch from '2026-07-21 13:45:45'::timestamp) - extract(epoch from '2026-07-21 13:45:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829481 -2.630782)'), GeomFromEWKT('SRID=4674;POINT (-39.829487 -2.630757)'))) / (select extract(epoch from '2026-07-21 13:45:45'::timestamp) - extract(epoch from '2026-07-21 13:45:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829485 -2.630726)', '2026-07-21 13:45:52', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829487 -2.630757)'), GeomFromEWKT('SRID=4674;POINT (-39.829485 -2.630726)'))) / (select extract(epoch from '2026-07-21 13:45:52'::timestamp) - extract(epoch from '2026-07-21 13:45:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829487 -2.630757)'), GeomFromEWKT('SRID=4674;POINT (-39.829485 -2.630726)'))) / (select extract(epoch from '2026-07-21 13:45:52'::timestamp) - extract(epoch from '2026-07-21 13:45: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.829483 -2.630709)', '2026-07-21 13:45:59', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829485 -2.630726)'), GeomFromEWKT('SRID=4674;POINT (-39.829483 -2.630709)'))) / (select extract(epoch from '2026-07-21 13:45:59'::timestamp) - extract(epoch from '2026-07-21 13:45:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829485 -2.630726)'), GeomFromEWKT('SRID=4674;POINT (-39.829483 -2.630709)'))) / (select extract(epoch from '2026-07-21 13:45:59'::timestamp) - extract(epoch from '2026-07-21 13:45: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.829483 -2.630718)', '2026-07-21 13:46:15', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829483 -2.630709)'), GeomFromEWKT('SRID=4674;POINT (-39.829483 -2.630718)'))) / (select extract(epoch from '2026-07-21 13:46:15'::timestamp) - extract(epoch from '2026-07-21 13:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829483 -2.630709)'), GeomFromEWKT('SRID=4674;POINT (-39.829483 -2.630718)'))) / (select extract(epoch from '2026-07-21 13:46:15'::timestamp) - extract(epoch from '2026-07-21 13:45: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.829499 -2.630699)', '2026-07-21 13:46:28', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829483 -2.630718)'), GeomFromEWKT('SRID=4674;POINT (-39.829499 -2.630699)'))) / (select extract(epoch from '2026-07-21 13:46:28'::timestamp) - extract(epoch from '2026-07-21 13:46:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829483 -2.630718)'), GeomFromEWKT('SRID=4674;POINT (-39.829499 -2.630699)'))) / (select extract(epoch from '2026-07-21 13:46:28'::timestamp) - extract(epoch from '2026-07-21 13:46: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.829525 -2.630671)', '2026-07-21 13:46:40', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829499 -2.630699)'), GeomFromEWKT('SRID=4674;POINT (-39.829525 -2.630671)'))) / (select extract(epoch from '2026-07-21 13:46:40'::timestamp) - extract(epoch from '2026-07-21 13:46:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829499 -2.630699)'), GeomFromEWKT('SRID=4674;POINT (-39.829525 -2.630671)'))) / (select extract(epoch from '2026-07-21 13:46:40'::timestamp) - extract(epoch from '2026-07-21 13:46: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.829547 -2.630637)', '2026-07-21 13:46:47', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829525 -2.630671)'), GeomFromEWKT('SRID=4674;POINT (-39.829547 -2.630637)'))) / (select extract(epoch from '2026-07-21 13:46:47'::timestamp) - extract(epoch from '2026-07-21 13:46:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829525 -2.630671)'), GeomFromEWKT('SRID=4674;POINT (-39.829547 -2.630637)'))) / (select extract(epoch from '2026-07-21 13:46:47'::timestamp) - extract(epoch from '2026-07-21 13:46:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829571 -2.630622)', '2026-07-21 13:46:54', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829547 -2.630637)'), GeomFromEWKT('SRID=4674;POINT (-39.829571 -2.630622)'))) / (select extract(epoch from '2026-07-21 13:46:54'::timestamp) - extract(epoch from '2026-07-21 13:46:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829547 -2.630637)'), GeomFromEWKT('SRID=4674;POINT (-39.829571 -2.630622)'))) / (select extract(epoch from '2026-07-21 13:46:54'::timestamp) - extract(epoch from '2026-07-21 13:46: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.829604 -2.630615)', '2026-07-21 13:47:00', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829571 -2.630622)'), GeomFromEWKT('SRID=4674;POINT (-39.829604 -2.630615)'))) / (select extract(epoch from '2026-07-21 13:47:00'::timestamp) - extract(epoch from '2026-07-21 13:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829571 -2.630622)'), GeomFromEWKT('SRID=4674;POINT (-39.829604 -2.630615)'))) / (select extract(epoch from '2026-07-21 13:47:00'::timestamp) - extract(epoch from '2026-07-21 13:46: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.82964 -2.630611)', '2026-07-21 13:47:15', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829604 -2.630615)'), GeomFromEWKT('SRID=4674;POINT (-39.82964 -2.630611)'))) / (select extract(epoch from '2026-07-21 13:47:15'::timestamp) - extract(epoch from '2026-07-21 13:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829604 -2.630615)'), GeomFromEWKT('SRID=4674;POINT (-39.82964 -2.630611)'))) / (select extract(epoch from '2026-07-21 13:47:15'::timestamp) - extract(epoch from '2026-07-21 13:47: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.829652 -2.6306)', '2026-07-21 13:47:22', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82964 -2.630611)'), GeomFromEWKT('SRID=4674;POINT (-39.829652 -2.6306)'))) / (select extract(epoch from '2026-07-21 13:47:22'::timestamp) - extract(epoch from '2026-07-21 13:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82964 -2.630611)'), GeomFromEWKT('SRID=4674;POINT (-39.829652 -2.6306)'))) / (select extract(epoch from '2026-07-21 13:47:22'::timestamp) - extract(epoch from '2026-07-21 13:47:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829657 -2.630606)', '2026-07-21 13:47:45', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829652 -2.6306)'), GeomFromEWKT('SRID=4674;POINT (-39.829657 -2.630606)'))) / (select extract(epoch from '2026-07-21 13:47:45'::timestamp) - extract(epoch from '2026-07-21 13:47:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829652 -2.6306)'), GeomFromEWKT('SRID=4674;POINT (-39.829657 -2.630606)'))) / (select extract(epoch from '2026-07-21 13:47:45'::timestamp) - extract(epoch from '2026-07-21 13:47: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.8297 -2.630603)', '2026-07-21 13:48:01', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829657 -2.630606)'), GeomFromEWKT('SRID=4674;POINT (-39.8297 -2.630603)'))) / (select extract(epoch from '2026-07-21 13:48:01'::timestamp) - extract(epoch from '2026-07-21 13:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829657 -2.630606)'), GeomFromEWKT('SRID=4674;POINT (-39.8297 -2.630603)'))) / (select extract(epoch from '2026-07-21 13:48:01'::timestamp) - extract(epoch from '2026-07-21 13:47: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.829718 -2.630601)', '2026-07-21 13:48:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8297 -2.630603)'), GeomFromEWKT('SRID=4674;POINT (-39.829718 -2.630601)'))) / (select extract(epoch from '2026-07-21 13:48:05'::timestamp) - extract(epoch from '2026-07-21 13:48:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8297 -2.630603)'), GeomFromEWKT('SRID=4674;POINT (-39.829718 -2.630601)'))) / (select extract(epoch from '2026-07-21 13:48:05'::timestamp) - extract(epoch from '2026-07-21 13:48: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.829727 -2.630592)', '2026-07-21 13:48:07', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829718 -2.630601)'), GeomFromEWKT('SRID=4674;POINT (-39.829727 -2.630592)'))) / (select extract(epoch from '2026-07-21 13:48:07'::timestamp) - extract(epoch from '2026-07-21 13:48:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829718 -2.630601)'), GeomFromEWKT('SRID=4674;POINT (-39.829727 -2.630592)'))) / (select extract(epoch from '2026-07-21 13:48:07'::timestamp) - extract(epoch from '2026-07-21 13:48: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.829765 -2.630576)', '2026-07-21 13:48:14', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829727 -2.630592)'), GeomFromEWKT('SRID=4674;POINT (-39.829765 -2.630576)'))) / (select extract(epoch from '2026-07-21 13:48:14'::timestamp) - extract(epoch from '2026-07-21 13:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829727 -2.630592)'), GeomFromEWKT('SRID=4674;POINT (-39.829765 -2.630576)'))) / (select extract(epoch from '2026-07-21 13:48:14'::timestamp) - extract(epoch from '2026-07-21 13:48: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.829801 -2.630562)', '2026-07-21 13:48:19', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829765 -2.630576)'), GeomFromEWKT('SRID=4674;POINT (-39.829801 -2.630562)'))) / (select extract(epoch from '2026-07-21 13:48:19'::timestamp) - extract(epoch from '2026-07-21 13:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829765 -2.630576)'), GeomFromEWKT('SRID=4674;POINT (-39.829801 -2.630562)'))) / (select extract(epoch from '2026-07-21 13:48:19'::timestamp) - extract(epoch from '2026-07-21 13:48: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.829827 -2.630549)', '2026-07-21 13:48:23', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829801 -2.630562)'), GeomFromEWKT('SRID=4674;POINT (-39.829827 -2.630549)'))) / (select extract(epoch from '2026-07-21 13:48:23'::timestamp) - extract(epoch from '2026-07-21 13:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829801 -2.630562)'), GeomFromEWKT('SRID=4674;POINT (-39.829827 -2.630549)'))) / (select extract(epoch from '2026-07-21 13:48:23'::timestamp) - extract(epoch from '2026-07-21 13:48:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.82984 -2.630548)', '2026-07-21 13:48:25', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829827 -2.630549)'), GeomFromEWKT('SRID=4674;POINT (-39.82984 -2.630548)'))) / (select extract(epoch from '2026-07-21 13:48:25'::timestamp) - extract(epoch from '2026-07-21 13:48:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829827 -2.630549)'), GeomFromEWKT('SRID=4674;POINT (-39.82984 -2.630548)'))) / (select extract(epoch from '2026-07-21 13:48:25'::timestamp) - extract(epoch from '2026-07-21 13:48: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.829888 -2.630547)', '2026-07-21 13:48:34', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82984 -2.630548)'), GeomFromEWKT('SRID=4674;POINT (-39.829888 -2.630547)'))) / (select extract(epoch from '2026-07-21 13:48:34'::timestamp) - extract(epoch from '2026-07-21 13:48:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82984 -2.630548)'), GeomFromEWKT('SRID=4674;POINT (-39.829888 -2.630547)'))) / (select extract(epoch from '2026-07-21 13:48:34'::timestamp) - extract(epoch from '2026-07-21 13:48:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829913 -2.630548)', '2026-07-21 13:48:39', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829888 -2.630547)'), GeomFromEWKT('SRID=4674;POINT (-39.829913 -2.630548)'))) / (select extract(epoch from '2026-07-21 13:48:39'::timestamp) - extract(epoch from '2026-07-21 13:48:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829888 -2.630547)'), GeomFromEWKT('SRID=4674;POINT (-39.829913 -2.630548)'))) / (select extract(epoch from '2026-07-21 13:48:39'::timestamp) - extract(epoch from '2026-07-21 13:48:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829937 -2.63055)', '2026-07-21 13:48:45', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829913 -2.630548)'), GeomFromEWKT('SRID=4674;POINT (-39.829937 -2.63055)'))) / (select extract(epoch from '2026-07-21 13:48:45'::timestamp) - extract(epoch from '2026-07-21 13:48:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829913 -2.630548)'), GeomFromEWKT('SRID=4674;POINT (-39.829937 -2.63055)'))) / (select extract(epoch from '2026-07-21 13:48:45'::timestamp) - extract(epoch from '2026-07-21 13:48: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.829971 -2.630544)', '2026-07-21 13:48:54', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829937 -2.63055)'), GeomFromEWKT('SRID=4674;POINT (-39.829971 -2.630544)'))) / (select extract(epoch from '2026-07-21 13:48:54'::timestamp) - extract(epoch from '2026-07-21 13:48:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829937 -2.63055)'), GeomFromEWKT('SRID=4674;POINT (-39.829971 -2.630544)'))) / (select extract(epoch from '2026-07-21 13:48:54'::timestamp) - extract(epoch from '2026-07-21 13:48: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.829989 -2.630534)', '2026-07-21 13:48:58', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829971 -2.630544)'), GeomFromEWKT('SRID=4674;POINT (-39.829989 -2.630534)'))) / (select extract(epoch from '2026-07-21 13:48:58'::timestamp) - extract(epoch from '2026-07-21 13:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829971 -2.630544)'), GeomFromEWKT('SRID=4674;POINT (-39.829989 -2.630534)'))) / (select extract(epoch from '2026-07-21 13:48:58'::timestamp) - extract(epoch from '2026-07-21 13:48:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829997 -2.630527)', '2026-07-21 13:49:01', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829989 -2.630534)'), GeomFromEWKT('SRID=4674;POINT (-39.829997 -2.630527)'))) / (select extract(epoch from '2026-07-21 13:49:01'::timestamp) - extract(epoch from '2026-07-21 13:48:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829989 -2.630534)'), GeomFromEWKT('SRID=4674;POINT (-39.829997 -2.630527)'))) / (select extract(epoch from '2026-07-21 13:49:01'::timestamp) - extract(epoch from '2026-07-21 13:48: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.830015 -2.630521)', '2026-07-21 13:49:03', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829997 -2.630527)'), GeomFromEWKT('SRID=4674;POINT (-39.830015 -2.630521)'))) / (select extract(epoch from '2026-07-21 13:49:03'::timestamp) - extract(epoch from '2026-07-21 13:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829997 -2.630527)'), GeomFromEWKT('SRID=4674;POINT (-39.830015 -2.630521)'))) / (select extract(epoch from '2026-07-21 13:49:03'::timestamp) - extract(epoch from '2026-07-21 13:49: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.830028 -2.630508)', '2026-07-21 13:49:06', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830015 -2.630521)'), GeomFromEWKT('SRID=4674;POINT (-39.830028 -2.630508)'))) / (select extract(epoch from '2026-07-21 13:49:06'::timestamp) - extract(epoch from '2026-07-21 13:49:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830015 -2.630521)'), GeomFromEWKT('SRID=4674;POINT (-39.830028 -2.630508)'))) / (select extract(epoch from '2026-07-21 13:49:06'::timestamp) - extract(epoch from '2026-07-21 13:49: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.830033 -2.630513)', '2026-07-21 13:49:10', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830028 -2.630508)'), GeomFromEWKT('SRID=4674;POINT (-39.830033 -2.630513)'))) / (select extract(epoch from '2026-07-21 13:49:10'::timestamp) - extract(epoch from '2026-07-21 13:49:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830028 -2.630508)'), GeomFromEWKT('SRID=4674;POINT (-39.830033 -2.630513)'))) / (select extract(epoch from '2026-07-21 13:49:10'::timestamp) - extract(epoch from '2026-07-21 13:49: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.830035 -2.630537)', '2026-07-21 13:49:16', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830033 -2.630513)'), GeomFromEWKT('SRID=4674;POINT (-39.830035 -2.630537)'))) / (select extract(epoch from '2026-07-21 13:49:16'::timestamp) - extract(epoch from '2026-07-21 13:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830033 -2.630513)'), GeomFromEWKT('SRID=4674;POINT (-39.830035 -2.630537)'))) / (select extract(epoch from '2026-07-21 13:49:16'::timestamp) - extract(epoch from '2026-07-21 13:49: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.830031 -2.630548)', '2026-07-21 13:49:17', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830035 -2.630537)'), GeomFromEWKT('SRID=4674;POINT (-39.830031 -2.630548)'))) / (select extract(epoch from '2026-07-21 13:49:17'::timestamp) - extract(epoch from '2026-07-21 13:49:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830035 -2.630537)'), GeomFromEWKT('SRID=4674;POINT (-39.830031 -2.630548)'))) / (select extract(epoch from '2026-07-21 13:49:17'::timestamp) - extract(epoch from '2026-07-21 13:49:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.830027 -2.630623)', '2026-07-21 13:49:23', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830031 -2.630548)'), GeomFromEWKT('SRID=4674;POINT (-39.830027 -2.630623)'))) / (select extract(epoch from '2026-07-21 13:49:23'::timestamp) - extract(epoch from '2026-07-21 13:49:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830031 -2.630548)'), GeomFromEWKT('SRID=4674;POINT (-39.830027 -2.630623)'))) / (select extract(epoch from '2026-07-21 13:49:23'::timestamp) - extract(epoch from '2026-07-21 13:49: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.830072 -2.630722)', '2026-07-21 13:49:29', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830027 -2.630623)'), GeomFromEWKT('SRID=4674;POINT (-39.830072 -2.630722)'))) / (select extract(epoch from '2026-07-21 13:49:29'::timestamp) - extract(epoch from '2026-07-21 13:49:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830027 -2.630623)'), GeomFromEWKT('SRID=4674;POINT (-39.830072 -2.630722)'))) / (select extract(epoch from '2026-07-21 13:49:29'::timestamp) - extract(epoch from '2026-07-21 13:49: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.830123 -2.630786)', '2026-07-21 13:49:33', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830072 -2.630722)'), GeomFromEWKT('SRID=4674;POINT (-39.830123 -2.630786)'))) / (select extract(epoch from '2026-07-21 13:49:33'::timestamp) - extract(epoch from '2026-07-21 13:49:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830072 -2.630722)'), GeomFromEWKT('SRID=4674;POINT (-39.830123 -2.630786)'))) / (select extract(epoch from '2026-07-21 13:49:33'::timestamp) - extract(epoch from '2026-07-21 13:49: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.830132 -2.630805)', '2026-07-21 13:49:34', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830123 -2.630786)'), GeomFromEWKT('SRID=4674;POINT (-39.830132 -2.630805)'))) / (select extract(epoch from '2026-07-21 13:49:34'::timestamp) - extract(epoch from '2026-07-21 13:49:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830123 -2.630786)'), GeomFromEWKT('SRID=4674;POINT (-39.830132 -2.630805)'))) / (select extract(epoch from '2026-07-21 13:49:34'::timestamp) - extract(epoch from '2026-07-21 13:49: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.830188 -2.630896)', '2026-07-21 13:49:39', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830132 -2.630805)'), GeomFromEWKT('SRID=4674;POINT (-39.830188 -2.630896)'))) / (select extract(epoch from '2026-07-21 13:49:39'::timestamp) - extract(epoch from '2026-07-21 13:49:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830132 -2.630805)'), GeomFromEWKT('SRID=4674;POINT (-39.830188 -2.630896)'))) / (select extract(epoch from '2026-07-21 13:49:39'::timestamp) - extract(epoch from '2026-07-21 13:49: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.830226 -2.630997)', '2026-07-21 13:49:44', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830188 -2.630896)'), GeomFromEWKT('SRID=4674;POINT (-39.830226 -2.630997)'))) / (select extract(epoch from '2026-07-21 13:49:44'::timestamp) - extract(epoch from '2026-07-21 13:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830188 -2.630896)'), GeomFromEWKT('SRID=4674;POINT (-39.830226 -2.630997)'))) / (select extract(epoch from '2026-07-21 13:49:44'::timestamp) - extract(epoch from '2026-07-21 13:49: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.83028 -2.631102)', '2026-07-21 13:49:49', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830226 -2.630997)'), GeomFromEWKT('SRID=4674;POINT (-39.83028 -2.631102)'))) / (select extract(epoch from '2026-07-21 13:49:49'::timestamp) - extract(epoch from '2026-07-21 13:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830226 -2.630997)'), GeomFromEWKT('SRID=4674;POINT (-39.83028 -2.631102)'))) / (select extract(epoch from '2026-07-21 13:49:49'::timestamp) - extract(epoch from '2026-07-21 13:49:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.830335 -2.63119)', '2026-07-21 13:49:54', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83028 -2.631102)'), GeomFromEWKT('SRID=4674;POINT (-39.830335 -2.63119)'))) / (select extract(epoch from '2026-07-21 13:49:54'::timestamp) - extract(epoch from '2026-07-21 13:49:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83028 -2.631102)'), GeomFromEWKT('SRID=4674;POINT (-39.830335 -2.63119)'))) / (select extract(epoch from '2026-07-21 13:49:54'::timestamp) - extract(epoch from '2026-07-21 13:49: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.830397 -2.631285)', '2026-07-21 13:49:59', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830335 -2.63119)'), GeomFromEWKT('SRID=4674;POINT (-39.830397 -2.631285)'))) / (select extract(epoch from '2026-07-21 13:49:59'::timestamp) - extract(epoch from '2026-07-21 13:49:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830335 -2.63119)'), GeomFromEWKT('SRID=4674;POINT (-39.830397 -2.631285)'))) / (select extract(epoch from '2026-07-21 13:49:59'::timestamp) - extract(epoch from '2026-07-21 13:49: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.830464 -2.631424)', '2026-07-21 13:50:06', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830397 -2.631285)'), GeomFromEWKT('SRID=4674;POINT (-39.830464 -2.631424)'))) / (select extract(epoch from '2026-07-21 13:50:06'::timestamp) - extract(epoch from '2026-07-21 13:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830397 -2.631285)'), GeomFromEWKT('SRID=4674;POINT (-39.830464 -2.631424)'))) / (select extract(epoch from '2026-07-21 13:50:06'::timestamp) - extract(epoch from '2026-07-21 13:49:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.830511 -2.631498)', '2026-07-21 13:50:10', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830464 -2.631424)'), GeomFromEWKT('SRID=4674;POINT (-39.830511 -2.631498)'))) / (select extract(epoch from '2026-07-21 13:50:10'::timestamp) - extract(epoch from '2026-07-21 13:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830464 -2.631424)'), GeomFromEWKT('SRID=4674;POINT (-39.830511 -2.631498)'))) / (select extract(epoch from '2026-07-21 13:50:10'::timestamp) - extract(epoch from '2026-07-21 13:50: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.830526 -2.631517)', '2026-07-21 13:50:11', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830511 -2.631498)'), GeomFromEWKT('SRID=4674;POINT (-39.830526 -2.631517)'))) / (select extract(epoch from '2026-07-21 13:50:11'::timestamp) - extract(epoch from '2026-07-21 13:50:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830511 -2.631498)'), GeomFromEWKT('SRID=4674;POINT (-39.830526 -2.631517)'))) / (select extract(epoch from '2026-07-21 13:50:11'::timestamp) - extract(epoch from '2026-07-21 13:50:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.830546 -2.631559)', '2026-07-21 13:50:13', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830526 -2.631517)'), GeomFromEWKT('SRID=4674;POINT (-39.830546 -2.631559)'))) / (select extract(epoch from '2026-07-21 13:50:13'::timestamp) - extract(epoch from '2026-07-21 13:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830526 -2.631517)'), GeomFromEWKT('SRID=4674;POINT (-39.830546 -2.631559)'))) / (select extract(epoch from '2026-07-21 13:50:13'::timestamp) - extract(epoch from '2026-07-21 13:50: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.830562 -2.6316)', '2026-07-21 13:50:15', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830546 -2.631559)'), GeomFromEWKT('SRID=4674;POINT (-39.830562 -2.6316)'))) / (select extract(epoch from '2026-07-21 13:50:15'::timestamp) - extract(epoch from '2026-07-21 13:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830546 -2.631559)'), GeomFromEWKT('SRID=4674;POINT (-39.830562 -2.6316)'))) / (select extract(epoch from '2026-07-21 13:50:15'::timestamp) - extract(epoch from '2026-07-21 13:50: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.830613 -2.631726)', '2026-07-21 13:50:21', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830562 -2.6316)'), GeomFromEWKT('SRID=4674;POINT (-39.830613 -2.631726)'))) / (select extract(epoch from '2026-07-21 13:50:21'::timestamp) - extract(epoch from '2026-07-21 13:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830562 -2.6316)'), GeomFromEWKT('SRID=4674;POINT (-39.830613 -2.631726)'))) / (select extract(epoch from '2026-07-21 13:50:21'::timestamp) - extract(epoch from '2026-07-21 13:50: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.830662 -2.631827)', '2026-07-21 13:50:27', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830613 -2.631726)'), GeomFromEWKT('SRID=4674;POINT (-39.830662 -2.631827)'))) / (select extract(epoch from '2026-07-21 13:50:27'::timestamp) - extract(epoch from '2026-07-21 13:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830613 -2.631726)'), GeomFromEWKT('SRID=4674;POINT (-39.830662 -2.631827)'))) / (select extract(epoch from '2026-07-21 13:50:27'::timestamp) - extract(epoch from '2026-07-21 13:50: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.830672 -2.631889)', '2026-07-21 13:50:32', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830662 -2.631827)'), GeomFromEWKT('SRID=4674;POINT (-39.830672 -2.631889)'))) / (select extract(epoch from '2026-07-21 13:50:32'::timestamp) - extract(epoch from '2026-07-21 13:50:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830662 -2.631827)'), GeomFromEWKT('SRID=4674;POINT (-39.830672 -2.631889)'))) / (select extract(epoch from '2026-07-21 13:50:32'::timestamp) - extract(epoch from '2026-07-21 13:50: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.830664 -2.631909)', '2026-07-21 13:50:38', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830672 -2.631889)'), GeomFromEWKT('SRID=4674;POINT (-39.830664 -2.631909)'))) / (select extract(epoch from '2026-07-21 13:50:38'::timestamp) - extract(epoch from '2026-07-21 13:50:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830672 -2.631889)'), GeomFromEWKT('SRID=4674;POINT (-39.830664 -2.631909)'))) / (select extract(epoch from '2026-07-21 13:50:38'::timestamp) - extract(epoch from '2026-07-21 13:50: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.830625 -2.631917)', '2026-07-21 13:50:47', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830664 -2.631909)'), GeomFromEWKT('SRID=4674;POINT (-39.830625 -2.631917)'))) / (select extract(epoch from '2026-07-21 13:50:47'::timestamp) - extract(epoch from '2026-07-21 13:50:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830664 -2.631909)'), GeomFromEWKT('SRID=4674;POINT (-39.830625 -2.631917)'))) / (select extract(epoch from '2026-07-21 13:50:47'::timestamp) - extract(epoch from '2026-07-21 13:50: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.830617 -2.631915)', '2026-07-21 13:50:48', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830625 -2.631917)'), GeomFromEWKT('SRID=4674;POINT (-39.830617 -2.631915)'))) / (select extract(epoch from '2026-07-21 13:50:48'::timestamp) - extract(epoch from '2026-07-21 13:50:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830625 -2.631917)'), GeomFromEWKT('SRID=4674;POINT (-39.830617 -2.631915)'))) / (select extract(epoch from '2026-07-21 13:50:48'::timestamp) - extract(epoch from '2026-07-21 13:50: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.830579 -2.631889)', '2026-07-21 13:50:52', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830617 -2.631915)'), GeomFromEWKT('SRID=4674;POINT (-39.830579 -2.631889)'))) / (select extract(epoch from '2026-07-21 13:50:52'::timestamp) - extract(epoch from '2026-07-21 13:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830617 -2.631915)'), GeomFromEWKT('SRID=4674;POINT (-39.830579 -2.631889)'))) / (select extract(epoch from '2026-07-21 13:50:52'::timestamp) - extract(epoch from '2026-07-21 13:50: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.83053 -2.631823)', '2026-07-21 13:50:58', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830579 -2.631889)'), GeomFromEWKT('SRID=4674;POINT (-39.83053 -2.631823)'))) / (select extract(epoch from '2026-07-21 13:50:58'::timestamp) - extract(epoch from '2026-07-21 13:50:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830579 -2.631889)'), GeomFromEWKT('SRID=4674;POINT (-39.83053 -2.631823)'))) / (select extract(epoch from '2026-07-21 13:50:58'::timestamp) - extract(epoch from '2026-07-21 13:50: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.830485 -2.63175)', '2026-07-21 13:51:03', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83053 -2.631823)'), GeomFromEWKT('SRID=4674;POINT (-39.830485 -2.63175)'))) / (select extract(epoch from '2026-07-21 13:51:03'::timestamp) - extract(epoch from '2026-07-21 13:50:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.83053 -2.631823)'), GeomFromEWKT('SRID=4674;POINT (-39.830485 -2.63175)'))) / (select extract(epoch from '2026-07-21 13:51:03'::timestamp) - extract(epoch from '2026-07-21 13:50:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.830475 -2.631732)', '2026-07-21 13:51:04', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830485 -2.63175)'), GeomFromEWKT('SRID=4674;POINT (-39.830475 -2.631732)'))) / (select extract(epoch from '2026-07-21 13:51:04'::timestamp) - extract(epoch from '2026-07-21 13:51:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830485 -2.63175)'), GeomFromEWKT('SRID=4674;POINT (-39.830475 -2.631732)'))) / (select extract(epoch from '2026-07-21 13:51:04'::timestamp) - extract(epoch from '2026-07-21 13:51: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.830453 -2.631706)', '2026-07-21 13:51:06', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830475 -2.631732)'), GeomFromEWKT('SRID=4674;POINT (-39.830453 -2.631706)'))) / (select extract(epoch from '2026-07-21 13:51:06'::timestamp) - extract(epoch from '2026-07-21 13:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830475 -2.631732)'), GeomFromEWKT('SRID=4674;POINT (-39.830453 -2.631706)'))) / (select extract(epoch from '2026-07-21 13:51:06'::timestamp) - extract(epoch from '2026-07-21 13:51: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.8304 -2.631639)', '2026-07-21 13:51:11', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830453 -2.631706)'), GeomFromEWKT('SRID=4674;POINT (-39.8304 -2.631639)'))) / (select extract(epoch from '2026-07-21 13:51:11'::timestamp) - extract(epoch from '2026-07-21 13:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830453 -2.631706)'), GeomFromEWKT('SRID=4674;POINT (-39.8304 -2.631639)'))) / (select extract(epoch from '2026-07-21 13:51:11'::timestamp) - extract(epoch from '2026-07-21 13:51:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.830354 -2.631564)', '2026-07-21 13:51:16', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8304 -2.631639)'), GeomFromEWKT('SRID=4674;POINT (-39.830354 -2.631564)'))) / (select extract(epoch from '2026-07-21 13:51:16'::timestamp) - extract(epoch from '2026-07-21 13:51:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8304 -2.631639)'), GeomFromEWKT('SRID=4674;POINT (-39.830354 -2.631564)'))) / (select extract(epoch from '2026-07-21 13:51:16'::timestamp) - extract(epoch from '2026-07-21 13:51: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.830311 -2.631502)', '2026-07-21 13:51:20', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830354 -2.631564)'), GeomFromEWKT('SRID=4674;POINT (-39.830311 -2.631502)'))) / (select extract(epoch from '2026-07-21 13:51:20'::timestamp) - extract(epoch from '2026-07-21 13:51:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830354 -2.631564)'), GeomFromEWKT('SRID=4674;POINT (-39.830311 -2.631502)'))) / (select extract(epoch from '2026-07-21 13:51:20'::timestamp) - extract(epoch from '2026-07-21 13:51: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.830241 -2.631419)', '2026-07-21 13:51:25', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830311 -2.631502)'), GeomFromEWKT('SRID=4674;POINT (-39.830241 -2.631419)'))) / (select extract(epoch from '2026-07-21 13:51:25'::timestamp) - extract(epoch from '2026-07-21 13:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830311 -2.631502)'), GeomFromEWKT('SRID=4674;POINT (-39.830241 -2.631419)'))) / (select extract(epoch from '2026-07-21 13:51:25'::timestamp) - extract(epoch from '2026-07-21 13:51:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.830162 -2.631342)', '2026-07-21 13:51:31', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830241 -2.631419)'), GeomFromEWKT('SRID=4674;POINT (-39.830162 -2.631342)'))) / (select extract(epoch from '2026-07-21 13:51:31'::timestamp) - extract(epoch from '2026-07-21 13:51:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830241 -2.631419)'), GeomFromEWKT('SRID=4674;POINT (-39.830162 -2.631342)'))) / (select extract(epoch from '2026-07-21 13:51:31'::timestamp) - extract(epoch from '2026-07-21 13:51:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.830093 -2.631291)', '2026-07-21 13:51:35', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830162 -2.631342)'), GeomFromEWKT('SRID=4674;POINT (-39.830093 -2.631291)'))) / (select extract(epoch from '2026-07-21 13:51:35'::timestamp) - extract(epoch from '2026-07-21 13:51:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830162 -2.631342)'), GeomFromEWKT('SRID=4674;POINT (-39.830093 -2.631291)'))) / (select extract(epoch from '2026-07-21 13:51:35'::timestamp) - extract(epoch from '2026-07-21 13:51: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.830041 -2.631227)', '2026-07-21 13:51:40', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830093 -2.631291)'), GeomFromEWKT('SRID=4674;POINT (-39.830041 -2.631227)'))) / (select extract(epoch from '2026-07-21 13:51:40'::timestamp) - extract(epoch from '2026-07-21 13:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830093 -2.631291)'), GeomFromEWKT('SRID=4674;POINT (-39.830041 -2.631227)'))) / (select extract(epoch from '2026-07-21 13:51:40'::timestamp) - extract(epoch from '2026-07-21 13:51: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.830008 -2.631189)', '2026-07-21 13:51:43', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830041 -2.631227)'), GeomFromEWKT('SRID=4674;POINT (-39.830008 -2.631189)'))) / (select extract(epoch from '2026-07-21 13:51:43'::timestamp) - extract(epoch from '2026-07-21 13:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830041 -2.631227)'), GeomFromEWKT('SRID=4674;POINT (-39.830008 -2.631189)'))) / (select extract(epoch from '2026-07-21 13:51:43'::timestamp) - extract(epoch from '2026-07-21 13:51: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.829982 -2.631163)', '2026-07-21 13:51:45', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830008 -2.631189)'), GeomFromEWKT('SRID=4674;POINT (-39.829982 -2.631163)'))) / (select extract(epoch from '2026-07-21 13:51:45'::timestamp) - extract(epoch from '2026-07-21 13:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.830008 -2.631189)'), GeomFromEWKT('SRID=4674;POINT (-39.829982 -2.631163)'))) / (select extract(epoch from '2026-07-21 13:51:45'::timestamp) - extract(epoch from '2026-07-21 13:51: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.829899 -2.631082)', '2026-07-21 13:51:51', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829982 -2.631163)'), GeomFromEWKT('SRID=4674;POINT (-39.829899 -2.631082)'))) / (select extract(epoch from '2026-07-21 13:51:51'::timestamp) - extract(epoch from '2026-07-21 13:51:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829982 -2.631163)'), GeomFromEWKT('SRID=4674;POINT (-39.829899 -2.631082)'))) / (select extract(epoch from '2026-07-21 13:51:51'::timestamp) - extract(epoch from '2026-07-21 13:51:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829851 -2.631057)', '2026-07-21 13:51:54', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829899 -2.631082)'), GeomFromEWKT('SRID=4674;POINT (-39.829851 -2.631057)'))) / (select extract(epoch from '2026-07-21 13:51:54'::timestamp) - extract(epoch from '2026-07-21 13:51:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829899 -2.631082)'), GeomFromEWKT('SRID=4674;POINT (-39.829851 -2.631057)'))) / (select extract(epoch from '2026-07-21 13:51:54'::timestamp) - extract(epoch from '2026-07-21 13:51: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.829815 -2.631045)', '2026-07-21 13:51:56', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829851 -2.631057)'), GeomFromEWKT('SRID=4674;POINT (-39.829815 -2.631045)'))) / (select extract(epoch from '2026-07-21 13:51:56'::timestamp) - extract(epoch from '2026-07-21 13:51:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829851 -2.631057)'), GeomFromEWKT('SRID=4674;POINT (-39.829815 -2.631045)'))) / (select extract(epoch from '2026-07-21 13:51:56'::timestamp) - extract(epoch from '2026-07-21 13:51: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.829732 -2.631023)', '2026-07-21 13:52:02', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829815 -2.631045)'), GeomFromEWKT('SRID=4674;POINT (-39.829732 -2.631023)'))) / (select extract(epoch from '2026-07-21 13:52:02'::timestamp) - extract(epoch from '2026-07-21 13:51:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829815 -2.631045)'), GeomFromEWKT('SRID=4674;POINT (-39.829732 -2.631023)'))) / (select extract(epoch from '2026-07-21 13:52:02'::timestamp) - extract(epoch from '2026-07-21 13:51: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.82972 -2.631015)', '2026-07-21 13:52:03', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829732 -2.631023)'), GeomFromEWKT('SRID=4674;POINT (-39.82972 -2.631015)'))) / (select extract(epoch from '2026-07-21 13:52:03'::timestamp) - extract(epoch from '2026-07-21 13:52:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829732 -2.631023)'), GeomFromEWKT('SRID=4674;POINT (-39.82972 -2.631015)'))) / (select extract(epoch from '2026-07-21 13:52:03'::timestamp) - extract(epoch from '2026-07-21 13:52:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829668 -2.630984)', '2026-07-21 13:52:07', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82972 -2.631015)'), GeomFromEWKT('SRID=4674;POINT (-39.829668 -2.630984)'))) / (select extract(epoch from '2026-07-21 13:52:07'::timestamp) - extract(epoch from '2026-07-21 13:52:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82972 -2.631015)'), GeomFromEWKT('SRID=4674;POINT (-39.829668 -2.630984)'))) / (select extract(epoch from '2026-07-21 13:52:07'::timestamp) - extract(epoch from '2026-07-21 13:52: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.82964 -2.630969)', '2026-07-21 13:52:09', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829668 -2.630984)'), GeomFromEWKT('SRID=4674;POINT (-39.82964 -2.630969)'))) / (select extract(epoch from '2026-07-21 13:52:09'::timestamp) - extract(epoch from '2026-07-21 13:52:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829668 -2.630984)'), GeomFromEWKT('SRID=4674;POINT (-39.82964 -2.630969)'))) / (select extract(epoch from '2026-07-21 13:52:09'::timestamp) - extract(epoch from '2026-07-21 13:52: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.829598 -2.630953)', '2026-07-21 13:52:12', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82964 -2.630969)'), GeomFromEWKT('SRID=4674;POINT (-39.829598 -2.630953)'))) / (select extract(epoch from '2026-07-21 13:52:12'::timestamp) - extract(epoch from '2026-07-21 13:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82964 -2.630969)'), GeomFromEWKT('SRID=4674;POINT (-39.829598 -2.630953)'))) / (select extract(epoch from '2026-07-21 13:52:12'::timestamp) - extract(epoch from '2026-07-21 13:52: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.829569 -2.630939)', '2026-07-21 13:52:14', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829598 -2.630953)'), GeomFromEWKT('SRID=4674;POINT (-39.829569 -2.630939)'))) / (select extract(epoch from '2026-07-21 13:52:14'::timestamp) - extract(epoch from '2026-07-21 13:52:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829598 -2.630953)'), GeomFromEWKT('SRID=4674;POINT (-39.829569 -2.630939)'))) / (select extract(epoch from '2026-07-21 13:52:14'::timestamp) - extract(epoch from '2026-07-21 13:52:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829543 -2.630915)', '2026-07-21 13:52:16', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829569 -2.630939)'), GeomFromEWKT('SRID=4674;POINT (-39.829543 -2.630915)'))) / (select extract(epoch from '2026-07-21 13:52:16'::timestamp) - extract(epoch from '2026-07-21 13:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829569 -2.630939)'), GeomFromEWKT('SRID=4674;POINT (-39.829543 -2.630915)'))) / (select extract(epoch from '2026-07-21 13:52:16'::timestamp) - extract(epoch from '2026-07-21 13:52: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.829527 -2.630908)', '2026-07-21 13:52:17', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829543 -2.630915)'), GeomFromEWKT('SRID=4674;POINT (-39.829527 -2.630908)'))) / (select extract(epoch from '2026-07-21 13:52:17'::timestamp) - extract(epoch from '2026-07-21 13:52:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829543 -2.630915)'), GeomFromEWKT('SRID=4674;POINT (-39.829527 -2.630908)'))) / (select extract(epoch from '2026-07-21 13:52:17'::timestamp) - extract(epoch from '2026-07-21 13:52: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.829479 -2.630881)', '2026-07-21 13:52:20', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829527 -2.630908)'), GeomFromEWKT('SRID=4674;POINT (-39.829479 -2.630881)'))) / (select extract(epoch from '2026-07-21 13:52:20'::timestamp) - extract(epoch from '2026-07-21 13:52:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829527 -2.630908)'), GeomFromEWKT('SRID=4674;POINT (-39.829479 -2.630881)'))) / (select extract(epoch from '2026-07-21 13:52:20'::timestamp) - extract(epoch from '2026-07-21 13:52:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.82946 -2.630859)', '2026-07-21 13:52:22', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829479 -2.630881)'), GeomFromEWKT('SRID=4674;POINT (-39.82946 -2.630859)'))) / (select extract(epoch from '2026-07-21 13:52:22'::timestamp) - extract(epoch from '2026-07-21 13:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829479 -2.630881)'), GeomFromEWKT('SRID=4674;POINT (-39.82946 -2.630859)'))) / (select extract(epoch from '2026-07-21 13:52:22'::timestamp) - extract(epoch from '2026-07-21 13:52: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.829402 -2.630787)', '2026-07-21 13:52:27', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82946 -2.630859)'), GeomFromEWKT('SRID=4674;POINT (-39.829402 -2.630787)'))) / (select extract(epoch from '2026-07-21 13:52:27'::timestamp) - extract(epoch from '2026-07-21 13:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82946 -2.630859)'), GeomFromEWKT('SRID=4674;POINT (-39.829402 -2.630787)'))) / (select extract(epoch from '2026-07-21 13:52:27'::timestamp) - extract(epoch from '2026-07-21 13:52: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.829307 -2.630658)', '2026-07-21 13:52:35', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829402 -2.630787)'), GeomFromEWKT('SRID=4674;POINT (-39.829307 -2.630658)'))) / (select extract(epoch from '2026-07-21 13:52:35'::timestamp) - extract(epoch from '2026-07-21 13:52:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829402 -2.630787)'), GeomFromEWKT('SRID=4674;POINT (-39.829307 -2.630658)'))) / (select extract(epoch from '2026-07-21 13:52:35'::timestamp) - extract(epoch from '2026-07-21 13:52:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.82929 -2.63065)', '2026-07-21 13:52:36', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829307 -2.630658)'), GeomFromEWKT('SRID=4674;POINT (-39.82929 -2.63065)'))) / (select extract(epoch from '2026-07-21 13:52:36'::timestamp) - extract(epoch from '2026-07-21 13:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829307 -2.630658)'), GeomFromEWKT('SRID=4674;POINT (-39.82929 -2.63065)'))) / (select extract(epoch from '2026-07-21 13:52:36'::timestamp) - extract(epoch from '2026-07-21 13:52:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.82925 -2.630617)', '2026-07-21 13:52:39', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82929 -2.63065)'), GeomFromEWKT('SRID=4674;POINT (-39.82925 -2.630617)'))) / (select extract(epoch from '2026-07-21 13:52:39'::timestamp) - extract(epoch from '2026-07-21 13:52:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82929 -2.63065)'), GeomFromEWKT('SRID=4674;POINT (-39.82925 -2.630617)'))) / (select extract(epoch from '2026-07-21 13:52:39'::timestamp) - extract(epoch from '2026-07-21 13:52:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.82919 -2.630604)', '2026-07-21 13:52:43', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82925 -2.630617)'), GeomFromEWKT('SRID=4674;POINT (-39.82919 -2.630604)'))) / (select extract(epoch from '2026-07-21 13:52:43'::timestamp) - extract(epoch from '2026-07-21 13:52:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82925 -2.630617)'), GeomFromEWKT('SRID=4674;POINT (-39.82919 -2.630604)'))) / (select extract(epoch from '2026-07-21 13:52:43'::timestamp) - extract(epoch from '2026-07-21 13:52: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.829151 -2.630604)', '2026-07-21 13:52:47', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82919 -2.630604)'), GeomFromEWKT('SRID=4674;POINT (-39.829151 -2.630604)'))) / (select extract(epoch from '2026-07-21 13:52:47'::timestamp) - extract(epoch from '2026-07-21 13:52:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82919 -2.630604)'), GeomFromEWKT('SRID=4674;POINT (-39.829151 -2.630604)'))) / (select extract(epoch from '2026-07-21 13:52:47'::timestamp) - extract(epoch from '2026-07-21 13:52:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.829138 -2.630599)', '2026-07-21 13:52:48', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829151 -2.630604)'), GeomFromEWKT('SRID=4674;POINT (-39.829138 -2.630599)'))) / (select extract(epoch from '2026-07-21 13:52:48'::timestamp) - extract(epoch from '2026-07-21 13:52:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829151 -2.630604)'), GeomFromEWKT('SRID=4674;POINT (-39.829138 -2.630599)'))) / (select extract(epoch from '2026-07-21 13:52:48'::timestamp) - extract(epoch from '2026-07-21 13:52: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.829077 -2.630583)', '2026-07-21 13:52:53', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829138 -2.630599)'), GeomFromEWKT('SRID=4674;POINT (-39.829077 -2.630583)'))) / (select extract(epoch from '2026-07-21 13:52:53'::timestamp) - extract(epoch from '2026-07-21 13:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829138 -2.630599)'), GeomFromEWKT('SRID=4674;POINT (-39.829077 -2.630583)'))) / (select extract(epoch from '2026-07-21 13:52:53'::timestamp) - extract(epoch from '2026-07-21 13:52: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.828995 -2.630554)', '2026-07-21 13:52:58', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829077 -2.630583)'), GeomFromEWKT('SRID=4674;POINT (-39.828995 -2.630554)'))) / (select extract(epoch from '2026-07-21 13:52:58'::timestamp) - extract(epoch from '2026-07-21 13:52:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.829077 -2.630583)'), GeomFromEWKT('SRID=4674;POINT (-39.828995 -2.630554)'))) / (select extract(epoch from '2026-07-21 13:52:58'::timestamp) - extract(epoch from '2026-07-21 13:52: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.828916 -2.630494)', '2026-07-21 13:53:03', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828995 -2.630554)'), GeomFromEWKT('SRID=4674;POINT (-39.828916 -2.630494)'))) / (select extract(epoch from '2026-07-21 13:53:03'::timestamp) - extract(epoch from '2026-07-21 13:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828995 -2.630554)'), GeomFromEWKT('SRID=4674;POINT (-39.828916 -2.630494)'))) / (select extract(epoch from '2026-07-21 13:53:03'::timestamp) - extract(epoch from '2026-07-21 13:52: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.828904 -2.630484)', '2026-07-21 13:53:04', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828916 -2.630494)'), GeomFromEWKT('SRID=4674;POINT (-39.828904 -2.630484)'))) / (select extract(epoch from '2026-07-21 13:53:04'::timestamp) - extract(epoch from '2026-07-21 13:53:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828916 -2.630494)'), GeomFromEWKT('SRID=4674;POINT (-39.828904 -2.630484)'))) / (select extract(epoch from '2026-07-21 13:53:04'::timestamp) - extract(epoch from '2026-07-21 13:53: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.828877 -2.63046)', '2026-07-21 13:53:06', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828904 -2.630484)'), GeomFromEWKT('SRID=4674;POINT (-39.828877 -2.63046)'))) / (select extract(epoch from '2026-07-21 13:53:06'::timestamp) - extract(epoch from '2026-07-21 13:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828904 -2.630484)'), GeomFromEWKT('SRID=4674;POINT (-39.828877 -2.63046)'))) / (select extract(epoch from '2026-07-21 13:53:06'::timestamp) - extract(epoch from '2026-07-21 13:53: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.828869 -2.63044)', '2026-07-21 13:53:07', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828877 -2.63046)'), GeomFromEWKT('SRID=4674;POINT (-39.828869 -2.63044)'))) / (select extract(epoch from '2026-07-21 13:53:07'::timestamp) - extract(epoch from '2026-07-21 13:53:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828877 -2.63046)'), GeomFromEWKT('SRID=4674;POINT (-39.828869 -2.63044)'))) / (select extract(epoch from '2026-07-21 13:53:07'::timestamp) - extract(epoch from '2026-07-21 13:53: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.828839 -2.630376)', '2026-07-21 13:53:11', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828869 -2.63044)'), GeomFromEWKT('SRID=4674;POINT (-39.828839 -2.630376)'))) / (select extract(epoch from '2026-07-21 13:53:11'::timestamp) - extract(epoch from '2026-07-21 13:53:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828869 -2.63044)'), GeomFromEWKT('SRID=4674;POINT (-39.828839 -2.630376)'))) / (select extract(epoch from '2026-07-21 13:53:11'::timestamp) - extract(epoch from '2026-07-21 13:53: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.828825 -2.630364)', '2026-07-21 13:53:12', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828839 -2.630376)'), GeomFromEWKT('SRID=4674;POINT (-39.828825 -2.630364)'))) / (select extract(epoch from '2026-07-21 13:53:12'::timestamp) - extract(epoch from '2026-07-21 13:53:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828839 -2.630376)'), GeomFromEWKT('SRID=4674;POINT (-39.828825 -2.630364)'))) / (select extract(epoch from '2026-07-21 13:53:12'::timestamp) - extract(epoch from '2026-07-21 13:53: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.828768 -2.630279)', '2026-07-21 13:53:17', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828825 -2.630364)'), GeomFromEWKT('SRID=4674;POINT (-39.828768 -2.630279)'))) / (select extract(epoch from '2026-07-21 13:53:17'::timestamp) - extract(epoch from '2026-07-21 13:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828825 -2.630364)'), GeomFromEWKT('SRID=4674;POINT (-39.828768 -2.630279)'))) / (select extract(epoch from '2026-07-21 13:53:17'::timestamp) - extract(epoch from '2026-07-21 13:53: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.828714 -2.630222)', '2026-07-21 13:53:21', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828768 -2.630279)'), GeomFromEWKT('SRID=4674;POINT (-39.828714 -2.630222)'))) / (select extract(epoch from '2026-07-21 13:53:21'::timestamp) - extract(epoch from '2026-07-21 13:53:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828768 -2.630279)'), GeomFromEWKT('SRID=4674;POINT (-39.828714 -2.630222)'))) / (select extract(epoch from '2026-07-21 13:53:21'::timestamp) - extract(epoch from '2026-07-21 13:53: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.828652 -2.63017)', '2026-07-21 13:53:25', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828714 -2.630222)'), GeomFromEWKT('SRID=4674;POINT (-39.828652 -2.63017)'))) / (select extract(epoch from '2026-07-21 13:53:25'::timestamp) - extract(epoch from '2026-07-21 13:53:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828714 -2.630222)'), GeomFromEWKT('SRID=4674;POINT (-39.828652 -2.63017)'))) / (select extract(epoch from '2026-07-21 13:53:25'::timestamp) - extract(epoch from '2026-07-21 13:53: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.828585 -2.630109)', '2026-07-21 13:53:30', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828652 -2.63017)'), GeomFromEWKT('SRID=4674;POINT (-39.828585 -2.630109)'))) / (select extract(epoch from '2026-07-21 13:53:30'::timestamp) - extract(epoch from '2026-07-21 13:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828652 -2.63017)'), GeomFromEWKT('SRID=4674;POINT (-39.828585 -2.630109)'))) / (select extract(epoch from '2026-07-21 13:53:30'::timestamp) - extract(epoch from '2026-07-21 13:53:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.828521 -2.630038)', '2026-07-21 13:53:36', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828585 -2.630109)'), GeomFromEWKT('SRID=4674;POINT (-39.828521 -2.630038)'))) / (select extract(epoch from '2026-07-21 13:53:36'::timestamp) - extract(epoch from '2026-07-21 13:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828585 -2.630109)'), GeomFromEWKT('SRID=4674;POINT (-39.828521 -2.630038)'))) / (select extract(epoch from '2026-07-21 13:53:36'::timestamp) - extract(epoch from '2026-07-21 13:53:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.828505 -2.630021)', '2026-07-21 13:53:38', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828521 -2.630038)'), GeomFromEWKT('SRID=4674;POINT (-39.828505 -2.630021)'))) / (select extract(epoch from '2026-07-21 13:53:38'::timestamp) - extract(epoch from '2026-07-21 13:53:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828521 -2.630038)'), GeomFromEWKT('SRID=4674;POINT (-39.828505 -2.630021)'))) / (select extract(epoch from '2026-07-21 13:53:38'::timestamp) - extract(epoch from '2026-07-21 13:53: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.828483 -2.629995)', '2026-07-21 13:53:41', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828505 -2.630021)'), GeomFromEWKT('SRID=4674;POINT (-39.828483 -2.629995)'))) / (select extract(epoch from '2026-07-21 13:53:41'::timestamp) - extract(epoch from '2026-07-21 13:53:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828505 -2.630021)'), GeomFromEWKT('SRID=4674;POINT (-39.828483 -2.629995)'))) / (select extract(epoch from '2026-07-21 13:53:41'::timestamp) - extract(epoch from '2026-07-21 13:53: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.828473 -2.629982)', '2026-07-21 13:53:43', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828483 -2.629995)'), GeomFromEWKT('SRID=4674;POINT (-39.828473 -2.629982)'))) / (select extract(epoch from '2026-07-21 13:53:43'::timestamp) - extract(epoch from '2026-07-21 13:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828483 -2.629995)'), GeomFromEWKT('SRID=4674;POINT (-39.828473 -2.629982)'))) / (select extract(epoch from '2026-07-21 13:53:43'::timestamp) - extract(epoch from '2026-07-21 13:53:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.828458 -2.629968)', '2026-07-21 13:53:46', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828473 -2.629982)'), GeomFromEWKT('SRID=4674;POINT (-39.828458 -2.629968)'))) / (select extract(epoch from '2026-07-21 13:53:46'::timestamp) - extract(epoch from '2026-07-21 13:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828473 -2.629982)'), GeomFromEWKT('SRID=4674;POINT (-39.828458 -2.629968)'))) / (select extract(epoch from '2026-07-21 13:53:46'::timestamp) - extract(epoch from '2026-07-21 13:53:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.828442 -2.629944)', '2026-07-21 13:53:51', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828458 -2.629968)'), GeomFromEWKT('SRID=4674;POINT (-39.828442 -2.629944)'))) / (select extract(epoch from '2026-07-21 13:53:51'::timestamp) - extract(epoch from '2026-07-21 13:53:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828458 -2.629968)'), GeomFromEWKT('SRID=4674;POINT (-39.828442 -2.629944)'))) / (select extract(epoch from '2026-07-21 13:53:51'::timestamp) - extract(epoch from '2026-07-21 13:53: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.82842 -2.629927)', '2026-07-21 13:53:58', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828442 -2.629944)'), GeomFromEWKT('SRID=4674;POINT (-39.82842 -2.629927)'))) / (select extract(epoch from '2026-07-21 13:53:58'::timestamp) - extract(epoch from '2026-07-21 13:53:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828442 -2.629944)'), GeomFromEWKT('SRID=4674;POINT (-39.82842 -2.629927)'))) / (select extract(epoch from '2026-07-21 13:53:58'::timestamp) - extract(epoch from '2026-07-21 13:53: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.828418 -2.629901)', '2026-07-21 13:54:04', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82842 -2.629927)'), GeomFromEWKT('SRID=4674;POINT (-39.828418 -2.629901)'))) / (select extract(epoch from '2026-07-21 13:54:04'::timestamp) - extract(epoch from '2026-07-21 13:53:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82842 -2.629927)'), GeomFromEWKT('SRID=4674;POINT (-39.828418 -2.629901)'))) / (select extract(epoch from '2026-07-21 13:54:04'::timestamp) - extract(epoch from '2026-07-21 13:53: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.828436 -2.629871)', '2026-07-21 13:54:13', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828418 -2.629901)'), GeomFromEWKT('SRID=4674;POINT (-39.828436 -2.629871)'))) / (select extract(epoch from '2026-07-21 13:54:13'::timestamp) - extract(epoch from '2026-07-21 13:54:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828418 -2.629901)'), GeomFromEWKT('SRID=4674;POINT (-39.828436 -2.629871)'))) / (select extract(epoch from '2026-07-21 13:54:13'::timestamp) - extract(epoch from '2026-07-21 13:54: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.828463 -2.62983)', '2026-07-21 13:54:21', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828436 -2.629871)'), GeomFromEWKT('SRID=4674;POINT (-39.828463 -2.62983)'))) / (select extract(epoch from '2026-07-21 13:54:21'::timestamp) - extract(epoch from '2026-07-21 13:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828436 -2.629871)'), GeomFromEWKT('SRID=4674;POINT (-39.828463 -2.62983)'))) / (select extract(epoch from '2026-07-21 13:54:21'::timestamp) - extract(epoch from '2026-07-21 13:54: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.828461 -2.629824)', '2026-07-21 13:54:22', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828463 -2.62983)'), GeomFromEWKT('SRID=4674;POINT (-39.828461 -2.629824)'))) / (select extract(epoch from '2026-07-21 13:54:22'::timestamp) - extract(epoch from '2026-07-21 13:54:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828463 -2.62983)'), GeomFromEWKT('SRID=4674;POINT (-39.828461 -2.629824)'))) / (select extract(epoch from '2026-07-21 13:54:22'::timestamp) - extract(epoch from '2026-07-21 13:54:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.828483 -2.629811)', '2026-07-21 13:54:27', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828461 -2.629824)'), GeomFromEWKT('SRID=4674;POINT (-39.828483 -2.629811)'))) / (select extract(epoch from '2026-07-21 13:54:27'::timestamp) - extract(epoch from '2026-07-21 13:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828461 -2.629824)'), GeomFromEWKT('SRID=4674;POINT (-39.828483 -2.629811)'))) / (select extract(epoch from '2026-07-21 13:54:27'::timestamp) - extract(epoch from '2026-07-21 13:54: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.828495 -2.629784)', '2026-07-21 13:54:34', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828483 -2.629811)'), GeomFromEWKT('SRID=4674;POINT (-39.828495 -2.629784)'))) / (select extract(epoch from '2026-07-21 13:54:34'::timestamp) - extract(epoch from '2026-07-21 13:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828483 -2.629811)'), GeomFromEWKT('SRID=4674;POINT (-39.828495 -2.629784)'))) / (select extract(epoch from '2026-07-21 13:54:34'::timestamp) - extract(epoch from '2026-07-21 13:54: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.828501 -2.629758)', '2026-07-21 13:54:40', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828495 -2.629784)'), GeomFromEWKT('SRID=4674;POINT (-39.828501 -2.629758)'))) / (select extract(epoch from '2026-07-21 13:54:40'::timestamp) - extract(epoch from '2026-07-21 13:54:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828495 -2.629784)'), GeomFromEWKT('SRID=4674;POINT (-39.828501 -2.629758)'))) / (select extract(epoch from '2026-07-21 13:54:40'::timestamp) - extract(epoch from '2026-07-21 13:54: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.828519 -2.62974)', '2026-07-21 13:54:45', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828501 -2.629758)'), GeomFromEWKT('SRID=4674;POINT (-39.828519 -2.62974)'))) / (select extract(epoch from '2026-07-21 13:54:45'::timestamp) - extract(epoch from '2026-07-21 13:54:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828501 -2.629758)'), GeomFromEWKT('SRID=4674;POINT (-39.828519 -2.62974)'))) / (select extract(epoch from '2026-07-21 13:54:45'::timestamp) - extract(epoch from '2026-07-21 13:54: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.828548 -2.629714)', '2026-07-21 13:54:53', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828519 -2.62974)'), GeomFromEWKT('SRID=4674;POINT (-39.828548 -2.629714)'))) / (select extract(epoch from '2026-07-21 13:54:53'::timestamp) - extract(epoch from '2026-07-21 13:54:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828519 -2.62974)'), GeomFromEWKT('SRID=4674;POINT (-39.828548 -2.629714)'))) / (select extract(epoch from '2026-07-21 13:54:53'::timestamp) - extract(epoch from '2026-07-21 13:54:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.828571 -2.629694)', '2026-07-21 13:54:59', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828548 -2.629714)'), GeomFromEWKT('SRID=4674;POINT (-39.828571 -2.629694)'))) / (select extract(epoch from '2026-07-21 13:54:59'::timestamp) - extract(epoch from '2026-07-21 13:54:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828548 -2.629714)'), GeomFromEWKT('SRID=4674;POINT (-39.828571 -2.629694)'))) / (select extract(epoch from '2026-07-21 13:54:59'::timestamp) - extract(epoch from '2026-07-21 13:54: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.828606 -2.629658)', '2026-07-21 13:55:07', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828571 -2.629694)'), GeomFromEWKT('SRID=4674;POINT (-39.828606 -2.629658)'))) / (select extract(epoch from '2026-07-21 13:55:07'::timestamp) - extract(epoch from '2026-07-21 13:54:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828571 -2.629694)'), GeomFromEWKT('SRID=4674;POINT (-39.828606 -2.629658)'))) / (select extract(epoch from '2026-07-21 13:55:07'::timestamp) - extract(epoch from '2026-07-21 13:54: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.828628 -2.629627)', '2026-07-21 13:55:12', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828606 -2.629658)'), GeomFromEWKT('SRID=4674;POINT (-39.828628 -2.629627)'))) / (select extract(epoch from '2026-07-21 13:55:12'::timestamp) - extract(epoch from '2026-07-21 13:55:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828606 -2.629658)'), GeomFromEWKT('SRID=4674;POINT (-39.828628 -2.629627)'))) / (select extract(epoch from '2026-07-21 13:55:12'::timestamp) - extract(epoch from '2026-07-21 13:55: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.828632 -2.629623)', '2026-07-21 13:55:13', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828628 -2.629627)'), GeomFromEWKT('SRID=4674;POINT (-39.828632 -2.629623)'))) / (select extract(epoch from '2026-07-21 13:55:13'::timestamp) - extract(epoch from '2026-07-21 13:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828628 -2.629627)'), GeomFromEWKT('SRID=4674;POINT (-39.828632 -2.629623)'))) / (select extract(epoch from '2026-07-21 13:55:13'::timestamp) - extract(epoch from '2026-07-21 13:55: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.828667 -2.629593)', '2026-07-21 13:55:21', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828632 -2.629623)'), GeomFromEWKT('SRID=4674;POINT (-39.828667 -2.629593)'))) / (select extract(epoch from '2026-07-21 13:55:21'::timestamp) - extract(epoch from '2026-07-21 13:55:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828632 -2.629623)'), GeomFromEWKT('SRID=4674;POINT (-39.828667 -2.629593)'))) / (select extract(epoch from '2026-07-21 13:55:21'::timestamp) - extract(epoch from '2026-07-21 13:55: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.828666 -2.629551)', '2026-07-21 13:55:27', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828667 -2.629593)'), GeomFromEWKT('SRID=4674;POINT (-39.828666 -2.629551)'))) / (select extract(epoch from '2026-07-21 13:55:27'::timestamp) - extract(epoch from '2026-07-21 13:55:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828667 -2.629593)'), GeomFromEWKT('SRID=4674;POINT (-39.828666 -2.629551)'))) / (select extract(epoch from '2026-07-21 13:55:27'::timestamp) - extract(epoch from '2026-07-21 13:55:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.82866 -2.629544)', '2026-07-21 13:55:28', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828666 -2.629551)'), GeomFromEWKT('SRID=4674;POINT (-39.82866 -2.629544)'))) / (select extract(epoch from '2026-07-21 13:55:28'::timestamp) - extract(epoch from '2026-07-21 13:55:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828666 -2.629551)'), GeomFromEWKT('SRID=4674;POINT (-39.82866 -2.629544)'))) / (select extract(epoch from '2026-07-21 13:55:28'::timestamp) - extract(epoch from '2026-07-21 13:55: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.828647 -2.629512)', '2026-07-21 13:55:31', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82866 -2.629544)'), GeomFromEWKT('SRID=4674;POINT (-39.828647 -2.629512)'))) / (select extract(epoch from '2026-07-21 13:55:31'::timestamp) - extract(epoch from '2026-07-21 13:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82866 -2.629544)'), GeomFromEWKT('SRID=4674;POINT (-39.828647 -2.629512)'))) / (select extract(epoch from '2026-07-21 13:55:31'::timestamp) - extract(epoch from '2026-07-21 13:55: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.828578 -2.62945)', '2026-07-21 13:55:38', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828647 -2.629512)'), GeomFromEWKT('SRID=4674;POINT (-39.828578 -2.62945)'))) / (select extract(epoch from '2026-07-21 13:55:38'::timestamp) - extract(epoch from '2026-07-21 13:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828647 -2.629512)'), GeomFromEWKT('SRID=4674;POINT (-39.828578 -2.62945)'))) / (select extract(epoch from '2026-07-21 13:55:38'::timestamp) - extract(epoch from '2026-07-21 13:55:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.828529 -2.629433)', '2026-07-21 13:55:42', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828578 -2.62945)'), GeomFromEWKT('SRID=4674;POINT (-39.828529 -2.629433)'))) / (select extract(epoch from '2026-07-21 13:55:42'::timestamp) - extract(epoch from '2026-07-21 13:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828578 -2.62945)'), GeomFromEWKT('SRID=4674;POINT (-39.828529 -2.629433)'))) / (select extract(epoch from '2026-07-21 13:55:42'::timestamp) - extract(epoch from '2026-07-21 13:55:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.828445 -2.6294)', '2026-07-21 13:55:48', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828529 -2.629433)'), GeomFromEWKT('SRID=4674;POINT (-39.828445 -2.6294)'))) / (select extract(epoch from '2026-07-21 13:55:48'::timestamp) - extract(epoch from '2026-07-21 13:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828529 -2.629433)'), GeomFromEWKT('SRID=4674;POINT (-39.828445 -2.6294)'))) / (select extract(epoch from '2026-07-21 13:55:48'::timestamp) - extract(epoch from '2026-07-21 13:55: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.828362 -2.629341)', '2026-07-21 13:55:53', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828445 -2.6294)'), GeomFromEWKT('SRID=4674;POINT (-39.828362 -2.629341)'))) / (select extract(epoch from '2026-07-21 13:55:53'::timestamp) - extract(epoch from '2026-07-21 13:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828445 -2.6294)'), GeomFromEWKT('SRID=4674;POINT (-39.828362 -2.629341)'))) / (select extract(epoch from '2026-07-21 13:55:53'::timestamp) - extract(epoch from '2026-07-21 13:55:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.828296 -2.629294)', '2026-07-21 13:55:57', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828362 -2.629341)'), GeomFromEWKT('SRID=4674;POINT (-39.828296 -2.629294)'))) / (select extract(epoch from '2026-07-21 13:55:57'::timestamp) - extract(epoch from '2026-07-21 13:55:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828362 -2.629341)'), GeomFromEWKT('SRID=4674;POINT (-39.828296 -2.629294)'))) / (select extract(epoch from '2026-07-21 13:55:57'::timestamp) - extract(epoch from '2026-07-21 13:55: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.828219 -2.629266)', '2026-07-21 13:56:02', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828296 -2.629294)'), GeomFromEWKT('SRID=4674;POINT (-39.828219 -2.629266)'))) / (select extract(epoch from '2026-07-21 13:56:02'::timestamp) - extract(epoch from '2026-07-21 13:55:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828296 -2.629294)'), GeomFromEWKT('SRID=4674;POINT (-39.828219 -2.629266)'))) / (select extract(epoch from '2026-07-21 13:56:02'::timestamp) - extract(epoch from '2026-07-21 13:55: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.828152 -2.629246)', '2026-07-21 13:56:06', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828219 -2.629266)'), GeomFromEWKT('SRID=4674;POINT (-39.828152 -2.629246)'))) / (select extract(epoch from '2026-07-21 13:56:06'::timestamp) - extract(epoch from '2026-07-21 13:56:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828219 -2.629266)'), GeomFromEWKT('SRID=4674;POINT (-39.828152 -2.629246)'))) / (select extract(epoch from '2026-07-21 13:56:06'::timestamp) - extract(epoch from '2026-07-21 13:56: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.828134 -2.629234)', '2026-07-21 13:56:07', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828152 -2.629246)'), GeomFromEWKT('SRID=4674;POINT (-39.828134 -2.629234)'))) / (select extract(epoch from '2026-07-21 13:56:07'::timestamp) - extract(epoch from '2026-07-21 13:56:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828152 -2.629246)'), GeomFromEWKT('SRID=4674;POINT (-39.828134 -2.629234)'))) / (select extract(epoch from '2026-07-21 13:56:07'::timestamp) - extract(epoch from '2026-07-21 13:56:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.828119 -2.629227)', '2026-07-21 13:56:08', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828134 -2.629234)'), GeomFromEWKT('SRID=4674;POINT (-39.828119 -2.629227)'))) / (select extract(epoch from '2026-07-21 13:56:08'::timestamp) - extract(epoch from '2026-07-21 13:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828134 -2.629234)'), GeomFromEWKT('SRID=4674;POINT (-39.828119 -2.629227)'))) / (select extract(epoch from '2026-07-21 13:56:08'::timestamp) - extract(epoch from '2026-07-21 13:56:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.828089 -2.629211)', '2026-07-21 13:56:10', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828119 -2.629227)'), GeomFromEWKT('SRID=4674;POINT (-39.828089 -2.629211)'))) / (select extract(epoch from '2026-07-21 13:56:10'::timestamp) - extract(epoch from '2026-07-21 13:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828119 -2.629227)'), GeomFromEWKT('SRID=4674;POINT (-39.828089 -2.629211)'))) / (select extract(epoch from '2026-07-21 13:56:10'::timestamp) - extract(epoch from '2026-07-21 13:56: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.828074 -2.629199)', '2026-07-21 13:56:11', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828089 -2.629211)'), GeomFromEWKT('SRID=4674;POINT (-39.828074 -2.629199)'))) / (select extract(epoch from '2026-07-21 13:56:11'::timestamp) - extract(epoch from '2026-07-21 13:56:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828089 -2.629211)'), GeomFromEWKT('SRID=4674;POINT (-39.828074 -2.629199)'))) / (select extract(epoch from '2026-07-21 13:56:11'::timestamp) - extract(epoch from '2026-07-21 13:56: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.828027 -2.629159)', '2026-07-21 13:56:15', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828074 -2.629199)'), GeomFromEWKT('SRID=4674;POINT (-39.828027 -2.629159)'))) / (select extract(epoch from '2026-07-21 13:56:15'::timestamp) - extract(epoch from '2026-07-21 13:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828074 -2.629199)'), GeomFromEWKT('SRID=4674;POINT (-39.828027 -2.629159)'))) / (select extract(epoch from '2026-07-21 13:56:15'::timestamp) - extract(epoch from '2026-07-21 13:56: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.827956 -2.629079)', '2026-07-21 13:56:20', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828027 -2.629159)'), GeomFromEWKT('SRID=4674;POINT (-39.827956 -2.629079)'))) / (select extract(epoch from '2026-07-21 13:56:20'::timestamp) - extract(epoch from '2026-07-21 13:56:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828027 -2.629159)'), GeomFromEWKT('SRID=4674;POINT (-39.827956 -2.629079)'))) / (select extract(epoch from '2026-07-21 13:56:20'::timestamp) - extract(epoch from '2026-07-21 13:56:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.827894 -2.628997)', '2026-07-21 13:56:25', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827956 -2.629079)'), GeomFromEWKT('SRID=4674;POINT (-39.827894 -2.628997)'))) / (select extract(epoch from '2026-07-21 13:56:25'::timestamp) - extract(epoch from '2026-07-21 13:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827956 -2.629079)'), GeomFromEWKT('SRID=4674;POINT (-39.827894 -2.628997)'))) / (select extract(epoch from '2026-07-21 13:56:25'::timestamp) - extract(epoch from '2026-07-21 13:56: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.827863 -2.628932)', '2026-07-21 13:56:29', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827894 -2.628997)'), GeomFromEWKT('SRID=4674;POINT (-39.827863 -2.628932)'))) / (select extract(epoch from '2026-07-21 13:56:29'::timestamp) - extract(epoch from '2026-07-21 13:56:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827894 -2.628997)'), GeomFromEWKT('SRID=4674;POINT (-39.827863 -2.628932)'))) / (select extract(epoch from '2026-07-21 13:56:29'::timestamp) - extract(epoch from '2026-07-21 13:56: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.827835 -2.628883)', '2026-07-21 13:56:34', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827863 -2.628932)'), GeomFromEWKT('SRID=4674;POINT (-39.827835 -2.628883)'))) / (select extract(epoch from '2026-07-21 13:56:34'::timestamp) - extract(epoch from '2026-07-21 13:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827863 -2.628932)'), GeomFromEWKT('SRID=4674;POINT (-39.827835 -2.628883)'))) / (select extract(epoch from '2026-07-21 13:56:34'::timestamp) - extract(epoch from '2026-07-21 13:56:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.82783 -2.628874)', '2026-07-21 13:56:35', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827835 -2.628883)'), GeomFromEWKT('SRID=4674;POINT (-39.82783 -2.628874)'))) / (select extract(epoch from '2026-07-21 13:56:35'::timestamp) - extract(epoch from '2026-07-21 13:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827835 -2.628883)'), GeomFromEWKT('SRID=4674;POINT (-39.82783 -2.628874)'))) / (select extract(epoch from '2026-07-21 13:56:35'::timestamp) - extract(epoch from '2026-07-21 13:56: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.827815 -2.62885)', '2026-07-21 13:56:39', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82783 -2.628874)'), GeomFromEWKT('SRID=4674;POINT (-39.827815 -2.62885)'))) / (select extract(epoch from '2026-07-21 13:56:39'::timestamp) - extract(epoch from '2026-07-21 13:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82783 -2.628874)'), GeomFromEWKT('SRID=4674;POINT (-39.827815 -2.62885)'))) / (select extract(epoch from '2026-07-21 13:56:39'::timestamp) - extract(epoch from '2026-07-21 13:56: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.827801 -2.628798)', '2026-07-21 13:56:49', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827815 -2.62885)'), GeomFromEWKT('SRID=4674;POINT (-39.827801 -2.628798)'))) / (select extract(epoch from '2026-07-21 13:56:49'::timestamp) - extract(epoch from '2026-07-21 13:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827815 -2.62885)'), GeomFromEWKT('SRID=4674;POINT (-39.827801 -2.628798)'))) / (select extract(epoch from '2026-07-21 13:56:49'::timestamp) - extract(epoch from '2026-07-21 13:56:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.827815 -2.628771)', '2026-07-21 13:56:57', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827801 -2.628798)'), GeomFromEWKT('SRID=4674;POINT (-39.827815 -2.628771)'))) / (select extract(epoch from '2026-07-21 13:56:57'::timestamp) - extract(epoch from '2026-07-21 13:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827801 -2.628798)'), GeomFromEWKT('SRID=4674;POINT (-39.827815 -2.628771)'))) / (select extract(epoch from '2026-07-21 13:56:57'::timestamp) - extract(epoch from '2026-07-21 13:56:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.827834 -2.62873)', '2026-07-21 13:57:05', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827815 -2.628771)'), GeomFromEWKT('SRID=4674;POINT (-39.827834 -2.62873)'))) / (select extract(epoch from '2026-07-21 13:57:05'::timestamp) - extract(epoch from '2026-07-21 13:56:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827815 -2.628771)'), GeomFromEWKT('SRID=4674;POINT (-39.827834 -2.62873)'))) / (select extract(epoch from '2026-07-21 13:57:05'::timestamp) - extract(epoch from '2026-07-21 13:56:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.827852 -2.628703)', '2026-07-21 13:57:12', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827834 -2.62873)'), GeomFromEWKT('SRID=4674;POINT (-39.827852 -2.628703)'))) / (select extract(epoch from '2026-07-21 13:57:12'::timestamp) - extract(epoch from '2026-07-21 13:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827834 -2.62873)'), GeomFromEWKT('SRID=4674;POINT (-39.827852 -2.628703)'))) / (select extract(epoch from '2026-07-21 13:57:12'::timestamp) - extract(epoch from '2026-07-21 13:57: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.827879 -2.628688)', '2026-07-21 13:57:18', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827852 -2.628703)'), GeomFromEWKT('SRID=4674;POINT (-39.827879 -2.628688)'))) / (select extract(epoch from '2026-07-21 13:57:18'::timestamp) - extract(epoch from '2026-07-21 13:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827852 -2.628703)'), GeomFromEWKT('SRID=4674;POINT (-39.827879 -2.628688)'))) / (select extract(epoch from '2026-07-21 13:57:18'::timestamp) - extract(epoch from '2026-07-21 13:57: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.827917 -2.628656)', '2026-07-21 13:57:25', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827879 -2.628688)'), GeomFromEWKT('SRID=4674;POINT (-39.827917 -2.628656)'))) / (select extract(epoch from '2026-07-21 13:57:25'::timestamp) - extract(epoch from '2026-07-21 13:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827879 -2.628688)'), GeomFromEWKT('SRID=4674;POINT (-39.827917 -2.628656)'))) / (select extract(epoch from '2026-07-21 13:57:25'::timestamp) - extract(epoch from '2026-07-21 13:57:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.827957 -2.628618)', '2026-07-21 13:57:33', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827917 -2.628656)'), GeomFromEWKT('SRID=4674;POINT (-39.827957 -2.628618)'))) / (select extract(epoch from '2026-07-21 13:57:33'::timestamp) - extract(epoch from '2026-07-21 13:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827917 -2.628656)'), GeomFromEWKT('SRID=4674;POINT (-39.827957 -2.628618)'))) / (select extract(epoch from '2026-07-21 13:57:33'::timestamp) - extract(epoch from '2026-07-21 13:57:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.827991 -2.628585)', '2026-07-21 13:57:39', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827957 -2.628618)'), GeomFromEWKT('SRID=4674;POINT (-39.827991 -2.628585)'))) / (select extract(epoch from '2026-07-21 13:57:39'::timestamp) - extract(epoch from '2026-07-21 13:57:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827957 -2.628618)'), GeomFromEWKT('SRID=4674;POINT (-39.827991 -2.628585)'))) / (select extract(epoch from '2026-07-21 13:57:39'::timestamp) - extract(epoch from '2026-07-21 13:57: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.828004 -2.62857)', '2026-07-21 13:57:41', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827991 -2.628585)'), GeomFromEWKT('SRID=4674;POINT (-39.828004 -2.62857)'))) / (select extract(epoch from '2026-07-21 13:57:41'::timestamp) - extract(epoch from '2026-07-21 13:57:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827991 -2.628585)'), GeomFromEWKT('SRID=4674;POINT (-39.828004 -2.62857)'))) / (select extract(epoch from '2026-07-21 13:57:41'::timestamp) - extract(epoch from '2026-07-21 13:57: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.628551)', '2026-07-21 13:57:47', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828004 -2.62857)'), GeomFromEWKT('SRID=4674;POINT (-39.828041 -2.628551)'))) / (select extract(epoch from '2026-07-21 13:57:47'::timestamp) - extract(epoch from '2026-07-21 13:57:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828004 -2.62857)'), GeomFromEWKT('SRID=4674;POINT (-39.828041 -2.628551)'))) / (select extract(epoch from '2026-07-21 13:57:47'::timestamp) - extract(epoch from '2026-07-21 13:57:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.828064 -2.628522)', '2026-07-21 13:57:52', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828041 -2.628551)'), GeomFromEWKT('SRID=4674;POINT (-39.828064 -2.628522)'))) / (select extract(epoch from '2026-07-21 13:57:52'::timestamp) - extract(epoch from '2026-07-21 13:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828041 -2.628551)'), GeomFromEWKT('SRID=4674;POINT (-39.828064 -2.628522)'))) / (select extract(epoch from '2026-07-21 13:57:52'::timestamp) - extract(epoch from '2026-07-21 13:57: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.828071 -2.628518)', '2026-07-21 13:57:53', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828064 -2.628522)'), GeomFromEWKT('SRID=4674;POINT (-39.828071 -2.628518)'))) / (select extract(epoch from '2026-07-21 13:57:53'::timestamp) - extract(epoch from '2026-07-21 13:57:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828064 -2.628522)'), GeomFromEWKT('SRID=4674;POINT (-39.828071 -2.628518)'))) / (select extract(epoch from '2026-07-21 13:57:53'::timestamp) - extract(epoch from '2026-07-21 13:57: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.828082 -2.628492)', '2026-07-21 13:57:57', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828071 -2.628518)'), GeomFromEWKT('SRID=4674;POINT (-39.828082 -2.628492)'))) / (select extract(epoch from '2026-07-21 13:57:57'::timestamp) - extract(epoch from '2026-07-21 13:57:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828071 -2.628518)'), GeomFromEWKT('SRID=4674;POINT (-39.828082 -2.628492)'))) / (select extract(epoch from '2026-07-21 13:57:57'::timestamp) - extract(epoch from '2026-07-21 13:57: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.828109 -2.628445)', '2026-07-21 13:58:05', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828082 -2.628492)'), GeomFromEWKT('SRID=4674;POINT (-39.828109 -2.628445)'))) / (select extract(epoch from '2026-07-21 13:58:05'::timestamp) - extract(epoch from '2026-07-21 13:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828082 -2.628492)'), GeomFromEWKT('SRID=4674;POINT (-39.828109 -2.628445)'))) / (select extract(epoch from '2026-07-21 13:58:05'::timestamp) - extract(epoch from '2026-07-21 13:57: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.828115 -2.628428)', '2026-07-21 13:58:08', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828109 -2.628445)'), GeomFromEWKT('SRID=4674;POINT (-39.828115 -2.628428)'))) / (select extract(epoch from '2026-07-21 13:58:08'::timestamp) - extract(epoch from '2026-07-21 13:58:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828109 -2.628445)'), GeomFromEWKT('SRID=4674;POINT (-39.828115 -2.628428)'))) / (select extract(epoch from '2026-07-21 13:58:08'::timestamp) - extract(epoch from '2026-07-21 13:58: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.828102 -2.628419)', '2026-07-21 13:58:12', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828115 -2.628428)'), GeomFromEWKT('SRID=4674;POINT (-39.828102 -2.628419)'))) / (select extract(epoch from '2026-07-21 13:58:12'::timestamp) - extract(epoch from '2026-07-21 13:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828115 -2.628428)'), GeomFromEWKT('SRID=4674;POINT (-39.828102 -2.628419)'))) / (select extract(epoch from '2026-07-21 13:58:12'::timestamp) - extract(epoch from '2026-07-21 13:58: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.828061 -2.628429)', '2026-07-21 13:58:20', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828102 -2.628419)'), GeomFromEWKT('SRID=4674;POINT (-39.828061 -2.628429)'))) / (select extract(epoch from '2026-07-21 13:58:20'::timestamp) - extract(epoch from '2026-07-21 13:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828102 -2.628419)'), GeomFromEWKT('SRID=4674;POINT (-39.828061 -2.628429)'))) / (select extract(epoch from '2026-07-21 13:58:20'::timestamp) - extract(epoch from '2026-07-21 13:58:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.828056 -2.628433)', '2026-07-21 13:58:31', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828061 -2.628429)'), GeomFromEWKT('SRID=4674;POINT (-39.828056 -2.628433)'))) / (select extract(epoch from '2026-07-21 13:58:31'::timestamp) - extract(epoch from '2026-07-21 13:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828061 -2.628429)'), GeomFromEWKT('SRID=4674;POINT (-39.828056 -2.628433)'))) / (select extract(epoch from '2026-07-21 13:58:31'::timestamp) - extract(epoch from '2026-07-21 13:58: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.828035 -2.628439)', '2026-07-21 13:58:37', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828056 -2.628433)'), GeomFromEWKT('SRID=4674;POINT (-39.828035 -2.628439)'))) / (select extract(epoch from '2026-07-21 13:58:37'::timestamp) - extract(epoch from '2026-07-21 13:58:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828056 -2.628433)'), GeomFromEWKT('SRID=4674;POINT (-39.828035 -2.628439)'))) / (select extract(epoch from '2026-07-21 13:58:37'::timestamp) - extract(epoch from '2026-07-21 13:58:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.827997 -2.628434)', '2026-07-21 13:58:43', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828035 -2.628439)'), GeomFromEWKT('SRID=4674;POINT (-39.827997 -2.628434)'))) / (select extract(epoch from '2026-07-21 13:58:43'::timestamp) - extract(epoch from '2026-07-21 13:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828035 -2.628439)'), GeomFromEWKT('SRID=4674;POINT (-39.827997 -2.628434)'))) / (select extract(epoch from '2026-07-21 13:58:43'::timestamp) - extract(epoch from '2026-07-21 13:58: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.827981 -2.62842)', '2026-07-21 13:58:45', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827997 -2.628434)'), GeomFromEWKT('SRID=4674;POINT (-39.827981 -2.62842)'))) / (select extract(epoch from '2026-07-21 13:58:45'::timestamp) - extract(epoch from '2026-07-21 13:58:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827997 -2.628434)'), GeomFromEWKT('SRID=4674;POINT (-39.827981 -2.62842)'))) / (select extract(epoch from '2026-07-21 13:58:45'::timestamp) - extract(epoch from '2026-07-21 13:58: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.827969 -2.628412)', '2026-07-21 13:58:46', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827981 -2.62842)'), GeomFromEWKT('SRID=4674;POINT (-39.827969 -2.628412)'))) / (select extract(epoch from '2026-07-21 13:58:46'::timestamp) - extract(epoch from '2026-07-21 13:58:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827981 -2.62842)'), GeomFromEWKT('SRID=4674;POINT (-39.827969 -2.628412)'))) / (select extract(epoch from '2026-07-21 13:58:46'::timestamp) - extract(epoch from '2026-07-21 13:58: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.827932 -2.628376)', '2026-07-21 13:58:50', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827969 -2.628412)'), GeomFromEWKT('SRID=4674;POINT (-39.827932 -2.628376)'))) / (select extract(epoch from '2026-07-21 13:58:50'::timestamp) - extract(epoch from '2026-07-21 13:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827969 -2.628412)'), GeomFromEWKT('SRID=4674;POINT (-39.827932 -2.628376)'))) / (select extract(epoch from '2026-07-21 13:58:50'::timestamp) - extract(epoch from '2026-07-21 13:58: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.827919 -2.628367)', '2026-07-21 13:58:51', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827932 -2.628376)'), GeomFromEWKT('SRID=4674;POINT (-39.827919 -2.628367)'))) / (select extract(epoch from '2026-07-21 13:58:51'::timestamp) - extract(epoch from '2026-07-21 13:58:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827932 -2.628376)'), GeomFromEWKT('SRID=4674;POINT (-39.827919 -2.628367)'))) / (select extract(epoch from '2026-07-21 13:58:51'::timestamp) - extract(epoch from '2026-07-21 13:58: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.827894 -2.628362)', '2026-07-21 13:58:53', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827919 -2.628367)'), GeomFromEWKT('SRID=4674;POINT (-39.827894 -2.628362)'))) / (select extract(epoch from '2026-07-21 13:58:53'::timestamp) - extract(epoch from '2026-07-21 13:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827919 -2.628367)'), GeomFromEWKT('SRID=4674;POINT (-39.827894 -2.628362)'))) / (select extract(epoch from '2026-07-21 13:58:53'::timestamp) - extract(epoch from '2026-07-21 13:58: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.827881 -2.628363)', '2026-07-21 13:58:54', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827894 -2.628362)'), GeomFromEWKT('SRID=4674;POINT (-39.827881 -2.628363)'))) / (select extract(epoch from '2026-07-21 13:58:54'::timestamp) - extract(epoch from '2026-07-21 13:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827894 -2.628362)'), GeomFromEWKT('SRID=4674;POINT (-39.827881 -2.628363)'))) / (select extract(epoch from '2026-07-21 13:58:54'::timestamp) - extract(epoch from '2026-07-21 13:58:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.827794 -2.628351)', '2026-07-21 13:58:59', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827881 -2.628363)'), GeomFromEWKT('SRID=4674;POINT (-39.827794 -2.628351)'))) / (select extract(epoch from '2026-07-21 13:58:59'::timestamp) - extract(epoch from '2026-07-21 13:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827881 -2.628363)'), GeomFromEWKT('SRID=4674;POINT (-39.827794 -2.628351)'))) / (select extract(epoch from '2026-07-21 13:58:59'::timestamp) - extract(epoch from '2026-07-21 13:58: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.827715 -2.628351)', '2026-07-21 13:59:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827794 -2.628351)'), GeomFromEWKT('SRID=4674;POINT (-39.827715 -2.628351)'))) / (select extract(epoch from '2026-07-21 13:59:04'::timestamp) - extract(epoch from '2026-07-21 13:58:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827794 -2.628351)'), GeomFromEWKT('SRID=4674;POINT (-39.827715 -2.628351)'))) / (select extract(epoch from '2026-07-21 13:59:04'::timestamp) - extract(epoch from '2026-07-21 13:58:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.82767 -2.628352)', '2026-07-21 13:59:07', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827715 -2.628351)'), GeomFromEWKT('SRID=4674;POINT (-39.82767 -2.628352)'))) / (select extract(epoch from '2026-07-21 13:59:07'::timestamp) - extract(epoch from '2026-07-21 13:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827715 -2.628351)'), GeomFromEWKT('SRID=4674;POINT (-39.82767 -2.628352)'))) / (select extract(epoch from '2026-07-21 13:59:07'::timestamp) - extract(epoch from '2026-07-21 13:59:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.827633 -2.628343)', '2026-07-21 13:59:09', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82767 -2.628352)'), GeomFromEWKT('SRID=4674;POINT (-39.827633 -2.628343)'))) / (select extract(epoch from '2026-07-21 13:59:09'::timestamp) - extract(epoch from '2026-07-21 13:59:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82767 -2.628352)'), GeomFromEWKT('SRID=4674;POINT (-39.827633 -2.628343)'))) / (select extract(epoch from '2026-07-21 13:59:09'::timestamp) - extract(epoch from '2026-07-21 13:59:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.827541 -2.62833)', '2026-07-21 13:59:15', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827633 -2.628343)'), GeomFromEWKT('SRID=4674;POINT (-39.827541 -2.62833)'))) / (select extract(epoch from '2026-07-21 13:59:15'::timestamp) - extract(epoch from '2026-07-21 13:59:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827633 -2.628343)'), GeomFromEWKT('SRID=4674;POINT (-39.827541 -2.62833)'))) / (select extract(epoch from '2026-07-21 13:59:15'::timestamp) - extract(epoch from '2026-07-21 13:59:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.827476 -2.628303)', '2026-07-21 13:59:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827541 -2.62833)'), GeomFromEWKT('SRID=4674;POINT (-39.827476 -2.628303)'))) / (select extract(epoch from '2026-07-21 13:59:20'::timestamp) - extract(epoch from '2026-07-21 13:59:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827541 -2.62833)'), GeomFromEWKT('SRID=4674;POINT (-39.827476 -2.628303)'))) / (select extract(epoch from '2026-07-21 13:59:20'::timestamp) - extract(epoch from '2026-07-21 13:59: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.827466 -2.628289)', '2026-07-21 13:59:21', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827476 -2.628303)'), GeomFromEWKT('SRID=4674;POINT (-39.827466 -2.628289)'))) / (select extract(epoch from '2026-07-21 13:59:21'::timestamp) - extract(epoch from '2026-07-21 13:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827476 -2.628303)'), GeomFromEWKT('SRID=4674;POINT (-39.827466 -2.628289)'))) / (select extract(epoch from '2026-07-21 13:59:21'::timestamp) - extract(epoch from '2026-07-21 13:59: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.827423 -2.628225)', '2026-07-21 13:59:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827466 -2.628289)'), GeomFromEWKT('SRID=4674;POINT (-39.827423 -2.628225)'))) / (select extract(epoch from '2026-07-21 13:59:26'::timestamp) - extract(epoch from '2026-07-21 13:59:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827466 -2.628289)'), GeomFromEWKT('SRID=4674;POINT (-39.827423 -2.628225)'))) / (select extract(epoch from '2026-07-21 13:59:26'::timestamp) - extract(epoch from '2026-07-21 13:59: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.827417 -2.628209)', '2026-07-21 13:59:27', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827423 -2.628225)'), GeomFromEWKT('SRID=4674;POINT (-39.827417 -2.628209)'))) / (select extract(epoch from '2026-07-21 13:59:27'::timestamp) - extract(epoch from '2026-07-21 13:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827423 -2.628225)'), GeomFromEWKT('SRID=4674;POINT (-39.827417 -2.628209)'))) / (select extract(epoch from '2026-07-21 13:59:27'::timestamp) - extract(epoch from '2026-07-21 13:59:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.827402 -2.628194)', '2026-07-21 13:59:28', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827417 -2.628209)'), GeomFromEWKT('SRID=4674;POINT (-39.827402 -2.628194)'))) / (select extract(epoch from '2026-07-21 13:59:28'::timestamp) - extract(epoch from '2026-07-21 13:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827417 -2.628209)'), GeomFromEWKT('SRID=4674;POINT (-39.827402 -2.628194)'))) / (select extract(epoch from '2026-07-21 13:59:28'::timestamp) - extract(epoch from '2026-07-21 13:59: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.827367 -2.628151)', '2026-07-21 13:59:31', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827402 -2.628194)'), GeomFromEWKT('SRID=4674;POINT (-39.827367 -2.628151)'))) / (select extract(epoch from '2026-07-21 13:59:31'::timestamp) - extract(epoch from '2026-07-21 13:59:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827402 -2.628194)'), GeomFromEWKT('SRID=4674;POINT (-39.827367 -2.628151)'))) / (select extract(epoch from '2026-07-21 13:59:31'::timestamp) - extract(epoch from '2026-07-21 13:59: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.827303 -2.628077)', '2026-07-21 13:59:36', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827367 -2.628151)'), GeomFromEWKT('SRID=4674;POINT (-39.827303 -2.628077)'))) / (select extract(epoch from '2026-07-21 13:59:36'::timestamp) - extract(epoch from '2026-07-21 13:59:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827367 -2.628151)'), GeomFromEWKT('SRID=4674;POINT (-39.827303 -2.628077)'))) / (select extract(epoch from '2026-07-21 13:59:36'::timestamp) - extract(epoch from '2026-07-21 13:59: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.827197 -2.628015)', '2026-07-21 13:59:42', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827303 -2.628077)'), GeomFromEWKT('SRID=4674;POINT (-39.827197 -2.628015)'))) / (select extract(epoch from '2026-07-21 13:59:42'::timestamp) - extract(epoch from '2026-07-21 13:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827303 -2.628077)'), GeomFromEWKT('SRID=4674;POINT (-39.827197 -2.628015)'))) / (select extract(epoch from '2026-07-21 13:59:42'::timestamp) - extract(epoch from '2026-07-21 13:59: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.827128 -2.627993)', '2026-07-21 13:59:47', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827197 -2.628015)'), GeomFromEWKT('SRID=4674;POINT (-39.827128 -2.627993)'))) / (select extract(epoch from '2026-07-21 13:59:47'::timestamp) - extract(epoch from '2026-07-21 13:59:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827197 -2.628015)'), GeomFromEWKT('SRID=4674;POINT (-39.827128 -2.627993)'))) / (select extract(epoch from '2026-07-21 13:59:47'::timestamp) - extract(epoch from '2026-07-21 13:59:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.827108 -2.627972)', '2026-07-21 13:59:52', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827128 -2.627993)'), GeomFromEWKT('SRID=4674;POINT (-39.827108 -2.627972)'))) / (select extract(epoch from '2026-07-21 13:59:52'::timestamp) - extract(epoch from '2026-07-21 13:59:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827128 -2.627993)'), GeomFromEWKT('SRID=4674;POINT (-39.827108 -2.627972)'))) / (select extract(epoch from '2026-07-21 13:59:52'::timestamp) - extract(epoch from '2026-07-21 13:59:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.827104 -2.627964)', '2026-07-21 13:59:53', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827108 -2.627972)'), GeomFromEWKT('SRID=4674;POINT (-39.827104 -2.627964)'))) / (select extract(epoch from '2026-07-21 13:59:53'::timestamp) - extract(epoch from '2026-07-21 13:59:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827108 -2.627972)'), GeomFromEWKT('SRID=4674;POINT (-39.827104 -2.627964)'))) / (select extract(epoch from '2026-07-21 13:59:53'::timestamp) - extract(epoch from '2026-07-21 13:59: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.827094 -2.627935)', '2026-07-21 13:59:57', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827104 -2.627964)'), GeomFromEWKT('SRID=4674;POINT (-39.827094 -2.627935)'))) / (select extract(epoch from '2026-07-21 13:59:57'::timestamp) - extract(epoch from '2026-07-21 13:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827104 -2.627964)'), GeomFromEWKT('SRID=4674;POINT (-39.827094 -2.627935)'))) / (select extract(epoch from '2026-07-21 13:59:57'::timestamp) - extract(epoch from '2026-07-21 13:59: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.8271 -2.627877)', '2026-07-21 14:00:05', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827094 -2.627935)'), GeomFromEWKT('SRID=4674;POINT (-39.8271 -2.627877)'))) / (select extract(epoch from '2026-07-21 14:00:05'::timestamp) - extract(epoch from '2026-07-21 13:59:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827094 -2.627935)'), GeomFromEWKT('SRID=4674;POINT (-39.8271 -2.627877)'))) / (select extract(epoch from '2026-07-21 14:00:05'::timestamp) - extract(epoch from '2026-07-21 13:59:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.827117 -2.627837)', '2026-07-21 14:00:13', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8271 -2.627877)'), GeomFromEWKT('SRID=4674;POINT (-39.827117 -2.627837)'))) / (select extract(epoch from '2026-07-21 14:00:13'::timestamp) - extract(epoch from '2026-07-21 14:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8271 -2.627877)'), GeomFromEWKT('SRID=4674;POINT (-39.827117 -2.627837)'))) / (select extract(epoch from '2026-07-21 14:00:13'::timestamp) - extract(epoch from '2026-07-21 14:00: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.827148 -2.627807)', '2026-07-21 14:00:19', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827117 -2.627837)'), GeomFromEWKT('SRID=4674;POINT (-39.827148 -2.627807)'))) / (select extract(epoch from '2026-07-21 14:00:19'::timestamp) - extract(epoch from '2026-07-21 14:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827117 -2.627837)'), GeomFromEWKT('SRID=4674;POINT (-39.827148 -2.627807)'))) / (select extract(epoch from '2026-07-21 14:00:19'::timestamp) - extract(epoch from '2026-07-21 14:00: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.827153 -2.627803)', '2026-07-21 14:00:20', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827148 -2.627807)'), GeomFromEWKT('SRID=4674;POINT (-39.827153 -2.627803)'))) / (select extract(epoch from '2026-07-21 14:00:20'::timestamp) - extract(epoch from '2026-07-21 14:00:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827148 -2.627807)'), GeomFromEWKT('SRID=4674;POINT (-39.827153 -2.627803)'))) / (select extract(epoch from '2026-07-21 14:00:20'::timestamp) - extract(epoch from '2026-07-21 14:00: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.827188 -2.627767)', '2026-07-21 14:00:26', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827153 -2.627803)'), GeomFromEWKT('SRID=4674;POINT (-39.827188 -2.627767)'))) / (select extract(epoch from '2026-07-21 14:00:26'::timestamp) - extract(epoch from '2026-07-21 14:00:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827153 -2.627803)'), GeomFromEWKT('SRID=4674;POINT (-39.827188 -2.627767)'))) / (select extract(epoch from '2026-07-21 14:00:26'::timestamp) - extract(epoch from '2026-07-21 14:00: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.827228 -2.627724)', '2026-07-21 14:00:34', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827188 -2.627767)'), GeomFromEWKT('SRID=4674;POINT (-39.827228 -2.627724)'))) / (select extract(epoch from '2026-07-21 14:00:34'::timestamp) - extract(epoch from '2026-07-21 14:00:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827188 -2.627767)'), GeomFromEWKT('SRID=4674;POINT (-39.827228 -2.627724)'))) / (select extract(epoch from '2026-07-21 14:00:34'::timestamp) - extract(epoch from '2026-07-21 14:00: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.827279 -2.62768)', '2026-07-21 14:00:42', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827228 -2.627724)'), GeomFromEWKT('SRID=4674;POINT (-39.827279 -2.62768)'))) / (select extract(epoch from '2026-07-21 14:00:42'::timestamp) - extract(epoch from '2026-07-21 14:00:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827228 -2.627724)'), GeomFromEWKT('SRID=4674;POINT (-39.827279 -2.62768)'))) / (select extract(epoch from '2026-07-21 14:00:42'::timestamp) - extract(epoch from '2026-07-21 14:00: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.827282 -2.627675)', '2026-07-21 14:00:43', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827279 -2.62768)'), GeomFromEWKT('SRID=4674;POINT (-39.827282 -2.627675)'))) / (select extract(epoch from '2026-07-21 14:00:43'::timestamp) - extract(epoch from '2026-07-21 14:00:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827279 -2.62768)'), GeomFromEWKT('SRID=4674;POINT (-39.827282 -2.627675)'))) / (select extract(epoch from '2026-07-21 14:00:43'::timestamp) - extract(epoch from '2026-07-21 14:00:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.827291 -2.627641)', '2026-07-21 14:00:51', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827282 -2.627675)'), GeomFromEWKT('SRID=4674;POINT (-39.827291 -2.627641)'))) / (select extract(epoch from '2026-07-21 14:00:51'::timestamp) - extract(epoch from '2026-07-21 14:00:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827282 -2.627675)'), GeomFromEWKT('SRID=4674;POINT (-39.827291 -2.627641)'))) / (select extract(epoch from '2026-07-21 14:00:51'::timestamp) - extract(epoch from '2026-07-21 14:00: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.827292 -2.627619)', '2026-07-21 14:00:56', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827291 -2.627641)'), GeomFromEWKT('SRID=4674;POINT (-39.827292 -2.627619)'))) / (select extract(epoch from '2026-07-21 14:00:56'::timestamp) - extract(epoch from '2026-07-21 14:00:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827291 -2.627641)'), GeomFromEWKT('SRID=4674;POINT (-39.827292 -2.627619)'))) / (select extract(epoch from '2026-07-21 14:00:56'::timestamp) - extract(epoch from '2026-07-21 14:00:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.827296 -2.627595)', '2026-07-21 14:01:02', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827292 -2.627619)'), GeomFromEWKT('SRID=4674;POINT (-39.827296 -2.627595)'))) / (select extract(epoch from '2026-07-21 14:01:02'::timestamp) - extract(epoch from '2026-07-21 14:00:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827292 -2.627619)'), GeomFromEWKT('SRID=4674;POINT (-39.827296 -2.627595)'))) / (select extract(epoch from '2026-07-21 14:01:02'::timestamp) - extract(epoch from '2026-07-21 14:00: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.827278 -2.627551)', '2026-07-21 14:01:17', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827296 -2.627595)'), GeomFromEWKT('SRID=4674;POINT (-39.827278 -2.627551)'))) / (select extract(epoch from '2026-07-21 14:01:17'::timestamp) - extract(epoch from '2026-07-21 14:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827296 -2.627595)'), GeomFromEWKT('SRID=4674;POINT (-39.827278 -2.627551)'))) / (select extract(epoch from '2026-07-21 14:01:17'::timestamp) - extract(epoch from '2026-07-21 14:01: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.827281 -2.627535)', '2026-07-21 14:01:21', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827278 -2.627551)'), GeomFromEWKT('SRID=4674;POINT (-39.827281 -2.627535)'))) / (select extract(epoch from '2026-07-21 14:01:21'::timestamp) - extract(epoch from '2026-07-21 14:01:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827278 -2.627551)'), GeomFromEWKT('SRID=4674;POINT (-39.827281 -2.627535)'))) / (select extract(epoch from '2026-07-21 14:01:21'::timestamp) - extract(epoch from '2026-07-21 14:01: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.827287 -2.627503)', '2026-07-21 14:01:28', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827281 -2.627535)'), GeomFromEWKT('SRID=4674;POINT (-39.827287 -2.627503)'))) / (select extract(epoch from '2026-07-21 14:01:28'::timestamp) - extract(epoch from '2026-07-21 14:01:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827281 -2.627535)'), GeomFromEWKT('SRID=4674;POINT (-39.827287 -2.627503)'))) / (select extract(epoch from '2026-07-21 14:01:28'::timestamp) - extract(epoch from '2026-07-21 14:01: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.827303 -2.627468)', '2026-07-21 14:01:34', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827287 -2.627503)'), GeomFromEWKT('SRID=4674;POINT (-39.827303 -2.627468)'))) / (select extract(epoch from '2026-07-21 14:01:34'::timestamp) - extract(epoch from '2026-07-21 14:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.827287 -2.627503)'), GeomFromEWKT('SRID=4674;POINT (-39.827303 -2.627468)'))) / (select extract(epoch from '2026-07-21 14:01:34'::timestamp) - extract(epoch from '2026-07-21 14:01:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
