 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685461 -3.505843)', '2026-08-06 16:31:56', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685454 -3.505834)'), GeomFromEWKT('SRID=4674;POINT (-38.685461 -3.505843)'))) / (select extract(epoch from '2026-08-06 16:31:56'::timestamp) - extract(epoch from '2026-08-06 16:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685454 -3.505834)'), GeomFromEWKT('SRID=4674;POINT (-38.685461 -3.505843)'))) / (select extract(epoch from '2026-08-06 16:31:56'::timestamp) - extract(epoch from '2026-08-06 16:31: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'), 48121, 'SRID=4674;POINT (-38.685462 -3.505843)', '2026-08-06 16:31:56', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685461 -3.505843)'), GeomFromEWKT('SRID=4674;POINT (-38.685462 -3.505843)'))) / (select extract(epoch from '2026-08-06 16:31:56'::timestamp) - extract(epoch from '2026-08-06 16:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685461 -3.505843)'), GeomFromEWKT('SRID=4674;POINT (-38.685462 -3.505843)'))) / (select extract(epoch from '2026-08-06 16:31:56'::timestamp) - extract(epoch from '2026-08-06 16:31: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'), 48121, 'SRID=4674;POINT (-38.685466 -3.505837)', '2026-08-06 16:31:56', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685462 -3.505843)'), GeomFromEWKT('SRID=4674;POINT (-38.685466 -3.505837)'))) / (select extract(epoch from '2026-08-06 16:31:56'::timestamp) - extract(epoch from '2026-08-06 16:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685462 -3.505843)'), GeomFromEWKT('SRID=4674;POINT (-38.685466 -3.505837)'))) / (select extract(epoch from '2026-08-06 16:31:56'::timestamp) - extract(epoch from '2026-08-06 16:31: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'), 48121, 'SRID=4674;POINT (-38.685462 -3.505837)', '2026-08-06 16:31:56', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685466 -3.505837)'), GeomFromEWKT('SRID=4674;POINT (-38.685462 -3.505837)'))) / (select extract(epoch from '2026-08-06 16:31:56'::timestamp) - extract(epoch from '2026-08-06 16:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685466 -3.505837)'), GeomFromEWKT('SRID=4674;POINT (-38.685462 -3.505837)'))) / (select extract(epoch from '2026-08-06 16:31:56'::timestamp) - extract(epoch from '2026-08-06 16:31: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'), 48121, 'SRID=4674;POINT (-38.685459 -3.505837)', '2026-08-06 16:31:56', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685462 -3.505837)'), GeomFromEWKT('SRID=4674;POINT (-38.685459 -3.505837)'))) / (select extract(epoch from '2026-08-06 16:31:56'::timestamp) - extract(epoch from '2026-08-06 16:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685462 -3.505837)'), GeomFromEWKT('SRID=4674;POINT (-38.685459 -3.505837)'))) / (select extract(epoch from '2026-08-06 16:31:56'::timestamp) - extract(epoch from '2026-08-06 16:31: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'), 48121, 'SRID=4674;POINT (-38.685463 -3.505843)', '2026-08-06 16:31:56', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685459 -3.505837)'), GeomFromEWKT('SRID=4674;POINT (-38.685463 -3.505843)'))) / (select extract(epoch from '2026-08-06 16:31:56'::timestamp) - extract(epoch from '2026-08-06 16:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685459 -3.505837)'), GeomFromEWKT('SRID=4674;POINT (-38.685463 -3.505843)'))) / (select extract(epoch from '2026-08-06 16:31:56'::timestamp) - extract(epoch from '2026-08-06 16:31: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'), 48121, 'SRID=4674;POINT (-38.68547 -3.505845)', '2026-08-06 16:31:56', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685463 -3.505843)'), GeomFromEWKT('SRID=4674;POINT (-38.68547 -3.505845)'))) / (select extract(epoch from '2026-08-06 16:31:56'::timestamp) - extract(epoch from '2026-08-06 16:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685463 -3.505843)'), GeomFromEWKT('SRID=4674;POINT (-38.68547 -3.505845)'))) / (select extract(epoch from '2026-08-06 16:31:56'::timestamp) - extract(epoch from '2026-08-06 16:31: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'), 48121, 'SRID=4674;POINT (-38.685476 -3.505847)', '2026-08-06 16:31:56', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68547 -3.505845)'), GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505847)'))) / (select extract(epoch from '2026-08-06 16:31:56'::timestamp) - extract(epoch from '2026-08-06 16:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68547 -3.505845)'), GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505847)'))) / (select extract(epoch from '2026-08-06 16:31:56'::timestamp) - extract(epoch from '2026-08-06 16:31: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'), 48121, 'SRID=4674;POINT (-38.685474 -3.505846)', '2026-08-06 16:31:56', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505847)'), GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505846)'))) / (select extract(epoch from '2026-08-06 16:31:56'::timestamp) - extract(epoch from '2026-08-06 16:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505847)'), GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505846)'))) / (select extract(epoch from '2026-08-06 16:31:56'::timestamp) - extract(epoch from '2026-08-06 16:31: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'), 48121, 'SRID=4674;POINT (-38.685473 -3.505849)', '2026-08-06 16:31:56', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505846)'), GeomFromEWKT('SRID=4674;POINT (-38.685473 -3.505849)'))) / (select extract(epoch from '2026-08-06 16:31:56'::timestamp) - extract(epoch from '2026-08-06 16:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505846)'), GeomFromEWKT('SRID=4674;POINT (-38.685473 -3.505849)'))) / (select extract(epoch from '2026-08-06 16:31:56'::timestamp) - extract(epoch from '2026-08-06 16:31: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'), 48121, 'SRID=4674;POINT (-38.685475 -3.505849)', '2026-08-06 16:31:56', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685473 -3.505849)'), GeomFromEWKT('SRID=4674;POINT (-38.685475 -3.505849)'))) / (select extract(epoch from '2026-08-06 16:31:56'::timestamp) - extract(epoch from '2026-08-06 16:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685473 -3.505849)'), GeomFromEWKT('SRID=4674;POINT (-38.685475 -3.505849)'))) / (select extract(epoch from '2026-08-06 16:31:56'::timestamp) - extract(epoch from '2026-08-06 16:31: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'), 48121, 'SRID=4674;POINT (-38.685476 -3.505851)', '2026-08-06 16:31:56', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685475 -3.505849)'), GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505851)'))) / (select extract(epoch from '2026-08-06 16:31:56'::timestamp) - extract(epoch from '2026-08-06 16:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685475 -3.505849)'), GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505851)'))) / (select extract(epoch from '2026-08-06 16:31:56'::timestamp) - extract(epoch from '2026-08-06 16:31: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'), 48121, 'SRID=4674;POINT (-38.685479 -3.505859)', '2026-08-06 16:31:57', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505851)'), GeomFromEWKT('SRID=4674;POINT (-38.685479 -3.505859)'))) / (select extract(epoch from '2026-08-06 16:31:57'::timestamp) - extract(epoch from '2026-08-06 16:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505851)'), GeomFromEWKT('SRID=4674;POINT (-38.685479 -3.505859)'))) / (select extract(epoch from '2026-08-06 16:31:57'::timestamp) - extract(epoch from '2026-08-06 16:31: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'), 48121, 'SRID=4674;POINT (-38.685482 -3.505861)', '2026-08-06 16:31:57', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685479 -3.505859)'), GeomFromEWKT('SRID=4674;POINT (-38.685482 -3.505861)'))) / (select extract(epoch from '2026-08-06 16:31:57'::timestamp) - extract(epoch from '2026-08-06 16:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685479 -3.505859)'), GeomFromEWKT('SRID=4674;POINT (-38.685482 -3.505861)'))) / (select extract(epoch from '2026-08-06 16:31:57'::timestamp) - extract(epoch from '2026-08-06 16:31:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685477 -3.505857)', '2026-08-06 16:31:57', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685482 -3.505861)'), GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505857)'))) / (select extract(epoch from '2026-08-06 16:31:57'::timestamp) - extract(epoch from '2026-08-06 16:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685482 -3.505861)'), GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505857)'))) / (select extract(epoch from '2026-08-06 16:31:57'::timestamp) - extract(epoch from '2026-08-06 16:31:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685477 -3.505854)', '2026-08-06 16:31:57', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505857)'), GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505854)'))) / (select extract(epoch from '2026-08-06 16:31:57'::timestamp) - extract(epoch from '2026-08-06 16:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505857)'), GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505854)'))) / (select extract(epoch from '2026-08-06 16:31:57'::timestamp) - extract(epoch from '2026-08-06 16:31:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685477 -3.505859)', '2026-08-06 16:31:57', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505854)'), GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505859)'))) / (select extract(epoch from '2026-08-06 16:31:57'::timestamp) - extract(epoch from '2026-08-06 16:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505854)'), GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505859)'))) / (select extract(epoch from '2026-08-06 16:31:57'::timestamp) - extract(epoch from '2026-08-06 16:31:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685474 -3.505858)', '2026-08-06 16:31:57', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505859)'), GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505858)'))) / (select extract(epoch from '2026-08-06 16:31:57'::timestamp) - extract(epoch from '2026-08-06 16:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505859)'), GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505858)'))) / (select extract(epoch from '2026-08-06 16:31:57'::timestamp) - extract(epoch from '2026-08-06 16:31:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685473 -3.505853)', '2026-08-06 16:31:57', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505858)'), GeomFromEWKT('SRID=4674;POINT (-38.685473 -3.505853)'))) / (select extract(epoch from '2026-08-06 16:31:57'::timestamp) - extract(epoch from '2026-08-06 16:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505858)'), GeomFromEWKT('SRID=4674;POINT (-38.685473 -3.505853)'))) / (select extract(epoch from '2026-08-06 16:31:57'::timestamp) - extract(epoch from '2026-08-06 16:31:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685469 -3.505853)', '2026-08-06 16:31:57', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685473 -3.505853)'), GeomFromEWKT('SRID=4674;POINT (-38.685469 -3.505853)'))) / (select extract(epoch from '2026-08-06 16:31:57'::timestamp) - extract(epoch from '2026-08-06 16:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685473 -3.505853)'), GeomFromEWKT('SRID=4674;POINT (-38.685469 -3.505853)'))) / (select extract(epoch from '2026-08-06 16:31:57'::timestamp) - extract(epoch from '2026-08-06 16:31:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685479 -3.505864)', '2026-08-06 16:31:57', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685469 -3.505853)'), GeomFromEWKT('SRID=4674;POINT (-38.685479 -3.505864)'))) / (select extract(epoch from '2026-08-06 16:31:57'::timestamp) - extract(epoch from '2026-08-06 16:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685469 -3.505853)'), GeomFromEWKT('SRID=4674;POINT (-38.685479 -3.505864)'))) / (select extract(epoch from '2026-08-06 16:31:57'::timestamp) - extract(epoch from '2026-08-06 16:31:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685471 -3.505869)', '2026-08-06 16:31:57', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685479 -3.505864)'), GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.505869)'))) / (select extract(epoch from '2026-08-06 16:31:57'::timestamp) - extract(epoch from '2026-08-06 16:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685479 -3.505864)'), GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.505869)'))) / (select extract(epoch from '2026-08-06 16:31:57'::timestamp) - extract(epoch from '2026-08-06 16:31:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685468 -3.505861)', '2026-08-06 16:31:57', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.505869)'), GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505861)'))) / (select extract(epoch from '2026-08-06 16:31:57'::timestamp) - extract(epoch from '2026-08-06 16:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.505869)'), GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505861)'))) / (select extract(epoch from '2026-08-06 16:31:57'::timestamp) - extract(epoch from '2026-08-06 16:31:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685471 -3.505862)', '2026-08-06 16:31:57', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505861)'), GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.505862)'))) / (select extract(epoch from '2026-08-06 16:31:57'::timestamp) - extract(epoch from '2026-08-06 16:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505861)'), GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.505862)'))) / (select extract(epoch from '2026-08-06 16:31:57'::timestamp) - extract(epoch from '2026-08-06 16:31:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685475 -3.505865)', '2026-08-06 16:31:57', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.505862)'), GeomFromEWKT('SRID=4674;POINT (-38.685475 -3.505865)'))) / (select extract(epoch from '2026-08-06 16:31:57'::timestamp) - extract(epoch from '2026-08-06 16:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.505862)'), GeomFromEWKT('SRID=4674;POINT (-38.685475 -3.505865)'))) / (select extract(epoch from '2026-08-06 16:31:57'::timestamp) - extract(epoch from '2026-08-06 16:31:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685477 -3.505864)', '2026-08-06 16:31:57', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685475 -3.505865)'), GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505864)'))) / (select extract(epoch from '2026-08-06 16:31:57'::timestamp) - extract(epoch from '2026-08-06 16:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685475 -3.505865)'), GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505864)'))) / (select extract(epoch from '2026-08-06 16:31:57'::timestamp) - extract(epoch from '2026-08-06 16:31:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685476 -3.505862)', '2026-08-06 16:31:57', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505864)'), GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505862)'))) / (select extract(epoch from '2026-08-06 16:31:57'::timestamp) - extract(epoch from '2026-08-06 16:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505864)'), GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505862)'))) / (select extract(epoch from '2026-08-06 16:31:57'::timestamp) - extract(epoch from '2026-08-06 16:31:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685474 -3.505863)', '2026-08-06 16:31:57', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505862)'), GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505863)'))) / (select extract(epoch from '2026-08-06 16:31:57'::timestamp) - extract(epoch from '2026-08-06 16:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505862)'), GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505863)'))) / (select extract(epoch from '2026-08-06 16:31:57'::timestamp) - extract(epoch from '2026-08-06 16:31:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685469 -3.505861)', '2026-08-06 16:31:58', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505863)'), GeomFromEWKT('SRID=4674;POINT (-38.685469 -3.505861)'))) / (select extract(epoch from '2026-08-06 16:31:58'::timestamp) - extract(epoch from '2026-08-06 16:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505863)'), GeomFromEWKT('SRID=4674;POINT (-38.685469 -3.505861)'))) / (select extract(epoch from '2026-08-06 16:31:58'::timestamp) - extract(epoch from '2026-08-06 16:31:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68547 -3.505867)', '2026-08-06 16:31:58', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685469 -3.505861)'), GeomFromEWKT('SRID=4674;POINT (-38.68547 -3.505867)'))) / (select extract(epoch from '2026-08-06 16:31:58'::timestamp) - extract(epoch from '2026-08-06 16:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685469 -3.505861)'), GeomFromEWKT('SRID=4674;POINT (-38.68547 -3.505867)'))) / (select extract(epoch from '2026-08-06 16:31:58'::timestamp) - extract(epoch from '2026-08-06 16:31:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685467 -3.505865)', '2026-08-06 16:31:58', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68547 -3.505867)'), GeomFromEWKT('SRID=4674;POINT (-38.685467 -3.505865)'))) / (select extract(epoch from '2026-08-06 16:31:58'::timestamp) - extract(epoch from '2026-08-06 16:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68547 -3.505867)'), GeomFromEWKT('SRID=4674;POINT (-38.685467 -3.505865)'))) / (select extract(epoch from '2026-08-06 16:31:58'::timestamp) - extract(epoch from '2026-08-06 16:31:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685469 -3.505865)', '2026-08-06 16:31:58', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685467 -3.505865)'), GeomFromEWKT('SRID=4674;POINT (-38.685469 -3.505865)'))) / (select extract(epoch from '2026-08-06 16:31:58'::timestamp) - extract(epoch from '2026-08-06 16:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685467 -3.505865)'), GeomFromEWKT('SRID=4674;POINT (-38.685469 -3.505865)'))) / (select extract(epoch from '2026-08-06 16:31:58'::timestamp) - extract(epoch from '2026-08-06 16:31:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685471 -3.505867)', '2026-08-06 16:31:58', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685469 -3.505865)'), GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.505867)'))) / (select extract(epoch from '2026-08-06 16:31:58'::timestamp) - extract(epoch from '2026-08-06 16:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685469 -3.505865)'), GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.505867)'))) / (select extract(epoch from '2026-08-06 16:31:58'::timestamp) - extract(epoch from '2026-08-06 16:31:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685477 -3.505865)', '2026-08-06 16:31:58', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.505867)'), GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505865)'))) / (select extract(epoch from '2026-08-06 16:31:58'::timestamp) - extract(epoch from '2026-08-06 16:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.505867)'), GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505865)'))) / (select extract(epoch from '2026-08-06 16:31:58'::timestamp) - extract(epoch from '2026-08-06 16:31:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685478 -3.505865)', '2026-08-06 16:31:58', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505865)'), GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505865)'))) / (select extract(epoch from '2026-08-06 16:31:58'::timestamp) - extract(epoch from '2026-08-06 16:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505865)'), GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505865)'))) / (select extract(epoch from '2026-08-06 16:31:58'::timestamp) - extract(epoch from '2026-08-06 16:31:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68548 -3.505864)', '2026-08-06 16:31:58', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505865)'), GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505864)'))) / (select extract(epoch from '2026-08-06 16:31:58'::timestamp) - extract(epoch from '2026-08-06 16:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505865)'), GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505864)'))) / (select extract(epoch from '2026-08-06 16:31:58'::timestamp) - extract(epoch from '2026-08-06 16:31:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685476 -3.505865)', '2026-08-06 16:31:58', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505864)'), GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505865)'))) / (select extract(epoch from '2026-08-06 16:31:58'::timestamp) - extract(epoch from '2026-08-06 16:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505864)'), GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505865)'))) / (select extract(epoch from '2026-08-06 16:31:58'::timestamp) - extract(epoch from '2026-08-06 16:31:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685475 -3.505862)', '2026-08-06 16:31:58', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505865)'), GeomFromEWKT('SRID=4674;POINT (-38.685475 -3.505862)'))) / (select extract(epoch from '2026-08-06 16:31:58'::timestamp) - extract(epoch from '2026-08-06 16:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505865)'), GeomFromEWKT('SRID=4674;POINT (-38.685475 -3.505862)'))) / (select extract(epoch from '2026-08-06 16:31:58'::timestamp) - extract(epoch from '2026-08-06 16:31:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685467 -3.50586)', '2026-08-06 16:31:58', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685475 -3.505862)'), GeomFromEWKT('SRID=4674;POINT (-38.685467 -3.50586)'))) / (select extract(epoch from '2026-08-06 16:31:58'::timestamp) - extract(epoch from '2026-08-06 16:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685475 -3.505862)'), GeomFromEWKT('SRID=4674;POINT (-38.685467 -3.50586)'))) / (select extract(epoch from '2026-08-06 16:31:58'::timestamp) - extract(epoch from '2026-08-06 16:31:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685473 -3.50586)', '2026-08-06 16:31:58', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685467 -3.50586)'), GeomFromEWKT('SRID=4674;POINT (-38.685473 -3.50586)'))) / (select extract(epoch from '2026-08-06 16:31:58'::timestamp) - extract(epoch from '2026-08-06 16:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685467 -3.50586)'), GeomFromEWKT('SRID=4674;POINT (-38.685473 -3.50586)'))) / (select extract(epoch from '2026-08-06 16:31:58'::timestamp) - extract(epoch from '2026-08-06 16:31:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685472 -3.505864)', '2026-08-06 16:31:58', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685473 -3.50586)'), GeomFromEWKT('SRID=4674;POINT (-38.685472 -3.505864)'))) / (select extract(epoch from '2026-08-06 16:31:58'::timestamp) - extract(epoch from '2026-08-06 16:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685473 -3.50586)'), GeomFromEWKT('SRID=4674;POINT (-38.685472 -3.505864)'))) / (select extract(epoch from '2026-08-06 16:31:58'::timestamp) - extract(epoch from '2026-08-06 16:31:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685471 -3.505862)', '2026-08-06 16:31:58', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685472 -3.505864)'), GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.505862)'))) / (select extract(epoch from '2026-08-06 16:31:58'::timestamp) - extract(epoch from '2026-08-06 16:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685472 -3.505864)'), GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.505862)'))) / (select extract(epoch from '2026-08-06 16:31:58'::timestamp) - extract(epoch from '2026-08-06 16:31:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685478 -3.505864)', '2026-08-06 16:31:58', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.505862)'), GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505864)'))) / (select extract(epoch from '2026-08-06 16:31:58'::timestamp) - extract(epoch from '2026-08-06 16:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.505862)'), GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505864)'))) / (select extract(epoch from '2026-08-06 16:31:58'::timestamp) - extract(epoch from '2026-08-06 16:31:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685478 -3.505865)', '2026-08-06 16:31:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505864)'), GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505865)'))) / (select extract(epoch from '2026-08-06 16:31:58'::timestamp) - extract(epoch from '2026-08-06 16:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505864)'), GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505865)'))) / (select extract(epoch from '2026-08-06 16:31:58'::timestamp) - extract(epoch from '2026-08-06 16:31:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685481 -3.50586)', '2026-08-06 16:31:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505865)'), GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.50586)'))) / (select extract(epoch from '2026-08-06 16:31:58'::timestamp) - extract(epoch from '2026-08-06 16:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505865)'), GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.50586)'))) / (select extract(epoch from '2026-08-06 16:31:58'::timestamp) - extract(epoch from '2026-08-06 16:31:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68548 -3.505866)', '2026-08-06 16:31:59', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.50586)'), GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505866)'))) / (select extract(epoch from '2026-08-06 16:31:59'::timestamp) - extract(epoch from '2026-08-06 16:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.50586)'), GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505866)'))) / (select extract(epoch from '2026-08-06 16:31:59'::timestamp) - extract(epoch from '2026-08-06 16:31:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685482 -3.505861)', '2026-08-06 16:31:59', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505866)'), GeomFromEWKT('SRID=4674;POINT (-38.685482 -3.505861)'))) / (select extract(epoch from '2026-08-06 16:31:59'::timestamp) - extract(epoch from '2026-08-06 16:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505866)'), GeomFromEWKT('SRID=4674;POINT (-38.685482 -3.505861)'))) / (select extract(epoch from '2026-08-06 16:31:59'::timestamp) - extract(epoch from '2026-08-06 16:31: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'), 48121, 'SRID=4674;POINT (-38.685484 -3.505869)', '2026-08-06 16:31:59', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685482 -3.505861)'), GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505869)'))) / (select extract(epoch from '2026-08-06 16:31:59'::timestamp) - extract(epoch from '2026-08-06 16:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685482 -3.505861)'), GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505869)'))) / (select extract(epoch from '2026-08-06 16:31:59'::timestamp) - extract(epoch from '2026-08-06 16:31: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'), 48121, 'SRID=4674;POINT (-38.685484 -3.505873)', '2026-08-06 16:31:59', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505869)'), GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505873)'))) / (select extract(epoch from '2026-08-06 16:31:59'::timestamp) - extract(epoch from '2026-08-06 16:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505869)'), GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505873)'))) / (select extract(epoch from '2026-08-06 16:31:59'::timestamp) - extract(epoch from '2026-08-06 16:31: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'), 48121, 'SRID=4674;POINT (-38.685486 -3.505872)', '2026-08-06 16:31:59', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505873)'), GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505872)'))) / (select extract(epoch from '2026-08-06 16:31:59'::timestamp) - extract(epoch from '2026-08-06 16:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505873)'), GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505872)'))) / (select extract(epoch from '2026-08-06 16:31:59'::timestamp) - extract(epoch from '2026-08-06 16:31: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'), 48121, 'SRID=4674;POINT (-38.685489 -3.505866)', '2026-08-06 16:31:59', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505872)'), GeomFromEWKT('SRID=4674;POINT (-38.685489 -3.505866)'))) / (select extract(epoch from '2026-08-06 16:31:59'::timestamp) - extract(epoch from '2026-08-06 16:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505872)'), GeomFromEWKT('SRID=4674;POINT (-38.685489 -3.505866)'))) / (select extract(epoch from '2026-08-06 16:31:59'::timestamp) - extract(epoch from '2026-08-06 16:31: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'), 48121, 'SRID=4674;POINT (-38.685486 -3.505864)', '2026-08-06 16:31:59', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685489 -3.505866)'), GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505864)'))) / (select extract(epoch from '2026-08-06 16:31:59'::timestamp) - extract(epoch from '2026-08-06 16:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685489 -3.505866)'), GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505864)'))) / (select extract(epoch from '2026-08-06 16:31:59'::timestamp) - extract(epoch from '2026-08-06 16:31: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'), 48121, 'SRID=4674;POINT (-38.685483 -3.505853)', '2026-08-06 16:31:59', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505864)'), GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.505853)'))) / (select extract(epoch from '2026-08-06 16:31:59'::timestamp) - extract(epoch from '2026-08-06 16:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505864)'), GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.505853)'))) / (select extract(epoch from '2026-08-06 16:31:59'::timestamp) - extract(epoch from '2026-08-06 16:31: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'), 48121, 'SRID=4674;POINT (-38.685484 -3.505857)', '2026-08-06 16:31:59', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.505853)'), GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505857)'))) / (select extract(epoch from '2026-08-06 16:31:59'::timestamp) - extract(epoch from '2026-08-06 16:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.505853)'), GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505857)'))) / (select extract(epoch from '2026-08-06 16:31:59'::timestamp) - extract(epoch from '2026-08-06 16:31: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'), 48121, 'SRID=4674;POINT (-38.685489 -3.505856)', '2026-08-06 16:31:59', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505857)'), GeomFromEWKT('SRID=4674;POINT (-38.685489 -3.505856)'))) / (select extract(epoch from '2026-08-06 16:31:59'::timestamp) - extract(epoch from '2026-08-06 16:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505857)'), GeomFromEWKT('SRID=4674;POINT (-38.685489 -3.505856)'))) / (select extract(epoch from '2026-08-06 16:31:59'::timestamp) - extract(epoch from '2026-08-06 16:31: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'), 48121, 'SRID=4674;POINT (-38.685484 -3.505855)', '2026-08-06 16:31:59', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685489 -3.505856)'), GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505855)'))) / (select extract(epoch from '2026-08-06 16:31:59'::timestamp) - extract(epoch from '2026-08-06 16:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685489 -3.505856)'), GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505855)'))) / (select extract(epoch from '2026-08-06 16:31:59'::timestamp) - extract(epoch from '2026-08-06 16:31: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'), 48121, 'SRID=4674;POINT (-38.68548 -3.505853)', '2026-08-06 16:31:59', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505855)'), GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505853)'))) / (select extract(epoch from '2026-08-06 16:31:59'::timestamp) - extract(epoch from '2026-08-06 16:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505855)'), GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505853)'))) / (select extract(epoch from '2026-08-06 16:31:59'::timestamp) - extract(epoch from '2026-08-06 16:31: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'), 48121, 'SRID=4674;POINT (-38.685479 -3.505854)', '2026-08-06 16:31:59', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505853)'), GeomFromEWKT('SRID=4674;POINT (-38.685479 -3.505854)'))) / (select extract(epoch from '2026-08-06 16:31:59'::timestamp) - extract(epoch from '2026-08-06 16:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505853)'), GeomFromEWKT('SRID=4674;POINT (-38.685479 -3.505854)'))) / (select extract(epoch from '2026-08-06 16:31:59'::timestamp) - extract(epoch from '2026-08-06 16:31: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'), 48121, 'SRID=4674;POINT (-38.685478 -3.505857)', '2026-08-06 16:31:59', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685479 -3.505854)'), GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505857)'))) / (select extract(epoch from '2026-08-06 16:31:59'::timestamp) - extract(epoch from '2026-08-06 16:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685479 -3.505854)'), GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505857)'))) / (select extract(epoch from '2026-08-06 16:31:59'::timestamp) - extract(epoch from '2026-08-06 16:31: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'), 48121, 'SRID=4674;POINT (-38.685484 -3.505861)', '2026-08-06 16:31:59', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505857)'), GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505861)'))) / (select extract(epoch from '2026-08-06 16:31:59'::timestamp) - extract(epoch from '2026-08-06 16:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505857)'), GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505861)'))) / (select extract(epoch from '2026-08-06 16:31:59'::timestamp) - extract(epoch from '2026-08-06 16:31: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'), 48121, 'SRID=4674;POINT (-38.685483 -3.505864)', '2026-08-06 16:31:59', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505861)'), GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.505864)'))) / (select extract(epoch from '2026-08-06 16:31:59'::timestamp) - extract(epoch from '2026-08-06 16:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505861)'), GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.505864)'))) / (select extract(epoch from '2026-08-06 16:31:59'::timestamp) - extract(epoch from '2026-08-06 16:31: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'), 48121, 'SRID=4674;POINT (-38.685482 -3.505861)', '2026-08-06 16:32:00', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.505864)'), GeomFromEWKT('SRID=4674;POINT (-38.685482 -3.505861)'))) / (select extract(epoch from '2026-08-06 16:32:00'::timestamp) - extract(epoch from '2026-08-06 16:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.505864)'), GeomFromEWKT('SRID=4674;POINT (-38.685482 -3.505861)'))) / (select extract(epoch from '2026-08-06 16:32:00'::timestamp) - extract(epoch from '2026-08-06 16:31: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'), 48121, 'SRID=4674;POINT (-38.685481 -3.50586)', '2026-08-06 16:32:00', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685482 -3.505861)'), GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.50586)'))) / (select extract(epoch from '2026-08-06 16:32:00'::timestamp) - extract(epoch from '2026-08-06 16:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685482 -3.505861)'), GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.50586)'))) / (select extract(epoch from '2026-08-06 16:32:00'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685482 -3.505864)', '2026-08-06 16:32:00', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.50586)'), GeomFromEWKT('SRID=4674;POINT (-38.685482 -3.505864)'))) / (select extract(epoch from '2026-08-06 16:32:00'::timestamp) - extract(epoch from '2026-08-06 16:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.50586)'), GeomFromEWKT('SRID=4674;POINT (-38.685482 -3.505864)'))) / (select extract(epoch from '2026-08-06 16:32:00'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685484 -3.505861)', '2026-08-06 16:32:00', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685482 -3.505864)'), GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505861)'))) / (select extract(epoch from '2026-08-06 16:32:00'::timestamp) - extract(epoch from '2026-08-06 16:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685482 -3.505864)'), GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505861)'))) / (select extract(epoch from '2026-08-06 16:32:00'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.68548 -3.505862)', '2026-08-06 16:32:00', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505861)'), GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505862)'))) / (select extract(epoch from '2026-08-06 16:32:00'::timestamp) - extract(epoch from '2026-08-06 16:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505861)'), GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505862)'))) / (select extract(epoch from '2026-08-06 16:32:00'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.68548 -3.505863)', '2026-08-06 16:32:00', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505862)'), GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505863)'))) / (select extract(epoch from '2026-08-06 16:32:00'::timestamp) - extract(epoch from '2026-08-06 16:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505862)'), GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505863)'))) / (select extract(epoch from '2026-08-06 16:32:00'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685478 -3.505867)', '2026-08-06 16:32:00', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505863)'), GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505867)'))) / (select extract(epoch from '2026-08-06 16:32:00'::timestamp) - extract(epoch from '2026-08-06 16:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505863)'), GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505867)'))) / (select extract(epoch from '2026-08-06 16:32:00'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685487 -3.505868)', '2026-08-06 16:32:00', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505867)'), GeomFromEWKT('SRID=4674;POINT (-38.685487 -3.505868)'))) / (select extract(epoch from '2026-08-06 16:32:00'::timestamp) - extract(epoch from '2026-08-06 16:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505867)'), GeomFromEWKT('SRID=4674;POINT (-38.685487 -3.505868)'))) / (select extract(epoch from '2026-08-06 16:32:00'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685488 -3.505877)', '2026-08-06 16:32:00', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685487 -3.505868)'), GeomFromEWKT('SRID=4674;POINT (-38.685488 -3.505877)'))) / (select extract(epoch from '2026-08-06 16:32:00'::timestamp) - extract(epoch from '2026-08-06 16:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685487 -3.505868)'), GeomFromEWKT('SRID=4674;POINT (-38.685488 -3.505877)'))) / (select extract(epoch from '2026-08-06 16:32:00'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685487 -3.505873)', '2026-08-06 16:32:00', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685488 -3.505877)'), GeomFromEWKT('SRID=4674;POINT (-38.685487 -3.505873)'))) / (select extract(epoch from '2026-08-06 16:32:00'::timestamp) - extract(epoch from '2026-08-06 16:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685488 -3.505877)'), GeomFromEWKT('SRID=4674;POINT (-38.685487 -3.505873)'))) / (select extract(epoch from '2026-08-06 16:32:00'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685484 -3.505868)', '2026-08-06 16:32:00', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685487 -3.505873)'), GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505868)'))) / (select extract(epoch from '2026-08-06 16:32:00'::timestamp) - extract(epoch from '2026-08-06 16:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685487 -3.505873)'), GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505868)'))) / (select extract(epoch from '2026-08-06 16:32:00'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685484 -3.505863)', '2026-08-06 16:32:00', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505868)'), GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505863)'))) / (select extract(epoch from '2026-08-06 16:32:00'::timestamp) - extract(epoch from '2026-08-06 16:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505868)'), GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505863)'))) / (select extract(epoch from '2026-08-06 16:32:00'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685488 -3.505866)', '2026-08-06 16:32:00', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505863)'), GeomFromEWKT('SRID=4674;POINT (-38.685488 -3.505866)'))) / (select extract(epoch from '2026-08-06 16:32:00'::timestamp) - extract(epoch from '2026-08-06 16:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505863)'), GeomFromEWKT('SRID=4674;POINT (-38.685488 -3.505866)'))) / (select extract(epoch from '2026-08-06 16:32:00'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685489 -3.505863)', '2026-08-06 16:32:00', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685488 -3.505866)'), GeomFromEWKT('SRID=4674;POINT (-38.685489 -3.505863)'))) / (select extract(epoch from '2026-08-06 16:32:00'::timestamp) - extract(epoch from '2026-08-06 16:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685488 -3.505866)'), GeomFromEWKT('SRID=4674;POINT (-38.685489 -3.505863)'))) / (select extract(epoch from '2026-08-06 16:32:00'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685492 -3.505865)', '2026-08-06 16:32:00', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685489 -3.505863)'), GeomFromEWKT('SRID=4674;POINT (-38.685492 -3.505865)'))) / (select extract(epoch from '2026-08-06 16:32:00'::timestamp) - extract(epoch from '2026-08-06 16:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685489 -3.505863)'), GeomFromEWKT('SRID=4674;POINT (-38.685492 -3.505865)'))) / (select extract(epoch from '2026-08-06 16:32:00'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685487 -3.50586)', '2026-08-06 16:32:00', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685492 -3.505865)'), GeomFromEWKT('SRID=4674;POINT (-38.685487 -3.50586)'))) / (select extract(epoch from '2026-08-06 16:32:00'::timestamp) - extract(epoch from '2026-08-06 16:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685492 -3.505865)'), GeomFromEWKT('SRID=4674;POINT (-38.685487 -3.50586)'))) / (select extract(epoch from '2026-08-06 16:32:00'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685483 -3.505861)', '2026-08-06 16:32:00', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685487 -3.50586)'), GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.505861)'))) / (select extract(epoch from '2026-08-06 16:32:00'::timestamp) - extract(epoch from '2026-08-06 16:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685487 -3.50586)'), GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.505861)'))) / (select extract(epoch from '2026-08-06 16:32:00'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685483 -3.505871)', '2026-08-06 16:32:01', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.505861)'), GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.505871)'))) / (select extract(epoch from '2026-08-06 16:32:01'::timestamp) - extract(epoch from '2026-08-06 16:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.505861)'), GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.505871)'))) / (select extract(epoch from '2026-08-06 16:32:01'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685485 -3.505875)', '2026-08-06 16:32:01', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.505871)'), GeomFromEWKT('SRID=4674;POINT (-38.685485 -3.505875)'))) / (select extract(epoch from '2026-08-06 16:32:01'::timestamp) - extract(epoch from '2026-08-06 16:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.505871)'), GeomFromEWKT('SRID=4674;POINT (-38.685485 -3.505875)'))) / (select extract(epoch from '2026-08-06 16:32:01'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685483 -3.505878)', '2026-08-06 16:32:01', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685485 -3.505875)'), GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.505878)'))) / (select extract(epoch from '2026-08-06 16:32:01'::timestamp) - extract(epoch from '2026-08-06 16:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685485 -3.505875)'), GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.505878)'))) / (select extract(epoch from '2026-08-06 16:32:01'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685487 -3.505885)', '2026-08-06 16:32:01', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.505878)'), GeomFromEWKT('SRID=4674;POINT (-38.685487 -3.505885)'))) / (select extract(epoch from '2026-08-06 16:32:01'::timestamp) - extract(epoch from '2026-08-06 16:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.505878)'), GeomFromEWKT('SRID=4674;POINT (-38.685487 -3.505885)'))) / (select extract(epoch from '2026-08-06 16:32:01'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685486 -3.505883)', '2026-08-06 16:32:01', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685487 -3.505885)'), GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505883)'))) / (select extract(epoch from '2026-08-06 16:32:01'::timestamp) - extract(epoch from '2026-08-06 16:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685487 -3.505885)'), GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505883)'))) / (select extract(epoch from '2026-08-06 16:32:01'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685485 -3.505885)', '2026-08-06 16:32:01', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505883)'), GeomFromEWKT('SRID=4674;POINT (-38.685485 -3.505885)'))) / (select extract(epoch from '2026-08-06 16:32:01'::timestamp) - extract(epoch from '2026-08-06 16:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505883)'), GeomFromEWKT('SRID=4674;POINT (-38.685485 -3.505885)'))) / (select extract(epoch from '2026-08-06 16:32:01'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685489 -3.505877)', '2026-08-06 16:32:01', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685485 -3.505885)'), GeomFromEWKT('SRID=4674;POINT (-38.685489 -3.505877)'))) / (select extract(epoch from '2026-08-06 16:32:01'::timestamp) - extract(epoch from '2026-08-06 16:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685485 -3.505885)'), GeomFromEWKT('SRID=4674;POINT (-38.685489 -3.505877)'))) / (select extract(epoch from '2026-08-06 16:32:01'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685486 -3.505877)', '2026-08-06 16:32:01', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685489 -3.505877)'), GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505877)'))) / (select extract(epoch from '2026-08-06 16:32:01'::timestamp) - extract(epoch from '2026-08-06 16:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685489 -3.505877)'), GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505877)'))) / (select extract(epoch from '2026-08-06 16:32:01'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685484 -3.505877)', '2026-08-06 16:32:01', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505877)'), GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505877)'))) / (select extract(epoch from '2026-08-06 16:32:01'::timestamp) - extract(epoch from '2026-08-06 16:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505877)'), GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505877)'))) / (select extract(epoch from '2026-08-06 16:32:01'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685481 -3.505873)', '2026-08-06 16:32:01', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505877)'), GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.505873)'))) / (select extract(epoch from '2026-08-06 16:32:01'::timestamp) - extract(epoch from '2026-08-06 16:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505877)'), GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.505873)'))) / (select extract(epoch from '2026-08-06 16:32:01'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.68548 -3.505873)', '2026-08-06 16:32:01', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.505873)'), GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505873)'))) / (select extract(epoch from '2026-08-06 16:32:01'::timestamp) - extract(epoch from '2026-08-06 16:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.505873)'), GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505873)'))) / (select extract(epoch from '2026-08-06 16:32:01'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685478 -3.505872)', '2026-08-06 16:32:01', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505873)'), GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505872)'))) / (select extract(epoch from '2026-08-06 16:32:01'::timestamp) - extract(epoch from '2026-08-06 16:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505873)'), GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505872)'))) / (select extract(epoch from '2026-08-06 16:32:01'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685476 -3.505867)', '2026-08-06 16:32:01', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505872)'), GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505867)'))) / (select extract(epoch from '2026-08-06 16:32:01'::timestamp) - extract(epoch from '2026-08-06 16:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505872)'), GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505867)'))) / (select extract(epoch from '2026-08-06 16:32:01'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685477 -3.50587)', '2026-08-06 16:32:01', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505867)'), GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.50587)'))) / (select extract(epoch from '2026-08-06 16:32:01'::timestamp) - extract(epoch from '2026-08-06 16:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505867)'), GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.50587)'))) / (select extract(epoch from '2026-08-06 16:32:01'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685475 -3.505873)', '2026-08-06 16:32:01', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.50587)'), GeomFromEWKT('SRID=4674;POINT (-38.685475 -3.505873)'))) / (select extract(epoch from '2026-08-06 16:32:01'::timestamp) - extract(epoch from '2026-08-06 16:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.50587)'), GeomFromEWKT('SRID=4674;POINT (-38.685475 -3.505873)'))) / (select extract(epoch from '2026-08-06 16:32:01'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685477 -3.505873)', '2026-08-06 16:32:01', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685475 -3.505873)'), GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505873)'))) / (select extract(epoch from '2026-08-06 16:32:01'::timestamp) - extract(epoch from '2026-08-06 16:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685475 -3.505873)'), GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505873)'))) / (select extract(epoch from '2026-08-06 16:32:01'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685474 -3.505878)', '2026-08-06 16:32:02', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505873)'), GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505878)'))) / (select extract(epoch from '2026-08-06 16:32:02'::timestamp) - extract(epoch from '2026-08-06 16:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505873)'), GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505878)'))) / (select extract(epoch from '2026-08-06 16:32:02'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685474 -3.505878)', '2026-08-06 16:32:02', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505878)'), GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505878)'))) / (select extract(epoch from '2026-08-06 16:32:02'::timestamp) - extract(epoch from '2026-08-06 16:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505878)'), GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505878)'))) / (select extract(epoch from '2026-08-06 16:32:02'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685483 -3.505888)', '2026-08-06 16:32:02', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505878)'), GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.505888)'))) / (select extract(epoch from '2026-08-06 16:32:02'::timestamp) - extract(epoch from '2026-08-06 16:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505878)'), GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.505888)'))) / (select extract(epoch from '2026-08-06 16:32:02'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685478 -3.505893)', '2026-08-06 16:32:02', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.505888)'), GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505893)'))) / (select extract(epoch from '2026-08-06 16:32:02'::timestamp) - extract(epoch from '2026-08-06 16:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.505888)'), GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505893)'))) / (select extract(epoch from '2026-08-06 16:32:02'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.68548 -3.505899)', '2026-08-06 16:32:02', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505893)'), GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505899)'))) / (select extract(epoch from '2026-08-06 16:32:02'::timestamp) - extract(epoch from '2026-08-06 16:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505893)'), GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505899)'))) / (select extract(epoch from '2026-08-06 16:32:02'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.68548 -3.505902)', '2026-08-06 16:32:02', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505899)'), GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505902)'))) / (select extract(epoch from '2026-08-06 16:32:02'::timestamp) - extract(epoch from '2026-08-06 16:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505899)'), GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505902)'))) / (select extract(epoch from '2026-08-06 16:32:02'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685486 -3.505902)', '2026-08-06 16:32:02', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505902)'), GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505902)'))) / (select extract(epoch from '2026-08-06 16:32:02'::timestamp) - extract(epoch from '2026-08-06 16:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505902)'), GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505902)'))) / (select extract(epoch from '2026-08-06 16:32:02'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685486 -3.505903)', '2026-08-06 16:32:02', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505902)'), GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505903)'))) / (select extract(epoch from '2026-08-06 16:32:02'::timestamp) - extract(epoch from '2026-08-06 16:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505902)'), GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505903)'))) / (select extract(epoch from '2026-08-06 16:32:02'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685491 -3.505904)', '2026-08-06 16:32:02', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505903)'), GeomFromEWKT('SRID=4674;POINT (-38.685491 -3.505904)'))) / (select extract(epoch from '2026-08-06 16:32:02'::timestamp) - extract(epoch from '2026-08-06 16:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505903)'), GeomFromEWKT('SRID=4674;POINT (-38.685491 -3.505904)'))) / (select extract(epoch from '2026-08-06 16:32:02'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.68549 -3.505903)', '2026-08-06 16:32:02', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685491 -3.505904)'), GeomFromEWKT('SRID=4674;POINT (-38.68549 -3.505903)'))) / (select extract(epoch from '2026-08-06 16:32:02'::timestamp) - extract(epoch from '2026-08-06 16:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685491 -3.505904)'), GeomFromEWKT('SRID=4674;POINT (-38.68549 -3.505903)'))) / (select extract(epoch from '2026-08-06 16:32:02'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685487 -3.505903)', '2026-08-06 16:32:02', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68549 -3.505903)'), GeomFromEWKT('SRID=4674;POINT (-38.685487 -3.505903)'))) / (select extract(epoch from '2026-08-06 16:32:02'::timestamp) - extract(epoch from '2026-08-06 16:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68549 -3.505903)'), GeomFromEWKT('SRID=4674;POINT (-38.685487 -3.505903)'))) / (select extract(epoch from '2026-08-06 16:32:02'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.68548 -3.505888)', '2026-08-06 16:32:02', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685487 -3.505903)'), GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505888)'))) / (select extract(epoch from '2026-08-06 16:32:02'::timestamp) - extract(epoch from '2026-08-06 16:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685487 -3.505903)'), GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505888)'))) / (select extract(epoch from '2026-08-06 16:32:02'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685481 -3.505888)', '2026-08-06 16:32:02', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505888)'), GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.505888)'))) / (select extract(epoch from '2026-08-06 16:32:02'::timestamp) - extract(epoch from '2026-08-06 16:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505888)'), GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.505888)'))) / (select extract(epoch from '2026-08-06 16:32:02'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685482 -3.505886)', '2026-08-06 16:32:02', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.505888)'), GeomFromEWKT('SRID=4674;POINT (-38.685482 -3.505886)'))) / (select extract(epoch from '2026-08-06 16:32:02'::timestamp) - extract(epoch from '2026-08-06 16:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.505888)'), GeomFromEWKT('SRID=4674;POINT (-38.685482 -3.505886)'))) / (select extract(epoch from '2026-08-06 16:32:02'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685483 -3.50589)', '2026-08-06 16:32:02', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685482 -3.505886)'), GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.50589)'))) / (select extract(epoch from '2026-08-06 16:32:02'::timestamp) - extract(epoch from '2026-08-06 16:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685482 -3.505886)'), GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.50589)'))) / (select extract(epoch from '2026-08-06 16:32:02'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685487 -3.50589)', '2026-08-06 16:32:03', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.50589)'), GeomFromEWKT('SRID=4674;POINT (-38.685487 -3.50589)'))) / (select extract(epoch from '2026-08-06 16:32:03'::timestamp) - extract(epoch from '2026-08-06 16:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.50589)'), GeomFromEWKT('SRID=4674;POINT (-38.685487 -3.50589)'))) / (select extract(epoch from '2026-08-06 16:32:03'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685484 -3.505888)', '2026-08-06 16:32:03', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685487 -3.50589)'), GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505888)'))) / (select extract(epoch from '2026-08-06 16:32:03'::timestamp) - extract(epoch from '2026-08-06 16:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685487 -3.50589)'), GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505888)'))) / (select extract(epoch from '2026-08-06 16:32:03'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685492 -3.505889)', '2026-08-06 16:32:03', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505888)'), GeomFromEWKT('SRID=4674;POINT (-38.685492 -3.505889)'))) / (select extract(epoch from '2026-08-06 16:32:03'::timestamp) - extract(epoch from '2026-08-06 16:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505888)'), GeomFromEWKT('SRID=4674;POINT (-38.685492 -3.505889)'))) / (select extract(epoch from '2026-08-06 16:32:03'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685495 -3.50589)', '2026-08-06 16:32:03', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685492 -3.505889)'), GeomFromEWKT('SRID=4674;POINT (-38.685495 -3.50589)'))) / (select extract(epoch from '2026-08-06 16:32:03'::timestamp) - extract(epoch from '2026-08-06 16:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685492 -3.505889)'), GeomFromEWKT('SRID=4674;POINT (-38.685495 -3.50589)'))) / (select extract(epoch from '2026-08-06 16:32:03'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.6855 -3.50589)', '2026-08-06 16:32:03', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685495 -3.50589)'), GeomFromEWKT('SRID=4674;POINT (-38.6855 -3.50589)'))) / (select extract(epoch from '2026-08-06 16:32:03'::timestamp) - extract(epoch from '2026-08-06 16:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685495 -3.50589)'), GeomFromEWKT('SRID=4674;POINT (-38.6855 -3.50589)'))) / (select extract(epoch from '2026-08-06 16:32:03'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685499 -3.505883)', '2026-08-06 16:32:03', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6855 -3.50589)'), GeomFromEWKT('SRID=4674;POINT (-38.685499 -3.505883)'))) / (select extract(epoch from '2026-08-06 16:32:03'::timestamp) - extract(epoch from '2026-08-06 16:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6855 -3.50589)'), GeomFromEWKT('SRID=4674;POINT (-38.685499 -3.505883)'))) / (select extract(epoch from '2026-08-06 16:32:03'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685495 -3.505885)', '2026-08-06 16:32:03', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685499 -3.505883)'), GeomFromEWKT('SRID=4674;POINT (-38.685495 -3.505885)'))) / (select extract(epoch from '2026-08-06 16:32:03'::timestamp) - extract(epoch from '2026-08-06 16:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685499 -3.505883)'), GeomFromEWKT('SRID=4674;POINT (-38.685495 -3.505885)'))) / (select extract(epoch from '2026-08-06 16:32:03'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685494 -3.505901)', '2026-08-06 16:32:03', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685495 -3.505885)'), GeomFromEWKT('SRID=4674;POINT (-38.685494 -3.505901)'))) / (select extract(epoch from '2026-08-06 16:32:03'::timestamp) - extract(epoch from '2026-08-06 16:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685495 -3.505885)'), GeomFromEWKT('SRID=4674;POINT (-38.685494 -3.505901)'))) / (select extract(epoch from '2026-08-06 16:32:03'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685498 -3.505901)', '2026-08-06 16:32:03', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685494 -3.505901)'), GeomFromEWKT('SRID=4674;POINT (-38.685498 -3.505901)'))) / (select extract(epoch from '2026-08-06 16:32:03'::timestamp) - extract(epoch from '2026-08-06 16:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685494 -3.505901)'), GeomFromEWKT('SRID=4674;POINT (-38.685498 -3.505901)'))) / (select extract(epoch from '2026-08-06 16:32:03'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685498 -3.505899)', '2026-08-06 16:32:03', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685498 -3.505901)'), GeomFromEWKT('SRID=4674;POINT (-38.685498 -3.505899)'))) / (select extract(epoch from '2026-08-06 16:32:03'::timestamp) - extract(epoch from '2026-08-06 16:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685498 -3.505901)'), GeomFromEWKT('SRID=4674;POINT (-38.685498 -3.505899)'))) / (select extract(epoch from '2026-08-06 16:32:03'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685499 -3.505903)', '2026-08-06 16:32:03', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685498 -3.505899)'), GeomFromEWKT('SRID=4674;POINT (-38.685499 -3.505903)'))) / (select extract(epoch from '2026-08-06 16:32:03'::timestamp) - extract(epoch from '2026-08-06 16:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685498 -3.505899)'), GeomFromEWKT('SRID=4674;POINT (-38.685499 -3.505903)'))) / (select extract(epoch from '2026-08-06 16:32:03'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685501 -3.505903)', '2026-08-06 16:32:03', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685499 -3.505903)'), GeomFromEWKT('SRID=4674;POINT (-38.685501 -3.505903)'))) / (select extract(epoch from '2026-08-06 16:32:03'::timestamp) - extract(epoch from '2026-08-06 16:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685499 -3.505903)'), GeomFromEWKT('SRID=4674;POINT (-38.685501 -3.505903)'))) / (select extract(epoch from '2026-08-06 16:32:03'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685503 -3.50591)', '2026-08-06 16:32:03', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685501 -3.505903)'), GeomFromEWKT('SRID=4674;POINT (-38.685503 -3.50591)'))) / (select extract(epoch from '2026-08-06 16:32:03'::timestamp) - extract(epoch from '2026-08-06 16:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685501 -3.505903)'), GeomFromEWKT('SRID=4674;POINT (-38.685503 -3.50591)'))) / (select extract(epoch from '2026-08-06 16:32:03'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685502 -3.505907)', '2026-08-06 16:32:03', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685503 -3.50591)'), GeomFromEWKT('SRID=4674;POINT (-38.685502 -3.505907)'))) / (select extract(epoch from '2026-08-06 16:32:03'::timestamp) - extract(epoch from '2026-08-06 16:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685503 -3.50591)'), GeomFromEWKT('SRID=4674;POINT (-38.685502 -3.505907)'))) / (select extract(epoch from '2026-08-06 16:32:03'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685506 -3.505903)', '2026-08-06 16:32:03', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685502 -3.505907)'), GeomFromEWKT('SRID=4674;POINT (-38.685506 -3.505903)'))) / (select extract(epoch from '2026-08-06 16:32:03'::timestamp) - extract(epoch from '2026-08-06 16:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685502 -3.505907)'), GeomFromEWKT('SRID=4674;POINT (-38.685506 -3.505903)'))) / (select extract(epoch from '2026-08-06 16:32:03'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685502 -3.505909)', '2026-08-06 16:32:03', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685506 -3.505903)'), GeomFromEWKT('SRID=4674;POINT (-38.685502 -3.505909)'))) / (select extract(epoch from '2026-08-06 16:32:03'::timestamp) - extract(epoch from '2026-08-06 16:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685506 -3.505903)'), GeomFromEWKT('SRID=4674;POINT (-38.685502 -3.505909)'))) / (select extract(epoch from '2026-08-06 16:32:03'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.6855 -3.505909)', '2026-08-06 16:32:04', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685502 -3.505909)'), GeomFromEWKT('SRID=4674;POINT (-38.6855 -3.505909)'))) / (select extract(epoch from '2026-08-06 16:32:04'::timestamp) - extract(epoch from '2026-08-06 16:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685502 -3.505909)'), GeomFromEWKT('SRID=4674;POINT (-38.6855 -3.505909)'))) / (select extract(epoch from '2026-08-06 16:32:04'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685496 -3.505908)', '2026-08-06 16:32:04', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6855 -3.505909)'), GeomFromEWKT('SRID=4674;POINT (-38.685496 -3.505908)'))) / (select extract(epoch from '2026-08-06 16:32:04'::timestamp) - extract(epoch from '2026-08-06 16:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6855 -3.505909)'), GeomFromEWKT('SRID=4674;POINT (-38.685496 -3.505908)'))) / (select extract(epoch from '2026-08-06 16:32:04'::timestamp) - extract(epoch from '2026-08-06 16:32:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685498 -3.505911)', '2026-08-06 16:32:04', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685496 -3.505908)'), GeomFromEWKT('SRID=4674;POINT (-38.685498 -3.505911)'))) / (select extract(epoch from '2026-08-06 16:32:04'::timestamp) - extract(epoch from '2026-08-06 16:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685496 -3.505908)'), GeomFromEWKT('SRID=4674;POINT (-38.685498 -3.505911)'))) / (select extract(epoch from '2026-08-06 16:32:04'::timestamp) - extract(epoch from '2026-08-06 16:32:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685497 -3.505914)', '2026-08-06 16:32:04', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685498 -3.505911)'), GeomFromEWKT('SRID=4674;POINT (-38.685497 -3.505914)'))) / (select extract(epoch from '2026-08-06 16:32:04'::timestamp) - extract(epoch from '2026-08-06 16:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685498 -3.505911)'), GeomFromEWKT('SRID=4674;POINT (-38.685497 -3.505914)'))) / (select extract(epoch from '2026-08-06 16:32:04'::timestamp) - extract(epoch from '2026-08-06 16:32:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685498 -3.505916)', '2026-08-06 16:32:04', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685497 -3.505914)'), GeomFromEWKT('SRID=4674;POINT (-38.685498 -3.505916)'))) / (select extract(epoch from '2026-08-06 16:32:04'::timestamp) - extract(epoch from '2026-08-06 16:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685497 -3.505914)'), GeomFromEWKT('SRID=4674;POINT (-38.685498 -3.505916)'))) / (select extract(epoch from '2026-08-06 16:32:04'::timestamp) - extract(epoch from '2026-08-06 16:32:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685502 -3.505912)', '2026-08-06 16:32:04', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685498 -3.505916)'), GeomFromEWKT('SRID=4674;POINT (-38.685502 -3.505912)'))) / (select extract(epoch from '2026-08-06 16:32:04'::timestamp) - extract(epoch from '2026-08-06 16:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685498 -3.505916)'), GeomFromEWKT('SRID=4674;POINT (-38.685502 -3.505912)'))) / (select extract(epoch from '2026-08-06 16:32:04'::timestamp) - extract(epoch from '2026-08-06 16:32:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685507 -3.505915)', '2026-08-06 16:32:04', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685502 -3.505912)'), GeomFromEWKT('SRID=4674;POINT (-38.685507 -3.505915)'))) / (select extract(epoch from '2026-08-06 16:32:04'::timestamp) - extract(epoch from '2026-08-06 16:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685502 -3.505912)'), GeomFromEWKT('SRID=4674;POINT (-38.685507 -3.505915)'))) / (select extract(epoch from '2026-08-06 16:32:04'::timestamp) - extract(epoch from '2026-08-06 16:32:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685496 -3.505916)', '2026-08-06 16:32:04', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685507 -3.505915)'), GeomFromEWKT('SRID=4674;POINT (-38.685496 -3.505916)'))) / (select extract(epoch from '2026-08-06 16:32:04'::timestamp) - extract(epoch from '2026-08-06 16:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685507 -3.505915)'), GeomFromEWKT('SRID=4674;POINT (-38.685496 -3.505916)'))) / (select extract(epoch from '2026-08-06 16:32:04'::timestamp) - extract(epoch from '2026-08-06 16:32:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685496 -3.505914)', '2026-08-06 16:32:04', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685496 -3.505916)'), GeomFromEWKT('SRID=4674;POINT (-38.685496 -3.505914)'))) / (select extract(epoch from '2026-08-06 16:32:04'::timestamp) - extract(epoch from '2026-08-06 16:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685496 -3.505916)'), GeomFromEWKT('SRID=4674;POINT (-38.685496 -3.505914)'))) / (select extract(epoch from '2026-08-06 16:32:04'::timestamp) - extract(epoch from '2026-08-06 16:32:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685497 -3.505909)', '2026-08-06 16:32:04', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685496 -3.505914)'), GeomFromEWKT('SRID=4674;POINT (-38.685497 -3.505909)'))) / (select extract(epoch from '2026-08-06 16:32:04'::timestamp) - extract(epoch from '2026-08-06 16:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685496 -3.505914)'), GeomFromEWKT('SRID=4674;POINT (-38.685497 -3.505909)'))) / (select extract(epoch from '2026-08-06 16:32:04'::timestamp) - extract(epoch from '2026-08-06 16:32:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685497 -3.505913)', '2026-08-06 16:32:04', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685497 -3.505909)'), GeomFromEWKT('SRID=4674;POINT (-38.685497 -3.505913)'))) / (select extract(epoch from '2026-08-06 16:32:04'::timestamp) - extract(epoch from '2026-08-06 16:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685497 -3.505909)'), GeomFromEWKT('SRID=4674;POINT (-38.685497 -3.505913)'))) / (select extract(epoch from '2026-08-06 16:32:04'::timestamp) - extract(epoch from '2026-08-06 16:32:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.6855 -3.505917)', '2026-08-06 16:32:04', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685497 -3.505913)'), GeomFromEWKT('SRID=4674;POINT (-38.6855 -3.505917)'))) / (select extract(epoch from '2026-08-06 16:32:04'::timestamp) - extract(epoch from '2026-08-06 16:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685497 -3.505913)'), GeomFromEWKT('SRID=4674;POINT (-38.6855 -3.505917)'))) / (select extract(epoch from '2026-08-06 16:32:04'::timestamp) - extract(epoch from '2026-08-06 16:32:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685501 -3.505917)', '2026-08-06 16:32:04', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6855 -3.505917)'), GeomFromEWKT('SRID=4674;POINT (-38.685501 -3.505917)'))) / (select extract(epoch from '2026-08-06 16:32:04'::timestamp) - extract(epoch from '2026-08-06 16:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6855 -3.505917)'), GeomFromEWKT('SRID=4674;POINT (-38.685501 -3.505917)'))) / (select extract(epoch from '2026-08-06 16:32:04'::timestamp) - extract(epoch from '2026-08-06 16:32:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685494 -3.50592)', '2026-08-06 16:32:04', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685501 -3.505917)'), GeomFromEWKT('SRID=4674;POINT (-38.685494 -3.50592)'))) / (select extract(epoch from '2026-08-06 16:32:04'::timestamp) - extract(epoch from '2026-08-06 16:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685501 -3.505917)'), GeomFromEWKT('SRID=4674;POINT (-38.685494 -3.50592)'))) / (select extract(epoch from '2026-08-06 16:32:04'::timestamp) - extract(epoch from '2026-08-06 16:32:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685501 -3.505918)', '2026-08-06 16:32:04', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685494 -3.50592)'), GeomFromEWKT('SRID=4674;POINT (-38.685501 -3.505918)'))) / (select extract(epoch from '2026-08-06 16:32:04'::timestamp) - extract(epoch from '2026-08-06 16:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685494 -3.50592)'), GeomFromEWKT('SRID=4674;POINT (-38.685501 -3.505918)'))) / (select extract(epoch from '2026-08-06 16:32:04'::timestamp) - extract(epoch from '2026-08-06 16:32:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685509 -3.505916)', '2026-08-06 16:32:04', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685501 -3.505918)'), GeomFromEWKT('SRID=4674;POINT (-38.685509 -3.505916)'))) / (select extract(epoch from '2026-08-06 16:32:04'::timestamp) - extract(epoch from '2026-08-06 16:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685501 -3.505918)'), GeomFromEWKT('SRID=4674;POINT (-38.685509 -3.505916)'))) / (select extract(epoch from '2026-08-06 16:32:04'::timestamp) - extract(epoch from '2026-08-06 16:32:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685507 -3.505911)', '2026-08-06 16:32:04', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685509 -3.505916)'), GeomFromEWKT('SRID=4674;POINT (-38.685507 -3.505911)'))) / (select extract(epoch from '2026-08-06 16:32:04'::timestamp) - extract(epoch from '2026-08-06 16:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685509 -3.505916)'), GeomFromEWKT('SRID=4674;POINT (-38.685507 -3.505911)'))) / (select extract(epoch from '2026-08-06 16:32:04'::timestamp) - extract(epoch from '2026-08-06 16:32:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685514 -3.505912)', '2026-08-06 16:32:05', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685507 -3.505911)'), GeomFromEWKT('SRID=4674;POINT (-38.685514 -3.505912)'))) / (select extract(epoch from '2026-08-06 16:32:05'::timestamp) - extract(epoch from '2026-08-06 16:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685507 -3.505911)'), GeomFromEWKT('SRID=4674;POINT (-38.685514 -3.505912)'))) / (select extract(epoch from '2026-08-06 16:32:05'::timestamp) - extract(epoch from '2026-08-06 16:32:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685516 -3.505916)', '2026-08-06 16:32:05', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685514 -3.505912)'), GeomFromEWKT('SRID=4674;POINT (-38.685516 -3.505916)'))) / (select extract(epoch from '2026-08-06 16:32:05'::timestamp) - extract(epoch from '2026-08-06 16:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685514 -3.505912)'), GeomFromEWKT('SRID=4674;POINT (-38.685516 -3.505916)'))) / (select extract(epoch from '2026-08-06 16:32:05'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685522 -3.505918)', '2026-08-06 16:32:05', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685516 -3.505916)'), GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505918)'))) / (select extract(epoch from '2026-08-06 16:32:05'::timestamp) - extract(epoch from '2026-08-06 16:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685516 -3.505916)'), GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505918)'))) / (select extract(epoch from '2026-08-06 16:32:05'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685511 -3.505915)', '2026-08-06 16:32:05', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505918)'), GeomFromEWKT('SRID=4674;POINT (-38.685511 -3.505915)'))) / (select extract(epoch from '2026-08-06 16:32:05'::timestamp) - extract(epoch from '2026-08-06 16:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505918)'), GeomFromEWKT('SRID=4674;POINT (-38.685511 -3.505915)'))) / (select extract(epoch from '2026-08-06 16:32:05'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.68551 -3.505915)', '2026-08-06 16:32:05', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685511 -3.505915)'), GeomFromEWKT('SRID=4674;POINT (-38.68551 -3.505915)'))) / (select extract(epoch from '2026-08-06 16:32:05'::timestamp) - extract(epoch from '2026-08-06 16:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685511 -3.505915)'), GeomFromEWKT('SRID=4674;POINT (-38.68551 -3.505915)'))) / (select extract(epoch from '2026-08-06 16:32:05'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685511 -3.505914)', '2026-08-06 16:32:05', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68551 -3.505915)'), GeomFromEWKT('SRID=4674;POINT (-38.685511 -3.505914)'))) / (select extract(epoch from '2026-08-06 16:32:05'::timestamp) - extract(epoch from '2026-08-06 16:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68551 -3.505915)'), GeomFromEWKT('SRID=4674;POINT (-38.685511 -3.505914)'))) / (select extract(epoch from '2026-08-06 16:32:05'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685516 -3.505914)', '2026-08-06 16:32:05', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685511 -3.505914)'), GeomFromEWKT('SRID=4674;POINT (-38.685516 -3.505914)'))) / (select extract(epoch from '2026-08-06 16:32:05'::timestamp) - extract(epoch from '2026-08-06 16:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685511 -3.505914)'), GeomFromEWKT('SRID=4674;POINT (-38.685516 -3.505914)'))) / (select extract(epoch from '2026-08-06 16:32:05'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685512 -3.505916)', '2026-08-06 16:32:05', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685516 -3.505914)'), GeomFromEWKT('SRID=4674;POINT (-38.685512 -3.505916)'))) / (select extract(epoch from '2026-08-06 16:32:05'::timestamp) - extract(epoch from '2026-08-06 16:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685516 -3.505914)'), GeomFromEWKT('SRID=4674;POINT (-38.685512 -3.505916)'))) / (select extract(epoch from '2026-08-06 16:32:05'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.68551 -3.505916)', '2026-08-06 16:32:05', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685512 -3.505916)'), GeomFromEWKT('SRID=4674;POINT (-38.68551 -3.505916)'))) / (select extract(epoch from '2026-08-06 16:32:05'::timestamp) - extract(epoch from '2026-08-06 16:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685512 -3.505916)'), GeomFromEWKT('SRID=4674;POINT (-38.68551 -3.505916)'))) / (select extract(epoch from '2026-08-06 16:32:05'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685511 -3.505921)', '2026-08-06 16:32:05', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68551 -3.505916)'), GeomFromEWKT('SRID=4674;POINT (-38.685511 -3.505921)'))) / (select extract(epoch from '2026-08-06 16:32:05'::timestamp) - extract(epoch from '2026-08-06 16:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68551 -3.505916)'), GeomFromEWKT('SRID=4674;POINT (-38.685511 -3.505921)'))) / (select extract(epoch from '2026-08-06 16:32:05'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685517 -3.505927)', '2026-08-06 16:32:05', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685511 -3.505921)'), GeomFromEWKT('SRID=4674;POINT (-38.685517 -3.505927)'))) / (select extract(epoch from '2026-08-06 16:32:05'::timestamp) - extract(epoch from '2026-08-06 16:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685511 -3.505921)'), GeomFromEWKT('SRID=4674;POINT (-38.685517 -3.505927)'))) / (select extract(epoch from '2026-08-06 16:32:05'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685517 -3.505925)', '2026-08-06 16:32:05', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685517 -3.505927)'), GeomFromEWKT('SRID=4674;POINT (-38.685517 -3.505925)'))) / (select extract(epoch from '2026-08-06 16:32:05'::timestamp) - extract(epoch from '2026-08-06 16:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685517 -3.505927)'), GeomFromEWKT('SRID=4674;POINT (-38.685517 -3.505925)'))) / (select extract(epoch from '2026-08-06 16:32:05'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685519 -3.505924)', '2026-08-06 16:32:05', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685517 -3.505925)'), GeomFromEWKT('SRID=4674;POINT (-38.685519 -3.505924)'))) / (select extract(epoch from '2026-08-06 16:32:05'::timestamp) - extract(epoch from '2026-08-06 16:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685517 -3.505925)'), GeomFromEWKT('SRID=4674;POINT (-38.685519 -3.505924)'))) / (select extract(epoch from '2026-08-06 16:32:05'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685522 -3.505923)', '2026-08-06 16:32:05', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685519 -3.505924)'), GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505923)'))) / (select extract(epoch from '2026-08-06 16:32:05'::timestamp) - extract(epoch from '2026-08-06 16:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685519 -3.505924)'), GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505923)'))) / (select extract(epoch from '2026-08-06 16:32:05'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685526 -3.505925)', '2026-08-06 16:32:05', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505923)'), GeomFromEWKT('SRID=4674;POINT (-38.685526 -3.505925)'))) / (select extract(epoch from '2026-08-06 16:32:05'::timestamp) - extract(epoch from '2026-08-06 16:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505923)'), GeomFromEWKT('SRID=4674;POINT (-38.685526 -3.505925)'))) / (select extract(epoch from '2026-08-06 16:32:05'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685522 -3.50593)', '2026-08-06 16:32:05', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685526 -3.505925)'), GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.50593)'))) / (select extract(epoch from '2026-08-06 16:32:05'::timestamp) - extract(epoch from '2026-08-06 16:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685526 -3.505925)'), GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.50593)'))) / (select extract(epoch from '2026-08-06 16:32:05'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685525 -3.505929)', '2026-08-06 16:32:06', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.50593)'), GeomFromEWKT('SRID=4674;POINT (-38.685525 -3.505929)'))) / (select extract(epoch from '2026-08-06 16:32:06'::timestamp) - extract(epoch from '2026-08-06 16:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.50593)'), GeomFromEWKT('SRID=4674;POINT (-38.685525 -3.505929)'))) / (select extract(epoch from '2026-08-06 16:32:06'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685523 -3.505932)', '2026-08-06 16:32:06', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685525 -3.505929)'), GeomFromEWKT('SRID=4674;POINT (-38.685523 -3.505932)'))) / (select extract(epoch from '2026-08-06 16:32:06'::timestamp) - extract(epoch from '2026-08-06 16:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685525 -3.505929)'), GeomFromEWKT('SRID=4674;POINT (-38.685523 -3.505932)'))) / (select extract(epoch from '2026-08-06 16:32:06'::timestamp) - extract(epoch from '2026-08-06 16:32:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685519 -3.50593)', '2026-08-06 16:32:06', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685523 -3.505932)'), GeomFromEWKT('SRID=4674;POINT (-38.685519 -3.50593)'))) / (select extract(epoch from '2026-08-06 16:32:06'::timestamp) - extract(epoch from '2026-08-06 16:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685523 -3.505932)'), GeomFromEWKT('SRID=4674;POINT (-38.685519 -3.50593)'))) / (select extract(epoch from '2026-08-06 16:32:06'::timestamp) - extract(epoch from '2026-08-06 16:32:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685523 -3.505934)', '2026-08-06 16:32:06', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685519 -3.50593)'), GeomFromEWKT('SRID=4674;POINT (-38.685523 -3.505934)'))) / (select extract(epoch from '2026-08-06 16:32:06'::timestamp) - extract(epoch from '2026-08-06 16:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685519 -3.50593)'), GeomFromEWKT('SRID=4674;POINT (-38.685523 -3.505934)'))) / (select extract(epoch from '2026-08-06 16:32:06'::timestamp) - extract(epoch from '2026-08-06 16:32:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685517 -3.50593)', '2026-08-06 16:32:06', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685523 -3.505934)'), GeomFromEWKT('SRID=4674;POINT (-38.685517 -3.50593)'))) / (select extract(epoch from '2026-08-06 16:32:06'::timestamp) - extract(epoch from '2026-08-06 16:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685523 -3.505934)'), GeomFromEWKT('SRID=4674;POINT (-38.685517 -3.50593)'))) / (select extract(epoch from '2026-08-06 16:32:06'::timestamp) - extract(epoch from '2026-08-06 16:32:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68551 -3.50593)', '2026-08-06 16:32:06', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685517 -3.50593)'), GeomFromEWKT('SRID=4674;POINT (-38.68551 -3.50593)'))) / (select extract(epoch from '2026-08-06 16:32:06'::timestamp) - extract(epoch from '2026-08-06 16:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685517 -3.50593)'), GeomFromEWKT('SRID=4674;POINT (-38.68551 -3.50593)'))) / (select extract(epoch from '2026-08-06 16:32:06'::timestamp) - extract(epoch from '2026-08-06 16:32:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685516 -3.505929)', '2026-08-06 16:32:06', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68551 -3.50593)'), GeomFromEWKT('SRID=4674;POINT (-38.685516 -3.505929)'))) / (select extract(epoch from '2026-08-06 16:32:06'::timestamp) - extract(epoch from '2026-08-06 16:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68551 -3.50593)'), GeomFromEWKT('SRID=4674;POINT (-38.685516 -3.505929)'))) / (select extract(epoch from '2026-08-06 16:32:06'::timestamp) - extract(epoch from '2026-08-06 16:32:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685513 -3.505926)', '2026-08-06 16:32:06', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685516 -3.505929)'), GeomFromEWKT('SRID=4674;POINT (-38.685513 -3.505926)'))) / (select extract(epoch from '2026-08-06 16:32:06'::timestamp) - extract(epoch from '2026-08-06 16:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685516 -3.505929)'), GeomFromEWKT('SRID=4674;POINT (-38.685513 -3.505926)'))) / (select extract(epoch from '2026-08-06 16:32:06'::timestamp) - extract(epoch from '2026-08-06 16:32:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68551 -3.505928)', '2026-08-06 16:32:06', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685513 -3.505926)'), GeomFromEWKT('SRID=4674;POINT (-38.68551 -3.505928)'))) / (select extract(epoch from '2026-08-06 16:32:06'::timestamp) - extract(epoch from '2026-08-06 16:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685513 -3.505926)'), GeomFromEWKT('SRID=4674;POINT (-38.68551 -3.505928)'))) / (select extract(epoch from '2026-08-06 16:32:06'::timestamp) - extract(epoch from '2026-08-06 16:32:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685514 -3.505926)', '2026-08-06 16:32:06', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68551 -3.505928)'), GeomFromEWKT('SRID=4674;POINT (-38.685514 -3.505926)'))) / (select extract(epoch from '2026-08-06 16:32:06'::timestamp) - extract(epoch from '2026-08-06 16:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68551 -3.505928)'), GeomFromEWKT('SRID=4674;POINT (-38.685514 -3.505926)'))) / (select extract(epoch from '2026-08-06 16:32:06'::timestamp) - extract(epoch from '2026-08-06 16:32:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685517 -3.50593)', '2026-08-06 16:32:06', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685514 -3.505926)'), GeomFromEWKT('SRID=4674;POINT (-38.685517 -3.50593)'))) / (select extract(epoch from '2026-08-06 16:32:06'::timestamp) - extract(epoch from '2026-08-06 16:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685514 -3.505926)'), GeomFromEWKT('SRID=4674;POINT (-38.685517 -3.50593)'))) / (select extract(epoch from '2026-08-06 16:32:06'::timestamp) - extract(epoch from '2026-08-06 16:32:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685519 -3.505938)', '2026-08-06 16:32:06', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685517 -3.50593)'), GeomFromEWKT('SRID=4674;POINT (-38.685519 -3.505938)'))) / (select extract(epoch from '2026-08-06 16:32:06'::timestamp) - extract(epoch from '2026-08-06 16:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685517 -3.50593)'), GeomFromEWKT('SRID=4674;POINT (-38.685519 -3.505938)'))) / (select extract(epoch from '2026-08-06 16:32:06'::timestamp) - extract(epoch from '2026-08-06 16:32:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685522 -3.505944)', '2026-08-06 16:32:06', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685519 -3.505938)'), GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505944)'))) / (select extract(epoch from '2026-08-06 16:32:06'::timestamp) - extract(epoch from '2026-08-06 16:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685519 -3.505938)'), GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505944)'))) / (select extract(epoch from '2026-08-06 16:32:06'::timestamp) - extract(epoch from '2026-08-06 16:32:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685521 -3.505946)', '2026-08-06 16:32:06', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505944)'), GeomFromEWKT('SRID=4674;POINT (-38.685521 -3.505946)'))) / (select extract(epoch from '2026-08-06 16:32:06'::timestamp) - extract(epoch from '2026-08-06 16:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505944)'), GeomFromEWKT('SRID=4674;POINT (-38.685521 -3.505946)'))) / (select extract(epoch from '2026-08-06 16:32:06'::timestamp) - extract(epoch from '2026-08-06 16:32:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685522 -3.505946)', '2026-08-06 16:32:06', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685521 -3.505946)'), GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505946)'))) / (select extract(epoch from '2026-08-06 16:32:06'::timestamp) - extract(epoch from '2026-08-06 16:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685521 -3.505946)'), GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505946)'))) / (select extract(epoch from '2026-08-06 16:32:06'::timestamp) - extract(epoch from '2026-08-06 16:32:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685524 -3.505943)', '2026-08-06 16:32:06', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505946)'), GeomFromEWKT('SRID=4674;POINT (-38.685524 -3.505943)'))) / (select extract(epoch from '2026-08-06 16:32:06'::timestamp) - extract(epoch from '2026-08-06 16:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505946)'), GeomFromEWKT('SRID=4674;POINT (-38.685524 -3.505943)'))) / (select extract(epoch from '2026-08-06 16:32:06'::timestamp) - extract(epoch from '2026-08-06 16:32:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68552 -3.505941)', '2026-08-06 16:32:06', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685524 -3.505943)'), GeomFromEWKT('SRID=4674;POINT (-38.68552 -3.505941)'))) / (select extract(epoch from '2026-08-06 16:32:06'::timestamp) - extract(epoch from '2026-08-06 16:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685524 -3.505943)'), GeomFromEWKT('SRID=4674;POINT (-38.68552 -3.505941)'))) / (select extract(epoch from '2026-08-06 16:32:06'::timestamp) - extract(epoch from '2026-08-06 16:32:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685522 -3.505945)', '2026-08-06 16:32:07', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68552 -3.505941)'), GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505945)'))) / (select extract(epoch from '2026-08-06 16:32:07'::timestamp) - extract(epoch from '2026-08-06 16:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68552 -3.505941)'), GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505945)'))) / (select extract(epoch from '2026-08-06 16:32:07'::timestamp) - extract(epoch from '2026-08-06 16:32:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685529 -3.505951)', '2026-08-06 16:32:07', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505945)'), GeomFromEWKT('SRID=4674;POINT (-38.685529 -3.505951)'))) / (select extract(epoch from '2026-08-06 16:32:07'::timestamp) - extract(epoch from '2026-08-06 16:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505945)'), GeomFromEWKT('SRID=4674;POINT (-38.685529 -3.505951)'))) / (select extract(epoch from '2026-08-06 16:32:07'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.68553 -3.505951)', '2026-08-06 16:32:07', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685529 -3.505951)'), GeomFromEWKT('SRID=4674;POINT (-38.68553 -3.505951)'))) / (select extract(epoch from '2026-08-06 16:32:07'::timestamp) - extract(epoch from '2026-08-06 16:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685529 -3.505951)'), GeomFromEWKT('SRID=4674;POINT (-38.68553 -3.505951)'))) / (select extract(epoch from '2026-08-06 16:32:07'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685533 -3.50595)', '2026-08-06 16:32:07', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68553 -3.505951)'), GeomFromEWKT('SRID=4674;POINT (-38.685533 -3.50595)'))) / (select extract(epoch from '2026-08-06 16:32:07'::timestamp) - extract(epoch from '2026-08-06 16:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68553 -3.505951)'), GeomFromEWKT('SRID=4674;POINT (-38.685533 -3.50595)'))) / (select extract(epoch from '2026-08-06 16:32:07'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685531 -3.505948)', '2026-08-06 16:32:07', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685533 -3.50595)'), GeomFromEWKT('SRID=4674;POINT (-38.685531 -3.505948)'))) / (select extract(epoch from '2026-08-06 16:32:07'::timestamp) - extract(epoch from '2026-08-06 16:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685533 -3.50595)'), GeomFromEWKT('SRID=4674;POINT (-38.685531 -3.505948)'))) / (select extract(epoch from '2026-08-06 16:32:07'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685527 -3.505952)', '2026-08-06 16:32:07', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685531 -3.505948)'), GeomFromEWKT('SRID=4674;POINT (-38.685527 -3.505952)'))) / (select extract(epoch from '2026-08-06 16:32:07'::timestamp) - extract(epoch from '2026-08-06 16:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685531 -3.505948)'), GeomFromEWKT('SRID=4674;POINT (-38.685527 -3.505952)'))) / (select extract(epoch from '2026-08-06 16:32:07'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685524 -3.505955)', '2026-08-06 16:32:07', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685527 -3.505952)'), GeomFromEWKT('SRID=4674;POINT (-38.685524 -3.505955)'))) / (select extract(epoch from '2026-08-06 16:32:07'::timestamp) - extract(epoch from '2026-08-06 16:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685527 -3.505952)'), GeomFromEWKT('SRID=4674;POINT (-38.685524 -3.505955)'))) / (select extract(epoch from '2026-08-06 16:32:07'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685522 -3.505945)', '2026-08-06 16:32:07', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685524 -3.505955)'), GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505945)'))) / (select extract(epoch from '2026-08-06 16:32:07'::timestamp) - extract(epoch from '2026-08-06 16:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685524 -3.505955)'), GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505945)'))) / (select extract(epoch from '2026-08-06 16:32:07'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685517 -3.505943)', '2026-08-06 16:32:07', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505945)'), GeomFromEWKT('SRID=4674;POINT (-38.685517 -3.505943)'))) / (select extract(epoch from '2026-08-06 16:32:07'::timestamp) - extract(epoch from '2026-08-06 16:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505945)'), GeomFromEWKT('SRID=4674;POINT (-38.685517 -3.505943)'))) / (select extract(epoch from '2026-08-06 16:32:07'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685519 -3.505937)', '2026-08-06 16:32:07', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685517 -3.505943)'), GeomFromEWKT('SRID=4674;POINT (-38.685519 -3.505937)'))) / (select extract(epoch from '2026-08-06 16:32:07'::timestamp) - extract(epoch from '2026-08-06 16:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685517 -3.505943)'), GeomFromEWKT('SRID=4674;POINT (-38.685519 -3.505937)'))) / (select extract(epoch from '2026-08-06 16:32:07'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685526 -3.505934)', '2026-08-06 16:32:07', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685519 -3.505937)'), GeomFromEWKT('SRID=4674;POINT (-38.685526 -3.505934)'))) / (select extract(epoch from '2026-08-06 16:32:07'::timestamp) - extract(epoch from '2026-08-06 16:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685519 -3.505937)'), GeomFromEWKT('SRID=4674;POINT (-38.685526 -3.505934)'))) / (select extract(epoch from '2026-08-06 16:32:07'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685529 -3.505945)', '2026-08-06 16:32:07', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685526 -3.505934)'), GeomFromEWKT('SRID=4674;POINT (-38.685529 -3.505945)'))) / (select extract(epoch from '2026-08-06 16:32:07'::timestamp) - extract(epoch from '2026-08-06 16:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685526 -3.505934)'), GeomFromEWKT('SRID=4674;POINT (-38.685529 -3.505945)'))) / (select extract(epoch from '2026-08-06 16:32:07'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685532 -3.505948)', '2026-08-06 16:32:07', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685529 -3.505945)'), GeomFromEWKT('SRID=4674;POINT (-38.685532 -3.505948)'))) / (select extract(epoch from '2026-08-06 16:32:07'::timestamp) - extract(epoch from '2026-08-06 16:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685529 -3.505945)'), GeomFromEWKT('SRID=4674;POINT (-38.685532 -3.505948)'))) / (select extract(epoch from '2026-08-06 16:32:07'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685532 -3.505948)', '2026-08-06 16:32:07', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685532 -3.505948)'), GeomFromEWKT('SRID=4674;POINT (-38.685532 -3.505948)'))) / (select extract(epoch from '2026-08-06 16:32:07'::timestamp) - extract(epoch from '2026-08-06 16:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685532 -3.505948)'), GeomFromEWKT('SRID=4674;POINT (-38.685532 -3.505948)'))) / (select extract(epoch from '2026-08-06 16:32:07'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685529 -3.505944)', '2026-08-06 16:32:07', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685532 -3.505948)'), GeomFromEWKT('SRID=4674;POINT (-38.685529 -3.505944)'))) / (select extract(epoch from '2026-08-06 16:32:07'::timestamp) - extract(epoch from '2026-08-06 16:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685532 -3.505948)'), GeomFromEWKT('SRID=4674;POINT (-38.685529 -3.505944)'))) / (select extract(epoch from '2026-08-06 16:32:07'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685528 -3.505942)', '2026-08-06 16:32:07', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685529 -3.505944)'), GeomFromEWKT('SRID=4674;POINT (-38.685528 -3.505942)'))) / (select extract(epoch from '2026-08-06 16:32:07'::timestamp) - extract(epoch from '2026-08-06 16:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685529 -3.505944)'), GeomFromEWKT('SRID=4674;POINT (-38.685528 -3.505942)'))) / (select extract(epoch from '2026-08-06 16:32:07'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.68552 -3.505941)', '2026-08-06 16:32:08', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685528 -3.505942)'), GeomFromEWKT('SRID=4674;POINT (-38.68552 -3.505941)'))) / (select extract(epoch from '2026-08-06 16:32:08'::timestamp) - extract(epoch from '2026-08-06 16:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685528 -3.505942)'), GeomFromEWKT('SRID=4674;POINT (-38.68552 -3.505941)'))) / (select extract(epoch from '2026-08-06 16:32:08'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.68552 -3.505939)', '2026-08-06 16:32:08', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68552 -3.505941)'), GeomFromEWKT('SRID=4674;POINT (-38.68552 -3.505939)'))) / (select extract(epoch from '2026-08-06 16:32:08'::timestamp) - extract(epoch from '2026-08-06 16:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68552 -3.505941)'), GeomFromEWKT('SRID=4674;POINT (-38.68552 -3.505939)'))) / (select extract(epoch from '2026-08-06 16:32:08'::timestamp) - extract(epoch from '2026-08-06 16:32:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685529 -3.505929)', '2026-08-06 16:32:08', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68552 -3.505939)'), GeomFromEWKT('SRID=4674;POINT (-38.685529 -3.505929)'))) / (select extract(epoch from '2026-08-06 16:32:08'::timestamp) - extract(epoch from '2026-08-06 16:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68552 -3.505939)'), GeomFromEWKT('SRID=4674;POINT (-38.685529 -3.505929)'))) / (select extract(epoch from '2026-08-06 16:32:08'::timestamp) - extract(epoch from '2026-08-06 16:32:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685527 -3.505931)', '2026-08-06 16:32:08', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685529 -3.505929)'), GeomFromEWKT('SRID=4674;POINT (-38.685527 -3.505931)'))) / (select extract(epoch from '2026-08-06 16:32:08'::timestamp) - extract(epoch from '2026-08-06 16:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685529 -3.505929)'), GeomFromEWKT('SRID=4674;POINT (-38.685527 -3.505931)'))) / (select extract(epoch from '2026-08-06 16:32:08'::timestamp) - extract(epoch from '2026-08-06 16:32:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68553 -3.505937)', '2026-08-06 16:32:08', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685527 -3.505931)'), GeomFromEWKT('SRID=4674;POINT (-38.68553 -3.505937)'))) / (select extract(epoch from '2026-08-06 16:32:08'::timestamp) - extract(epoch from '2026-08-06 16:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685527 -3.505931)'), GeomFromEWKT('SRID=4674;POINT (-38.68553 -3.505937)'))) / (select extract(epoch from '2026-08-06 16:32:08'::timestamp) - extract(epoch from '2026-08-06 16:32:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685531 -3.505937)', '2026-08-06 16:32:08', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68553 -3.505937)'), GeomFromEWKT('SRID=4674;POINT (-38.685531 -3.505937)'))) / (select extract(epoch from '2026-08-06 16:32:08'::timestamp) - extract(epoch from '2026-08-06 16:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68553 -3.505937)'), GeomFromEWKT('SRID=4674;POINT (-38.685531 -3.505937)'))) / (select extract(epoch from '2026-08-06 16:32:08'::timestamp) - extract(epoch from '2026-08-06 16:32:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685522 -3.505929)', '2026-08-06 16:32:08', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685531 -3.505937)'), GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505929)'))) / (select extract(epoch from '2026-08-06 16:32:08'::timestamp) - extract(epoch from '2026-08-06 16:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685531 -3.505937)'), GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505929)'))) / (select extract(epoch from '2026-08-06 16:32:08'::timestamp) - extract(epoch from '2026-08-06 16:32:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685516 -3.505929)', '2026-08-06 16:32:08', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505929)'), GeomFromEWKT('SRID=4674;POINT (-38.685516 -3.505929)'))) / (select extract(epoch from '2026-08-06 16:32:08'::timestamp) - extract(epoch from '2026-08-06 16:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505929)'), GeomFromEWKT('SRID=4674;POINT (-38.685516 -3.505929)'))) / (select extract(epoch from '2026-08-06 16:32:08'::timestamp) - extract(epoch from '2026-08-06 16:32:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685513 -3.505927)', '2026-08-06 16:32:08', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685516 -3.505929)'), GeomFromEWKT('SRID=4674;POINT (-38.685513 -3.505927)'))) / (select extract(epoch from '2026-08-06 16:32:08'::timestamp) - extract(epoch from '2026-08-06 16:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685516 -3.505929)'), GeomFromEWKT('SRID=4674;POINT (-38.685513 -3.505927)'))) / (select extract(epoch from '2026-08-06 16:32:08'::timestamp) - extract(epoch from '2026-08-06 16:32:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68552 -3.505928)', '2026-08-06 16:32:08', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685513 -3.505927)'), GeomFromEWKT('SRID=4674;POINT (-38.68552 -3.505928)'))) / (select extract(epoch from '2026-08-06 16:32:08'::timestamp) - extract(epoch from '2026-08-06 16:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685513 -3.505927)'), GeomFromEWKT('SRID=4674;POINT (-38.68552 -3.505928)'))) / (select extract(epoch from '2026-08-06 16:32:08'::timestamp) - extract(epoch from '2026-08-06 16:32:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685521 -3.505926)', '2026-08-06 16:32:08', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68552 -3.505928)'), GeomFromEWKT('SRID=4674;POINT (-38.685521 -3.505926)'))) / (select extract(epoch from '2026-08-06 16:32:08'::timestamp) - extract(epoch from '2026-08-06 16:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68552 -3.505928)'), GeomFromEWKT('SRID=4674;POINT (-38.685521 -3.505926)'))) / (select extract(epoch from '2026-08-06 16:32:08'::timestamp) - extract(epoch from '2026-08-06 16:32:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685522 -3.505926)', '2026-08-06 16:32:08', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685521 -3.505926)'), GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505926)'))) / (select extract(epoch from '2026-08-06 16:32:08'::timestamp) - extract(epoch from '2026-08-06 16:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685521 -3.505926)'), GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505926)'))) / (select extract(epoch from '2026-08-06 16:32:08'::timestamp) - extract(epoch from '2026-08-06 16:32:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68552 -3.505934)', '2026-08-06 16:32:08', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505926)'), GeomFromEWKT('SRID=4674;POINT (-38.68552 -3.505934)'))) / (select extract(epoch from '2026-08-06 16:32:08'::timestamp) - extract(epoch from '2026-08-06 16:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505926)'), GeomFromEWKT('SRID=4674;POINT (-38.68552 -3.505934)'))) / (select extract(epoch from '2026-08-06 16:32:08'::timestamp) - extract(epoch from '2026-08-06 16:32:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685522 -3.505938)', '2026-08-06 16:32:08', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68552 -3.505934)'), GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505938)'))) / (select extract(epoch from '2026-08-06 16:32:08'::timestamp) - extract(epoch from '2026-08-06 16:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68552 -3.505934)'), GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505938)'))) / (select extract(epoch from '2026-08-06 16:32:08'::timestamp) - extract(epoch from '2026-08-06 16:32:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685518 -3.505934)', '2026-08-06 16:32:08', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505938)'), GeomFromEWKT('SRID=4674;POINT (-38.685518 -3.505934)'))) / (select extract(epoch from '2026-08-06 16:32:08'::timestamp) - extract(epoch from '2026-08-06 16:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505938)'), GeomFromEWKT('SRID=4674;POINT (-38.685518 -3.505934)'))) / (select extract(epoch from '2026-08-06 16:32:08'::timestamp) - extract(epoch from '2026-08-06 16:32:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685517 -3.505935)', '2026-08-06 16:32:08', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685518 -3.505934)'), GeomFromEWKT('SRID=4674;POINT (-38.685517 -3.505935)'))) / (select extract(epoch from '2026-08-06 16:32:08'::timestamp) - extract(epoch from '2026-08-06 16:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685518 -3.505934)'), GeomFromEWKT('SRID=4674;POINT (-38.685517 -3.505935)'))) / (select extract(epoch from '2026-08-06 16:32:08'::timestamp) - extract(epoch from '2026-08-06 16:32:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685517 -3.505937)', '2026-08-06 16:32:09', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685517 -3.505935)'), GeomFromEWKT('SRID=4674;POINT (-38.685517 -3.505937)'))) / (select extract(epoch from '2026-08-06 16:32:09'::timestamp) - extract(epoch from '2026-08-06 16:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685517 -3.505935)'), GeomFromEWKT('SRID=4674;POINT (-38.685517 -3.505937)'))) / (select extract(epoch from '2026-08-06 16:32:09'::timestamp) - extract(epoch from '2026-08-06 16:32:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685522 -3.505934)', '2026-08-06 16:32:09', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685517 -3.505937)'), GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505934)'))) / (select extract(epoch from '2026-08-06 16:32:09'::timestamp) - extract(epoch from '2026-08-06 16:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685517 -3.505937)'), GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505934)'))) / (select extract(epoch from '2026-08-06 16:32:09'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685521 -3.505929)', '2026-08-06 16:32:09', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505934)'), GeomFromEWKT('SRID=4674;POINT (-38.685521 -3.505929)'))) / (select extract(epoch from '2026-08-06 16:32:09'::timestamp) - extract(epoch from '2026-08-06 16:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505934)'), GeomFromEWKT('SRID=4674;POINT (-38.685521 -3.505929)'))) / (select extract(epoch from '2026-08-06 16:32:09'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685518 -3.505929)', '2026-08-06 16:32:09', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685521 -3.505929)'), GeomFromEWKT('SRID=4674;POINT (-38.685518 -3.505929)'))) / (select extract(epoch from '2026-08-06 16:32:09'::timestamp) - extract(epoch from '2026-08-06 16:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685521 -3.505929)'), GeomFromEWKT('SRID=4674;POINT (-38.685518 -3.505929)'))) / (select extract(epoch from '2026-08-06 16:32:09'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685519 -3.505929)', '2026-08-06 16:32:09', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685518 -3.505929)'), GeomFromEWKT('SRID=4674;POINT (-38.685519 -3.505929)'))) / (select extract(epoch from '2026-08-06 16:32:09'::timestamp) - extract(epoch from '2026-08-06 16:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685518 -3.505929)'), GeomFromEWKT('SRID=4674;POINT (-38.685519 -3.505929)'))) / (select extract(epoch from '2026-08-06 16:32:09'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685519 -3.505929)', '2026-08-06 16:32:09', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685519 -3.505929)'), GeomFromEWKT('SRID=4674;POINT (-38.685519 -3.505929)'))) / (select extract(epoch from '2026-08-06 16:32:09'::timestamp) - extract(epoch from '2026-08-06 16:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685519 -3.505929)'), GeomFromEWKT('SRID=4674;POINT (-38.685519 -3.505929)'))) / (select extract(epoch from '2026-08-06 16:32:09'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685515 -3.505927)', '2026-08-06 16:32:09', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685519 -3.505929)'), GeomFromEWKT('SRID=4674;POINT (-38.685515 -3.505927)'))) / (select extract(epoch from '2026-08-06 16:32:09'::timestamp) - extract(epoch from '2026-08-06 16:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685519 -3.505929)'), GeomFromEWKT('SRID=4674;POINT (-38.685515 -3.505927)'))) / (select extract(epoch from '2026-08-06 16:32:09'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685516 -3.505914)', '2026-08-06 16:32:09', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685515 -3.505927)'), GeomFromEWKT('SRID=4674;POINT (-38.685516 -3.505914)'))) / (select extract(epoch from '2026-08-06 16:32:09'::timestamp) - extract(epoch from '2026-08-06 16:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685515 -3.505927)'), GeomFromEWKT('SRID=4674;POINT (-38.685516 -3.505914)'))) / (select extract(epoch from '2026-08-06 16:32:09'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685516 -3.505907)', '2026-08-06 16:32:09', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685516 -3.505914)'), GeomFromEWKT('SRID=4674;POINT (-38.685516 -3.505907)'))) / (select extract(epoch from '2026-08-06 16:32:09'::timestamp) - extract(epoch from '2026-08-06 16:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685516 -3.505914)'), GeomFromEWKT('SRID=4674;POINT (-38.685516 -3.505907)'))) / (select extract(epoch from '2026-08-06 16:32:09'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685514 -3.505904)', '2026-08-06 16:32:09', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685516 -3.505907)'), GeomFromEWKT('SRID=4674;POINT (-38.685514 -3.505904)'))) / (select extract(epoch from '2026-08-06 16:32:09'::timestamp) - extract(epoch from '2026-08-06 16:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685516 -3.505907)'), GeomFromEWKT('SRID=4674;POINT (-38.685514 -3.505904)'))) / (select extract(epoch from '2026-08-06 16:32:09'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685515 -3.505904)', '2026-08-06 16:32:09', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685514 -3.505904)'), GeomFromEWKT('SRID=4674;POINT (-38.685515 -3.505904)'))) / (select extract(epoch from '2026-08-06 16:32:09'::timestamp) - extract(epoch from '2026-08-06 16:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685514 -3.505904)'), GeomFromEWKT('SRID=4674;POINT (-38.685515 -3.505904)'))) / (select extract(epoch from '2026-08-06 16:32:09'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685513 -3.5059)', '2026-08-06 16:32:09', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685515 -3.505904)'), GeomFromEWKT('SRID=4674;POINT (-38.685513 -3.5059)'))) / (select extract(epoch from '2026-08-06 16:32:09'::timestamp) - extract(epoch from '2026-08-06 16:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685515 -3.505904)'), GeomFromEWKT('SRID=4674;POINT (-38.685513 -3.5059)'))) / (select extract(epoch from '2026-08-06 16:32:09'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685511 -3.505905)', '2026-08-06 16:32:09', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685513 -3.5059)'), GeomFromEWKT('SRID=4674;POINT (-38.685511 -3.505905)'))) / (select extract(epoch from '2026-08-06 16:32:09'::timestamp) - extract(epoch from '2026-08-06 16:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685513 -3.5059)'), GeomFromEWKT('SRID=4674;POINT (-38.685511 -3.505905)'))) / (select extract(epoch from '2026-08-06 16:32:09'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685513 -3.505909)', '2026-08-06 16:32:09', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685511 -3.505905)'), GeomFromEWKT('SRID=4674;POINT (-38.685513 -3.505909)'))) / (select extract(epoch from '2026-08-06 16:32:09'::timestamp) - extract(epoch from '2026-08-06 16:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685511 -3.505905)'), GeomFromEWKT('SRID=4674;POINT (-38.685513 -3.505909)'))) / (select extract(epoch from '2026-08-06 16:32:09'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685509 -3.505914)', '2026-08-06 16:32:09', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685513 -3.505909)'), GeomFromEWKT('SRID=4674;POINT (-38.685509 -3.505914)'))) / (select extract(epoch from '2026-08-06 16:32:09'::timestamp) - extract(epoch from '2026-08-06 16:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685513 -3.505909)'), GeomFromEWKT('SRID=4674;POINT (-38.685509 -3.505914)'))) / (select extract(epoch from '2026-08-06 16:32:09'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685515 -3.505912)', '2026-08-06 16:32:09', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685509 -3.505914)'), GeomFromEWKT('SRID=4674;POINT (-38.685515 -3.505912)'))) / (select extract(epoch from '2026-08-06 16:32:09'::timestamp) - extract(epoch from '2026-08-06 16:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685509 -3.505914)'), GeomFromEWKT('SRID=4674;POINT (-38.685515 -3.505912)'))) / (select extract(epoch from '2026-08-06 16:32:09'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685517 -3.505908)', '2026-08-06 16:32:10', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685515 -3.505912)'), GeomFromEWKT('SRID=4674;POINT (-38.685517 -3.505908)'))) / (select extract(epoch from '2026-08-06 16:32:10'::timestamp) - extract(epoch from '2026-08-06 16:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685515 -3.505912)'), GeomFromEWKT('SRID=4674;POINT (-38.685517 -3.505908)'))) / (select extract(epoch from '2026-08-06 16:32:10'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685514 -3.505908)', '2026-08-06 16:32:10', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685517 -3.505908)'), GeomFromEWKT('SRID=4674;POINT (-38.685514 -3.505908)'))) / (select extract(epoch from '2026-08-06 16:32:10'::timestamp) - extract(epoch from '2026-08-06 16:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685517 -3.505908)'), GeomFromEWKT('SRID=4674;POINT (-38.685514 -3.505908)'))) / (select extract(epoch from '2026-08-06 16:32:10'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685514 -3.505912)', '2026-08-06 16:32:10', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685514 -3.505908)'), GeomFromEWKT('SRID=4674;POINT (-38.685514 -3.505912)'))) / (select extract(epoch from '2026-08-06 16:32:10'::timestamp) - extract(epoch from '2026-08-06 16:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685514 -3.505908)'), GeomFromEWKT('SRID=4674;POINT (-38.685514 -3.505912)'))) / (select extract(epoch from '2026-08-06 16:32:10'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685518 -3.505911)', '2026-08-06 16:32:10', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685514 -3.505912)'), GeomFromEWKT('SRID=4674;POINT (-38.685518 -3.505911)'))) / (select extract(epoch from '2026-08-06 16:32:10'::timestamp) - extract(epoch from '2026-08-06 16:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685514 -3.505912)'), GeomFromEWKT('SRID=4674;POINT (-38.685518 -3.505911)'))) / (select extract(epoch from '2026-08-06 16:32:10'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685512 -3.505914)', '2026-08-06 16:32:10', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685518 -3.505911)'), GeomFromEWKT('SRID=4674;POINT (-38.685512 -3.505914)'))) / (select extract(epoch from '2026-08-06 16:32:10'::timestamp) - extract(epoch from '2026-08-06 16:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685518 -3.505911)'), GeomFromEWKT('SRID=4674;POINT (-38.685512 -3.505914)'))) / (select extract(epoch from '2026-08-06 16:32:10'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.68551 -3.505911)', '2026-08-06 16:32:10', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685512 -3.505914)'), GeomFromEWKT('SRID=4674;POINT (-38.68551 -3.505911)'))) / (select extract(epoch from '2026-08-06 16:32:10'::timestamp) - extract(epoch from '2026-08-06 16:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685512 -3.505914)'), GeomFromEWKT('SRID=4674;POINT (-38.68551 -3.505911)'))) / (select extract(epoch from '2026-08-06 16:32:10'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685509 -3.505905)', '2026-08-06 16:32:10', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68551 -3.505911)'), GeomFromEWKT('SRID=4674;POINT (-38.685509 -3.505905)'))) / (select extract(epoch from '2026-08-06 16:32:10'::timestamp) - extract(epoch from '2026-08-06 16:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68551 -3.505911)'), GeomFromEWKT('SRID=4674;POINT (-38.685509 -3.505905)'))) / (select extract(epoch from '2026-08-06 16:32:10'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685514 -3.505907)', '2026-08-06 16:32:10', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685509 -3.505905)'), GeomFromEWKT('SRID=4674;POINT (-38.685514 -3.505907)'))) / (select extract(epoch from '2026-08-06 16:32:10'::timestamp) - extract(epoch from '2026-08-06 16:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685509 -3.505905)'), GeomFromEWKT('SRID=4674;POINT (-38.685514 -3.505907)'))) / (select extract(epoch from '2026-08-06 16:32:10'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685516 -3.505904)', '2026-08-06 16:32:10', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685514 -3.505907)'), GeomFromEWKT('SRID=4674;POINT (-38.685516 -3.505904)'))) / (select extract(epoch from '2026-08-06 16:32:10'::timestamp) - extract(epoch from '2026-08-06 16:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685514 -3.505907)'), GeomFromEWKT('SRID=4674;POINT (-38.685516 -3.505904)'))) / (select extract(epoch from '2026-08-06 16:32:10'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685519 -3.505909)', '2026-08-06 16:32:10', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685516 -3.505904)'), GeomFromEWKT('SRID=4674;POINT (-38.685519 -3.505909)'))) / (select extract(epoch from '2026-08-06 16:32:10'::timestamp) - extract(epoch from '2026-08-06 16:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685516 -3.505904)'), GeomFromEWKT('SRID=4674;POINT (-38.685519 -3.505909)'))) / (select extract(epoch from '2026-08-06 16:32:10'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685522 -3.505915)', '2026-08-06 16:32:10', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685519 -3.505909)'), GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505915)'))) / (select extract(epoch from '2026-08-06 16:32:10'::timestamp) - extract(epoch from '2026-08-06 16:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685519 -3.505909)'), GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505915)'))) / (select extract(epoch from '2026-08-06 16:32:10'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.68552 -3.505915)', '2026-08-06 16:32:10', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505915)'), GeomFromEWKT('SRID=4674;POINT (-38.68552 -3.505915)'))) / (select extract(epoch from '2026-08-06 16:32:10'::timestamp) - extract(epoch from '2026-08-06 16:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685522 -3.505915)'), GeomFromEWKT('SRID=4674;POINT (-38.68552 -3.505915)'))) / (select extract(epoch from '2026-08-06 16:32:10'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685517 -3.505918)', '2026-08-06 16:32:10', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68552 -3.505915)'), GeomFromEWKT('SRID=4674;POINT (-38.685517 -3.505918)'))) / (select extract(epoch from '2026-08-06 16:32:10'::timestamp) - extract(epoch from '2026-08-06 16:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68552 -3.505915)'), GeomFromEWKT('SRID=4674;POINT (-38.685517 -3.505918)'))) / (select extract(epoch from '2026-08-06 16:32:10'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685525 -3.505921)', '2026-08-06 16:32:10', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685517 -3.505918)'), GeomFromEWKT('SRID=4674;POINT (-38.685525 -3.505921)'))) / (select extract(epoch from '2026-08-06 16:32:10'::timestamp) - extract(epoch from '2026-08-06 16:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685517 -3.505918)'), GeomFromEWKT('SRID=4674;POINT (-38.685525 -3.505921)'))) / (select extract(epoch from '2026-08-06 16:32:10'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685526 -3.505928)', '2026-08-06 16:32:10', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685525 -3.505921)'), GeomFromEWKT('SRID=4674;POINT (-38.685526 -3.505928)'))) / (select extract(epoch from '2026-08-06 16:32:10'::timestamp) - extract(epoch from '2026-08-06 16:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685525 -3.505921)'), GeomFromEWKT('SRID=4674;POINT (-38.685526 -3.505928)'))) / (select extract(epoch from '2026-08-06 16:32:10'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685534 -3.505942)', '2026-08-06 16:32:10', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685526 -3.505928)'), GeomFromEWKT('SRID=4674;POINT (-38.685534 -3.505942)'))) / (select extract(epoch from '2026-08-06 16:32:10'::timestamp) - extract(epoch from '2026-08-06 16:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685526 -3.505928)'), GeomFromEWKT('SRID=4674;POINT (-38.685534 -3.505942)'))) / (select extract(epoch from '2026-08-06 16:32:10'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685535 -3.50595)', '2026-08-06 16:32:11', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685534 -3.505942)'), GeomFromEWKT('SRID=4674;POINT (-38.685535 -3.50595)'))) / (select extract(epoch from '2026-08-06 16:32:11'::timestamp) - extract(epoch from '2026-08-06 16:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685534 -3.505942)'), GeomFromEWKT('SRID=4674;POINT (-38.685535 -3.50595)'))) / (select extract(epoch from '2026-08-06 16:32:11'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.68554 -3.505959)', '2026-08-06 16:32:11', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685535 -3.50595)'), GeomFromEWKT('SRID=4674;POINT (-38.68554 -3.505959)'))) / (select extract(epoch from '2026-08-06 16:32:11'::timestamp) - extract(epoch from '2026-08-06 16:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685535 -3.50595)'), GeomFromEWKT('SRID=4674;POINT (-38.68554 -3.505959)'))) / (select extract(epoch from '2026-08-06 16:32:11'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685541 -3.505962)', '2026-08-06 16:32:11', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68554 -3.505959)'), GeomFromEWKT('SRID=4674;POINT (-38.685541 -3.505962)'))) / (select extract(epoch from '2026-08-06 16:32:11'::timestamp) - extract(epoch from '2026-08-06 16:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68554 -3.505959)'), GeomFromEWKT('SRID=4674;POINT (-38.685541 -3.505962)'))) / (select extract(epoch from '2026-08-06 16:32:11'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685545 -3.505973)', '2026-08-06 16:32:11', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685541 -3.505962)'), GeomFromEWKT('SRID=4674;POINT (-38.685545 -3.505973)'))) / (select extract(epoch from '2026-08-06 16:32:11'::timestamp) - extract(epoch from '2026-08-06 16:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685541 -3.505962)'), GeomFromEWKT('SRID=4674;POINT (-38.685545 -3.505973)'))) / (select extract(epoch from '2026-08-06 16:32:11'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685552 -3.505982)', '2026-08-06 16:32:11', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685545 -3.505973)'), GeomFromEWKT('SRID=4674;POINT (-38.685552 -3.505982)'))) / (select extract(epoch from '2026-08-06 16:32:11'::timestamp) - extract(epoch from '2026-08-06 16:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685545 -3.505973)'), GeomFromEWKT('SRID=4674;POINT (-38.685552 -3.505982)'))) / (select extract(epoch from '2026-08-06 16:32:11'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685558 -3.505991)', '2026-08-06 16:32:11', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685552 -3.505982)'), GeomFromEWKT('SRID=4674;POINT (-38.685558 -3.505991)'))) / (select extract(epoch from '2026-08-06 16:32:11'::timestamp) - extract(epoch from '2026-08-06 16:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685552 -3.505982)'), GeomFromEWKT('SRID=4674;POINT (-38.685558 -3.505991)'))) / (select extract(epoch from '2026-08-06 16:32:11'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685562 -3.505992)', '2026-08-06 16:32:11', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685558 -3.505991)'), GeomFromEWKT('SRID=4674;POINT (-38.685562 -3.505992)'))) / (select extract(epoch from '2026-08-06 16:32:11'::timestamp) - extract(epoch from '2026-08-06 16:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685558 -3.505991)'), GeomFromEWKT('SRID=4674;POINT (-38.685562 -3.505992)'))) / (select extract(epoch from '2026-08-06 16:32:11'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685559 -3.50599)', '2026-08-06 16:32:11', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685562 -3.505992)'), GeomFromEWKT('SRID=4674;POINT (-38.685559 -3.50599)'))) / (select extract(epoch from '2026-08-06 16:32:11'::timestamp) - extract(epoch from '2026-08-06 16:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685562 -3.505992)'), GeomFromEWKT('SRID=4674;POINT (-38.685559 -3.50599)'))) / (select extract(epoch from '2026-08-06 16:32:11'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685566 -3.505992)', '2026-08-06 16:32:11', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685559 -3.50599)'), GeomFromEWKT('SRID=4674;POINT (-38.685566 -3.505992)'))) / (select extract(epoch from '2026-08-06 16:32:11'::timestamp) - extract(epoch from '2026-08-06 16:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685559 -3.50599)'), GeomFromEWKT('SRID=4674;POINT (-38.685566 -3.505992)'))) / (select extract(epoch from '2026-08-06 16:32:11'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685561 -3.50599)', '2026-08-06 16:32:11', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685566 -3.505992)'), GeomFromEWKT('SRID=4674;POINT (-38.685561 -3.50599)'))) / (select extract(epoch from '2026-08-06 16:32:11'::timestamp) - extract(epoch from '2026-08-06 16:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685566 -3.505992)'), GeomFromEWKT('SRID=4674;POINT (-38.685561 -3.50599)'))) / (select extract(epoch from '2026-08-06 16:32:11'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685559 -3.505988)', '2026-08-06 16:32:11', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685561 -3.50599)'), GeomFromEWKT('SRID=4674;POINT (-38.685559 -3.505988)'))) / (select extract(epoch from '2026-08-06 16:32:11'::timestamp) - extract(epoch from '2026-08-06 16:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685561 -3.50599)'), GeomFromEWKT('SRID=4674;POINT (-38.685559 -3.505988)'))) / (select extract(epoch from '2026-08-06 16:32:11'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685555 -3.505989)', '2026-08-06 16:32:11', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685559 -3.505988)'), GeomFromEWKT('SRID=4674;POINT (-38.685555 -3.505989)'))) / (select extract(epoch from '2026-08-06 16:32:11'::timestamp) - extract(epoch from '2026-08-06 16:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685559 -3.505988)'), GeomFromEWKT('SRID=4674;POINT (-38.685555 -3.505989)'))) / (select extract(epoch from '2026-08-06 16:32:11'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.68556 -3.505996)', '2026-08-06 16:32:11', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685555 -3.505989)'), GeomFromEWKT('SRID=4674;POINT (-38.68556 -3.505996)'))) / (select extract(epoch from '2026-08-06 16:32:11'::timestamp) - extract(epoch from '2026-08-06 16:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685555 -3.505989)'), GeomFromEWKT('SRID=4674;POINT (-38.68556 -3.505996)'))) / (select extract(epoch from '2026-08-06 16:32:11'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685564 -3.505998)', '2026-08-06 16:32:11', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68556 -3.505996)'), GeomFromEWKT('SRID=4674;POINT (-38.685564 -3.505998)'))) / (select extract(epoch from '2026-08-06 16:32:11'::timestamp) - extract(epoch from '2026-08-06 16:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68556 -3.505996)'), GeomFromEWKT('SRID=4674;POINT (-38.685564 -3.505998)'))) / (select extract(epoch from '2026-08-06 16:32:11'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685566 -3.506002)', '2026-08-06 16:32:11', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685564 -3.505998)'), GeomFromEWKT('SRID=4674;POINT (-38.685566 -3.506002)'))) / (select extract(epoch from '2026-08-06 16:32:11'::timestamp) - extract(epoch from '2026-08-06 16:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685564 -3.505998)'), GeomFromEWKT('SRID=4674;POINT (-38.685566 -3.506002)'))) / (select extract(epoch from '2026-08-06 16:32:11'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685569 -3.506013)', '2026-08-06 16:32:11', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685566 -3.506002)'), GeomFromEWKT('SRID=4674;POINT (-38.685569 -3.506013)'))) / (select extract(epoch from '2026-08-06 16:32:11'::timestamp) - extract(epoch from '2026-08-06 16:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685566 -3.506002)'), GeomFromEWKT('SRID=4674;POINT (-38.685569 -3.506013)'))) / (select extract(epoch from '2026-08-06 16:32:11'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685561 -3.506022)', '2026-08-06 16:32:12', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685569 -3.506013)'), GeomFromEWKT('SRID=4674;POINT (-38.685561 -3.506022)'))) / (select extract(epoch from '2026-08-06 16:32:12'::timestamp) - extract(epoch from '2026-08-06 16:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685569 -3.506013)'), GeomFromEWKT('SRID=4674;POINT (-38.685561 -3.506022)'))) / (select extract(epoch from '2026-08-06 16:32:12'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685569 -3.506024)', '2026-08-06 16:32:12', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685561 -3.506022)'), GeomFromEWKT('SRID=4674;POINT (-38.685569 -3.506024)'))) / (select extract(epoch from '2026-08-06 16:32:12'::timestamp) - extract(epoch from '2026-08-06 16:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685561 -3.506022)'), GeomFromEWKT('SRID=4674;POINT (-38.685569 -3.506024)'))) / (select extract(epoch from '2026-08-06 16:32:12'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685566 -3.50602)', '2026-08-06 16:32:12', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685569 -3.506024)'), GeomFromEWKT('SRID=4674;POINT (-38.685566 -3.50602)'))) / (select extract(epoch from '2026-08-06 16:32:12'::timestamp) - extract(epoch from '2026-08-06 16:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685569 -3.506024)'), GeomFromEWKT('SRID=4674;POINT (-38.685566 -3.50602)'))) / (select extract(epoch from '2026-08-06 16:32:12'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685571 -3.506029)', '2026-08-06 16:32:12', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685566 -3.50602)'), GeomFromEWKT('SRID=4674;POINT (-38.685571 -3.506029)'))) / (select extract(epoch from '2026-08-06 16:32:12'::timestamp) - extract(epoch from '2026-08-06 16:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685566 -3.50602)'), GeomFromEWKT('SRID=4674;POINT (-38.685571 -3.506029)'))) / (select extract(epoch from '2026-08-06 16:32:12'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685574 -3.506034)', '2026-08-06 16:32:12', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685571 -3.506029)'), GeomFromEWKT('SRID=4674;POINT (-38.685574 -3.506034)'))) / (select extract(epoch from '2026-08-06 16:32:12'::timestamp) - extract(epoch from '2026-08-06 16:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685571 -3.506029)'), GeomFromEWKT('SRID=4674;POINT (-38.685574 -3.506034)'))) / (select extract(epoch from '2026-08-06 16:32:12'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685574 -3.506022)', '2026-08-06 16:32:12', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685574 -3.506034)'), GeomFromEWKT('SRID=4674;POINT (-38.685574 -3.506022)'))) / (select extract(epoch from '2026-08-06 16:32:12'::timestamp) - extract(epoch from '2026-08-06 16:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685574 -3.506034)'), GeomFromEWKT('SRID=4674;POINT (-38.685574 -3.506022)'))) / (select extract(epoch from '2026-08-06 16:32:12'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.68557 -3.506018)', '2026-08-06 16:32:12', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685574 -3.506022)'), GeomFromEWKT('SRID=4674;POINT (-38.68557 -3.506018)'))) / (select extract(epoch from '2026-08-06 16:32:12'::timestamp) - extract(epoch from '2026-08-06 16:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685574 -3.506022)'), GeomFromEWKT('SRID=4674;POINT (-38.68557 -3.506018)'))) / (select extract(epoch from '2026-08-06 16:32:12'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685569 -3.506022)', '2026-08-06 16:32:12', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68557 -3.506018)'), GeomFromEWKT('SRID=4674;POINT (-38.685569 -3.506022)'))) / (select extract(epoch from '2026-08-06 16:32:12'::timestamp) - extract(epoch from '2026-08-06 16:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68557 -3.506018)'), GeomFromEWKT('SRID=4674;POINT (-38.685569 -3.506022)'))) / (select extract(epoch from '2026-08-06 16:32:12'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685571 -3.506021)', '2026-08-06 16:32:12', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685569 -3.506022)'), GeomFromEWKT('SRID=4674;POINT (-38.685571 -3.506021)'))) / (select extract(epoch from '2026-08-06 16:32:12'::timestamp) - extract(epoch from '2026-08-06 16:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685569 -3.506022)'), GeomFromEWKT('SRID=4674;POINT (-38.685571 -3.506021)'))) / (select extract(epoch from '2026-08-06 16:32:12'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.68557 -3.506019)', '2026-08-06 16:32:12', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685571 -3.506021)'), GeomFromEWKT('SRID=4674;POINT (-38.68557 -3.506019)'))) / (select extract(epoch from '2026-08-06 16:32:12'::timestamp) - extract(epoch from '2026-08-06 16:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685571 -3.506021)'), GeomFromEWKT('SRID=4674;POINT (-38.68557 -3.506019)'))) / (select extract(epoch from '2026-08-06 16:32:12'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685567 -3.506018)', '2026-08-06 16:32:12', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68557 -3.506019)'), GeomFromEWKT('SRID=4674;POINT (-38.685567 -3.506018)'))) / (select extract(epoch from '2026-08-06 16:32:12'::timestamp) - extract(epoch from '2026-08-06 16:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68557 -3.506019)'), GeomFromEWKT('SRID=4674;POINT (-38.685567 -3.506018)'))) / (select extract(epoch from '2026-08-06 16:32:12'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685563 -3.506019)', '2026-08-06 16:32:12', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685567 -3.506018)'), GeomFromEWKT('SRID=4674;POINT (-38.685563 -3.506019)'))) / (select extract(epoch from '2026-08-06 16:32:12'::timestamp) - extract(epoch from '2026-08-06 16:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685567 -3.506018)'), GeomFromEWKT('SRID=4674;POINT (-38.685563 -3.506019)'))) / (select extract(epoch from '2026-08-06 16:32:12'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.68557 -3.50602)', '2026-08-06 16:32:12', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685563 -3.506019)'), GeomFromEWKT('SRID=4674;POINT (-38.68557 -3.50602)'))) / (select extract(epoch from '2026-08-06 16:32:12'::timestamp) - extract(epoch from '2026-08-06 16:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685563 -3.506019)'), GeomFromEWKT('SRID=4674;POINT (-38.68557 -3.50602)'))) / (select extract(epoch from '2026-08-06 16:32:12'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685571 -3.506022)', '2026-08-06 16:32:12', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68557 -3.50602)'), GeomFromEWKT('SRID=4674;POINT (-38.685571 -3.506022)'))) / (select extract(epoch from '2026-08-06 16:32:12'::timestamp) - extract(epoch from '2026-08-06 16:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68557 -3.50602)'), GeomFromEWKT('SRID=4674;POINT (-38.685571 -3.506022)'))) / (select extract(epoch from '2026-08-06 16:32:12'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685567 -3.50602)', '2026-08-06 16:32:12', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685571 -3.506022)'), GeomFromEWKT('SRID=4674;POINT (-38.685567 -3.50602)'))) / (select extract(epoch from '2026-08-06 16:32:12'::timestamp) - extract(epoch from '2026-08-06 16:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685571 -3.506022)'), GeomFromEWKT('SRID=4674;POINT (-38.685567 -3.50602)'))) / (select extract(epoch from '2026-08-06 16:32:12'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685568 -3.506017)', '2026-08-06 16:32:12', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685567 -3.50602)'), GeomFromEWKT('SRID=4674;POINT (-38.685568 -3.506017)'))) / (select extract(epoch from '2026-08-06 16:32:12'::timestamp) - extract(epoch from '2026-08-06 16:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685567 -3.50602)'), GeomFromEWKT('SRID=4674;POINT (-38.685568 -3.506017)'))) / (select extract(epoch from '2026-08-06 16:32:12'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685571 -3.50601)', '2026-08-06 16:32:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685568 -3.506017)'), GeomFromEWKT('SRID=4674;POINT (-38.685571 -3.50601)'))) / (select extract(epoch from '2026-08-06 16:32:13'::timestamp) - extract(epoch from '2026-08-06 16:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685568 -3.506017)'), GeomFromEWKT('SRID=4674;POINT (-38.685571 -3.50601)'))) / (select extract(epoch from '2026-08-06 16:32:13'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685562 -3.506014)', '2026-08-06 16:32:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685571 -3.50601)'), GeomFromEWKT('SRID=4674;POINT (-38.685562 -3.506014)'))) / (select extract(epoch from '2026-08-06 16:32:13'::timestamp) - extract(epoch from '2026-08-06 16:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685571 -3.50601)'), GeomFromEWKT('SRID=4674;POINT (-38.685562 -3.506014)'))) / (select extract(epoch from '2026-08-06 16:32:13'::timestamp) - extract(epoch from '2026-08-06 16:32:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685565 -3.506016)', '2026-08-06 16:32:13', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685562 -3.506014)'), GeomFromEWKT('SRID=4674;POINT (-38.685565 -3.506016)'))) / (select extract(epoch from '2026-08-06 16:32:13'::timestamp) - extract(epoch from '2026-08-06 16:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685562 -3.506014)'), GeomFromEWKT('SRID=4674;POINT (-38.685565 -3.506016)'))) / (select extract(epoch from '2026-08-06 16:32:13'::timestamp) - extract(epoch from '2026-08-06 16:32:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685568 -3.506015)', '2026-08-06 16:32:13', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685565 -3.506016)'), GeomFromEWKT('SRID=4674;POINT (-38.685568 -3.506015)'))) / (select extract(epoch from '2026-08-06 16:32:13'::timestamp) - extract(epoch from '2026-08-06 16:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685565 -3.506016)'), GeomFromEWKT('SRID=4674;POINT (-38.685568 -3.506015)'))) / (select extract(epoch from '2026-08-06 16:32:13'::timestamp) - extract(epoch from '2026-08-06 16:32:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68557 -3.506028)', '2026-08-06 16:32:13', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685568 -3.506015)'), GeomFromEWKT('SRID=4674;POINT (-38.68557 -3.506028)'))) / (select extract(epoch from '2026-08-06 16:32:13'::timestamp) - extract(epoch from '2026-08-06 16:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685568 -3.506015)'), GeomFromEWKT('SRID=4674;POINT (-38.68557 -3.506028)'))) / (select extract(epoch from '2026-08-06 16:32:13'::timestamp) - extract(epoch from '2026-08-06 16:32:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685575 -3.506034)', '2026-08-06 16:32:13', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68557 -3.506028)'), GeomFromEWKT('SRID=4674;POINT (-38.685575 -3.506034)'))) / (select extract(epoch from '2026-08-06 16:32:13'::timestamp) - extract(epoch from '2026-08-06 16:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68557 -3.506028)'), GeomFromEWKT('SRID=4674;POINT (-38.685575 -3.506034)'))) / (select extract(epoch from '2026-08-06 16:32:13'::timestamp) - extract(epoch from '2026-08-06 16:32:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68557 -3.50604)', '2026-08-06 16:32:13', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685575 -3.506034)'), GeomFromEWKT('SRID=4674;POINT (-38.68557 -3.50604)'))) / (select extract(epoch from '2026-08-06 16:32:13'::timestamp) - extract(epoch from '2026-08-06 16:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685575 -3.506034)'), GeomFromEWKT('SRID=4674;POINT (-38.68557 -3.50604)'))) / (select extract(epoch from '2026-08-06 16:32:13'::timestamp) - extract(epoch from '2026-08-06 16:32:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685577 -3.506044)', '2026-08-06 16:32:13', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68557 -3.50604)'), GeomFromEWKT('SRID=4674;POINT (-38.685577 -3.506044)'))) / (select extract(epoch from '2026-08-06 16:32:13'::timestamp) - extract(epoch from '2026-08-06 16:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68557 -3.50604)'), GeomFromEWKT('SRID=4674;POINT (-38.685577 -3.506044)'))) / (select extract(epoch from '2026-08-06 16:32:13'::timestamp) - extract(epoch from '2026-08-06 16:32:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685574 -3.506044)', '2026-08-06 16:32:13', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685577 -3.506044)'), GeomFromEWKT('SRID=4674;POINT (-38.685574 -3.506044)'))) / (select extract(epoch from '2026-08-06 16:32:13'::timestamp) - extract(epoch from '2026-08-06 16:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685577 -3.506044)'), GeomFromEWKT('SRID=4674;POINT (-38.685574 -3.506044)'))) / (select extract(epoch from '2026-08-06 16:32:13'::timestamp) - extract(epoch from '2026-08-06 16:32:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685579 -3.506042)', '2026-08-06 16:32:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685574 -3.506044)'), GeomFromEWKT('SRID=4674;POINT (-38.685579 -3.506042)'))) / (select extract(epoch from '2026-08-06 16:32:13'::timestamp) - extract(epoch from '2026-08-06 16:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685574 -3.506044)'), GeomFromEWKT('SRID=4674;POINT (-38.685579 -3.506042)'))) / (select extract(epoch from '2026-08-06 16:32:13'::timestamp) - extract(epoch from '2026-08-06 16:32:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685582 -3.506058)', '2026-08-06 16:32:13', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685579 -3.506042)'), GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506058)'))) / (select extract(epoch from '2026-08-06 16:32:13'::timestamp) - extract(epoch from '2026-08-06 16:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685579 -3.506042)'), GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506058)'))) / (select extract(epoch from '2026-08-06 16:32:13'::timestamp) - extract(epoch from '2026-08-06 16:32:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68558 -3.506072)', '2026-08-06 16:32:13', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506058)'), GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506072)'))) / (select extract(epoch from '2026-08-06 16:32:13'::timestamp) - extract(epoch from '2026-08-06 16:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506058)'), GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506072)'))) / (select extract(epoch from '2026-08-06 16:32:13'::timestamp) - extract(epoch from '2026-08-06 16:32:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685589 -3.506081)', '2026-08-06 16:32:13', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506072)'), GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506081)'))) / (select extract(epoch from '2026-08-06 16:32:13'::timestamp) - extract(epoch from '2026-08-06 16:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506072)'), GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506081)'))) / (select extract(epoch from '2026-08-06 16:32:13'::timestamp) - extract(epoch from '2026-08-06 16:32:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685595 -3.506095)', '2026-08-06 16:32:13', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506081)'), GeomFromEWKT('SRID=4674;POINT (-38.685595 -3.506095)'))) / (select extract(epoch from '2026-08-06 16:32:13'::timestamp) - extract(epoch from '2026-08-06 16:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506081)'), GeomFromEWKT('SRID=4674;POINT (-38.685595 -3.506095)'))) / (select extract(epoch from '2026-08-06 16:32:13'::timestamp) - extract(epoch from '2026-08-06 16:32:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685591 -3.506087)', '2026-08-06 16:32:14', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685595 -3.506095)'), GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506087)'))) / (select extract(epoch from '2026-08-06 16:32:14'::timestamp) - extract(epoch from '2026-08-06 16:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685595 -3.506095)'), GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506087)'))) / (select extract(epoch from '2026-08-06 16:32:14'::timestamp) - extract(epoch from '2026-08-06 16:32:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685593 -3.506092)', '2026-08-06 16:32:14', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506087)'), GeomFromEWKT('SRID=4674;POINT (-38.685593 -3.506092)'))) / (select extract(epoch from '2026-08-06 16:32:14'::timestamp) - extract(epoch from '2026-08-06 16:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506087)'), GeomFromEWKT('SRID=4674;POINT (-38.685593 -3.506092)'))) / (select extract(epoch from '2026-08-06 16:32:14'::timestamp) - extract(epoch from '2026-08-06 16:32:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685589 -3.50608)', '2026-08-06 16:32:14', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685593 -3.506092)'), GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.50608)'))) / (select extract(epoch from '2026-08-06 16:32:14'::timestamp) - extract(epoch from '2026-08-06 16:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685593 -3.506092)'), GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.50608)'))) / (select extract(epoch from '2026-08-06 16:32:14'::timestamp) - extract(epoch from '2026-08-06 16:32:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685593 -3.506075)', '2026-08-06 16:32:14', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.50608)'), GeomFromEWKT('SRID=4674;POINT (-38.685593 -3.506075)'))) / (select extract(epoch from '2026-08-06 16:32:14'::timestamp) - extract(epoch from '2026-08-06 16:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.50608)'), GeomFromEWKT('SRID=4674;POINT (-38.685593 -3.506075)'))) / (select extract(epoch from '2026-08-06 16:32:14'::timestamp) - extract(epoch from '2026-08-06 16:32:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68559 -3.506086)', '2026-08-06 16:32:14', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685593 -3.506075)'), GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506086)'))) / (select extract(epoch from '2026-08-06 16:32:14'::timestamp) - extract(epoch from '2026-08-06 16:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685593 -3.506075)'), GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506086)'))) / (select extract(epoch from '2026-08-06 16:32:14'::timestamp) - extract(epoch from '2026-08-06 16:32:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685582 -3.506083)', '2026-08-06 16:32:14', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506086)'), GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506083)'))) / (select extract(epoch from '2026-08-06 16:32:14'::timestamp) - extract(epoch from '2026-08-06 16:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506086)'), GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506083)'))) / (select extract(epoch from '2026-08-06 16:32:14'::timestamp) - extract(epoch from '2026-08-06 16:32:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685582 -3.506085)', '2026-08-06 16:32:14', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506083)'), GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506085)'))) / (select extract(epoch from '2026-08-06 16:32:14'::timestamp) - extract(epoch from '2026-08-06 16:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506083)'), GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506085)'))) / (select extract(epoch from '2026-08-06 16:32:14'::timestamp) - extract(epoch from '2026-08-06 16:32:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685579 -3.506088)', '2026-08-06 16:32:14', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506085)'), GeomFromEWKT('SRID=4674;POINT (-38.685579 -3.506088)'))) / (select extract(epoch from '2026-08-06 16:32:14'::timestamp) - extract(epoch from '2026-08-06 16:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506085)'), GeomFromEWKT('SRID=4674;POINT (-38.685579 -3.506088)'))) / (select extract(epoch from '2026-08-06 16:32:14'::timestamp) - extract(epoch from '2026-08-06 16:32:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685575 -3.506079)', '2026-08-06 16:32:14', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685579 -3.506088)'), GeomFromEWKT('SRID=4674;POINT (-38.685575 -3.506079)'))) / (select extract(epoch from '2026-08-06 16:32:14'::timestamp) - extract(epoch from '2026-08-06 16:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685579 -3.506088)'), GeomFromEWKT('SRID=4674;POINT (-38.685575 -3.506079)'))) / (select extract(epoch from '2026-08-06 16:32:14'::timestamp) - extract(epoch from '2026-08-06 16:32:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685579 -3.506077)', '2026-08-06 16:32:14', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685575 -3.506079)'), GeomFromEWKT('SRID=4674;POINT (-38.685579 -3.506077)'))) / (select extract(epoch from '2026-08-06 16:32:14'::timestamp) - extract(epoch from '2026-08-06 16:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685575 -3.506079)'), GeomFromEWKT('SRID=4674;POINT (-38.685579 -3.506077)'))) / (select extract(epoch from '2026-08-06 16:32:14'::timestamp) - extract(epoch from '2026-08-06 16:32:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685578 -3.506077)', '2026-08-06 16:32:14', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685579 -3.506077)'), GeomFromEWKT('SRID=4674;POINT (-38.685578 -3.506077)'))) / (select extract(epoch from '2026-08-06 16:32:14'::timestamp) - extract(epoch from '2026-08-06 16:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685579 -3.506077)'), GeomFromEWKT('SRID=4674;POINT (-38.685578 -3.506077)'))) / (select extract(epoch from '2026-08-06 16:32:14'::timestamp) - extract(epoch from '2026-08-06 16:32:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68558 -3.506075)', '2026-08-06 16:32:14', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685578 -3.506077)'), GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506075)'))) / (select extract(epoch from '2026-08-06 16:32:14'::timestamp) - extract(epoch from '2026-08-06 16:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685578 -3.506077)'), GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506075)'))) / (select extract(epoch from '2026-08-06 16:32:14'::timestamp) - extract(epoch from '2026-08-06 16:32:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685582 -3.506075)', '2026-08-06 16:32:14', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506075)'), GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506075)'))) / (select extract(epoch from '2026-08-06 16:32:14'::timestamp) - extract(epoch from '2026-08-06 16:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506075)'), GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506075)'))) / (select extract(epoch from '2026-08-06 16:32:14'::timestamp) - extract(epoch from '2026-08-06 16:32:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685581 -3.506071)', '2026-08-06 16:32:14', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506075)'), GeomFromEWKT('SRID=4674;POINT (-38.685581 -3.506071)'))) / (select extract(epoch from '2026-08-06 16:32:14'::timestamp) - extract(epoch from '2026-08-06 16:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506075)'), GeomFromEWKT('SRID=4674;POINT (-38.685581 -3.506071)'))) / (select extract(epoch from '2026-08-06 16:32:14'::timestamp) - extract(epoch from '2026-08-06 16:32:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68558 -3.506068)', '2026-08-06 16:32:14', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685581 -3.506071)'), GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506068)'))) / (select extract(epoch from '2026-08-06 16:32:14'::timestamp) - extract(epoch from '2026-08-06 16:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685581 -3.506071)'), GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506068)'))) / (select extract(epoch from '2026-08-06 16:32:14'::timestamp) - extract(epoch from '2026-08-06 16:32:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685582 -3.506057)', '2026-08-06 16:32:15', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506068)'), GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506057)'))) / (select extract(epoch from '2026-08-06 16:32:15'::timestamp) - extract(epoch from '2026-08-06 16:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506068)'), GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506057)'))) / (select extract(epoch from '2026-08-06 16:32:15'::timestamp) - extract(epoch from '2026-08-06 16:32:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685579 -3.506067)', '2026-08-06 16:32:15', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506057)'), GeomFromEWKT('SRID=4674;POINT (-38.685579 -3.506067)'))) / (select extract(epoch from '2026-08-06 16:32:15'::timestamp) - extract(epoch from '2026-08-06 16:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506057)'), GeomFromEWKT('SRID=4674;POINT (-38.685579 -3.506067)'))) / (select extract(epoch from '2026-08-06 16:32:15'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685585 -3.506065)', '2026-08-06 16:32:15', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685579 -3.506067)'), GeomFromEWKT('SRID=4674;POINT (-38.685585 -3.506065)'))) / (select extract(epoch from '2026-08-06 16:32:15'::timestamp) - extract(epoch from '2026-08-06 16:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685579 -3.506067)'), GeomFromEWKT('SRID=4674;POINT (-38.685585 -3.506065)'))) / (select extract(epoch from '2026-08-06 16:32:15'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685577 -3.506055)', '2026-08-06 16:32:15', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685585 -3.506065)'), GeomFromEWKT('SRID=4674;POINT (-38.685577 -3.506055)'))) / (select extract(epoch from '2026-08-06 16:32:15'::timestamp) - extract(epoch from '2026-08-06 16:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685585 -3.506065)'), GeomFromEWKT('SRID=4674;POINT (-38.685577 -3.506055)'))) / (select extract(epoch from '2026-08-06 16:32:15'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685574 -3.506057)', '2026-08-06 16:32:15', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685577 -3.506055)'), GeomFromEWKT('SRID=4674;POINT (-38.685574 -3.506057)'))) / (select extract(epoch from '2026-08-06 16:32:15'::timestamp) - extract(epoch from '2026-08-06 16:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685577 -3.506055)'), GeomFromEWKT('SRID=4674;POINT (-38.685574 -3.506057)'))) / (select extract(epoch from '2026-08-06 16:32:15'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685576 -3.506065)', '2026-08-06 16:32:15', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685574 -3.506057)'), GeomFromEWKT('SRID=4674;POINT (-38.685576 -3.506065)'))) / (select extract(epoch from '2026-08-06 16:32:15'::timestamp) - extract(epoch from '2026-08-06 16:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685574 -3.506057)'), GeomFromEWKT('SRID=4674;POINT (-38.685576 -3.506065)'))) / (select extract(epoch from '2026-08-06 16:32:15'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685581 -3.506079)', '2026-08-06 16:32:15', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685576 -3.506065)'), GeomFromEWKT('SRID=4674;POINT (-38.685581 -3.506079)'))) / (select extract(epoch from '2026-08-06 16:32:15'::timestamp) - extract(epoch from '2026-08-06 16:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685576 -3.506065)'), GeomFromEWKT('SRID=4674;POINT (-38.685581 -3.506079)'))) / (select extract(epoch from '2026-08-06 16:32:15'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.68558 -3.506076)', '2026-08-06 16:32:15', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685581 -3.506079)'), GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506076)'))) / (select extract(epoch from '2026-08-06 16:32:15'::timestamp) - extract(epoch from '2026-08-06 16:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685581 -3.506079)'), GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506076)'))) / (select extract(epoch from '2026-08-06 16:32:15'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685575 -3.506071)', '2026-08-06 16:32:15', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506076)'), GeomFromEWKT('SRID=4674;POINT (-38.685575 -3.506071)'))) / (select extract(epoch from '2026-08-06 16:32:15'::timestamp) - extract(epoch from '2026-08-06 16:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506076)'), GeomFromEWKT('SRID=4674;POINT (-38.685575 -3.506071)'))) / (select extract(epoch from '2026-08-06 16:32:15'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685574 -3.506074)', '2026-08-06 16:32:15', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685575 -3.506071)'), GeomFromEWKT('SRID=4674;POINT (-38.685574 -3.506074)'))) / (select extract(epoch from '2026-08-06 16:32:15'::timestamp) - extract(epoch from '2026-08-06 16:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685575 -3.506071)'), GeomFromEWKT('SRID=4674;POINT (-38.685574 -3.506074)'))) / (select extract(epoch from '2026-08-06 16:32:15'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685576 -3.506071)', '2026-08-06 16:32:15', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685574 -3.506074)'), GeomFromEWKT('SRID=4674;POINT (-38.685576 -3.506071)'))) / (select extract(epoch from '2026-08-06 16:32:15'::timestamp) - extract(epoch from '2026-08-06 16:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685574 -3.506074)'), GeomFromEWKT('SRID=4674;POINT (-38.685576 -3.506071)'))) / (select extract(epoch from '2026-08-06 16:32:15'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685575 -3.506067)', '2026-08-06 16:32:15', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685576 -3.506071)'), GeomFromEWKT('SRID=4674;POINT (-38.685575 -3.506067)'))) / (select extract(epoch from '2026-08-06 16:32:15'::timestamp) - extract(epoch from '2026-08-06 16:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685576 -3.506071)'), GeomFromEWKT('SRID=4674;POINT (-38.685575 -3.506067)'))) / (select extract(epoch from '2026-08-06 16:32:15'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685582 -3.506071)', '2026-08-06 16:32:15', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685575 -3.506067)'), GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506071)'))) / (select extract(epoch from '2026-08-06 16:32:15'::timestamp) - extract(epoch from '2026-08-06 16:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685575 -3.506067)'), GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506071)'))) / (select extract(epoch from '2026-08-06 16:32:15'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685577 -3.506074)', '2026-08-06 16:32:15', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506071)'), GeomFromEWKT('SRID=4674;POINT (-38.685577 -3.506074)'))) / (select extract(epoch from '2026-08-06 16:32:15'::timestamp) - extract(epoch from '2026-08-06 16:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506071)'), GeomFromEWKT('SRID=4674;POINT (-38.685577 -3.506074)'))) / (select extract(epoch from '2026-08-06 16:32:15'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685581 -3.506074)', '2026-08-06 16:32:15', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685577 -3.506074)'), GeomFromEWKT('SRID=4674;POINT (-38.685581 -3.506074)'))) / (select extract(epoch from '2026-08-06 16:32:15'::timestamp) - extract(epoch from '2026-08-06 16:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685577 -3.506074)'), GeomFromEWKT('SRID=4674;POINT (-38.685581 -3.506074)'))) / (select extract(epoch from '2026-08-06 16:32:15'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.68558 -3.506068)', '2026-08-06 16:32:15', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685581 -3.506074)'), GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506068)'))) / (select extract(epoch from '2026-08-06 16:32:15'::timestamp) - extract(epoch from '2026-08-06 16:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685581 -3.506074)'), GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506068)'))) / (select extract(epoch from '2026-08-06 16:32:15'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685582 -3.506068)', '2026-08-06 16:32:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506068)'), GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506068)'))) / (select extract(epoch from '2026-08-06 16:32:16'::timestamp) - extract(epoch from '2026-08-06 16:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506068)'), GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506068)'))) / (select extract(epoch from '2026-08-06 16:32:16'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685583 -3.506072)', '2026-08-06 16:32:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506068)'), GeomFromEWKT('SRID=4674;POINT (-38.685583 -3.506072)'))) / (select extract(epoch from '2026-08-06 16:32:16'::timestamp) - extract(epoch from '2026-08-06 16:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506068)'), GeomFromEWKT('SRID=4674;POINT (-38.685583 -3.506072)'))) / (select extract(epoch from '2026-08-06 16:32:16'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685587 -3.506073)', '2026-08-06 16:32:16', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685583 -3.506072)'), GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.506073)'))) / (select extract(epoch from '2026-08-06 16:32:16'::timestamp) - extract(epoch from '2026-08-06 16:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685583 -3.506072)'), GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.506073)'))) / (select extract(epoch from '2026-08-06 16:32:16'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685585 -3.506068)', '2026-08-06 16:32:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.506073)'), GeomFromEWKT('SRID=4674;POINT (-38.685585 -3.506068)'))) / (select extract(epoch from '2026-08-06 16:32:16'::timestamp) - extract(epoch from '2026-08-06 16:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.506073)'), GeomFromEWKT('SRID=4674;POINT (-38.685585 -3.506068)'))) / (select extract(epoch from '2026-08-06 16:32:16'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685585 -3.50606)', '2026-08-06 16:32:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685585 -3.506068)'), GeomFromEWKT('SRID=4674;POINT (-38.685585 -3.50606)'))) / (select extract(epoch from '2026-08-06 16:32:16'::timestamp) - extract(epoch from '2026-08-06 16:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685585 -3.506068)'), GeomFromEWKT('SRID=4674;POINT (-38.685585 -3.50606)'))) / (select extract(epoch from '2026-08-06 16:32:16'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685588 -3.506062)', '2026-08-06 16:32:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685585 -3.50606)'), GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506062)'))) / (select extract(epoch from '2026-08-06 16:32:16'::timestamp) - extract(epoch from '2026-08-06 16:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685585 -3.50606)'), GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506062)'))) / (select extract(epoch from '2026-08-06 16:32:16'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685583 -3.506062)', '2026-08-06 16:32:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506062)'), GeomFromEWKT('SRID=4674;POINT (-38.685583 -3.506062)'))) / (select extract(epoch from '2026-08-06 16:32:16'::timestamp) - extract(epoch from '2026-08-06 16:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506062)'), GeomFromEWKT('SRID=4674;POINT (-38.685583 -3.506062)'))) / (select extract(epoch from '2026-08-06 16:32:16'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685589 -3.506064)', '2026-08-06 16:32:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685583 -3.506062)'), GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506064)'))) / (select extract(epoch from '2026-08-06 16:32:16'::timestamp) - extract(epoch from '2026-08-06 16:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685583 -3.506062)'), GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506064)'))) / (select extract(epoch from '2026-08-06 16:32:16'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685583 -3.506066)', '2026-08-06 16:32:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506064)'), GeomFromEWKT('SRID=4674;POINT (-38.685583 -3.506066)'))) / (select extract(epoch from '2026-08-06 16:32:16'::timestamp) - extract(epoch from '2026-08-06 16:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506064)'), GeomFromEWKT('SRID=4674;POINT (-38.685583 -3.506066)'))) / (select extract(epoch from '2026-08-06 16:32:16'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685584 -3.506065)', '2026-08-06 16:32:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685583 -3.506066)'), GeomFromEWKT('SRID=4674;POINT (-38.685584 -3.506065)'))) / (select extract(epoch from '2026-08-06 16:32:16'::timestamp) - extract(epoch from '2026-08-06 16:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685583 -3.506066)'), GeomFromEWKT('SRID=4674;POINT (-38.685584 -3.506065)'))) / (select extract(epoch from '2026-08-06 16:32:16'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685591 -3.506071)', '2026-08-06 16:32:16', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685584 -3.506065)'), GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506071)'))) / (select extract(epoch from '2026-08-06 16:32:16'::timestamp) - extract(epoch from '2026-08-06 16:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685584 -3.506065)'), GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506071)'))) / (select extract(epoch from '2026-08-06 16:32:16'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685582 -3.506073)', '2026-08-06 16:32:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506071)'), GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506073)'))) / (select extract(epoch from '2026-08-06 16:32:16'::timestamp) - extract(epoch from '2026-08-06 16:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506071)'), GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506073)'))) / (select extract(epoch from '2026-08-06 16:32:16'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685587 -3.506076)', '2026-08-06 16:32:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506073)'), GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.506076)'))) / (select extract(epoch from '2026-08-06 16:32:16'::timestamp) - extract(epoch from '2026-08-06 16:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506073)'), GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.506076)'))) / (select extract(epoch from '2026-08-06 16:32:16'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685585 -3.506073)', '2026-08-06 16:32:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.506076)'), GeomFromEWKT('SRID=4674;POINT (-38.685585 -3.506073)'))) / (select extract(epoch from '2026-08-06 16:32:16'::timestamp) - extract(epoch from '2026-08-06 16:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.506076)'), GeomFromEWKT('SRID=4674;POINT (-38.685585 -3.506073)'))) / (select extract(epoch from '2026-08-06 16:32:16'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.68558 -3.506075)', '2026-08-06 16:32:16', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685585 -3.506073)'), GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506075)'))) / (select extract(epoch from '2026-08-06 16:32:16'::timestamp) - extract(epoch from '2026-08-06 16:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685585 -3.506073)'), GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506075)'))) / (select extract(epoch from '2026-08-06 16:32:16'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685583 -3.506075)', '2026-08-06 16:32:16', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506075)'), GeomFromEWKT('SRID=4674;POINT (-38.685583 -3.506075)'))) / (select extract(epoch from '2026-08-06 16:32:16'::timestamp) - extract(epoch from '2026-08-06 16:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506075)'), GeomFromEWKT('SRID=4674;POINT (-38.685583 -3.506075)'))) / (select extract(epoch from '2026-08-06 16:32:16'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685589 -3.506072)', '2026-08-06 16:32:16', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685583 -3.506075)'), GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506072)'))) / (select extract(epoch from '2026-08-06 16:32:16'::timestamp) - extract(epoch from '2026-08-06 16:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685583 -3.506075)'), GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506072)'))) / (select extract(epoch from '2026-08-06 16:32:16'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685582 -3.506066)', '2026-08-06 16:32:17', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506072)'), GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506066)'))) / (select extract(epoch from '2026-08-06 16:32:17'::timestamp) - extract(epoch from '2026-08-06 16:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506072)'), GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506066)'))) / (select extract(epoch from '2026-08-06 16:32:17'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685585 -3.506069)', '2026-08-06 16:32:17', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506066)'), GeomFromEWKT('SRID=4674;POINT (-38.685585 -3.506069)'))) / (select extract(epoch from '2026-08-06 16:32:17'::timestamp) - extract(epoch from '2026-08-06 16:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506066)'), GeomFromEWKT('SRID=4674;POINT (-38.685585 -3.506069)'))) / (select extract(epoch from '2026-08-06 16:32:17'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.68559 -3.506079)', '2026-08-06 16:32:17', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685585 -3.506069)'), GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506079)'))) / (select extract(epoch from '2026-08-06 16:32:17'::timestamp) - extract(epoch from '2026-08-06 16:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685585 -3.506069)'), GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506079)'))) / (select extract(epoch from '2026-08-06 16:32:17'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.68559 -3.506085)', '2026-08-06 16:32:17', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506079)'), GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506085)'))) / (select extract(epoch from '2026-08-06 16:32:17'::timestamp) - extract(epoch from '2026-08-06 16:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506079)'), GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506085)'))) / (select extract(epoch from '2026-08-06 16:32:17'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685588 -3.506083)', '2026-08-06 16:32:17', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506085)'), GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506083)'))) / (select extract(epoch from '2026-08-06 16:32:17'::timestamp) - extract(epoch from '2026-08-06 16:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506085)'), GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506083)'))) / (select extract(epoch from '2026-08-06 16:32:17'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685589 -3.506075)', '2026-08-06 16:32:17', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506083)'), GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506075)'))) / (select extract(epoch from '2026-08-06 16:32:17'::timestamp) - extract(epoch from '2026-08-06 16:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506083)'), GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506075)'))) / (select extract(epoch from '2026-08-06 16:32:17'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685586 -3.506068)', '2026-08-06 16:32:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506075)'), GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506068)'))) / (select extract(epoch from '2026-08-06 16:32:17'::timestamp) - extract(epoch from '2026-08-06 16:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506075)'), GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506068)'))) / (select extract(epoch from '2026-08-06 16:32:17'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685584 -3.506071)', '2026-08-06 16:32:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506068)'), GeomFromEWKT('SRID=4674;POINT (-38.685584 -3.506071)'))) / (select extract(epoch from '2026-08-06 16:32:17'::timestamp) - extract(epoch from '2026-08-06 16:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506068)'), GeomFromEWKT('SRID=4674;POINT (-38.685584 -3.506071)'))) / (select extract(epoch from '2026-08-06 16:32:17'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685584 -3.506072)', '2026-08-06 16:32:17', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685584 -3.506071)'), GeomFromEWKT('SRID=4674;POINT (-38.685584 -3.506072)'))) / (select extract(epoch from '2026-08-06 16:32:17'::timestamp) - extract(epoch from '2026-08-06 16:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685584 -3.506071)'), GeomFromEWKT('SRID=4674;POINT (-38.685584 -3.506072)'))) / (select extract(epoch from '2026-08-06 16:32:17'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685591 -3.506074)', '2026-08-06 16:32:17', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685584 -3.506072)'), GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506074)'))) / (select extract(epoch from '2026-08-06 16:32:17'::timestamp) - extract(epoch from '2026-08-06 16:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685584 -3.506072)'), GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506074)'))) / (select extract(epoch from '2026-08-06 16:32:17'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685589 -3.506074)', '2026-08-06 16:32:17', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506074)'), GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506074)'))) / (select extract(epoch from '2026-08-06 16:32:17'::timestamp) - extract(epoch from '2026-08-06 16:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506074)'), GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506074)'))) / (select extract(epoch from '2026-08-06 16:32:17'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685594 -3.506079)', '2026-08-06 16:32:17', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506074)'), GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506079)'))) / (select extract(epoch from '2026-08-06 16:32:17'::timestamp) - extract(epoch from '2026-08-06 16:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506074)'), GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506079)'))) / (select extract(epoch from '2026-08-06 16:32:17'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685591 -3.506081)', '2026-08-06 16:32:17', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506079)'), GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506081)'))) / (select extract(epoch from '2026-08-06 16:32:17'::timestamp) - extract(epoch from '2026-08-06 16:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506079)'), GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506081)'))) / (select extract(epoch from '2026-08-06 16:32:17'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685592 -3.506079)', '2026-08-06 16:32:17', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506081)'), GeomFromEWKT('SRID=4674;POINT (-38.685592 -3.506079)'))) / (select extract(epoch from '2026-08-06 16:32:17'::timestamp) - extract(epoch from '2026-08-06 16:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506081)'), GeomFromEWKT('SRID=4674;POINT (-38.685592 -3.506079)'))) / (select extract(epoch from '2026-08-06 16:32:17'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685595 -3.506077)', '2026-08-06 16:32:17', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685592 -3.506079)'), GeomFromEWKT('SRID=4674;POINT (-38.685595 -3.506077)'))) / (select extract(epoch from '2026-08-06 16:32:17'::timestamp) - extract(epoch from '2026-08-06 16:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685592 -3.506079)'), GeomFromEWKT('SRID=4674;POINT (-38.685595 -3.506077)'))) / (select extract(epoch from '2026-08-06 16:32:17'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685594 -3.506081)', '2026-08-06 16:32:17', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685595 -3.506077)'), GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506081)'))) / (select extract(epoch from '2026-08-06 16:32:17'::timestamp) - extract(epoch from '2026-08-06 16:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685595 -3.506077)'), GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506081)'))) / (select extract(epoch from '2026-08-06 16:32:17'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.68559 -3.506088)', '2026-08-06 16:32:18', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506081)'), GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506088)'))) / (select extract(epoch from '2026-08-06 16:32:18'::timestamp) - extract(epoch from '2026-08-06 16:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506081)'), GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506088)'))) / (select extract(epoch from '2026-08-06 16:32:18'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685588 -3.506091)', '2026-08-06 16:32:18', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506088)'), GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506091)'))) / (select extract(epoch from '2026-08-06 16:32:18'::timestamp) - extract(epoch from '2026-08-06 16:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506088)'), GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506091)'))) / (select extract(epoch from '2026-08-06 16:32:18'::timestamp) - extract(epoch from '2026-08-06 16:32:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685594 -3.506084)', '2026-08-06 16:32:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506091)'), GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506084)'))) / (select extract(epoch from '2026-08-06 16:32:18'::timestamp) - extract(epoch from '2026-08-06 16:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506091)'), GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506084)'))) / (select extract(epoch from '2026-08-06 16:32:18'::timestamp) - extract(epoch from '2026-08-06 16:32:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68559 -3.506088)', '2026-08-06 16:32:18', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506084)'), GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506088)'))) / (select extract(epoch from '2026-08-06 16:32:18'::timestamp) - extract(epoch from '2026-08-06 16:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506084)'), GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506088)'))) / (select extract(epoch from '2026-08-06 16:32:18'::timestamp) - extract(epoch from '2026-08-06 16:32:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685598 -3.50609)', '2026-08-06 16:32:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506088)'), GeomFromEWKT('SRID=4674;POINT (-38.685598 -3.50609)'))) / (select extract(epoch from '2026-08-06 16:32:18'::timestamp) - extract(epoch from '2026-08-06 16:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506088)'), GeomFromEWKT('SRID=4674;POINT (-38.685598 -3.50609)'))) / (select extract(epoch from '2026-08-06 16:32:18'::timestamp) - extract(epoch from '2026-08-06 16:32:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685594 -3.506091)', '2026-08-06 16:32:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685598 -3.50609)'), GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506091)'))) / (select extract(epoch from '2026-08-06 16:32:18'::timestamp) - extract(epoch from '2026-08-06 16:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685598 -3.50609)'), GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506091)'))) / (select extract(epoch from '2026-08-06 16:32:18'::timestamp) - extract(epoch from '2026-08-06 16:32:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685589 -3.506081)', '2026-08-06 16:32:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506091)'), GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506081)'))) / (select extract(epoch from '2026-08-06 16:32:18'::timestamp) - extract(epoch from '2026-08-06 16:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506091)'), GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506081)'))) / (select extract(epoch from '2026-08-06 16:32:18'::timestamp) - extract(epoch from '2026-08-06 16:32:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685588 -3.506077)', '2026-08-06 16:32:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506081)'), GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506077)'))) / (select extract(epoch from '2026-08-06 16:32:18'::timestamp) - extract(epoch from '2026-08-06 16:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506081)'), GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506077)'))) / (select extract(epoch from '2026-08-06 16:32:18'::timestamp) - extract(epoch from '2026-08-06 16:32:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685588 -3.506081)', '2026-08-06 16:32:18', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506077)'), GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506081)'))) / (select extract(epoch from '2026-08-06 16:32:18'::timestamp) - extract(epoch from '2026-08-06 16:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506077)'), GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506081)'))) / (select extract(epoch from '2026-08-06 16:32:18'::timestamp) - extract(epoch from '2026-08-06 16:32:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68559 -3.506086)', '2026-08-06 16:32:18', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506081)'), GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506086)'))) / (select extract(epoch from '2026-08-06 16:32:18'::timestamp) - extract(epoch from '2026-08-06 16:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506081)'), GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506086)'))) / (select extract(epoch from '2026-08-06 16:32:18'::timestamp) - extract(epoch from '2026-08-06 16:32:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685588 -3.506085)', '2026-08-06 16:32:18', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506086)'), GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506085)'))) / (select extract(epoch from '2026-08-06 16:32:18'::timestamp) - extract(epoch from '2026-08-06 16:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506086)'), GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506085)'))) / (select extract(epoch from '2026-08-06 16:32:18'::timestamp) - extract(epoch from '2026-08-06 16:32:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685589 -3.506083)', '2026-08-06 16:32:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506085)'), GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506083)'))) / (select extract(epoch from '2026-08-06 16:32:18'::timestamp) - extract(epoch from '2026-08-06 16:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506085)'), GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506083)'))) / (select extract(epoch from '2026-08-06 16:32:18'::timestamp) - extract(epoch from '2026-08-06 16:32:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685596 -3.506085)', '2026-08-06 16:32:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506083)'), GeomFromEWKT('SRID=4674;POINT (-38.685596 -3.506085)'))) / (select extract(epoch from '2026-08-06 16:32:18'::timestamp) - extract(epoch from '2026-08-06 16:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506083)'), GeomFromEWKT('SRID=4674;POINT (-38.685596 -3.506085)'))) / (select extract(epoch from '2026-08-06 16:32:18'::timestamp) - extract(epoch from '2026-08-06 16:32:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685592 -3.506091)', '2026-08-06 16:32:18', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685596 -3.506085)'), GeomFromEWKT('SRID=4674;POINT (-38.685592 -3.506091)'))) / (select extract(epoch from '2026-08-06 16:32:18'::timestamp) - extract(epoch from '2026-08-06 16:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685596 -3.506085)'), GeomFromEWKT('SRID=4674;POINT (-38.685592 -3.506091)'))) / (select extract(epoch from '2026-08-06 16:32:18'::timestamp) - extract(epoch from '2026-08-06 16:32:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685592 -3.506087)', '2026-08-06 16:32:18', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685592 -3.506091)'), GeomFromEWKT('SRID=4674;POINT (-38.685592 -3.506087)'))) / (select extract(epoch from '2026-08-06 16:32:18'::timestamp) - extract(epoch from '2026-08-06 16:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685592 -3.506091)'), GeomFromEWKT('SRID=4674;POINT (-38.685592 -3.506087)'))) / (select extract(epoch from '2026-08-06 16:32:18'::timestamp) - extract(epoch from '2026-08-06 16:32:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685593 -3.506088)', '2026-08-06 16:32:18', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685592 -3.506087)'), GeomFromEWKT('SRID=4674;POINT (-38.685593 -3.506088)'))) / (select extract(epoch from '2026-08-06 16:32:18'::timestamp) - extract(epoch from '2026-08-06 16:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685592 -3.506087)'), GeomFromEWKT('SRID=4674;POINT (-38.685593 -3.506088)'))) / (select extract(epoch from '2026-08-06 16:32:18'::timestamp) - extract(epoch from '2026-08-06 16:32:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68559 -3.506085)', '2026-08-06 16:32:18', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685593 -3.506088)'), GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506085)'))) / (select extract(epoch from '2026-08-06 16:32:18'::timestamp) - extract(epoch from '2026-08-06 16:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685593 -3.506088)'), GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506085)'))) / (select extract(epoch from '2026-08-06 16:32:18'::timestamp) - extract(epoch from '2026-08-06 16:32:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685592 -3.506091)', '2026-08-06 16:32:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506085)'), GeomFromEWKT('SRID=4674;POINT (-38.685592 -3.506091)'))) / (select extract(epoch from '2026-08-06 16:32:19'::timestamp) - extract(epoch from '2026-08-06 16:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506085)'), GeomFromEWKT('SRID=4674;POINT (-38.685592 -3.506091)'))) / (select extract(epoch from '2026-08-06 16:32:19'::timestamp) - extract(epoch from '2026-08-06 16:32:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685597 -3.506097)', '2026-08-06 16:32:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685592 -3.506091)'), GeomFromEWKT('SRID=4674;POINT (-38.685597 -3.506097)'))) / (select extract(epoch from '2026-08-06 16:32:19'::timestamp) - extract(epoch from '2026-08-06 16:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685592 -3.506091)'), GeomFromEWKT('SRID=4674;POINT (-38.685597 -3.506097)'))) / (select extract(epoch from '2026-08-06 16:32:19'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685596 -3.506094)', '2026-08-06 16:32:19', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685597 -3.506097)'), GeomFromEWKT('SRID=4674;POINT (-38.685596 -3.506094)'))) / (select extract(epoch from '2026-08-06 16:32:19'::timestamp) - extract(epoch from '2026-08-06 16:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685597 -3.506097)'), GeomFromEWKT('SRID=4674;POINT (-38.685596 -3.506094)'))) / (select extract(epoch from '2026-08-06 16:32:19'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.68559 -3.506088)', '2026-08-06 16:32:19', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685596 -3.506094)'), GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506088)'))) / (select extract(epoch from '2026-08-06 16:32:19'::timestamp) - extract(epoch from '2026-08-06 16:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685596 -3.506094)'), GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506088)'))) / (select extract(epoch from '2026-08-06 16:32:19'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685591 -3.506085)', '2026-08-06 16:32:19', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506088)'), GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506085)'))) / (select extract(epoch from '2026-08-06 16:32:19'::timestamp) - extract(epoch from '2026-08-06 16:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506088)'), GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506085)'))) / (select extract(epoch from '2026-08-06 16:32:19'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685588 -3.506083)', '2026-08-06 16:32:19', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506085)'), GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506083)'))) / (select extract(epoch from '2026-08-06 16:32:19'::timestamp) - extract(epoch from '2026-08-06 16:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506085)'), GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506083)'))) / (select extract(epoch from '2026-08-06 16:32:19'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685591 -3.506086)', '2026-08-06 16:32:19', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506083)'), GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506086)'))) / (select extract(epoch from '2026-08-06 16:32:19'::timestamp) - extract(epoch from '2026-08-06 16:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506083)'), GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506086)'))) / (select extract(epoch from '2026-08-06 16:32:19'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685586 -3.506086)', '2026-08-06 16:32:19', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506086)'), GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506086)'))) / (select extract(epoch from '2026-08-06 16:32:19'::timestamp) - extract(epoch from '2026-08-06 16:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506086)'), GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506086)'))) / (select extract(epoch from '2026-08-06 16:32:19'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685586 -3.506079)', '2026-08-06 16:32:19', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506086)'), GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506079)'))) / (select extract(epoch from '2026-08-06 16:32:19'::timestamp) - extract(epoch from '2026-08-06 16:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506086)'), GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506079)'))) / (select extract(epoch from '2026-08-06 16:32:19'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685584 -3.506081)', '2026-08-06 16:32:19', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506079)'), GeomFromEWKT('SRID=4674;POINT (-38.685584 -3.506081)'))) / (select extract(epoch from '2026-08-06 16:32:19'::timestamp) - extract(epoch from '2026-08-06 16:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506079)'), GeomFromEWKT('SRID=4674;POINT (-38.685584 -3.506081)'))) / (select extract(epoch from '2026-08-06 16:32:19'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685585 -3.506093)', '2026-08-06 16:32:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685584 -3.506081)'), GeomFromEWKT('SRID=4674;POINT (-38.685585 -3.506093)'))) / (select extract(epoch from '2026-08-06 16:32:19'::timestamp) - extract(epoch from '2026-08-06 16:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685584 -3.506081)'), GeomFromEWKT('SRID=4674;POINT (-38.685585 -3.506093)'))) / (select extract(epoch from '2026-08-06 16:32:19'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685577 -3.506087)', '2026-08-06 16:32:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685585 -3.506093)'), GeomFromEWKT('SRID=4674;POINT (-38.685577 -3.506087)'))) / (select extract(epoch from '2026-08-06 16:32:19'::timestamp) - extract(epoch from '2026-08-06 16:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685585 -3.506093)'), GeomFromEWKT('SRID=4674;POINT (-38.685577 -3.506087)'))) / (select extract(epoch from '2026-08-06 16:32:19'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685579 -3.506087)', '2026-08-06 16:32:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685577 -3.506087)'), GeomFromEWKT('SRID=4674;POINT (-38.685579 -3.506087)'))) / (select extract(epoch from '2026-08-06 16:32:19'::timestamp) - extract(epoch from '2026-08-06 16:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685577 -3.506087)'), GeomFromEWKT('SRID=4674;POINT (-38.685579 -3.506087)'))) / (select extract(epoch from '2026-08-06 16:32:19'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.68558 -3.506089)', '2026-08-06 16:32:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685579 -3.506087)'), GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506089)'))) / (select extract(epoch from '2026-08-06 16:32:19'::timestamp) - extract(epoch from '2026-08-06 16:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685579 -3.506087)'), GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506089)'))) / (select extract(epoch from '2026-08-06 16:32:19'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685584 -3.506092)', '2026-08-06 16:32:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506089)'), GeomFromEWKT('SRID=4674;POINT (-38.685584 -3.506092)'))) / (select extract(epoch from '2026-08-06 16:32:19'::timestamp) - extract(epoch from '2026-08-06 16:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506089)'), GeomFromEWKT('SRID=4674;POINT (-38.685584 -3.506092)'))) / (select extract(epoch from '2026-08-06 16:32:19'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685583 -3.506088)', '2026-08-06 16:32:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685584 -3.506092)'), GeomFromEWKT('SRID=4674;POINT (-38.685583 -3.506088)'))) / (select extract(epoch from '2026-08-06 16:32:19'::timestamp) - extract(epoch from '2026-08-06 16:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685584 -3.506092)'), GeomFromEWKT('SRID=4674;POINT (-38.685583 -3.506088)'))) / (select extract(epoch from '2026-08-06 16:32:19'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685586 -3.506089)', '2026-08-06 16:32:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685583 -3.506088)'), GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506089)'))) / (select extract(epoch from '2026-08-06 16:32:20'::timestamp) - extract(epoch from '2026-08-06 16:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685583 -3.506088)'), GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506089)'))) / (select extract(epoch from '2026-08-06 16:32:20'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685589 -3.50609)', '2026-08-06 16:32:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506089)'), GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.50609)'))) / (select extract(epoch from '2026-08-06 16:32:20'::timestamp) - extract(epoch from '2026-08-06 16:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506089)'), GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.50609)'))) / (select extract(epoch from '2026-08-06 16:32:20'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685588 -3.506085)', '2026-08-06 16:32:20', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.50609)'), GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506085)'))) / (select extract(epoch from '2026-08-06 16:32:20'::timestamp) - extract(epoch from '2026-08-06 16:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.50609)'), GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506085)'))) / (select extract(epoch from '2026-08-06 16:32:20'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685594 -3.506079)', '2026-08-06 16:32:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506085)'), GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506079)'))) / (select extract(epoch from '2026-08-06 16:32:20'::timestamp) - extract(epoch from '2026-08-06 16:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506085)'), GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506079)'))) / (select extract(epoch from '2026-08-06 16:32:20'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685593 -3.506076)', '2026-08-06 16:32:20', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506079)'), GeomFromEWKT('SRID=4674;POINT (-38.685593 -3.506076)'))) / (select extract(epoch from '2026-08-06 16:32:20'::timestamp) - extract(epoch from '2026-08-06 16:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506079)'), GeomFromEWKT('SRID=4674;POINT (-38.685593 -3.506076)'))) / (select extract(epoch from '2026-08-06 16:32:20'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685585 -3.506072)', '2026-08-06 16:32:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685593 -3.506076)'), GeomFromEWKT('SRID=4674;POINT (-38.685585 -3.506072)'))) / (select extract(epoch from '2026-08-06 16:32:20'::timestamp) - extract(epoch from '2026-08-06 16:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685593 -3.506076)'), GeomFromEWKT('SRID=4674;POINT (-38.685585 -3.506072)'))) / (select extract(epoch from '2026-08-06 16:32:20'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685589 -3.50607)', '2026-08-06 16:32:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685585 -3.506072)'), GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.50607)'))) / (select extract(epoch from '2026-08-06 16:32:20'::timestamp) - extract(epoch from '2026-08-06 16:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685585 -3.506072)'), GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.50607)'))) / (select extract(epoch from '2026-08-06 16:32:20'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685583 -3.506062)', '2026-08-06 16:32:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.50607)'), GeomFromEWKT('SRID=4674;POINT (-38.685583 -3.506062)'))) / (select extract(epoch from '2026-08-06 16:32:20'::timestamp) - extract(epoch from '2026-08-06 16:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.50607)'), GeomFromEWKT('SRID=4674;POINT (-38.685583 -3.506062)'))) / (select extract(epoch from '2026-08-06 16:32:20'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685579 -3.506061)', '2026-08-06 16:32:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685583 -3.506062)'), GeomFromEWKT('SRID=4674;POINT (-38.685579 -3.506061)'))) / (select extract(epoch from '2026-08-06 16:32:20'::timestamp) - extract(epoch from '2026-08-06 16:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685583 -3.506062)'), GeomFromEWKT('SRID=4674;POINT (-38.685579 -3.506061)'))) / (select extract(epoch from '2026-08-06 16:32:20'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685575 -3.506061)', '2026-08-06 16:32:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685579 -3.506061)'), GeomFromEWKT('SRID=4674;POINT (-38.685575 -3.506061)'))) / (select extract(epoch from '2026-08-06 16:32:20'::timestamp) - extract(epoch from '2026-08-06 16:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685579 -3.506061)'), GeomFromEWKT('SRID=4674;POINT (-38.685575 -3.506061)'))) / (select extract(epoch from '2026-08-06 16:32:20'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685581 -3.506064)', '2026-08-06 16:32:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685575 -3.506061)'), GeomFromEWKT('SRID=4674;POINT (-38.685581 -3.506064)'))) / (select extract(epoch from '2026-08-06 16:32:20'::timestamp) - extract(epoch from '2026-08-06 16:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685575 -3.506061)'), GeomFromEWKT('SRID=4674;POINT (-38.685581 -3.506064)'))) / (select extract(epoch from '2026-08-06 16:32:20'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.68558 -3.506073)', '2026-08-06 16:32:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685581 -3.506064)'), GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506073)'))) / (select extract(epoch from '2026-08-06 16:32:20'::timestamp) - extract(epoch from '2026-08-06 16:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685581 -3.506064)'), GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506073)'))) / (select extract(epoch from '2026-08-06 16:32:20'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685581 -3.506078)', '2026-08-06 16:32:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506073)'), GeomFromEWKT('SRID=4674;POINT (-38.685581 -3.506078)'))) / (select extract(epoch from '2026-08-06 16:32:20'::timestamp) - extract(epoch from '2026-08-06 16:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506073)'), GeomFromEWKT('SRID=4674;POINT (-38.685581 -3.506078)'))) / (select extract(epoch from '2026-08-06 16:32:20'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685586 -3.506084)', '2026-08-06 16:32:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685581 -3.506078)'), GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506084)'))) / (select extract(epoch from '2026-08-06 16:32:20'::timestamp) - extract(epoch from '2026-08-06 16:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685581 -3.506078)'), GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506084)'))) / (select extract(epoch from '2026-08-06 16:32:20'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685583 -3.506081)', '2026-08-06 16:32:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506084)'), GeomFromEWKT('SRID=4674;POINT (-38.685583 -3.506081)'))) / (select extract(epoch from '2026-08-06 16:32:20'::timestamp) - extract(epoch from '2026-08-06 16:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506084)'), GeomFromEWKT('SRID=4674;POINT (-38.685583 -3.506081)'))) / (select extract(epoch from '2026-08-06 16:32:20'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.68558 -3.506073)', '2026-08-06 16:32:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685583 -3.506081)'), GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506073)'))) / (select extract(epoch from '2026-08-06 16:32:20'::timestamp) - extract(epoch from '2026-08-06 16:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685583 -3.506081)'), GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506073)'))) / (select extract(epoch from '2026-08-06 16:32:20'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685579 -3.506071)', '2026-08-06 16:32:21', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506073)'), GeomFromEWKT('SRID=4674;POINT (-38.685579 -3.506071)'))) / (select extract(epoch from '2026-08-06 16:32:21'::timestamp) - extract(epoch from '2026-08-06 16:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506073)'), GeomFromEWKT('SRID=4674;POINT (-38.685579 -3.506071)'))) / (select extract(epoch from '2026-08-06 16:32:21'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.68558 -3.506073)', '2026-08-06 16:32:21', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685579 -3.506071)'), GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506073)'))) / (select extract(epoch from '2026-08-06 16:32:21'::timestamp) - extract(epoch from '2026-08-06 16:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685579 -3.506071)'), GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506073)'))) / (select extract(epoch from '2026-08-06 16:32:21'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685589 -3.506078)', '2026-08-06 16:32:21', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506073)'), GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506078)'))) / (select extract(epoch from '2026-08-06 16:32:21'::timestamp) - extract(epoch from '2026-08-06 16:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68558 -3.506073)'), GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506078)'))) / (select extract(epoch from '2026-08-06 16:32:21'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685587 -3.50607)', '2026-08-06 16:32:21', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506078)'), GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.50607)'))) / (select extract(epoch from '2026-08-06 16:32:21'::timestamp) - extract(epoch from '2026-08-06 16:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506078)'), GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.50607)'))) / (select extract(epoch from '2026-08-06 16:32:21'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685589 -3.506086)', '2026-08-06 16:32:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.50607)'), GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506086)'))) / (select extract(epoch from '2026-08-06 16:32:21'::timestamp) - extract(epoch from '2026-08-06 16:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.50607)'), GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506086)'))) / (select extract(epoch from '2026-08-06 16:32:21'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685587 -3.506086)', '2026-08-06 16:32:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506086)'), GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.506086)'))) / (select extract(epoch from '2026-08-06 16:32:21'::timestamp) - extract(epoch from '2026-08-06 16:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506086)'), GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.506086)'))) / (select extract(epoch from '2026-08-06 16:32:21'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.68559 -3.506094)', '2026-08-06 16:32:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.506086)'), GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506094)'))) / (select extract(epoch from '2026-08-06 16:32:21'::timestamp) - extract(epoch from '2026-08-06 16:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.506086)'), GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506094)'))) / (select extract(epoch from '2026-08-06 16:32:21'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685594 -3.506096)', '2026-08-06 16:32:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506094)'), GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506096)'))) / (select extract(epoch from '2026-08-06 16:32:21'::timestamp) - extract(epoch from '2026-08-06 16:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506094)'), GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506096)'))) / (select extract(epoch from '2026-08-06 16:32:21'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685596 -3.506091)', '2026-08-06 16:32:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506096)'), GeomFromEWKT('SRID=4674;POINT (-38.685596 -3.506091)'))) / (select extract(epoch from '2026-08-06 16:32:21'::timestamp) - extract(epoch from '2026-08-06 16:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506096)'), GeomFromEWKT('SRID=4674;POINT (-38.685596 -3.506091)'))) / (select extract(epoch from '2026-08-06 16:32:21'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.68559 -3.506093)', '2026-08-06 16:32:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685596 -3.506091)'), GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506093)'))) / (select extract(epoch from '2026-08-06 16:32:21'::timestamp) - extract(epoch from '2026-08-06 16:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685596 -3.506091)'), GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506093)'))) / (select extract(epoch from '2026-08-06 16:32:21'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685591 -3.506095)', '2026-08-06 16:32:21', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506093)'), GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506095)'))) / (select extract(epoch from '2026-08-06 16:32:21'::timestamp) - extract(epoch from '2026-08-06 16:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506093)'), GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506095)'))) / (select extract(epoch from '2026-08-06 16:32:21'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685589 -3.506091)', '2026-08-06 16:32:21', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506095)'), GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506091)'))) / (select extract(epoch from '2026-08-06 16:32:21'::timestamp) - extract(epoch from '2026-08-06 16:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506095)'), GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506091)'))) / (select extract(epoch from '2026-08-06 16:32:21'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685587 -3.506088)', '2026-08-06 16:32:21', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506091)'), GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.506088)'))) / (select extract(epoch from '2026-08-06 16:32:21'::timestamp) - extract(epoch from '2026-08-06 16:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506091)'), GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.506088)'))) / (select extract(epoch from '2026-08-06 16:32:21'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685585 -3.506088)', '2026-08-06 16:32:21', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.506088)'), GeomFromEWKT('SRID=4674;POINT (-38.685585 -3.506088)'))) / (select extract(epoch from '2026-08-06 16:32:21'::timestamp) - extract(epoch from '2026-08-06 16:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.506088)'), GeomFromEWKT('SRID=4674;POINT (-38.685585 -3.506088)'))) / (select extract(epoch from '2026-08-06 16:32:21'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685585 -3.506089)', '2026-08-06 16:32:21', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685585 -3.506088)'), GeomFromEWKT('SRID=4674;POINT (-38.685585 -3.506089)'))) / (select extract(epoch from '2026-08-06 16:32:21'::timestamp) - extract(epoch from '2026-08-06 16:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685585 -3.506088)'), GeomFromEWKT('SRID=4674;POINT (-38.685585 -3.506089)'))) / (select extract(epoch from '2026-08-06 16:32:21'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685587 -3.506092)', '2026-08-06 16:32:21', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685585 -3.506089)'), GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.506092)'))) / (select extract(epoch from '2026-08-06 16:32:21'::timestamp) - extract(epoch from '2026-08-06 16:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685585 -3.506089)'), GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.506092)'))) / (select extract(epoch from '2026-08-06 16:32:21'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685588 -3.506091)', '2026-08-06 16:32:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.506092)'), GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506091)'))) / (select extract(epoch from '2026-08-06 16:32:22'::timestamp) - extract(epoch from '2026-08-06 16:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.506092)'), GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506091)'))) / (select extract(epoch from '2026-08-06 16:32:22'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685587 -3.506091)', '2026-08-06 16:32:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506091)'), GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.506091)'))) / (select extract(epoch from '2026-08-06 16:32:22'::timestamp) - extract(epoch from '2026-08-06 16:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506091)'), GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.506091)'))) / (select extract(epoch from '2026-08-06 16:32:22'::timestamp) - extract(epoch from '2026-08-06 16:32:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685592 -3.506096)', '2026-08-06 16:32:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.506091)'), GeomFromEWKT('SRID=4674;POINT (-38.685592 -3.506096)'))) / (select extract(epoch from '2026-08-06 16:32:22'::timestamp) - extract(epoch from '2026-08-06 16:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.506091)'), GeomFromEWKT('SRID=4674;POINT (-38.685592 -3.506096)'))) / (select extract(epoch from '2026-08-06 16:32:22'::timestamp) - extract(epoch from '2026-08-06 16:32:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685591 -3.506089)', '2026-08-06 16:32:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685592 -3.506096)'), GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506089)'))) / (select extract(epoch from '2026-08-06 16:32:22'::timestamp) - extract(epoch from '2026-08-06 16:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685592 -3.506096)'), GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506089)'))) / (select extract(epoch from '2026-08-06 16:32:22'::timestamp) - extract(epoch from '2026-08-06 16:32:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685591 -3.506089)', '2026-08-06 16:32:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506089)'), GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506089)'))) / (select extract(epoch from '2026-08-06 16:32:22'::timestamp) - extract(epoch from '2026-08-06 16:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506089)'), GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506089)'))) / (select extract(epoch from '2026-08-06 16:32:22'::timestamp) - extract(epoch from '2026-08-06 16:32:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685592 -3.506091)', '2026-08-06 16:32:22', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506089)'), GeomFromEWKT('SRID=4674;POINT (-38.685592 -3.506091)'))) / (select extract(epoch from '2026-08-06 16:32:22'::timestamp) - extract(epoch from '2026-08-06 16:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506089)'), GeomFromEWKT('SRID=4674;POINT (-38.685592 -3.506091)'))) / (select extract(epoch from '2026-08-06 16:32:22'::timestamp) - extract(epoch from '2026-08-06 16:32:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685588 -3.506094)', '2026-08-06 16:32:22', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685592 -3.506091)'), GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506094)'))) / (select extract(epoch from '2026-08-06 16:32:22'::timestamp) - extract(epoch from '2026-08-06 16:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685592 -3.506091)'), GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506094)'))) / (select extract(epoch from '2026-08-06 16:32:22'::timestamp) - extract(epoch from '2026-08-06 16:32:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685582 -3.506096)', '2026-08-06 16:32:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506094)'), GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506096)'))) / (select extract(epoch from '2026-08-06 16:32:22'::timestamp) - extract(epoch from '2026-08-06 16:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506094)'), GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506096)'))) / (select extract(epoch from '2026-08-06 16:32:22'::timestamp) - extract(epoch from '2026-08-06 16:32:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685582 -3.506095)', '2026-08-06 16:32:22', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506096)'), GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506095)'))) / (select extract(epoch from '2026-08-06 16:32:22'::timestamp) - extract(epoch from '2026-08-06 16:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506096)'), GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506095)'))) / (select extract(epoch from '2026-08-06 16:32:22'::timestamp) - extract(epoch from '2026-08-06 16:32:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685588 -3.506101)', '2026-08-06 16:32:22', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506095)'), GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506101)'))) / (select extract(epoch from '2026-08-06 16:32:22'::timestamp) - extract(epoch from '2026-08-06 16:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685582 -3.506095)'), GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506101)'))) / (select extract(epoch from '2026-08-06 16:32:22'::timestamp) - extract(epoch from '2026-08-06 16:32:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685586 -3.506109)', '2026-08-06 16:32:22', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506101)'), GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506109)'))) / (select extract(epoch from '2026-08-06 16:32:22'::timestamp) - extract(epoch from '2026-08-06 16:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506101)'), GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506109)'))) / (select extract(epoch from '2026-08-06 16:32:22'::timestamp) - extract(epoch from '2026-08-06 16:32:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685587 -3.50611)', '2026-08-06 16:32:22', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506109)'), GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.50611)'))) / (select extract(epoch from '2026-08-06 16:32:22'::timestamp) - extract(epoch from '2026-08-06 16:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506109)'), GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.50611)'))) / (select extract(epoch from '2026-08-06 16:32:22'::timestamp) - extract(epoch from '2026-08-06 16:32:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685587 -3.506109)', '2026-08-06 16:32:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.50611)'), GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.506109)'))) / (select extract(epoch from '2026-08-06 16:32:22'::timestamp) - extract(epoch from '2026-08-06 16:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.50611)'), GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.506109)'))) / (select extract(epoch from '2026-08-06 16:32:22'::timestamp) - extract(epoch from '2026-08-06 16:32:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685588 -3.50611)', '2026-08-06 16:32:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.506109)'), GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.50611)'))) / (select extract(epoch from '2026-08-06 16:32:22'::timestamp) - extract(epoch from '2026-08-06 16:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.506109)'), GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.50611)'))) / (select extract(epoch from '2026-08-06 16:32:22'::timestamp) - extract(epoch from '2026-08-06 16:32:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685591 -3.50611)', '2026-08-06 16:32:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.50611)'), GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.50611)'))) / (select extract(epoch from '2026-08-06 16:32:22'::timestamp) - extract(epoch from '2026-08-06 16:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.50611)'), GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.50611)'))) / (select extract(epoch from '2026-08-06 16:32:22'::timestamp) - extract(epoch from '2026-08-06 16:32:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685593 -3.506108)', '2026-08-06 16:32:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.50611)'), GeomFromEWKT('SRID=4674;POINT (-38.685593 -3.506108)'))) / (select extract(epoch from '2026-08-06 16:32:22'::timestamp) - extract(epoch from '2026-08-06 16:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.50611)'), GeomFromEWKT('SRID=4674;POINT (-38.685593 -3.506108)'))) / (select extract(epoch from '2026-08-06 16:32:22'::timestamp) - extract(epoch from '2026-08-06 16:32:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685595 -3.506105)', '2026-08-06 16:32:22', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685593 -3.506108)'), GeomFromEWKT('SRID=4674;POINT (-38.685595 -3.506105)'))) / (select extract(epoch from '2026-08-06 16:32:22'::timestamp) - extract(epoch from '2026-08-06 16:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685593 -3.506108)'), GeomFromEWKT('SRID=4674;POINT (-38.685595 -3.506105)'))) / (select extract(epoch from '2026-08-06 16:32:22'::timestamp) - extract(epoch from '2026-08-06 16:32:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68559 -3.506096)', '2026-08-06 16:32:23', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685595 -3.506105)'), GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506096)'))) / (select extract(epoch from '2026-08-06 16:32:23'::timestamp) - extract(epoch from '2026-08-06 16:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685595 -3.506105)'), GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506096)'))) / (select extract(epoch from '2026-08-06 16:32:23'::timestamp) - extract(epoch from '2026-08-06 16:32:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68559 -3.506092)', '2026-08-06 16:32:23', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506096)'), GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506092)'))) / (select extract(epoch from '2026-08-06 16:32:23'::timestamp) - extract(epoch from '2026-08-06 16:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506096)'), GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506092)'))) / (select extract(epoch from '2026-08-06 16:32:23'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685593 -3.506098)', '2026-08-06 16:32:23', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506092)'), GeomFromEWKT('SRID=4674;POINT (-38.685593 -3.506098)'))) / (select extract(epoch from '2026-08-06 16:32:23'::timestamp) - extract(epoch from '2026-08-06 16:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506092)'), GeomFromEWKT('SRID=4674;POINT (-38.685593 -3.506098)'))) / (select extract(epoch from '2026-08-06 16:32:23'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685598 -3.506103)', '2026-08-06 16:32:23', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685593 -3.506098)'), GeomFromEWKT('SRID=4674;POINT (-38.685598 -3.506103)'))) / (select extract(epoch from '2026-08-06 16:32:23'::timestamp) - extract(epoch from '2026-08-06 16:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685593 -3.506098)'), GeomFromEWKT('SRID=4674;POINT (-38.685598 -3.506103)'))) / (select extract(epoch from '2026-08-06 16:32:23'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685592 -3.506111)', '2026-08-06 16:32:23', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685598 -3.506103)'), GeomFromEWKT('SRID=4674;POINT (-38.685592 -3.506111)'))) / (select extract(epoch from '2026-08-06 16:32:23'::timestamp) - extract(epoch from '2026-08-06 16:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685598 -3.506103)'), GeomFromEWKT('SRID=4674;POINT (-38.685592 -3.506111)'))) / (select extract(epoch from '2026-08-06 16:32:23'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685601 -3.506116)', '2026-08-06 16:32:23', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685592 -3.506111)'), GeomFromEWKT('SRID=4674;POINT (-38.685601 -3.506116)'))) / (select extract(epoch from '2026-08-06 16:32:23'::timestamp) - extract(epoch from '2026-08-06 16:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685592 -3.506111)'), GeomFromEWKT('SRID=4674;POINT (-38.685601 -3.506116)'))) / (select extract(epoch from '2026-08-06 16:32:23'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685606 -3.50612)', '2026-08-06 16:32:23', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685601 -3.506116)'), GeomFromEWKT('SRID=4674;POINT (-38.685606 -3.50612)'))) / (select extract(epoch from '2026-08-06 16:32:23'::timestamp) - extract(epoch from '2026-08-06 16:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685601 -3.506116)'), GeomFromEWKT('SRID=4674;POINT (-38.685606 -3.50612)'))) / (select extract(epoch from '2026-08-06 16:32:23'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685604 -3.506121)', '2026-08-06 16:32:23', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685606 -3.50612)'), GeomFromEWKT('SRID=4674;POINT (-38.685604 -3.506121)'))) / (select extract(epoch from '2026-08-06 16:32:23'::timestamp) - extract(epoch from '2026-08-06 16:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685606 -3.50612)'), GeomFromEWKT('SRID=4674;POINT (-38.685604 -3.506121)'))) / (select extract(epoch from '2026-08-06 16:32:23'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685603 -3.506118)', '2026-08-06 16:32:23', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685604 -3.506121)'), GeomFromEWKT('SRID=4674;POINT (-38.685603 -3.506118)'))) / (select extract(epoch from '2026-08-06 16:32:23'::timestamp) - extract(epoch from '2026-08-06 16:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685604 -3.506121)'), GeomFromEWKT('SRID=4674;POINT (-38.685603 -3.506118)'))) / (select extract(epoch from '2026-08-06 16:32:23'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685603 -3.506116)', '2026-08-06 16:32:23', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685603 -3.506118)'), GeomFromEWKT('SRID=4674;POINT (-38.685603 -3.506116)'))) / (select extract(epoch from '2026-08-06 16:32:23'::timestamp) - extract(epoch from '2026-08-06 16:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685603 -3.506118)'), GeomFromEWKT('SRID=4674;POINT (-38.685603 -3.506116)'))) / (select extract(epoch from '2026-08-06 16:32:23'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685607 -3.506115)', '2026-08-06 16:32:23', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685603 -3.506116)'), GeomFromEWKT('SRID=4674;POINT (-38.685607 -3.506115)'))) / (select extract(epoch from '2026-08-06 16:32:23'::timestamp) - extract(epoch from '2026-08-06 16:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685603 -3.506116)'), GeomFromEWKT('SRID=4674;POINT (-38.685607 -3.506115)'))) / (select extract(epoch from '2026-08-06 16:32:23'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685605 -3.506117)', '2026-08-06 16:32:23', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685607 -3.506115)'), GeomFromEWKT('SRID=4674;POINT (-38.685605 -3.506117)'))) / (select extract(epoch from '2026-08-06 16:32:23'::timestamp) - extract(epoch from '2026-08-06 16:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685607 -3.506115)'), GeomFromEWKT('SRID=4674;POINT (-38.685605 -3.506117)'))) / (select extract(epoch from '2026-08-06 16:32:23'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685604 -3.506124)', '2026-08-06 16:32:23', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685605 -3.506117)'), GeomFromEWKT('SRID=4674;POINT (-38.685604 -3.506124)'))) / (select extract(epoch from '2026-08-06 16:32:23'::timestamp) - extract(epoch from '2026-08-06 16:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685605 -3.506117)'), GeomFromEWKT('SRID=4674;POINT (-38.685604 -3.506124)'))) / (select extract(epoch from '2026-08-06 16:32:23'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685605 -3.506116)', '2026-08-06 16:32:23', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685604 -3.506124)'), GeomFromEWKT('SRID=4674;POINT (-38.685605 -3.506116)'))) / (select extract(epoch from '2026-08-06 16:32:23'::timestamp) - extract(epoch from '2026-08-06 16:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685604 -3.506124)'), GeomFromEWKT('SRID=4674;POINT (-38.685605 -3.506116)'))) / (select extract(epoch from '2026-08-06 16:32:23'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685601 -3.506108)', '2026-08-06 16:32:23', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685605 -3.506116)'), GeomFromEWKT('SRID=4674;POINT (-38.685601 -3.506108)'))) / (select extract(epoch from '2026-08-06 16:32:23'::timestamp) - extract(epoch from '2026-08-06 16:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685605 -3.506116)'), GeomFromEWKT('SRID=4674;POINT (-38.685601 -3.506108)'))) / (select extract(epoch from '2026-08-06 16:32:23'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685599 -3.506105)', '2026-08-06 16:32:23', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685601 -3.506108)'), GeomFromEWKT('SRID=4674;POINT (-38.685599 -3.506105)'))) / (select extract(epoch from '2026-08-06 16:32:23'::timestamp) - extract(epoch from '2026-08-06 16:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685601 -3.506108)'), GeomFromEWKT('SRID=4674;POINT (-38.685599 -3.506105)'))) / (select extract(epoch from '2026-08-06 16:32:23'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685602 -3.506111)', '2026-08-06 16:32:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685599 -3.506105)'), GeomFromEWKT('SRID=4674;POINT (-38.685602 -3.506111)'))) / (select extract(epoch from '2026-08-06 16:32:24'::timestamp) - extract(epoch from '2026-08-06 16:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685599 -3.506105)'), GeomFromEWKT('SRID=4674;POINT (-38.685602 -3.506111)'))) / (select extract(epoch from '2026-08-06 16:32:24'::timestamp) - extract(epoch from '2026-08-06 16:32: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'), 48121, 'SRID=4674;POINT (-38.685595 -3.506114)', '2026-08-06 16:32:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685602 -3.506111)'), GeomFromEWKT('SRID=4674;POINT (-38.685595 -3.506114)'))) / (select extract(epoch from '2026-08-06 16:32:24'::timestamp) - extract(epoch from '2026-08-06 16:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685602 -3.506111)'), GeomFromEWKT('SRID=4674;POINT (-38.685595 -3.506114)'))) / (select extract(epoch from '2026-08-06 16:32:24'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685599 -3.506116)', '2026-08-06 16:32:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685595 -3.506114)'), GeomFromEWKT('SRID=4674;POINT (-38.685599 -3.506116)'))) / (select extract(epoch from '2026-08-06 16:32:24'::timestamp) - extract(epoch from '2026-08-06 16:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685595 -3.506114)'), GeomFromEWKT('SRID=4674;POINT (-38.685599 -3.506116)'))) / (select extract(epoch from '2026-08-06 16:32:24'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.6856 -3.506115)', '2026-08-06 16:32:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685599 -3.506116)'), GeomFromEWKT('SRID=4674;POINT (-38.6856 -3.506115)'))) / (select extract(epoch from '2026-08-06 16:32:24'::timestamp) - extract(epoch from '2026-08-06 16:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685599 -3.506116)'), GeomFromEWKT('SRID=4674;POINT (-38.6856 -3.506115)'))) / (select extract(epoch from '2026-08-06 16:32:24'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.6856 -3.506108)', '2026-08-06 16:32:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6856 -3.506115)'), GeomFromEWKT('SRID=4674;POINT (-38.6856 -3.506108)'))) / (select extract(epoch from '2026-08-06 16:32:24'::timestamp) - extract(epoch from '2026-08-06 16:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6856 -3.506115)'), GeomFromEWKT('SRID=4674;POINT (-38.6856 -3.506108)'))) / (select extract(epoch from '2026-08-06 16:32:24'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685606 -3.50611)', '2026-08-06 16:32:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6856 -3.506108)'), GeomFromEWKT('SRID=4674;POINT (-38.685606 -3.50611)'))) / (select extract(epoch from '2026-08-06 16:32:24'::timestamp) - extract(epoch from '2026-08-06 16:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6856 -3.506108)'), GeomFromEWKT('SRID=4674;POINT (-38.685606 -3.50611)'))) / (select extract(epoch from '2026-08-06 16:32:24'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685599 -3.506106)', '2026-08-06 16:32:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685606 -3.50611)'), GeomFromEWKT('SRID=4674;POINT (-38.685599 -3.506106)'))) / (select extract(epoch from '2026-08-06 16:32:24'::timestamp) - extract(epoch from '2026-08-06 16:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685606 -3.50611)'), GeomFromEWKT('SRID=4674;POINT (-38.685599 -3.506106)'))) / (select extract(epoch from '2026-08-06 16:32:24'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685599 -3.506107)', '2026-08-06 16:32:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685599 -3.506106)'), GeomFromEWKT('SRID=4674;POINT (-38.685599 -3.506107)'))) / (select extract(epoch from '2026-08-06 16:32:24'::timestamp) - extract(epoch from '2026-08-06 16:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685599 -3.506106)'), GeomFromEWKT('SRID=4674;POINT (-38.685599 -3.506107)'))) / (select extract(epoch from '2026-08-06 16:32:24'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685606 -3.50611)', '2026-08-06 16:32:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685599 -3.506107)'), GeomFromEWKT('SRID=4674;POINT (-38.685606 -3.50611)'))) / (select extract(epoch from '2026-08-06 16:32:24'::timestamp) - extract(epoch from '2026-08-06 16:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685599 -3.506107)'), GeomFromEWKT('SRID=4674;POINT (-38.685606 -3.50611)'))) / (select extract(epoch from '2026-08-06 16:32:24'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.6856 -3.506115)', '2026-08-06 16:32:24', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685606 -3.50611)'), GeomFromEWKT('SRID=4674;POINT (-38.6856 -3.506115)'))) / (select extract(epoch from '2026-08-06 16:32:24'::timestamp) - extract(epoch from '2026-08-06 16:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685606 -3.50611)'), GeomFromEWKT('SRID=4674;POINT (-38.6856 -3.506115)'))) / (select extract(epoch from '2026-08-06 16:32:24'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685597 -3.506115)', '2026-08-06 16:32:24', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6856 -3.506115)'), GeomFromEWKT('SRID=4674;POINT (-38.685597 -3.506115)'))) / (select extract(epoch from '2026-08-06 16:32:24'::timestamp) - extract(epoch from '2026-08-06 16:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6856 -3.506115)'), GeomFromEWKT('SRID=4674;POINT (-38.685597 -3.506115)'))) / (select extract(epoch from '2026-08-06 16:32:24'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685601 -3.506119)', '2026-08-06 16:32:24', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685597 -3.506115)'), GeomFromEWKT('SRID=4674;POINT (-38.685601 -3.506119)'))) / (select extract(epoch from '2026-08-06 16:32:24'::timestamp) - extract(epoch from '2026-08-06 16:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685597 -3.506115)'), GeomFromEWKT('SRID=4674;POINT (-38.685601 -3.506119)'))) / (select extract(epoch from '2026-08-06 16:32:24'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685597 -3.506122)', '2026-08-06 16:32:24', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685601 -3.506119)'), GeomFromEWKT('SRID=4674;POINT (-38.685597 -3.506122)'))) / (select extract(epoch from '2026-08-06 16:32:24'::timestamp) - extract(epoch from '2026-08-06 16:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685601 -3.506119)'), GeomFromEWKT('SRID=4674;POINT (-38.685597 -3.506122)'))) / (select extract(epoch from '2026-08-06 16:32:24'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685598 -3.506114)', '2026-08-06 16:32:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685597 -3.506122)'), GeomFromEWKT('SRID=4674;POINT (-38.685598 -3.506114)'))) / (select extract(epoch from '2026-08-06 16:32:24'::timestamp) - extract(epoch from '2026-08-06 16:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685597 -3.506122)'), GeomFromEWKT('SRID=4674;POINT (-38.685598 -3.506114)'))) / (select extract(epoch from '2026-08-06 16:32:24'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685598 -3.506109)', '2026-08-06 16:32:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685598 -3.506114)'), GeomFromEWKT('SRID=4674;POINT (-38.685598 -3.506109)'))) / (select extract(epoch from '2026-08-06 16:32:24'::timestamp) - extract(epoch from '2026-08-06 16:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685598 -3.506114)'), GeomFromEWKT('SRID=4674;POINT (-38.685598 -3.506109)'))) / (select extract(epoch from '2026-08-06 16:32:24'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685596 -3.506103)', '2026-08-06 16:32:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685598 -3.506109)'), GeomFromEWKT('SRID=4674;POINT (-38.685596 -3.506103)'))) / (select extract(epoch from '2026-08-06 16:32:24'::timestamp) - extract(epoch from '2026-08-06 16:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685598 -3.506109)'), GeomFromEWKT('SRID=4674;POINT (-38.685596 -3.506103)'))) / (select extract(epoch from '2026-08-06 16:32:24'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685591 -3.506097)', '2026-08-06 16:32:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685596 -3.506103)'), GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506097)'))) / (select extract(epoch from '2026-08-06 16:32:24'::timestamp) - extract(epoch from '2026-08-06 16:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685596 -3.506103)'), GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506097)'))) / (select extract(epoch from '2026-08-06 16:32:24'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685586 -3.506095)', '2026-08-06 16:32:25', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506097)'), GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506095)'))) / (select extract(epoch from '2026-08-06 16:32:25'::timestamp) - extract(epoch from '2026-08-06 16:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506097)'), GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506095)'))) / (select extract(epoch from '2026-08-06 16:32:25'::timestamp) - extract(epoch from '2026-08-06 16: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'), 48121, 'SRID=4674;POINT (-38.685586 -3.506095)', '2026-08-06 16:32:25', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506095)'), GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506095)'))) / (select extract(epoch from '2026-08-06 16:32:25'::timestamp) - extract(epoch from '2026-08-06 16:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506095)'), GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506095)'))) / (select extract(epoch from '2026-08-06 16:32:25'::timestamp) - extract(epoch from '2026-08-06 16:32:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685584 -3.506093)', '2026-08-06 16:32:25', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506095)'), GeomFromEWKT('SRID=4674;POINT (-38.685584 -3.506093)'))) / (select extract(epoch from '2026-08-06 16:32:25'::timestamp) - extract(epoch from '2026-08-06 16:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506095)'), GeomFromEWKT('SRID=4674;POINT (-38.685584 -3.506093)'))) / (select extract(epoch from '2026-08-06 16:32:25'::timestamp) - extract(epoch from '2026-08-06 16:32:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68559 -3.506095)', '2026-08-06 16:32:25', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685584 -3.506093)'), GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506095)'))) / (select extract(epoch from '2026-08-06 16:32:25'::timestamp) - extract(epoch from '2026-08-06 16:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685584 -3.506093)'), GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506095)'))) / (select extract(epoch from '2026-08-06 16:32:25'::timestamp) - extract(epoch from '2026-08-06 16:32:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68559 -3.506101)', '2026-08-06 16:32:25', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506095)'), GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506101)'))) / (select extract(epoch from '2026-08-06 16:32:25'::timestamp) - extract(epoch from '2026-08-06 16:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506095)'), GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506101)'))) / (select extract(epoch from '2026-08-06 16:32:25'::timestamp) - extract(epoch from '2026-08-06 16:32:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685586 -3.506099)', '2026-08-06 16:32:25', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506101)'), GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506099)'))) / (select extract(epoch from '2026-08-06 16:32:25'::timestamp) - extract(epoch from '2026-08-06 16:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68559 -3.506101)'), GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506099)'))) / (select extract(epoch from '2026-08-06 16:32:25'::timestamp) - extract(epoch from '2026-08-06 16:32:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685586 -3.506098)', '2026-08-06 16:32:25', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506099)'), GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506098)'))) / (select extract(epoch from '2026-08-06 16:32:25'::timestamp) - extract(epoch from '2026-08-06 16:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506099)'), GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506098)'))) / (select extract(epoch from '2026-08-06 16:32:25'::timestamp) - extract(epoch from '2026-08-06 16:32:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685589 -3.506097)', '2026-08-06 16:32:25', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506098)'), GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506097)'))) / (select extract(epoch from '2026-08-06 16:32:25'::timestamp) - extract(epoch from '2026-08-06 16:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506098)'), GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506097)'))) / (select extract(epoch from '2026-08-06 16:32:25'::timestamp) - extract(epoch from '2026-08-06 16:32:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
