 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685588 -3.506099)', '2026-08-06 16:32:25', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506097)'), GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506099)'))) / (select extract(epoch from '2026-08-06 16:32:25'::timestamp) - extract(epoch from '2026-08-06 16:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506097)'), GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506099)'))) / (select extract(epoch from '2026-08-06 16:32:25'::timestamp) - extract(epoch from '2026-08-06 16:32:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685588 -3.506098)', '2026-08-06 16:32:25', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506099)'), GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506098)'))) / (select extract(epoch from '2026-08-06 16:32:25'::timestamp) - extract(epoch from '2026-08-06 16:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506099)'), GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506098)'))) / (select extract(epoch from '2026-08-06 16:32:25'::timestamp) - extract(epoch from '2026-08-06 16:32:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685591 -3.506092)', '2026-08-06 16:32:25', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506098)'), GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506092)'))) / (select extract(epoch from '2026-08-06 16:32:25'::timestamp) - extract(epoch from '2026-08-06 16:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506098)'), GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506092)'))) / (select extract(epoch from '2026-08-06 16:32:25'::timestamp) - extract(epoch from '2026-08-06 16:32:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685587 -3.506094)', '2026-08-06 16:32:25', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506092)'), GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.506094)'))) / (select extract(epoch from '2026-08-06 16:32:25'::timestamp) - extract(epoch from '2026-08-06 16:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506092)'), GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.506094)'))) / (select extract(epoch from '2026-08-06 16:32:25'::timestamp) - extract(epoch from '2026-08-06 16:32:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685591 -3.506092)', '2026-08-06 16:32:25', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.506094)'), GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506092)'))) / (select extract(epoch from '2026-08-06 16:32:25'::timestamp) - extract(epoch from '2026-08-06 16:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685587 -3.506094)'), GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506092)'))) / (select extract(epoch from '2026-08-06 16:32:25'::timestamp) - extract(epoch from '2026-08-06 16:32:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685591 -3.506091)', '2026-08-06 16:32:25', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506092)'), GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506091)'))) / (select extract(epoch from '2026-08-06 16:32:25'::timestamp) - extract(epoch from '2026-08-06 16:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506092)'), GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506091)'))) / (select extract(epoch from '2026-08-06 16:32:25'::timestamp) - extract(epoch from '2026-08-06 16:32:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685595 -3.506088)', '2026-08-06 16:32:25', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506091)'), GeomFromEWKT('SRID=4674;POINT (-38.685595 -3.506088)'))) / (select extract(epoch from '2026-08-06 16:32:25'::timestamp) - extract(epoch from '2026-08-06 16:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685591 -3.506091)'), GeomFromEWKT('SRID=4674;POINT (-38.685595 -3.506088)'))) / (select extract(epoch from '2026-08-06 16:32:25'::timestamp) - extract(epoch from '2026-08-06 16:32:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685594 -3.506091)', '2026-08-06 16:32:25', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685595 -3.506088)'), GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506091)'))) / (select extract(epoch from '2026-08-06 16:32:25'::timestamp) - extract(epoch from '2026-08-06 16:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685595 -3.506088)'), GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506091)'))) / (select extract(epoch from '2026-08-06 16:32:25'::timestamp) - extract(epoch from '2026-08-06 16:32:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685595 -3.506098)', '2026-08-06 16:32:26', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506091)'), GeomFromEWKT('SRID=4674;POINT (-38.685595 -3.506098)'))) / (select extract(epoch from '2026-08-06 16:32:26'::timestamp) - extract(epoch from '2026-08-06 16:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506091)'), GeomFromEWKT('SRID=4674;POINT (-38.685595 -3.506098)'))) / (select extract(epoch from '2026-08-06 16:32:26'::timestamp) - extract(epoch from '2026-08-06 16:32:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685594 -3.5061)', '2026-08-06 16:32:26', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685595 -3.506098)'), GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.5061)'))) / (select extract(epoch from '2026-08-06 16:32:26'::timestamp) - extract(epoch from '2026-08-06 16:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685595 -3.506098)'), GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.5061)'))) / (select extract(epoch from '2026-08-06 16:32:26'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685593 -3.506101)', '2026-08-06 16:32:26', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.5061)'), GeomFromEWKT('SRID=4674;POINT (-38.685593 -3.506101)'))) / (select extract(epoch from '2026-08-06 16:32:26'::timestamp) - extract(epoch from '2026-08-06 16:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.5061)'), GeomFromEWKT('SRID=4674;POINT (-38.685593 -3.506101)'))) / (select extract(epoch from '2026-08-06 16:32:26'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685595 -3.506107)', '2026-08-06 16:32:26', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685593 -3.506101)'), GeomFromEWKT('SRID=4674;POINT (-38.685595 -3.506107)'))) / (select extract(epoch from '2026-08-06 16:32:26'::timestamp) - extract(epoch from '2026-08-06 16:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685593 -3.506101)'), GeomFromEWKT('SRID=4674;POINT (-38.685595 -3.506107)'))) / (select extract(epoch from '2026-08-06 16:32:26'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685595 -3.506113)', '2026-08-06 16:32:26', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685595 -3.506107)'), GeomFromEWKT('SRID=4674;POINT (-38.685595 -3.506113)'))) / (select extract(epoch from '2026-08-06 16:32:26'::timestamp) - extract(epoch from '2026-08-06 16:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685595 -3.506107)'), GeomFromEWKT('SRID=4674;POINT (-38.685595 -3.506113)'))) / (select extract(epoch from '2026-08-06 16:32:26'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685589 -3.506107)', '2026-08-06 16:32:26', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685595 -3.506113)'), GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506107)'))) / (select extract(epoch from '2026-08-06 16:32:26'::timestamp) - extract(epoch from '2026-08-06 16:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685595 -3.506113)'), GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506107)'))) / (select extract(epoch from '2026-08-06 16:32:26'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685589 -3.506099)', '2026-08-06 16:32:26', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506107)'), GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506099)'))) / (select extract(epoch from '2026-08-06 16:32:26'::timestamp) - extract(epoch from '2026-08-06 16:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506107)'), GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506099)'))) / (select extract(epoch from '2026-08-06 16:32:26'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685588 -3.506099)', '2026-08-06 16:32:26', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506099)'), GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506099)'))) / (select extract(epoch from '2026-08-06 16:32:26'::timestamp) - extract(epoch from '2026-08-06 16:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.506099)'), GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506099)'))) / (select extract(epoch from '2026-08-06 16:32:26'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685588 -3.506103)', '2026-08-06 16:32:26', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506099)'), GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506103)'))) / (select extract(epoch from '2026-08-06 16:32:26'::timestamp) - extract(epoch from '2026-08-06 16:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506099)'), GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506103)'))) / (select extract(epoch from '2026-08-06 16:32:26'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685586 -3.506105)', '2026-08-06 16:32:26', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506103)'), GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506105)'))) / (select extract(epoch from '2026-08-06 16:32:26'::timestamp) - extract(epoch from '2026-08-06 16:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506103)'), GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506105)'))) / (select extract(epoch from '2026-08-06 16:32:26'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685594 -3.506107)', '2026-08-06 16:32:26', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506105)'), GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506107)'))) / (select extract(epoch from '2026-08-06 16:32:26'::timestamp) - extract(epoch from '2026-08-06 16:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685586 -3.506105)'), GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506107)'))) / (select extract(epoch from '2026-08-06 16:32:26'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685588 -3.506105)', '2026-08-06 16:32:26', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506107)'), GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506105)'))) / (select extract(epoch from '2026-08-06 16:32:26'::timestamp) - extract(epoch from '2026-08-06 16:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506107)'), GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506105)'))) / (select extract(epoch from '2026-08-06 16:32:26'::timestamp) - extract(epoch from '2026-08-06 16:32: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.6856 -3.506109)', '2026-08-06 16:32:26', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506105)'), GeomFromEWKT('SRID=4674;POINT (-38.6856 -3.506109)'))) / (select extract(epoch from '2026-08-06 16:32:26'::timestamp) - extract(epoch from '2026-08-06 16:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685588 -3.506105)'), GeomFromEWKT('SRID=4674;POINT (-38.6856 -3.506109)'))) / (select extract(epoch from '2026-08-06 16:32:26'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685595 -3.506118)', '2026-08-06 16:32:26', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6856 -3.506109)'), GeomFromEWKT('SRID=4674;POINT (-38.685595 -3.506118)'))) / (select extract(epoch from '2026-08-06 16:32:26'::timestamp) - extract(epoch from '2026-08-06 16:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6856 -3.506109)'), GeomFromEWKT('SRID=4674;POINT (-38.685595 -3.506118)'))) / (select extract(epoch from '2026-08-06 16:32:26'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685596 -3.506126)', '2026-08-06 16:32:26', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685595 -3.506118)'), GeomFromEWKT('SRID=4674;POINT (-38.685596 -3.506126)'))) / (select extract(epoch from '2026-08-06 16:32:26'::timestamp) - extract(epoch from '2026-08-06 16:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685595 -3.506118)'), GeomFromEWKT('SRID=4674;POINT (-38.685596 -3.506126)'))) / (select extract(epoch from '2026-08-06 16:32:26'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685598 -3.506128)', '2026-08-06 16:32:26', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685596 -3.506126)'), GeomFromEWKT('SRID=4674;POINT (-38.685598 -3.506128)'))) / (select extract(epoch from '2026-08-06 16:32:26'::timestamp) - extract(epoch from '2026-08-06 16:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685596 -3.506126)'), GeomFromEWKT('SRID=4674;POINT (-38.685598 -3.506128)'))) / (select extract(epoch from '2026-08-06 16:32:26'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685596 -3.506128)', '2026-08-06 16:32:27', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685598 -3.506128)'), GeomFromEWKT('SRID=4674;POINT (-38.685596 -3.506128)'))) / (select extract(epoch from '2026-08-06 16:32:27'::timestamp) - extract(epoch from '2026-08-06 16:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685598 -3.506128)'), GeomFromEWKT('SRID=4674;POINT (-38.685596 -3.506128)'))) / (select extract(epoch from '2026-08-06 16:32:27'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685594 -3.506129)', '2026-08-06 16:32:27', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685596 -3.506128)'), GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506129)'))) / (select extract(epoch from '2026-08-06 16:32:27'::timestamp) - extract(epoch from '2026-08-06 16:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685596 -3.506128)'), GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506129)'))) / (select extract(epoch from '2026-08-06 16:32:27'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685598 -3.506134)', '2026-08-06 16:32:27', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506129)'), GeomFromEWKT('SRID=4674;POINT (-38.685598 -3.506134)'))) / (select extract(epoch from '2026-08-06 16:32:27'::timestamp) - extract(epoch from '2026-08-06 16:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506129)'), GeomFromEWKT('SRID=4674;POINT (-38.685598 -3.506134)'))) / (select extract(epoch from '2026-08-06 16:32:27'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685601 -3.506135)', '2026-08-06 16:32:27', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685598 -3.506134)'), GeomFromEWKT('SRID=4674;POINT (-38.685601 -3.506135)'))) / (select extract(epoch from '2026-08-06 16:32:27'::timestamp) - extract(epoch from '2026-08-06 16:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685598 -3.506134)'), GeomFromEWKT('SRID=4674;POINT (-38.685601 -3.506135)'))) / (select extract(epoch from '2026-08-06 16:32:27'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685603 -3.506141)', '2026-08-06 16:32:27', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685601 -3.506135)'), GeomFromEWKT('SRID=4674;POINT (-38.685603 -3.506141)'))) / (select extract(epoch from '2026-08-06 16:32:27'::timestamp) - extract(epoch from '2026-08-06 16:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685601 -3.506135)'), GeomFromEWKT('SRID=4674;POINT (-38.685603 -3.506141)'))) / (select extract(epoch from '2026-08-06 16:32:27'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685603 -3.506141)', '2026-08-06 16:32:27', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685603 -3.506141)'), GeomFromEWKT('SRID=4674;POINT (-38.685603 -3.506141)'))) / (select extract(epoch from '2026-08-06 16:32:27'::timestamp) - extract(epoch from '2026-08-06 16:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685603 -3.506141)'), GeomFromEWKT('SRID=4674;POINT (-38.685603 -3.506141)'))) / (select extract(epoch from '2026-08-06 16:32:27'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685603 -3.506141)', '2026-08-06 16:32:27', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685603 -3.506141)'), GeomFromEWKT('SRID=4674;POINT (-38.685603 -3.506141)'))) / (select extract(epoch from '2026-08-06 16:32:27'::timestamp) - extract(epoch from '2026-08-06 16:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685603 -3.506141)'), GeomFromEWKT('SRID=4674;POINT (-38.685603 -3.506141)'))) / (select extract(epoch from '2026-08-06 16:32:27'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685606 -3.506139)', '2026-08-06 16:32:27', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685603 -3.506141)'), GeomFromEWKT('SRID=4674;POINT (-38.685606 -3.506139)'))) / (select extract(epoch from '2026-08-06 16:32:27'::timestamp) - extract(epoch from '2026-08-06 16:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685603 -3.506141)'), GeomFromEWKT('SRID=4674;POINT (-38.685606 -3.506139)'))) / (select extract(epoch from '2026-08-06 16:32:27'::timestamp) - extract(epoch from '2026-08-06 16:32: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.6856 -3.506135)', '2026-08-06 16:32:27', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685606 -3.506139)'), GeomFromEWKT('SRID=4674;POINT (-38.6856 -3.506135)'))) / (select extract(epoch from '2026-08-06 16:32:27'::timestamp) - extract(epoch from '2026-08-06 16:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685606 -3.506139)'), GeomFromEWKT('SRID=4674;POINT (-38.6856 -3.506135)'))) / (select extract(epoch from '2026-08-06 16:32:27'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685606 -3.506135)', '2026-08-06 16:32:27', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6856 -3.506135)'), GeomFromEWKT('SRID=4674;POINT (-38.685606 -3.506135)'))) / (select extract(epoch from '2026-08-06 16:32:27'::timestamp) - extract(epoch from '2026-08-06 16:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6856 -3.506135)'), GeomFromEWKT('SRID=4674;POINT (-38.685606 -3.506135)'))) / (select extract(epoch from '2026-08-06 16:32:27'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685603 -3.50614)', '2026-08-06 16:32:27', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685606 -3.506135)'), GeomFromEWKT('SRID=4674;POINT (-38.685603 -3.50614)'))) / (select extract(epoch from '2026-08-06 16:32:27'::timestamp) - extract(epoch from '2026-08-06 16:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685606 -3.506135)'), GeomFromEWKT('SRID=4674;POINT (-38.685603 -3.50614)'))) / (select extract(epoch from '2026-08-06 16:32:27'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685597 -3.506139)', '2026-08-06 16:32:27', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685603 -3.50614)'), GeomFromEWKT('SRID=4674;POINT (-38.685597 -3.506139)'))) / (select extract(epoch from '2026-08-06 16:32:27'::timestamp) - extract(epoch from '2026-08-06 16:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685603 -3.50614)'), GeomFromEWKT('SRID=4674;POINT (-38.685597 -3.506139)'))) / (select extract(epoch from '2026-08-06 16:32:27'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685594 -3.506146)', '2026-08-06 16:32:27', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685597 -3.506139)'), GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506146)'))) / (select extract(epoch from '2026-08-06 16:32:27'::timestamp) - extract(epoch from '2026-08-06 16:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685597 -3.506139)'), GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506146)'))) / (select extract(epoch from '2026-08-06 16:32:27'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685599 -3.506145)', '2026-08-06 16:32:27', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506146)'), GeomFromEWKT('SRID=4674;POINT (-38.685599 -3.506145)'))) / (select extract(epoch from '2026-08-06 16:32:27'::timestamp) - extract(epoch from '2026-08-06 16:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685594 -3.506146)'), GeomFromEWKT('SRID=4674;POINT (-38.685599 -3.506145)'))) / (select extract(epoch from '2026-08-06 16:32:27'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685599 -3.506145)', '2026-08-06 16:32:27', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685599 -3.506145)'), GeomFromEWKT('SRID=4674;POINT (-38.685599 -3.506145)'))) / (select extract(epoch from '2026-08-06 16:32:27'::timestamp) - extract(epoch from '2026-08-06 16:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685599 -3.506145)'), GeomFromEWKT('SRID=4674;POINT (-38.685599 -3.506145)'))) / (select extract(epoch from '2026-08-06 16:32:27'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685602 -3.506146)', '2026-08-06 16:32:27', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685599 -3.506145)'), GeomFromEWKT('SRID=4674;POINT (-38.685602 -3.506146)'))) / (select extract(epoch from '2026-08-06 16:32:27'::timestamp) - extract(epoch from '2026-08-06 16:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685599 -3.506145)'), GeomFromEWKT('SRID=4674;POINT (-38.685602 -3.506146)'))) / (select extract(epoch from '2026-08-06 16:32:27'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685609 -3.506149)', '2026-08-06 16:32:27', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685602 -3.506146)'), GeomFromEWKT('SRID=4674;POINT (-38.685609 -3.506149)'))) / (select extract(epoch from '2026-08-06 16:32:27'::timestamp) - extract(epoch from '2026-08-06 16:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685602 -3.506146)'), GeomFromEWKT('SRID=4674;POINT (-38.685609 -3.506149)'))) / (select extract(epoch from '2026-08-06 16:32:27'::timestamp) - extract(epoch from '2026-08-06 16:32: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.68561 -3.506147)', '2026-08-06 16:32:28', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685609 -3.506149)'), GeomFromEWKT('SRID=4674;POINT (-38.68561 -3.506147)'))) / (select extract(epoch from '2026-08-06 16:32:28'::timestamp) - extract(epoch from '2026-08-06 16:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685609 -3.506149)'), GeomFromEWKT('SRID=4674;POINT (-38.68561 -3.506147)'))) / (select extract(epoch from '2026-08-06 16:32:28'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685608 -3.506148)', '2026-08-06 16:32:28', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68561 -3.506147)'), GeomFromEWKT('SRID=4674;POINT (-38.685608 -3.506148)'))) / (select extract(epoch from '2026-08-06 16:32:28'::timestamp) - extract(epoch from '2026-08-06 16:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68561 -3.506147)'), GeomFromEWKT('SRID=4674;POINT (-38.685608 -3.506148)'))) / (select extract(epoch from '2026-08-06 16:32:28'::timestamp) - extract(epoch from '2026-08-06 16:32:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68561 -3.506144)', '2026-08-06 16:32:28', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685608 -3.506148)'), GeomFromEWKT('SRID=4674;POINT (-38.68561 -3.506144)'))) / (select extract(epoch from '2026-08-06 16:32:28'::timestamp) - extract(epoch from '2026-08-06 16:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685608 -3.506148)'), GeomFromEWKT('SRID=4674;POINT (-38.68561 -3.506144)'))) / (select extract(epoch from '2026-08-06 16:32:28'::timestamp) - extract(epoch from '2026-08-06 16:32:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685605 -3.506143)', '2026-08-06 16:32:28', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68561 -3.506144)'), GeomFromEWKT('SRID=4674;POINT (-38.685605 -3.506143)'))) / (select extract(epoch from '2026-08-06 16:32:28'::timestamp) - extract(epoch from '2026-08-06 16:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68561 -3.506144)'), GeomFromEWKT('SRID=4674;POINT (-38.685605 -3.506143)'))) / (select extract(epoch from '2026-08-06 16:32:28'::timestamp) - extract(epoch from '2026-08-06 16:32:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685609 -3.506143)', '2026-08-06 16:32:28', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685605 -3.506143)'), GeomFromEWKT('SRID=4674;POINT (-38.685609 -3.506143)'))) / (select extract(epoch from '2026-08-06 16:32:28'::timestamp) - extract(epoch from '2026-08-06 16:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685605 -3.506143)'), GeomFromEWKT('SRID=4674;POINT (-38.685609 -3.506143)'))) / (select extract(epoch from '2026-08-06 16:32:28'::timestamp) - extract(epoch from '2026-08-06 16:32:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685607 -3.506141)', '2026-08-06 16:32:28', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685609 -3.506143)'), GeomFromEWKT('SRID=4674;POINT (-38.685607 -3.506141)'))) / (select extract(epoch from '2026-08-06 16:32:28'::timestamp) - extract(epoch from '2026-08-06 16:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685609 -3.506143)'), GeomFromEWKT('SRID=4674;POINT (-38.685607 -3.506141)'))) / (select extract(epoch from '2026-08-06 16:32:28'::timestamp) - extract(epoch from '2026-08-06 16:32:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685606 -3.506138)', '2026-08-06 16:32:28', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685607 -3.506141)'), GeomFromEWKT('SRID=4674;POINT (-38.685606 -3.506138)'))) / (select extract(epoch from '2026-08-06 16:32:28'::timestamp) - extract(epoch from '2026-08-06 16:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685607 -3.506141)'), GeomFromEWKT('SRID=4674;POINT (-38.685606 -3.506138)'))) / (select extract(epoch from '2026-08-06 16:32:28'::timestamp) - extract(epoch from '2026-08-06 16:32:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685617 -3.50614)', '2026-08-06 16:32:28', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685606 -3.506138)'), GeomFromEWKT('SRID=4674;POINT (-38.685617 -3.50614)'))) / (select extract(epoch from '2026-08-06 16:32:28'::timestamp) - extract(epoch from '2026-08-06 16:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685606 -3.506138)'), GeomFromEWKT('SRID=4674;POINT (-38.685617 -3.50614)'))) / (select extract(epoch from '2026-08-06 16:32:28'::timestamp) - extract(epoch from '2026-08-06 16:32:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685653 -3.506125)', '2026-08-06 16:32:28', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685617 -3.50614)'), GeomFromEWKT('SRID=4674;POINT (-38.685653 -3.506125)'))) / (select extract(epoch from '2026-08-06 16:32:28'::timestamp) - extract(epoch from '2026-08-06 16:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685617 -3.50614)'), GeomFromEWKT('SRID=4674;POINT (-38.685653 -3.506125)'))) / (select extract(epoch from '2026-08-06 16:32:28'::timestamp) - extract(epoch from '2026-08-06 16:32:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68569 -3.506109)', '2026-08-06 16:32:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685653 -3.506125)'), GeomFromEWKT('SRID=4674;POINT (-38.68569 -3.506109)'))) / (select extract(epoch from '2026-08-06 16:32:28'::timestamp) - extract(epoch from '2026-08-06 16:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685653 -3.506125)'), GeomFromEWKT('SRID=4674;POINT (-38.68569 -3.506109)'))) / (select extract(epoch from '2026-08-06 16:32:28'::timestamp) - extract(epoch from '2026-08-06 16:32:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685719 -3.506099)', '2026-08-06 16:32:29', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68569 -3.506109)'), GeomFromEWKT('SRID=4674;POINT (-38.685719 -3.506099)'))) / (select extract(epoch from '2026-08-06 16:32:29'::timestamp) - extract(epoch from '2026-08-06 16:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68569 -3.506109)'), GeomFromEWKT('SRID=4674;POINT (-38.685719 -3.506099)'))) / (select extract(epoch from '2026-08-06 16:32:29'::timestamp) - extract(epoch from '2026-08-06 16:32:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685741 -3.506092)', '2026-08-06 16:32:29', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685719 -3.506099)'), GeomFromEWKT('SRID=4674;POINT (-38.685741 -3.506092)'))) / (select extract(epoch from '2026-08-06 16:32:29'::timestamp) - extract(epoch from '2026-08-06 16:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685719 -3.506099)'), GeomFromEWKT('SRID=4674;POINT (-38.685741 -3.506092)'))) / (select extract(epoch from '2026-08-06 16:32:29'::timestamp) - extract(epoch from '2026-08-06 16:32:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685737 -3.506088)', '2026-08-06 16:32:29', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685741 -3.506092)'), GeomFromEWKT('SRID=4674;POINT (-38.685737 -3.506088)'))) / (select extract(epoch from '2026-08-06 16:32:29'::timestamp) - extract(epoch from '2026-08-06 16:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685741 -3.506092)'), GeomFromEWKT('SRID=4674;POINT (-38.685737 -3.506088)'))) / (select extract(epoch from '2026-08-06 16:32:29'::timestamp) - extract(epoch from '2026-08-06 16:32:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685739 -3.506081)', '2026-08-06 16:32:29', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685737 -3.506088)'), GeomFromEWKT('SRID=4674;POINT (-38.685739 -3.506081)'))) / (select extract(epoch from '2026-08-06 16:32:29'::timestamp) - extract(epoch from '2026-08-06 16:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685737 -3.506088)'), GeomFromEWKT('SRID=4674;POINT (-38.685739 -3.506081)'))) / (select extract(epoch from '2026-08-06 16:32:29'::timestamp) - extract(epoch from '2026-08-06 16:32:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685742 -3.506081)', '2026-08-06 16:32:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685739 -3.506081)'), GeomFromEWKT('SRID=4674;POINT (-38.685742 -3.506081)'))) / (select extract(epoch from '2026-08-06 16:32:29'::timestamp) - extract(epoch from '2026-08-06 16:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685739 -3.506081)'), GeomFromEWKT('SRID=4674;POINT (-38.685742 -3.506081)'))) / (select extract(epoch from '2026-08-06 16:32:29'::timestamp) - extract(epoch from '2026-08-06 16:32:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685738 -3.506081)', '2026-08-06 16:32:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685742 -3.506081)'), GeomFromEWKT('SRID=4674;POINT (-38.685738 -3.506081)'))) / (select extract(epoch from '2026-08-06 16:32:29'::timestamp) - extract(epoch from '2026-08-06 16:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685742 -3.506081)'), GeomFromEWKT('SRID=4674;POINT (-38.685738 -3.506081)'))) / (select extract(epoch from '2026-08-06 16:32:29'::timestamp) - extract(epoch from '2026-08-06 16:32:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685738 -3.506077)', '2026-08-06 16:32:29', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685738 -3.506081)'), GeomFromEWKT('SRID=4674;POINT (-38.685738 -3.506077)'))) / (select extract(epoch from '2026-08-06 16:32:29'::timestamp) - extract(epoch from '2026-08-06 16:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685738 -3.506081)'), GeomFromEWKT('SRID=4674;POINT (-38.685738 -3.506077)'))) / (select extract(epoch from '2026-08-06 16:32:29'::timestamp) - extract(epoch from '2026-08-06 16:32:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685736 -3.506068)', '2026-08-06 16:32:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685738 -3.506077)'), GeomFromEWKT('SRID=4674;POINT (-38.685736 -3.506068)'))) / (select extract(epoch from '2026-08-06 16:32:29'::timestamp) - extract(epoch from '2026-08-06 16:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685738 -3.506077)'), GeomFromEWKT('SRID=4674;POINT (-38.685736 -3.506068)'))) / (select extract(epoch from '2026-08-06 16:32:29'::timestamp) - extract(epoch from '2026-08-06 16:32:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685737 -3.506072)', '2026-08-06 16:32:29', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685736 -3.506068)'), GeomFromEWKT('SRID=4674;POINT (-38.685737 -3.506072)'))) / (select extract(epoch from '2026-08-06 16:32:29'::timestamp) - extract(epoch from '2026-08-06 16:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685736 -3.506068)'), GeomFromEWKT('SRID=4674;POINT (-38.685737 -3.506072)'))) / (select extract(epoch from '2026-08-06 16:32:29'::timestamp) - extract(epoch from '2026-08-06 16:32:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685736 -3.506073)', '2026-08-06 16:32:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685737 -3.506072)'), GeomFromEWKT('SRID=4674;POINT (-38.685736 -3.506073)'))) / (select extract(epoch from '2026-08-06 16:32:29'::timestamp) - extract(epoch from '2026-08-06 16:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685737 -3.506072)'), GeomFromEWKT('SRID=4674;POINT (-38.685736 -3.506073)'))) / (select extract(epoch from '2026-08-06 16:32:29'::timestamp) - extract(epoch from '2026-08-06 16:32:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685735 -3.506069)', '2026-08-06 16:32:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685736 -3.506073)'), GeomFromEWKT('SRID=4674;POINT (-38.685735 -3.506069)'))) / (select extract(epoch from '2026-08-06 16:32:29'::timestamp) - extract(epoch from '2026-08-06 16:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685736 -3.506073)'), GeomFromEWKT('SRID=4674;POINT (-38.685735 -3.506069)'))) / (select extract(epoch from '2026-08-06 16:32:29'::timestamp) - extract(epoch from '2026-08-06 16:32:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685733 -3.506059)', '2026-08-06 16:32:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685735 -3.506069)'), GeomFromEWKT('SRID=4674;POINT (-38.685733 -3.506059)'))) / (select extract(epoch from '2026-08-06 16:32:29'::timestamp) - extract(epoch from '2026-08-06 16:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685735 -3.506069)'), GeomFromEWKT('SRID=4674;POINT (-38.685733 -3.506059)'))) / (select extract(epoch from '2026-08-06 16:32:29'::timestamp) - extract(epoch from '2026-08-06 16:32:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685733 -3.506052)', '2026-08-06 16:32:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685733 -3.506059)'), GeomFromEWKT('SRID=4674;POINT (-38.685733 -3.506052)'))) / (select extract(epoch from '2026-08-06 16:32:30'::timestamp) - extract(epoch from '2026-08-06 16:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685733 -3.506059)'), GeomFromEWKT('SRID=4674;POINT (-38.685733 -3.506052)'))) / (select extract(epoch from '2026-08-06 16:32:30'::timestamp) - extract(epoch from '2026-08-06 16:32:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685732 -3.506048)', '2026-08-06 16:32:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685733 -3.506052)'), GeomFromEWKT('SRID=4674;POINT (-38.685732 -3.506048)'))) / (select extract(epoch from '2026-08-06 16:32:30'::timestamp) - extract(epoch from '2026-08-06 16:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685733 -3.506052)'), GeomFromEWKT('SRID=4674;POINT (-38.685732 -3.506048)'))) / (select extract(epoch from '2026-08-06 16:32:30'::timestamp) - extract(epoch from '2026-08-06 16:32:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685727 -3.506043)', '2026-08-06 16:32:30', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685732 -3.506048)'), GeomFromEWKT('SRID=4674;POINT (-38.685727 -3.506043)'))) / (select extract(epoch from '2026-08-06 16:32:30'::timestamp) - extract(epoch from '2026-08-06 16:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685732 -3.506048)'), GeomFromEWKT('SRID=4674;POINT (-38.685727 -3.506043)'))) / (select extract(epoch from '2026-08-06 16:32:30'::timestamp) - extract(epoch from '2026-08-06 16:32:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685728 -3.506041)', '2026-08-06 16:32:30', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685727 -3.506043)'), GeomFromEWKT('SRID=4674;POINT (-38.685728 -3.506041)'))) / (select extract(epoch from '2026-08-06 16:32:30'::timestamp) - extract(epoch from '2026-08-06 16:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685727 -3.506043)'), GeomFromEWKT('SRID=4674;POINT (-38.685728 -3.506041)'))) / (select extract(epoch from '2026-08-06 16:32:30'::timestamp) - extract(epoch from '2026-08-06 16:32:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685723 -3.50603)', '2026-08-06 16:32:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685728 -3.506041)'), GeomFromEWKT('SRID=4674;POINT (-38.685723 -3.50603)'))) / (select extract(epoch from '2026-08-06 16:32:30'::timestamp) - extract(epoch from '2026-08-06 16:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685728 -3.506041)'), GeomFromEWKT('SRID=4674;POINT (-38.685723 -3.50603)'))) / (select extract(epoch from '2026-08-06 16:32:30'::timestamp) - extract(epoch from '2026-08-06 16:32:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685722 -3.506026)', '2026-08-06 16:32:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685723 -3.50603)'), GeomFromEWKT('SRID=4674;POINT (-38.685722 -3.506026)'))) / (select extract(epoch from '2026-08-06 16:32:30'::timestamp) - extract(epoch from '2026-08-06 16:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685723 -3.50603)'), GeomFromEWKT('SRID=4674;POINT (-38.685722 -3.506026)'))) / (select extract(epoch from '2026-08-06 16:32:30'::timestamp) - extract(epoch from '2026-08-06 16:32:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685736 -3.506013)', '2026-08-06 16:32:30', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685722 -3.506026)'), GeomFromEWKT('SRID=4674;POINT (-38.685736 -3.506013)'))) / (select extract(epoch from '2026-08-06 16:32:30'::timestamp) - extract(epoch from '2026-08-06 16:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685722 -3.506026)'), GeomFromEWKT('SRID=4674;POINT (-38.685736 -3.506013)'))) / (select extract(epoch from '2026-08-06 16:32:30'::timestamp) - extract(epoch from '2026-08-06 16:32:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685769 -3.505993)', '2026-08-06 16:32:30', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685736 -3.506013)'), GeomFromEWKT('SRID=4674;POINT (-38.685769 -3.505993)'))) / (select extract(epoch from '2026-08-06 16:32:30'::timestamp) - extract(epoch from '2026-08-06 16:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685736 -3.506013)'), GeomFromEWKT('SRID=4674;POINT (-38.685769 -3.505993)'))) / (select extract(epoch from '2026-08-06 16:32:30'::timestamp) - extract(epoch from '2026-08-06 16:32:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685791 -3.505983)', '2026-08-06 16:32:30', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685769 -3.505993)'), GeomFromEWKT('SRID=4674;POINT (-38.685791 -3.505983)'))) / (select extract(epoch from '2026-08-06 16:32:30'::timestamp) - extract(epoch from '2026-08-06 16:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685769 -3.505993)'), GeomFromEWKT('SRID=4674;POINT (-38.685791 -3.505983)'))) / (select extract(epoch from '2026-08-06 16:32:30'::timestamp) - extract(epoch from '2026-08-06 16:32:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685795 -3.505987)', '2026-08-06 16:32:30', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685791 -3.505983)'), GeomFromEWKT('SRID=4674;POINT (-38.685795 -3.505987)'))) / (select extract(epoch from '2026-08-06 16:32:30'::timestamp) - extract(epoch from '2026-08-06 16:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685791 -3.505983)'), GeomFromEWKT('SRID=4674;POINT (-38.685795 -3.505987)'))) / (select extract(epoch from '2026-08-06 16:32:30'::timestamp) - extract(epoch from '2026-08-06 16:32:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685801 -3.505977)', '2026-08-06 16:32:31', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685795 -3.505987)'), GeomFromEWKT('SRID=4674;POINT (-38.685801 -3.505977)'))) / (select extract(epoch from '2026-08-06 16:32:31'::timestamp) - extract(epoch from '2026-08-06 16:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685795 -3.505987)'), GeomFromEWKT('SRID=4674;POINT (-38.685801 -3.505977)'))) / (select extract(epoch from '2026-08-06 16:32:31'::timestamp) - extract(epoch from '2026-08-06 16:32:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685833 -3.505971)', '2026-08-06 16:32:31', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685801 -3.505977)'), GeomFromEWKT('SRID=4674;POINT (-38.685833 -3.505971)'))) / (select extract(epoch from '2026-08-06 16:32:31'::timestamp) - extract(epoch from '2026-08-06 16:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685801 -3.505977)'), GeomFromEWKT('SRID=4674;POINT (-38.685833 -3.505971)'))) / (select extract(epoch from '2026-08-06 16:32:31'::timestamp) - extract(epoch from '2026-08-06 16:32:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685821 -3.505965)', '2026-08-06 16:32:31', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685833 -3.505971)'), GeomFromEWKT('SRID=4674;POINT (-38.685821 -3.505965)'))) / (select extract(epoch from '2026-08-06 16:32:31'::timestamp) - extract(epoch from '2026-08-06 16:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685833 -3.505971)'), GeomFromEWKT('SRID=4674;POINT (-38.685821 -3.505965)'))) / (select extract(epoch from '2026-08-06 16:32:31'::timestamp) - extract(epoch from '2026-08-06 16:32:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685823 -3.505976)', '2026-08-06 16:32:31', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685821 -3.505965)'), GeomFromEWKT('SRID=4674;POINT (-38.685823 -3.505976)'))) / (select extract(epoch from '2026-08-06 16:32:31'::timestamp) - extract(epoch from '2026-08-06 16:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685821 -3.505965)'), GeomFromEWKT('SRID=4674;POINT (-38.685823 -3.505976)'))) / (select extract(epoch from '2026-08-06 16:32:31'::timestamp) - extract(epoch from '2026-08-06 16:32:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685823 -3.505983)', '2026-08-06 16:32:31', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685823 -3.505976)'), GeomFromEWKT('SRID=4674;POINT (-38.685823 -3.505983)'))) / (select extract(epoch from '2026-08-06 16:32:31'::timestamp) - extract(epoch from '2026-08-06 16:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685823 -3.505976)'), GeomFromEWKT('SRID=4674;POINT (-38.685823 -3.505983)'))) / (select extract(epoch from '2026-08-06 16:32:31'::timestamp) - extract(epoch from '2026-08-06 16:32:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685821 -3.505987)', '2026-08-06 16:32:31', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685823 -3.505983)'), GeomFromEWKT('SRID=4674;POINT (-38.685821 -3.505987)'))) / (select extract(epoch from '2026-08-06 16:32:31'::timestamp) - extract(epoch from '2026-08-06 16:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685823 -3.505983)'), GeomFromEWKT('SRID=4674;POINT (-38.685821 -3.505987)'))) / (select extract(epoch from '2026-08-06 16:32:31'::timestamp) - extract(epoch from '2026-08-06 16:32:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685825 -3.505988)', '2026-08-06 16:32:31', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685821 -3.505987)'), GeomFromEWKT('SRID=4674;POINT (-38.685825 -3.505988)'))) / (select extract(epoch from '2026-08-06 16:32:31'::timestamp) - extract(epoch from '2026-08-06 16:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685821 -3.505987)'), GeomFromEWKT('SRID=4674;POINT (-38.685825 -3.505988)'))) / (select extract(epoch from '2026-08-06 16:32:31'::timestamp) - extract(epoch from '2026-08-06 16:32:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685826 -3.505994)', '2026-08-06 16:32:31', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685825 -3.505988)'), GeomFromEWKT('SRID=4674;POINT (-38.685826 -3.505994)'))) / (select extract(epoch from '2026-08-06 16:32:31'::timestamp) - extract(epoch from '2026-08-06 16:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685825 -3.505988)'), GeomFromEWKT('SRID=4674;POINT (-38.685826 -3.505994)'))) / (select extract(epoch from '2026-08-06 16:32:31'::timestamp) - extract(epoch from '2026-08-06 16:32:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685832 -3.505998)', '2026-08-06 16:32:31', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685826 -3.505994)'), GeomFromEWKT('SRID=4674;POINT (-38.685832 -3.505998)'))) / (select extract(epoch from '2026-08-06 16:32:31'::timestamp) - extract(epoch from '2026-08-06 16:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685826 -3.505994)'), GeomFromEWKT('SRID=4674;POINT (-38.685832 -3.505998)'))) / (select extract(epoch from '2026-08-06 16:32:31'::timestamp) - extract(epoch from '2026-08-06 16:32:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685833 -3.506002)', '2026-08-06 16:32:31', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685832 -3.505998)'), GeomFromEWKT('SRID=4674;POINT (-38.685833 -3.506002)'))) / (select extract(epoch from '2026-08-06 16:32:31'::timestamp) - extract(epoch from '2026-08-06 16:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685832 -3.505998)'), GeomFromEWKT('SRID=4674;POINT (-38.685833 -3.506002)'))) / (select extract(epoch from '2026-08-06 16:32:31'::timestamp) - extract(epoch from '2026-08-06 16:32:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685831 -3.506001)', '2026-08-06 16:32:31', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685833 -3.506002)'), GeomFromEWKT('SRID=4674;POINT (-38.685831 -3.506001)'))) / (select extract(epoch from '2026-08-06 16:32:31'::timestamp) - extract(epoch from '2026-08-06 16:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685833 -3.506002)'), GeomFromEWKT('SRID=4674;POINT (-38.685831 -3.506001)'))) / (select extract(epoch from '2026-08-06 16:32:31'::timestamp) - extract(epoch from '2026-08-06 16:32:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685838 -3.505999)', '2026-08-06 16:32:31', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685831 -3.506001)'), GeomFromEWKT('SRID=4674;POINT (-38.685838 -3.505999)'))) / (select extract(epoch from '2026-08-06 16:32:31'::timestamp) - extract(epoch from '2026-08-06 16:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685831 -3.506001)'), GeomFromEWKT('SRID=4674;POINT (-38.685838 -3.505999)'))) / (select extract(epoch from '2026-08-06 16:32:31'::timestamp) - extract(epoch from '2026-08-06 16:32:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685842 -3.506002)', '2026-08-06 16:32:31', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685838 -3.505999)'), GeomFromEWKT('SRID=4674;POINT (-38.685842 -3.506002)'))) / (select extract(epoch from '2026-08-06 16:32:31'::timestamp) - extract(epoch from '2026-08-06 16:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685838 -3.505999)'), GeomFromEWKT('SRID=4674;POINT (-38.685842 -3.506002)'))) / (select extract(epoch from '2026-08-06 16:32:31'::timestamp) - extract(epoch from '2026-08-06 16:32:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685836 -3.506003)', '2026-08-06 16:32:31', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685842 -3.506002)'), GeomFromEWKT('SRID=4674;POINT (-38.685836 -3.506003)'))) / (select extract(epoch from '2026-08-06 16:32:31'::timestamp) - extract(epoch from '2026-08-06 16:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685842 -3.506002)'), GeomFromEWKT('SRID=4674;POINT (-38.685836 -3.506003)'))) / (select extract(epoch from '2026-08-06 16:32:31'::timestamp) - extract(epoch from '2026-08-06 16:32:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68584 -3.506009)', '2026-08-06 16:32:32', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685836 -3.506003)'), GeomFromEWKT('SRID=4674;POINT (-38.68584 -3.506009)'))) / (select extract(epoch from '2026-08-06 16:32:32'::timestamp) - extract(epoch from '2026-08-06 16:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685836 -3.506003)'), GeomFromEWKT('SRID=4674;POINT (-38.68584 -3.506009)'))) / (select extract(epoch from '2026-08-06 16:32:32'::timestamp) - extract(epoch from '2026-08-06 16:32:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68584 -3.506015)', '2026-08-06 16:32:32', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68584 -3.506009)'), GeomFromEWKT('SRID=4674;POINT (-38.68584 -3.506015)'))) / (select extract(epoch from '2026-08-06 16:32:32'::timestamp) - extract(epoch from '2026-08-06 16:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68584 -3.506009)'), GeomFromEWKT('SRID=4674;POINT (-38.68584 -3.506015)'))) / (select extract(epoch from '2026-08-06 16:32:32'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685842 -3.506019)', '2026-08-06 16:32:32', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68584 -3.506015)'), GeomFromEWKT('SRID=4674;POINT (-38.685842 -3.506019)'))) / (select extract(epoch from '2026-08-06 16:32:32'::timestamp) - extract(epoch from '2026-08-06 16:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68584 -3.506015)'), GeomFromEWKT('SRID=4674;POINT (-38.685842 -3.506019)'))) / (select extract(epoch from '2026-08-06 16:32:32'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685846 -3.506025)', '2026-08-06 16:32:32', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685842 -3.506019)'), GeomFromEWKT('SRID=4674;POINT (-38.685846 -3.506025)'))) / (select extract(epoch from '2026-08-06 16:32:32'::timestamp) - extract(epoch from '2026-08-06 16:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685842 -3.506019)'), GeomFromEWKT('SRID=4674;POINT (-38.685846 -3.506025)'))) / (select extract(epoch from '2026-08-06 16:32:32'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685844 -3.506024)', '2026-08-06 16:32:32', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685846 -3.506025)'), GeomFromEWKT('SRID=4674;POINT (-38.685844 -3.506024)'))) / (select extract(epoch from '2026-08-06 16:32:32'::timestamp) - extract(epoch from '2026-08-06 16:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685846 -3.506025)'), GeomFromEWKT('SRID=4674;POINT (-38.685844 -3.506024)'))) / (select extract(epoch from '2026-08-06 16:32:32'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685818 -3.506036)', '2026-08-06 16:32:32', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685844 -3.506024)'), GeomFromEWKT('SRID=4674;POINT (-38.685818 -3.506036)'))) / (select extract(epoch from '2026-08-06 16:32:32'::timestamp) - extract(epoch from '2026-08-06 16:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685844 -3.506024)'), GeomFromEWKT('SRID=4674;POINT (-38.685818 -3.506036)'))) / (select extract(epoch from '2026-08-06 16:32:32'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685792 -3.506038)', '2026-08-06 16:32:32', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685818 -3.506036)'), GeomFromEWKT('SRID=4674;POINT (-38.685792 -3.506038)'))) / (select extract(epoch from '2026-08-06 16:32:32'::timestamp) - extract(epoch from '2026-08-06 16:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685818 -3.506036)'), GeomFromEWKT('SRID=4674;POINT (-38.685792 -3.506038)'))) / (select extract(epoch from '2026-08-06 16:32:32'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685756 -3.506039)', '2026-08-06 16:32:32', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685792 -3.506038)'), GeomFromEWKT('SRID=4674;POINT (-38.685756 -3.506039)'))) / (select extract(epoch from '2026-08-06 16:32:32'::timestamp) - extract(epoch from '2026-08-06 16:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685792 -3.506038)'), GeomFromEWKT('SRID=4674;POINT (-38.685756 -3.506039)'))) / (select extract(epoch from '2026-08-06 16:32:32'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685715 -3.506049)', '2026-08-06 16:32:33', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685756 -3.506039)'), GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506049)'))) / (select extract(epoch from '2026-08-06 16:32:33'::timestamp) - extract(epoch from '2026-08-06 16:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685756 -3.506039)'), GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506049)'))) / (select extract(epoch from '2026-08-06 16:32:33'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685694 -3.506048)', '2026-08-06 16:32:33', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506049)'), GeomFromEWKT('SRID=4674;POINT (-38.685694 -3.506048)'))) / (select extract(epoch from '2026-08-06 16:32:33'::timestamp) - extract(epoch from '2026-08-06 16:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506049)'), GeomFromEWKT('SRID=4674;POINT (-38.685694 -3.506048)'))) / (select extract(epoch from '2026-08-06 16:32:33'::timestamp) - extract(epoch from '2026-08-06 16:32:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685703 -3.506044)', '2026-08-06 16:32:33', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685694 -3.506048)'), GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506044)'))) / (select extract(epoch from '2026-08-06 16:32:33'::timestamp) - extract(epoch from '2026-08-06 16:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685694 -3.506048)'), GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506044)'))) / (select extract(epoch from '2026-08-06 16:32:33'::timestamp) - extract(epoch from '2026-08-06 16:32:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685691 -3.506045)', '2026-08-06 16:32:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506044)'), GeomFromEWKT('SRID=4674;POINT (-38.685691 -3.506045)'))) / (select extract(epoch from '2026-08-06 16:32:33'::timestamp) - extract(epoch from '2026-08-06 16:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506044)'), GeomFromEWKT('SRID=4674;POINT (-38.685691 -3.506045)'))) / (select extract(epoch from '2026-08-06 16:32:33'::timestamp) - extract(epoch from '2026-08-06 16:32:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685689 -3.506042)', '2026-08-06 16:32:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685691 -3.506045)'), GeomFromEWKT('SRID=4674;POINT (-38.685689 -3.506042)'))) / (select extract(epoch from '2026-08-06 16:32:33'::timestamp) - extract(epoch from '2026-08-06 16:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685691 -3.506045)'), GeomFromEWKT('SRID=4674;POINT (-38.685689 -3.506042)'))) / (select extract(epoch from '2026-08-06 16:32:33'::timestamp) - extract(epoch from '2026-08-06 16:32:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685691 -3.506047)', '2026-08-06 16:32:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685689 -3.506042)'), GeomFromEWKT('SRID=4674;POINT (-38.685691 -3.506047)'))) / (select extract(epoch from '2026-08-06 16:32:33'::timestamp) - extract(epoch from '2026-08-06 16:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685689 -3.506042)'), GeomFromEWKT('SRID=4674;POINT (-38.685691 -3.506047)'))) / (select extract(epoch from '2026-08-06 16:32:33'::timestamp) - extract(epoch from '2026-08-06 16:32:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685699 -3.506048)', '2026-08-06 16:32:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685691 -3.506047)'), GeomFromEWKT('SRID=4674;POINT (-38.685699 -3.506048)'))) / (select extract(epoch from '2026-08-06 16:32:33'::timestamp) - extract(epoch from '2026-08-06 16:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685691 -3.506047)'), GeomFromEWKT('SRID=4674;POINT (-38.685699 -3.506048)'))) / (select extract(epoch from '2026-08-06 16:32:33'::timestamp) - extract(epoch from '2026-08-06 16:32:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685699 -3.506057)', '2026-08-06 16:32:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685699 -3.506048)'), GeomFromEWKT('SRID=4674;POINT (-38.685699 -3.506057)'))) / (select extract(epoch from '2026-08-06 16:32:33'::timestamp) - extract(epoch from '2026-08-06 16:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685699 -3.506048)'), GeomFromEWKT('SRID=4674;POINT (-38.685699 -3.506057)'))) / (select extract(epoch from '2026-08-06 16:32:33'::timestamp) - extract(epoch from '2026-08-06 16:32:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685698 -3.50606)', '2026-08-06 16:32:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685699 -3.506057)'), GeomFromEWKT('SRID=4674;POINT (-38.685698 -3.50606)'))) / (select extract(epoch from '2026-08-06 16:32:33'::timestamp) - extract(epoch from '2026-08-06 16:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685699 -3.506057)'), GeomFromEWKT('SRID=4674;POINT (-38.685698 -3.50606)'))) / (select extract(epoch from '2026-08-06 16:32:33'::timestamp) - extract(epoch from '2026-08-06 16:32:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685698 -3.50606)', '2026-08-06 16:32:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685698 -3.50606)'), GeomFromEWKT('SRID=4674;POINT (-38.685698 -3.50606)'))) / (select extract(epoch from '2026-08-06 16:32:33'::timestamp) - extract(epoch from '2026-08-06 16:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685698 -3.50606)'), GeomFromEWKT('SRID=4674;POINT (-38.685698 -3.50606)'))) / (select extract(epoch from '2026-08-06 16:32:33'::timestamp) - extract(epoch from '2026-08-06 16:32:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685697 -3.506057)', '2026-08-06 16:32:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685698 -3.50606)'), GeomFromEWKT('SRID=4674;POINT (-38.685697 -3.506057)'))) / (select extract(epoch from '2026-08-06 16:32:33'::timestamp) - extract(epoch from '2026-08-06 16:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685698 -3.50606)'), GeomFromEWKT('SRID=4674;POINT (-38.685697 -3.506057)'))) / (select extract(epoch from '2026-08-06 16:32:33'::timestamp) - extract(epoch from '2026-08-06 16:32:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685698 -3.506061)', '2026-08-06 16:32:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685697 -3.506057)'), GeomFromEWKT('SRID=4674;POINT (-38.685698 -3.506061)'))) / (select extract(epoch from '2026-08-06 16:32:33'::timestamp) - extract(epoch from '2026-08-06 16:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685697 -3.506057)'), GeomFromEWKT('SRID=4674;POINT (-38.685698 -3.506061)'))) / (select extract(epoch from '2026-08-06 16:32:33'::timestamp) - extract(epoch from '2026-08-06 16:32:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685699 -3.506063)', '2026-08-06 16:32:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685698 -3.506061)'), GeomFromEWKT('SRID=4674;POINT (-38.685699 -3.506063)'))) / (select extract(epoch from '2026-08-06 16:32:33'::timestamp) - extract(epoch from '2026-08-06 16:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685698 -3.506061)'), GeomFromEWKT('SRID=4674;POINT (-38.685699 -3.506063)'))) / (select extract(epoch from '2026-08-06 16:32:33'::timestamp) - extract(epoch from '2026-08-06 16:32:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685706 -3.506066)', '2026-08-06 16:32:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685699 -3.506063)'), GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506066)'))) / (select extract(epoch from '2026-08-06 16:32:34'::timestamp) - extract(epoch from '2026-08-06 16:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685699 -3.506063)'), GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506066)'))) / (select extract(epoch from '2026-08-06 16:32:34'::timestamp) - extract(epoch from '2026-08-06 16:32:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685703 -3.506062)', '2026-08-06 16:32:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506066)'), GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506062)'))) / (select extract(epoch from '2026-08-06 16:32:34'::timestamp) - extract(epoch from '2026-08-06 16:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506066)'), GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506062)'))) / (select extract(epoch from '2026-08-06 16:32:34'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685703 -3.506062)', '2026-08-06 16:32:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506062)'), GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506062)'))) / (select extract(epoch from '2026-08-06 16:32:34'::timestamp) - extract(epoch from '2026-08-06 16:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506062)'), GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506062)'))) / (select extract(epoch from '2026-08-06 16:32:34'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685703 -3.506061)', '2026-08-06 16:32:34', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506062)'), GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506061)'))) / (select extract(epoch from '2026-08-06 16:32:34'::timestamp) - extract(epoch from '2026-08-06 16:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506062)'), GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506061)'))) / (select extract(epoch from '2026-08-06 16:32:34'::timestamp) - extract(epoch from '2026-08-06 16:32: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.6857 -3.506056)', '2026-08-06 16:32:34', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506061)'), GeomFromEWKT('SRID=4674;POINT (-38.6857 -3.506056)'))) / (select extract(epoch from '2026-08-06 16:32:34'::timestamp) - extract(epoch from '2026-08-06 16:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506061)'), GeomFromEWKT('SRID=4674;POINT (-38.6857 -3.506056)'))) / (select extract(epoch from '2026-08-06 16:32:34'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685705 -3.506053)', '2026-08-06 16:32:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6857 -3.506056)'), GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506053)'))) / (select extract(epoch from '2026-08-06 16:32:34'::timestamp) - extract(epoch from '2026-08-06 16:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6857 -3.506056)'), GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506053)'))) / (select extract(epoch from '2026-08-06 16:32:34'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685701 -3.506055)', '2026-08-06 16:32:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506053)'), GeomFromEWKT('SRID=4674;POINT (-38.685701 -3.506055)'))) / (select extract(epoch from '2026-08-06 16:32:34'::timestamp) - extract(epoch from '2026-08-06 16:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506053)'), GeomFromEWKT('SRID=4674;POINT (-38.685701 -3.506055)'))) / (select extract(epoch from '2026-08-06 16:32:34'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685705 -3.506053)', '2026-08-06 16:32:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685701 -3.506055)'), GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506053)'))) / (select extract(epoch from '2026-08-06 16:32:34'::timestamp) - extract(epoch from '2026-08-06 16:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685701 -3.506055)'), GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506053)'))) / (select extract(epoch from '2026-08-06 16:32:34'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685702 -3.506052)', '2026-08-06 16:32:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506053)'), GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.506052)'))) / (select extract(epoch from '2026-08-06 16:32:34'::timestamp) - extract(epoch from '2026-08-06 16:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506053)'), GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.506052)'))) / (select extract(epoch from '2026-08-06 16:32:34'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685699 -3.506051)', '2026-08-06 16:32:34', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.506052)'), GeomFromEWKT('SRID=4674;POINT (-38.685699 -3.506051)'))) / (select extract(epoch from '2026-08-06 16:32:34'::timestamp) - extract(epoch from '2026-08-06 16:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.506052)'), GeomFromEWKT('SRID=4674;POINT (-38.685699 -3.506051)'))) / (select extract(epoch from '2026-08-06 16:32:34'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685699 -3.506049)', '2026-08-06 16:32:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685699 -3.506051)'), GeomFromEWKT('SRID=4674;POINT (-38.685699 -3.506049)'))) / (select extract(epoch from '2026-08-06 16:32:34'::timestamp) - extract(epoch from '2026-08-06 16:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685699 -3.506051)'), GeomFromEWKT('SRID=4674;POINT (-38.685699 -3.506049)'))) / (select extract(epoch from '2026-08-06 16:32:34'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685697 -3.506053)', '2026-08-06 16:32:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685699 -3.506049)'), GeomFromEWKT('SRID=4674;POINT (-38.685697 -3.506053)'))) / (select extract(epoch from '2026-08-06 16:32:34'::timestamp) - extract(epoch from '2026-08-06 16:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685699 -3.506049)'), GeomFromEWKT('SRID=4674;POINT (-38.685697 -3.506053)'))) / (select extract(epoch from '2026-08-06 16:32:34'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685691 -3.506051)', '2026-08-06 16:32:34', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685697 -3.506053)'), GeomFromEWKT('SRID=4674;POINT (-38.685691 -3.506051)'))) / (select extract(epoch from '2026-08-06 16:32:34'::timestamp) - extract(epoch from '2026-08-06 16:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685697 -3.506053)'), GeomFromEWKT('SRID=4674;POINT (-38.685691 -3.506051)'))) / (select extract(epoch from '2026-08-06 16:32:34'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685699 -3.506052)', '2026-08-06 16:32:34', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685691 -3.506051)'), GeomFromEWKT('SRID=4674;POINT (-38.685699 -3.506052)'))) / (select extract(epoch from '2026-08-06 16:32:34'::timestamp) - extract(epoch from '2026-08-06 16:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685691 -3.506051)'), GeomFromEWKT('SRID=4674;POINT (-38.685699 -3.506052)'))) / (select extract(epoch from '2026-08-06 16:32:34'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685701 -3.506051)', '2026-08-06 16:32:34', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685699 -3.506052)'), GeomFromEWKT('SRID=4674;POINT (-38.685701 -3.506051)'))) / (select extract(epoch from '2026-08-06 16:32:34'::timestamp) - extract(epoch from '2026-08-06 16:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685699 -3.506052)'), GeomFromEWKT('SRID=4674;POINT (-38.685701 -3.506051)'))) / (select extract(epoch from '2026-08-06 16:32:34'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685703 -3.50605)', '2026-08-06 16:32:34', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685701 -3.506051)'), GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.50605)'))) / (select extract(epoch from '2026-08-06 16:32:34'::timestamp) - extract(epoch from '2026-08-06 16:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685701 -3.506051)'), GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.50605)'))) / (select extract(epoch from '2026-08-06 16:32:34'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685701 -3.506042)', '2026-08-06 16:32:35', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.50605)'), GeomFromEWKT('SRID=4674;POINT (-38.685701 -3.506042)'))) / (select extract(epoch from '2026-08-06 16:32:35'::timestamp) - extract(epoch from '2026-08-06 16:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.50605)'), GeomFromEWKT('SRID=4674;POINT (-38.685701 -3.506042)'))) / (select extract(epoch from '2026-08-06 16:32:35'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685702 -3.50604)', '2026-08-06 16:32:35', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685701 -3.506042)'), GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.50604)'))) / (select extract(epoch from '2026-08-06 16:32:35'::timestamp) - extract(epoch from '2026-08-06 16:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685701 -3.506042)'), GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.50604)'))) / (select extract(epoch from '2026-08-06 16:32:35'::timestamp) - extract(epoch from '2026-08-06 16:32:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685699 -3.506041)', '2026-08-06 16:32:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.50604)'), GeomFromEWKT('SRID=4674;POINT (-38.685699 -3.506041)'))) / (select extract(epoch from '2026-08-06 16:32:35'::timestamp) - extract(epoch from '2026-08-06 16:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.50604)'), GeomFromEWKT('SRID=4674;POINT (-38.685699 -3.506041)'))) / (select extract(epoch from '2026-08-06 16:32:35'::timestamp) - extract(epoch from '2026-08-06 16:32:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685698 -3.506037)', '2026-08-06 16:32:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685699 -3.506041)'), GeomFromEWKT('SRID=4674;POINT (-38.685698 -3.506037)'))) / (select extract(epoch from '2026-08-06 16:32:35'::timestamp) - extract(epoch from '2026-08-06 16:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685699 -3.506041)'), GeomFromEWKT('SRID=4674;POINT (-38.685698 -3.506037)'))) / (select extract(epoch from '2026-08-06 16:32:35'::timestamp) - extract(epoch from '2026-08-06 16:32:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685697 -3.506044)', '2026-08-06 16:32:35', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685698 -3.506037)'), GeomFromEWKT('SRID=4674;POINT (-38.685697 -3.506044)'))) / (select extract(epoch from '2026-08-06 16:32:35'::timestamp) - extract(epoch from '2026-08-06 16:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685698 -3.506037)'), GeomFromEWKT('SRID=4674;POINT (-38.685697 -3.506044)'))) / (select extract(epoch from '2026-08-06 16:32:35'::timestamp) - extract(epoch from '2026-08-06 16:32:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685698 -3.506055)', '2026-08-06 16:32:35', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685697 -3.506044)'), GeomFromEWKT('SRID=4674;POINT (-38.685698 -3.506055)'))) / (select extract(epoch from '2026-08-06 16:32:35'::timestamp) - extract(epoch from '2026-08-06 16:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685697 -3.506044)'), GeomFromEWKT('SRID=4674;POINT (-38.685698 -3.506055)'))) / (select extract(epoch from '2026-08-06 16:32:35'::timestamp) - extract(epoch from '2026-08-06 16:32:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685704 -3.506055)', '2026-08-06 16:32:35', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685698 -3.506055)'), GeomFromEWKT('SRID=4674;POINT (-38.685704 -3.506055)'))) / (select extract(epoch from '2026-08-06 16:32:35'::timestamp) - extract(epoch from '2026-08-06 16:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685698 -3.506055)'), GeomFromEWKT('SRID=4674;POINT (-38.685704 -3.506055)'))) / (select extract(epoch from '2026-08-06 16:32:35'::timestamp) - extract(epoch from '2026-08-06 16:32:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685702 -3.506054)', '2026-08-06 16:32:35', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685704 -3.506055)'), GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.506054)'))) / (select extract(epoch from '2026-08-06 16:32:35'::timestamp) - extract(epoch from '2026-08-06 16:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685704 -3.506055)'), GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.506054)'))) / (select extract(epoch from '2026-08-06 16:32:35'::timestamp) - extract(epoch from '2026-08-06 16:32:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685697 -3.506051)', '2026-08-06 16:32:35', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.506054)'), GeomFromEWKT('SRID=4674;POINT (-38.685697 -3.506051)'))) / (select extract(epoch from '2026-08-06 16:32:35'::timestamp) - extract(epoch from '2026-08-06 16:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.506054)'), GeomFromEWKT('SRID=4674;POINT (-38.685697 -3.506051)'))) / (select extract(epoch from '2026-08-06 16:32:35'::timestamp) - extract(epoch from '2026-08-06 16:32:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685697 -3.506047)', '2026-08-06 16:32:35', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685697 -3.506051)'), GeomFromEWKT('SRID=4674;POINT (-38.685697 -3.506047)'))) / (select extract(epoch from '2026-08-06 16:32:35'::timestamp) - extract(epoch from '2026-08-06 16:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685697 -3.506051)'), GeomFromEWKT('SRID=4674;POINT (-38.685697 -3.506047)'))) / (select extract(epoch from '2026-08-06 16:32:35'::timestamp) - extract(epoch from '2026-08-06 16:32:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685695 -3.506043)', '2026-08-06 16:32:35', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685697 -3.506047)'), GeomFromEWKT('SRID=4674;POINT (-38.685695 -3.506043)'))) / (select extract(epoch from '2026-08-06 16:32:35'::timestamp) - extract(epoch from '2026-08-06 16:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685697 -3.506047)'), GeomFromEWKT('SRID=4674;POINT (-38.685695 -3.506043)'))) / (select extract(epoch from '2026-08-06 16:32:35'::timestamp) - extract(epoch from '2026-08-06 16:32:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.6857 -3.50604)', '2026-08-06 16:32:35', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685695 -3.506043)'), GeomFromEWKT('SRID=4674;POINT (-38.6857 -3.50604)'))) / (select extract(epoch from '2026-08-06 16:32:35'::timestamp) - extract(epoch from '2026-08-06 16:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685695 -3.506043)'), GeomFromEWKT('SRID=4674;POINT (-38.6857 -3.50604)'))) / (select extract(epoch from '2026-08-06 16:32:35'::timestamp) - extract(epoch from '2026-08-06 16:32:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685699 -3.506041)', '2026-08-06 16:32:35', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6857 -3.50604)'), GeomFromEWKT('SRID=4674;POINT (-38.685699 -3.506041)'))) / (select extract(epoch from '2026-08-06 16:32:35'::timestamp) - extract(epoch from '2026-08-06 16:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6857 -3.50604)'), GeomFromEWKT('SRID=4674;POINT (-38.685699 -3.506041)'))) / (select extract(epoch from '2026-08-06 16:32:35'::timestamp) - extract(epoch from '2026-08-06 16:32:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685702 -3.50605)', '2026-08-06 16:32:35', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685699 -3.506041)'), GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.50605)'))) / (select extract(epoch from '2026-08-06 16:32:35'::timestamp) - extract(epoch from '2026-08-06 16:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685699 -3.506041)'), GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.50605)'))) / (select extract(epoch from '2026-08-06 16:32:35'::timestamp) - extract(epoch from '2026-08-06 16:32:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685703 -3.506051)', '2026-08-06 16:32:35', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.50605)'), GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506051)'))) / (select extract(epoch from '2026-08-06 16:32:35'::timestamp) - extract(epoch from '2026-08-06 16:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.50605)'), GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506051)'))) / (select extract(epoch from '2026-08-06 16:32:35'::timestamp) - extract(epoch from '2026-08-06 16:32:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685705 -3.506055)', '2026-08-06 16:32:35', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506051)'), GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506055)'))) / (select extract(epoch from '2026-08-06 16:32:35'::timestamp) - extract(epoch from '2026-08-06 16:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506051)'), GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506055)'))) / (select extract(epoch from '2026-08-06 16:32:35'::timestamp) - extract(epoch from '2026-08-06 16:32:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685705 -3.506049)', '2026-08-06 16:32:36', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506055)'), GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506049)'))) / (select extract(epoch from '2026-08-06 16:32:36'::timestamp) - extract(epoch from '2026-08-06 16:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506055)'), GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506049)'))) / (select extract(epoch from '2026-08-06 16:32:36'::timestamp) - extract(epoch from '2026-08-06 16:32:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685707 -3.506054)', '2026-08-06 16:32:36', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506049)'), GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506054)'))) / (select extract(epoch from '2026-08-06 16:32:36'::timestamp) - extract(epoch from '2026-08-06 16:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506049)'), GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506054)'))) / (select extract(epoch from '2026-08-06 16:32:36'::timestamp) - extract(epoch from '2026-08-06 16:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685709 -3.506056)', '2026-08-06 16:32:36', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506054)'), GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506056)'))) / (select extract(epoch from '2026-08-06 16:32:36'::timestamp) - extract(epoch from '2026-08-06 16:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506054)'), GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506056)'))) / (select extract(epoch from '2026-08-06 16:32:36'::timestamp) - extract(epoch from '2026-08-06 16:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685706 -3.506055)', '2026-08-06 16:32:36', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506056)'), GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506055)'))) / (select extract(epoch from '2026-08-06 16:32:36'::timestamp) - extract(epoch from '2026-08-06 16:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506056)'), GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506055)'))) / (select extract(epoch from '2026-08-06 16:32:36'::timestamp) - extract(epoch from '2026-08-06 16:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685706 -3.506056)', '2026-08-06 16:32:36', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506055)'), GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506056)'))) / (select extract(epoch from '2026-08-06 16:32:36'::timestamp) - extract(epoch from '2026-08-06 16:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506055)'), GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506056)'))) / (select extract(epoch from '2026-08-06 16:32:36'::timestamp) - extract(epoch from '2026-08-06 16:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685705 -3.506058)', '2026-08-06 16:32:36', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506056)'), GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506058)'))) / (select extract(epoch from '2026-08-06 16:32:36'::timestamp) - extract(epoch from '2026-08-06 16:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506056)'), GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506058)'))) / (select extract(epoch from '2026-08-06 16:32:36'::timestamp) - extract(epoch from '2026-08-06 16:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685709 -3.506062)', '2026-08-06 16:32:36', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506058)'), GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506062)'))) / (select extract(epoch from '2026-08-06 16:32:36'::timestamp) - extract(epoch from '2026-08-06 16:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506058)'), GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506062)'))) / (select extract(epoch from '2026-08-06 16:32:36'::timestamp) - extract(epoch from '2026-08-06 16:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685711 -3.506063)', '2026-08-06 16:32:36', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506062)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506063)'))) / (select extract(epoch from '2026-08-06 16:32:36'::timestamp) - extract(epoch from '2026-08-06 16:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506062)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506063)'))) / (select extract(epoch from '2026-08-06 16:32:36'::timestamp) - extract(epoch from '2026-08-06 16:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685712 -3.506059)', '2026-08-06 16:32:36', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506063)'), GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506059)'))) / (select extract(epoch from '2026-08-06 16:32:36'::timestamp) - extract(epoch from '2026-08-06 16:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506063)'), GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506059)'))) / (select extract(epoch from '2026-08-06 16:32:36'::timestamp) - extract(epoch from '2026-08-06 16:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685711 -3.506058)', '2026-08-06 16:32:36', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506059)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506058)'))) / (select extract(epoch from '2026-08-06 16:32:36'::timestamp) - extract(epoch from '2026-08-06 16:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506059)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506058)'))) / (select extract(epoch from '2026-08-06 16:32:36'::timestamp) - extract(epoch from '2026-08-06 16:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685711 -3.50606)', '2026-08-06 16:32:36', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506058)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.50606)'))) / (select extract(epoch from '2026-08-06 16:32:36'::timestamp) - extract(epoch from '2026-08-06 16:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506058)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.50606)'))) / (select extract(epoch from '2026-08-06 16:32:36'::timestamp) - extract(epoch from '2026-08-06 16:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685711 -3.506061)', '2026-08-06 16:32:36', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.50606)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506061)'))) / (select extract(epoch from '2026-08-06 16:32:36'::timestamp) - extract(epoch from '2026-08-06 16:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.50606)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506061)'))) / (select extract(epoch from '2026-08-06 16:32:36'::timestamp) - extract(epoch from '2026-08-06 16:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68571 -3.506064)', '2026-08-06 16:32:36', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506061)'), GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506064)'))) / (select extract(epoch from '2026-08-06 16:32:36'::timestamp) - extract(epoch from '2026-08-06 16:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506061)'), GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506064)'))) / (select extract(epoch from '2026-08-06 16:32:36'::timestamp) - extract(epoch from '2026-08-06 16:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685714 -3.506065)', '2026-08-06 16:32:36', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506064)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506065)'))) / (select extract(epoch from '2026-08-06 16:32:36'::timestamp) - extract(epoch from '2026-08-06 16:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506064)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506065)'))) / (select extract(epoch from '2026-08-06 16:32:36'::timestamp) - extract(epoch from '2026-08-06 16:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685719 -3.506061)', '2026-08-06 16:32:36', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506065)'), GeomFromEWKT('SRID=4674;POINT (-38.685719 -3.506061)'))) / (select extract(epoch from '2026-08-06 16:32:36'::timestamp) - extract(epoch from '2026-08-06 16:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506065)'), GeomFromEWKT('SRID=4674;POINT (-38.685719 -3.506061)'))) / (select extract(epoch from '2026-08-06 16:32:36'::timestamp) - extract(epoch from '2026-08-06 16:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685719 -3.506057)', '2026-08-06 16:32:36', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685719 -3.506061)'), GeomFromEWKT('SRID=4674;POINT (-38.685719 -3.506057)'))) / (select extract(epoch from '2026-08-06 16:32:36'::timestamp) - extract(epoch from '2026-08-06 16:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685719 -3.506061)'), GeomFromEWKT('SRID=4674;POINT (-38.685719 -3.506057)'))) / (select extract(epoch from '2026-08-06 16:32:36'::timestamp) - extract(epoch from '2026-08-06 16:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685718 -3.506059)', '2026-08-06 16:32:36', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685719 -3.506057)'), GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506059)'))) / (select extract(epoch from '2026-08-06 16:32:36'::timestamp) - extract(epoch from '2026-08-06 16:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685719 -3.506057)'), GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506059)'))) / (select extract(epoch from '2026-08-06 16:32:36'::timestamp) - extract(epoch from '2026-08-06 16:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685725 -3.506062)', '2026-08-06 16:32:37', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506059)'), GeomFromEWKT('SRID=4674;POINT (-38.685725 -3.506062)'))) / (select extract(epoch from '2026-08-06 16:32:37'::timestamp) - extract(epoch from '2026-08-06 16:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506059)'), GeomFromEWKT('SRID=4674;POINT (-38.685725 -3.506062)'))) / (select extract(epoch from '2026-08-06 16:32:37'::timestamp) - extract(epoch from '2026-08-06 16:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685722 -3.506067)', '2026-08-06 16:32:37', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685725 -3.506062)'), GeomFromEWKT('SRID=4674;POINT (-38.685722 -3.506067)'))) / (select extract(epoch from '2026-08-06 16:32:37'::timestamp) - extract(epoch from '2026-08-06 16:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685725 -3.506062)'), GeomFromEWKT('SRID=4674;POINT (-38.685722 -3.506067)'))) / (select extract(epoch from '2026-08-06 16:32:37'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685723 -3.506069)', '2026-08-06 16:32:37', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685722 -3.506067)'), GeomFromEWKT('SRID=4674;POINT (-38.685723 -3.506069)'))) / (select extract(epoch from '2026-08-06 16:32:37'::timestamp) - extract(epoch from '2026-08-06 16:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685722 -3.506067)'), GeomFromEWKT('SRID=4674;POINT (-38.685723 -3.506069)'))) / (select extract(epoch from '2026-08-06 16:32:37'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685724 -3.50607)', '2026-08-06 16:32:37', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685723 -3.506069)'), GeomFromEWKT('SRID=4674;POINT (-38.685724 -3.50607)'))) / (select extract(epoch from '2026-08-06 16:32:37'::timestamp) - extract(epoch from '2026-08-06 16:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685723 -3.506069)'), GeomFromEWKT('SRID=4674;POINT (-38.685724 -3.50607)'))) / (select extract(epoch from '2026-08-06 16:32:37'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685721 -3.506075)', '2026-08-06 16:32:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685724 -3.50607)'), GeomFromEWKT('SRID=4674;POINT (-38.685721 -3.506075)'))) / (select extract(epoch from '2026-08-06 16:32:37'::timestamp) - extract(epoch from '2026-08-06 16:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685724 -3.50607)'), GeomFromEWKT('SRID=4674;POINT (-38.685721 -3.506075)'))) / (select extract(epoch from '2026-08-06 16:32:37'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685721 -3.506074)', '2026-08-06 16:32:37', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685721 -3.506075)'), GeomFromEWKT('SRID=4674;POINT (-38.685721 -3.506074)'))) / (select extract(epoch from '2026-08-06 16:32:37'::timestamp) - extract(epoch from '2026-08-06 16:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685721 -3.506075)'), GeomFromEWKT('SRID=4674;POINT (-38.685721 -3.506074)'))) / (select extract(epoch from '2026-08-06 16:32:37'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685721 -3.506076)', '2026-08-06 16:32:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685721 -3.506074)'), GeomFromEWKT('SRID=4674;POINT (-38.685721 -3.506076)'))) / (select extract(epoch from '2026-08-06 16:32:37'::timestamp) - extract(epoch from '2026-08-06 16:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685721 -3.506074)'), GeomFromEWKT('SRID=4674;POINT (-38.685721 -3.506076)'))) / (select extract(epoch from '2026-08-06 16:32:37'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685718 -3.506075)', '2026-08-06 16:32:37', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685721 -3.506076)'), GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506075)'))) / (select extract(epoch from '2026-08-06 16:32:37'::timestamp) - extract(epoch from '2026-08-06 16:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685721 -3.506076)'), GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506075)'))) / (select extract(epoch from '2026-08-06 16:32:37'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685714 -3.506076)', '2026-08-06 16:32:37', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506075)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506076)'))) / (select extract(epoch from '2026-08-06 16:32:37'::timestamp) - extract(epoch from '2026-08-06 16:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506075)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506076)'))) / (select extract(epoch from '2026-08-06 16:32:37'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685711 -3.506073)', '2026-08-06 16:32:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506076)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506073)'))) / (select extract(epoch from '2026-08-06 16:32:37'::timestamp) - extract(epoch from '2026-08-06 16:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506076)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506073)'))) / (select extract(epoch from '2026-08-06 16:32:37'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685714 -3.506075)', '2026-08-06 16:32:37', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506073)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506075)'))) / (select extract(epoch from '2026-08-06 16:32:37'::timestamp) - extract(epoch from '2026-08-06 16:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506073)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506075)'))) / (select extract(epoch from '2026-08-06 16:32:37'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685713 -3.506068)', '2026-08-06 16:32:37', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506075)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506068)'))) / (select extract(epoch from '2026-08-06 16:32:37'::timestamp) - extract(epoch from '2026-08-06 16:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506075)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506068)'))) / (select extract(epoch from '2026-08-06 16:32:37'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685717 -3.506069)', '2026-08-06 16:32:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506068)'), GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506069)'))) / (select extract(epoch from '2026-08-06 16:32:37'::timestamp) - extract(epoch from '2026-08-06 16:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506068)'), GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506069)'))) / (select extract(epoch from '2026-08-06 16:32:37'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685719 -3.506066)', '2026-08-06 16:32:37', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506069)'), GeomFromEWKT('SRID=4674;POINT (-38.685719 -3.506066)'))) / (select extract(epoch from '2026-08-06 16:32:37'::timestamp) - extract(epoch from '2026-08-06 16:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506069)'), GeomFromEWKT('SRID=4674;POINT (-38.685719 -3.506066)'))) / (select extract(epoch from '2026-08-06 16:32:37'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685719 -3.506065)', '2026-08-06 16:32:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685719 -3.506066)'), GeomFromEWKT('SRID=4674;POINT (-38.685719 -3.506065)'))) / (select extract(epoch from '2026-08-06 16:32:37'::timestamp) - extract(epoch from '2026-08-06 16:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685719 -3.506066)'), GeomFromEWKT('SRID=4674;POINT (-38.685719 -3.506065)'))) / (select extract(epoch from '2026-08-06 16:32:37'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685719 -3.506066)', '2026-08-06 16:32:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685719 -3.506065)'), GeomFromEWKT('SRID=4674;POINT (-38.685719 -3.506066)'))) / (select extract(epoch from '2026-08-06 16:32:37'::timestamp) - extract(epoch from '2026-08-06 16:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685719 -3.506065)'), GeomFromEWKT('SRID=4674;POINT (-38.685719 -3.506066)'))) / (select extract(epoch from '2026-08-06 16:32:37'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685715 -3.506062)', '2026-08-06 16:32:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685719 -3.506066)'), GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506062)'))) / (select extract(epoch from '2026-08-06 16:32:37'::timestamp) - extract(epoch from '2026-08-06 16:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685719 -3.506066)'), GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506062)'))) / (select extract(epoch from '2026-08-06 16:32:37'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685716 -3.506062)', '2026-08-06 16:32:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506062)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506062)'))) / (select extract(epoch from '2026-08-06 16:32:38'::timestamp) - extract(epoch from '2026-08-06 16:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506062)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506062)'))) / (select extract(epoch from '2026-08-06 16:32:38'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685712 -3.50606)', '2026-08-06 16:32:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506062)'), GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.50606)'))) / (select extract(epoch from '2026-08-06 16:32:38'::timestamp) - extract(epoch from '2026-08-06 16:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506062)'), GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.50606)'))) / (select extract(epoch from '2026-08-06 16:32:38'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685717 -3.506059)', '2026-08-06 16:32:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.50606)'), GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506059)'))) / (select extract(epoch from '2026-08-06 16:32:38'::timestamp) - extract(epoch from '2026-08-06 16:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.50606)'), GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506059)'))) / (select extract(epoch from '2026-08-06 16:32:38'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685708 -3.506058)', '2026-08-06 16:32:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506059)'), GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.506058)'))) / (select extract(epoch from '2026-08-06 16:32:38'::timestamp) - extract(epoch from '2026-08-06 16:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506059)'), GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.506058)'))) / (select extract(epoch from '2026-08-06 16:32:38'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685708 -3.50605)', '2026-08-06 16:32:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.506058)'), GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.50605)'))) / (select extract(epoch from '2026-08-06 16:32:38'::timestamp) - extract(epoch from '2026-08-06 16:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.506058)'), GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.50605)'))) / (select extract(epoch from '2026-08-06 16:32:38'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685707 -3.506046)', '2026-08-06 16:32:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.50605)'), GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506046)'))) / (select extract(epoch from '2026-08-06 16:32:38'::timestamp) - extract(epoch from '2026-08-06 16:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.50605)'), GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506046)'))) / (select extract(epoch from '2026-08-06 16:32:38'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685705 -3.50605)', '2026-08-06 16:32:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506046)'), GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.50605)'))) / (select extract(epoch from '2026-08-06 16:32:38'::timestamp) - extract(epoch from '2026-08-06 16:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506046)'), GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.50605)'))) / (select extract(epoch from '2026-08-06 16:32:38'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685705 -3.506051)', '2026-08-06 16:32:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.50605)'), GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506051)'))) / (select extract(epoch from '2026-08-06 16:32:38'::timestamp) - extract(epoch from '2026-08-06 16:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.50605)'), GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506051)'))) / (select extract(epoch from '2026-08-06 16:32:38'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685705 -3.506053)', '2026-08-06 16:32:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506051)'), GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506053)'))) / (select extract(epoch from '2026-08-06 16:32:38'::timestamp) - extract(epoch from '2026-08-06 16:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506051)'), GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506053)'))) / (select extract(epoch from '2026-08-06 16:32:38'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685701 -3.506054)', '2026-08-06 16:32:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506053)'), GeomFromEWKT('SRID=4674;POINT (-38.685701 -3.506054)'))) / (select extract(epoch from '2026-08-06 16:32:38'::timestamp) - extract(epoch from '2026-08-06 16:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506053)'), GeomFromEWKT('SRID=4674;POINT (-38.685701 -3.506054)'))) / (select extract(epoch from '2026-08-06 16:32:38'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685709 -3.506059)', '2026-08-06 16:32:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685701 -3.506054)'), GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506059)'))) / (select extract(epoch from '2026-08-06 16:32:38'::timestamp) - extract(epoch from '2026-08-06 16:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685701 -3.506054)'), GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506059)'))) / (select extract(epoch from '2026-08-06 16:32:38'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685706 -3.506057)', '2026-08-06 16:32:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506059)'), GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506057)'))) / (select extract(epoch from '2026-08-06 16:32:38'::timestamp) - extract(epoch from '2026-08-06 16:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506059)'), GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506057)'))) / (select extract(epoch from '2026-08-06 16:32:38'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685705 -3.506055)', '2026-08-06 16:32:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506057)'), GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506055)'))) / (select extract(epoch from '2026-08-06 16:32:38'::timestamp) - extract(epoch from '2026-08-06 16:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506057)'), GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506055)'))) / (select extract(epoch from '2026-08-06 16:32:38'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685705 -3.506055)', '2026-08-06 16:32:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506055)'), GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506055)'))) / (select extract(epoch from '2026-08-06 16:32:38'::timestamp) - extract(epoch from '2026-08-06 16:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506055)'), GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506055)'))) / (select extract(epoch from '2026-08-06 16:32:38'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685706 -3.506058)', '2026-08-06 16:32:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506055)'), GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506058)'))) / (select extract(epoch from '2026-08-06 16:32:38'::timestamp) - extract(epoch from '2026-08-06 16:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506055)'), GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506058)'))) / (select extract(epoch from '2026-08-06 16:32:38'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685707 -3.506059)', '2026-08-06 16:32:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506058)'), GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506059)'))) / (select extract(epoch from '2026-08-06 16:32:38'::timestamp) - extract(epoch from '2026-08-06 16:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506058)'), GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506059)'))) / (select extract(epoch from '2026-08-06 16:32:38'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685703 -3.506067)', '2026-08-06 16:32:39', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506059)'), GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506067)'))) / (select extract(epoch from '2026-08-06 16:32:39'::timestamp) - extract(epoch from '2026-08-06 16:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506059)'), GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506067)'))) / (select extract(epoch from '2026-08-06 16:32:39'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685704 -3.506064)', '2026-08-06 16:32:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506067)'), GeomFromEWKT('SRID=4674;POINT (-38.685704 -3.506064)'))) / (select extract(epoch from '2026-08-06 16:32:39'::timestamp) - extract(epoch from '2026-08-06 16:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506067)'), GeomFromEWKT('SRID=4674;POINT (-38.685704 -3.506064)'))) / (select extract(epoch from '2026-08-06 16:32:39'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685701 -3.506071)', '2026-08-06 16:32:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685704 -3.506064)'), GeomFromEWKT('SRID=4674;POINT (-38.685701 -3.506071)'))) / (select extract(epoch from '2026-08-06 16:32:39'::timestamp) - extract(epoch from '2026-08-06 16:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685704 -3.506064)'), GeomFromEWKT('SRID=4674;POINT (-38.685701 -3.506071)'))) / (select extract(epoch from '2026-08-06 16:32:39'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685702 -3.50607)', '2026-08-06 16:32:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685701 -3.506071)'), GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.50607)'))) / (select extract(epoch from '2026-08-06 16:32:39'::timestamp) - extract(epoch from '2026-08-06 16:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685701 -3.506071)'), GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.50607)'))) / (select extract(epoch from '2026-08-06 16:32:39'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685702 -3.50607)', '2026-08-06 16:32:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.50607)'), GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.50607)'))) / (select extract(epoch from '2026-08-06 16:32:39'::timestamp) - extract(epoch from '2026-08-06 16:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.50607)'), GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.50607)'))) / (select extract(epoch from '2026-08-06 16:32:39'::timestamp) - extract(epoch from '2026-08-06 16:32: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.6857 -3.50607)', '2026-08-06 16:32:39', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.50607)'), GeomFromEWKT('SRID=4674;POINT (-38.6857 -3.50607)'))) / (select extract(epoch from '2026-08-06 16:32:39'::timestamp) - extract(epoch from '2026-08-06 16:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.50607)'), GeomFromEWKT('SRID=4674;POINT (-38.6857 -3.50607)'))) / (select extract(epoch from '2026-08-06 16:32:39'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685703 -3.506071)', '2026-08-06 16:32:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6857 -3.50607)'), GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506071)'))) / (select extract(epoch from '2026-08-06 16:32:39'::timestamp) - extract(epoch from '2026-08-06 16:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6857 -3.50607)'), GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506071)'))) / (select extract(epoch from '2026-08-06 16:32:39'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685704 -3.506073)', '2026-08-06 16:32:39', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506071)'), GeomFromEWKT('SRID=4674;POINT (-38.685704 -3.506073)'))) / (select extract(epoch from '2026-08-06 16:32:39'::timestamp) - extract(epoch from '2026-08-06 16:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506071)'), GeomFromEWKT('SRID=4674;POINT (-38.685704 -3.506073)'))) / (select extract(epoch from '2026-08-06 16:32:39'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685702 -3.506073)', '2026-08-06 16:32:39', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685704 -3.506073)'), GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.506073)'))) / (select extract(epoch from '2026-08-06 16:32:39'::timestamp) - extract(epoch from '2026-08-06 16:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685704 -3.506073)'), GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.506073)'))) / (select extract(epoch from '2026-08-06 16:32:39'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685702 -3.506077)', '2026-08-06 16:32:39', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.506073)'), GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.506077)'))) / (select extract(epoch from '2026-08-06 16:32:39'::timestamp) - extract(epoch from '2026-08-06 16:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.506073)'), GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.506077)'))) / (select extract(epoch from '2026-08-06 16:32:39'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685703 -3.506079)', '2026-08-06 16:32:39', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.506077)'), GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506079)'))) / (select extract(epoch from '2026-08-06 16:32:39'::timestamp) - extract(epoch from '2026-08-06 16:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.506077)'), GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506079)'))) / (select extract(epoch from '2026-08-06 16:32:39'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685701 -3.506082)', '2026-08-06 16:32:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506079)'), GeomFromEWKT('SRID=4674;POINT (-38.685701 -3.506082)'))) / (select extract(epoch from '2026-08-06 16:32:39'::timestamp) - extract(epoch from '2026-08-06 16:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506079)'), GeomFromEWKT('SRID=4674;POINT (-38.685701 -3.506082)'))) / (select extract(epoch from '2026-08-06 16:32:39'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685705 -3.506082)', '2026-08-06 16:32:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685701 -3.506082)'), GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506082)'))) / (select extract(epoch from '2026-08-06 16:32:39'::timestamp) - extract(epoch from '2026-08-06 16:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685701 -3.506082)'), GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506082)'))) / (select extract(epoch from '2026-08-06 16:32:39'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685703 -3.506085)', '2026-08-06 16:32:39', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506082)'), GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506085)'))) / (select extract(epoch from '2026-08-06 16:32:39'::timestamp) - extract(epoch from '2026-08-06 16:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506082)'), GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506085)'))) / (select extract(epoch from '2026-08-06 16:32:39'::timestamp) - extract(epoch from '2026-08-06 16:32: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.6857 -3.506088)', '2026-08-06 16:32:39', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506085)'), GeomFromEWKT('SRID=4674;POINT (-38.6857 -3.506088)'))) / (select extract(epoch from '2026-08-06 16:32:39'::timestamp) - extract(epoch from '2026-08-06 16:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506085)'), GeomFromEWKT('SRID=4674;POINT (-38.6857 -3.506088)'))) / (select extract(epoch from '2026-08-06 16:32:39'::timestamp) - extract(epoch from '2026-08-06 16:32: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.6857 -3.506088)', '2026-08-06 16:32:39', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6857 -3.506088)'), GeomFromEWKT('SRID=4674;POINT (-38.6857 -3.506088)'))) / (select extract(epoch from '2026-08-06 16:32:39'::timestamp) - extract(epoch from '2026-08-06 16:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6857 -3.506088)'), GeomFromEWKT('SRID=4674;POINT (-38.6857 -3.506088)'))) / (select extract(epoch from '2026-08-06 16:32:39'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685702 -3.506091)', '2026-08-06 16:32:39', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6857 -3.506088)'), GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.506091)'))) / (select extract(epoch from '2026-08-06 16:32:39'::timestamp) - extract(epoch from '2026-08-06 16:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6857 -3.506088)'), GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.506091)'))) / (select extract(epoch from '2026-08-06 16:32:39'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685696 -3.506088)', '2026-08-06 16:32:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.506091)'), GeomFromEWKT('SRID=4674;POINT (-38.685696 -3.506088)'))) / (select extract(epoch from '2026-08-06 16:32:40'::timestamp) - extract(epoch from '2026-08-06 16:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.506091)'), GeomFromEWKT('SRID=4674;POINT (-38.685696 -3.506088)'))) / (select extract(epoch from '2026-08-06 16:32:40'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685697 -3.506088)', '2026-08-06 16:32:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685696 -3.506088)'), GeomFromEWKT('SRID=4674;POINT (-38.685697 -3.506088)'))) / (select extract(epoch from '2026-08-06 16:32:40'::timestamp) - extract(epoch from '2026-08-06 16:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685696 -3.506088)'), GeomFromEWKT('SRID=4674;POINT (-38.685697 -3.506088)'))) / (select extract(epoch from '2026-08-06 16:32:40'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685704 -3.506091)', '2026-08-06 16:32:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685697 -3.506088)'), GeomFromEWKT('SRID=4674;POINT (-38.685704 -3.506091)'))) / (select extract(epoch from '2026-08-06 16:32:40'::timestamp) - extract(epoch from '2026-08-06 16:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685697 -3.506088)'), GeomFromEWKT('SRID=4674;POINT (-38.685704 -3.506091)'))) / (select extract(epoch from '2026-08-06 16:32:40'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685709 -3.506096)', '2026-08-06 16:32:40', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685704 -3.506091)'), GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506096)'))) / (select extract(epoch from '2026-08-06 16:32:40'::timestamp) - extract(epoch from '2026-08-06 16:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685704 -3.506091)'), GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506096)'))) / (select extract(epoch from '2026-08-06 16:32:40'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685712 -3.506102)', '2026-08-06 16:32:40', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506096)'), GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506102)'))) / (select extract(epoch from '2026-08-06 16:32:40'::timestamp) - extract(epoch from '2026-08-06 16:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506096)'), GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506102)'))) / (select extract(epoch from '2026-08-06 16:32:40'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685703 -3.506104)', '2026-08-06 16:32:40', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506102)'), GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506104)'))) / (select extract(epoch from '2026-08-06 16:32:40'::timestamp) - extract(epoch from '2026-08-06 16:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506102)'), GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506104)'))) / (select extract(epoch from '2026-08-06 16:32:40'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685702 -3.506106)', '2026-08-06 16:32:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506104)'), GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.506106)'))) / (select extract(epoch from '2026-08-06 16:32:40'::timestamp) - extract(epoch from '2026-08-06 16:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506104)'), GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.506106)'))) / (select extract(epoch from '2026-08-06 16:32:40'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685705 -3.506103)', '2026-08-06 16:32:40', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.506106)'), GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506103)'))) / (select extract(epoch from '2026-08-06 16:32:40'::timestamp) - extract(epoch from '2026-08-06 16:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.506106)'), GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506103)'))) / (select extract(epoch from '2026-08-06 16:32:40'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685707 -3.506102)', '2026-08-06 16:32:40', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506103)'), GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506102)'))) / (select extract(epoch from '2026-08-06 16:32:40'::timestamp) - extract(epoch from '2026-08-06 16:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506103)'), GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506102)'))) / (select extract(epoch from '2026-08-06 16:32:40'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685708 -3.5061)', '2026-08-06 16:32:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506102)'), GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.5061)'))) / (select extract(epoch from '2026-08-06 16:32:40'::timestamp) - extract(epoch from '2026-08-06 16:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506102)'), GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.5061)'))) / (select extract(epoch from '2026-08-06 16:32:40'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685705 -3.506106)', '2026-08-06 16:32:40', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.5061)'), GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506106)'))) / (select extract(epoch from '2026-08-06 16:32:40'::timestamp) - extract(epoch from '2026-08-06 16:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.5061)'), GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506106)'))) / (select extract(epoch from '2026-08-06 16:32:40'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685711 -3.50611)', '2026-08-06 16:32:40', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506106)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.50611)'))) / (select extract(epoch from '2026-08-06 16:32:40'::timestamp) - extract(epoch from '2026-08-06 16:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506106)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.50611)'))) / (select extract(epoch from '2026-08-06 16:32:40'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685712 -3.50611)', '2026-08-06 16:32:40', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.50611)'), GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.50611)'))) / (select extract(epoch from '2026-08-06 16:32:40'::timestamp) - extract(epoch from '2026-08-06 16:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.50611)'), GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.50611)'))) / (select extract(epoch from '2026-08-06 16:32:40'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685713 -3.506111)', '2026-08-06 16:32:40', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.50611)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506111)'))) / (select extract(epoch from '2026-08-06 16:32:40'::timestamp) - extract(epoch from '2026-08-06 16:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.50611)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506111)'))) / (select extract(epoch from '2026-08-06 16:32:40'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685715 -3.506109)', '2026-08-06 16:32:40', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506111)'), GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506109)'))) / (select extract(epoch from '2026-08-06 16:32:40'::timestamp) - extract(epoch from '2026-08-06 16:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506111)'), GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506109)'))) / (select extract(epoch from '2026-08-06 16:32:40'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685714 -3.506109)', '2026-08-06 16:32:40', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506109)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506109)'))) / (select extract(epoch from '2026-08-06 16:32:40'::timestamp) - extract(epoch from '2026-08-06 16:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506109)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506109)'))) / (select extract(epoch from '2026-08-06 16:32:40'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685707 -3.506107)', '2026-08-06 16:32:40', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506109)'), GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506107)'))) / (select extract(epoch from '2026-08-06 16:32:40'::timestamp) - extract(epoch from '2026-08-06 16:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506109)'), GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506107)'))) / (select extract(epoch from '2026-08-06 16:32:40'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685707 -3.506106)', '2026-08-06 16:32:41', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506107)'), GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506106)'))) / (select extract(epoch from '2026-08-06 16:32:41'::timestamp) - extract(epoch from '2026-08-06 16:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506107)'), GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506106)'))) / (select extract(epoch from '2026-08-06 16:32:41'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685707 -3.50611)', '2026-08-06 16:32:41', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506106)'), GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.50611)'))) / (select extract(epoch from '2026-08-06 16:32:41'::timestamp) - extract(epoch from '2026-08-06 16:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506106)'), GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.50611)'))) / (select extract(epoch from '2026-08-06 16:32:41'::timestamp) - extract(epoch from '2026-08-06 16:32:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685706 -3.506112)', '2026-08-06 16:32:41', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.50611)'), GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506112)'))) / (select extract(epoch from '2026-08-06 16:32:41'::timestamp) - extract(epoch from '2026-08-06 16:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.50611)'), GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506112)'))) / (select extract(epoch from '2026-08-06 16:32:41'::timestamp) - extract(epoch from '2026-08-06 16:32:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685708 -3.506118)', '2026-08-06 16:32:41', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506112)'), GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.506118)'))) / (select extract(epoch from '2026-08-06 16:32:41'::timestamp) - extract(epoch from '2026-08-06 16:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506112)'), GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.506118)'))) / (select extract(epoch from '2026-08-06 16:32:41'::timestamp) - extract(epoch from '2026-08-06 16:32:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685708 -3.506118)', '2026-08-06 16:32:41', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.506118)'), GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.506118)'))) / (select extract(epoch from '2026-08-06 16:32:41'::timestamp) - extract(epoch from '2026-08-06 16:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.506118)'), GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.506118)'))) / (select extract(epoch from '2026-08-06 16:32:41'::timestamp) - extract(epoch from '2026-08-06 16:32:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68571 -3.506121)', '2026-08-06 16:32:41', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.506118)'), GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506121)'))) / (select extract(epoch from '2026-08-06 16:32:41'::timestamp) - extract(epoch from '2026-08-06 16:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.506118)'), GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506121)'))) / (select extract(epoch from '2026-08-06 16:32:41'::timestamp) - extract(epoch from '2026-08-06 16:32:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685708 -3.506123)', '2026-08-06 16:32:41', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506121)'), GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.506123)'))) / (select extract(epoch from '2026-08-06 16:32:41'::timestamp) - extract(epoch from '2026-08-06 16:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506121)'), GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.506123)'))) / (select extract(epoch from '2026-08-06 16:32:41'::timestamp) - extract(epoch from '2026-08-06 16:32:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685712 -3.506124)', '2026-08-06 16:32:41', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.506123)'), GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506124)'))) / (select extract(epoch from '2026-08-06 16:32:41'::timestamp) - extract(epoch from '2026-08-06 16:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.506123)'), GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506124)'))) / (select extract(epoch from '2026-08-06 16:32:41'::timestamp) - extract(epoch from '2026-08-06 16:32:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685711 -3.506126)', '2026-08-06 16:32:41', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506124)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506126)'))) / (select extract(epoch from '2026-08-06 16:32:41'::timestamp) - extract(epoch from '2026-08-06 16:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506124)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506126)'))) / (select extract(epoch from '2026-08-06 16:32:41'::timestamp) - extract(epoch from '2026-08-06 16:32:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685715 -3.506125)', '2026-08-06 16:32:41', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506126)'), GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506125)'))) / (select extract(epoch from '2026-08-06 16:32:41'::timestamp) - extract(epoch from '2026-08-06 16:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506126)'), GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506125)'))) / (select extract(epoch from '2026-08-06 16:32:41'::timestamp) - extract(epoch from '2026-08-06 16:32:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685713 -3.506125)', '2026-08-06 16:32:41', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506125)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506125)'))) / (select extract(epoch from '2026-08-06 16:32:41'::timestamp) - extract(epoch from '2026-08-06 16:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506125)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506125)'))) / (select extract(epoch from '2026-08-06 16:32:41'::timestamp) - extract(epoch from '2026-08-06 16:32:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685713 -3.506118)', '2026-08-06 16:32:41', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506125)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506118)'))) / (select extract(epoch from '2026-08-06 16:32:41'::timestamp) - extract(epoch from '2026-08-06 16:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506125)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506118)'))) / (select extract(epoch from '2026-08-06 16:32:41'::timestamp) - extract(epoch from '2026-08-06 16:32:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685709 -3.506122)', '2026-08-06 16:32:41', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506118)'), GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506122)'))) / (select extract(epoch from '2026-08-06 16:32:41'::timestamp) - extract(epoch from '2026-08-06 16:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506118)'), GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506122)'))) / (select extract(epoch from '2026-08-06 16:32:41'::timestamp) - extract(epoch from '2026-08-06 16:32:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685708 -3.506125)', '2026-08-06 16:32:41', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506122)'), GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.506125)'))) / (select extract(epoch from '2026-08-06 16:32:41'::timestamp) - extract(epoch from '2026-08-06 16:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506122)'), GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.506125)'))) / (select extract(epoch from '2026-08-06 16:32:41'::timestamp) - extract(epoch from '2026-08-06 16:32:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685712 -3.506126)', '2026-08-06 16:32:41', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.506125)'), GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506126)'))) / (select extract(epoch from '2026-08-06 16:32:41'::timestamp) - extract(epoch from '2026-08-06 16:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.506125)'), GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506126)'))) / (select extract(epoch from '2026-08-06 16:32:41'::timestamp) - extract(epoch from '2026-08-06 16:32:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685713 -3.506121)', '2026-08-06 16:32:41', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506126)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506121)'))) / (select extract(epoch from '2026-08-06 16:32:41'::timestamp) - extract(epoch from '2026-08-06 16:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506126)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506121)'))) / (select extract(epoch from '2026-08-06 16:32:41'::timestamp) - extract(epoch from '2026-08-06 16:32:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685714 -3.506118)', '2026-08-06 16:32:42', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506121)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506118)'))) / (select extract(epoch from '2026-08-06 16:32:42'::timestamp) - extract(epoch from '2026-08-06 16:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506121)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506118)'))) / (select extract(epoch from '2026-08-06 16:32:42'::timestamp) - extract(epoch from '2026-08-06 16:32:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685716 -3.506113)', '2026-08-06 16:32:42', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506118)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506113)'))) / (select extract(epoch from '2026-08-06 16:32:42'::timestamp) - extract(epoch from '2026-08-06 16:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506118)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506113)'))) / (select extract(epoch from '2026-08-06 16:32:42'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685713 -3.506107)', '2026-08-06 16:32:42', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506113)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506107)'))) / (select extract(epoch from '2026-08-06 16:32:42'::timestamp) - extract(epoch from '2026-08-06 16:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506113)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506107)'))) / (select extract(epoch from '2026-08-06 16:32:42'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685711 -3.506107)', '2026-08-06 16:32:42', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506107)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506107)'))) / (select extract(epoch from '2026-08-06 16:32:42'::timestamp) - extract(epoch from '2026-08-06 16:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506107)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506107)'))) / (select extract(epoch from '2026-08-06 16:32:42'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685713 -3.50611)', '2026-08-06 16:32:42', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506107)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.50611)'))) / (select extract(epoch from '2026-08-06 16:32:42'::timestamp) - extract(epoch from '2026-08-06 16:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506107)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.50611)'))) / (select extract(epoch from '2026-08-06 16:32:42'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685713 -3.50611)', '2026-08-06 16:32:42', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.50611)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.50611)'))) / (select extract(epoch from '2026-08-06 16:32:42'::timestamp) - extract(epoch from '2026-08-06 16:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.50611)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.50611)'))) / (select extract(epoch from '2026-08-06 16:32:42'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685713 -3.506107)', '2026-08-06 16:32:42', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.50611)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506107)'))) / (select extract(epoch from '2026-08-06 16:32:42'::timestamp) - extract(epoch from '2026-08-06 16:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.50611)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506107)'))) / (select extract(epoch from '2026-08-06 16:32:42'::timestamp) - extract(epoch from '2026-08-06 16:32: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.68571 -3.50611)', '2026-08-06 16:32:42', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506107)'), GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.50611)'))) / (select extract(epoch from '2026-08-06 16:32:42'::timestamp) - extract(epoch from '2026-08-06 16:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506107)'), GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.50611)'))) / (select extract(epoch from '2026-08-06 16:32:42'::timestamp) - extract(epoch from '2026-08-06 16:32: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.68571 -3.50611)', '2026-08-06 16:32:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.50611)'), GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.50611)'))) / (select extract(epoch from '2026-08-06 16:32:42'::timestamp) - extract(epoch from '2026-08-06 16:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.50611)'), GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.50611)'))) / (select extract(epoch from '2026-08-06 16:32:42'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685715 -3.506105)', '2026-08-06 16:32:42', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.50611)'), GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506105)'))) / (select extract(epoch from '2026-08-06 16:32:42'::timestamp) - extract(epoch from '2026-08-06 16:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.50611)'), GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506105)'))) / (select extract(epoch from '2026-08-06 16:32:42'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685711 -3.506102)', '2026-08-06 16:32:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506105)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506102)'))) / (select extract(epoch from '2026-08-06 16:32:42'::timestamp) - extract(epoch from '2026-08-06 16:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506105)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506102)'))) / (select extract(epoch from '2026-08-06 16:32:42'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685708 -3.5061)', '2026-08-06 16:32:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506102)'), GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.5061)'))) / (select extract(epoch from '2026-08-06 16:32:42'::timestamp) - extract(epoch from '2026-08-06 16:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506102)'), GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.5061)'))) / (select extract(epoch from '2026-08-06 16:32:42'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685709 -3.506099)', '2026-08-06 16:32:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.5061)'), GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506099)'))) / (select extract(epoch from '2026-08-06 16:32:42'::timestamp) - extract(epoch from '2026-08-06 16:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.5061)'), GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506099)'))) / (select extract(epoch from '2026-08-06 16:32:42'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685709 -3.506098)', '2026-08-06 16:32:42', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506099)'), GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506098)'))) / (select extract(epoch from '2026-08-06 16:32:42'::timestamp) - extract(epoch from '2026-08-06 16:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506099)'), GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506098)'))) / (select extract(epoch from '2026-08-06 16:32:42'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685711 -3.506096)', '2026-08-06 16:32:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506098)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506096)'))) / (select extract(epoch from '2026-08-06 16:32:42'::timestamp) - extract(epoch from '2026-08-06 16:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506098)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506096)'))) / (select extract(epoch from '2026-08-06 16:32:42'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685706 -3.506094)', '2026-08-06 16:32:42', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506096)'), GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506094)'))) / (select extract(epoch from '2026-08-06 16:32:42'::timestamp) - extract(epoch from '2026-08-06 16:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506096)'), GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506094)'))) / (select extract(epoch from '2026-08-06 16:32:42'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685704 -3.50609)', '2026-08-06 16:32:42', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506094)'), GeomFromEWKT('SRID=4674;POINT (-38.685704 -3.50609)'))) / (select extract(epoch from '2026-08-06 16:32:42'::timestamp) - extract(epoch from '2026-08-06 16:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506094)'), GeomFromEWKT('SRID=4674;POINT (-38.685704 -3.50609)'))) / (select extract(epoch from '2026-08-06 16:32:42'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685707 -3.506091)', '2026-08-06 16:32:43', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685704 -3.50609)'), GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506091)'))) / (select extract(epoch from '2026-08-06 16:32:43'::timestamp) - extract(epoch from '2026-08-06 16:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685704 -3.50609)'), GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506091)'))) / (select extract(epoch from '2026-08-06 16:32:43'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685709 -3.506092)', '2026-08-06 16:32:43', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506091)'), GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506092)'))) / (select extract(epoch from '2026-08-06 16:32:43'::timestamp) - extract(epoch from '2026-08-06 16:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506091)'), GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506092)'))) / (select extract(epoch from '2026-08-06 16:32:43'::timestamp) - extract(epoch from '2026-08-06 16:32:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685703 -3.506089)', '2026-08-06 16:32:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506092)'), GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506089)'))) / (select extract(epoch from '2026-08-06 16:32:43'::timestamp) - extract(epoch from '2026-08-06 16:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506092)'), GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506089)'))) / (select extract(epoch from '2026-08-06 16:32:43'::timestamp) - extract(epoch from '2026-08-06 16:32:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685702 -3.506092)', '2026-08-06 16:32:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506089)'), GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.506092)'))) / (select extract(epoch from '2026-08-06 16:32:43'::timestamp) - extract(epoch from '2026-08-06 16:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506089)'), GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.506092)'))) / (select extract(epoch from '2026-08-06 16:32:43'::timestamp) - extract(epoch from '2026-08-06 16:32:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685704 -3.506095)', '2026-08-06 16:32:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.506092)'), GeomFromEWKT('SRID=4674;POINT (-38.685704 -3.506095)'))) / (select extract(epoch from '2026-08-06 16:32:43'::timestamp) - extract(epoch from '2026-08-06 16:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685702 -3.506092)'), GeomFromEWKT('SRID=4674;POINT (-38.685704 -3.506095)'))) / (select extract(epoch from '2026-08-06 16:32:43'::timestamp) - extract(epoch from '2026-08-06 16:32:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685706 -3.506101)', '2026-08-06 16:32:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685704 -3.506095)'), GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506101)'))) / (select extract(epoch from '2026-08-06 16:32:43'::timestamp) - extract(epoch from '2026-08-06 16:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685704 -3.506095)'), GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506101)'))) / (select extract(epoch from '2026-08-06 16:32:43'::timestamp) - extract(epoch from '2026-08-06 16:32:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685706 -3.506101)', '2026-08-06 16:32:43', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506101)'), GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506101)'))) / (select extract(epoch from '2026-08-06 16:32:43'::timestamp) - extract(epoch from '2026-08-06 16:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506101)'), GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506101)'))) / (select extract(epoch from '2026-08-06 16:32:43'::timestamp) - extract(epoch from '2026-08-06 16:32:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685706 -3.506102)', '2026-08-06 16:32:43', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506101)'), GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506102)'))) / (select extract(epoch from '2026-08-06 16:32:43'::timestamp) - extract(epoch from '2026-08-06 16:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506101)'), GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506102)'))) / (select extract(epoch from '2026-08-06 16:32:43'::timestamp) - extract(epoch from '2026-08-06 16:32:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685709 -3.506109)', '2026-08-06 16:32:43', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506102)'), GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506109)'))) / (select extract(epoch from '2026-08-06 16:32:43'::timestamp) - extract(epoch from '2026-08-06 16:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506102)'), GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506109)'))) / (select extract(epoch from '2026-08-06 16:32:43'::timestamp) - extract(epoch from '2026-08-06 16:32:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685713 -3.506115)', '2026-08-06 16:32:43', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506109)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506115)'))) / (select extract(epoch from '2026-08-06 16:32:43'::timestamp) - extract(epoch from '2026-08-06 16:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506109)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506115)'))) / (select extract(epoch from '2026-08-06 16:32:43'::timestamp) - extract(epoch from '2026-08-06 16:32:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685714 -3.506116)', '2026-08-06 16:32:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506115)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506116)'))) / (select extract(epoch from '2026-08-06 16:32:43'::timestamp) - extract(epoch from '2026-08-06 16:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506115)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506116)'))) / (select extract(epoch from '2026-08-06 16:32:43'::timestamp) - extract(epoch from '2026-08-06 16:32:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685716 -3.506117)', '2026-08-06 16:32:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506116)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506117)'))) / (select extract(epoch from '2026-08-06 16:32:43'::timestamp) - extract(epoch from '2026-08-06 16:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506116)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506117)'))) / (select extract(epoch from '2026-08-06 16:32:43'::timestamp) - extract(epoch from '2026-08-06 16:32:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685711 -3.50612)', '2026-08-06 16:32:43', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506117)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.50612)'))) / (select extract(epoch from '2026-08-06 16:32:43'::timestamp) - extract(epoch from '2026-08-06 16:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506117)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.50612)'))) / (select extract(epoch from '2026-08-06 16:32:43'::timestamp) - extract(epoch from '2026-08-06 16:32:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685712 -3.506124)', '2026-08-06 16:32:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.50612)'), GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506124)'))) / (select extract(epoch from '2026-08-06 16:32:43'::timestamp) - extract(epoch from '2026-08-06 16:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.50612)'), GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506124)'))) / (select extract(epoch from '2026-08-06 16:32:43'::timestamp) - extract(epoch from '2026-08-06 16:32:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68571 -3.506118)', '2026-08-06 16:32:43', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506124)'), GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506118)'))) / (select extract(epoch from '2026-08-06 16:32:43'::timestamp) - extract(epoch from '2026-08-06 16:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506124)'), GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506118)'))) / (select extract(epoch from '2026-08-06 16:32:43'::timestamp) - extract(epoch from '2026-08-06 16:32:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685707 -3.506117)', '2026-08-06 16:32:43', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506118)'), GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506117)'))) / (select extract(epoch from '2026-08-06 16:32:43'::timestamp) - extract(epoch from '2026-08-06 16:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506118)'), GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506117)'))) / (select extract(epoch from '2026-08-06 16:32:43'::timestamp) - extract(epoch from '2026-08-06 16:32:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685707 -3.50612)', '2026-08-06 16:32:43', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506117)'), GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.50612)'))) / (select extract(epoch from '2026-08-06 16:32:43'::timestamp) - extract(epoch from '2026-08-06 16:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506117)'), GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.50612)'))) / (select extract(epoch from '2026-08-06 16:32:43'::timestamp) - extract(epoch from '2026-08-06 16:32:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685712 -3.506119)', '2026-08-06 16:32:44', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.50612)'), GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506119)'))) / (select extract(epoch from '2026-08-06 16:32:44'::timestamp) - extract(epoch from '2026-08-06 16:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.50612)'), GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506119)'))) / (select extract(epoch from '2026-08-06 16:32:44'::timestamp) - extract(epoch from '2026-08-06 16:32:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685713 -3.506119)', '2026-08-06 16:32:44', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506119)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506119)'))) / (select extract(epoch from '2026-08-06 16:32:44'::timestamp) - extract(epoch from '2026-08-06 16:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506119)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506119)'))) / (select extract(epoch from '2026-08-06 16:32:44'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685707 -3.506113)', '2026-08-06 16:32:44', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506119)'), GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506113)'))) / (select extract(epoch from '2026-08-06 16:32:44'::timestamp) - extract(epoch from '2026-08-06 16:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506119)'), GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506113)'))) / (select extract(epoch from '2026-08-06 16:32:44'::timestamp) - extract(epoch from '2026-08-06 16:32: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.68571 -3.506113)', '2026-08-06 16:32:44', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506113)'), GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506113)'))) / (select extract(epoch from '2026-08-06 16:32:44'::timestamp) - extract(epoch from '2026-08-06 16:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506113)'), GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506113)'))) / (select extract(epoch from '2026-08-06 16:32:44'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685704 -3.506114)', '2026-08-06 16:32:44', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506113)'), GeomFromEWKT('SRID=4674;POINT (-38.685704 -3.506114)'))) / (select extract(epoch from '2026-08-06 16:32:44'::timestamp) - extract(epoch from '2026-08-06 16:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506113)'), GeomFromEWKT('SRID=4674;POINT (-38.685704 -3.506114)'))) / (select extract(epoch from '2026-08-06 16:32:44'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685714 -3.506116)', '2026-08-06 16:32:44', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685704 -3.506114)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506116)'))) / (select extract(epoch from '2026-08-06 16:32:44'::timestamp) - extract(epoch from '2026-08-06 16:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685704 -3.506114)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506116)'))) / (select extract(epoch from '2026-08-06 16:32:44'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685712 -3.506122)', '2026-08-06 16:32:44', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506116)'), GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506122)'))) / (select extract(epoch from '2026-08-06 16:32:44'::timestamp) - extract(epoch from '2026-08-06 16:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506116)'), GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506122)'))) / (select extract(epoch from '2026-08-06 16:32:44'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685715 -3.506127)', '2026-08-06 16:32:44', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506122)'), GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506127)'))) / (select extract(epoch from '2026-08-06 16:32:44'::timestamp) - extract(epoch from '2026-08-06 16:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506122)'), GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506127)'))) / (select extract(epoch from '2026-08-06 16:32:44'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685713 -3.506129)', '2026-08-06 16:32:44', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506127)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506129)'))) / (select extract(epoch from '2026-08-06 16:32:44'::timestamp) - extract(epoch from '2026-08-06 16:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506127)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506129)'))) / (select extract(epoch from '2026-08-06 16:32:44'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685715 -3.506126)', '2026-08-06 16:32:44', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506129)'), GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506126)'))) / (select extract(epoch from '2026-08-06 16:32:44'::timestamp) - extract(epoch from '2026-08-06 16:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506129)'), GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506126)'))) / (select extract(epoch from '2026-08-06 16:32:44'::timestamp) - extract(epoch from '2026-08-06 16:32: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.68572 -3.506127)', '2026-08-06 16:32:44', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506126)'), GeomFromEWKT('SRID=4674;POINT (-38.68572 -3.506127)'))) / (select extract(epoch from '2026-08-06 16:32:44'::timestamp) - extract(epoch from '2026-08-06 16:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506126)'), GeomFromEWKT('SRID=4674;POINT (-38.68572 -3.506127)'))) / (select extract(epoch from '2026-08-06 16:32:44'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685721 -3.50612)', '2026-08-06 16:32:44', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68572 -3.506127)'), GeomFromEWKT('SRID=4674;POINT (-38.685721 -3.50612)'))) / (select extract(epoch from '2026-08-06 16:32:44'::timestamp) - extract(epoch from '2026-08-06 16:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68572 -3.506127)'), GeomFromEWKT('SRID=4674;POINT (-38.685721 -3.50612)'))) / (select extract(epoch from '2026-08-06 16:32:44'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685723 -3.50612)', '2026-08-06 16:32:44', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685721 -3.50612)'), GeomFromEWKT('SRID=4674;POINT (-38.685723 -3.50612)'))) / (select extract(epoch from '2026-08-06 16:32:44'::timestamp) - extract(epoch from '2026-08-06 16:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685721 -3.50612)'), GeomFromEWKT('SRID=4674;POINT (-38.685723 -3.50612)'))) / (select extract(epoch from '2026-08-06 16:32:44'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685724 -3.506121)', '2026-08-06 16:32:44', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685723 -3.50612)'), GeomFromEWKT('SRID=4674;POINT (-38.685724 -3.506121)'))) / (select extract(epoch from '2026-08-06 16:32:44'::timestamp) - extract(epoch from '2026-08-06 16:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685723 -3.50612)'), GeomFromEWKT('SRID=4674;POINT (-38.685724 -3.506121)'))) / (select extract(epoch from '2026-08-06 16:32:44'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685721 -3.506125)', '2026-08-06 16:32:44', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685724 -3.506121)'), GeomFromEWKT('SRID=4674;POINT (-38.685721 -3.506125)'))) / (select extract(epoch from '2026-08-06 16:32:44'::timestamp) - extract(epoch from '2026-08-06 16:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685724 -3.506121)'), GeomFromEWKT('SRID=4674;POINT (-38.685721 -3.506125)'))) / (select extract(epoch from '2026-08-06 16:32:44'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685721 -3.506122)', '2026-08-06 16:32:44', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685721 -3.506125)'), GeomFromEWKT('SRID=4674;POINT (-38.685721 -3.506122)'))) / (select extract(epoch from '2026-08-06 16:32:44'::timestamp) - extract(epoch from '2026-08-06 16:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685721 -3.506125)'), GeomFromEWKT('SRID=4674;POINT (-38.685721 -3.506122)'))) / (select extract(epoch from '2026-08-06 16:32:44'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685722 -3.506125)', '2026-08-06 16:32:45', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685721 -3.506122)'), GeomFromEWKT('SRID=4674;POINT (-38.685722 -3.506125)'))) / (select extract(epoch from '2026-08-06 16:32:45'::timestamp) - extract(epoch from '2026-08-06 16:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685721 -3.506122)'), GeomFromEWKT('SRID=4674;POINT (-38.685722 -3.506125)'))) / (select extract(epoch from '2026-08-06 16:32:45'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685721 -3.506131)', '2026-08-06 16:32:45', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685722 -3.506125)'), GeomFromEWKT('SRID=4674;POINT (-38.685721 -3.506131)'))) / (select extract(epoch from '2026-08-06 16:32:45'::timestamp) - extract(epoch from '2026-08-06 16:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685722 -3.506125)'), GeomFromEWKT('SRID=4674;POINT (-38.685721 -3.506131)'))) / (select extract(epoch from '2026-08-06 16:32:45'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685716 -3.506127)', '2026-08-06 16:32:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685721 -3.506131)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506127)'))) / (select extract(epoch from '2026-08-06 16:32:45'::timestamp) - extract(epoch from '2026-08-06 16:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685721 -3.506131)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506127)'))) / (select extract(epoch from '2026-08-06 16:32:45'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685713 -3.506132)', '2026-08-06 16:32:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506127)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506132)'))) / (select extract(epoch from '2026-08-06 16:32:45'::timestamp) - extract(epoch from '2026-08-06 16:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506127)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506132)'))) / (select extract(epoch from '2026-08-06 16:32:45'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685712 -3.506135)', '2026-08-06 16:32:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506132)'), GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506135)'))) / (select extract(epoch from '2026-08-06 16:32:45'::timestamp) - extract(epoch from '2026-08-06 16:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506132)'), GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506135)'))) / (select extract(epoch from '2026-08-06 16:32:45'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685712 -3.506134)', '2026-08-06 16:32:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506135)'), GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506134)'))) / (select extract(epoch from '2026-08-06 16:32:45'::timestamp) - extract(epoch from '2026-08-06 16:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506135)'), GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506134)'))) / (select extract(epoch from '2026-08-06 16:32:45'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685707 -3.506133)', '2026-08-06 16:32:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506134)'), GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506133)'))) / (select extract(epoch from '2026-08-06 16:32:45'::timestamp) - extract(epoch from '2026-08-06 16:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506134)'), GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506133)'))) / (select extract(epoch from '2026-08-06 16:32:45'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685709 -3.506127)', '2026-08-06 16:32:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506133)'), GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506127)'))) / (select extract(epoch from '2026-08-06 16:32:45'::timestamp) - extract(epoch from '2026-08-06 16:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506133)'), GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506127)'))) / (select extract(epoch from '2026-08-06 16:32:45'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685704 -3.506132)', '2026-08-06 16:32:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506127)'), GeomFromEWKT('SRID=4674;POINT (-38.685704 -3.506132)'))) / (select extract(epoch from '2026-08-06 16:32:45'::timestamp) - extract(epoch from '2026-08-06 16:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506127)'), GeomFromEWKT('SRID=4674;POINT (-38.685704 -3.506132)'))) / (select extract(epoch from '2026-08-06 16:32:45'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685709 -3.506133)', '2026-08-06 16:32:45', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685704 -3.506132)'), GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506133)'))) / (select extract(epoch from '2026-08-06 16:32:45'::timestamp) - extract(epoch from '2026-08-06 16:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685704 -3.506132)'), GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506133)'))) / (select extract(epoch from '2026-08-06 16:32:45'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685705 -3.506137)', '2026-08-06 16:32:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506133)'), GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506137)'))) / (select extract(epoch from '2026-08-06 16:32:45'::timestamp) - extract(epoch from '2026-08-06 16:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506133)'), GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506137)'))) / (select extract(epoch from '2026-08-06 16:32:45'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685704 -3.506133)', '2026-08-06 16:32:45', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506137)'), GeomFromEWKT('SRID=4674;POINT (-38.685704 -3.506133)'))) / (select extract(epoch from '2026-08-06 16:32:45'::timestamp) - extract(epoch from '2026-08-06 16:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685705 -3.506137)'), GeomFromEWKT('SRID=4674;POINT (-38.685704 -3.506133)'))) / (select extract(epoch from '2026-08-06 16:32:45'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685707 -3.506131)', '2026-08-06 16:32:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685704 -3.506133)'), GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506131)'))) / (select extract(epoch from '2026-08-06 16:32:45'::timestamp) - extract(epoch from '2026-08-06 16:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685704 -3.506133)'), GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506131)'))) / (select extract(epoch from '2026-08-06 16:32:45'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685703 -3.506133)', '2026-08-06 16:32:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506131)'), GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506133)'))) / (select extract(epoch from '2026-08-06 16:32:45'::timestamp) - extract(epoch from '2026-08-06 16:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506131)'), GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506133)'))) / (select extract(epoch from '2026-08-06 16:32:45'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685706 -3.506133)', '2026-08-06 16:32:45', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506133)'), GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506133)'))) / (select extract(epoch from '2026-08-06 16:32:45'::timestamp) - extract(epoch from '2026-08-06 16:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685703 -3.506133)'), GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506133)'))) / (select extract(epoch from '2026-08-06 16:32:45'::timestamp) - extract(epoch from '2026-08-06 16:32: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.68571 -3.506133)', '2026-08-06 16:32:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506133)'), GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506133)'))) / (select extract(epoch from '2026-08-06 16:32:45'::timestamp) - extract(epoch from '2026-08-06 16:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685706 -3.506133)'), GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506133)'))) / (select extract(epoch from '2026-08-06 16:32:45'::timestamp) - extract(epoch from '2026-08-06 16:32: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.68571 -3.506133)', '2026-08-06 16:32:45', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506133)'), GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506133)'))) / (select extract(epoch from '2026-08-06 16:32:45'::timestamp) - extract(epoch from '2026-08-06 16:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506133)'), GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506133)'))) / (select extract(epoch from '2026-08-06 16:32:45'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685709 -3.506133)', '2026-08-06 16:32:46', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506133)'), GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506133)'))) / (select extract(epoch from '2026-08-06 16:32:46'::timestamp) - extract(epoch from '2026-08-06 16:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506133)'), GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506133)'))) / (select extract(epoch from '2026-08-06 16:32:46'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685709 -3.506137)', '2026-08-06 16:32:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506133)'), GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506137)'))) / (select extract(epoch from '2026-08-06 16:32:46'::timestamp) - extract(epoch from '2026-08-06 16:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506133)'), GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506137)'))) / (select extract(epoch from '2026-08-06 16:32:46'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685708 -3.506137)', '2026-08-06 16:32:46', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506137)'), GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.506137)'))) / (select extract(epoch from '2026-08-06 16:32:46'::timestamp) - extract(epoch from '2026-08-06 16:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506137)'), GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.506137)'))) / (select extract(epoch from '2026-08-06 16:32:46'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685707 -3.50614)', '2026-08-06 16:32:46', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.506137)'), GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.50614)'))) / (select extract(epoch from '2026-08-06 16:32:46'::timestamp) - extract(epoch from '2026-08-06 16:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.506137)'), GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.50614)'))) / (select extract(epoch from '2026-08-06 16:32:46'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685707 -3.506144)', '2026-08-06 16:32:46', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.50614)'), GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506144)'))) / (select extract(epoch from '2026-08-06 16:32:46'::timestamp) - extract(epoch from '2026-08-06 16:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.50614)'), GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506144)'))) / (select extract(epoch from '2026-08-06 16:32:46'::timestamp) - extract(epoch from '2026-08-06 16:32: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.68571 -3.506144)', '2026-08-06 16:32:46', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506144)'), GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506144)'))) / (select extract(epoch from '2026-08-06 16:32:46'::timestamp) - extract(epoch from '2026-08-06 16:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506144)'), GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506144)'))) / (select extract(epoch from '2026-08-06 16:32:46'::timestamp) - extract(epoch from '2026-08-06 16:32: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.68571 -3.506139)', '2026-08-06 16:32:46', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506144)'), GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506139)'))) / (select extract(epoch from '2026-08-06 16:32:46'::timestamp) - extract(epoch from '2026-08-06 16:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506144)'), GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506139)'))) / (select extract(epoch from '2026-08-06 16:32:46'::timestamp) - extract(epoch from '2026-08-06 16:32: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.68571 -3.506137)', '2026-08-06 16:32:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506139)'), GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506137)'))) / (select extract(epoch from '2026-08-06 16:32:46'::timestamp) - extract(epoch from '2026-08-06 16:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506139)'), GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506137)'))) / (select extract(epoch from '2026-08-06 16:32:46'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685714 -3.506136)', '2026-08-06 16:32:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506137)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506136)'))) / (select extract(epoch from '2026-08-06 16:32:46'::timestamp) - extract(epoch from '2026-08-06 16:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506137)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506136)'))) / (select extract(epoch from '2026-08-06 16:32:46'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685713 -3.506138)', '2026-08-06 16:32:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506136)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506138)'))) / (select extract(epoch from '2026-08-06 16:32:46'::timestamp) - extract(epoch from '2026-08-06 16:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506136)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506138)'))) / (select extract(epoch from '2026-08-06 16:32:46'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685714 -3.506139)', '2026-08-06 16:32:46', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506138)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506139)'))) / (select extract(epoch from '2026-08-06 16:32:46'::timestamp) - extract(epoch from '2026-08-06 16:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506138)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506139)'))) / (select extract(epoch from '2026-08-06 16:32:46'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685715 -3.506141)', '2026-08-06 16:32:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506139)'), GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506141)'))) / (select extract(epoch from '2026-08-06 16:32:46'::timestamp) - extract(epoch from '2026-08-06 16:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506139)'), GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506141)'))) / (select extract(epoch from '2026-08-06 16:32:46'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685716 -3.506148)', '2026-08-06 16:32:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506141)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506148)'))) / (select extract(epoch from '2026-08-06 16:32:46'::timestamp) - extract(epoch from '2026-08-06 16:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506141)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506148)'))) / (select extract(epoch from '2026-08-06 16:32:46'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685717 -3.506152)', '2026-08-06 16:32:46', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506148)'), GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506152)'))) / (select extract(epoch from '2026-08-06 16:32:46'::timestamp) - extract(epoch from '2026-08-06 16:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506148)'), GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506152)'))) / (select extract(epoch from '2026-08-06 16:32:46'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685717 -3.506152)', '2026-08-06 16:32:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506152)'), GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506152)'))) / (select extract(epoch from '2026-08-06 16:32:46'::timestamp) - extract(epoch from '2026-08-06 16:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506152)'), GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506152)'))) / (select extract(epoch from '2026-08-06 16:32:46'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685716 -3.506155)', '2026-08-06 16:32:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506152)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506155)'))) / (select extract(epoch from '2026-08-06 16:32:46'::timestamp) - extract(epoch from '2026-08-06 16:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506152)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506155)'))) / (select extract(epoch from '2026-08-06 16:32:46'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685715 -3.506157)', '2026-08-06 16:32:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506155)'), GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506157)'))) / (select extract(epoch from '2026-08-06 16:32:46'::timestamp) - extract(epoch from '2026-08-06 16:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506155)'), GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506157)'))) / (select extract(epoch from '2026-08-06 16:32:46'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685717 -3.506155)', '2026-08-06 16:32:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506157)'), GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506155)'))) / (select extract(epoch from '2026-08-06 16:32:47'::timestamp) - extract(epoch from '2026-08-06 16:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506157)'), GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506155)'))) / (select extract(epoch from '2026-08-06 16:32:47'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685717 -3.506156)', '2026-08-06 16:32:47', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506155)'), GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506156)'))) / (select extract(epoch from '2026-08-06 16:32:47'::timestamp) - extract(epoch from '2026-08-06 16:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506155)'), GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506156)'))) / (select extract(epoch from '2026-08-06 16:32:47'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685718 -3.506158)', '2026-08-06 16:32:47', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506156)'), GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506158)'))) / (select extract(epoch from '2026-08-06 16:32:47'::timestamp) - extract(epoch from '2026-08-06 16:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506156)'), GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506158)'))) / (select extract(epoch from '2026-08-06 16:32:47'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685717 -3.506158)', '2026-08-06 16:32:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506158)'), GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506158)'))) / (select extract(epoch from '2026-08-06 16:32:47'::timestamp) - extract(epoch from '2026-08-06 16:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506158)'), GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506158)'))) / (select extract(epoch from '2026-08-06 16:32:47'::timestamp) - extract(epoch from '2026-08-06 16:32: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.68572 -3.506153)', '2026-08-06 16:32:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506158)'), GeomFromEWKT('SRID=4674;POINT (-38.68572 -3.506153)'))) / (select extract(epoch from '2026-08-06 16:32:47'::timestamp) - extract(epoch from '2026-08-06 16:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506158)'), GeomFromEWKT('SRID=4674;POINT (-38.68572 -3.506153)'))) / (select extract(epoch from '2026-08-06 16:32:47'::timestamp) - extract(epoch from '2026-08-06 16:32: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.68572 -3.506149)', '2026-08-06 16:32:47', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68572 -3.506153)'), GeomFromEWKT('SRID=4674;POINT (-38.68572 -3.506149)'))) / (select extract(epoch from '2026-08-06 16:32:47'::timestamp) - extract(epoch from '2026-08-06 16:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68572 -3.506153)'), GeomFromEWKT('SRID=4674;POINT (-38.68572 -3.506149)'))) / (select extract(epoch from '2026-08-06 16:32:47'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685724 -3.506149)', '2026-08-06 16:32:47', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68572 -3.506149)'), GeomFromEWKT('SRID=4674;POINT (-38.685724 -3.506149)'))) / (select extract(epoch from '2026-08-06 16:32:47'::timestamp) - extract(epoch from '2026-08-06 16:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68572 -3.506149)'), GeomFromEWKT('SRID=4674;POINT (-38.685724 -3.506149)'))) / (select extract(epoch from '2026-08-06 16:32:47'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685722 -3.506149)', '2026-08-06 16:32:47', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685724 -3.506149)'), GeomFromEWKT('SRID=4674;POINT (-38.685722 -3.506149)'))) / (select extract(epoch from '2026-08-06 16:32:47'::timestamp) - extract(epoch from '2026-08-06 16:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685724 -3.506149)'), GeomFromEWKT('SRID=4674;POINT (-38.685722 -3.506149)'))) / (select extract(epoch from '2026-08-06 16:32:47'::timestamp) - extract(epoch from '2026-08-06 16:32: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.68572 -3.506145)', '2026-08-06 16:32:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685722 -3.506149)'), GeomFromEWKT('SRID=4674;POINT (-38.68572 -3.506145)'))) / (select extract(epoch from '2026-08-06 16:32:47'::timestamp) - extract(epoch from '2026-08-06 16:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685722 -3.506149)'), GeomFromEWKT('SRID=4674;POINT (-38.68572 -3.506145)'))) / (select extract(epoch from '2026-08-06 16:32:47'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685718 -3.506138)', '2026-08-06 16:32:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68572 -3.506145)'), GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506138)'))) / (select extract(epoch from '2026-08-06 16:32:47'::timestamp) - extract(epoch from '2026-08-06 16:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68572 -3.506145)'), GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506138)'))) / (select extract(epoch from '2026-08-06 16:32:47'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685716 -3.506134)', '2026-08-06 16:32:47', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506138)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506134)'))) / (select extract(epoch from '2026-08-06 16:32:47'::timestamp) - extract(epoch from '2026-08-06 16:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506138)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506134)'))) / (select extract(epoch from '2026-08-06 16:32:47'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685714 -3.506137)', '2026-08-06 16:32:47', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506134)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506137)'))) / (select extract(epoch from '2026-08-06 16:32:47'::timestamp) - extract(epoch from '2026-08-06 16:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506134)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506137)'))) / (select extract(epoch from '2026-08-06 16:32:47'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685711 -3.506137)', '2026-08-06 16:32:47', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506137)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506137)'))) / (select extract(epoch from '2026-08-06 16:32:47'::timestamp) - extract(epoch from '2026-08-06 16:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506137)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506137)'))) / (select extract(epoch from '2026-08-06 16:32:47'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685713 -3.506141)', '2026-08-06 16:32:47', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506137)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506141)'))) / (select extract(epoch from '2026-08-06 16:32:47'::timestamp) - extract(epoch from '2026-08-06 16:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506137)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506141)'))) / (select extract(epoch from '2026-08-06 16:32:47'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685711 -3.506143)', '2026-08-06 16:32:47', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506141)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506143)'))) / (select extract(epoch from '2026-08-06 16:32:47'::timestamp) - extract(epoch from '2026-08-06 16:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506141)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506143)'))) / (select extract(epoch from '2026-08-06 16:32:47'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685715 -3.506147)', '2026-08-06 16:32:47', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506143)'), GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506147)'))) / (select extract(epoch from '2026-08-06 16:32:47'::timestamp) - extract(epoch from '2026-08-06 16:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506143)'), GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506147)'))) / (select extract(epoch from '2026-08-06 16:32:47'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685713 -3.506149)', '2026-08-06 16:32:48', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506147)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506149)'))) / (select extract(epoch from '2026-08-06 16:32:48'::timestamp) - extract(epoch from '2026-08-06 16:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506147)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506149)'))) / (select extract(epoch from '2026-08-06 16:32:48'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685716 -3.506157)', '2026-08-06 16:32:48', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506149)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506157)'))) / (select extract(epoch from '2026-08-06 16:32:48'::timestamp) - extract(epoch from '2026-08-06 16:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506149)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506157)'))) / (select extract(epoch from '2026-08-06 16:32:48'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685711 -3.50615)', '2026-08-06 16:32:48', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506157)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.50615)'))) / (select extract(epoch from '2026-08-06 16:32:48'::timestamp) - extract(epoch from '2026-08-06 16:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506157)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.50615)'))) / (select extract(epoch from '2026-08-06 16:32:48'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685712 -3.506147)', '2026-08-06 16:32:48', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.50615)'), GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506147)'))) / (select extract(epoch from '2026-08-06 16:32:48'::timestamp) - extract(epoch from '2026-08-06 16:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.50615)'), GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506147)'))) / (select extract(epoch from '2026-08-06 16:32:48'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685715 -3.506144)', '2026-08-06 16:32:48', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506147)'), GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506144)'))) / (select extract(epoch from '2026-08-06 16:32:48'::timestamp) - extract(epoch from '2026-08-06 16:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506147)'), GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506144)'))) / (select extract(epoch from '2026-08-06 16:32:48'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685711 -3.506144)', '2026-08-06 16:32:48', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506144)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506144)'))) / (select extract(epoch from '2026-08-06 16:32:48'::timestamp) - extract(epoch from '2026-08-06 16:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506144)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506144)'))) / (select extract(epoch from '2026-08-06 16:32:48'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685714 -3.506148)', '2026-08-06 16:32:48', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506144)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506148)'))) / (select extract(epoch from '2026-08-06 16:32:48'::timestamp) - extract(epoch from '2026-08-06 16:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506144)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506148)'))) / (select extract(epoch from '2026-08-06 16:32:48'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685716 -3.506146)', '2026-08-06 16:32:48', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506148)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506146)'))) / (select extract(epoch from '2026-08-06 16:32:48'::timestamp) - extract(epoch from '2026-08-06 16:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506148)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506146)'))) / (select extract(epoch from '2026-08-06 16:32:48'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685717 -3.506141)', '2026-08-06 16:32:48', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506146)'), GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506141)'))) / (select extract(epoch from '2026-08-06 16:32:48'::timestamp) - extract(epoch from '2026-08-06 16:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506146)'), GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506141)'))) / (select extract(epoch from '2026-08-06 16:32:48'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685717 -3.506142)', '2026-08-06 16:32:48', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506141)'), GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506142)'))) / (select extract(epoch from '2026-08-06 16:32:48'::timestamp) - extract(epoch from '2026-08-06 16:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506141)'), GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506142)'))) / (select extract(epoch from '2026-08-06 16:32:48'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685716 -3.506142)', '2026-08-06 16:32:48', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506142)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506142)'))) / (select extract(epoch from '2026-08-06 16:32:48'::timestamp) - extract(epoch from '2026-08-06 16:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506142)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506142)'))) / (select extract(epoch from '2026-08-06 16:32:48'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685715 -3.506145)', '2026-08-06 16:32:48', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506142)'), GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506145)'))) / (select extract(epoch from '2026-08-06 16:32:48'::timestamp) - extract(epoch from '2026-08-06 16:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506142)'), GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506145)'))) / (select extract(epoch from '2026-08-06 16:32:48'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685721 -3.506151)', '2026-08-06 16:32:48', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506145)'), GeomFromEWKT('SRID=4674;POINT (-38.685721 -3.506151)'))) / (select extract(epoch from '2026-08-06 16:32:48'::timestamp) - extract(epoch from '2026-08-06 16:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506145)'), GeomFromEWKT('SRID=4674;POINT (-38.685721 -3.506151)'))) / (select extract(epoch from '2026-08-06 16:32:48'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685719 -3.506148)', '2026-08-06 16:32:48', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685721 -3.506151)'), GeomFromEWKT('SRID=4674;POINT (-38.685719 -3.506148)'))) / (select extract(epoch from '2026-08-06 16:32:48'::timestamp) - extract(epoch from '2026-08-06 16:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685721 -3.506151)'), GeomFromEWKT('SRID=4674;POINT (-38.685719 -3.506148)'))) / (select extract(epoch from '2026-08-06 16:32:48'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685719 -3.506144)', '2026-08-06 16:32:48', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685719 -3.506148)'), GeomFromEWKT('SRID=4674;POINT (-38.685719 -3.506144)'))) / (select extract(epoch from '2026-08-06 16:32:48'::timestamp) - extract(epoch from '2026-08-06 16:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685719 -3.506148)'), GeomFromEWKT('SRID=4674;POINT (-38.685719 -3.506144)'))) / (select extract(epoch from '2026-08-06 16:32:48'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685718 -3.506143)', '2026-08-06 16:32:48', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685719 -3.506144)'), GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506143)'))) / (select extract(epoch from '2026-08-06 16:32:48'::timestamp) - extract(epoch from '2026-08-06 16:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685719 -3.506144)'), GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506143)'))) / (select extract(epoch from '2026-08-06 16:32:48'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685718 -3.506141)', '2026-08-06 16:32:48', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506143)'), GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506141)'))) / (select extract(epoch from '2026-08-06 16:32:48'::timestamp) - extract(epoch from '2026-08-06 16:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506143)'), GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506141)'))) / (select extract(epoch from '2026-08-06 16:32:48'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685716 -3.506143)', '2026-08-06 16:32:49', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506141)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506143)'))) / (select extract(epoch from '2026-08-06 16:32:49'::timestamp) - extract(epoch from '2026-08-06 16:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506141)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506143)'))) / (select extract(epoch from '2026-08-06 16:32:49'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685716 -3.506145)', '2026-08-06 16:32:49', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506143)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506145)'))) / (select extract(epoch from '2026-08-06 16:32:49'::timestamp) - extract(epoch from '2026-08-06 16:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506143)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506145)'))) / (select extract(epoch from '2026-08-06 16:32:49'::timestamp) - extract(epoch from '2026-08-06 16:32:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685713 -3.50614)', '2026-08-06 16:32:49', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506145)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.50614)'))) / (select extract(epoch from '2026-08-06 16:32:49'::timestamp) - extract(epoch from '2026-08-06 16:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506145)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.50614)'))) / (select extract(epoch from '2026-08-06 16:32:49'::timestamp) - extract(epoch from '2026-08-06 16:32:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685713 -3.50614)', '2026-08-06 16:32:49', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.50614)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.50614)'))) / (select extract(epoch from '2026-08-06 16:32:49'::timestamp) - extract(epoch from '2026-08-06 16:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.50614)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.50614)'))) / (select extract(epoch from '2026-08-06 16:32:49'::timestamp) - extract(epoch from '2026-08-06 16:32:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685711 -3.506145)', '2026-08-06 16:32:49', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.50614)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506145)'))) / (select extract(epoch from '2026-08-06 16:32:49'::timestamp) - extract(epoch from '2026-08-06 16:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.50614)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506145)'))) / (select extract(epoch from '2026-08-06 16:32:49'::timestamp) - extract(epoch from '2026-08-06 16:32:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68571 -3.506144)', '2026-08-06 16:32:49', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506145)'), GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506144)'))) / (select extract(epoch from '2026-08-06 16:32:49'::timestamp) - extract(epoch from '2026-08-06 16:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506145)'), GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506144)'))) / (select extract(epoch from '2026-08-06 16:32:49'::timestamp) - extract(epoch from '2026-08-06 16:32:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68571 -3.506145)', '2026-08-06 16:32:49', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506144)'), GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506145)'))) / (select extract(epoch from '2026-08-06 16:32:49'::timestamp) - extract(epoch from '2026-08-06 16:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506144)'), GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506145)'))) / (select extract(epoch from '2026-08-06 16:32:49'::timestamp) - extract(epoch from '2026-08-06 16:32:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685711 -3.506145)', '2026-08-06 16:32:49', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506145)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506145)'))) / (select extract(epoch from '2026-08-06 16:32:49'::timestamp) - extract(epoch from '2026-08-06 16:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506145)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506145)'))) / (select extract(epoch from '2026-08-06 16:32:49'::timestamp) - extract(epoch from '2026-08-06 16:32:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685711 -3.506149)', '2026-08-06 16:32:49', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506145)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506149)'))) / (select extract(epoch from '2026-08-06 16:32:49'::timestamp) - extract(epoch from '2026-08-06 16:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506145)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506149)'))) / (select extract(epoch from '2026-08-06 16:32:49'::timestamp) - extract(epoch from '2026-08-06 16:32:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685708 -3.506147)', '2026-08-06 16:32:49', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506149)'), GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.506147)'))) / (select extract(epoch from '2026-08-06 16:32:49'::timestamp) - extract(epoch from '2026-08-06 16:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506149)'), GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.506147)'))) / (select extract(epoch from '2026-08-06 16:32:49'::timestamp) - extract(epoch from '2026-08-06 16:32:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685709 -3.506141)', '2026-08-06 16:32:49', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.506147)'), GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506141)'))) / (select extract(epoch from '2026-08-06 16:32:49'::timestamp) - extract(epoch from '2026-08-06 16:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685708 -3.506147)'), GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506141)'))) / (select extract(epoch from '2026-08-06 16:32:49'::timestamp) - extract(epoch from '2026-08-06 16:32:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685707 -3.506141)', '2026-08-06 16:32:49', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506141)'), GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506141)'))) / (select extract(epoch from '2026-08-06 16:32:49'::timestamp) - extract(epoch from '2026-08-06 16:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506141)'), GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506141)'))) / (select extract(epoch from '2026-08-06 16:32:49'::timestamp) - extract(epoch from '2026-08-06 16:32:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685709 -3.506144)', '2026-08-06 16:32:49', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506141)'), GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506144)'))) / (select extract(epoch from '2026-08-06 16:32:49'::timestamp) - extract(epoch from '2026-08-06 16:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685707 -3.506141)'), GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506144)'))) / (select extract(epoch from '2026-08-06 16:32:49'::timestamp) - extract(epoch from '2026-08-06 16:32:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685713 -3.506148)', '2026-08-06 16:32:49', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506144)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506148)'))) / (select extract(epoch from '2026-08-06 16:32:49'::timestamp) - extract(epoch from '2026-08-06 16:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685709 -3.506144)'), GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506148)'))) / (select extract(epoch from '2026-08-06 16:32:49'::timestamp) - extract(epoch from '2026-08-06 16:32:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685712 -3.506151)', '2026-08-06 16:32:49', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506148)'), GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506151)'))) / (select extract(epoch from '2026-08-06 16:32:49'::timestamp) - extract(epoch from '2026-08-06 16:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685713 -3.506148)'), GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506151)'))) / (select extract(epoch from '2026-08-06 16:32:49'::timestamp) - extract(epoch from '2026-08-06 16:32:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685716 -3.506157)', '2026-08-06 16:32:49', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506151)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506157)'))) / (select extract(epoch from '2026-08-06 16:32:49'::timestamp) - extract(epoch from '2026-08-06 16:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506151)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506157)'))) / (select extract(epoch from '2026-08-06 16:32:49'::timestamp) - extract(epoch from '2026-08-06 16:32:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685714 -3.506153)', '2026-08-06 16:32:49', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506157)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506153)'))) / (select extract(epoch from '2026-08-06 16:32:49'::timestamp) - extract(epoch from '2026-08-06 16:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506157)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506153)'))) / (select extract(epoch from '2026-08-06 16:32:49'::timestamp) - extract(epoch from '2026-08-06 16:32:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685717 -3.506147)', '2026-08-06 16:32:50', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506153)'), GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506147)'))) / (select extract(epoch from '2026-08-06 16:32:50'::timestamp) - extract(epoch from '2026-08-06 16:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506153)'), GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506147)'))) / (select extract(epoch from '2026-08-06 16:32:50'::timestamp) - extract(epoch from '2026-08-06 16:32:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685714 -3.506144)', '2026-08-06 16:32:50', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506147)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506144)'))) / (select extract(epoch from '2026-08-06 16:32:50'::timestamp) - extract(epoch from '2026-08-06 16:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506147)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506144)'))) / (select extract(epoch from '2026-08-06 16:32:50'::timestamp) - extract(epoch from '2026-08-06 16:32:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685714 -3.506148)', '2026-08-06 16:32:50', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506144)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506148)'))) / (select extract(epoch from '2026-08-06 16:32:50'::timestamp) - extract(epoch from '2026-08-06 16:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506144)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506148)'))) / (select extract(epoch from '2026-08-06 16:32:50'::timestamp) - extract(epoch from '2026-08-06 16:32:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685718 -3.506152)', '2026-08-06 16:32:50', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506148)'), GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506152)'))) / (select extract(epoch from '2026-08-06 16:32:50'::timestamp) - extract(epoch from '2026-08-06 16:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506148)'), GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506152)'))) / (select extract(epoch from '2026-08-06 16:32:50'::timestamp) - extract(epoch from '2026-08-06 16:32:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685719 -3.506148)', '2026-08-06 16:32:50', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506152)'), GeomFromEWKT('SRID=4674;POINT (-38.685719 -3.506148)'))) / (select extract(epoch from '2026-08-06 16:32:50'::timestamp) - extract(epoch from '2026-08-06 16:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506152)'), GeomFromEWKT('SRID=4674;POINT (-38.685719 -3.506148)'))) / (select extract(epoch from '2026-08-06 16:32:50'::timestamp) - extract(epoch from '2026-08-06 16:32:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685714 -3.50614)', '2026-08-06 16:32:50', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685719 -3.506148)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.50614)'))) / (select extract(epoch from '2026-08-06 16:32:50'::timestamp) - extract(epoch from '2026-08-06 16:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685719 -3.506148)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.50614)'))) / (select extract(epoch from '2026-08-06 16:32:50'::timestamp) - extract(epoch from '2026-08-06 16:32:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685717 -3.506134)', '2026-08-06 16:32:50', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.50614)'), GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506134)'))) / (select extract(epoch from '2026-08-06 16:32:50'::timestamp) - extract(epoch from '2026-08-06 16:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.50614)'), GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506134)'))) / (select extract(epoch from '2026-08-06 16:32:50'::timestamp) - extract(epoch from '2026-08-06 16:32:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685712 -3.506129)', '2026-08-06 16:32:50', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506134)'), GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506129)'))) / (select extract(epoch from '2026-08-06 16:32:50'::timestamp) - extract(epoch from '2026-08-06 16:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506134)'), GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506129)'))) / (select extract(epoch from '2026-08-06 16:32:50'::timestamp) - extract(epoch from '2026-08-06 16:32:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685715 -3.506126)', '2026-08-06 16:32:50', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506129)'), GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506126)'))) / (select extract(epoch from '2026-08-06 16:32:50'::timestamp) - extract(epoch from '2026-08-06 16:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506129)'), GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506126)'))) / (select extract(epoch from '2026-08-06 16:32:50'::timestamp) - extract(epoch from '2026-08-06 16:32:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685716 -3.506123)', '2026-08-06 16:32:50', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506126)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506123)'))) / (select extract(epoch from '2026-08-06 16:32:50'::timestamp) - extract(epoch from '2026-08-06 16:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506126)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506123)'))) / (select extract(epoch from '2026-08-06 16:32:50'::timestamp) - extract(epoch from '2026-08-06 16:32:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685714 -3.506125)', '2026-08-06 16:32:50', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506123)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506125)'))) / (select extract(epoch from '2026-08-06 16:32:50'::timestamp) - extract(epoch from '2026-08-06 16:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506123)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506125)'))) / (select extract(epoch from '2026-08-06 16:32:50'::timestamp) - extract(epoch from '2026-08-06 16:32:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685712 -3.506124)', '2026-08-06 16:32:50', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506125)'), GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506124)'))) / (select extract(epoch from '2026-08-06 16:32:50'::timestamp) - extract(epoch from '2026-08-06 16:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506125)'), GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506124)'))) / (select extract(epoch from '2026-08-06 16:32:50'::timestamp) - extract(epoch from '2026-08-06 16:32:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685712 -3.506135)', '2026-08-06 16:32:50', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506124)'), GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506135)'))) / (select extract(epoch from '2026-08-06 16:32:50'::timestamp) - extract(epoch from '2026-08-06 16:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506124)'), GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506135)'))) / (select extract(epoch from '2026-08-06 16:32:50'::timestamp) - extract(epoch from '2026-08-06 16:32:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685712 -3.506134)', '2026-08-06 16:32:50', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506135)'), GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506134)'))) / (select extract(epoch from '2026-08-06 16:32:50'::timestamp) - extract(epoch from '2026-08-06 16:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506135)'), GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506134)'))) / (select extract(epoch from '2026-08-06 16:32:50'::timestamp) - extract(epoch from '2026-08-06 16:32:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685716 -3.506127)', '2026-08-06 16:32:50', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506134)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506127)'))) / (select extract(epoch from '2026-08-06 16:32:50'::timestamp) - extract(epoch from '2026-08-06 16:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.506134)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506127)'))) / (select extract(epoch from '2026-08-06 16:32:50'::timestamp) - extract(epoch from '2026-08-06 16:32:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685715 -3.506132)', '2026-08-06 16:32:50', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506127)'), GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506132)'))) / (select extract(epoch from '2026-08-06 16:32:50'::timestamp) - extract(epoch from '2026-08-06 16:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506127)'), GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506132)'))) / (select extract(epoch from '2026-08-06 16:32:50'::timestamp) - extract(epoch from '2026-08-06 16:32:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685716 -3.506138)', '2026-08-06 16:32:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506132)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506138)'))) / (select extract(epoch from '2026-08-06 16:32:51'::timestamp) - extract(epoch from '2026-08-06 16:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506132)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506138)'))) / (select extract(epoch from '2026-08-06 16:32:51'::timestamp) - extract(epoch from '2026-08-06 16:32:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685718 -3.50614)', '2026-08-06 16:32:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506138)'), GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.50614)'))) / (select extract(epoch from '2026-08-06 16:32:51'::timestamp) - extract(epoch from '2026-08-06 16:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506138)'), GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.50614)'))) / (select extract(epoch from '2026-08-06 16:32:51'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685723 -3.506143)', '2026-08-06 16:32:51', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.50614)'), GeomFromEWKT('SRID=4674;POINT (-38.685723 -3.506143)'))) / (select extract(epoch from '2026-08-06 16:32:51'::timestamp) - extract(epoch from '2026-08-06 16:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.50614)'), GeomFromEWKT('SRID=4674;POINT (-38.685723 -3.506143)'))) / (select extract(epoch from '2026-08-06 16:32:51'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685718 -3.506138)', '2026-08-06 16:32:51', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685723 -3.506143)'), GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506138)'))) / (select extract(epoch from '2026-08-06 16:32:51'::timestamp) - extract(epoch from '2026-08-06 16:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685723 -3.506143)'), GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506138)'))) / (select extract(epoch from '2026-08-06 16:32:51'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685714 -3.506132)', '2026-08-06 16:32:51', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506138)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506132)'))) / (select extract(epoch from '2026-08-06 16:32:51'::timestamp) - extract(epoch from '2026-08-06 16:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506138)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506132)'))) / (select extract(epoch from '2026-08-06 16:32:51'::timestamp) - extract(epoch from '2026-08-06 16:32: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.68571 -3.506125)', '2026-08-06 16:32:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506132)'), GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506125)'))) / (select extract(epoch from '2026-08-06 16:32:51'::timestamp) - extract(epoch from '2026-08-06 16:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506132)'), GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506125)'))) / (select extract(epoch from '2026-08-06 16:32:51'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685714 -3.506124)', '2026-08-06 16:32:51', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506125)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506124)'))) / (select extract(epoch from '2026-08-06 16:32:51'::timestamp) - extract(epoch from '2026-08-06 16:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68571 -3.506125)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506124)'))) / (select extract(epoch from '2026-08-06 16:32:51'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685718 -3.506128)', '2026-08-06 16:32:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506124)'), GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506128)'))) / (select extract(epoch from '2026-08-06 16:32:51'::timestamp) - extract(epoch from '2026-08-06 16:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.506124)'), GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506128)'))) / (select extract(epoch from '2026-08-06 16:32:51'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685716 -3.506135)', '2026-08-06 16:32:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506128)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506135)'))) / (select extract(epoch from '2026-08-06 16:32:51'::timestamp) - extract(epoch from '2026-08-06 16:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506128)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506135)'))) / (select extract(epoch from '2026-08-06 16:32:51'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685712 -3.50614)', '2026-08-06 16:32:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506135)'), GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.50614)'))) / (select extract(epoch from '2026-08-06 16:32:51'::timestamp) - extract(epoch from '2026-08-06 16:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506135)'), GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.50614)'))) / (select extract(epoch from '2026-08-06 16:32:51'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685711 -3.506143)', '2026-08-06 16:32:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.50614)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506143)'))) / (select extract(epoch from '2026-08-06 16:32:51'::timestamp) - extract(epoch from '2026-08-06 16:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685712 -3.50614)'), GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506143)'))) / (select extract(epoch from '2026-08-06 16:32:51'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685714 -3.50614)', '2026-08-06 16:32:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506143)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.50614)'))) / (select extract(epoch from '2026-08-06 16:32:51'::timestamp) - extract(epoch from '2026-08-06 16:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685711 -3.506143)'), GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.50614)'))) / (select extract(epoch from '2026-08-06 16:32:51'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685716 -3.50614)', '2026-08-06 16:32:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.50614)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.50614)'))) / (select extract(epoch from '2026-08-06 16:32:51'::timestamp) - extract(epoch from '2026-08-06 16:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685714 -3.50614)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.50614)'))) / (select extract(epoch from '2026-08-06 16:32:51'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685716 -3.506147)', '2026-08-06 16:32:51', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.50614)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506147)'))) / (select extract(epoch from '2026-08-06 16:32:51'::timestamp) - extract(epoch from '2026-08-06 16:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.50614)'), GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506147)'))) / (select extract(epoch from '2026-08-06 16:32:51'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685715 -3.506143)', '2026-08-06 16:32:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506147)'), GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506143)'))) / (select extract(epoch from '2026-08-06 16:32:51'::timestamp) - extract(epoch from '2026-08-06 16:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685716 -3.506147)'), GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506143)'))) / (select extract(epoch from '2026-08-06 16:32:51'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685721 -3.506143)', '2026-08-06 16:32:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506143)'), GeomFromEWKT('SRID=4674;POINT (-38.685721 -3.506143)'))) / (select extract(epoch from '2026-08-06 16:32:51'::timestamp) - extract(epoch from '2026-08-06 16:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685715 -3.506143)'), GeomFromEWKT('SRID=4674;POINT (-38.685721 -3.506143)'))) / (select extract(epoch from '2026-08-06 16:32:51'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685722 -3.506143)', '2026-08-06 16:32:51', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685721 -3.506143)'), GeomFromEWKT('SRID=4674;POINT (-38.685722 -3.506143)'))) / (select extract(epoch from '2026-08-06 16:32:51'::timestamp) - extract(epoch from '2026-08-06 16:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685721 -3.506143)'), GeomFromEWKT('SRID=4674;POINT (-38.685722 -3.506143)'))) / (select extract(epoch from '2026-08-06 16:32:51'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685723 -3.506138)', '2026-08-06 16:32:52', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685722 -3.506143)'), GeomFromEWKT('SRID=4674;POINT (-38.685723 -3.506138)'))) / (select extract(epoch from '2026-08-06 16:32:52'::timestamp) - extract(epoch from '2026-08-06 16:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685722 -3.506143)'), GeomFromEWKT('SRID=4674;POINT (-38.685723 -3.506138)'))) / (select extract(epoch from '2026-08-06 16:32:52'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685718 -3.506139)', '2026-08-06 16:32:52', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685723 -3.506138)'), GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506139)'))) / (select extract(epoch from '2026-08-06 16:32:52'::timestamp) - extract(epoch from '2026-08-06 16:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685723 -3.506138)'), GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506139)'))) / (select extract(epoch from '2026-08-06 16:32:52'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685724 -3.506142)', '2026-08-06 16:32:52', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506139)'), GeomFromEWKT('SRID=4674;POINT (-38.685724 -3.506142)'))) / (select extract(epoch from '2026-08-06 16:32:52'::timestamp) - extract(epoch from '2026-08-06 16:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685718 -3.506139)'), GeomFromEWKT('SRID=4674;POINT (-38.685724 -3.506142)'))) / (select extract(epoch from '2026-08-06 16:32:52'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685717 -3.506141)', '2026-08-06 16:32:52', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685724 -3.506142)'), GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506141)'))) / (select extract(epoch from '2026-08-06 16:32:52'::timestamp) - extract(epoch from '2026-08-06 16:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685724 -3.506142)'), GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506141)'))) / (select extract(epoch from '2026-08-06 16:32:52'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685726 -3.506135)', '2026-08-06 16:32:52', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506141)'), GeomFromEWKT('SRID=4674;POINT (-38.685726 -3.506135)'))) / (select extract(epoch from '2026-08-06 16:32:52'::timestamp) - extract(epoch from '2026-08-06 16:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685717 -3.506141)'), GeomFromEWKT('SRID=4674;POINT (-38.685726 -3.506135)'))) / (select extract(epoch from '2026-08-06 16:32:52'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685727 -3.506136)', '2026-08-06 16:32:52', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685726 -3.506135)'), GeomFromEWKT('SRID=4674;POINT (-38.685727 -3.506136)'))) / (select extract(epoch from '2026-08-06 16:32:52'::timestamp) - extract(epoch from '2026-08-06 16:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685726 -3.506135)'), GeomFromEWKT('SRID=4674;POINT (-38.685727 -3.506136)'))) / (select extract(epoch from '2026-08-06 16:32:52'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685725 -3.50614)', '2026-08-06 16:32:52', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685727 -3.506136)'), GeomFromEWKT('SRID=4674;POINT (-38.685725 -3.50614)'))) / (select extract(epoch from '2026-08-06 16:32:52'::timestamp) - extract(epoch from '2026-08-06 16:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685727 -3.506136)'), GeomFromEWKT('SRID=4674;POINT (-38.685725 -3.50614)'))) / (select extract(epoch from '2026-08-06 16:32:52'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685727 -3.506144)', '2026-08-06 16:32:52', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685725 -3.50614)'), GeomFromEWKT('SRID=4674;POINT (-38.685727 -3.506144)'))) / (select extract(epoch from '2026-08-06 16:32:52'::timestamp) - extract(epoch from '2026-08-06 16:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685725 -3.50614)'), GeomFromEWKT('SRID=4674;POINT (-38.685727 -3.506144)'))) / (select extract(epoch from '2026-08-06 16:32:52'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685722 -3.506146)', '2026-08-06 16:32:52', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685727 -3.506144)'), GeomFromEWKT('SRID=4674;POINT (-38.685722 -3.506146)'))) / (select extract(epoch from '2026-08-06 16:32:52'::timestamp) - extract(epoch from '2026-08-06 16:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685727 -3.506144)'), GeomFromEWKT('SRID=4674;POINT (-38.685722 -3.506146)'))) / (select extract(epoch from '2026-08-06 16:32:52'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685727 -3.506145)', '2026-08-06 16:32:52', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685722 -3.506146)'), GeomFromEWKT('SRID=4674;POINT (-38.685727 -3.506145)'))) / (select extract(epoch from '2026-08-06 16:32:52'::timestamp) - extract(epoch from '2026-08-06 16:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685722 -3.506146)'), GeomFromEWKT('SRID=4674;POINT (-38.685727 -3.506145)'))) / (select extract(epoch from '2026-08-06 16:32:52'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685726 -3.506144)', '2026-08-06 16:32:52', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685727 -3.506145)'), GeomFromEWKT('SRID=4674;POINT (-38.685726 -3.506144)'))) / (select extract(epoch from '2026-08-06 16:32:52'::timestamp) - extract(epoch from '2026-08-06 16:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685727 -3.506145)'), GeomFromEWKT('SRID=4674;POINT (-38.685726 -3.506144)'))) / (select extract(epoch from '2026-08-06 16:32:52'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685723 -3.506146)', '2026-08-06 16:32:52', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685726 -3.506144)'), GeomFromEWKT('SRID=4674;POINT (-38.685723 -3.506146)'))) / (select extract(epoch from '2026-08-06 16:32:52'::timestamp) - extract(epoch from '2026-08-06 16:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685726 -3.506144)'), GeomFromEWKT('SRID=4674;POINT (-38.685723 -3.506146)'))) / (select extract(epoch from '2026-08-06 16:32:52'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685726 -3.506144)', '2026-08-06 16:32:52', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685723 -3.506146)'), GeomFromEWKT('SRID=4674;POINT (-38.685726 -3.506144)'))) / (select extract(epoch from '2026-08-06 16:32:52'::timestamp) - extract(epoch from '2026-08-06 16:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685723 -3.506146)'), GeomFromEWKT('SRID=4674;POINT (-38.685726 -3.506144)'))) / (select extract(epoch from '2026-08-06 16:32:52'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685728 -3.506146)', '2026-08-06 16:32:52', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685726 -3.506144)'), GeomFromEWKT('SRID=4674;POINT (-38.685728 -3.506146)'))) / (select extract(epoch from '2026-08-06 16:32:52'::timestamp) - extract(epoch from '2026-08-06 16:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685726 -3.506144)'), GeomFromEWKT('SRID=4674;POINT (-38.685728 -3.506146)'))) / (select extract(epoch from '2026-08-06 16:32:52'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685724 -3.50614)', '2026-08-06 16:32:52', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685728 -3.506146)'), GeomFromEWKT('SRID=4674;POINT (-38.685724 -3.50614)'))) / (select extract(epoch from '2026-08-06 16:32:52'::timestamp) - extract(epoch from '2026-08-06 16:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685728 -3.506146)'), GeomFromEWKT('SRID=4674;POINT (-38.685724 -3.50614)'))) / (select extract(epoch from '2026-08-06 16:32:52'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685725 -3.506141)', '2026-08-06 16:32:52', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685724 -3.50614)'), GeomFromEWKT('SRID=4674;POINT (-38.685725 -3.506141)'))) / (select extract(epoch from '2026-08-06 16:32:52'::timestamp) - extract(epoch from '2026-08-06 16:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685724 -3.50614)'), GeomFromEWKT('SRID=4674;POINT (-38.685725 -3.506141)'))) / (select extract(epoch from '2026-08-06 16:32:52'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685726 -3.506144)', '2026-08-06 16:32:53', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685725 -3.506141)'), GeomFromEWKT('SRID=4674;POINT (-38.685726 -3.506144)'))) / (select extract(epoch from '2026-08-06 16:32:53'::timestamp) - extract(epoch from '2026-08-06 16:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685725 -3.506141)'), GeomFromEWKT('SRID=4674;POINT (-38.685726 -3.506144)'))) / (select extract(epoch from '2026-08-06 16:32:53'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685725 -3.506147)', '2026-08-06 16:32:53', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685726 -3.506144)'), GeomFromEWKT('SRID=4674;POINT (-38.685725 -3.506147)'))) / (select extract(epoch from '2026-08-06 16:32:53'::timestamp) - extract(epoch from '2026-08-06 16:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685726 -3.506144)'), GeomFromEWKT('SRID=4674;POINT (-38.685725 -3.506147)'))) / (select extract(epoch from '2026-08-06 16:32:53'::timestamp) - extract(epoch from '2026-08-06 16:32:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685724 -3.506149)', '2026-08-06 16:32:53', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685725 -3.506147)'), GeomFromEWKT('SRID=4674;POINT (-38.685724 -3.506149)'))) / (select extract(epoch from '2026-08-06 16:32:53'::timestamp) - extract(epoch from '2026-08-06 16:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685725 -3.506147)'), GeomFromEWKT('SRID=4674;POINT (-38.685724 -3.506149)'))) / (select extract(epoch from '2026-08-06 16:32:53'::timestamp) - extract(epoch from '2026-08-06 16:32:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685723 -3.506154)', '2026-08-06 16:32:53', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685724 -3.506149)'), GeomFromEWKT('SRID=4674;POINT (-38.685723 -3.506154)'))) / (select extract(epoch from '2026-08-06 16:32:53'::timestamp) - extract(epoch from '2026-08-06 16:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685724 -3.506149)'), GeomFromEWKT('SRID=4674;POINT (-38.685723 -3.506154)'))) / (select extract(epoch from '2026-08-06 16:32:53'::timestamp) - extract(epoch from '2026-08-06 16:32:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685727 -3.506162)', '2026-08-06 16:32:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685723 -3.506154)'), GeomFromEWKT('SRID=4674;POINT (-38.685727 -3.506162)'))) / (select extract(epoch from '2026-08-06 16:32:53'::timestamp) - extract(epoch from '2026-08-06 16:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685723 -3.506154)'), GeomFromEWKT('SRID=4674;POINT (-38.685727 -3.506162)'))) / (select extract(epoch from '2026-08-06 16:32:53'::timestamp) - extract(epoch from '2026-08-06 16:32:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685725 -3.506167)', '2026-08-06 16:32:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685727 -3.506162)'), GeomFromEWKT('SRID=4674;POINT (-38.685725 -3.506167)'))) / (select extract(epoch from '2026-08-06 16:32:53'::timestamp) - extract(epoch from '2026-08-06 16:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685727 -3.506162)'), GeomFromEWKT('SRID=4674;POINT (-38.685725 -3.506167)'))) / (select extract(epoch from '2026-08-06 16:32:53'::timestamp) - extract(epoch from '2026-08-06 16:32:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685731 -3.506171)', '2026-08-06 16:32:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685725 -3.506167)'), GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506171)'))) / (select extract(epoch from '2026-08-06 16:32:53'::timestamp) - extract(epoch from '2026-08-06 16:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685725 -3.506167)'), GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506171)'))) / (select extract(epoch from '2026-08-06 16:32:53'::timestamp) - extract(epoch from '2026-08-06 16:32:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685731 -3.506176)', '2026-08-06 16:32:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506171)'), GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506176)'))) / (select extract(epoch from '2026-08-06 16:32:53'::timestamp) - extract(epoch from '2026-08-06 16:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506171)'), GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506176)'))) / (select extract(epoch from '2026-08-06 16:32:53'::timestamp) - extract(epoch from '2026-08-06 16:32:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685734 -3.506176)', '2026-08-06 16:32:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506176)'), GeomFromEWKT('SRID=4674;POINT (-38.685734 -3.506176)'))) / (select extract(epoch from '2026-08-06 16:32:53'::timestamp) - extract(epoch from '2026-08-06 16:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506176)'), GeomFromEWKT('SRID=4674;POINT (-38.685734 -3.506176)'))) / (select extract(epoch from '2026-08-06 16:32:53'::timestamp) - extract(epoch from '2026-08-06 16:32:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685734 -3.506181)', '2026-08-06 16:32:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685734 -3.506176)'), GeomFromEWKT('SRID=4674;POINT (-38.685734 -3.506181)'))) / (select extract(epoch from '2026-08-06 16:32:53'::timestamp) - extract(epoch from '2026-08-06 16:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685734 -3.506176)'), GeomFromEWKT('SRID=4674;POINT (-38.685734 -3.506181)'))) / (select extract(epoch from '2026-08-06 16:32:53'::timestamp) - extract(epoch from '2026-08-06 16:32:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685731 -3.506181)', '2026-08-06 16:32:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685734 -3.506181)'), GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506181)'))) / (select extract(epoch from '2026-08-06 16:32:53'::timestamp) - extract(epoch from '2026-08-06 16:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685734 -3.506181)'), GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506181)'))) / (select extract(epoch from '2026-08-06 16:32:53'::timestamp) - extract(epoch from '2026-08-06 16:32:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685731 -3.506183)', '2026-08-06 16:32:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506181)'), GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506183)'))) / (select extract(epoch from '2026-08-06 16:32:53'::timestamp) - extract(epoch from '2026-08-06 16:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506181)'), GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506183)'))) / (select extract(epoch from '2026-08-06 16:32:53'::timestamp) - extract(epoch from '2026-08-06 16:32:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685733 -3.50618)', '2026-08-06 16:32:53', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506183)'), GeomFromEWKT('SRID=4674;POINT (-38.685733 -3.50618)'))) / (select extract(epoch from '2026-08-06 16:32:53'::timestamp) - extract(epoch from '2026-08-06 16:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506183)'), GeomFromEWKT('SRID=4674;POINT (-38.685733 -3.50618)'))) / (select extract(epoch from '2026-08-06 16:32:53'::timestamp) - extract(epoch from '2026-08-06 16:32:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685731 -3.506176)', '2026-08-06 16:32:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685733 -3.50618)'), GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506176)'))) / (select extract(epoch from '2026-08-06 16:32:53'::timestamp) - extract(epoch from '2026-08-06 16:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685733 -3.50618)'), GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506176)'))) / (select extract(epoch from '2026-08-06 16:32:53'::timestamp) - extract(epoch from '2026-08-06 16:32:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685729 -3.506174)', '2026-08-06 16:32:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506176)'), GeomFromEWKT('SRID=4674;POINT (-38.685729 -3.506174)'))) / (select extract(epoch from '2026-08-06 16:32:53'::timestamp) - extract(epoch from '2026-08-06 16:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506176)'), GeomFromEWKT('SRID=4674;POINT (-38.685729 -3.506174)'))) / (select extract(epoch from '2026-08-06 16:32:53'::timestamp) - extract(epoch from '2026-08-06 16:32:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685728 -3.506172)', '2026-08-06 16:32:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685729 -3.506174)'), GeomFromEWKT('SRID=4674;POINT (-38.685728 -3.506172)'))) / (select extract(epoch from '2026-08-06 16:32:53'::timestamp) - extract(epoch from '2026-08-06 16:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685729 -3.506174)'), GeomFromEWKT('SRID=4674;POINT (-38.685728 -3.506172)'))) / (select extract(epoch from '2026-08-06 16:32:53'::timestamp) - extract(epoch from '2026-08-06 16:32:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685724 -3.506169)', '2026-08-06 16:32:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685728 -3.506172)'), GeomFromEWKT('SRID=4674;POINT (-38.685724 -3.506169)'))) / (select extract(epoch from '2026-08-06 16:32:53'::timestamp) - extract(epoch from '2026-08-06 16:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685728 -3.506172)'), GeomFromEWKT('SRID=4674;POINT (-38.685724 -3.506169)'))) / (select extract(epoch from '2026-08-06 16:32:53'::timestamp) - extract(epoch from '2026-08-06 16:32:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685726 -3.506171)', '2026-08-06 16:32:54', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685724 -3.506169)'), GeomFromEWKT('SRID=4674;POINT (-38.685726 -3.506171)'))) / (select extract(epoch from '2026-08-06 16:32:54'::timestamp) - extract(epoch from '2026-08-06 16:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685724 -3.506169)'), GeomFromEWKT('SRID=4674;POINT (-38.685726 -3.506171)'))) / (select extract(epoch from '2026-08-06 16:32:54'::timestamp) - extract(epoch from '2026-08-06 16:32:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68572 -3.506172)', '2026-08-06 16:32:54', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685726 -3.506171)'), GeomFromEWKT('SRID=4674;POINT (-38.68572 -3.506172)'))) / (select extract(epoch from '2026-08-06 16:32:54'::timestamp) - extract(epoch from '2026-08-06 16:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685726 -3.506171)'), GeomFromEWKT('SRID=4674;POINT (-38.68572 -3.506172)'))) / (select extract(epoch from '2026-08-06 16:32:54'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685727 -3.506176)', '2026-08-06 16:32:54', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68572 -3.506172)'), GeomFromEWKT('SRID=4674;POINT (-38.685727 -3.506176)'))) / (select extract(epoch from '2026-08-06 16:32:54'::timestamp) - extract(epoch from '2026-08-06 16:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68572 -3.506172)'), GeomFromEWKT('SRID=4674;POINT (-38.685727 -3.506176)'))) / (select extract(epoch from '2026-08-06 16:32:54'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685728 -3.506172)', '2026-08-06 16:32:54', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685727 -3.506176)'), GeomFromEWKT('SRID=4674;POINT (-38.685728 -3.506172)'))) / (select extract(epoch from '2026-08-06 16:32:54'::timestamp) - extract(epoch from '2026-08-06 16:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685727 -3.506176)'), GeomFromEWKT('SRID=4674;POINT (-38.685728 -3.506172)'))) / (select extract(epoch from '2026-08-06 16:32:54'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685729 -3.506171)', '2026-08-06 16:32:54', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685728 -3.506172)'), GeomFromEWKT('SRID=4674;POINT (-38.685729 -3.506171)'))) / (select extract(epoch from '2026-08-06 16:32:54'::timestamp) - extract(epoch from '2026-08-06 16:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685728 -3.506172)'), GeomFromEWKT('SRID=4674;POINT (-38.685729 -3.506171)'))) / (select extract(epoch from '2026-08-06 16:32:54'::timestamp) - extract(epoch from '2026-08-06 16:32: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.68573 -3.506167)', '2026-08-06 16:32:54', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685729 -3.506171)'), GeomFromEWKT('SRID=4674;POINT (-38.68573 -3.506167)'))) / (select extract(epoch from '2026-08-06 16:32:54'::timestamp) - extract(epoch from '2026-08-06 16:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685729 -3.506171)'), GeomFromEWKT('SRID=4674;POINT (-38.68573 -3.506167)'))) / (select extract(epoch from '2026-08-06 16:32:54'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685731 -3.506166)', '2026-08-06 16:32:54', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68573 -3.506167)'), GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506166)'))) / (select extract(epoch from '2026-08-06 16:32:54'::timestamp) - extract(epoch from '2026-08-06 16:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68573 -3.506167)'), GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506166)'))) / (select extract(epoch from '2026-08-06 16:32:54'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685729 -3.506166)', '2026-08-06 16:32:54', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506166)'), GeomFromEWKT('SRID=4674;POINT (-38.685729 -3.506166)'))) / (select extract(epoch from '2026-08-06 16:32:54'::timestamp) - extract(epoch from '2026-08-06 16:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506166)'), GeomFromEWKT('SRID=4674;POINT (-38.685729 -3.506166)'))) / (select extract(epoch from '2026-08-06 16:32:54'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685731 -3.506168)', '2026-08-06 16:32:54', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685729 -3.506166)'), GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506168)'))) / (select extract(epoch from '2026-08-06 16:32:54'::timestamp) - extract(epoch from '2026-08-06 16:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685729 -3.506166)'), GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506168)'))) / (select extract(epoch from '2026-08-06 16:32:54'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685728 -3.506174)', '2026-08-06 16:32:54', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506168)'), GeomFromEWKT('SRID=4674;POINT (-38.685728 -3.506174)'))) / (select extract(epoch from '2026-08-06 16:32:54'::timestamp) - extract(epoch from '2026-08-06 16:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506168)'), GeomFromEWKT('SRID=4674;POINT (-38.685728 -3.506174)'))) / (select extract(epoch from '2026-08-06 16:32:54'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685728 -3.506173)', '2026-08-06 16:32:54', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685728 -3.506174)'), GeomFromEWKT('SRID=4674;POINT (-38.685728 -3.506173)'))) / (select extract(epoch from '2026-08-06 16:32:54'::timestamp) - extract(epoch from '2026-08-06 16:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685728 -3.506174)'), GeomFromEWKT('SRID=4674;POINT (-38.685728 -3.506173)'))) / (select extract(epoch from '2026-08-06 16:32:54'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685729 -3.506174)', '2026-08-06 16:32:54', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685728 -3.506173)'), GeomFromEWKT('SRID=4674;POINT (-38.685729 -3.506174)'))) / (select extract(epoch from '2026-08-06 16:32:54'::timestamp) - extract(epoch from '2026-08-06 16:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685728 -3.506173)'), GeomFromEWKT('SRID=4674;POINT (-38.685729 -3.506174)'))) / (select extract(epoch from '2026-08-06 16:32:54'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685733 -3.506174)', '2026-08-06 16:32:54', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685729 -3.506174)'), GeomFromEWKT('SRID=4674;POINT (-38.685733 -3.506174)'))) / (select extract(epoch from '2026-08-06 16:32:54'::timestamp) - extract(epoch from '2026-08-06 16:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685729 -3.506174)'), GeomFromEWKT('SRID=4674;POINT (-38.685733 -3.506174)'))) / (select extract(epoch from '2026-08-06 16:32:54'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685734 -3.506179)', '2026-08-06 16:32:54', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685733 -3.506174)'), GeomFromEWKT('SRID=4674;POINT (-38.685734 -3.506179)'))) / (select extract(epoch from '2026-08-06 16:32:54'::timestamp) - extract(epoch from '2026-08-06 16:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685733 -3.506174)'), GeomFromEWKT('SRID=4674;POINT (-38.685734 -3.506179)'))) / (select extract(epoch from '2026-08-06 16:32:54'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685732 -3.506185)', '2026-08-06 16:32:54', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685734 -3.506179)'), GeomFromEWKT('SRID=4674;POINT (-38.685732 -3.506185)'))) / (select extract(epoch from '2026-08-06 16:32:54'::timestamp) - extract(epoch from '2026-08-06 16:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685734 -3.506179)'), GeomFromEWKT('SRID=4674;POINT (-38.685732 -3.506185)'))) / (select extract(epoch from '2026-08-06 16:32:54'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685734 -3.506189)', '2026-08-06 16:32:54', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685732 -3.506185)'), GeomFromEWKT('SRID=4674;POINT (-38.685734 -3.506189)'))) / (select extract(epoch from '2026-08-06 16:32:54'::timestamp) - extract(epoch from '2026-08-06 16:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685732 -3.506185)'), GeomFromEWKT('SRID=4674;POINT (-38.685734 -3.506189)'))) / (select extract(epoch from '2026-08-06 16:32:54'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685733 -3.506187)', '2026-08-06 16:32:55', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685734 -3.506189)'), GeomFromEWKT('SRID=4674;POINT (-38.685733 -3.506187)'))) / (select extract(epoch from '2026-08-06 16:32:55'::timestamp) - extract(epoch from '2026-08-06 16:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685734 -3.506189)'), GeomFromEWKT('SRID=4674;POINT (-38.685733 -3.506187)'))) / (select extract(epoch from '2026-08-06 16:32:55'::timestamp) - extract(epoch from '2026-08-06 16:32: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.685729 -3.506186)', '2026-08-06 16:32:55', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685733 -3.506187)'), GeomFromEWKT('SRID=4674;POINT (-38.685729 -3.506186)'))) / (select extract(epoch from '2026-08-06 16:32:55'::timestamp) - extract(epoch from '2026-08-06 16:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685733 -3.506187)'), GeomFromEWKT('SRID=4674;POINT (-38.685729 -3.506186)'))) / (select extract(epoch from '2026-08-06 16:32:55'::timestamp) - extract(epoch from '2026-08-06 16:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685731 -3.506183)', '2026-08-06 16:32:55', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685729 -3.506186)'), GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506183)'))) / (select extract(epoch from '2026-08-06 16:32:55'::timestamp) - extract(epoch from '2026-08-06 16:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685729 -3.506186)'), GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506183)'))) / (select extract(epoch from '2026-08-06 16:32:55'::timestamp) - extract(epoch from '2026-08-06 16:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685732 -3.506186)', '2026-08-06 16:32:55', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506183)'), GeomFromEWKT('SRID=4674;POINT (-38.685732 -3.506186)'))) / (select extract(epoch from '2026-08-06 16:32:55'::timestamp) - extract(epoch from '2026-08-06 16:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506183)'), GeomFromEWKT('SRID=4674;POINT (-38.685732 -3.506186)'))) / (select extract(epoch from '2026-08-06 16:32:55'::timestamp) - extract(epoch from '2026-08-06 16:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685731 -3.506191)', '2026-08-06 16:32:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685732 -3.506186)'), GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506191)'))) / (select extract(epoch from '2026-08-06 16:32:55'::timestamp) - extract(epoch from '2026-08-06 16:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685732 -3.506186)'), GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506191)'))) / (select extract(epoch from '2026-08-06 16:32:55'::timestamp) - extract(epoch from '2026-08-06 16:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685735 -3.506196)', '2026-08-06 16:32:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506191)'), GeomFromEWKT('SRID=4674;POINT (-38.685735 -3.506196)'))) / (select extract(epoch from '2026-08-06 16:32:55'::timestamp) - extract(epoch from '2026-08-06 16:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506191)'), GeomFromEWKT('SRID=4674;POINT (-38.685735 -3.506196)'))) / (select extract(epoch from '2026-08-06 16:32:55'::timestamp) - extract(epoch from '2026-08-06 16:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685736 -3.506199)', '2026-08-06 16:32:55', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685735 -3.506196)'), GeomFromEWKT('SRID=4674;POINT (-38.685736 -3.506199)'))) / (select extract(epoch from '2026-08-06 16:32:55'::timestamp) - extract(epoch from '2026-08-06 16:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685735 -3.506196)'), GeomFromEWKT('SRID=4674;POINT (-38.685736 -3.506199)'))) / (select extract(epoch from '2026-08-06 16:32:55'::timestamp) - extract(epoch from '2026-08-06 16:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685729 -3.5062)', '2026-08-06 16:32:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685736 -3.506199)'), GeomFromEWKT('SRID=4674;POINT (-38.685729 -3.5062)'))) / (select extract(epoch from '2026-08-06 16:32:55'::timestamp) - extract(epoch from '2026-08-06 16:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685736 -3.506199)'), GeomFromEWKT('SRID=4674;POINT (-38.685729 -3.5062)'))) / (select extract(epoch from '2026-08-06 16:32:55'::timestamp) - extract(epoch from '2026-08-06 16:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68573 -3.506205)', '2026-08-06 16:32:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685729 -3.5062)'), GeomFromEWKT('SRID=4674;POINT (-38.68573 -3.506205)'))) / (select extract(epoch from '2026-08-06 16:32:55'::timestamp) - extract(epoch from '2026-08-06 16:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685729 -3.5062)'), GeomFromEWKT('SRID=4674;POINT (-38.68573 -3.506205)'))) / (select extract(epoch from '2026-08-06 16:32:55'::timestamp) - extract(epoch from '2026-08-06 16:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685734 -3.506208)', '2026-08-06 16:32:55', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68573 -3.506205)'), GeomFromEWKT('SRID=4674;POINT (-38.685734 -3.506208)'))) / (select extract(epoch from '2026-08-06 16:32:55'::timestamp) - extract(epoch from '2026-08-06 16:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68573 -3.506205)'), GeomFromEWKT('SRID=4674;POINT (-38.685734 -3.506208)'))) / (select extract(epoch from '2026-08-06 16:32:55'::timestamp) - extract(epoch from '2026-08-06 16:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68573 -3.506212)', '2026-08-06 16:32:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685734 -3.506208)'), GeomFromEWKT('SRID=4674;POINT (-38.68573 -3.506212)'))) / (select extract(epoch from '2026-08-06 16:32:55'::timestamp) - extract(epoch from '2026-08-06 16:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685734 -3.506208)'), GeomFromEWKT('SRID=4674;POINT (-38.68573 -3.506212)'))) / (select extract(epoch from '2026-08-06 16:32:55'::timestamp) - extract(epoch from '2026-08-06 16:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685733 -3.506211)', '2026-08-06 16:32:55', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68573 -3.506212)'), GeomFromEWKT('SRID=4674;POINT (-38.685733 -3.506211)'))) / (select extract(epoch from '2026-08-06 16:32:55'::timestamp) - extract(epoch from '2026-08-06 16:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68573 -3.506212)'), GeomFromEWKT('SRID=4674;POINT (-38.685733 -3.506211)'))) / (select extract(epoch from '2026-08-06 16:32:55'::timestamp) - extract(epoch from '2026-08-06 16:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685731 -3.506214)', '2026-08-06 16:32:55', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685733 -3.506211)'), GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506214)'))) / (select extract(epoch from '2026-08-06 16:32:55'::timestamp) - extract(epoch from '2026-08-06 16:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685733 -3.506211)'), GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506214)'))) / (select extract(epoch from '2026-08-06 16:32:55'::timestamp) - extract(epoch from '2026-08-06 16:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.68573 -3.506206)', '2026-08-06 16:32:55', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506214)'), GeomFromEWKT('SRID=4674;POINT (-38.68573 -3.506206)'))) / (select extract(epoch from '2026-08-06 16:32:55'::timestamp) - extract(epoch from '2026-08-06 16:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506214)'), GeomFromEWKT('SRID=4674;POINT (-38.68573 -3.506206)'))) / (select extract(epoch from '2026-08-06 16:32:55'::timestamp) - extract(epoch from '2026-08-06 16:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685731 -3.506202)', '2026-08-06 16:32:55', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68573 -3.506206)'), GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506202)'))) / (select extract(epoch from '2026-08-06 16:32:55'::timestamp) - extract(epoch from '2026-08-06 16:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68573 -3.506206)'), GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506202)'))) / (select extract(epoch from '2026-08-06 16:32:55'::timestamp) - extract(epoch from '2026-08-06 16:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48121, 'SRID=4674;POINT (-38.685732 -3.506198)', '2026-08-06 16:32:55', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506202)'), GeomFromEWKT('SRID=4674;POINT (-38.685732 -3.506198)'))) / (select extract(epoch from '2026-08-06 16:32:55'::timestamp) - extract(epoch from '2026-08-06 16:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685731 -3.506202)'), GeomFromEWKT('SRID=4674;POINT (-38.685732 -3.506198)'))) / (select extract(epoch from '2026-08-06 16:32:55'::timestamp) - extract(epoch from '2026-08-06 16:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
