 INSERT INTO registro_rota_ponto (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.505895)', '2026-08-06 16:31:26', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505897)'), GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505895)'))) / (select extract(epoch from '2026-08-06 16:31:26'::timestamp) - extract(epoch from '2026-08-06 16:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505897)'), GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505895)'))) / (select extract(epoch from '2026-08-06 16:31:26'::timestamp) - extract(epoch from '2026-08-06 16:31:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685479 -3.505888)', '2026-08-06 16:31:26', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505895)'), GeomFromEWKT('SRID=4674;POINT (-38.685479 -3.505888)'))) / (select extract(epoch from '2026-08-06 16:31:26'::timestamp) - extract(epoch from '2026-08-06 16:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505895)'), GeomFromEWKT('SRID=4674;POINT (-38.685479 -3.505888)'))) / (select extract(epoch from '2026-08-06 16:31:26'::timestamp) - extract(epoch from '2026-08-06 16:31:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685477 -3.505891)', '2026-08-06 16:31:26', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685479 -3.505888)'), GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505891)'))) / (select extract(epoch from '2026-08-06 16:31:26'::timestamp) - extract(epoch from '2026-08-06 16:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685479 -3.505888)'), GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505891)'))) / (select extract(epoch from '2026-08-06 16:31:26'::timestamp) - extract(epoch from '2026-08-06 16:31:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685477 -3.505897)', '2026-08-06 16:31:26', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505891)'), GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505897)'))) / (select extract(epoch from '2026-08-06 16:31:26'::timestamp) - extract(epoch from '2026-08-06 16:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505891)'), GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505897)'))) / (select extract(epoch from '2026-08-06 16:31:26'::timestamp) - extract(epoch from '2026-08-06 16:31:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685481 -3.505896)', '2026-08-06 16:31:26', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505897)'), GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.505896)'))) / (select extract(epoch from '2026-08-06 16:31:26'::timestamp) - extract(epoch from '2026-08-06 16:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505897)'), GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.505896)'))) / (select extract(epoch from '2026-08-06 16:31:26'::timestamp) - extract(epoch from '2026-08-06 16:31:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68548 -3.505906)', '2026-08-06 16:31:27', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.505896)'), GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505906)'))) / (select extract(epoch from '2026-08-06 16:31:27'::timestamp) - extract(epoch from '2026-08-06 16:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.505896)'), GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505906)'))) / (select extract(epoch from '2026-08-06 16:31:27'::timestamp) - extract(epoch from '2026-08-06 16:31:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685486 -3.505909)', '2026-08-06 16:31:27', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505906)'), GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505909)'))) / (select extract(epoch from '2026-08-06 16:31:27'::timestamp) - extract(epoch from '2026-08-06 16:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505906)'), GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505909)'))) / (select extract(epoch from '2026-08-06 16:31:27'::timestamp) - extract(epoch from '2026-08-06 16:31:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685476 -3.505906)', '2026-08-06 16:31:27', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505909)'), GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505906)'))) / (select extract(epoch from '2026-08-06 16:31:27'::timestamp) - extract(epoch from '2026-08-06 16:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505909)'), GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505906)'))) / (select extract(epoch from '2026-08-06 16:31:27'::timestamp) - extract(epoch from '2026-08-06 16:31:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685474 -3.505901)', '2026-08-06 16:31:27', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505906)'), GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505901)'))) / (select extract(epoch from '2026-08-06 16:31:27'::timestamp) - extract(epoch from '2026-08-06 16:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505906)'), GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505901)'))) / (select extract(epoch from '2026-08-06 16:31:27'::timestamp) - extract(epoch from '2026-08-06 16:31:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685471 -3.505907)', '2026-08-06 16:31:27', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505901)'), GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.505907)'))) / (select extract(epoch from '2026-08-06 16:31:27'::timestamp) - extract(epoch from '2026-08-06 16:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505901)'), GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.505907)'))) / (select extract(epoch from '2026-08-06 16:31:27'::timestamp) - extract(epoch from '2026-08-06 16:31:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685474 -3.50591)', '2026-08-06 16:31:27', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.505907)'), GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.50591)'))) / (select extract(epoch from '2026-08-06 16:31:27'::timestamp) - extract(epoch from '2026-08-06 16:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.505907)'), GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.50591)'))) / (select extract(epoch from '2026-08-06 16:31:27'::timestamp) - extract(epoch from '2026-08-06 16:31:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685474 -3.505906)', '2026-08-06 16:31:27', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.50591)'), GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505906)'))) / (select extract(epoch from '2026-08-06 16:31:27'::timestamp) - extract(epoch from '2026-08-06 16:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.50591)'), GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505906)'))) / (select extract(epoch from '2026-08-06 16:31:27'::timestamp) - extract(epoch from '2026-08-06 16:31:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685473 -3.505904)', '2026-08-06 16:31:27', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505906)'), GeomFromEWKT('SRID=4674;POINT (-38.685473 -3.505904)'))) / (select extract(epoch from '2026-08-06 16:31:27'::timestamp) - extract(epoch from '2026-08-06 16:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505906)'), GeomFromEWKT('SRID=4674;POINT (-38.685473 -3.505904)'))) / (select extract(epoch from '2026-08-06 16:31:27'::timestamp) - extract(epoch from '2026-08-06 16:31:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685475 -3.505901)', '2026-08-06 16:31:27', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685473 -3.505904)'), GeomFromEWKT('SRID=4674;POINT (-38.685475 -3.505901)'))) / (select extract(epoch from '2026-08-06 16:31:27'::timestamp) - extract(epoch from '2026-08-06 16:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685473 -3.505904)'), GeomFromEWKT('SRID=4674;POINT (-38.685475 -3.505901)'))) / (select extract(epoch from '2026-08-06 16:31:27'::timestamp) - extract(epoch from '2026-08-06 16:31:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685478 -3.505896)', '2026-08-06 16:31:27', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685475 -3.505901)'), GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505896)'))) / (select extract(epoch from '2026-08-06 16:31:27'::timestamp) - extract(epoch from '2026-08-06 16:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685475 -3.505901)'), GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505896)'))) / (select extract(epoch from '2026-08-06 16:31:27'::timestamp) - extract(epoch from '2026-08-06 16:31:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685483 -3.505897)', '2026-08-06 16:31:27', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505896)'), GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.505897)'))) / (select extract(epoch from '2026-08-06 16:31:27'::timestamp) - extract(epoch from '2026-08-06 16:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505896)'), GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.505897)'))) / (select extract(epoch from '2026-08-06 16:31:27'::timestamp) - extract(epoch from '2026-08-06 16:31:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685481 -3.505903)', '2026-08-06 16:31:27', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.505897)'), GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.505903)'))) / (select extract(epoch from '2026-08-06 16:31:27'::timestamp) - extract(epoch from '2026-08-06 16:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.505897)'), GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.505903)'))) / (select extract(epoch from '2026-08-06 16:31:27'::timestamp) - extract(epoch from '2026-08-06 16:31:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685473 -3.505898)', '2026-08-06 16:31:27', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.505903)'), GeomFromEWKT('SRID=4674;POINT (-38.685473 -3.505898)'))) / (select extract(epoch from '2026-08-06 16:31:27'::timestamp) - extract(epoch from '2026-08-06 16:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.505903)'), GeomFromEWKT('SRID=4674;POINT (-38.685473 -3.505898)'))) / (select extract(epoch from '2026-08-06 16:31:27'::timestamp) - extract(epoch from '2026-08-06 16:31:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68548 -3.50589)', '2026-08-06 16:31:27', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685473 -3.505898)'), GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.50589)'))) / (select extract(epoch from '2026-08-06 16:31:27'::timestamp) - extract(epoch from '2026-08-06 16:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685473 -3.505898)'), GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.50589)'))) / (select extract(epoch from '2026-08-06 16:31:27'::timestamp) - extract(epoch from '2026-08-06 16:31:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685484 -3.505898)', '2026-08-06 16:31:27', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.50589)'), GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505898)'))) / (select extract(epoch from '2026-08-06 16:31:27'::timestamp) - extract(epoch from '2026-08-06 16:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.50589)'), GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505898)'))) / (select extract(epoch from '2026-08-06 16:31:27'::timestamp) - extract(epoch from '2026-08-06 16:31:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68549 -3.505901)', '2026-08-06 16:31:27', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505898)'), GeomFromEWKT('SRID=4674;POINT (-38.68549 -3.505901)'))) / (select extract(epoch from '2026-08-06 16:31:27'::timestamp) - extract(epoch from '2026-08-06 16:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505898)'), GeomFromEWKT('SRID=4674;POINT (-38.68549 -3.505901)'))) / (select extract(epoch from '2026-08-06 16:31:27'::timestamp) - extract(epoch from '2026-08-06 16:31:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685492 -3.505893)', '2026-08-06 16:31:28', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68549 -3.505901)'), GeomFromEWKT('SRID=4674;POINT (-38.685492 -3.505893)'))) / (select extract(epoch from '2026-08-06 16:31:28'::timestamp) - extract(epoch from '2026-08-06 16:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68549 -3.505901)'), GeomFromEWKT('SRID=4674;POINT (-38.685492 -3.505893)'))) / (select extract(epoch from '2026-08-06 16:31:28'::timestamp) - extract(epoch from '2026-08-06 16:31:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685493 -3.505897)', '2026-08-06 16:31:28', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685492 -3.505893)'), GeomFromEWKT('SRID=4674;POINT (-38.685493 -3.505897)'))) / (select extract(epoch from '2026-08-06 16:31:28'::timestamp) - extract(epoch from '2026-08-06 16:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685492 -3.505893)'), GeomFromEWKT('SRID=4674;POINT (-38.685493 -3.505897)'))) / (select extract(epoch from '2026-08-06 16:31:28'::timestamp) - extract(epoch from '2026-08-06 16:31:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685492 -3.505903)', '2026-08-06 16:31:28', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685493 -3.505897)'), GeomFromEWKT('SRID=4674;POINT (-38.685492 -3.505903)'))) / (select extract(epoch from '2026-08-06 16:31:28'::timestamp) - extract(epoch from '2026-08-06 16:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685493 -3.505897)'), GeomFromEWKT('SRID=4674;POINT (-38.685492 -3.505903)'))) / (select extract(epoch from '2026-08-06 16:31:28'::timestamp) - extract(epoch from '2026-08-06 16:31:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685501 -3.505901)', '2026-08-06 16:31:28', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685492 -3.505903)'), GeomFromEWKT('SRID=4674;POINT (-38.685501 -3.505901)'))) / (select extract(epoch from '2026-08-06 16:31:28'::timestamp) - extract(epoch from '2026-08-06 16:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685492 -3.505903)'), GeomFromEWKT('SRID=4674;POINT (-38.685501 -3.505901)'))) / (select extract(epoch from '2026-08-06 16:31:28'::timestamp) - extract(epoch from '2026-08-06 16:31:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685489 -3.505907)', '2026-08-06 16:31:28', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685501 -3.505901)'), GeomFromEWKT('SRID=4674;POINT (-38.685489 -3.505907)'))) / (select extract(epoch from '2026-08-06 16:31:28'::timestamp) - extract(epoch from '2026-08-06 16:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685501 -3.505901)'), GeomFromEWKT('SRID=4674;POINT (-38.685489 -3.505907)'))) / (select extract(epoch from '2026-08-06 16:31:28'::timestamp) - extract(epoch from '2026-08-06 16:31:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685493 -3.505909)', '2026-08-06 16:31:28', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685489 -3.505907)'), GeomFromEWKT('SRID=4674;POINT (-38.685493 -3.505909)'))) / (select extract(epoch from '2026-08-06 16:31:28'::timestamp) - extract(epoch from '2026-08-06 16:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685489 -3.505907)'), GeomFromEWKT('SRID=4674;POINT (-38.685493 -3.505909)'))) / (select extract(epoch from '2026-08-06 16:31:28'::timestamp) - extract(epoch from '2026-08-06 16:31:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685494 -3.505913)', '2026-08-06 16:31:28', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685493 -3.505909)'), GeomFromEWKT('SRID=4674;POINT (-38.685494 -3.505913)'))) / (select extract(epoch from '2026-08-06 16:31:28'::timestamp) - extract(epoch from '2026-08-06 16:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685493 -3.505909)'), GeomFromEWKT('SRID=4674;POINT (-38.685494 -3.505913)'))) / (select extract(epoch from '2026-08-06 16:31:28'::timestamp) - extract(epoch from '2026-08-06 16:31:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685492 -3.505906)', '2026-08-06 16:31:28', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685494 -3.505913)'), GeomFromEWKT('SRID=4674;POINT (-38.685492 -3.505906)'))) / (select extract(epoch from '2026-08-06 16:31:28'::timestamp) - extract(epoch from '2026-08-06 16:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685494 -3.505913)'), GeomFromEWKT('SRID=4674;POINT (-38.685492 -3.505906)'))) / (select extract(epoch from '2026-08-06 16:31:28'::timestamp) - extract(epoch from '2026-08-06 16:31:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685477 -3.505898)', '2026-08-06 16:31:28', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685492 -3.505906)'), GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505898)'))) / (select extract(epoch from '2026-08-06 16:31:28'::timestamp) - extract(epoch from '2026-08-06 16:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685492 -3.505906)'), GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505898)'))) / (select extract(epoch from '2026-08-06 16:31:28'::timestamp) - extract(epoch from '2026-08-06 16:31:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685471 -3.50589)', '2026-08-06 16:31:28', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505898)'), GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.50589)'))) / (select extract(epoch from '2026-08-06 16:31:28'::timestamp) - extract(epoch from '2026-08-06 16:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505898)'), GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.50589)'))) / (select extract(epoch from '2026-08-06 16:31:28'::timestamp) - extract(epoch from '2026-08-06 16:31:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685474 -3.505891)', '2026-08-06 16:31:28', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.50589)'), GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505891)'))) / (select extract(epoch from '2026-08-06 16:31:28'::timestamp) - extract(epoch from '2026-08-06 16:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.50589)'), GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505891)'))) / (select extract(epoch from '2026-08-06 16:31:28'::timestamp) - extract(epoch from '2026-08-06 16:31:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68547 -3.50589)', '2026-08-06 16:31:28', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505891)'), GeomFromEWKT('SRID=4674;POINT (-38.68547 -3.50589)'))) / (select extract(epoch from '2026-08-06 16:31:28'::timestamp) - extract(epoch from '2026-08-06 16:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505891)'), GeomFromEWKT('SRID=4674;POINT (-38.68547 -3.50589)'))) / (select extract(epoch from '2026-08-06 16:31:28'::timestamp) - extract(epoch from '2026-08-06 16:31:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685464 -3.505894)', '2026-08-06 16:31:28', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68547 -3.50589)'), GeomFromEWKT('SRID=4674;POINT (-38.685464 -3.505894)'))) / (select extract(epoch from '2026-08-06 16:31:28'::timestamp) - extract(epoch from '2026-08-06 16:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68547 -3.50589)'), GeomFromEWKT('SRID=4674;POINT (-38.685464 -3.505894)'))) / (select extract(epoch from '2026-08-06 16:31:28'::timestamp) - extract(epoch from '2026-08-06 16:31:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685477 -3.505899)', '2026-08-06 16:31:28', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685464 -3.505894)'), GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505899)'))) / (select extract(epoch from '2026-08-06 16:31:28'::timestamp) - extract(epoch from '2026-08-06 16:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685464 -3.505894)'), GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505899)'))) / (select extract(epoch from '2026-08-06 16:31:28'::timestamp) - extract(epoch from '2026-08-06 16:31:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685473 -3.505901)', '2026-08-06 16:31:29', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505899)'), GeomFromEWKT('SRID=4674;POINT (-38.685473 -3.505901)'))) / (select extract(epoch from '2026-08-06 16:31:29'::timestamp) - extract(epoch from '2026-08-06 16:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505899)'), GeomFromEWKT('SRID=4674;POINT (-38.685473 -3.505901)'))) / (select extract(epoch from '2026-08-06 16:31:29'::timestamp) - extract(epoch from '2026-08-06 16:31:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685469 -3.505898)', '2026-08-06 16:31:29', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685473 -3.505901)'), GeomFromEWKT('SRID=4674;POINT (-38.685469 -3.505898)'))) / (select extract(epoch from '2026-08-06 16:31:29'::timestamp) - extract(epoch from '2026-08-06 16:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685473 -3.505901)'), GeomFromEWKT('SRID=4674;POINT (-38.685469 -3.505898)'))) / (select extract(epoch from '2026-08-06 16:31:29'::timestamp) - extract(epoch from '2026-08-06 16:31:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685477 -3.505906)', '2026-08-06 16:31:29', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685469 -3.505898)'), GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505906)'))) / (select extract(epoch from '2026-08-06 16:31:29'::timestamp) - extract(epoch from '2026-08-06 16:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685469 -3.505898)'), GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505906)'))) / (select extract(epoch from '2026-08-06 16:31:29'::timestamp) - extract(epoch from '2026-08-06 16:31:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685479 -3.505909)', '2026-08-06 16:31:29', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505906)'), GeomFromEWKT('SRID=4674;POINT (-38.685479 -3.505909)'))) / (select extract(epoch from '2026-08-06 16:31:29'::timestamp) - extract(epoch from '2026-08-06 16:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505906)'), GeomFromEWKT('SRID=4674;POINT (-38.685479 -3.505909)'))) / (select extract(epoch from '2026-08-06 16:31:29'::timestamp) - extract(epoch from '2026-08-06 16:31:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685477 -3.505909)', '2026-08-06 16:31:29', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685479 -3.505909)'), GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505909)'))) / (select extract(epoch from '2026-08-06 16:31:29'::timestamp) - extract(epoch from '2026-08-06 16:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685479 -3.505909)'), GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505909)'))) / (select extract(epoch from '2026-08-06 16:31:29'::timestamp) - extract(epoch from '2026-08-06 16:31:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685476 -3.505903)', '2026-08-06 16:31:29', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505909)'), GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505903)'))) / (select extract(epoch from '2026-08-06 16:31:29'::timestamp) - extract(epoch from '2026-08-06 16:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.505909)'), GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505903)'))) / (select extract(epoch from '2026-08-06 16:31:29'::timestamp) - extract(epoch from '2026-08-06 16:31:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685479 -3.5059)', '2026-08-06 16:31:29', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505903)'), GeomFromEWKT('SRID=4674;POINT (-38.685479 -3.5059)'))) / (select extract(epoch from '2026-08-06 16:31:29'::timestamp) - extract(epoch from '2026-08-06 16:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505903)'), GeomFromEWKT('SRID=4674;POINT (-38.685479 -3.5059)'))) / (select extract(epoch from '2026-08-06 16:31:29'::timestamp) - extract(epoch from '2026-08-06 16:31:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685486 -3.505899)', '2026-08-06 16:31:29', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685479 -3.5059)'), GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505899)'))) / (select extract(epoch from '2026-08-06 16:31:29'::timestamp) - extract(epoch from '2026-08-06 16:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685479 -3.5059)'), GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505899)'))) / (select extract(epoch from '2026-08-06 16:31:29'::timestamp) - extract(epoch from '2026-08-06 16:31:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685481 -3.505901)', '2026-08-06 16:31:29', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505899)'), GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.505901)'))) / (select extract(epoch from '2026-08-06 16:31:29'::timestamp) - extract(epoch from '2026-08-06 16:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505899)'), GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.505901)'))) / (select extract(epoch from '2026-08-06 16:31:29'::timestamp) - extract(epoch from '2026-08-06 16:31:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685468 -3.505891)', '2026-08-06 16:31:29', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.505901)'), GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505891)'))) / (select extract(epoch from '2026-08-06 16:31:29'::timestamp) - extract(epoch from '2026-08-06 16:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.505901)'), GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505891)'))) / (select extract(epoch from '2026-08-06 16:31:29'::timestamp) - extract(epoch from '2026-08-06 16:31:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685466 -3.505888)', '2026-08-06 16:31:29', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505891)'), GeomFromEWKT('SRID=4674;POINT (-38.685466 -3.505888)'))) / (select extract(epoch from '2026-08-06 16:31:29'::timestamp) - extract(epoch from '2026-08-06 16:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505891)'), GeomFromEWKT('SRID=4674;POINT (-38.685466 -3.505888)'))) / (select extract(epoch from '2026-08-06 16:31:29'::timestamp) - extract(epoch from '2026-08-06 16:31:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68547 -3.505883)', '2026-08-06 16:31:29', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685466 -3.505888)'), GeomFromEWKT('SRID=4674;POINT (-38.68547 -3.505883)'))) / (select extract(epoch from '2026-08-06 16:31:29'::timestamp) - extract(epoch from '2026-08-06 16:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685466 -3.505888)'), GeomFromEWKT('SRID=4674;POINT (-38.68547 -3.505883)'))) / (select extract(epoch from '2026-08-06 16:31:29'::timestamp) - extract(epoch from '2026-08-06 16:31:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685472 -3.50588)', '2026-08-06 16:31:29', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68547 -3.505883)'), GeomFromEWKT('SRID=4674;POINT (-38.685472 -3.50588)'))) / (select extract(epoch from '2026-08-06 16:31:29'::timestamp) - extract(epoch from '2026-08-06 16:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68547 -3.505883)'), GeomFromEWKT('SRID=4674;POINT (-38.685472 -3.50588)'))) / (select extract(epoch from '2026-08-06 16:31:29'::timestamp) - extract(epoch from '2026-08-06 16:31:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685465 -3.505875)', '2026-08-06 16:31:29', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685472 -3.50588)'), GeomFromEWKT('SRID=4674;POINT (-38.685465 -3.505875)'))) / (select extract(epoch from '2026-08-06 16:31:29'::timestamp) - extract(epoch from '2026-08-06 16:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685472 -3.50588)'), GeomFromEWKT('SRID=4674;POINT (-38.685465 -3.505875)'))) / (select extract(epoch from '2026-08-06 16:31:29'::timestamp) - extract(epoch from '2026-08-06 16:31:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68547 -3.505879)', '2026-08-06 16:31:29', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685465 -3.505875)'), GeomFromEWKT('SRID=4674;POINT (-38.68547 -3.505879)'))) / (select extract(epoch from '2026-08-06 16:31:29'::timestamp) - extract(epoch from '2026-08-06 16:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685465 -3.505875)'), GeomFromEWKT('SRID=4674;POINT (-38.68547 -3.505879)'))) / (select extract(epoch from '2026-08-06 16:31:29'::timestamp) - extract(epoch from '2026-08-06 16:31:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685474 -3.505879)', '2026-08-06 16:31:29', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68547 -3.505879)'), GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505879)'))) / (select extract(epoch from '2026-08-06 16:31:29'::timestamp) - extract(epoch from '2026-08-06 16:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68547 -3.505879)'), GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505879)'))) / (select extract(epoch from '2026-08-06 16:31:29'::timestamp) - extract(epoch from '2026-08-06 16:31:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685464 -3.505874)', '2026-08-06 16:31:30', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505879)'), GeomFromEWKT('SRID=4674;POINT (-38.685464 -3.505874)'))) / (select extract(epoch from '2026-08-06 16:31:30'::timestamp) - extract(epoch from '2026-08-06 16:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505879)'), GeomFromEWKT('SRID=4674;POINT (-38.685464 -3.505874)'))) / (select extract(epoch from '2026-08-06 16:31:30'::timestamp) - extract(epoch from '2026-08-06 16:31:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685468 -3.505873)', '2026-08-06 16:31:30', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685464 -3.505874)'), GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505873)'))) / (select extract(epoch from '2026-08-06 16:31:30'::timestamp) - extract(epoch from '2026-08-06 16:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685464 -3.505874)'), GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505873)'))) / (select extract(epoch from '2026-08-06 16:31:30'::timestamp) - extract(epoch from '2026-08-06 16:31:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685464 -3.50588)', '2026-08-06 16:31:30', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505873)'), GeomFromEWKT('SRID=4674;POINT (-38.685464 -3.50588)'))) / (select extract(epoch from '2026-08-06 16:31:30'::timestamp) - extract(epoch from '2026-08-06 16:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505873)'), GeomFromEWKT('SRID=4674;POINT (-38.685464 -3.50588)'))) / (select extract(epoch from '2026-08-06 16:31:30'::timestamp) - extract(epoch from '2026-08-06 16:31:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685464 -3.50588)', '2026-08-06 16:31:30', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685464 -3.50588)'), GeomFromEWKT('SRID=4674;POINT (-38.685464 -3.50588)'))) / (select extract(epoch from '2026-08-06 16:31:30'::timestamp) - extract(epoch from '2026-08-06 16:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685464 -3.50588)'), GeomFromEWKT('SRID=4674;POINT (-38.685464 -3.50588)'))) / (select extract(epoch from '2026-08-06 16:31:30'::timestamp) - extract(epoch from '2026-08-06 16:31:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685463 -3.505879)', '2026-08-06 16:31:30', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685464 -3.50588)'), GeomFromEWKT('SRID=4674;POINT (-38.685463 -3.505879)'))) / (select extract(epoch from '2026-08-06 16:31:30'::timestamp) - extract(epoch from '2026-08-06 16:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685464 -3.50588)'), GeomFromEWKT('SRID=4674;POINT (-38.685463 -3.505879)'))) / (select extract(epoch from '2026-08-06 16:31:30'::timestamp) - extract(epoch from '2026-08-06 16:31:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685456 -3.505881)', '2026-08-06 16:31:30', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685463 -3.505879)'), GeomFromEWKT('SRID=4674;POINT (-38.685456 -3.505881)'))) / (select extract(epoch from '2026-08-06 16:31:30'::timestamp) - extract(epoch from '2026-08-06 16:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685463 -3.505879)'), GeomFromEWKT('SRID=4674;POINT (-38.685456 -3.505881)'))) / (select extract(epoch from '2026-08-06 16:31:30'::timestamp) - extract(epoch from '2026-08-06 16:31:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685465 -3.505874)', '2026-08-06 16:31:30', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685456 -3.505881)'), GeomFromEWKT('SRID=4674;POINT (-38.685465 -3.505874)'))) / (select extract(epoch from '2026-08-06 16:31:30'::timestamp) - extract(epoch from '2026-08-06 16:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685456 -3.505881)'), GeomFromEWKT('SRID=4674;POINT (-38.685465 -3.505874)'))) / (select extract(epoch from '2026-08-06 16:31:30'::timestamp) - extract(epoch from '2026-08-06 16:31:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685465 -3.505869)', '2026-08-06 16:31:30', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685465 -3.505874)'), GeomFromEWKT('SRID=4674;POINT (-38.685465 -3.505869)'))) / (select extract(epoch from '2026-08-06 16:31:30'::timestamp) - extract(epoch from '2026-08-06 16:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685465 -3.505874)'), GeomFromEWKT('SRID=4674;POINT (-38.685465 -3.505869)'))) / (select extract(epoch from '2026-08-06 16:31:30'::timestamp) - extract(epoch from '2026-08-06 16:31:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68547 -3.505868)', '2026-08-06 16:31:30', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685465 -3.505869)'), GeomFromEWKT('SRID=4674;POINT (-38.68547 -3.505868)'))) / (select extract(epoch from '2026-08-06 16:31:30'::timestamp) - extract(epoch from '2026-08-06 16:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685465 -3.505869)'), GeomFromEWKT('SRID=4674;POINT (-38.68547 -3.505868)'))) / (select extract(epoch from '2026-08-06 16:31:30'::timestamp) - extract(epoch from '2026-08-06 16:31:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685463 -3.505872)', '2026-08-06 16:31:30', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68547 -3.505868)'), GeomFromEWKT('SRID=4674;POINT (-38.685463 -3.505872)'))) / (select extract(epoch from '2026-08-06 16:31:30'::timestamp) - extract(epoch from '2026-08-06 16:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68547 -3.505868)'), GeomFromEWKT('SRID=4674;POINT (-38.685463 -3.505872)'))) / (select extract(epoch from '2026-08-06 16:31:30'::timestamp) - extract(epoch from '2026-08-06 16:31:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685468 -3.505873)', '2026-08-06 16:31:30', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685463 -3.505872)'), GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505873)'))) / (select extract(epoch from '2026-08-06 16:31:30'::timestamp) - extract(epoch from '2026-08-06 16:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685463 -3.505872)'), GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505873)'))) / (select extract(epoch from '2026-08-06 16:31:30'::timestamp) - extract(epoch from '2026-08-06 16:31:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685467 -3.505867)', '2026-08-06 16:31:30', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505873)'), GeomFromEWKT('SRID=4674;POINT (-38.685467 -3.505867)'))) / (select extract(epoch from '2026-08-06 16:31:30'::timestamp) - extract(epoch from '2026-08-06 16:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505873)'), GeomFromEWKT('SRID=4674;POINT (-38.685467 -3.505867)'))) / (select extract(epoch from '2026-08-06 16:31:30'::timestamp) - extract(epoch from '2026-08-06 16:31:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685463 -3.505868)', '2026-08-06 16:31:30', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685467 -3.505867)'), GeomFromEWKT('SRID=4674;POINT (-38.685463 -3.505868)'))) / (select extract(epoch from '2026-08-06 16:31:30'::timestamp) - extract(epoch from '2026-08-06 16:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685467 -3.505867)'), GeomFromEWKT('SRID=4674;POINT (-38.685463 -3.505868)'))) / (select extract(epoch from '2026-08-06 16:31:30'::timestamp) - extract(epoch from '2026-08-06 16:31:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685462 -3.505866)', '2026-08-06 16:31:30', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685463 -3.505868)'), GeomFromEWKT('SRID=4674;POINT (-38.685462 -3.505866)'))) / (select extract(epoch from '2026-08-06 16:31:30'::timestamp) - extract(epoch from '2026-08-06 16:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685463 -3.505868)'), GeomFromEWKT('SRID=4674;POINT (-38.685462 -3.505866)'))) / (select extract(epoch from '2026-08-06 16:31:30'::timestamp) - extract(epoch from '2026-08-06 16:31:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685457 -3.505859)', '2026-08-06 16:31:30', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685462 -3.505866)'), GeomFromEWKT('SRID=4674;POINT (-38.685457 -3.505859)'))) / (select extract(epoch from '2026-08-06 16:31:30'::timestamp) - extract(epoch from '2026-08-06 16:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685462 -3.505866)'), GeomFromEWKT('SRID=4674;POINT (-38.685457 -3.505859)'))) / (select extract(epoch from '2026-08-06 16:31:30'::timestamp) - extract(epoch from '2026-08-06 16:31:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68544 -3.505858)', '2026-08-06 16:31:31', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685457 -3.505859)'), GeomFromEWKT('SRID=4674;POINT (-38.68544 -3.505858)'))) / (select extract(epoch from '2026-08-06 16:31:31'::timestamp) - extract(epoch from '2026-08-06 16:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685457 -3.505859)'), GeomFromEWKT('SRID=4674;POINT (-38.68544 -3.505858)'))) / (select extract(epoch from '2026-08-06 16:31:31'::timestamp) - extract(epoch from '2026-08-06 16:31:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685443 -3.505866)', '2026-08-06 16:31:31', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68544 -3.505858)'), GeomFromEWKT('SRID=4674;POINT (-38.685443 -3.505866)'))) / (select extract(epoch from '2026-08-06 16:31:31'::timestamp) - extract(epoch from '2026-08-06 16:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68544 -3.505858)'), GeomFromEWKT('SRID=4674;POINT (-38.685443 -3.505866)'))) / (select extract(epoch from '2026-08-06 16:31:31'::timestamp) - extract(epoch from '2026-08-06 16:31:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68545 -3.50587)', '2026-08-06 16:31:31', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685443 -3.505866)'), GeomFromEWKT('SRID=4674;POINT (-38.68545 -3.50587)'))) / (select extract(epoch from '2026-08-06 16:31:31'::timestamp) - extract(epoch from '2026-08-06 16:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685443 -3.505866)'), GeomFromEWKT('SRID=4674;POINT (-38.68545 -3.50587)'))) / (select extract(epoch from '2026-08-06 16:31:31'::timestamp) - extract(epoch from '2026-08-06 16:31:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685452 -3.505864)', '2026-08-06 16:31:31', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68545 -3.50587)'), GeomFromEWKT('SRID=4674;POINT (-38.685452 -3.505864)'))) / (select extract(epoch from '2026-08-06 16:31:31'::timestamp) - extract(epoch from '2026-08-06 16:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68545 -3.50587)'), GeomFromEWKT('SRID=4674;POINT (-38.685452 -3.505864)'))) / (select extract(epoch from '2026-08-06 16:31:31'::timestamp) - extract(epoch from '2026-08-06 16:31:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68545 -3.505867)', '2026-08-06 16:31:31', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685452 -3.505864)'), GeomFromEWKT('SRID=4674;POINT (-38.68545 -3.505867)'))) / (select extract(epoch from '2026-08-06 16:31:31'::timestamp) - extract(epoch from '2026-08-06 16:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685452 -3.505864)'), GeomFromEWKT('SRID=4674;POINT (-38.68545 -3.505867)'))) / (select extract(epoch from '2026-08-06 16:31:31'::timestamp) - extract(epoch from '2026-08-06 16:31:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685444 -3.505865)', '2026-08-06 16:31:31', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68545 -3.505867)'), GeomFromEWKT('SRID=4674;POINT (-38.685444 -3.505865)'))) / (select extract(epoch from '2026-08-06 16:31:31'::timestamp) - extract(epoch from '2026-08-06 16:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68545 -3.505867)'), GeomFromEWKT('SRID=4674;POINT (-38.685444 -3.505865)'))) / (select extract(epoch from '2026-08-06 16:31:31'::timestamp) - extract(epoch from '2026-08-06 16:31:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685456 -3.505864)', '2026-08-06 16:31:31', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685444 -3.505865)'), GeomFromEWKT('SRID=4674;POINT (-38.685456 -3.505864)'))) / (select extract(epoch from '2026-08-06 16:31:31'::timestamp) - extract(epoch from '2026-08-06 16:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685444 -3.505865)'), GeomFromEWKT('SRID=4674;POINT (-38.685456 -3.505864)'))) / (select extract(epoch from '2026-08-06 16:31:31'::timestamp) - extract(epoch from '2026-08-06 16:31:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685456 -3.505868)', '2026-08-06 16:31:31', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685456 -3.505864)'), GeomFromEWKT('SRID=4674;POINT (-38.685456 -3.505868)'))) / (select extract(epoch from '2026-08-06 16:31:31'::timestamp) - extract(epoch from '2026-08-06 16:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685456 -3.505864)'), GeomFromEWKT('SRID=4674;POINT (-38.685456 -3.505868)'))) / (select extract(epoch from '2026-08-06 16:31:31'::timestamp) - extract(epoch from '2026-08-06 16:31:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685465 -3.50587)', '2026-08-06 16:31:31', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685456 -3.505868)'), GeomFromEWKT('SRID=4674;POINT (-38.685465 -3.50587)'))) / (select extract(epoch from '2026-08-06 16:31:31'::timestamp) - extract(epoch from '2026-08-06 16:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685456 -3.505868)'), GeomFromEWKT('SRID=4674;POINT (-38.685465 -3.50587)'))) / (select extract(epoch from '2026-08-06 16:31:31'::timestamp) - extract(epoch from '2026-08-06 16:31:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685465 -3.505872)', '2026-08-06 16:31:31', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685465 -3.50587)'), GeomFromEWKT('SRID=4674;POINT (-38.685465 -3.505872)'))) / (select extract(epoch from '2026-08-06 16:31:31'::timestamp) - extract(epoch from '2026-08-06 16:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685465 -3.50587)'), GeomFromEWKT('SRID=4674;POINT (-38.685465 -3.505872)'))) / (select extract(epoch from '2026-08-06 16:31:31'::timestamp) - extract(epoch from '2026-08-06 16:31:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685468 -3.505881)', '2026-08-06 16:31:31', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685465 -3.505872)'), GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505881)'))) / (select extract(epoch from '2026-08-06 16:31:31'::timestamp) - extract(epoch from '2026-08-06 16:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685465 -3.505872)'), GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505881)'))) / (select extract(epoch from '2026-08-06 16:31:31'::timestamp) - extract(epoch from '2026-08-06 16:31:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685464 -3.505881)', '2026-08-06 16:31:31', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505881)'), GeomFromEWKT('SRID=4674;POINT (-38.685464 -3.505881)'))) / (select extract(epoch from '2026-08-06 16:31:31'::timestamp) - extract(epoch from '2026-08-06 16:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505881)'), GeomFromEWKT('SRID=4674;POINT (-38.685464 -3.505881)'))) / (select extract(epoch from '2026-08-06 16:31:31'::timestamp) - extract(epoch from '2026-08-06 16:31:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685468 -3.505887)', '2026-08-06 16:31:31', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685464 -3.505881)'), GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505887)'))) / (select extract(epoch from '2026-08-06 16:31:31'::timestamp) - extract(epoch from '2026-08-06 16:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685464 -3.505881)'), GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505887)'))) / (select extract(epoch from '2026-08-06 16:31:31'::timestamp) - extract(epoch from '2026-08-06 16:31:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685464 -3.505886)', '2026-08-06 16:31:31', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505887)'), GeomFromEWKT('SRID=4674;POINT (-38.685464 -3.505886)'))) / (select extract(epoch from '2026-08-06 16:31:31'::timestamp) - extract(epoch from '2026-08-06 16:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505887)'), GeomFromEWKT('SRID=4674;POINT (-38.685464 -3.505886)'))) / (select extract(epoch from '2026-08-06 16:31:31'::timestamp) - extract(epoch from '2026-08-06 16:31:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685476 -3.505893)', '2026-08-06 16:31:31', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685464 -3.505886)'), GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505893)'))) / (select extract(epoch from '2026-08-06 16:31:31'::timestamp) - extract(epoch from '2026-08-06 16:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685464 -3.505886)'), GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505893)'))) / (select extract(epoch from '2026-08-06 16:31:31'::timestamp) - extract(epoch from '2026-08-06 16:31:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685476 -3.505894)', '2026-08-06 16:31:31', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505893)'), GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505894)'))) / (select extract(epoch from '2026-08-06 16:31:31'::timestamp) - extract(epoch from '2026-08-06 16:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505893)'), GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505894)'))) / (select extract(epoch from '2026-08-06 16:31:31'::timestamp) - extract(epoch from '2026-08-06 16:31:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68548 -3.505896)', '2026-08-06 16:31:32', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505894)'), GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505896)'))) / (select extract(epoch from '2026-08-06 16:31:32'::timestamp) - extract(epoch from '2026-08-06 16:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505894)'), GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505896)'))) / (select extract(epoch from '2026-08-06 16:31:32'::timestamp) - extract(epoch from '2026-08-06 16:31:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685481 -3.505896)', '2026-08-06 16:31:32', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505896)'), GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.505896)'))) / (select extract(epoch from '2026-08-06 16:31:32'::timestamp) - extract(epoch from '2026-08-06 16:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68548 -3.505896)'), GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.505896)'))) / (select extract(epoch from '2026-08-06 16:31:32'::timestamp) - extract(epoch from '2026-08-06 16:31:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68547 -3.505894)', '2026-08-06 16:31:32', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.505896)'), GeomFromEWKT('SRID=4674;POINT (-38.68547 -3.505894)'))) / (select extract(epoch from '2026-08-06 16:31:32'::timestamp) - extract(epoch from '2026-08-06 16:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.505896)'), GeomFromEWKT('SRID=4674;POINT (-38.68547 -3.505894)'))) / (select extract(epoch from '2026-08-06 16:31:32'::timestamp) - extract(epoch from '2026-08-06 16:31:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685473 -3.505891)', '2026-08-06 16:31:32', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68547 -3.505894)'), GeomFromEWKT('SRID=4674;POINT (-38.685473 -3.505891)'))) / (select extract(epoch from '2026-08-06 16:31:32'::timestamp) - extract(epoch from '2026-08-06 16:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68547 -3.505894)'), GeomFromEWKT('SRID=4674;POINT (-38.685473 -3.505891)'))) / (select extract(epoch from '2026-08-06 16:31:32'::timestamp) - extract(epoch from '2026-08-06 16:31:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685482 -3.505893)', '2026-08-06 16:31:32', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685473 -3.505891)'), GeomFromEWKT('SRID=4674;POINT (-38.685482 -3.505893)'))) / (select extract(epoch from '2026-08-06 16:31:32'::timestamp) - extract(epoch from '2026-08-06 16:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685473 -3.505891)'), GeomFromEWKT('SRID=4674;POINT (-38.685482 -3.505893)'))) / (select extract(epoch from '2026-08-06 16:31:32'::timestamp) - extract(epoch from '2026-08-06 16:31:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685477 -3.50589)', '2026-08-06 16:31:32', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685482 -3.505893)'), GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.50589)'))) / (select extract(epoch from '2026-08-06 16:31:32'::timestamp) - extract(epoch from '2026-08-06 16:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685482 -3.505893)'), GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.50589)'))) / (select extract(epoch from '2026-08-06 16:31:32'::timestamp) - extract(epoch from '2026-08-06 16:31:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685486 -3.505892)', '2026-08-06 16:31:32', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.50589)'), GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505892)'))) / (select extract(epoch from '2026-08-06 16:31:32'::timestamp) - extract(epoch from '2026-08-06 16:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685477 -3.50589)'), GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505892)'))) / (select extract(epoch from '2026-08-06 16:31:32'::timestamp) - extract(epoch from '2026-08-06 16:31:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685483 -3.505892)', '2026-08-06 16:31:32', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505892)'), GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.505892)'))) / (select extract(epoch from '2026-08-06 16:31:32'::timestamp) - extract(epoch from '2026-08-06 16:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505892)'), GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.505892)'))) / (select extract(epoch from '2026-08-06 16:31:32'::timestamp) - extract(epoch from '2026-08-06 16:31:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685483 -3.505894)', '2026-08-06 16:31:32', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.505892)'), GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.505894)'))) / (select extract(epoch from '2026-08-06 16:31:32'::timestamp) - extract(epoch from '2026-08-06 16:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.505892)'), GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.505894)'))) / (select extract(epoch from '2026-08-06 16:31:32'::timestamp) - extract(epoch from '2026-08-06 16:31:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685478 -3.505893)', '2026-08-06 16:31:32', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.505894)'), GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505893)'))) / (select extract(epoch from '2026-08-06 16:31:32'::timestamp) - extract(epoch from '2026-08-06 16:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685483 -3.505894)'), GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505893)'))) / (select extract(epoch from '2026-08-06 16:31:32'::timestamp) - extract(epoch from '2026-08-06 16:31:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685482 -3.50589)', '2026-08-06 16:31:32', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505893)'), GeomFromEWKT('SRID=4674;POINT (-38.685482 -3.50589)'))) / (select extract(epoch from '2026-08-06 16:31:32'::timestamp) - extract(epoch from '2026-08-06 16:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505893)'), GeomFromEWKT('SRID=4674;POINT (-38.685482 -3.50589)'))) / (select extract(epoch from '2026-08-06 16:31:32'::timestamp) - extract(epoch from '2026-08-06 16:31:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685484 -3.505893)', '2026-08-06 16:31:32', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685482 -3.50589)'), GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505893)'))) / (select extract(epoch from '2026-08-06 16:31:32'::timestamp) - extract(epoch from '2026-08-06 16:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685482 -3.50589)'), GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505893)'))) / (select extract(epoch from '2026-08-06 16:31:32'::timestamp) - extract(epoch from '2026-08-06 16:31:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685491 -3.505895)', '2026-08-06 16:31:32', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505893)'), GeomFromEWKT('SRID=4674;POINT (-38.685491 -3.505895)'))) / (select extract(epoch from '2026-08-06 16:31:32'::timestamp) - extract(epoch from '2026-08-06 16:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685484 -3.505893)'), GeomFromEWKT('SRID=4674;POINT (-38.685491 -3.505895)'))) / (select extract(epoch from '2026-08-06 16:31:32'::timestamp) - extract(epoch from '2026-08-06 16:31:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685486 -3.505898)', '2026-08-06 16:31:32', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685491 -3.505895)'), GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505898)'))) / (select extract(epoch from '2026-08-06 16:31:32'::timestamp) - extract(epoch from '2026-08-06 16:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685491 -3.505895)'), GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505898)'))) / (select extract(epoch from '2026-08-06 16:31:32'::timestamp) - extract(epoch from '2026-08-06 16:31:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685487 -3.505898)', '2026-08-06 16:31:32', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505898)'), GeomFromEWKT('SRID=4674;POINT (-38.685487 -3.505898)'))) / (select extract(epoch from '2026-08-06 16:31:32'::timestamp) - extract(epoch from '2026-08-06 16:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685486 -3.505898)'), GeomFromEWKT('SRID=4674;POINT (-38.685487 -3.505898)'))) / (select extract(epoch from '2026-08-06 16:31:32'::timestamp) - extract(epoch from '2026-08-06 16:31:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685491 -3.505894)', '2026-08-06 16:31:32', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685487 -3.505898)'), GeomFromEWKT('SRID=4674;POINT (-38.685491 -3.505894)'))) / (select extract(epoch from '2026-08-06 16:31:32'::timestamp) - extract(epoch from '2026-08-06 16:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685487 -3.505898)'), GeomFromEWKT('SRID=4674;POINT (-38.685491 -3.505894)'))) / (select extract(epoch from '2026-08-06 16:31:32'::timestamp) - extract(epoch from '2026-08-06 16:31:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685492 -3.505901)', '2026-08-06 16:31:33', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685491 -3.505894)'), GeomFromEWKT('SRID=4674;POINT (-38.685492 -3.505901)'))) / (select extract(epoch from '2026-08-06 16:31:33'::timestamp) - extract(epoch from '2026-08-06 16:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685491 -3.505894)'), GeomFromEWKT('SRID=4674;POINT (-38.685492 -3.505901)'))) / (select extract(epoch from '2026-08-06 16:31:33'::timestamp) - extract(epoch from '2026-08-06 16:31:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685499 -3.505911)', '2026-08-06 16:31:33', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685492 -3.505901)'), GeomFromEWKT('SRID=4674;POINT (-38.685499 -3.505911)'))) / (select extract(epoch from '2026-08-06 16:31:33'::timestamp) - extract(epoch from '2026-08-06 16:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685492 -3.505901)'), GeomFromEWKT('SRID=4674;POINT (-38.685499 -3.505911)'))) / (select extract(epoch from '2026-08-06 16:31:33'::timestamp) - extract(epoch from '2026-08-06 16:31:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.6855 -3.505915)', '2026-08-06 16:31:33', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685499 -3.505911)'), GeomFromEWKT('SRID=4674;POINT (-38.6855 -3.505915)'))) / (select extract(epoch from '2026-08-06 16:31:33'::timestamp) - extract(epoch from '2026-08-06 16:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685499 -3.505911)'), GeomFromEWKT('SRID=4674;POINT (-38.6855 -3.505915)'))) / (select extract(epoch from '2026-08-06 16:31:33'::timestamp) - extract(epoch from '2026-08-06 16:31:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685499 -3.505904)', '2026-08-06 16:31:33', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6855 -3.505915)'), GeomFromEWKT('SRID=4674;POINT (-38.685499 -3.505904)'))) / (select extract(epoch from '2026-08-06 16:31:33'::timestamp) - extract(epoch from '2026-08-06 16:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6855 -3.505915)'), GeomFromEWKT('SRID=4674;POINT (-38.685499 -3.505904)'))) / (select extract(epoch from '2026-08-06 16:31:33'::timestamp) - extract(epoch from '2026-08-06 16:31:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685497 -3.505907)', '2026-08-06 16:31:33', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685499 -3.505904)'), GeomFromEWKT('SRID=4674;POINT (-38.685497 -3.505907)'))) / (select extract(epoch from '2026-08-06 16:31:33'::timestamp) - extract(epoch from '2026-08-06 16:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685499 -3.505904)'), GeomFromEWKT('SRID=4674;POINT (-38.685497 -3.505907)'))) / (select extract(epoch from '2026-08-06 16:31:33'::timestamp) - extract(epoch from '2026-08-06 16:31:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685496 -3.505912)', '2026-08-06 16:31:33', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685497 -3.505907)'), GeomFromEWKT('SRID=4674;POINT (-38.685496 -3.505912)'))) / (select extract(epoch from '2026-08-06 16:31:33'::timestamp) - extract(epoch from '2026-08-06 16:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685497 -3.505907)'), GeomFromEWKT('SRID=4674;POINT (-38.685496 -3.505912)'))) / (select extract(epoch from '2026-08-06 16:31:33'::timestamp) - extract(epoch from '2026-08-06 16:31:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685503 -3.505914)', '2026-08-06 16:31:33', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685496 -3.505912)'), GeomFromEWKT('SRID=4674;POINT (-38.685503 -3.505914)'))) / (select extract(epoch from '2026-08-06 16:31:33'::timestamp) - extract(epoch from '2026-08-06 16:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685496 -3.505912)'), GeomFromEWKT('SRID=4674;POINT (-38.685503 -3.505914)'))) / (select extract(epoch from '2026-08-06 16:31:33'::timestamp) - extract(epoch from '2026-08-06 16:31:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685499 -3.505917)', '2026-08-06 16:31:33', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685503 -3.505914)'), GeomFromEWKT('SRID=4674;POINT (-38.685499 -3.505917)'))) / (select extract(epoch from '2026-08-06 16:31:33'::timestamp) - extract(epoch from '2026-08-06 16:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685503 -3.505914)'), GeomFromEWKT('SRID=4674;POINT (-38.685499 -3.505917)'))) / (select extract(epoch from '2026-08-06 16:31:33'::timestamp) - extract(epoch from '2026-08-06 16:31:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.6855 -3.505913)', '2026-08-06 16:31:33', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685499 -3.505917)'), GeomFromEWKT('SRID=4674;POINT (-38.6855 -3.505913)'))) / (select extract(epoch from '2026-08-06 16:31:33'::timestamp) - extract(epoch from '2026-08-06 16:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685499 -3.505917)'), GeomFromEWKT('SRID=4674;POINT (-38.6855 -3.505913)'))) / (select extract(epoch from '2026-08-06 16:31:33'::timestamp) - extract(epoch from '2026-08-06 16:31:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685505 -3.505919)', '2026-08-06 16:31:33', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6855 -3.505913)'), GeomFromEWKT('SRID=4674;POINT (-38.685505 -3.505919)'))) / (select extract(epoch from '2026-08-06 16:31:33'::timestamp) - extract(epoch from '2026-08-06 16:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6855 -3.505913)'), GeomFromEWKT('SRID=4674;POINT (-38.685505 -3.505919)'))) / (select extract(epoch from '2026-08-06 16:31:33'::timestamp) - extract(epoch from '2026-08-06 16:31:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685503 -3.505918)', '2026-08-06 16:31:33', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685505 -3.505919)'), GeomFromEWKT('SRID=4674;POINT (-38.685503 -3.505918)'))) / (select extract(epoch from '2026-08-06 16:31:33'::timestamp) - extract(epoch from '2026-08-06 16:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685505 -3.505919)'), GeomFromEWKT('SRID=4674;POINT (-38.685503 -3.505918)'))) / (select extract(epoch from '2026-08-06 16:31:33'::timestamp) - extract(epoch from '2026-08-06 16:31:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685503 -3.505908)', '2026-08-06 16:31:33', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685503 -3.505918)'), GeomFromEWKT('SRID=4674;POINT (-38.685503 -3.505908)'))) / (select extract(epoch from '2026-08-06 16:31:33'::timestamp) - extract(epoch from '2026-08-06 16:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685503 -3.505918)'), GeomFromEWKT('SRID=4674;POINT (-38.685503 -3.505908)'))) / (select extract(epoch from '2026-08-06 16:31:33'::timestamp) - extract(epoch from '2026-08-06 16:31:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685499 -3.505913)', '2026-08-06 16:31:33', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685503 -3.505908)'), GeomFromEWKT('SRID=4674;POINT (-38.685499 -3.505913)'))) / (select extract(epoch from '2026-08-06 16:31:33'::timestamp) - extract(epoch from '2026-08-06 16:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685503 -3.505908)'), GeomFromEWKT('SRID=4674;POINT (-38.685499 -3.505913)'))) / (select extract(epoch from '2026-08-06 16:31:33'::timestamp) - extract(epoch from '2026-08-06 16:31:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.6855 -3.505915)', '2026-08-06 16:31:33', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685499 -3.505913)'), GeomFromEWKT('SRID=4674;POINT (-38.6855 -3.505915)'))) / (select extract(epoch from '2026-08-06 16:31:33'::timestamp) - extract(epoch from '2026-08-06 16:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685499 -3.505913)'), GeomFromEWKT('SRID=4674;POINT (-38.6855 -3.505915)'))) / (select extract(epoch from '2026-08-06 16:31:33'::timestamp) - extract(epoch from '2026-08-06 16:31:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685498 -3.505915)', '2026-08-06 16:31:33', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6855 -3.505915)'), GeomFromEWKT('SRID=4674;POINT (-38.685498 -3.505915)'))) / (select extract(epoch from '2026-08-06 16:31:33'::timestamp) - extract(epoch from '2026-08-06 16:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6855 -3.505915)'), GeomFromEWKT('SRID=4674;POINT (-38.685498 -3.505915)'))) / (select extract(epoch from '2026-08-06 16:31:33'::timestamp) - extract(epoch from '2026-08-06 16:31:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685499 -3.505904)', '2026-08-06 16:31:33', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685498 -3.505915)'), GeomFromEWKT('SRID=4674;POINT (-38.685499 -3.505904)'))) / (select extract(epoch from '2026-08-06 16:31:33'::timestamp) - extract(epoch from '2026-08-06 16:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685498 -3.505915)'), GeomFromEWKT('SRID=4674;POINT (-38.685499 -3.505904)'))) / (select extract(epoch from '2026-08-06 16:31:33'::timestamp) - extract(epoch from '2026-08-06 16:31:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685504 -3.505905)', '2026-08-06 16:31:34', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685499 -3.505904)'), GeomFromEWKT('SRID=4674;POINT (-38.685504 -3.505905)'))) / (select extract(epoch from '2026-08-06 16:31:34'::timestamp) - extract(epoch from '2026-08-06 16:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685499 -3.505904)'), GeomFromEWKT('SRID=4674;POINT (-38.685504 -3.505905)'))) / (select extract(epoch from '2026-08-06 16:31:34'::timestamp) - extract(epoch from '2026-08-06 16:31:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685501 -3.505913)', '2026-08-06 16:31:34', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685504 -3.505905)'), GeomFromEWKT('SRID=4674;POINT (-38.685501 -3.505913)'))) / (select extract(epoch from '2026-08-06 16:31:34'::timestamp) - extract(epoch from '2026-08-06 16:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685504 -3.505905)'), GeomFromEWKT('SRID=4674;POINT (-38.685501 -3.505913)'))) / (select extract(epoch from '2026-08-06 16:31:34'::timestamp) - extract(epoch from '2026-08-06 16:31:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68551 -3.505905)', '2026-08-06 16:31:34', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685501 -3.505913)'), GeomFromEWKT('SRID=4674;POINT (-38.68551 -3.505905)'))) / (select extract(epoch from '2026-08-06 16:31:34'::timestamp) - extract(epoch from '2026-08-06 16:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685501 -3.505913)'), GeomFromEWKT('SRID=4674;POINT (-38.68551 -3.505905)'))) / (select extract(epoch from '2026-08-06 16:31:34'::timestamp) - extract(epoch from '2026-08-06 16:31:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685515 -3.505897)', '2026-08-06 16:31:34', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68551 -3.505905)'), GeomFromEWKT('SRID=4674;POINT (-38.685515 -3.505897)'))) / (select extract(epoch from '2026-08-06 16:31:34'::timestamp) - extract(epoch from '2026-08-06 16:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68551 -3.505905)'), GeomFromEWKT('SRID=4674;POINT (-38.685515 -3.505897)'))) / (select extract(epoch from '2026-08-06 16:31:34'::timestamp) - extract(epoch from '2026-08-06 16:31:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685499 -3.505888)', '2026-08-06 16:31:34', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685515 -3.505897)'), GeomFromEWKT('SRID=4674;POINT (-38.685499 -3.505888)'))) / (select extract(epoch from '2026-08-06 16:31:34'::timestamp) - extract(epoch from '2026-08-06 16:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685515 -3.505897)'), GeomFromEWKT('SRID=4674;POINT (-38.685499 -3.505888)'))) / (select extract(epoch from '2026-08-06 16:31:34'::timestamp) - extract(epoch from '2026-08-06 16:31:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685497 -3.505887)', '2026-08-06 16:31:34', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685499 -3.505888)'), GeomFromEWKT('SRID=4674;POINT (-38.685497 -3.505887)'))) / (select extract(epoch from '2026-08-06 16:31:34'::timestamp) - extract(epoch from '2026-08-06 16:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685499 -3.505888)'), GeomFromEWKT('SRID=4674;POINT (-38.685497 -3.505887)'))) / (select extract(epoch from '2026-08-06 16:31:34'::timestamp) - extract(epoch from '2026-08-06 16:31:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685493 -3.505886)', '2026-08-06 16:31:34', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685497 -3.505887)'), GeomFromEWKT('SRID=4674;POINT (-38.685493 -3.505886)'))) / (select extract(epoch from '2026-08-06 16:31:34'::timestamp) - extract(epoch from '2026-08-06 16:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685497 -3.505887)'), GeomFromEWKT('SRID=4674;POINT (-38.685493 -3.505886)'))) / (select extract(epoch from '2026-08-06 16:31:34'::timestamp) - extract(epoch from '2026-08-06 16:31:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685493 -3.505882)', '2026-08-06 16:31:34', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685493 -3.505886)'), GeomFromEWKT('SRID=4674;POINT (-38.685493 -3.505882)'))) / (select extract(epoch from '2026-08-06 16:31:34'::timestamp) - extract(epoch from '2026-08-06 16:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685493 -3.505886)'), GeomFromEWKT('SRID=4674;POINT (-38.685493 -3.505882)'))) / (select extract(epoch from '2026-08-06 16:31:34'::timestamp) - extract(epoch from '2026-08-06 16:31:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685493 -3.505884)', '2026-08-06 16:31:34', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685493 -3.505882)'), GeomFromEWKT('SRID=4674;POINT (-38.685493 -3.505884)'))) / (select extract(epoch from '2026-08-06 16:31:34'::timestamp) - extract(epoch from '2026-08-06 16:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685493 -3.505882)'), GeomFromEWKT('SRID=4674;POINT (-38.685493 -3.505884)'))) / (select extract(epoch from '2026-08-06 16:31:34'::timestamp) - extract(epoch from '2026-08-06 16:31:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685496 -3.505885)', '2026-08-06 16:31:34', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685493 -3.505884)'), GeomFromEWKT('SRID=4674;POINT (-38.685496 -3.505885)'))) / (select extract(epoch from '2026-08-06 16:31:34'::timestamp) - extract(epoch from '2026-08-06 16:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685493 -3.505884)'), GeomFromEWKT('SRID=4674;POINT (-38.685496 -3.505885)'))) / (select extract(epoch from '2026-08-06 16:31:34'::timestamp) - extract(epoch from '2026-08-06 16:31:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685491 -3.505886)', '2026-08-06 16:31:34', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685496 -3.505885)'), GeomFromEWKT('SRID=4674;POINT (-38.685491 -3.505886)'))) / (select extract(epoch from '2026-08-06 16:31:34'::timestamp) - extract(epoch from '2026-08-06 16:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685496 -3.505885)'), GeomFromEWKT('SRID=4674;POINT (-38.685491 -3.505886)'))) / (select extract(epoch from '2026-08-06 16:31:34'::timestamp) - extract(epoch from '2026-08-06 16:31:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685491 -3.505887)', '2026-08-06 16:31:34', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685491 -3.505886)'), GeomFromEWKT('SRID=4674;POINT (-38.685491 -3.505887)'))) / (select extract(epoch from '2026-08-06 16:31:34'::timestamp) - extract(epoch from '2026-08-06 16:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685491 -3.505886)'), GeomFromEWKT('SRID=4674;POINT (-38.685491 -3.505887)'))) / (select extract(epoch from '2026-08-06 16:31:34'::timestamp) - extract(epoch from '2026-08-06 16:31:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685492 -3.505892)', '2026-08-06 16:31:34', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685491 -3.505887)'), GeomFromEWKT('SRID=4674;POINT (-38.685492 -3.505892)'))) / (select extract(epoch from '2026-08-06 16:31:34'::timestamp) - extract(epoch from '2026-08-06 16:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685491 -3.505887)'), GeomFromEWKT('SRID=4674;POINT (-38.685492 -3.505892)'))) / (select extract(epoch from '2026-08-06 16:31:34'::timestamp) - extract(epoch from '2026-08-06 16:31:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685481 -3.505892)', '2026-08-06 16:31:34', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685492 -3.505892)'), GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.505892)'))) / (select extract(epoch from '2026-08-06 16:31:34'::timestamp) - extract(epoch from '2026-08-06 16:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685492 -3.505892)'), GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.505892)'))) / (select extract(epoch from '2026-08-06 16:31:34'::timestamp) - extract(epoch from '2026-08-06 16:31:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685481 -3.505886)', '2026-08-06 16:31:34', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.505892)'), GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.505886)'))) / (select extract(epoch from '2026-08-06 16:31:34'::timestamp) - extract(epoch from '2026-08-06 16:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.505892)'), GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.505886)'))) / (select extract(epoch from '2026-08-06 16:31:34'::timestamp) - extract(epoch from '2026-08-06 16:31:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685478 -3.505886)', '2026-08-06 16:31:35', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.505886)'), GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505886)'))) / (select extract(epoch from '2026-08-06 16:31:35'::timestamp) - extract(epoch from '2026-08-06 16:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685481 -3.505886)'), GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505886)'))) / (select extract(epoch from '2026-08-06 16:31:35'::timestamp) - extract(epoch from '2026-08-06 16:31:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685469 -3.505873)', '2026-08-06 16:31:35', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505886)'), GeomFromEWKT('SRID=4674;POINT (-38.685469 -3.505873)'))) / (select extract(epoch from '2026-08-06 16:31:35'::timestamp) - extract(epoch from '2026-08-06 16:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505886)'), GeomFromEWKT('SRID=4674;POINT (-38.685469 -3.505873)'))) / (select extract(epoch from '2026-08-06 16:31:35'::timestamp) - extract(epoch from '2026-08-06 16:31:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685467 -3.505874)', '2026-08-06 16:31:35', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685469 -3.505873)'), GeomFromEWKT('SRID=4674;POINT (-38.685467 -3.505874)'))) / (select extract(epoch from '2026-08-06 16:31:35'::timestamp) - extract(epoch from '2026-08-06 16:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685469 -3.505873)'), GeomFromEWKT('SRID=4674;POINT (-38.685467 -3.505874)'))) / (select extract(epoch from '2026-08-06 16:31:35'::timestamp) - extract(epoch from '2026-08-06 16:31:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685471 -3.505871)', '2026-08-06 16:31:35', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685467 -3.505874)'), GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.505871)'))) / (select extract(epoch from '2026-08-06 16:31:35'::timestamp) - extract(epoch from '2026-08-06 16:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685467 -3.505874)'), GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.505871)'))) / (select extract(epoch from '2026-08-06 16:31:35'::timestamp) - extract(epoch from '2026-08-06 16:31:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685462 -3.505872)', '2026-08-06 16:31:35', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.505871)'), GeomFromEWKT('SRID=4674;POINT (-38.685462 -3.505872)'))) / (select extract(epoch from '2026-08-06 16:31:35'::timestamp) - extract(epoch from '2026-08-06 16:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.505871)'), GeomFromEWKT('SRID=4674;POINT (-38.685462 -3.505872)'))) / (select extract(epoch from '2026-08-06 16:31:35'::timestamp) - extract(epoch from '2026-08-06 16:31:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68546 -3.50587)', '2026-08-06 16:31:35', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685462 -3.505872)'), GeomFromEWKT('SRID=4674;POINT (-38.68546 -3.50587)'))) / (select extract(epoch from '2026-08-06 16:31:35'::timestamp) - extract(epoch from '2026-08-06 16:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685462 -3.505872)'), GeomFromEWKT('SRID=4674;POINT (-38.68546 -3.50587)'))) / (select extract(epoch from '2026-08-06 16:31:35'::timestamp) - extract(epoch from '2026-08-06 16:31:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685467 -3.505879)', '2026-08-06 16:31:35', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68546 -3.50587)'), GeomFromEWKT('SRID=4674;POINT (-38.685467 -3.505879)'))) / (select extract(epoch from '2026-08-06 16:31:35'::timestamp) - extract(epoch from '2026-08-06 16:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68546 -3.50587)'), GeomFromEWKT('SRID=4674;POINT (-38.685467 -3.505879)'))) / (select extract(epoch from '2026-08-06 16:31:35'::timestamp) - extract(epoch from '2026-08-06 16:31:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685463 -3.505876)', '2026-08-06 16:31:35', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685467 -3.505879)'), GeomFromEWKT('SRID=4674;POINT (-38.685463 -3.505876)'))) / (select extract(epoch from '2026-08-06 16:31:35'::timestamp) - extract(epoch from '2026-08-06 16:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685467 -3.505879)'), GeomFromEWKT('SRID=4674;POINT (-38.685463 -3.505876)'))) / (select extract(epoch from '2026-08-06 16:31:35'::timestamp) - extract(epoch from '2026-08-06 16:31:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685465 -3.505875)', '2026-08-06 16:31:35', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685463 -3.505876)'), GeomFromEWKT('SRID=4674;POINT (-38.685465 -3.505875)'))) / (select extract(epoch from '2026-08-06 16:31:35'::timestamp) - extract(epoch from '2026-08-06 16:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685463 -3.505876)'), GeomFromEWKT('SRID=4674;POINT (-38.685465 -3.505875)'))) / (select extract(epoch from '2026-08-06 16:31:35'::timestamp) - extract(epoch from '2026-08-06 16:31:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685471 -3.505878)', '2026-08-06 16:31:35', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685465 -3.505875)'), GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.505878)'))) / (select extract(epoch from '2026-08-06 16:31:35'::timestamp) - extract(epoch from '2026-08-06 16:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685465 -3.505875)'), GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.505878)'))) / (select extract(epoch from '2026-08-06 16:31:35'::timestamp) - extract(epoch from '2026-08-06 16:31:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685472 -3.505877)', '2026-08-06 16:31:35', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.505878)'), GeomFromEWKT('SRID=4674;POINT (-38.685472 -3.505877)'))) / (select extract(epoch from '2026-08-06 16:31:35'::timestamp) - extract(epoch from '2026-08-06 16:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.505878)'), GeomFromEWKT('SRID=4674;POINT (-38.685472 -3.505877)'))) / (select extract(epoch from '2026-08-06 16:31:35'::timestamp) - extract(epoch from '2026-08-06 16:31:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685466 -3.505879)', '2026-08-06 16:31:35', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685472 -3.505877)'), GeomFromEWKT('SRID=4674;POINT (-38.685466 -3.505879)'))) / (select extract(epoch from '2026-08-06 16:31:35'::timestamp) - extract(epoch from '2026-08-06 16:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685472 -3.505877)'), GeomFromEWKT('SRID=4674;POINT (-38.685466 -3.505879)'))) / (select extract(epoch from '2026-08-06 16:31:35'::timestamp) - extract(epoch from '2026-08-06 16:31:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685476 -3.505874)', '2026-08-06 16:31:35', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685466 -3.505879)'), GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505874)'))) / (select extract(epoch from '2026-08-06 16:31:35'::timestamp) - extract(epoch from '2026-08-06 16:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685466 -3.505879)'), GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505874)'))) / (select extract(epoch from '2026-08-06 16:31:35'::timestamp) - extract(epoch from '2026-08-06 16:31:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685478 -3.505871)', '2026-08-06 16:31:35', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505874)'), GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505871)'))) / (select extract(epoch from '2026-08-06 16:31:35'::timestamp) - extract(epoch from '2026-08-06 16:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505874)'), GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505871)'))) / (select extract(epoch from '2026-08-06 16:31:35'::timestamp) - extract(epoch from '2026-08-06 16:31:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685473 -3.50587)', '2026-08-06 16:31:35', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505871)'), GeomFromEWKT('SRID=4674;POINT (-38.685473 -3.50587)'))) / (select extract(epoch from '2026-08-06 16:31:35'::timestamp) - extract(epoch from '2026-08-06 16:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685478 -3.505871)'), GeomFromEWKT('SRID=4674;POINT (-38.685473 -3.50587)'))) / (select extract(epoch from '2026-08-06 16:31:35'::timestamp) - extract(epoch from '2026-08-06 16:31:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685476 -3.505865)', '2026-08-06 16:31:36', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685473 -3.50587)'), GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505865)'))) / (select extract(epoch from '2026-08-06 16:31:36'::timestamp) - extract(epoch from '2026-08-06 16:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685473 -3.50587)'), GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505865)'))) / (select extract(epoch from '2026-08-06 16:31:36'::timestamp) - extract(epoch from '2026-08-06 16:31:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685479 -3.505861)', '2026-08-06 16:31:36', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505865)'), GeomFromEWKT('SRID=4674;POINT (-38.685479 -3.505861)'))) / (select extract(epoch from '2026-08-06 16:31:36'::timestamp) - extract(epoch from '2026-08-06 16:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685476 -3.505865)'), GeomFromEWKT('SRID=4674;POINT (-38.685479 -3.505861)'))) / (select extract(epoch from '2026-08-06 16:31:36'::timestamp) - extract(epoch from '2026-08-06 16:31:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685472 -3.505863)', '2026-08-06 16:31:36', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685479 -3.505861)'), GeomFromEWKT('SRID=4674;POINT (-38.685472 -3.505863)'))) / (select extract(epoch from '2026-08-06 16:31:36'::timestamp) - extract(epoch from '2026-08-06 16:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685479 -3.505861)'), GeomFromEWKT('SRID=4674;POINT (-38.685472 -3.505863)'))) / (select extract(epoch from '2026-08-06 16:31:36'::timestamp) - extract(epoch from '2026-08-06 16:31:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685471 -3.505857)', '2026-08-06 16:31:36', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685472 -3.505863)'), GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.505857)'))) / (select extract(epoch from '2026-08-06 16:31:36'::timestamp) - extract(epoch from '2026-08-06 16:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685472 -3.505863)'), GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.505857)'))) / (select extract(epoch from '2026-08-06 16:31:36'::timestamp) - extract(epoch from '2026-08-06 16:31:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685458 -3.505859)', '2026-08-06 16:31:36', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.505857)'), GeomFromEWKT('SRID=4674;POINT (-38.685458 -3.505859)'))) / (select extract(epoch from '2026-08-06 16:31:36'::timestamp) - extract(epoch from '2026-08-06 16:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.505857)'), GeomFromEWKT('SRID=4674;POINT (-38.685458 -3.505859)'))) / (select extract(epoch from '2026-08-06 16:31:36'::timestamp) - extract(epoch from '2026-08-06 16:31:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685462 -3.505858)', '2026-08-06 16:31:36', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685458 -3.505859)'), GeomFromEWKT('SRID=4674;POINT (-38.685462 -3.505858)'))) / (select extract(epoch from '2026-08-06 16:31:36'::timestamp) - extract(epoch from '2026-08-06 16:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685458 -3.505859)'), GeomFromEWKT('SRID=4674;POINT (-38.685462 -3.505858)'))) / (select extract(epoch from '2026-08-06 16:31:36'::timestamp) - extract(epoch from '2026-08-06 16:31:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685462 -3.505858)', '2026-08-06 16:31:36', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685462 -3.505858)'), GeomFromEWKT('SRID=4674;POINT (-38.685462 -3.505858)'))) / (select extract(epoch from '2026-08-06 16:31:36'::timestamp) - extract(epoch from '2026-08-06 16:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685462 -3.505858)'), GeomFromEWKT('SRID=4674;POINT (-38.685462 -3.505858)'))) / (select extract(epoch from '2026-08-06 16:31:36'::timestamp) - extract(epoch from '2026-08-06 16:31:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685463 -3.505855)', '2026-08-06 16:31:36', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685462 -3.505858)'), GeomFromEWKT('SRID=4674;POINT (-38.685463 -3.505855)'))) / (select extract(epoch from '2026-08-06 16:31:36'::timestamp) - extract(epoch from '2026-08-06 16:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685462 -3.505858)'), GeomFromEWKT('SRID=4674;POINT (-38.685463 -3.505855)'))) / (select extract(epoch from '2026-08-06 16:31:36'::timestamp) - extract(epoch from '2026-08-06 16:31:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68546 -3.505846)', '2026-08-06 16:31:36', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685463 -3.505855)'), GeomFromEWKT('SRID=4674;POINT (-38.68546 -3.505846)'))) / (select extract(epoch from '2026-08-06 16:31:36'::timestamp) - extract(epoch from '2026-08-06 16:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685463 -3.505855)'), GeomFromEWKT('SRID=4674;POINT (-38.68546 -3.505846)'))) / (select extract(epoch from '2026-08-06 16:31:36'::timestamp) - extract(epoch from '2026-08-06 16:31:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685455 -3.50584)', '2026-08-06 16:31:36', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68546 -3.505846)'), GeomFromEWKT('SRID=4674;POINT (-38.685455 -3.50584)'))) / (select extract(epoch from '2026-08-06 16:31:36'::timestamp) - extract(epoch from '2026-08-06 16:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68546 -3.505846)'), GeomFromEWKT('SRID=4674;POINT (-38.685455 -3.50584)'))) / (select extract(epoch from '2026-08-06 16:31:36'::timestamp) - extract(epoch from '2026-08-06 16:31:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685457 -3.505837)', '2026-08-06 16:31:36', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685455 -3.50584)'), GeomFromEWKT('SRID=4674;POINT (-38.685457 -3.505837)'))) / (select extract(epoch from '2026-08-06 16:31:36'::timestamp) - extract(epoch from '2026-08-06 16:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685455 -3.50584)'), GeomFromEWKT('SRID=4674;POINT (-38.685457 -3.505837)'))) / (select extract(epoch from '2026-08-06 16:31:36'::timestamp) - extract(epoch from '2026-08-06 16:31:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685461 -3.505841)', '2026-08-06 16:31:36', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685457 -3.505837)'), GeomFromEWKT('SRID=4674;POINT (-38.685461 -3.505841)'))) / (select extract(epoch from '2026-08-06 16:31:36'::timestamp) - extract(epoch from '2026-08-06 16:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685457 -3.505837)'), GeomFromEWKT('SRID=4674;POINT (-38.685461 -3.505841)'))) / (select extract(epoch from '2026-08-06 16:31:36'::timestamp) - extract(epoch from '2026-08-06 16:31:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685456 -3.505846)', '2026-08-06 16:31:36', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685461 -3.505841)'), GeomFromEWKT('SRID=4674;POINT (-38.685456 -3.505846)'))) / (select extract(epoch from '2026-08-06 16:31:36'::timestamp) - extract(epoch from '2026-08-06 16:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685461 -3.505841)'), GeomFromEWKT('SRID=4674;POINT (-38.685456 -3.505846)'))) / (select extract(epoch from '2026-08-06 16:31:36'::timestamp) - extract(epoch from '2026-08-06 16:31:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68546 -3.505848)', '2026-08-06 16:31:36', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685456 -3.505846)'), GeomFromEWKT('SRID=4674;POINT (-38.68546 -3.505848)'))) / (select extract(epoch from '2026-08-06 16:31:36'::timestamp) - extract(epoch from '2026-08-06 16:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685456 -3.505846)'), GeomFromEWKT('SRID=4674;POINT (-38.68546 -3.505848)'))) / (select extract(epoch from '2026-08-06 16:31:36'::timestamp) - extract(epoch from '2026-08-06 16:31:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685469 -3.505854)', '2026-08-06 16:31:36', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68546 -3.505848)'), GeomFromEWKT('SRID=4674;POINT (-38.685469 -3.505854)'))) / (select extract(epoch from '2026-08-06 16:31:36'::timestamp) - extract(epoch from '2026-08-06 16:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68546 -3.505848)'), GeomFromEWKT('SRID=4674;POINT (-38.685469 -3.505854)'))) / (select extract(epoch from '2026-08-06 16:31:36'::timestamp) - extract(epoch from '2026-08-06 16:31:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685474 -3.505859)', '2026-08-06 16:31:36', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685469 -3.505854)'), GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505859)'))) / (select extract(epoch from '2026-08-06 16:31:36'::timestamp) - extract(epoch from '2026-08-06 16:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685469 -3.505854)'), GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505859)'))) / (select extract(epoch from '2026-08-06 16:31:36'::timestamp) - extract(epoch from '2026-08-06 16:31:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685471 -3.505851)', '2026-08-06 16:31:37', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505859)'), GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.505851)'))) / (select extract(epoch from '2026-08-06 16:31:37'::timestamp) - extract(epoch from '2026-08-06 16:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685474 -3.505859)'), GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.505851)'))) / (select extract(epoch from '2026-08-06 16:31:37'::timestamp) - extract(epoch from '2026-08-06 16:31:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685469 -3.505847)', '2026-08-06 16:31:37', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.505851)'), GeomFromEWKT('SRID=4674;POINT (-38.685469 -3.505847)'))) / (select extract(epoch from '2026-08-06 16:31:37'::timestamp) - extract(epoch from '2026-08-06 16:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685471 -3.505851)'), GeomFromEWKT('SRID=4674;POINT (-38.685469 -3.505847)'))) / (select extract(epoch from '2026-08-06 16:31:37'::timestamp) - extract(epoch from '2026-08-06 16:31:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685468 -3.505844)', '2026-08-06 16:31:37', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685469 -3.505847)'), GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505844)'))) / (select extract(epoch from '2026-08-06 16:31:37'::timestamp) - extract(epoch from '2026-08-06 16:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685469 -3.505847)'), GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505844)'))) / (select extract(epoch from '2026-08-06 16:31:37'::timestamp) - extract(epoch from '2026-08-06 16:31:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685468 -3.505843)', '2026-08-06 16:31:37', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505844)'), GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505843)'))) / (select extract(epoch from '2026-08-06 16:31:37'::timestamp) - extract(epoch from '2026-08-06 16:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505844)'), GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505843)'))) / (select extract(epoch from '2026-08-06 16:31:37'::timestamp) - extract(epoch from '2026-08-06 16:31:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68547 -3.505854)', '2026-08-06 16:31:37', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505843)'), GeomFromEWKT('SRID=4674;POINT (-38.68547 -3.505854)'))) / (select extract(epoch from '2026-08-06 16:31:37'::timestamp) - extract(epoch from '2026-08-06 16:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505843)'), GeomFromEWKT('SRID=4674;POINT (-38.68547 -3.505854)'))) / (select extract(epoch from '2026-08-06 16:31:37'::timestamp) - extract(epoch from '2026-08-06 16:31:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685475 -3.505851)', '2026-08-06 16:31:37', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68547 -3.505854)'), GeomFromEWKT('SRID=4674;POINT (-38.685475 -3.505851)'))) / (select extract(epoch from '2026-08-06 16:31:37'::timestamp) - extract(epoch from '2026-08-06 16:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68547 -3.505854)'), GeomFromEWKT('SRID=4674;POINT (-38.685475 -3.505851)'))) / (select extract(epoch from '2026-08-06 16:31:37'::timestamp) - extract(epoch from '2026-08-06 16:31:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685473 -3.505845)', '2026-08-06 16:31:37', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685475 -3.505851)'), GeomFromEWKT('SRID=4674;POINT (-38.685473 -3.505845)'))) / (select extract(epoch from '2026-08-06 16:31:37'::timestamp) - extract(epoch from '2026-08-06 16:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685475 -3.505851)'), GeomFromEWKT('SRID=4674;POINT (-38.685473 -3.505845)'))) / (select extract(epoch from '2026-08-06 16:31:37'::timestamp) - extract(epoch from '2026-08-06 16:31:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68547 -3.505846)', '2026-08-06 16:31:37', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685473 -3.505845)'), GeomFromEWKT('SRID=4674;POINT (-38.68547 -3.505846)'))) / (select extract(epoch from '2026-08-06 16:31:37'::timestamp) - extract(epoch from '2026-08-06 16:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685473 -3.505845)'), GeomFromEWKT('SRID=4674;POINT (-38.68547 -3.505846)'))) / (select extract(epoch from '2026-08-06 16:31:37'::timestamp) - extract(epoch from '2026-08-06 16:31:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685463 -3.505844)', '2026-08-06 16:31:37', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68547 -3.505846)'), GeomFromEWKT('SRID=4674;POINT (-38.685463 -3.505844)'))) / (select extract(epoch from '2026-08-06 16:31:37'::timestamp) - extract(epoch from '2026-08-06 16:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68547 -3.505846)'), GeomFromEWKT('SRID=4674;POINT (-38.685463 -3.505844)'))) / (select extract(epoch from '2026-08-06 16:31:37'::timestamp) - extract(epoch from '2026-08-06 16:31:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685467 -3.50584)', '2026-08-06 16:31:37', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685463 -3.505844)'), GeomFromEWKT('SRID=4674;POINT (-38.685467 -3.50584)'))) / (select extract(epoch from '2026-08-06 16:31:37'::timestamp) - extract(epoch from '2026-08-06 16:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685463 -3.505844)'), GeomFromEWKT('SRID=4674;POINT (-38.685467 -3.50584)'))) / (select extract(epoch from '2026-08-06 16:31:37'::timestamp) - extract(epoch from '2026-08-06 16:31:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685466 -3.505841)', '2026-08-06 16:31:37', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685467 -3.50584)'), GeomFromEWKT('SRID=4674;POINT (-38.685466 -3.505841)'))) / (select extract(epoch from '2026-08-06 16:31:37'::timestamp) - extract(epoch from '2026-08-06 16:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685467 -3.50584)'), GeomFromEWKT('SRID=4674;POINT (-38.685466 -3.505841)'))) / (select extract(epoch from '2026-08-06 16:31:37'::timestamp) - extract(epoch from '2026-08-06 16:31:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685464 -3.505842)', '2026-08-06 16:31:37', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685466 -3.505841)'), GeomFromEWKT('SRID=4674;POINT (-38.685464 -3.505842)'))) / (select extract(epoch from '2026-08-06 16:31:37'::timestamp) - extract(epoch from '2026-08-06 16:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685466 -3.505841)'), GeomFromEWKT('SRID=4674;POINT (-38.685464 -3.505842)'))) / (select extract(epoch from '2026-08-06 16:31:37'::timestamp) - extract(epoch from '2026-08-06 16:31:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68546 -3.505836)', '2026-08-06 16:31:37', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685464 -3.505842)'), GeomFromEWKT('SRID=4674;POINT (-38.68546 -3.505836)'))) / (select extract(epoch from '2026-08-06 16:31:37'::timestamp) - extract(epoch from '2026-08-06 16:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685464 -3.505842)'), GeomFromEWKT('SRID=4674;POINT (-38.68546 -3.505836)'))) / (select extract(epoch from '2026-08-06 16:31:37'::timestamp) - extract(epoch from '2026-08-06 16:31:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685461 -3.505843)', '2026-08-06 16:31:37', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68546 -3.505836)'), GeomFromEWKT('SRID=4674;POINT (-38.685461 -3.505843)'))) / (select extract(epoch from '2026-08-06 16:31:37'::timestamp) - extract(epoch from '2026-08-06 16:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68546 -3.505836)'), GeomFromEWKT('SRID=4674;POINT (-38.685461 -3.505843)'))) / (select extract(epoch from '2026-08-06 16:31:37'::timestamp) - extract(epoch from '2026-08-06 16:31:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685464 -3.505846)', '2026-08-06 16:31:37', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685461 -3.505843)'), GeomFromEWKT('SRID=4674;POINT (-38.685464 -3.505846)'))) / (select extract(epoch from '2026-08-06 16:31:37'::timestamp) - extract(epoch from '2026-08-06 16:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685461 -3.505843)'), GeomFromEWKT('SRID=4674;POINT (-38.685464 -3.505846)'))) / (select extract(epoch from '2026-08-06 16:31:37'::timestamp) - extract(epoch from '2026-08-06 16:31:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685463 -3.505843)', '2026-08-06 16:31:37', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685464 -3.505846)'), GeomFromEWKT('SRID=4674;POINT (-38.685463 -3.505843)'))) / (select extract(epoch from '2026-08-06 16:31:37'::timestamp) - extract(epoch from '2026-08-06 16:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685464 -3.505846)'), GeomFromEWKT('SRID=4674;POINT (-38.685463 -3.505843)'))) / (select extract(epoch from '2026-08-06 16:31:37'::timestamp) - extract(epoch from '2026-08-06 16:31:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685466 -3.505846)', '2026-08-06 16:31:37', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685463 -3.505843)'), GeomFromEWKT('SRID=4674;POINT (-38.685466 -3.505846)'))) / (select extract(epoch from '2026-08-06 16:31:37'::timestamp) - extract(epoch from '2026-08-06 16:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685463 -3.505843)'), GeomFromEWKT('SRID=4674;POINT (-38.685466 -3.505846)'))) / (select extract(epoch from '2026-08-06 16:31:37'::timestamp) - extract(epoch from '2026-08-06 16:31:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685464 -3.505847)', '2026-08-06 16:31:38', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685466 -3.505846)'), GeomFromEWKT('SRID=4674;POINT (-38.685464 -3.505847)'))) / (select extract(epoch from '2026-08-06 16:31:38'::timestamp) - extract(epoch from '2026-08-06 16:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685466 -3.505846)'), GeomFromEWKT('SRID=4674;POINT (-38.685464 -3.505847)'))) / (select extract(epoch from '2026-08-06 16:31:38'::timestamp) - extract(epoch from '2026-08-06 16:31:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685468 -3.505847)', '2026-08-06 16:31:38', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685464 -3.505847)'), GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505847)'))) / (select extract(epoch from '2026-08-06 16:31:38'::timestamp) - extract(epoch from '2026-08-06 16:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685464 -3.505847)'), GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505847)'))) / (select extract(epoch from '2026-08-06 16:31:38'::timestamp) - extract(epoch from '2026-08-06 16:31:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685465 -3.505843)', '2026-08-06 16:31:38', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505847)'), GeomFromEWKT('SRID=4674;POINT (-38.685465 -3.505843)'))) / (select extract(epoch from '2026-08-06 16:31:38'::timestamp) - extract(epoch from '2026-08-06 16:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.505847)'), GeomFromEWKT('SRID=4674;POINT (-38.685465 -3.505843)'))) / (select extract(epoch from '2026-08-06 16:31:38'::timestamp) - extract(epoch from '2026-08-06 16:31:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685463 -3.505836)', '2026-08-06 16:31:38', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685465 -3.505843)'), GeomFromEWKT('SRID=4674;POINT (-38.685463 -3.505836)'))) / (select extract(epoch from '2026-08-06 16:31:38'::timestamp) - extract(epoch from '2026-08-06 16:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685465 -3.505843)'), GeomFromEWKT('SRID=4674;POINT (-38.685463 -3.505836)'))) / (select extract(epoch from '2026-08-06 16:31:38'::timestamp) - extract(epoch from '2026-08-06 16:31:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68546 -3.505846)', '2026-08-06 16:31:38', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685463 -3.505836)'), GeomFromEWKT('SRID=4674;POINT (-38.68546 -3.505846)'))) / (select extract(epoch from '2026-08-06 16:31:38'::timestamp) - extract(epoch from '2026-08-06 16:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685463 -3.505836)'), GeomFromEWKT('SRID=4674;POINT (-38.68546 -3.505846)'))) / (select extract(epoch from '2026-08-06 16:31:38'::timestamp) - extract(epoch from '2026-08-06 16:31:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68546 -3.505841)', '2026-08-06 16:31:38', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68546 -3.505846)'), GeomFromEWKT('SRID=4674;POINT (-38.68546 -3.505841)'))) / (select extract(epoch from '2026-08-06 16:31:38'::timestamp) - extract(epoch from '2026-08-06 16:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68546 -3.505846)'), GeomFromEWKT('SRID=4674;POINT (-38.68546 -3.505841)'))) / (select extract(epoch from '2026-08-06 16:31:38'::timestamp) - extract(epoch from '2026-08-06 16:31:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685456 -3.505834)', '2026-08-06 16:31:38', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68546 -3.505841)'), GeomFromEWKT('SRID=4674;POINT (-38.685456 -3.505834)'))) / (select extract(epoch from '2026-08-06 16:31:38'::timestamp) - extract(epoch from '2026-08-06 16:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68546 -3.505841)'), GeomFromEWKT('SRID=4674;POINT (-38.685456 -3.505834)'))) / (select extract(epoch from '2026-08-06 16:31:38'::timestamp) - extract(epoch from '2026-08-06 16:31:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685457 -3.505835)', '2026-08-06 16:31:38', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685456 -3.505834)'), GeomFromEWKT('SRID=4674;POINT (-38.685457 -3.505835)'))) / (select extract(epoch from '2026-08-06 16:31:38'::timestamp) - extract(epoch from '2026-08-06 16:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685456 -3.505834)'), GeomFromEWKT('SRID=4674;POINT (-38.685457 -3.505835)'))) / (select extract(epoch from '2026-08-06 16:31:38'::timestamp) - extract(epoch from '2026-08-06 16:31:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685451 -3.505828)', '2026-08-06 16:31:38', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685457 -3.505835)'), GeomFromEWKT('SRID=4674;POINT (-38.685451 -3.505828)'))) / (select extract(epoch from '2026-08-06 16:31:38'::timestamp) - extract(epoch from '2026-08-06 16:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685457 -3.505835)'), GeomFromEWKT('SRID=4674;POINT (-38.685451 -3.505828)'))) / (select extract(epoch from '2026-08-06 16:31:38'::timestamp) - extract(epoch from '2026-08-06 16:31:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685444 -3.505823)', '2026-08-06 16:31:38', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685451 -3.505828)'), GeomFromEWKT('SRID=4674;POINT (-38.685444 -3.505823)'))) / (select extract(epoch from '2026-08-06 16:31:38'::timestamp) - extract(epoch from '2026-08-06 16:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685451 -3.505828)'), GeomFromEWKT('SRID=4674;POINT (-38.685444 -3.505823)'))) / (select extract(epoch from '2026-08-06 16:31:38'::timestamp) - extract(epoch from '2026-08-06 16:31:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685439 -3.505814)', '2026-08-06 16:31:38', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685444 -3.505823)'), GeomFromEWKT('SRID=4674;POINT (-38.685439 -3.505814)'))) / (select extract(epoch from '2026-08-06 16:31:38'::timestamp) - extract(epoch from '2026-08-06 16:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685444 -3.505823)'), GeomFromEWKT('SRID=4674;POINT (-38.685439 -3.505814)'))) / (select extract(epoch from '2026-08-06 16:31:38'::timestamp) - extract(epoch from '2026-08-06 16:31:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685429 -3.505815)', '2026-08-06 16:31:38', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685439 -3.505814)'), GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505815)'))) / (select extract(epoch from '2026-08-06 16:31:38'::timestamp) - extract(epoch from '2026-08-06 16:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685439 -3.505814)'), GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505815)'))) / (select extract(epoch from '2026-08-06 16:31:38'::timestamp) - extract(epoch from '2026-08-06 16:31:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685431 -3.505818)', '2026-08-06 16:31:38', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505815)'), GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505818)'))) / (select extract(epoch from '2026-08-06 16:31:38'::timestamp) - extract(epoch from '2026-08-06 16:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505815)'), GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505818)'))) / (select extract(epoch from '2026-08-06 16:31:38'::timestamp) - extract(epoch from '2026-08-06 16:31:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685428 -3.505821)', '2026-08-06 16:31:38', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505818)'), GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505821)'))) / (select extract(epoch from '2026-08-06 16:31:38'::timestamp) - extract(epoch from '2026-08-06 16:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505818)'), GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505821)'))) / (select extract(epoch from '2026-08-06 16:31:38'::timestamp) - extract(epoch from '2026-08-06 16:31:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685431 -3.505816)', '2026-08-06 16:31:38', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505821)'), GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505816)'))) / (select extract(epoch from '2026-08-06 16:31:38'::timestamp) - extract(epoch from '2026-08-06 16:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505821)'), GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505816)'))) / (select extract(epoch from '2026-08-06 16:31:38'::timestamp) - extract(epoch from '2026-08-06 16:31:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685428 -3.505815)', '2026-08-06 16:31:38', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505816)'), GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505815)'))) / (select extract(epoch from '2026-08-06 16:31:38'::timestamp) - extract(epoch from '2026-08-06 16:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505816)'), GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505815)'))) / (select extract(epoch from '2026-08-06 16:31:38'::timestamp) - extract(epoch from '2026-08-06 16:31:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685424 -3.505808)', '2026-08-06 16:31:39', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505815)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505808)'))) / (select extract(epoch from '2026-08-06 16:31:39'::timestamp) - extract(epoch from '2026-08-06 16:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505815)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505808)'))) / (select extract(epoch from '2026-08-06 16:31:39'::timestamp) - extract(epoch from '2026-08-06 16:31:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685424 -3.505803)', '2026-08-06 16:31:39', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505808)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505803)'))) / (select extract(epoch from '2026-08-06 16:31:39'::timestamp) - extract(epoch from '2026-08-06 16:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505808)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505803)'))) / (select extract(epoch from '2026-08-06 16:31:39'::timestamp) - extract(epoch from '2026-08-06 16:31:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685412 -3.505799)', '2026-08-06 16:31:39', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505803)'), GeomFromEWKT('SRID=4674;POINT (-38.685412 -3.505799)'))) / (select extract(epoch from '2026-08-06 16:31:39'::timestamp) - extract(epoch from '2026-08-06 16:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505803)'), GeomFromEWKT('SRID=4674;POINT (-38.685412 -3.505799)'))) / (select extract(epoch from '2026-08-06 16:31:39'::timestamp) - extract(epoch from '2026-08-06 16:31:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685419 -3.505801)', '2026-08-06 16:31:39', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685412 -3.505799)'), GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505801)'))) / (select extract(epoch from '2026-08-06 16:31:39'::timestamp) - extract(epoch from '2026-08-06 16:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685412 -3.505799)'), GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505801)'))) / (select extract(epoch from '2026-08-06 16:31:39'::timestamp) - extract(epoch from '2026-08-06 16:31:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685419 -3.505806)', '2026-08-06 16:31:39', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505801)'), GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505806)'))) / (select extract(epoch from '2026-08-06 16:31:39'::timestamp) - extract(epoch from '2026-08-06 16:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505801)'), GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505806)'))) / (select extract(epoch from '2026-08-06 16:31:39'::timestamp) - extract(epoch from '2026-08-06 16:31:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685422 -3.505806)', '2026-08-06 16:31:39', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505806)'), GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505806)'))) / (select extract(epoch from '2026-08-06 16:31:39'::timestamp) - extract(epoch from '2026-08-06 16:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505806)'), GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505806)'))) / (select extract(epoch from '2026-08-06 16:31:39'::timestamp) - extract(epoch from '2026-08-06 16:31:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685423 -3.505803)', '2026-08-06 16:31:39', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505806)'), GeomFromEWKT('SRID=4674;POINT (-38.685423 -3.505803)'))) / (select extract(epoch from '2026-08-06 16:31:39'::timestamp) - extract(epoch from '2026-08-06 16:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505806)'), GeomFromEWKT('SRID=4674;POINT (-38.685423 -3.505803)'))) / (select extract(epoch from '2026-08-06 16:31:39'::timestamp) - extract(epoch from '2026-08-06 16:31:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685416 -3.505808)', '2026-08-06 16:31:39', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685423 -3.505803)'), GeomFromEWKT('SRID=4674;POINT (-38.685416 -3.505808)'))) / (select extract(epoch from '2026-08-06 16:31:39'::timestamp) - extract(epoch from '2026-08-06 16:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685423 -3.505803)'), GeomFromEWKT('SRID=4674;POINT (-38.685416 -3.505808)'))) / (select extract(epoch from '2026-08-06 16:31:39'::timestamp) - extract(epoch from '2026-08-06 16:31:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685422 -3.505805)', '2026-08-06 16:31:39', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685416 -3.505808)'), GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505805)'))) / (select extract(epoch from '2026-08-06 16:31:39'::timestamp) - extract(epoch from '2026-08-06 16:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685416 -3.505808)'), GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505805)'))) / (select extract(epoch from '2026-08-06 16:31:39'::timestamp) - extract(epoch from '2026-08-06 16:31:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685424 -3.505812)', '2026-08-06 16:31:39', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505805)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505812)'))) / (select extract(epoch from '2026-08-06 16:31:39'::timestamp) - extract(epoch from '2026-08-06 16:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505805)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505812)'))) / (select extract(epoch from '2026-08-06 16:31:39'::timestamp) - extract(epoch from '2026-08-06 16:31:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685435 -3.505814)', '2026-08-06 16:31:39', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505812)'), GeomFromEWKT('SRID=4674;POINT (-38.685435 -3.505814)'))) / (select extract(epoch from '2026-08-06 16:31:39'::timestamp) - extract(epoch from '2026-08-06 16:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505812)'), GeomFromEWKT('SRID=4674;POINT (-38.685435 -3.505814)'))) / (select extract(epoch from '2026-08-06 16:31:39'::timestamp) - extract(epoch from '2026-08-06 16:31:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685434 -3.50581)', '2026-08-06 16:31:39', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685435 -3.505814)'), GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.50581)'))) / (select extract(epoch from '2026-08-06 16:31:39'::timestamp) - extract(epoch from '2026-08-06 16:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685435 -3.505814)'), GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.50581)'))) / (select extract(epoch from '2026-08-06 16:31:39'::timestamp) - extract(epoch from '2026-08-06 16:31:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685434 -3.50581)', '2026-08-06 16:31:39', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.50581)'), GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.50581)'))) / (select extract(epoch from '2026-08-06 16:31:39'::timestamp) - extract(epoch from '2026-08-06 16:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.50581)'), GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.50581)'))) / (select extract(epoch from '2026-08-06 16:31:39'::timestamp) - extract(epoch from '2026-08-06 16:31:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685433 -3.505816)', '2026-08-06 16:31:39', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.50581)'), GeomFromEWKT('SRID=4674;POINT (-38.685433 -3.505816)'))) / (select extract(epoch from '2026-08-06 16:31:39'::timestamp) - extract(epoch from '2026-08-06 16:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.50581)'), GeomFromEWKT('SRID=4674;POINT (-38.685433 -3.505816)'))) / (select extract(epoch from '2026-08-06 16:31:39'::timestamp) - extract(epoch from '2026-08-06 16:31:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685439 -3.505814)', '2026-08-06 16:31:39', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685433 -3.505816)'), GeomFromEWKT('SRID=4674;POINT (-38.685439 -3.505814)'))) / (select extract(epoch from '2026-08-06 16:31:39'::timestamp) - extract(epoch from '2026-08-06 16:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685433 -3.505816)'), GeomFromEWKT('SRID=4674;POINT (-38.685439 -3.505814)'))) / (select extract(epoch from '2026-08-06 16:31:39'::timestamp) - extract(epoch from '2026-08-06 16:31:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685439 -3.50582)', '2026-08-06 16:31:39', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685439 -3.505814)'), GeomFromEWKT('SRID=4674;POINT (-38.685439 -3.50582)'))) / (select extract(epoch from '2026-08-06 16:31:39'::timestamp) - extract(epoch from '2026-08-06 16:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685439 -3.505814)'), GeomFromEWKT('SRID=4674;POINT (-38.685439 -3.50582)'))) / (select extract(epoch from '2026-08-06 16:31:39'::timestamp) - extract(epoch from '2026-08-06 16:31:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685437 -3.505819)', '2026-08-06 16:31:40', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685439 -3.50582)'), GeomFromEWKT('SRID=4674;POINT (-38.685437 -3.505819)'))) / (select extract(epoch from '2026-08-06 16:31:40'::timestamp) - extract(epoch from '2026-08-06 16:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685439 -3.50582)'), GeomFromEWKT('SRID=4674;POINT (-38.685437 -3.505819)'))) / (select extract(epoch from '2026-08-06 16:31:40'::timestamp) - extract(epoch from '2026-08-06 16:31:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68544 -3.505822)', '2026-08-06 16:31:40', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685437 -3.505819)'), GeomFromEWKT('SRID=4674;POINT (-38.68544 -3.505822)'))) / (select extract(epoch from '2026-08-06 16:31:40'::timestamp) - extract(epoch from '2026-08-06 16:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685437 -3.505819)'), GeomFromEWKT('SRID=4674;POINT (-38.68544 -3.505822)'))) / (select extract(epoch from '2026-08-06 16:31:40'::timestamp) - extract(epoch from '2026-08-06 16:31:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685444 -3.505822)', '2026-08-06 16:31:40', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68544 -3.505822)'), GeomFromEWKT('SRID=4674;POINT (-38.685444 -3.505822)'))) / (select extract(epoch from '2026-08-06 16:31:40'::timestamp) - extract(epoch from '2026-08-06 16:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68544 -3.505822)'), GeomFromEWKT('SRID=4674;POINT (-38.685444 -3.505822)'))) / (select extract(epoch from '2026-08-06 16:31:40'::timestamp) - extract(epoch from '2026-08-06 16:31:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685441 -3.505828)', '2026-08-06 16:31:40', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685444 -3.505822)'), GeomFromEWKT('SRID=4674;POINT (-38.685441 -3.505828)'))) / (select extract(epoch from '2026-08-06 16:31:40'::timestamp) - extract(epoch from '2026-08-06 16:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685444 -3.505822)'), GeomFromEWKT('SRID=4674;POINT (-38.685441 -3.505828)'))) / (select extract(epoch from '2026-08-06 16:31:40'::timestamp) - extract(epoch from '2026-08-06 16:31:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685443 -3.505821)', '2026-08-06 16:31:40', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685441 -3.505828)'), GeomFromEWKT('SRID=4674;POINT (-38.685443 -3.505821)'))) / (select extract(epoch from '2026-08-06 16:31:40'::timestamp) - extract(epoch from '2026-08-06 16:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685441 -3.505828)'), GeomFromEWKT('SRID=4674;POINT (-38.685443 -3.505821)'))) / (select extract(epoch from '2026-08-06 16:31:40'::timestamp) - extract(epoch from '2026-08-06 16:31:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685446 -3.505822)', '2026-08-06 16:31:40', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685443 -3.505821)'), GeomFromEWKT('SRID=4674;POINT (-38.685446 -3.505822)'))) / (select extract(epoch from '2026-08-06 16:31:40'::timestamp) - extract(epoch from '2026-08-06 16:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685443 -3.505821)'), GeomFromEWKT('SRID=4674;POINT (-38.685446 -3.505822)'))) / (select extract(epoch from '2026-08-06 16:31:40'::timestamp) - extract(epoch from '2026-08-06 16:31:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685441 -3.505817)', '2026-08-06 16:31:40', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685446 -3.505822)'), GeomFromEWKT('SRID=4674;POINT (-38.685441 -3.505817)'))) / (select extract(epoch from '2026-08-06 16:31:40'::timestamp) - extract(epoch from '2026-08-06 16:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685446 -3.505822)'), GeomFromEWKT('SRID=4674;POINT (-38.685441 -3.505817)'))) / (select extract(epoch from '2026-08-06 16:31:40'::timestamp) - extract(epoch from '2026-08-06 16:31:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685442 -3.505821)', '2026-08-06 16:31:40', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685441 -3.505817)'), GeomFromEWKT('SRID=4674;POINT (-38.685442 -3.505821)'))) / (select extract(epoch from '2026-08-06 16:31:40'::timestamp) - extract(epoch from '2026-08-06 16:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685441 -3.505817)'), GeomFromEWKT('SRID=4674;POINT (-38.685442 -3.505821)'))) / (select extract(epoch from '2026-08-06 16:31:40'::timestamp) - extract(epoch from '2026-08-06 16:31:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685439 -3.505824)', '2026-08-06 16:31:40', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685442 -3.505821)'), GeomFromEWKT('SRID=4674;POINT (-38.685439 -3.505824)'))) / (select extract(epoch from '2026-08-06 16:31:40'::timestamp) - extract(epoch from '2026-08-06 16:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685442 -3.505821)'), GeomFromEWKT('SRID=4674;POINT (-38.685439 -3.505824)'))) / (select extract(epoch from '2026-08-06 16:31:40'::timestamp) - extract(epoch from '2026-08-06 16:31:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685438 -3.505825)', '2026-08-06 16:31:40', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685439 -3.505824)'), GeomFromEWKT('SRID=4674;POINT (-38.685438 -3.505825)'))) / (select extract(epoch from '2026-08-06 16:31:40'::timestamp) - extract(epoch from '2026-08-06 16:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685439 -3.505824)'), GeomFromEWKT('SRID=4674;POINT (-38.685438 -3.505825)'))) / (select extract(epoch from '2026-08-06 16:31:40'::timestamp) - extract(epoch from '2026-08-06 16:31:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685431 -3.50583)', '2026-08-06 16:31:40', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685438 -3.505825)'), GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.50583)'))) / (select extract(epoch from '2026-08-06 16:31:40'::timestamp) - extract(epoch from '2026-08-06 16:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685438 -3.505825)'), GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.50583)'))) / (select extract(epoch from '2026-08-06 16:31:40'::timestamp) - extract(epoch from '2026-08-06 16:31:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685439 -3.505821)', '2026-08-06 16:31:40', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.50583)'), GeomFromEWKT('SRID=4674;POINT (-38.685439 -3.505821)'))) / (select extract(epoch from '2026-08-06 16:31:40'::timestamp) - extract(epoch from '2026-08-06 16:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.50583)'), GeomFromEWKT('SRID=4674;POINT (-38.685439 -3.505821)'))) / (select extract(epoch from '2026-08-06 16:31:40'::timestamp) - extract(epoch from '2026-08-06 16:31:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685447 -3.505812)', '2026-08-06 16:31:40', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685439 -3.505821)'), GeomFromEWKT('SRID=4674;POINT (-38.685447 -3.505812)'))) / (select extract(epoch from '2026-08-06 16:31:40'::timestamp) - extract(epoch from '2026-08-06 16:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685439 -3.505821)'), GeomFromEWKT('SRID=4674;POINT (-38.685447 -3.505812)'))) / (select extract(epoch from '2026-08-06 16:31:40'::timestamp) - extract(epoch from '2026-08-06 16:31:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685443 -3.505817)', '2026-08-06 16:31:40', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685447 -3.505812)'), GeomFromEWKT('SRID=4674;POINT (-38.685443 -3.505817)'))) / (select extract(epoch from '2026-08-06 16:31:40'::timestamp) - extract(epoch from '2026-08-06 16:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685447 -3.505812)'), GeomFromEWKT('SRID=4674;POINT (-38.685443 -3.505817)'))) / (select extract(epoch from '2026-08-06 16:31:40'::timestamp) - extract(epoch from '2026-08-06 16:31:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685447 -3.505813)', '2026-08-06 16:31:40', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685443 -3.505817)'), GeomFromEWKT('SRID=4674;POINT (-38.685447 -3.505813)'))) / (select extract(epoch from '2026-08-06 16:31:40'::timestamp) - extract(epoch from '2026-08-06 16:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685443 -3.505817)'), GeomFromEWKT('SRID=4674;POINT (-38.685447 -3.505813)'))) / (select extract(epoch from '2026-08-06 16:31:40'::timestamp) - extract(epoch from '2026-08-06 16:31:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685443 -3.505819)', '2026-08-06 16:31:40', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685447 -3.505813)'), GeomFromEWKT('SRID=4674;POINT (-38.685443 -3.505819)'))) / (select extract(epoch from '2026-08-06 16:31:40'::timestamp) - extract(epoch from '2026-08-06 16:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685447 -3.505813)'), GeomFromEWKT('SRID=4674;POINT (-38.685443 -3.505819)'))) / (select extract(epoch from '2026-08-06 16:31:40'::timestamp) - extract(epoch from '2026-08-06 16:31:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685443 -3.505821)', '2026-08-06 16:31:41', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685443 -3.505819)'), GeomFromEWKT('SRID=4674;POINT (-38.685443 -3.505821)'))) / (select extract(epoch from '2026-08-06 16:31:41'::timestamp) - extract(epoch from '2026-08-06 16:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685443 -3.505819)'), GeomFromEWKT('SRID=4674;POINT (-38.685443 -3.505821)'))) / (select extract(epoch from '2026-08-06 16:31:41'::timestamp) - extract(epoch from '2026-08-06 16:31:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685451 -3.505816)', '2026-08-06 16:31:41', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685443 -3.505821)'), GeomFromEWKT('SRID=4674;POINT (-38.685451 -3.505816)'))) / (select extract(epoch from '2026-08-06 16:31:41'::timestamp) - extract(epoch from '2026-08-06 16:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685443 -3.505821)'), GeomFromEWKT('SRID=4674;POINT (-38.685451 -3.505816)'))) / (select extract(epoch from '2026-08-06 16:31:41'::timestamp) - extract(epoch from '2026-08-06 16:31:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685446 -3.505813)', '2026-08-06 16:31:41', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685451 -3.505816)'), GeomFromEWKT('SRID=4674;POINT (-38.685446 -3.505813)'))) / (select extract(epoch from '2026-08-06 16:31:41'::timestamp) - extract(epoch from '2026-08-06 16:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685451 -3.505816)'), GeomFromEWKT('SRID=4674;POINT (-38.685446 -3.505813)'))) / (select extract(epoch from '2026-08-06 16:31:41'::timestamp) - extract(epoch from '2026-08-06 16:31:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68545 -3.505818)', '2026-08-06 16:31:41', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685446 -3.505813)'), GeomFromEWKT('SRID=4674;POINT (-38.68545 -3.505818)'))) / (select extract(epoch from '2026-08-06 16:31:41'::timestamp) - extract(epoch from '2026-08-06 16:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685446 -3.505813)'), GeomFromEWKT('SRID=4674;POINT (-38.68545 -3.505818)'))) / (select extract(epoch from '2026-08-06 16:31:41'::timestamp) - extract(epoch from '2026-08-06 16:31:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685453 -3.505821)', '2026-08-06 16:31:41', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68545 -3.505818)'), GeomFromEWKT('SRID=4674;POINT (-38.685453 -3.505821)'))) / (select extract(epoch from '2026-08-06 16:31:41'::timestamp) - extract(epoch from '2026-08-06 16:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68545 -3.505818)'), GeomFromEWKT('SRID=4674;POINT (-38.685453 -3.505821)'))) / (select extract(epoch from '2026-08-06 16:31:41'::timestamp) - extract(epoch from '2026-08-06 16:31:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685448 -3.505817)', '2026-08-06 16:31:41', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685453 -3.505821)'), GeomFromEWKT('SRID=4674;POINT (-38.685448 -3.505817)'))) / (select extract(epoch from '2026-08-06 16:31:41'::timestamp) - extract(epoch from '2026-08-06 16:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685453 -3.505821)'), GeomFromEWKT('SRID=4674;POINT (-38.685448 -3.505817)'))) / (select extract(epoch from '2026-08-06 16:31:41'::timestamp) - extract(epoch from '2026-08-06 16:31:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685446 -3.505816)', '2026-08-06 16:31:41', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685448 -3.505817)'), GeomFromEWKT('SRID=4674;POINT (-38.685446 -3.505816)'))) / (select extract(epoch from '2026-08-06 16:31:41'::timestamp) - extract(epoch from '2026-08-06 16:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685448 -3.505817)'), GeomFromEWKT('SRID=4674;POINT (-38.685446 -3.505816)'))) / (select extract(epoch from '2026-08-06 16:31:41'::timestamp) - extract(epoch from '2026-08-06 16:31:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685441 -3.505815)', '2026-08-06 16:31:41', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685446 -3.505816)'), GeomFromEWKT('SRID=4674;POINT (-38.685441 -3.505815)'))) / (select extract(epoch from '2026-08-06 16:31:41'::timestamp) - extract(epoch from '2026-08-06 16:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685446 -3.505816)'), GeomFromEWKT('SRID=4674;POINT (-38.685441 -3.505815)'))) / (select extract(epoch from '2026-08-06 16:31:41'::timestamp) - extract(epoch from '2026-08-06 16:31:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685434 -3.505817)', '2026-08-06 16:31:41', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685441 -3.505815)'), GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.505817)'))) / (select extract(epoch from '2026-08-06 16:31:41'::timestamp) - extract(epoch from '2026-08-06 16:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685441 -3.505815)'), GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.505817)'))) / (select extract(epoch from '2026-08-06 16:31:41'::timestamp) - extract(epoch from '2026-08-06 16:31:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685431 -3.505814)', '2026-08-06 16:31:41', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.505817)'), GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505814)'))) / (select extract(epoch from '2026-08-06 16:31:41'::timestamp) - extract(epoch from '2026-08-06 16:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.505817)'), GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505814)'))) / (select extract(epoch from '2026-08-06 16:31:41'::timestamp) - extract(epoch from '2026-08-06 16:31:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685432 -3.505816)', '2026-08-06 16:31:41', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505814)'), GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.505816)'))) / (select extract(epoch from '2026-08-06 16:31:41'::timestamp) - extract(epoch from '2026-08-06 16:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505814)'), GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.505816)'))) / (select extract(epoch from '2026-08-06 16:31:41'::timestamp) - extract(epoch from '2026-08-06 16:31:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685431 -3.505818)', '2026-08-06 16:31:41', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.505816)'), GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505818)'))) / (select extract(epoch from '2026-08-06 16:31:41'::timestamp) - extract(epoch from '2026-08-06 16:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.505816)'), GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505818)'))) / (select extract(epoch from '2026-08-06 16:31:41'::timestamp) - extract(epoch from '2026-08-06 16:31:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68543 -3.505822)', '2026-08-06 16:31:41', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505818)'), GeomFromEWKT('SRID=4674;POINT (-38.68543 -3.505822)'))) / (select extract(epoch from '2026-08-06 16:31:41'::timestamp) - extract(epoch from '2026-08-06 16:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505818)'), GeomFromEWKT('SRID=4674;POINT (-38.68543 -3.505822)'))) / (select extract(epoch from '2026-08-06 16:31:41'::timestamp) - extract(epoch from '2026-08-06 16:31:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685434 -3.50582)', '2026-08-06 16:31:41', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68543 -3.505822)'), GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.50582)'))) / (select extract(epoch from '2026-08-06 16:31:41'::timestamp) - extract(epoch from '2026-08-06 16:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68543 -3.505822)'), GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.50582)'))) / (select extract(epoch from '2026-08-06 16:31:41'::timestamp) - extract(epoch from '2026-08-06 16:31:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685433 -3.505817)', '2026-08-06 16:31:41', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.50582)'), GeomFromEWKT('SRID=4674;POINT (-38.685433 -3.505817)'))) / (select extract(epoch from '2026-08-06 16:31:41'::timestamp) - extract(epoch from '2026-08-06 16:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.50582)'), GeomFromEWKT('SRID=4674;POINT (-38.685433 -3.505817)'))) / (select extract(epoch from '2026-08-06 16:31:41'::timestamp) - extract(epoch from '2026-08-06 16:31:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685431 -3.505812)', '2026-08-06 16:31:41', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685433 -3.505817)'), GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505812)'))) / (select extract(epoch from '2026-08-06 16:31:41'::timestamp) - extract(epoch from '2026-08-06 16:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685433 -3.505817)'), GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505812)'))) / (select extract(epoch from '2026-08-06 16:31:41'::timestamp) - extract(epoch from '2026-08-06 16:31:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685426 -3.505815)', '2026-08-06 16:31:41', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505812)'), GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505815)'))) / (select extract(epoch from '2026-08-06 16:31:41'::timestamp) - extract(epoch from '2026-08-06 16:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505812)'), GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505815)'))) / (select extract(epoch from '2026-08-06 16:31:41'::timestamp) - extract(epoch from '2026-08-06 16:31:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685427 -3.505813)', '2026-08-06 16:31:42', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505815)'), GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505813)'))) / (select extract(epoch from '2026-08-06 16:31:42'::timestamp) - extract(epoch from '2026-08-06 16:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505815)'), GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505813)'))) / (select extract(epoch from '2026-08-06 16:31:42'::timestamp) - extract(epoch from '2026-08-06 16:31:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685431 -3.505816)', '2026-08-06 16:31:42', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505813)'), GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505816)'))) / (select extract(epoch from '2026-08-06 16:31:42'::timestamp) - extract(epoch from '2026-08-06 16:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505813)'), GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505816)'))) / (select extract(epoch from '2026-08-06 16:31:42'::timestamp) - extract(epoch from '2026-08-06 16:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685427 -3.505825)', '2026-08-06 16:31:42', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505816)'), GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505825)'))) / (select extract(epoch from '2026-08-06 16:31:42'::timestamp) - extract(epoch from '2026-08-06 16:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505816)'), GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505825)'))) / (select extract(epoch from '2026-08-06 16:31:42'::timestamp) - extract(epoch from '2026-08-06 16:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685424 -3.505822)', '2026-08-06 16:31:42', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505825)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505822)'))) / (select extract(epoch from '2026-08-06 16:31:42'::timestamp) - extract(epoch from '2026-08-06 16:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505825)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505822)'))) / (select extract(epoch from '2026-08-06 16:31:42'::timestamp) - extract(epoch from '2026-08-06 16:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685424 -3.505819)', '2026-08-06 16:31:42', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505822)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505819)'))) / (select extract(epoch from '2026-08-06 16:31:42'::timestamp) - extract(epoch from '2026-08-06 16:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505822)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505819)'))) / (select extract(epoch from '2026-08-06 16:31:42'::timestamp) - extract(epoch from '2026-08-06 16:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685427 -3.505813)', '2026-08-06 16:31:42', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505819)'), GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505813)'))) / (select extract(epoch from '2026-08-06 16:31:42'::timestamp) - extract(epoch from '2026-08-06 16:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505819)'), GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505813)'))) / (select extract(epoch from '2026-08-06 16:31:42'::timestamp) - extract(epoch from '2026-08-06 16:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685425 -3.505816)', '2026-08-06 16:31:42', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505813)'), GeomFromEWKT('SRID=4674;POINT (-38.685425 -3.505816)'))) / (select extract(epoch from '2026-08-06 16:31:42'::timestamp) - extract(epoch from '2026-08-06 16:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505813)'), GeomFromEWKT('SRID=4674;POINT (-38.685425 -3.505816)'))) / (select extract(epoch from '2026-08-06 16:31:42'::timestamp) - extract(epoch from '2026-08-06 16:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685424 -3.505811)', '2026-08-06 16:31:42', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685425 -3.505816)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505811)'))) / (select extract(epoch from '2026-08-06 16:31:42'::timestamp) - extract(epoch from '2026-08-06 16:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685425 -3.505816)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505811)'))) / (select extract(epoch from '2026-08-06 16:31:42'::timestamp) - extract(epoch from '2026-08-06 16:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685422 -3.505798)', '2026-08-06 16:31:42', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505811)'), GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505798)'))) / (select extract(epoch from '2026-08-06 16:31:42'::timestamp) - extract(epoch from '2026-08-06 16:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505811)'), GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505798)'))) / (select extract(epoch from '2026-08-06 16:31:42'::timestamp) - extract(epoch from '2026-08-06 16:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685416 -3.505802)', '2026-08-06 16:31:42', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505798)'), GeomFromEWKT('SRID=4674;POINT (-38.685416 -3.505802)'))) / (select extract(epoch from '2026-08-06 16:31:42'::timestamp) - extract(epoch from '2026-08-06 16:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505798)'), GeomFromEWKT('SRID=4674;POINT (-38.685416 -3.505802)'))) / (select extract(epoch from '2026-08-06 16:31:42'::timestamp) - extract(epoch from '2026-08-06 16:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685418 -3.505795)', '2026-08-06 16:31:42', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685416 -3.505802)'), GeomFromEWKT('SRID=4674;POINT (-38.685418 -3.505795)'))) / (select extract(epoch from '2026-08-06 16:31:42'::timestamp) - extract(epoch from '2026-08-06 16:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685416 -3.505802)'), GeomFromEWKT('SRID=4674;POINT (-38.685418 -3.505795)'))) / (select extract(epoch from '2026-08-06 16:31:42'::timestamp) - extract(epoch from '2026-08-06 16:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685422 -3.505788)', '2026-08-06 16:31:42', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685418 -3.505795)'), GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505788)'))) / (select extract(epoch from '2026-08-06 16:31:42'::timestamp) - extract(epoch from '2026-08-06 16:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685418 -3.505795)'), GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505788)'))) / (select extract(epoch from '2026-08-06 16:31:42'::timestamp) - extract(epoch from '2026-08-06 16:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685424 -3.505795)', '2026-08-06 16:31:42', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505788)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505795)'))) / (select extract(epoch from '2026-08-06 16:31:42'::timestamp) - extract(epoch from '2026-08-06 16:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505788)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505795)'))) / (select extract(epoch from '2026-08-06 16:31:42'::timestamp) - extract(epoch from '2026-08-06 16:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685428 -3.50579)', '2026-08-06 16:31:42', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505795)'), GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.50579)'))) / (select extract(epoch from '2026-08-06 16:31:42'::timestamp) - extract(epoch from '2026-08-06 16:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505795)'), GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.50579)'))) / (select extract(epoch from '2026-08-06 16:31:42'::timestamp) - extract(epoch from '2026-08-06 16:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685428 -3.505788)', '2026-08-06 16:31:42', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.50579)'), GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505788)'))) / (select extract(epoch from '2026-08-06 16:31:42'::timestamp) - extract(epoch from '2026-08-06 16:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.50579)'), GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505788)'))) / (select extract(epoch from '2026-08-06 16:31:42'::timestamp) - extract(epoch from '2026-08-06 16:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685428 -3.505794)', '2026-08-06 16:31:42', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505788)'), GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505794)'))) / (select extract(epoch from '2026-08-06 16:31:42'::timestamp) - extract(epoch from '2026-08-06 16:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505788)'), GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505794)'))) / (select extract(epoch from '2026-08-06 16:31:42'::timestamp) - extract(epoch from '2026-08-06 16:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685426 -3.505801)', '2026-08-06 16:31:43', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505794)'), GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505801)'))) / (select extract(epoch from '2026-08-06 16:31:43'::timestamp) - extract(epoch from '2026-08-06 16:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505794)'), GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505801)'))) / (select extract(epoch from '2026-08-06 16:31:43'::timestamp) - extract(epoch from '2026-08-06 16:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685422 -3.505805)', '2026-08-06 16:31:43', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505801)'), GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505805)'))) / (select extract(epoch from '2026-08-06 16:31:43'::timestamp) - extract(epoch from '2026-08-06 16:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505801)'), GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505805)'))) / (select extract(epoch from '2026-08-06 16:31:43'::timestamp) - extract(epoch from '2026-08-06 16:31:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685429 -3.505801)', '2026-08-06 16:31:43', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505805)'), GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505801)'))) / (select extract(epoch from '2026-08-06 16:31:43'::timestamp) - extract(epoch from '2026-08-06 16:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505805)'), GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505801)'))) / (select extract(epoch from '2026-08-06 16:31:43'::timestamp) - extract(epoch from '2026-08-06 16:31:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685427 -3.505803)', '2026-08-06 16:31:43', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505801)'), GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505803)'))) / (select extract(epoch from '2026-08-06 16:31:43'::timestamp) - extract(epoch from '2026-08-06 16:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505801)'), GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505803)'))) / (select extract(epoch from '2026-08-06 16:31:43'::timestamp) - extract(epoch from '2026-08-06 16:31:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685422 -3.505799)', '2026-08-06 16:31:43', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505803)'), GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505799)'))) / (select extract(epoch from '2026-08-06 16:31:43'::timestamp) - extract(epoch from '2026-08-06 16:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505803)'), GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505799)'))) / (select extract(epoch from '2026-08-06 16:31:43'::timestamp) - extract(epoch from '2026-08-06 16:31:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685419 -3.505792)', '2026-08-06 16:31:43', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505799)'), GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505792)'))) / (select extract(epoch from '2026-08-06 16:31:43'::timestamp) - extract(epoch from '2026-08-06 16:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505799)'), GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505792)'))) / (select extract(epoch from '2026-08-06 16:31:43'::timestamp) - extract(epoch from '2026-08-06 16:31:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68542 -3.50579)', '2026-08-06 16:31:43', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505792)'), GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.50579)'))) / (select extract(epoch from '2026-08-06 16:31:43'::timestamp) - extract(epoch from '2026-08-06 16:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505792)'), GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.50579)'))) / (select extract(epoch from '2026-08-06 16:31:43'::timestamp) - extract(epoch from '2026-08-06 16:31:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685422 -3.505792)', '2026-08-06 16:31:43', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.50579)'), GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505792)'))) / (select extract(epoch from '2026-08-06 16:31:43'::timestamp) - extract(epoch from '2026-08-06 16:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.50579)'), GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505792)'))) / (select extract(epoch from '2026-08-06 16:31:43'::timestamp) - extract(epoch from '2026-08-06 16:31:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685419 -3.505792)', '2026-08-06 16:31:43', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505792)'), GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505792)'))) / (select extract(epoch from '2026-08-06 16:31:43'::timestamp) - extract(epoch from '2026-08-06 16:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505792)'), GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505792)'))) / (select extract(epoch from '2026-08-06 16:31:43'::timestamp) - extract(epoch from '2026-08-06 16:31:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685424 -3.505795)', '2026-08-06 16:31:43', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505792)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505795)'))) / (select extract(epoch from '2026-08-06 16:31:43'::timestamp) - extract(epoch from '2026-08-06 16:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505792)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505795)'))) / (select extract(epoch from '2026-08-06 16:31:43'::timestamp) - extract(epoch from '2026-08-06 16:31:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685424 -3.505791)', '2026-08-06 16:31:43', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505795)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505791)'))) / (select extract(epoch from '2026-08-06 16:31:43'::timestamp) - extract(epoch from '2026-08-06 16:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505795)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505791)'))) / (select extract(epoch from '2026-08-06 16:31:43'::timestamp) - extract(epoch from '2026-08-06 16:31:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685424 -3.505799)', '2026-08-06 16:31:43', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505791)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505799)'))) / (select extract(epoch from '2026-08-06 16:31:43'::timestamp) - extract(epoch from '2026-08-06 16:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505791)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505799)'))) / (select extract(epoch from '2026-08-06 16:31:43'::timestamp) - extract(epoch from '2026-08-06 16:31:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685425 -3.505806)', '2026-08-06 16:31:43', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505799)'), GeomFromEWKT('SRID=4674;POINT (-38.685425 -3.505806)'))) / (select extract(epoch from '2026-08-06 16:31:43'::timestamp) - extract(epoch from '2026-08-06 16:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505799)'), GeomFromEWKT('SRID=4674;POINT (-38.685425 -3.505806)'))) / (select extract(epoch from '2026-08-06 16:31:43'::timestamp) - extract(epoch from '2026-08-06 16:31:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685428 -3.505809)', '2026-08-06 16:31:43', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685425 -3.505806)'), GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505809)'))) / (select extract(epoch from '2026-08-06 16:31:43'::timestamp) - extract(epoch from '2026-08-06 16:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685425 -3.505806)'), GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505809)'))) / (select extract(epoch from '2026-08-06 16:31:43'::timestamp) - extract(epoch from '2026-08-06 16:31:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685428 -3.505813)', '2026-08-06 16:31:43', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505809)'), GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505813)'))) / (select extract(epoch from '2026-08-06 16:31:43'::timestamp) - extract(epoch from '2026-08-06 16:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505809)'), GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505813)'))) / (select extract(epoch from '2026-08-06 16:31:43'::timestamp) - extract(epoch from '2026-08-06 16:31:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685432 -3.505811)', '2026-08-06 16:31:43', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505813)'), GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.505811)'))) / (select extract(epoch from '2026-08-06 16:31:43'::timestamp) - extract(epoch from '2026-08-06 16:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505813)'), GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.505811)'))) / (select extract(epoch from '2026-08-06 16:31:43'::timestamp) - extract(epoch from '2026-08-06 16:31:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685431 -3.505804)', '2026-08-06 16:31:44', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.505811)'), GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505804)'))) / (select extract(epoch from '2026-08-06 16:31:44'::timestamp) - extract(epoch from '2026-08-06 16:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.505811)'), GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505804)'))) / (select extract(epoch from '2026-08-06 16:31:44'::timestamp) - extract(epoch from '2026-08-06 16:31:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685425 -3.505803)', '2026-08-06 16:31:44', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505804)'), GeomFromEWKT('SRID=4674;POINT (-38.685425 -3.505803)'))) / (select extract(epoch from '2026-08-06 16:31:44'::timestamp) - extract(epoch from '2026-08-06 16:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505804)'), GeomFromEWKT('SRID=4674;POINT (-38.685425 -3.505803)'))) / (select extract(epoch from '2026-08-06 16:31:44'::timestamp) - extract(epoch from '2026-08-06 16:31:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685426 -3.505805)', '2026-08-06 16:31:44', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685425 -3.505803)'), GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505805)'))) / (select extract(epoch from '2026-08-06 16:31:44'::timestamp) - extract(epoch from '2026-08-06 16:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685425 -3.505803)'), GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505805)'))) / (select extract(epoch from '2026-08-06 16:31:44'::timestamp) - extract(epoch from '2026-08-06 16:31:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685426 -3.505802)', '2026-08-06 16:31:44', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505805)'), GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505802)'))) / (select extract(epoch from '2026-08-06 16:31:44'::timestamp) - extract(epoch from '2026-08-06 16:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505805)'), GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505802)'))) / (select extract(epoch from '2026-08-06 16:31:44'::timestamp) - extract(epoch from '2026-08-06 16:31:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685429 -3.505798)', '2026-08-06 16:31:44', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505802)'), GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505798)'))) / (select extract(epoch from '2026-08-06 16:31:44'::timestamp) - extract(epoch from '2026-08-06 16:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505802)'), GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505798)'))) / (select extract(epoch from '2026-08-06 16:31:44'::timestamp) - extract(epoch from '2026-08-06 16:31:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685424 -3.505798)', '2026-08-06 16:31:44', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505798)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505798)'))) / (select extract(epoch from '2026-08-06 16:31:44'::timestamp) - extract(epoch from '2026-08-06 16:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505798)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505798)'))) / (select extract(epoch from '2026-08-06 16:31:44'::timestamp) - extract(epoch from '2026-08-06 16:31:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685421 -3.505804)', '2026-08-06 16:31:44', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505798)'), GeomFromEWKT('SRID=4674;POINT (-38.685421 -3.505804)'))) / (select extract(epoch from '2026-08-06 16:31:44'::timestamp) - extract(epoch from '2026-08-06 16:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505798)'), GeomFromEWKT('SRID=4674;POINT (-38.685421 -3.505804)'))) / (select extract(epoch from '2026-08-06 16:31:44'::timestamp) - extract(epoch from '2026-08-06 16:31:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685426 -3.505804)', '2026-08-06 16:31:44', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685421 -3.505804)'), GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505804)'))) / (select extract(epoch from '2026-08-06 16:31:44'::timestamp) - extract(epoch from '2026-08-06 16:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685421 -3.505804)'), GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505804)'))) / (select extract(epoch from '2026-08-06 16:31:44'::timestamp) - extract(epoch from '2026-08-06 16:31:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68542 -3.505801)', '2026-08-06 16:31:44', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505804)'), GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.505801)'))) / (select extract(epoch from '2026-08-06 16:31:44'::timestamp) - extract(epoch from '2026-08-06 16:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505804)'), GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.505801)'))) / (select extract(epoch from '2026-08-06 16:31:44'::timestamp) - extract(epoch from '2026-08-06 16:31:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685424 -3.505794)', '2026-08-06 16:31:44', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.505801)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505794)'))) / (select extract(epoch from '2026-08-06 16:31:44'::timestamp) - extract(epoch from '2026-08-06 16:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.505801)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505794)'))) / (select extract(epoch from '2026-08-06 16:31:44'::timestamp) - extract(epoch from '2026-08-06 16:31:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68543 -3.505797)', '2026-08-06 16:31:44', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505794)'), GeomFromEWKT('SRID=4674;POINT (-38.68543 -3.505797)'))) / (select extract(epoch from '2026-08-06 16:31:44'::timestamp) - extract(epoch from '2026-08-06 16:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505794)'), GeomFromEWKT('SRID=4674;POINT (-38.68543 -3.505797)'))) / (select extract(epoch from '2026-08-06 16:31:44'::timestamp) - extract(epoch from '2026-08-06 16:31:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685431 -3.505792)', '2026-08-06 16:31:44', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68543 -3.505797)'), GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505792)'))) / (select extract(epoch from '2026-08-06 16:31:44'::timestamp) - extract(epoch from '2026-08-06 16:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68543 -3.505797)'), GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505792)'))) / (select extract(epoch from '2026-08-06 16:31:44'::timestamp) - extract(epoch from '2026-08-06 16:31:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685423 -3.505795)', '2026-08-06 16:31:44', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505792)'), GeomFromEWKT('SRID=4674;POINT (-38.685423 -3.505795)'))) / (select extract(epoch from '2026-08-06 16:31:44'::timestamp) - extract(epoch from '2026-08-06 16:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505792)'), GeomFromEWKT('SRID=4674;POINT (-38.685423 -3.505795)'))) / (select extract(epoch from '2026-08-06 16:31:44'::timestamp) - extract(epoch from '2026-08-06 16:31:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685427 -3.505793)', '2026-08-06 16:31:44', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685423 -3.505795)'), GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505793)'))) / (select extract(epoch from '2026-08-06 16:31:44'::timestamp) - extract(epoch from '2026-08-06 16:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685423 -3.505795)'), GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505793)'))) / (select extract(epoch from '2026-08-06 16:31:44'::timestamp) - extract(epoch from '2026-08-06 16:31:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685427 -3.505789)', '2026-08-06 16:31:44', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505793)'), GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505789)'))) / (select extract(epoch from '2026-08-06 16:31:44'::timestamp) - extract(epoch from '2026-08-06 16:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505793)'), GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505789)'))) / (select extract(epoch from '2026-08-06 16:31:44'::timestamp) - extract(epoch from '2026-08-06 16:31:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68542 -3.505781)', '2026-08-06 16:31:44', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505789)'), GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.505781)'))) / (select extract(epoch from '2026-08-06 16:31:44'::timestamp) - extract(epoch from '2026-08-06 16:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505789)'), GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.505781)'))) / (select extract(epoch from '2026-08-06 16:31:44'::timestamp) - extract(epoch from '2026-08-06 16:31:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685417 -3.505782)', '2026-08-06 16:31:44', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.505781)'), GeomFromEWKT('SRID=4674;POINT (-38.685417 -3.505782)'))) / (select extract(epoch from '2026-08-06 16:31:44'::timestamp) - extract(epoch from '2026-08-06 16:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.505781)'), GeomFromEWKT('SRID=4674;POINT (-38.685417 -3.505782)'))) / (select extract(epoch from '2026-08-06 16:31:44'::timestamp) - extract(epoch from '2026-08-06 16:31:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685416 -3.505791)', '2026-08-06 16:31:45', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685417 -3.505782)'), GeomFromEWKT('SRID=4674;POINT (-38.685416 -3.505791)'))) / (select extract(epoch from '2026-08-06 16:31:45'::timestamp) - extract(epoch from '2026-08-06 16:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685417 -3.505782)'), GeomFromEWKT('SRID=4674;POINT (-38.685416 -3.505791)'))) / (select extract(epoch from '2026-08-06 16:31:45'::timestamp) - extract(epoch from '2026-08-06 16:31:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68541 -3.505788)', '2026-08-06 16:31:45', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685416 -3.505791)'), GeomFromEWKT('SRID=4674;POINT (-38.68541 -3.505788)'))) / (select extract(epoch from '2026-08-06 16:31:45'::timestamp) - extract(epoch from '2026-08-06 16:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685416 -3.505791)'), GeomFromEWKT('SRID=4674;POINT (-38.68541 -3.505788)'))) / (select extract(epoch from '2026-08-06 16:31:45'::timestamp) - extract(epoch from '2026-08-06 16:31:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685416 -3.505796)', '2026-08-06 16:31:45', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68541 -3.505788)'), GeomFromEWKT('SRID=4674;POINT (-38.685416 -3.505796)'))) / (select extract(epoch from '2026-08-06 16:31:45'::timestamp) - extract(epoch from '2026-08-06 16:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68541 -3.505788)'), GeomFromEWKT('SRID=4674;POINT (-38.685416 -3.505796)'))) / (select extract(epoch from '2026-08-06 16:31:45'::timestamp) - extract(epoch from '2026-08-06 16:31:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685417 -3.505792)', '2026-08-06 16:31:45', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685416 -3.505796)'), GeomFromEWKT('SRID=4674;POINT (-38.685417 -3.505792)'))) / (select extract(epoch from '2026-08-06 16:31:45'::timestamp) - extract(epoch from '2026-08-06 16:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685416 -3.505796)'), GeomFromEWKT('SRID=4674;POINT (-38.685417 -3.505792)'))) / (select extract(epoch from '2026-08-06 16:31:45'::timestamp) - extract(epoch from '2026-08-06 16:31:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685416 -3.505795)', '2026-08-06 16:31:45', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685417 -3.505792)'), GeomFromEWKT('SRID=4674;POINT (-38.685416 -3.505795)'))) / (select extract(epoch from '2026-08-06 16:31:45'::timestamp) - extract(epoch from '2026-08-06 16:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685417 -3.505792)'), GeomFromEWKT('SRID=4674;POINT (-38.685416 -3.505795)'))) / (select extract(epoch from '2026-08-06 16:31:45'::timestamp) - extract(epoch from '2026-08-06 16:31:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685411 -3.505794)', '2026-08-06 16:31:45', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685416 -3.505795)'), GeomFromEWKT('SRID=4674;POINT (-38.685411 -3.505794)'))) / (select extract(epoch from '2026-08-06 16:31:45'::timestamp) - extract(epoch from '2026-08-06 16:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685416 -3.505795)'), GeomFromEWKT('SRID=4674;POINT (-38.685411 -3.505794)'))) / (select extract(epoch from '2026-08-06 16:31:45'::timestamp) - extract(epoch from '2026-08-06 16:31:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685415 -3.505794)', '2026-08-06 16:31:45', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685411 -3.505794)'), GeomFromEWKT('SRID=4674;POINT (-38.685415 -3.505794)'))) / (select extract(epoch from '2026-08-06 16:31:45'::timestamp) - extract(epoch from '2026-08-06 16:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685411 -3.505794)'), GeomFromEWKT('SRID=4674;POINT (-38.685415 -3.505794)'))) / (select extract(epoch from '2026-08-06 16:31:45'::timestamp) - extract(epoch from '2026-08-06 16:31:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685411 -3.505804)', '2026-08-06 16:31:45', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685415 -3.505794)'), GeomFromEWKT('SRID=4674;POINT (-38.685411 -3.505804)'))) / (select extract(epoch from '2026-08-06 16:31:45'::timestamp) - extract(epoch from '2026-08-06 16:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685415 -3.505794)'), GeomFromEWKT('SRID=4674;POINT (-38.685411 -3.505804)'))) / (select extract(epoch from '2026-08-06 16:31:45'::timestamp) - extract(epoch from '2026-08-06 16:31:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685424 -3.505799)', '2026-08-06 16:31:45', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685411 -3.505804)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505799)'))) / (select extract(epoch from '2026-08-06 16:31:45'::timestamp) - extract(epoch from '2026-08-06 16:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685411 -3.505804)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505799)'))) / (select extract(epoch from '2026-08-06 16:31:45'::timestamp) - extract(epoch from '2026-08-06 16:31:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685423 -3.505803)', '2026-08-06 16:31:45', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505799)'), GeomFromEWKT('SRID=4674;POINT (-38.685423 -3.505803)'))) / (select extract(epoch from '2026-08-06 16:31:45'::timestamp) - extract(epoch from '2026-08-06 16:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505799)'), GeomFromEWKT('SRID=4674;POINT (-38.685423 -3.505803)'))) / (select extract(epoch from '2026-08-06 16:31:45'::timestamp) - extract(epoch from '2026-08-06 16:31:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685423 -3.505803)', '2026-08-06 16:31:45', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685423 -3.505803)'), GeomFromEWKT('SRID=4674;POINT (-38.685423 -3.505803)'))) / (select extract(epoch from '2026-08-06 16:31:45'::timestamp) - extract(epoch from '2026-08-06 16:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685423 -3.505803)'), GeomFromEWKT('SRID=4674;POINT (-38.685423 -3.505803)'))) / (select extract(epoch from '2026-08-06 16:31:45'::timestamp) - extract(epoch from '2026-08-06 16:31:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685425 -3.505804)', '2026-08-06 16:31:45', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685423 -3.505803)'), GeomFromEWKT('SRID=4674;POINT (-38.685425 -3.505804)'))) / (select extract(epoch from '2026-08-06 16:31:45'::timestamp) - extract(epoch from '2026-08-06 16:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685423 -3.505803)'), GeomFromEWKT('SRID=4674;POINT (-38.685425 -3.505804)'))) / (select extract(epoch from '2026-08-06 16:31:45'::timestamp) - extract(epoch from '2026-08-06 16:31:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685427 -3.505801)', '2026-08-06 16:31:45', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685425 -3.505804)'), GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505801)'))) / (select extract(epoch from '2026-08-06 16:31:45'::timestamp) - extract(epoch from '2026-08-06 16:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685425 -3.505804)'), GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505801)'))) / (select extract(epoch from '2026-08-06 16:31:45'::timestamp) - extract(epoch from '2026-08-06 16:31:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685427 -3.5058)', '2026-08-06 16:31:45', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505801)'), GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.5058)'))) / (select extract(epoch from '2026-08-06 16:31:45'::timestamp) - extract(epoch from '2026-08-06 16:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505801)'), GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.5058)'))) / (select extract(epoch from '2026-08-06 16:31:45'::timestamp) - extract(epoch from '2026-08-06 16:31:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685424 -3.505806)', '2026-08-06 16:31:45', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.5058)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505806)'))) / (select extract(epoch from '2026-08-06 16:31:45'::timestamp) - extract(epoch from '2026-08-06 16:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.5058)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505806)'))) / (select extract(epoch from '2026-08-06 16:31:45'::timestamp) - extract(epoch from '2026-08-06 16:31:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685427 -3.505803)', '2026-08-06 16:31:45', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505806)'), GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505803)'))) / (select extract(epoch from '2026-08-06 16:31:45'::timestamp) - extract(epoch from '2026-08-06 16:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505806)'), GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505803)'))) / (select extract(epoch from '2026-08-06 16:31:45'::timestamp) - extract(epoch from '2026-08-06 16:31:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685429 -3.505803)', '2026-08-06 16:31:46', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505803)'), GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505803)'))) / (select extract(epoch from '2026-08-06 16:31:46'::timestamp) - extract(epoch from '2026-08-06 16:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505803)'), GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505803)'))) / (select extract(epoch from '2026-08-06 16:31:46'::timestamp) - extract(epoch from '2026-08-06 16:31:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685428 -3.505805)', '2026-08-06 16:31:46', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505803)'), GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505805)'))) / (select extract(epoch from '2026-08-06 16:31:46'::timestamp) - extract(epoch from '2026-08-06 16:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505803)'), GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505805)'))) / (select extract(epoch from '2026-08-06 16:31:46'::timestamp) - extract(epoch from '2026-08-06 16:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68543 -3.505808)', '2026-08-06 16:31:46', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505805)'), GeomFromEWKT('SRID=4674;POINT (-38.68543 -3.505808)'))) / (select extract(epoch from '2026-08-06 16:31:46'::timestamp) - extract(epoch from '2026-08-06 16:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505805)'), GeomFromEWKT('SRID=4674;POINT (-38.68543 -3.505808)'))) / (select extract(epoch from '2026-08-06 16:31:46'::timestamp) - extract(epoch from '2026-08-06 16:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68543 -3.505806)', '2026-08-06 16:31:46', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68543 -3.505808)'), GeomFromEWKT('SRID=4674;POINT (-38.68543 -3.505806)'))) / (select extract(epoch from '2026-08-06 16:31:46'::timestamp) - extract(epoch from '2026-08-06 16:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68543 -3.505808)'), GeomFromEWKT('SRID=4674;POINT (-38.68543 -3.505806)'))) / (select extract(epoch from '2026-08-06 16:31:46'::timestamp) - extract(epoch from '2026-08-06 16:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685431 -3.505809)', '2026-08-06 16:31:46', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68543 -3.505806)'), GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505809)'))) / (select extract(epoch from '2026-08-06 16:31:46'::timestamp) - extract(epoch from '2026-08-06 16:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68543 -3.505806)'), GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505809)'))) / (select extract(epoch from '2026-08-06 16:31:46'::timestamp) - extract(epoch from '2026-08-06 16:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685427 -3.505806)', '2026-08-06 16:31:46', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505809)'), GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505806)'))) / (select extract(epoch from '2026-08-06 16:31:46'::timestamp) - extract(epoch from '2026-08-06 16:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505809)'), GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505806)'))) / (select extract(epoch from '2026-08-06 16:31:46'::timestamp) - extract(epoch from '2026-08-06 16:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68543 -3.505805)', '2026-08-06 16:31:46', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505806)'), GeomFromEWKT('SRID=4674;POINT (-38.68543 -3.505805)'))) / (select extract(epoch from '2026-08-06 16:31:46'::timestamp) - extract(epoch from '2026-08-06 16:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505806)'), GeomFromEWKT('SRID=4674;POINT (-38.68543 -3.505805)'))) / (select extract(epoch from '2026-08-06 16:31:46'::timestamp) - extract(epoch from '2026-08-06 16:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685425 -3.505804)', '2026-08-06 16:31:46', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68543 -3.505805)'), GeomFromEWKT('SRID=4674;POINT (-38.685425 -3.505804)'))) / (select extract(epoch from '2026-08-06 16:31:46'::timestamp) - extract(epoch from '2026-08-06 16:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68543 -3.505805)'), GeomFromEWKT('SRID=4674;POINT (-38.685425 -3.505804)'))) / (select extract(epoch from '2026-08-06 16:31:46'::timestamp) - extract(epoch from '2026-08-06 16:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685424 -3.505797)', '2026-08-06 16:31:46', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685425 -3.505804)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505797)'))) / (select extract(epoch from '2026-08-06 16:31:46'::timestamp) - extract(epoch from '2026-08-06 16:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685425 -3.505804)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505797)'))) / (select extract(epoch from '2026-08-06 16:31:46'::timestamp) - extract(epoch from '2026-08-06 16:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685423 -3.505797)', '2026-08-06 16:31:46', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505797)'), GeomFromEWKT('SRID=4674;POINT (-38.685423 -3.505797)'))) / (select extract(epoch from '2026-08-06 16:31:46'::timestamp) - extract(epoch from '2026-08-06 16:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505797)'), GeomFromEWKT('SRID=4674;POINT (-38.685423 -3.505797)'))) / (select extract(epoch from '2026-08-06 16:31:46'::timestamp) - extract(epoch from '2026-08-06 16:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685422 -3.5058)', '2026-08-06 16:31:46', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685423 -3.505797)'), GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.5058)'))) / (select extract(epoch from '2026-08-06 16:31:46'::timestamp) - extract(epoch from '2026-08-06 16:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685423 -3.505797)'), GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.5058)'))) / (select extract(epoch from '2026-08-06 16:31:46'::timestamp) - extract(epoch from '2026-08-06 16:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685417 -3.505796)', '2026-08-06 16:31:46', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.5058)'), GeomFromEWKT('SRID=4674;POINT (-38.685417 -3.505796)'))) / (select extract(epoch from '2026-08-06 16:31:46'::timestamp) - extract(epoch from '2026-08-06 16:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.5058)'), GeomFromEWKT('SRID=4674;POINT (-38.685417 -3.505796)'))) / (select extract(epoch from '2026-08-06 16:31:46'::timestamp) - extract(epoch from '2026-08-06 16:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685413 -3.505794)', '2026-08-06 16:31:46', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685417 -3.505796)'), GeomFromEWKT('SRID=4674;POINT (-38.685413 -3.505794)'))) / (select extract(epoch from '2026-08-06 16:31:46'::timestamp) - extract(epoch from '2026-08-06 16:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685417 -3.505796)'), GeomFromEWKT('SRID=4674;POINT (-38.685413 -3.505794)'))) / (select extract(epoch from '2026-08-06 16:31:46'::timestamp) - extract(epoch from '2026-08-06 16:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68542 -3.505794)', '2026-08-06 16:31:46', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685413 -3.505794)'), GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.505794)'))) / (select extract(epoch from '2026-08-06 16:31:46'::timestamp) - extract(epoch from '2026-08-06 16:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685413 -3.505794)'), GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.505794)'))) / (select extract(epoch from '2026-08-06 16:31:46'::timestamp) - extract(epoch from '2026-08-06 16:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685418 -3.5058)', '2026-08-06 16:31:46', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.505794)'), GeomFromEWKT('SRID=4674;POINT (-38.685418 -3.5058)'))) / (select extract(epoch from '2026-08-06 16:31:46'::timestamp) - extract(epoch from '2026-08-06 16:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.505794)'), GeomFromEWKT('SRID=4674;POINT (-38.685418 -3.5058)'))) / (select extract(epoch from '2026-08-06 16:31:46'::timestamp) - extract(epoch from '2026-08-06 16:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685421 -3.505801)', '2026-08-06 16:31:46', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685418 -3.5058)'), GeomFromEWKT('SRID=4674;POINT (-38.685421 -3.505801)'))) / (select extract(epoch from '2026-08-06 16:31:46'::timestamp) - extract(epoch from '2026-08-06 16:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685418 -3.5058)'), GeomFromEWKT('SRID=4674;POINT (-38.685421 -3.505801)'))) / (select extract(epoch from '2026-08-06 16:31:46'::timestamp) - extract(epoch from '2026-08-06 16:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685424 -3.505802)', '2026-08-06 16:31:47', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685421 -3.505801)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505802)'))) / (select extract(epoch from '2026-08-06 16:31:47'::timestamp) - extract(epoch from '2026-08-06 16:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685421 -3.505801)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505802)'))) / (select extract(epoch from '2026-08-06 16:31:47'::timestamp) - extract(epoch from '2026-08-06 16:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685426 -3.505809)', '2026-08-06 16:31:47', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505802)'), GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505809)'))) / (select extract(epoch from '2026-08-06 16:31:47'::timestamp) - extract(epoch from '2026-08-06 16:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505802)'), GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505809)'))) / (select extract(epoch from '2026-08-06 16:31:47'::timestamp) - extract(epoch from '2026-08-06 16:31:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685428 -3.505808)', '2026-08-06 16:31:47', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505809)'), GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505808)'))) / (select extract(epoch from '2026-08-06 16:31:47'::timestamp) - extract(epoch from '2026-08-06 16:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505809)'), GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505808)'))) / (select extract(epoch from '2026-08-06 16:31:47'::timestamp) - extract(epoch from '2026-08-06 16:31:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685431 -3.505811)', '2026-08-06 16:31:47', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505808)'), GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505811)'))) / (select extract(epoch from '2026-08-06 16:31:47'::timestamp) - extract(epoch from '2026-08-06 16:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505808)'), GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505811)'))) / (select extract(epoch from '2026-08-06 16:31:47'::timestamp) - extract(epoch from '2026-08-06 16:31:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685427 -3.5058)', '2026-08-06 16:31:47', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505811)'), GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.5058)'))) / (select extract(epoch from '2026-08-06 16:31:47'::timestamp) - extract(epoch from '2026-08-06 16:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505811)'), GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.5058)'))) / (select extract(epoch from '2026-08-06 16:31:47'::timestamp) - extract(epoch from '2026-08-06 16:31:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685418 -3.505794)', '2026-08-06 16:31:47', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.5058)'), GeomFromEWKT('SRID=4674;POINT (-38.685418 -3.505794)'))) / (select extract(epoch from '2026-08-06 16:31:47'::timestamp) - extract(epoch from '2026-08-06 16:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.5058)'), GeomFromEWKT('SRID=4674;POINT (-38.685418 -3.505794)'))) / (select extract(epoch from '2026-08-06 16:31:47'::timestamp) - extract(epoch from '2026-08-06 16:31:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685436 -3.505794)', '2026-08-06 16:31:47', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685418 -3.505794)'), GeomFromEWKT('SRID=4674;POINT (-38.685436 -3.505794)'))) / (select extract(epoch from '2026-08-06 16:31:47'::timestamp) - extract(epoch from '2026-08-06 16:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685418 -3.505794)'), GeomFromEWKT('SRID=4674;POINT (-38.685436 -3.505794)'))) / (select extract(epoch from '2026-08-06 16:31:47'::timestamp) - extract(epoch from '2026-08-06 16:31:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685438 -3.50581)', '2026-08-06 16:31:47', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685436 -3.505794)'), GeomFromEWKT('SRID=4674;POINT (-38.685438 -3.50581)'))) / (select extract(epoch from '2026-08-06 16:31:47'::timestamp) - extract(epoch from '2026-08-06 16:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685436 -3.505794)'), GeomFromEWKT('SRID=4674;POINT (-38.685438 -3.50581)'))) / (select extract(epoch from '2026-08-06 16:31:47'::timestamp) - extract(epoch from '2026-08-06 16:31:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68544 -3.505811)', '2026-08-06 16:31:47', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685438 -3.50581)'), GeomFromEWKT('SRID=4674;POINT (-38.68544 -3.505811)'))) / (select extract(epoch from '2026-08-06 16:31:47'::timestamp) - extract(epoch from '2026-08-06 16:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685438 -3.50581)'), GeomFromEWKT('SRID=4674;POINT (-38.68544 -3.505811)'))) / (select extract(epoch from '2026-08-06 16:31:47'::timestamp) - extract(epoch from '2026-08-06 16:31:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68544 -3.505811)', '2026-08-06 16:31:47', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68544 -3.505811)'), GeomFromEWKT('SRID=4674;POINT (-38.68544 -3.505811)'))) / (select extract(epoch from '2026-08-06 16:31:47'::timestamp) - extract(epoch from '2026-08-06 16:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68544 -3.505811)'), GeomFromEWKT('SRID=4674;POINT (-38.68544 -3.505811)'))) / (select extract(epoch from '2026-08-06 16:31:47'::timestamp) - extract(epoch from '2026-08-06 16:31:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685432 -3.505815)', '2026-08-06 16:31:47', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68544 -3.505811)'), GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.505815)'))) / (select extract(epoch from '2026-08-06 16:31:47'::timestamp) - extract(epoch from '2026-08-06 16:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68544 -3.505811)'), GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.505815)'))) / (select extract(epoch from '2026-08-06 16:31:47'::timestamp) - extract(epoch from '2026-08-06 16:31:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685429 -3.505812)', '2026-08-06 16:31:47', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.505815)'), GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505812)'))) / (select extract(epoch from '2026-08-06 16:31:47'::timestamp) - extract(epoch from '2026-08-06 16:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.505815)'), GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505812)'))) / (select extract(epoch from '2026-08-06 16:31:47'::timestamp) - extract(epoch from '2026-08-06 16:31:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685426 -3.505801)', '2026-08-06 16:31:47', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505812)'), GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505801)'))) / (select extract(epoch from '2026-08-06 16:31:47'::timestamp) - extract(epoch from '2026-08-06 16:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505812)'), GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505801)'))) / (select extract(epoch from '2026-08-06 16:31:47'::timestamp) - extract(epoch from '2026-08-06 16:31:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685428 -3.505799)', '2026-08-06 16:31:47', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505801)'), GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505799)'))) / (select extract(epoch from '2026-08-06 16:31:47'::timestamp) - extract(epoch from '2026-08-06 16:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505801)'), GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505799)'))) / (select extract(epoch from '2026-08-06 16:31:47'::timestamp) - extract(epoch from '2026-08-06 16:31:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685429 -3.505794)', '2026-08-06 16:31:48', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505799)'), GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505794)'))) / (select extract(epoch from '2026-08-06 16:31:48'::timestamp) - extract(epoch from '2026-08-06 16:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505799)'), GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505794)'))) / (select extract(epoch from '2026-08-06 16:31:48'::timestamp) - extract(epoch from '2026-08-06 16:31:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68543 -3.505797)', '2026-08-06 16:31:48', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505794)'), GeomFromEWKT('SRID=4674;POINT (-38.68543 -3.505797)'))) / (select extract(epoch from '2026-08-06 16:31:48'::timestamp) - extract(epoch from '2026-08-06 16:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505794)'), GeomFromEWKT('SRID=4674;POINT (-38.68543 -3.505797)'))) / (select extract(epoch from '2026-08-06 16:31:48'::timestamp) - extract(epoch from '2026-08-06 16:31:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685432 -3.505802)', '2026-08-06 16:31:48', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68543 -3.505797)'), GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.505802)'))) / (select extract(epoch from '2026-08-06 16:31:48'::timestamp) - extract(epoch from '2026-08-06 16:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68543 -3.505797)'), GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.505802)'))) / (select extract(epoch from '2026-08-06 16:31:48'::timestamp) - extract(epoch from '2026-08-06 16:31:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68543 -3.505812)', '2026-08-06 16:31:48', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.505802)'), GeomFromEWKT('SRID=4674;POINT (-38.68543 -3.505812)'))) / (select extract(epoch from '2026-08-06 16:31:48'::timestamp) - extract(epoch from '2026-08-06 16:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.505802)'), GeomFromEWKT('SRID=4674;POINT (-38.68543 -3.505812)'))) / (select extract(epoch from '2026-08-06 16:31:48'::timestamp) - extract(epoch from '2026-08-06 16:31:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685434 -3.505809)', '2026-08-06 16:31:48', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68543 -3.505812)'), GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.505809)'))) / (select extract(epoch from '2026-08-06 16:31:48'::timestamp) - extract(epoch from '2026-08-06 16:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68543 -3.505812)'), GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.505809)'))) / (select extract(epoch from '2026-08-06 16:31:48'::timestamp) - extract(epoch from '2026-08-06 16:31:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68544 -3.505812)', '2026-08-06 16:31:48', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.505809)'), GeomFromEWKT('SRID=4674;POINT (-38.68544 -3.505812)'))) / (select extract(epoch from '2026-08-06 16:31:48'::timestamp) - extract(epoch from '2026-08-06 16:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.505809)'), GeomFromEWKT('SRID=4674;POINT (-38.68544 -3.505812)'))) / (select extract(epoch from '2026-08-06 16:31:48'::timestamp) - extract(epoch from '2026-08-06 16:31:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685445 -3.505811)', '2026-08-06 16:31:48', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68544 -3.505812)'), GeomFromEWKT('SRID=4674;POINT (-38.685445 -3.505811)'))) / (select extract(epoch from '2026-08-06 16:31:48'::timestamp) - extract(epoch from '2026-08-06 16:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68544 -3.505812)'), GeomFromEWKT('SRID=4674;POINT (-38.685445 -3.505811)'))) / (select extract(epoch from '2026-08-06 16:31:48'::timestamp) - extract(epoch from '2026-08-06 16:31:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685445 -3.50581)', '2026-08-06 16:31:48', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685445 -3.505811)'), GeomFromEWKT('SRID=4674;POINT (-38.685445 -3.50581)'))) / (select extract(epoch from '2026-08-06 16:31:48'::timestamp) - extract(epoch from '2026-08-06 16:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685445 -3.505811)'), GeomFromEWKT('SRID=4674;POINT (-38.685445 -3.50581)'))) / (select extract(epoch from '2026-08-06 16:31:48'::timestamp) - extract(epoch from '2026-08-06 16:31:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685445 -3.505805)', '2026-08-06 16:31:48', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685445 -3.50581)'), GeomFromEWKT('SRID=4674;POINT (-38.685445 -3.505805)'))) / (select extract(epoch from '2026-08-06 16:31:48'::timestamp) - extract(epoch from '2026-08-06 16:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685445 -3.50581)'), GeomFromEWKT('SRID=4674;POINT (-38.685445 -3.505805)'))) / (select extract(epoch from '2026-08-06 16:31:48'::timestamp) - extract(epoch from '2026-08-06 16:31:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685444 -3.505806)', '2026-08-06 16:31:48', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685445 -3.505805)'), GeomFromEWKT('SRID=4674;POINT (-38.685444 -3.505806)'))) / (select extract(epoch from '2026-08-06 16:31:48'::timestamp) - extract(epoch from '2026-08-06 16:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685445 -3.505805)'), GeomFromEWKT('SRID=4674;POINT (-38.685444 -3.505806)'))) / (select extract(epoch from '2026-08-06 16:31:48'::timestamp) - extract(epoch from '2026-08-06 16:31:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685443 -3.505805)', '2026-08-06 16:31:48', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685444 -3.505806)'), GeomFromEWKT('SRID=4674;POINT (-38.685443 -3.505805)'))) / (select extract(epoch from '2026-08-06 16:31:48'::timestamp) - extract(epoch from '2026-08-06 16:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685444 -3.505806)'), GeomFromEWKT('SRID=4674;POINT (-38.685443 -3.505805)'))) / (select extract(epoch from '2026-08-06 16:31:48'::timestamp) - extract(epoch from '2026-08-06 16:31:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685435 -3.505806)', '2026-08-06 16:31:48', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685443 -3.505805)'), GeomFromEWKT('SRID=4674;POINT (-38.685435 -3.505806)'))) / (select extract(epoch from '2026-08-06 16:31:48'::timestamp) - extract(epoch from '2026-08-06 16:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685443 -3.505805)'), GeomFromEWKT('SRID=4674;POINT (-38.685435 -3.505806)'))) / (select extract(epoch from '2026-08-06 16:31:48'::timestamp) - extract(epoch from '2026-08-06 16:31:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685435 -3.505808)', '2026-08-06 16:31:48', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685435 -3.505806)'), GeomFromEWKT('SRID=4674;POINT (-38.685435 -3.505808)'))) / (select extract(epoch from '2026-08-06 16:31:48'::timestamp) - extract(epoch from '2026-08-06 16:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685435 -3.505806)'), GeomFromEWKT('SRID=4674;POINT (-38.685435 -3.505808)'))) / (select extract(epoch from '2026-08-06 16:31:48'::timestamp) - extract(epoch from '2026-08-06 16:31:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685429 -3.505805)', '2026-08-06 16:31:48', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685435 -3.505808)'), GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505805)'))) / (select extract(epoch from '2026-08-06 16:31:48'::timestamp) - extract(epoch from '2026-08-06 16:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685435 -3.505808)'), GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505805)'))) / (select extract(epoch from '2026-08-06 16:31:48'::timestamp) - extract(epoch from '2026-08-06 16:31:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685433 -3.505799)', '2026-08-06 16:31:48', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505805)'), GeomFromEWKT('SRID=4674;POINT (-38.685433 -3.505799)'))) / (select extract(epoch from '2026-08-06 16:31:48'::timestamp) - extract(epoch from '2026-08-06 16:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505805)'), GeomFromEWKT('SRID=4674;POINT (-38.685433 -3.505799)'))) / (select extract(epoch from '2026-08-06 16:31:48'::timestamp) - extract(epoch from '2026-08-06 16:31:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685435 -3.505798)', '2026-08-06 16:31:48', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685433 -3.505799)'), GeomFromEWKT('SRID=4674;POINT (-38.685435 -3.505798)'))) / (select extract(epoch from '2026-08-06 16:31:48'::timestamp) - extract(epoch from '2026-08-06 16:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685433 -3.505799)'), GeomFromEWKT('SRID=4674;POINT (-38.685435 -3.505798)'))) / (select extract(epoch from '2026-08-06 16:31:48'::timestamp) - extract(epoch from '2026-08-06 16:31:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685432 -3.505798)', '2026-08-06 16:31:48', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685435 -3.505798)'), GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.505798)'))) / (select extract(epoch from '2026-08-06 16:31:48'::timestamp) - extract(epoch from '2026-08-06 16:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685435 -3.505798)'), GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.505798)'))) / (select extract(epoch from '2026-08-06 16:31:48'::timestamp) - extract(epoch from '2026-08-06 16:31:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685428 -3.505794)', '2026-08-06 16:31:49', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.505798)'), GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505794)'))) / (select extract(epoch from '2026-08-06 16:31:49'::timestamp) - extract(epoch from '2026-08-06 16:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.505798)'), GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505794)'))) / (select extract(epoch from '2026-08-06 16:31:49'::timestamp) - extract(epoch from '2026-08-06 16:31:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685428 -3.505791)', '2026-08-06 16:31:49', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505794)'), GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505791)'))) / (select extract(epoch from '2026-08-06 16:31:49'::timestamp) - extract(epoch from '2026-08-06 16:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505794)'), GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505791)'))) / (select extract(epoch from '2026-08-06 16:31:49'::timestamp) - extract(epoch from '2026-08-06 16:31:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685427 -3.505784)', '2026-08-06 16:31:49', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505791)'), GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505784)'))) / (select extract(epoch from '2026-08-06 16:31:49'::timestamp) - extract(epoch from '2026-08-06 16:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505791)'), GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505784)'))) / (select extract(epoch from '2026-08-06 16:31:49'::timestamp) - extract(epoch from '2026-08-06 16:31:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685427 -3.505784)', '2026-08-06 16:31:49', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505784)'), GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505784)'))) / (select extract(epoch from '2026-08-06 16:31:49'::timestamp) - extract(epoch from '2026-08-06 16:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505784)'), GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505784)'))) / (select extract(epoch from '2026-08-06 16:31:49'::timestamp) - extract(epoch from '2026-08-06 16:31:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685431 -3.505784)', '2026-08-06 16:31:49', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505784)'), GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505784)'))) / (select extract(epoch from '2026-08-06 16:31:49'::timestamp) - extract(epoch from '2026-08-06 16:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505784)'), GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505784)'))) / (select extract(epoch from '2026-08-06 16:31:49'::timestamp) - extract(epoch from '2026-08-06 16:31:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685431 -3.505789)', '2026-08-06 16:31:49', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505784)'), GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505789)'))) / (select extract(epoch from '2026-08-06 16:31:49'::timestamp) - extract(epoch from '2026-08-06 16:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505784)'), GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505789)'))) / (select extract(epoch from '2026-08-06 16:31:49'::timestamp) - extract(epoch from '2026-08-06 16:31:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685434 -3.505783)', '2026-08-06 16:31:49', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505789)'), GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.505783)'))) / (select extract(epoch from '2026-08-06 16:31:49'::timestamp) - extract(epoch from '2026-08-06 16:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505789)'), GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.505783)'))) / (select extract(epoch from '2026-08-06 16:31:49'::timestamp) - extract(epoch from '2026-08-06 16:31:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685431 -3.50578)', '2026-08-06 16:31:49', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.505783)'), GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.50578)'))) / (select extract(epoch from '2026-08-06 16:31:49'::timestamp) - extract(epoch from '2026-08-06 16:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.505783)'), GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.50578)'))) / (select extract(epoch from '2026-08-06 16:31:49'::timestamp) - extract(epoch from '2026-08-06 16:31:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685426 -3.505787)', '2026-08-06 16:31:49', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.50578)'), GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505787)'))) / (select extract(epoch from '2026-08-06 16:31:49'::timestamp) - extract(epoch from '2026-08-06 16:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.50578)'), GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505787)'))) / (select extract(epoch from '2026-08-06 16:31:49'::timestamp) - extract(epoch from '2026-08-06 16:31:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685426 -3.50578)', '2026-08-06 16:31:49', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505787)'), GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.50578)'))) / (select extract(epoch from '2026-08-06 16:31:49'::timestamp) - extract(epoch from '2026-08-06 16:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505787)'), GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.50578)'))) / (select extract(epoch from '2026-08-06 16:31:49'::timestamp) - extract(epoch from '2026-08-06 16:31:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685425 -3.50578)', '2026-08-06 16:31:49', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.50578)'), GeomFromEWKT('SRID=4674;POINT (-38.685425 -3.50578)'))) / (select extract(epoch from '2026-08-06 16:31:49'::timestamp) - extract(epoch from '2026-08-06 16:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.50578)'), GeomFromEWKT('SRID=4674;POINT (-38.685425 -3.50578)'))) / (select extract(epoch from '2026-08-06 16:31:49'::timestamp) - extract(epoch from '2026-08-06 16:31:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685428 -3.505782)', '2026-08-06 16:31:49', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685425 -3.50578)'), GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505782)'))) / (select extract(epoch from '2026-08-06 16:31:49'::timestamp) - extract(epoch from '2026-08-06 16:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685425 -3.50578)'), GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505782)'))) / (select extract(epoch from '2026-08-06 16:31:49'::timestamp) - extract(epoch from '2026-08-06 16:31:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685424 -3.505792)', '2026-08-06 16:31:49', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505782)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505792)'))) / (select extract(epoch from '2026-08-06 16:31:49'::timestamp) - extract(epoch from '2026-08-06 16:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505782)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505792)'))) / (select extract(epoch from '2026-08-06 16:31:49'::timestamp) - extract(epoch from '2026-08-06 16:31:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685427 -3.505791)', '2026-08-06 16:31:49', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505792)'), GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505791)'))) / (select extract(epoch from '2026-08-06 16:31:49'::timestamp) - extract(epoch from '2026-08-06 16:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505792)'), GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505791)'))) / (select extract(epoch from '2026-08-06 16:31:49'::timestamp) - extract(epoch from '2026-08-06 16:31:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685425 -3.505791)', '2026-08-06 16:31:49', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505791)'), GeomFromEWKT('SRID=4674;POINT (-38.685425 -3.505791)'))) / (select extract(epoch from '2026-08-06 16:31:49'::timestamp) - extract(epoch from '2026-08-06 16:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505791)'), GeomFromEWKT('SRID=4674;POINT (-38.685425 -3.505791)'))) / (select extract(epoch from '2026-08-06 16:31:49'::timestamp) - extract(epoch from '2026-08-06 16:31:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685429 -3.505792)', '2026-08-06 16:31:49', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685425 -3.505791)'), GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505792)'))) / (select extract(epoch from '2026-08-06 16:31:49'::timestamp) - extract(epoch from '2026-08-06 16:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685425 -3.505791)'), GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505792)'))) / (select extract(epoch from '2026-08-06 16:31:49'::timestamp) - extract(epoch from '2026-08-06 16:31:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685433 -3.505791)', '2026-08-06 16:31:49', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505792)'), GeomFromEWKT('SRID=4674;POINT (-38.685433 -3.505791)'))) / (select extract(epoch from '2026-08-06 16:31:49'::timestamp) - extract(epoch from '2026-08-06 16:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505792)'), GeomFromEWKT('SRID=4674;POINT (-38.685433 -3.505791)'))) / (select extract(epoch from '2026-08-06 16:31:49'::timestamp) - extract(epoch from '2026-08-06 16:31:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685424 -3.50579)', '2026-08-06 16:31:50', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685433 -3.505791)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.50579)'))) / (select extract(epoch from '2026-08-06 16:31:50'::timestamp) - extract(epoch from '2026-08-06 16:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685433 -3.505791)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.50579)'))) / (select extract(epoch from '2026-08-06 16:31:50'::timestamp) - extract(epoch from '2026-08-06 16:31:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685426 -3.505794)', '2026-08-06 16:31:50', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.50579)'), GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505794)'))) / (select extract(epoch from '2026-08-06 16:31:50'::timestamp) - extract(epoch from '2026-08-06 16:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.50579)'), GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505794)'))) / (select extract(epoch from '2026-08-06 16:31:50'::timestamp) - extract(epoch from '2026-08-06 16:31:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685429 -3.505798)', '2026-08-06 16:31:50', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505794)'), GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505798)'))) / (select extract(epoch from '2026-08-06 16:31:50'::timestamp) - extract(epoch from '2026-08-06 16:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505794)'), GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505798)'))) / (select extract(epoch from '2026-08-06 16:31:50'::timestamp) - extract(epoch from '2026-08-06 16:31:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685419 -3.505806)', '2026-08-06 16:31:50', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505798)'), GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505806)'))) / (select extract(epoch from '2026-08-06 16:31:50'::timestamp) - extract(epoch from '2026-08-06 16:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505798)'), GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505806)'))) / (select extract(epoch from '2026-08-06 16:31:50'::timestamp) - extract(epoch from '2026-08-06 16:31:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685424 -3.505806)', '2026-08-06 16:31:50', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505806)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505806)'))) / (select extract(epoch from '2026-08-06 16:31:50'::timestamp) - extract(epoch from '2026-08-06 16:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505806)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505806)'))) / (select extract(epoch from '2026-08-06 16:31:50'::timestamp) - extract(epoch from '2026-08-06 16:31:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685422 -3.5058)', '2026-08-06 16:31:50', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505806)'), GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.5058)'))) / (select extract(epoch from '2026-08-06 16:31:50'::timestamp) - extract(epoch from '2026-08-06 16:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505806)'), GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.5058)'))) / (select extract(epoch from '2026-08-06 16:31:50'::timestamp) - extract(epoch from '2026-08-06 16:31:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685429 -3.505804)', '2026-08-06 16:31:50', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.5058)'), GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505804)'))) / (select extract(epoch from '2026-08-06 16:31:50'::timestamp) - extract(epoch from '2026-08-06 16:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.5058)'), GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505804)'))) / (select extract(epoch from '2026-08-06 16:31:50'::timestamp) - extract(epoch from '2026-08-06 16:31:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685426 -3.505806)', '2026-08-06 16:31:50', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505804)'), GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505806)'))) / (select extract(epoch from '2026-08-06 16:31:50'::timestamp) - extract(epoch from '2026-08-06 16:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505804)'), GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505806)'))) / (select extract(epoch from '2026-08-06 16:31:50'::timestamp) - extract(epoch from '2026-08-06 16:31:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685418 -3.505799)', '2026-08-06 16:31:50', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505806)'), GeomFromEWKT('SRID=4674;POINT (-38.685418 -3.505799)'))) / (select extract(epoch from '2026-08-06 16:31:50'::timestamp) - extract(epoch from '2026-08-06 16:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505806)'), GeomFromEWKT('SRID=4674;POINT (-38.685418 -3.505799)'))) / (select extract(epoch from '2026-08-06 16:31:50'::timestamp) - extract(epoch from '2026-08-06 16:31:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685416 -3.5058)', '2026-08-06 16:31:50', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685418 -3.505799)'), GeomFromEWKT('SRID=4674;POINT (-38.685416 -3.5058)'))) / (select extract(epoch from '2026-08-06 16:31:50'::timestamp) - extract(epoch from '2026-08-06 16:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685418 -3.505799)'), GeomFromEWKT('SRID=4674;POINT (-38.685416 -3.5058)'))) / (select extract(epoch from '2026-08-06 16:31:50'::timestamp) - extract(epoch from '2026-08-06 16:31:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685417 -3.505804)', '2026-08-06 16:31:50', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685416 -3.5058)'), GeomFromEWKT('SRID=4674;POINT (-38.685417 -3.505804)'))) / (select extract(epoch from '2026-08-06 16:31:50'::timestamp) - extract(epoch from '2026-08-06 16:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685416 -3.5058)'), GeomFromEWKT('SRID=4674;POINT (-38.685417 -3.505804)'))) / (select extract(epoch from '2026-08-06 16:31:50'::timestamp) - extract(epoch from '2026-08-06 16:31:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68542 -3.505803)', '2026-08-06 16:31:50', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685417 -3.505804)'), GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.505803)'))) / (select extract(epoch from '2026-08-06 16:31:50'::timestamp) - extract(epoch from '2026-08-06 16:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685417 -3.505804)'), GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.505803)'))) / (select extract(epoch from '2026-08-06 16:31:50'::timestamp) - extract(epoch from '2026-08-06 16:31:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685428 -3.505805)', '2026-08-06 16:31:50', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.505803)'), GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505805)'))) / (select extract(epoch from '2026-08-06 16:31:50'::timestamp) - extract(epoch from '2026-08-06 16:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.505803)'), GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505805)'))) / (select extract(epoch from '2026-08-06 16:31:50'::timestamp) - extract(epoch from '2026-08-06 16:31:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685428 -3.505804)', '2026-08-06 16:31:50', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505805)'), GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505804)'))) / (select extract(epoch from '2026-08-06 16:31:50'::timestamp) - extract(epoch from '2026-08-06 16:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505805)'), GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505804)'))) / (select extract(epoch from '2026-08-06 16:31:50'::timestamp) - extract(epoch from '2026-08-06 16:31:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685427 -3.505801)', '2026-08-06 16:31:50', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505804)'), GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505801)'))) / (select extract(epoch from '2026-08-06 16:31:50'::timestamp) - extract(epoch from '2026-08-06 16:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505804)'), GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505801)'))) / (select extract(epoch from '2026-08-06 16:31:50'::timestamp) - extract(epoch from '2026-08-06 16:31:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685418 -3.505802)', '2026-08-06 16:31:50', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505801)'), GeomFromEWKT('SRID=4674;POINT (-38.685418 -3.505802)'))) / (select extract(epoch from '2026-08-06 16:31:50'::timestamp) - extract(epoch from '2026-08-06 16:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505801)'), GeomFromEWKT('SRID=4674;POINT (-38.685418 -3.505802)'))) / (select extract(epoch from '2026-08-06 16:31:50'::timestamp) - extract(epoch from '2026-08-06 16:31:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685423 -3.505798)', '2026-08-06 16:31:51', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685418 -3.505802)'), GeomFromEWKT('SRID=4674;POINT (-38.685423 -3.505798)'))) / (select extract(epoch from '2026-08-06 16:31:51'::timestamp) - extract(epoch from '2026-08-06 16:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685418 -3.505802)'), GeomFromEWKT('SRID=4674;POINT (-38.685423 -3.505798)'))) / (select extract(epoch from '2026-08-06 16:31:51'::timestamp) - extract(epoch from '2026-08-06 16:31:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685416 -3.5058)', '2026-08-06 16:31:51', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685423 -3.505798)'), GeomFromEWKT('SRID=4674;POINT (-38.685416 -3.5058)'))) / (select extract(epoch from '2026-08-06 16:31:51'::timestamp) - extract(epoch from '2026-08-06 16:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685423 -3.505798)'), GeomFromEWKT('SRID=4674;POINT (-38.685416 -3.5058)'))) / (select extract(epoch from '2026-08-06 16:31:51'::timestamp) - extract(epoch from '2026-08-06 16:31:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685417 -3.505802)', '2026-08-06 16:31:51', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685416 -3.5058)'), GeomFromEWKT('SRID=4674;POINT (-38.685417 -3.505802)'))) / (select extract(epoch from '2026-08-06 16:31:51'::timestamp) - extract(epoch from '2026-08-06 16:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685416 -3.5058)'), GeomFromEWKT('SRID=4674;POINT (-38.685417 -3.505802)'))) / (select extract(epoch from '2026-08-06 16:31:51'::timestamp) - extract(epoch from '2026-08-06 16:31:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685417 -3.505798)', '2026-08-06 16:31:51', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685417 -3.505802)'), GeomFromEWKT('SRID=4674;POINT (-38.685417 -3.505798)'))) / (select extract(epoch from '2026-08-06 16:31:51'::timestamp) - extract(epoch from '2026-08-06 16:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685417 -3.505802)'), GeomFromEWKT('SRID=4674;POINT (-38.685417 -3.505798)'))) / (select extract(epoch from '2026-08-06 16:31:51'::timestamp) - extract(epoch from '2026-08-06 16:31:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685419 -3.505797)', '2026-08-06 16:31:51', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685417 -3.505798)'), GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505797)'))) / (select extract(epoch from '2026-08-06 16:31:51'::timestamp) - extract(epoch from '2026-08-06 16:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685417 -3.505798)'), GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505797)'))) / (select extract(epoch from '2026-08-06 16:31:51'::timestamp) - extract(epoch from '2026-08-06 16:31:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68542 -3.505792)', '2026-08-06 16:31:51', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505797)'), GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.505792)'))) / (select extract(epoch from '2026-08-06 16:31:51'::timestamp) - extract(epoch from '2026-08-06 16:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505797)'), GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.505792)'))) / (select extract(epoch from '2026-08-06 16:31:51'::timestamp) - extract(epoch from '2026-08-06 16:31:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68542 -3.50579)', '2026-08-06 16:31:51', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.505792)'), GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.50579)'))) / (select extract(epoch from '2026-08-06 16:31:51'::timestamp) - extract(epoch from '2026-08-06 16:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.505792)'), GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.50579)'))) / (select extract(epoch from '2026-08-06 16:31:51'::timestamp) - extract(epoch from '2026-08-06 16:31:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685416 -3.505793)', '2026-08-06 16:31:51', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.50579)'), GeomFromEWKT('SRID=4674;POINT (-38.685416 -3.505793)'))) / (select extract(epoch from '2026-08-06 16:31:51'::timestamp) - extract(epoch from '2026-08-06 16:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.50579)'), GeomFromEWKT('SRID=4674;POINT (-38.685416 -3.505793)'))) / (select extract(epoch from '2026-08-06 16:31:51'::timestamp) - extract(epoch from '2026-08-06 16:31:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68542 -3.505797)', '2026-08-06 16:31:51', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685416 -3.505793)'), GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.505797)'))) / (select extract(epoch from '2026-08-06 16:31:51'::timestamp) - extract(epoch from '2026-08-06 16:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685416 -3.505793)'), GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.505797)'))) / (select extract(epoch from '2026-08-06 16:31:51'::timestamp) - extract(epoch from '2026-08-06 16:31:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685426 -3.505795)', '2026-08-06 16:31:51', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.505797)'), GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505795)'))) / (select extract(epoch from '2026-08-06 16:31:51'::timestamp) - extract(epoch from '2026-08-06 16:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.505797)'), GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505795)'))) / (select extract(epoch from '2026-08-06 16:31:51'::timestamp) - extract(epoch from '2026-08-06 16:31:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685428 -3.505797)', '2026-08-06 16:31:51', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505795)'), GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505797)'))) / (select extract(epoch from '2026-08-06 16:31:51'::timestamp) - extract(epoch from '2026-08-06 16:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505795)'), GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505797)'))) / (select extract(epoch from '2026-08-06 16:31:51'::timestamp) - extract(epoch from '2026-08-06 16:31:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685432 -3.505799)', '2026-08-06 16:31:51', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505797)'), GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.505799)'))) / (select extract(epoch from '2026-08-06 16:31:51'::timestamp) - extract(epoch from '2026-08-06 16:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.505797)'), GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.505799)'))) / (select extract(epoch from '2026-08-06 16:31:51'::timestamp) - extract(epoch from '2026-08-06 16:31:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685427 -3.505809)', '2026-08-06 16:31:51', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.505799)'), GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505809)'))) / (select extract(epoch from '2026-08-06 16:31:51'::timestamp) - extract(epoch from '2026-08-06 16:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.505799)'), GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505809)'))) / (select extract(epoch from '2026-08-06 16:31:51'::timestamp) - extract(epoch from '2026-08-06 16:31:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685436 -3.505813)', '2026-08-06 16:31:51', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505809)'), GeomFromEWKT('SRID=4674;POINT (-38.685436 -3.505813)'))) / (select extract(epoch from '2026-08-06 16:31:51'::timestamp) - extract(epoch from '2026-08-06 16:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505809)'), GeomFromEWKT('SRID=4674;POINT (-38.685436 -3.505813)'))) / (select extract(epoch from '2026-08-06 16:31:51'::timestamp) - extract(epoch from '2026-08-06 16:31:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685434 -3.505812)', '2026-08-06 16:31:51', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685436 -3.505813)'), GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.505812)'))) / (select extract(epoch from '2026-08-06 16:31:51'::timestamp) - extract(epoch from '2026-08-06 16:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685436 -3.505813)'), GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.505812)'))) / (select extract(epoch from '2026-08-06 16:31:51'::timestamp) - extract(epoch from '2026-08-06 16:31:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685432 -3.505799)', '2026-08-06 16:31:51', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.505812)'), GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.505799)'))) / (select extract(epoch from '2026-08-06 16:31:51'::timestamp) - extract(epoch from '2026-08-06 16:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.505812)'), GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.505799)'))) / (select extract(epoch from '2026-08-06 16:31:51'::timestamp) - extract(epoch from '2026-08-06 16:31:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685434 -3.505805)', '2026-08-06 16:31:52', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.505799)'), GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.505805)'))) / (select extract(epoch from '2026-08-06 16:31:52'::timestamp) - extract(epoch from '2026-08-06 16:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.505799)'), GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.505805)'))) / (select extract(epoch from '2026-08-06 16:31:52'::timestamp) - extract(epoch from '2026-08-06 16:31:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685437 -3.505809)', '2026-08-06 16:31:52', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.505805)'), GeomFromEWKT('SRID=4674;POINT (-38.685437 -3.505809)'))) / (select extract(epoch from '2026-08-06 16:31:52'::timestamp) - extract(epoch from '2026-08-06 16:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.505805)'), GeomFromEWKT('SRID=4674;POINT (-38.685437 -3.505809)'))) / (select extract(epoch from '2026-08-06 16:31:52'::timestamp) - extract(epoch from '2026-08-06 16:31:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68543 -3.505814)', '2026-08-06 16:31:52', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685437 -3.505809)'), GeomFromEWKT('SRID=4674;POINT (-38.68543 -3.505814)'))) / (select extract(epoch from '2026-08-06 16:31:52'::timestamp) - extract(epoch from '2026-08-06 16:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685437 -3.505809)'), GeomFromEWKT('SRID=4674;POINT (-38.68543 -3.505814)'))) / (select extract(epoch from '2026-08-06 16:31:52'::timestamp) - extract(epoch from '2026-08-06 16:31:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685422 -3.505807)', '2026-08-06 16:31:52', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68543 -3.505814)'), GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505807)'))) / (select extract(epoch from '2026-08-06 16:31:52'::timestamp) - extract(epoch from '2026-08-06 16:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68543 -3.505814)'), GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505807)'))) / (select extract(epoch from '2026-08-06 16:31:52'::timestamp) - extract(epoch from '2026-08-06 16:31:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685419 -3.505806)', '2026-08-06 16:31:52', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505807)'), GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505806)'))) / (select extract(epoch from '2026-08-06 16:31:52'::timestamp) - extract(epoch from '2026-08-06 16:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505807)'), GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505806)'))) / (select extract(epoch from '2026-08-06 16:31:52'::timestamp) - extract(epoch from '2026-08-06 16:31:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685424 -3.505801)', '2026-08-06 16:31:52', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505806)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505801)'))) / (select extract(epoch from '2026-08-06 16:31:52'::timestamp) - extract(epoch from '2026-08-06 16:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505806)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505801)'))) / (select extract(epoch from '2026-08-06 16:31:52'::timestamp) - extract(epoch from '2026-08-06 16:31:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685427 -3.505798)', '2026-08-06 16:31:52', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505801)'), GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505798)'))) / (select extract(epoch from '2026-08-06 16:31:52'::timestamp) - extract(epoch from '2026-08-06 16:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505801)'), GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505798)'))) / (select extract(epoch from '2026-08-06 16:31:52'::timestamp) - extract(epoch from '2026-08-06 16:31:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685424 -3.505794)', '2026-08-06 16:31:52', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505798)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505794)'))) / (select extract(epoch from '2026-08-06 16:31:52'::timestamp) - extract(epoch from '2026-08-06 16:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505798)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505794)'))) / (select extract(epoch from '2026-08-06 16:31:52'::timestamp) - extract(epoch from '2026-08-06 16:31:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685421 -3.505789)', '2026-08-06 16:31:52', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505794)'), GeomFromEWKT('SRID=4674;POINT (-38.685421 -3.505789)'))) / (select extract(epoch from '2026-08-06 16:31:52'::timestamp) - extract(epoch from '2026-08-06 16:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505794)'), GeomFromEWKT('SRID=4674;POINT (-38.685421 -3.505789)'))) / (select extract(epoch from '2026-08-06 16:31:52'::timestamp) - extract(epoch from '2026-08-06 16:31:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685419 -3.505785)', '2026-08-06 16:31:52', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685421 -3.505789)'), GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505785)'))) / (select extract(epoch from '2026-08-06 16:31:52'::timestamp) - extract(epoch from '2026-08-06 16:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685421 -3.505789)'), GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505785)'))) / (select extract(epoch from '2026-08-06 16:31:52'::timestamp) - extract(epoch from '2026-08-06 16:31:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685418 -3.50579)', '2026-08-06 16:31:52', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505785)'), GeomFromEWKT('SRID=4674;POINT (-38.685418 -3.50579)'))) / (select extract(epoch from '2026-08-06 16:31:52'::timestamp) - extract(epoch from '2026-08-06 16:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505785)'), GeomFromEWKT('SRID=4674;POINT (-38.685418 -3.50579)'))) / (select extract(epoch from '2026-08-06 16:31:52'::timestamp) - extract(epoch from '2026-08-06 16:31:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685414 -3.505791)', '2026-08-06 16:31:52', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685418 -3.50579)'), GeomFromEWKT('SRID=4674;POINT (-38.685414 -3.505791)'))) / (select extract(epoch from '2026-08-06 16:31:52'::timestamp) - extract(epoch from '2026-08-06 16:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685418 -3.50579)'), GeomFromEWKT('SRID=4674;POINT (-38.685414 -3.505791)'))) / (select extract(epoch from '2026-08-06 16:31:52'::timestamp) - extract(epoch from '2026-08-06 16:31:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685419 -3.505789)', '2026-08-06 16:31:52', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685414 -3.505791)'), GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505789)'))) / (select extract(epoch from '2026-08-06 16:31:52'::timestamp) - extract(epoch from '2026-08-06 16:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685414 -3.505791)'), GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505789)'))) / (select extract(epoch from '2026-08-06 16:31:52'::timestamp) - extract(epoch from '2026-08-06 16:31:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685419 -3.50579)', '2026-08-06 16:31:52', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505789)'), GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.50579)'))) / (select extract(epoch from '2026-08-06 16:31:52'::timestamp) - extract(epoch from '2026-08-06 16:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505789)'), GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.50579)'))) / (select extract(epoch from '2026-08-06 16:31:52'::timestamp) - extract(epoch from '2026-08-06 16:31:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685421 -3.505795)', '2026-08-06 16:31:52', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.50579)'), GeomFromEWKT('SRID=4674;POINT (-38.685421 -3.505795)'))) / (select extract(epoch from '2026-08-06 16:31:52'::timestamp) - extract(epoch from '2026-08-06 16:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.50579)'), GeomFromEWKT('SRID=4674;POINT (-38.685421 -3.505795)'))) / (select extract(epoch from '2026-08-06 16:31:52'::timestamp) - extract(epoch from '2026-08-06 16:31:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68541 -3.505793)', '2026-08-06 16:31:52', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685421 -3.505795)'), GeomFromEWKT('SRID=4674;POINT (-38.68541 -3.505793)'))) / (select extract(epoch from '2026-08-06 16:31:52'::timestamp) - extract(epoch from '2026-08-06 16:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685421 -3.505795)'), GeomFromEWKT('SRID=4674;POINT (-38.68541 -3.505793)'))) / (select extract(epoch from '2026-08-06 16:31:52'::timestamp) - extract(epoch from '2026-08-06 16:31:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685418 -3.505789)', '2026-08-06 16:31:53', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68541 -3.505793)'), GeomFromEWKT('SRID=4674;POINT (-38.685418 -3.505789)'))) / (select extract(epoch from '2026-08-06 16:31:53'::timestamp) - extract(epoch from '2026-08-06 16:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68541 -3.505793)'), GeomFromEWKT('SRID=4674;POINT (-38.685418 -3.505789)'))) / (select extract(epoch from '2026-08-06 16:31:53'::timestamp) - extract(epoch from '2026-08-06 16:31:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685424 -3.505788)', '2026-08-06 16:31:53', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685418 -3.505789)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505788)'))) / (select extract(epoch from '2026-08-06 16:31:53'::timestamp) - extract(epoch from '2026-08-06 16:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685418 -3.505789)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505788)'))) / (select extract(epoch from '2026-08-06 16:31:53'::timestamp) - extract(epoch from '2026-08-06 16:31:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685418 -3.505786)', '2026-08-06 16:31:53', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505788)'), GeomFromEWKT('SRID=4674;POINT (-38.685418 -3.505786)'))) / (select extract(epoch from '2026-08-06 16:31:53'::timestamp) - extract(epoch from '2026-08-06 16:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.505788)'), GeomFromEWKT('SRID=4674;POINT (-38.685418 -3.505786)'))) / (select extract(epoch from '2026-08-06 16:31:53'::timestamp) - extract(epoch from '2026-08-06 16:31:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685416 -3.505789)', '2026-08-06 16:31:53', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685418 -3.505786)'), GeomFromEWKT('SRID=4674;POINT (-38.685416 -3.505789)'))) / (select extract(epoch from '2026-08-06 16:31:53'::timestamp) - extract(epoch from '2026-08-06 16:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685418 -3.505786)'), GeomFromEWKT('SRID=4674;POINT (-38.685416 -3.505789)'))) / (select extract(epoch from '2026-08-06 16:31:53'::timestamp) - extract(epoch from '2026-08-06 16:31:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685414 -3.505786)', '2026-08-06 16:31:53', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685416 -3.505789)'), GeomFromEWKT('SRID=4674;POINT (-38.685414 -3.505786)'))) / (select extract(epoch from '2026-08-06 16:31:53'::timestamp) - extract(epoch from '2026-08-06 16:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685416 -3.505789)'), GeomFromEWKT('SRID=4674;POINT (-38.685414 -3.505786)'))) / (select extract(epoch from '2026-08-06 16:31:53'::timestamp) - extract(epoch from '2026-08-06 16:31:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685413 -3.505788)', '2026-08-06 16:31:53', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685414 -3.505786)'), GeomFromEWKT('SRID=4674;POINT (-38.685413 -3.505788)'))) / (select extract(epoch from '2026-08-06 16:31:53'::timestamp) - extract(epoch from '2026-08-06 16:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685414 -3.505786)'), GeomFromEWKT('SRID=4674;POINT (-38.685413 -3.505788)'))) / (select extract(epoch from '2026-08-06 16:31:53'::timestamp) - extract(epoch from '2026-08-06 16:31:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685419 -3.505786)', '2026-08-06 16:31:53', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685413 -3.505788)'), GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505786)'))) / (select extract(epoch from '2026-08-06 16:31:53'::timestamp) - extract(epoch from '2026-08-06 16:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685413 -3.505788)'), GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505786)'))) / (select extract(epoch from '2026-08-06 16:31:53'::timestamp) - extract(epoch from '2026-08-06 16:31:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68542 -3.505791)', '2026-08-06 16:31:53', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505786)'), GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.505791)'))) / (select extract(epoch from '2026-08-06 16:31:53'::timestamp) - extract(epoch from '2026-08-06 16:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685419 -3.505786)'), GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.505791)'))) / (select extract(epoch from '2026-08-06 16:31:53'::timestamp) - extract(epoch from '2026-08-06 16:31:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68542 -3.505789)', '2026-08-06 16:31:53', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.505791)'), GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.505789)'))) / (select extract(epoch from '2026-08-06 16:31:53'::timestamp) - extract(epoch from '2026-08-06 16:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.505791)'), GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.505789)'))) / (select extract(epoch from '2026-08-06 16:31:53'::timestamp) - extract(epoch from '2026-08-06 16:31:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68542 -3.505794)', '2026-08-06 16:31:53', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.505789)'), GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.505794)'))) / (select extract(epoch from '2026-08-06 16:31:53'::timestamp) - extract(epoch from '2026-08-06 16:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.505789)'), GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.505794)'))) / (select extract(epoch from '2026-08-06 16:31:53'::timestamp) - extract(epoch from '2026-08-06 16:31:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685425 -3.505796)', '2026-08-06 16:31:53', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.505794)'), GeomFromEWKT('SRID=4674;POINT (-38.685425 -3.505796)'))) / (select extract(epoch from '2026-08-06 16:31:53'::timestamp) - extract(epoch from '2026-08-06 16:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68542 -3.505794)'), GeomFromEWKT('SRID=4674;POINT (-38.685425 -3.505796)'))) / (select extract(epoch from '2026-08-06 16:31:53'::timestamp) - extract(epoch from '2026-08-06 16:31:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685425 -3.505798)', '2026-08-06 16:31:53', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685425 -3.505796)'), GeomFromEWKT('SRID=4674;POINT (-38.685425 -3.505798)'))) / (select extract(epoch from '2026-08-06 16:31:53'::timestamp) - extract(epoch from '2026-08-06 16:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685425 -3.505796)'), GeomFromEWKT('SRID=4674;POINT (-38.685425 -3.505798)'))) / (select extract(epoch from '2026-08-06 16:31:53'::timestamp) - extract(epoch from '2026-08-06 16:31:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685433 -3.505803)', '2026-08-06 16:31:53', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685425 -3.505798)'), GeomFromEWKT('SRID=4674;POINT (-38.685433 -3.505803)'))) / (select extract(epoch from '2026-08-06 16:31:53'::timestamp) - extract(epoch from '2026-08-06 16:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685425 -3.505798)'), GeomFromEWKT('SRID=4674;POINT (-38.685433 -3.505803)'))) / (select extract(epoch from '2026-08-06 16:31:53'::timestamp) - extract(epoch from '2026-08-06 16:31:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685431 -3.505801)', '2026-08-06 16:31:53', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685433 -3.505803)'), GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505801)'))) / (select extract(epoch from '2026-08-06 16:31:53'::timestamp) - extract(epoch from '2026-08-06 16:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685433 -3.505803)'), GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505801)'))) / (select extract(epoch from '2026-08-06 16:31:53'::timestamp) - extract(epoch from '2026-08-06 16:31:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685431 -3.5058)', '2026-08-06 16:31:53', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505801)'), GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.5058)'))) / (select extract(epoch from '2026-08-06 16:31:53'::timestamp) - extract(epoch from '2026-08-06 16:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505801)'), GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.5058)'))) / (select extract(epoch from '2026-08-06 16:31:53'::timestamp) - extract(epoch from '2026-08-06 16:31:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685422 -3.5058)', '2026-08-06 16:31:53', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.5058)'), GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.5058)'))) / (select extract(epoch from '2026-08-06 16:31:53'::timestamp) - extract(epoch from '2026-08-06 16:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.5058)'), GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.5058)'))) / (select extract(epoch from '2026-08-06 16:31:53'::timestamp) - extract(epoch from '2026-08-06 16:31:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685429 -3.505798)', '2026-08-06 16:31:54', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.5058)'), GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505798)'))) / (select extract(epoch from '2026-08-06 16:31:54'::timestamp) - extract(epoch from '2026-08-06 16:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.5058)'), GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505798)'))) / (select extract(epoch from '2026-08-06 16:31:54'::timestamp) - extract(epoch from '2026-08-06 16:31:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685427 -3.505805)', '2026-08-06 16:31:54', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505798)'), GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505805)'))) / (select extract(epoch from '2026-08-06 16:31:54'::timestamp) - extract(epoch from '2026-08-06 16:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505798)'), GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505805)'))) / (select extract(epoch from '2026-08-06 16:31:54'::timestamp) - extract(epoch from '2026-08-06 16:31:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685433 -3.505808)', '2026-08-06 16:31:54', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505805)'), GeomFromEWKT('SRID=4674;POINT (-38.685433 -3.505808)'))) / (select extract(epoch from '2026-08-06 16:31:54'::timestamp) - extract(epoch from '2026-08-06 16:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685427 -3.505805)'), GeomFromEWKT('SRID=4674;POINT (-38.685433 -3.505808)'))) / (select extract(epoch from '2026-08-06 16:31:54'::timestamp) - extract(epoch from '2026-08-06 16:31:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685431 -3.50581)', '2026-08-06 16:31:54', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685433 -3.505808)'), GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.50581)'))) / (select extract(epoch from '2026-08-06 16:31:54'::timestamp) - extract(epoch from '2026-08-06 16:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685433 -3.505808)'), GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.50581)'))) / (select extract(epoch from '2026-08-06 16:31:54'::timestamp) - extract(epoch from '2026-08-06 16:31:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685432 -3.505813)', '2026-08-06 16:31:54', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.50581)'), GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.505813)'))) / (select extract(epoch from '2026-08-06 16:31:54'::timestamp) - extract(epoch from '2026-08-06 16:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.50581)'), GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.505813)'))) / (select extract(epoch from '2026-08-06 16:31:54'::timestamp) - extract(epoch from '2026-08-06 16:31:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685434 -3.505822)', '2026-08-06 16:31:54', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.505813)'), GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.505822)'))) / (select extract(epoch from '2026-08-06 16:31:54'::timestamp) - extract(epoch from '2026-08-06 16:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.505813)'), GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.505822)'))) / (select extract(epoch from '2026-08-06 16:31:54'::timestamp) - extract(epoch from '2026-08-06 16:31:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685434 -3.50582)', '2026-08-06 16:31:54', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.505822)'), GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.50582)'))) / (select extract(epoch from '2026-08-06 16:31:54'::timestamp) - extract(epoch from '2026-08-06 16:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.505822)'), GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.50582)'))) / (select extract(epoch from '2026-08-06 16:31:54'::timestamp) - extract(epoch from '2026-08-06 16:31:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685426 -3.505824)', '2026-08-06 16:31:54', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.50582)'), GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505824)'))) / (select extract(epoch from '2026-08-06 16:31:54'::timestamp) - extract(epoch from '2026-08-06 16:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.50582)'), GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505824)'))) / (select extract(epoch from '2026-08-06 16:31:54'::timestamp) - extract(epoch from '2026-08-06 16:31:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685429 -3.505821)', '2026-08-06 16:31:54', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505824)'), GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505821)'))) / (select extract(epoch from '2026-08-06 16:31:54'::timestamp) - extract(epoch from '2026-08-06 16:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505824)'), GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505821)'))) / (select extract(epoch from '2026-08-06 16:31:54'::timestamp) - extract(epoch from '2026-08-06 16:31:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685432 -3.50582)', '2026-08-06 16:31:54', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505821)'), GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.50582)'))) / (select extract(epoch from '2026-08-06 16:31:54'::timestamp) - extract(epoch from '2026-08-06 16:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685429 -3.505821)'), GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.50582)'))) / (select extract(epoch from '2026-08-06 16:31:54'::timestamp) - extract(epoch from '2026-08-06 16:31:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68543 -3.505817)', '2026-08-06 16:31:54', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.50582)'), GeomFromEWKT('SRID=4674;POINT (-38.68543 -3.505817)'))) / (select extract(epoch from '2026-08-06 16:31:54'::timestamp) - extract(epoch from '2026-08-06 16:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.50582)'), GeomFromEWKT('SRID=4674;POINT (-38.68543 -3.505817)'))) / (select extract(epoch from '2026-08-06 16:31:54'::timestamp) - extract(epoch from '2026-08-06 16:31:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685431 -3.505816)', '2026-08-06 16:31:54', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68543 -3.505817)'), GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505816)'))) / (select extract(epoch from '2026-08-06 16:31:54'::timestamp) - extract(epoch from '2026-08-06 16:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68543 -3.505817)'), GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505816)'))) / (select extract(epoch from '2026-08-06 16:31:54'::timestamp) - extract(epoch from '2026-08-06 16:31:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685434 -3.505817)', '2026-08-06 16:31:54', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505816)'), GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.505817)'))) / (select extract(epoch from '2026-08-06 16:31:54'::timestamp) - extract(epoch from '2026-08-06 16:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685431 -3.505816)'), GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.505817)'))) / (select extract(epoch from '2026-08-06 16:31:54'::timestamp) - extract(epoch from '2026-08-06 16:31:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685437 -3.505814)', '2026-08-06 16:31:54', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.505817)'), GeomFromEWKT('SRID=4674;POINT (-38.685437 -3.505814)'))) / (select extract(epoch from '2026-08-06 16:31:54'::timestamp) - extract(epoch from '2026-08-06 16:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685434 -3.505817)'), GeomFromEWKT('SRID=4674;POINT (-38.685437 -3.505814)'))) / (select extract(epoch from '2026-08-06 16:31:54'::timestamp) - extract(epoch from '2026-08-06 16:31:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685437 -3.505815)', '2026-08-06 16:31:54', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685437 -3.505814)'), GeomFromEWKT('SRID=4674;POINT (-38.685437 -3.505815)'))) / (select extract(epoch from '2026-08-06 16:31:54'::timestamp) - extract(epoch from '2026-08-06 16:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685437 -3.505814)'), GeomFromEWKT('SRID=4674;POINT (-38.685437 -3.505815)'))) / (select extract(epoch from '2026-08-06 16:31:54'::timestamp) - extract(epoch from '2026-08-06 16:31:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68544 -3.505815)', '2026-08-06 16:31:54', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685437 -3.505815)'), GeomFromEWKT('SRID=4674;POINT (-38.68544 -3.505815)'))) / (select extract(epoch from '2026-08-06 16:31:54'::timestamp) - extract(epoch from '2026-08-06 16:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685437 -3.505815)'), GeomFromEWKT('SRID=4674;POINT (-38.68544 -3.505815)'))) / (select extract(epoch from '2026-08-06 16:31:54'::timestamp) - extract(epoch from '2026-08-06 16:31:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685438 -3.505813)', '2026-08-06 16:31:54', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68544 -3.505815)'), GeomFromEWKT('SRID=4674;POINT (-38.685438 -3.505813)'))) / (select extract(epoch from '2026-08-06 16:31:54'::timestamp) - extract(epoch from '2026-08-06 16:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68544 -3.505815)'), GeomFromEWKT('SRID=4674;POINT (-38.685438 -3.505813)'))) / (select extract(epoch from '2026-08-06 16:31:54'::timestamp) - extract(epoch from '2026-08-06 16:31:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685432 -3.505806)', '2026-08-06 16:31:55', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685438 -3.505813)'), GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.505806)'))) / (select extract(epoch from '2026-08-06 16:31:55'::timestamp) - extract(epoch from '2026-08-06 16:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685438 -3.505813)'), GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.505806)'))) / (select extract(epoch from '2026-08-06 16:31:55'::timestamp) - extract(epoch from '2026-08-06 16:31:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685422 -3.505806)', '2026-08-06 16:31:55', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.505806)'), GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505806)'))) / (select extract(epoch from '2026-08-06 16:31:55'::timestamp) - extract(epoch from '2026-08-06 16:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685432 -3.505806)'), GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505806)'))) / (select extract(epoch from '2026-08-06 16:31:55'::timestamp) - extract(epoch from '2026-08-06 16:31:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685428 -3.5058)', '2026-08-06 16:31:55', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505806)'), GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.5058)'))) / (select extract(epoch from '2026-08-06 16:31:55'::timestamp) - extract(epoch from '2026-08-06 16:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505806)'), GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.5058)'))) / (select extract(epoch from '2026-08-06 16:31:55'::timestamp) - extract(epoch from '2026-08-06 16:31:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685423 -3.505803)', '2026-08-06 16:31:55', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.5058)'), GeomFromEWKT('SRID=4674;POINT (-38.685423 -3.505803)'))) / (select extract(epoch from '2026-08-06 16:31:55'::timestamp) - extract(epoch from '2026-08-06 16:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685428 -3.5058)'), GeomFromEWKT('SRID=4674;POINT (-38.685423 -3.505803)'))) / (select extract(epoch from '2026-08-06 16:31:55'::timestamp) - extract(epoch from '2026-08-06 16:31:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685426 -3.505799)', '2026-08-06 16:31:55', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685423 -3.505803)'), GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505799)'))) / (select extract(epoch from '2026-08-06 16:31:55'::timestamp) - extract(epoch from '2026-08-06 16:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685423 -3.505803)'), GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505799)'))) / (select extract(epoch from '2026-08-06 16:31:55'::timestamp) - extract(epoch from '2026-08-06 16:31:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685423 -3.505797)', '2026-08-06 16:31:55', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505799)'), GeomFromEWKT('SRID=4674;POINT (-38.685423 -3.505797)'))) / (select extract(epoch from '2026-08-06 16:31:55'::timestamp) - extract(epoch from '2026-08-06 16:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685426 -3.505799)'), GeomFromEWKT('SRID=4674;POINT (-38.685423 -3.505797)'))) / (select extract(epoch from '2026-08-06 16:31:55'::timestamp) - extract(epoch from '2026-08-06 16:31:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685424 -3.50579)', '2026-08-06 16:31:55', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685423 -3.505797)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.50579)'))) / (select extract(epoch from '2026-08-06 16:31:55'::timestamp) - extract(epoch from '2026-08-06 16:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685423 -3.505797)'), GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.50579)'))) / (select extract(epoch from '2026-08-06 16:31:55'::timestamp) - extract(epoch from '2026-08-06 16:31:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685422 -3.505799)', '2026-08-06 16:31:55', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.50579)'), GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505799)'))) / (select extract(epoch from '2026-08-06 16:31:55'::timestamp) - extract(epoch from '2026-08-06 16:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685424 -3.50579)'), GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505799)'))) / (select extract(epoch from '2026-08-06 16:31:55'::timestamp) - extract(epoch from '2026-08-06 16:31:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685438 -3.505797)', '2026-08-06 16:31:55', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505799)'), GeomFromEWKT('SRID=4674;POINT (-38.685438 -3.505797)'))) / (select extract(epoch from '2026-08-06 16:31:55'::timestamp) - extract(epoch from '2026-08-06 16:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685422 -3.505799)'), GeomFromEWKT('SRID=4674;POINT (-38.685438 -3.505797)'))) / (select extract(epoch from '2026-08-06 16:31:55'::timestamp) - extract(epoch from '2026-08-06 16:31:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685435 -3.505803)', '2026-08-06 16:31:55', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685438 -3.505797)'), GeomFromEWKT('SRID=4674;POINT (-38.685435 -3.505803)'))) / (select extract(epoch from '2026-08-06 16:31:55'::timestamp) - extract(epoch from '2026-08-06 16:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685438 -3.505797)'), GeomFromEWKT('SRID=4674;POINT (-38.685435 -3.505803)'))) / (select extract(epoch from '2026-08-06 16:31:55'::timestamp) - extract(epoch from '2026-08-06 16:31:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68544 -3.505807)', '2026-08-06 16:31:55', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685435 -3.505803)'), GeomFromEWKT('SRID=4674;POINT (-38.68544 -3.505807)'))) / (select extract(epoch from '2026-08-06 16:31:55'::timestamp) - extract(epoch from '2026-08-06 16:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685435 -3.505803)'), GeomFromEWKT('SRID=4674;POINT (-38.68544 -3.505807)'))) / (select extract(epoch from '2026-08-06 16:31:55'::timestamp) - extract(epoch from '2026-08-06 16:31:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685442 -3.505809)', '2026-08-06 16:31:55', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68544 -3.505807)'), GeomFromEWKT('SRID=4674;POINT (-38.685442 -3.505809)'))) / (select extract(epoch from '2026-08-06 16:31:55'::timestamp) - extract(epoch from '2026-08-06 16:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68544 -3.505807)'), GeomFromEWKT('SRID=4674;POINT (-38.685442 -3.505809)'))) / (select extract(epoch from '2026-08-06 16:31:55'::timestamp) - extract(epoch from '2026-08-06 16:31:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685439 -3.505814)', '2026-08-06 16:31:55', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685442 -3.505809)'), GeomFromEWKT('SRID=4674;POINT (-38.685439 -3.505814)'))) / (select extract(epoch from '2026-08-06 16:31:55'::timestamp) - extract(epoch from '2026-08-06 16:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685442 -3.505809)'), GeomFromEWKT('SRID=4674;POINT (-38.685439 -3.505814)'))) / (select extract(epoch from '2026-08-06 16:31:55'::timestamp) - extract(epoch from '2026-08-06 16:31:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685441 -3.505816)', '2026-08-06 16:31:55', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685439 -3.505814)'), GeomFromEWKT('SRID=4674;POINT (-38.685441 -3.505816)'))) / (select extract(epoch from '2026-08-06 16:31:55'::timestamp) - extract(epoch from '2026-08-06 16:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685439 -3.505814)'), GeomFromEWKT('SRID=4674;POINT (-38.685441 -3.505816)'))) / (select extract(epoch from '2026-08-06 16:31:55'::timestamp) - extract(epoch from '2026-08-06 16:31:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685444 -3.50582)', '2026-08-06 16:31:55', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685441 -3.505816)'), GeomFromEWKT('SRID=4674;POINT (-38.685444 -3.50582)'))) / (select extract(epoch from '2026-08-06 16:31:55'::timestamp) - extract(epoch from '2026-08-06 16:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685441 -3.505816)'), GeomFromEWKT('SRID=4674;POINT (-38.685444 -3.50582)'))) / (select extract(epoch from '2026-08-06 16:31:55'::timestamp) - extract(epoch from '2026-08-06 16:31:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68544 -3.50582)', '2026-08-06 16:31:55', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685444 -3.50582)'), GeomFromEWKT('SRID=4674;POINT (-38.68544 -3.50582)'))) / (select extract(epoch from '2026-08-06 16:31:55'::timestamp) - extract(epoch from '2026-08-06 16:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685444 -3.50582)'), GeomFromEWKT('SRID=4674;POINT (-38.68544 -3.50582)'))) / (select extract(epoch from '2026-08-06 16:31:55'::timestamp) - extract(epoch from '2026-08-06 16:31:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685435 -3.505826)', '2026-08-06 16:31:56', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68544 -3.50582)'), GeomFromEWKT('SRID=4674;POINT (-38.685435 -3.505826)'))) / (select extract(epoch from '2026-08-06 16:31:56'::timestamp) - extract(epoch from '2026-08-06 16:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68544 -3.50582)'), GeomFromEWKT('SRID=4674;POINT (-38.685435 -3.505826)'))) / (select extract(epoch from '2026-08-06 16:31:56'::timestamp) - extract(epoch from '2026-08-06 16:31:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685442 -3.505833)', '2026-08-06 16:31:56', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685435 -3.505826)'), GeomFromEWKT('SRID=4674;POINT (-38.685442 -3.505833)'))) / (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.685435 -3.505826)'), GeomFromEWKT('SRID=4674;POINT (-38.685442 -3.505833)'))) / (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.685449 -3.505831)', '2026-08-06 16:31:56', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685442 -3.505833)'), GeomFromEWKT('SRID=4674;POINT (-38.685449 -3.505831)'))) / (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.685442 -3.505833)'), GeomFromEWKT('SRID=4674;POINT (-38.685449 -3.505831)'))) / (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.685454 -3.505834)', '2026-08-06 16:31:56', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685449 -3.505831)'), GeomFromEWKT('SRID=4674;POINT (-38.685454 -3.505834)'))) / (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.685449 -3.505831)'), GeomFromEWKT('SRID=4674;POINT (-38.685454 -3.505834)'))) / (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 ); 
