 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683742 -3.387756)', '2026-08-12 21:38:57', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683809 -3.387772)'), GeomFromEWKT('SRID=4674;POINT (-38.683742 -3.387756)'))) / (select extract(epoch from '2026-08-12 21:38:57'::timestamp) - extract(epoch from '2026-08-12 21:38:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683809 -3.387772)'), GeomFromEWKT('SRID=4674;POINT (-38.683742 -3.387756)'))) / (select extract(epoch from '2026-08-12 21:38:57'::timestamp) - extract(epoch from '2026-08-12 21:38:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683702 -3.38775)', '2026-08-12 21:38:58', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683742 -3.387756)'), GeomFromEWKT('SRID=4674;POINT (-38.683702 -3.38775)'))) / (select extract(epoch from '2026-08-12 21:38:58'::timestamp) - extract(epoch from '2026-08-12 21:38:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683742 -3.387756)'), GeomFromEWKT('SRID=4674;POINT (-38.683702 -3.38775)'))) / (select extract(epoch from '2026-08-12 21:38:58'::timestamp) - extract(epoch from '2026-08-12 21:38:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683686 -3.38773)', '2026-08-12 21:38:58', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683702 -3.38775)'), GeomFromEWKT('SRID=4674;POINT (-38.683686 -3.38773)'))) / (select extract(epoch from '2026-08-12 21:38:58'::timestamp) - extract(epoch from '2026-08-12 21:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683702 -3.38775)'), GeomFromEWKT('SRID=4674;POINT (-38.683686 -3.38773)'))) / (select extract(epoch from '2026-08-12 21:38:58'::timestamp) - extract(epoch from '2026-08-12 21:38:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683679 -3.387705)', '2026-08-12 21:38:58', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683686 -3.38773)'), GeomFromEWKT('SRID=4674;POINT (-38.683679 -3.387705)'))) / (select extract(epoch from '2026-08-12 21:38:58'::timestamp) - extract(epoch from '2026-08-12 21:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683686 -3.38773)'), GeomFromEWKT('SRID=4674;POINT (-38.683679 -3.387705)'))) / (select extract(epoch from '2026-08-12 21:38:58'::timestamp) - extract(epoch from '2026-08-12 21:38:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683676 -3.38767)', '2026-08-12 21:38:58', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683679 -3.387705)'), GeomFromEWKT('SRID=4674;POINT (-38.683676 -3.38767)'))) / (select extract(epoch from '2026-08-12 21:38:58'::timestamp) - extract(epoch from '2026-08-12 21:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683679 -3.387705)'), GeomFromEWKT('SRID=4674;POINT (-38.683676 -3.38767)'))) / (select extract(epoch from '2026-08-12 21:38:58'::timestamp) - extract(epoch from '2026-08-12 21:38:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683673 -3.387657)', '2026-08-12 21:38:58', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683676 -3.38767)'), GeomFromEWKT('SRID=4674;POINT (-38.683673 -3.387657)'))) / (select extract(epoch from '2026-08-12 21:38:58'::timestamp) - extract(epoch from '2026-08-12 21:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683676 -3.38767)'), GeomFromEWKT('SRID=4674;POINT (-38.683673 -3.387657)'))) / (select extract(epoch from '2026-08-12 21:38:58'::timestamp) - extract(epoch from '2026-08-12 21:38:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683669 -3.38764)', '2026-08-12 21:38:58', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683673 -3.387657)'), GeomFromEWKT('SRID=4674;POINT (-38.683669 -3.38764)'))) / (select extract(epoch from '2026-08-12 21:38:58'::timestamp) - extract(epoch from '2026-08-12 21:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683673 -3.387657)'), GeomFromEWKT('SRID=4674;POINT (-38.683669 -3.38764)'))) / (select extract(epoch from '2026-08-12 21:38:58'::timestamp) - extract(epoch from '2026-08-12 21:38:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683661 -3.387578)', '2026-08-12 21:38:59', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683669 -3.38764)'), GeomFromEWKT('SRID=4674;POINT (-38.683661 -3.387578)'))) / (select extract(epoch from '2026-08-12 21:38:59'::timestamp) - extract(epoch from '2026-08-12 21:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683669 -3.38764)'), GeomFromEWKT('SRID=4674;POINT (-38.683661 -3.387578)'))) / (select extract(epoch from '2026-08-12 21:38:59'::timestamp) - extract(epoch from '2026-08-12 21:38:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683649 -3.387525)', '2026-08-12 21:38:59', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683661 -3.387578)'), GeomFromEWKT('SRID=4674;POINT (-38.683649 -3.387525)'))) / (select extract(epoch from '2026-08-12 21:38:59'::timestamp) - extract(epoch from '2026-08-12 21:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683661 -3.387578)'), GeomFromEWKT('SRID=4674;POINT (-38.683649 -3.387525)'))) / (select extract(epoch from '2026-08-12 21:38:59'::timestamp) - extract(epoch from '2026-08-12 21:38:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683641 -3.387476)', '2026-08-12 21:38:59', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683649 -3.387525)'), GeomFromEWKT('SRID=4674;POINT (-38.683641 -3.387476)'))) / (select extract(epoch from '2026-08-12 21:38:59'::timestamp) - extract(epoch from '2026-08-12 21:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683649 -3.387525)'), GeomFromEWKT('SRID=4674;POINT (-38.683641 -3.387476)'))) / (select extract(epoch from '2026-08-12 21:38:59'::timestamp) - extract(epoch from '2026-08-12 21:38:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683637 -3.387453)', '2026-08-12 21:39:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683641 -3.387476)'), GeomFromEWKT('SRID=4674;POINT (-38.683637 -3.387453)'))) / (select extract(epoch from '2026-08-12 21:39:00'::timestamp) - extract(epoch from '2026-08-12 21:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683641 -3.387476)'), GeomFromEWKT('SRID=4674;POINT (-38.683637 -3.387453)'))) / (select extract(epoch from '2026-08-12 21:39:00'::timestamp) - extract(epoch from '2026-08-12 21:38:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683636 -3.387442)', '2026-08-12 21:39:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683637 -3.387453)'), GeomFromEWKT('SRID=4674;POINT (-38.683636 -3.387442)'))) / (select extract(epoch from '2026-08-12 21:39:00'::timestamp) - extract(epoch from '2026-08-12 21:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683637 -3.387453)'), GeomFromEWKT('SRID=4674;POINT (-38.683636 -3.387442)'))) / (select extract(epoch from '2026-08-12 21:39:00'::timestamp) - extract(epoch from '2026-08-12 21:39:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683636 -3.387402)', '2026-08-12 21:39:00', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683636 -3.387442)'), GeomFromEWKT('SRID=4674;POINT (-38.683636 -3.387402)'))) / (select extract(epoch from '2026-08-12 21:39:00'::timestamp) - extract(epoch from '2026-08-12 21:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683636 -3.387442)'), GeomFromEWKT('SRID=4674;POINT (-38.683636 -3.387402)'))) / (select extract(epoch from '2026-08-12 21:39:00'::timestamp) - extract(epoch from '2026-08-12 21:39:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683632 -3.387364)', '2026-08-12 21:39:00', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683636 -3.387402)'), GeomFromEWKT('SRID=4674;POINT (-38.683632 -3.387364)'))) / (select extract(epoch from '2026-08-12 21:39:00'::timestamp) - extract(epoch from '2026-08-12 21:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683636 -3.387402)'), GeomFromEWKT('SRID=4674;POINT (-38.683632 -3.387364)'))) / (select extract(epoch from '2026-08-12 21:39:00'::timestamp) - extract(epoch from '2026-08-12 21:39:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683628 -3.387333)', '2026-08-12 21:39:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683632 -3.387364)'), GeomFromEWKT('SRID=4674;POINT (-38.683628 -3.387333)'))) / (select extract(epoch from '2026-08-12 21:39:00'::timestamp) - extract(epoch from '2026-08-12 21:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683632 -3.387364)'), GeomFromEWKT('SRID=4674;POINT (-38.683628 -3.387333)'))) / (select extract(epoch from '2026-08-12 21:39:00'::timestamp) - extract(epoch from '2026-08-12 21:39:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683628 -3.387325)', '2026-08-12 21:39:00', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683628 -3.387333)'), GeomFromEWKT('SRID=4674;POINT (-38.683628 -3.387325)'))) / (select extract(epoch from '2026-08-12 21:39:00'::timestamp) - extract(epoch from '2026-08-12 21:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683628 -3.387333)'), GeomFromEWKT('SRID=4674;POINT (-38.683628 -3.387325)'))) / (select extract(epoch from '2026-08-12 21:39:00'::timestamp) - extract(epoch from '2026-08-12 21:39:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683617 -3.387306)', '2026-08-12 21:39:01', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683628 -3.387325)'), GeomFromEWKT('SRID=4674;POINT (-38.683617 -3.387306)'))) / (select extract(epoch from '2026-08-12 21:39:01'::timestamp) - extract(epoch from '2026-08-12 21:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683628 -3.387325)'), GeomFromEWKT('SRID=4674;POINT (-38.683617 -3.387306)'))) / (select extract(epoch from '2026-08-12 21:39:01'::timestamp) - extract(epoch from '2026-08-12 21:39:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683589 -3.387281)', '2026-08-12 21:39:01', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683617 -3.387306)'), GeomFromEWKT('SRID=4674;POINT (-38.683589 -3.387281)'))) / (select extract(epoch from '2026-08-12 21:39:01'::timestamp) - extract(epoch from '2026-08-12 21:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683617 -3.387306)'), GeomFromEWKT('SRID=4674;POINT (-38.683589 -3.387281)'))) / (select extract(epoch from '2026-08-12 21:39:01'::timestamp) - extract(epoch from '2026-08-12 21:39:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683552 -3.387272)', '2026-08-12 21:39:01', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683589 -3.387281)'), GeomFromEWKT('SRID=4674;POINT (-38.683552 -3.387272)'))) / (select extract(epoch from '2026-08-12 21:39:01'::timestamp) - extract(epoch from '2026-08-12 21:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683589 -3.387281)'), GeomFromEWKT('SRID=4674;POINT (-38.683552 -3.387272)'))) / (select extract(epoch from '2026-08-12 21:39:01'::timestamp) - extract(epoch from '2026-08-12 21:39:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683521 -3.387256)', '2026-08-12 21:39:01', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683552 -3.387272)'), GeomFromEWKT('SRID=4674;POINT (-38.683521 -3.387256)'))) / (select extract(epoch from '2026-08-12 21:39:01'::timestamp) - extract(epoch from '2026-08-12 21:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683552 -3.387272)'), GeomFromEWKT('SRID=4674;POINT (-38.683521 -3.387256)'))) / (select extract(epoch from '2026-08-12 21:39:01'::timestamp) - extract(epoch from '2026-08-12 21:39:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683484 -3.387237)', '2026-08-12 21:39:02', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683521 -3.387256)'), GeomFromEWKT('SRID=4674;POINT (-38.683484 -3.387237)'))) / (select extract(epoch from '2026-08-12 21:39:02'::timestamp) - extract(epoch from '2026-08-12 21:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683521 -3.387256)'), GeomFromEWKT('SRID=4674;POINT (-38.683484 -3.387237)'))) / (select extract(epoch from '2026-08-12 21:39:02'::timestamp) - extract(epoch from '2026-08-12 21:39:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683474 -3.387231)', '2026-08-12 21:39:02', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683484 -3.387237)'), GeomFromEWKT('SRID=4674;POINT (-38.683474 -3.387231)'))) / (select extract(epoch from '2026-08-12 21:39:02'::timestamp) - extract(epoch from '2026-08-12 21:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683484 -3.387237)'), GeomFromEWKT('SRID=4674;POINT (-38.683474 -3.387231)'))) / (select extract(epoch from '2026-08-12 21:39:02'::timestamp) - extract(epoch from '2026-08-12 21:39:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.68345 -3.387195)', '2026-08-12 21:39:02', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683474 -3.387231)'), GeomFromEWKT('SRID=4674;POINT (-38.68345 -3.387195)'))) / (select extract(epoch from '2026-08-12 21:39:02'::timestamp) - extract(epoch from '2026-08-12 21:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683474 -3.387231)'), GeomFromEWKT('SRID=4674;POINT (-38.68345 -3.387195)'))) / (select extract(epoch from '2026-08-12 21:39:02'::timestamp) - extract(epoch from '2026-08-12 21:39:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683443 -3.38717)', '2026-08-12 21:39:02', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68345 -3.387195)'), GeomFromEWKT('SRID=4674;POINT (-38.683443 -3.38717)'))) / (select extract(epoch from '2026-08-12 21:39:02'::timestamp) - extract(epoch from '2026-08-12 21:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68345 -3.387195)'), GeomFromEWKT('SRID=4674;POINT (-38.683443 -3.38717)'))) / (select extract(epoch from '2026-08-12 21:39:02'::timestamp) - extract(epoch from '2026-08-12 21:39:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683403 -3.387144)', '2026-08-12 21:39:02', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683443 -3.38717)'), GeomFromEWKT('SRID=4674;POINT (-38.683403 -3.387144)'))) / (select extract(epoch from '2026-08-12 21:39:02'::timestamp) - extract(epoch from '2026-08-12 21:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683443 -3.38717)'), GeomFromEWKT('SRID=4674;POINT (-38.683403 -3.387144)'))) / (select extract(epoch from '2026-08-12 21:39:02'::timestamp) - extract(epoch from '2026-08-12 21:39:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683371 -3.38713)', '2026-08-12 21:39:03', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683403 -3.387144)'), GeomFromEWKT('SRID=4674;POINT (-38.683371 -3.38713)'))) / (select extract(epoch from '2026-08-12 21:39:03'::timestamp) - extract(epoch from '2026-08-12 21:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683403 -3.387144)'), GeomFromEWKT('SRID=4674;POINT (-38.683371 -3.38713)'))) / (select extract(epoch from '2026-08-12 21:39:03'::timestamp) - extract(epoch from '2026-08-12 21:39:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683351 -3.387115)', '2026-08-12 21:39:03', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683371 -3.38713)'), GeomFromEWKT('SRID=4674;POINT (-38.683351 -3.387115)'))) / (select extract(epoch from '2026-08-12 21:39:03'::timestamp) - extract(epoch from '2026-08-12 21:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683371 -3.38713)'), GeomFromEWKT('SRID=4674;POINT (-38.683351 -3.387115)'))) / (select extract(epoch from '2026-08-12 21:39:03'::timestamp) - extract(epoch from '2026-08-12 21:39:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683301 -3.387081)', '2026-08-12 21:39:03', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683351 -3.387115)'), GeomFromEWKT('SRID=4674;POINT (-38.683301 -3.387081)'))) / (select extract(epoch from '2026-08-12 21:39:03'::timestamp) - extract(epoch from '2026-08-12 21:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683351 -3.387115)'), GeomFromEWKT('SRID=4674;POINT (-38.683301 -3.387081)'))) / (select extract(epoch from '2026-08-12 21:39:03'::timestamp) - extract(epoch from '2026-08-12 21:39:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683251 -3.387075)', '2026-08-12 21:39:04', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683301 -3.387081)'), GeomFromEWKT('SRID=4674;POINT (-38.683251 -3.387075)'))) / (select extract(epoch from '2026-08-12 21:39:04'::timestamp) - extract(epoch from '2026-08-12 21:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683301 -3.387081)'), GeomFromEWKT('SRID=4674;POINT (-38.683251 -3.387075)'))) / (select extract(epoch from '2026-08-12 21:39:04'::timestamp) - extract(epoch from '2026-08-12 21:39:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683221 -3.387083)', '2026-08-12 21:39:04', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683251 -3.387075)'), GeomFromEWKT('SRID=4674;POINT (-38.683221 -3.387083)'))) / (select extract(epoch from '2026-08-12 21:39:04'::timestamp) - extract(epoch from '2026-08-12 21:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683251 -3.387075)'), GeomFromEWKT('SRID=4674;POINT (-38.683221 -3.387083)'))) / (select extract(epoch from '2026-08-12 21:39:04'::timestamp) - extract(epoch from '2026-08-12 21:39:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683198 -3.387091)', '2026-08-12 21:39:04', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683221 -3.387083)'), GeomFromEWKT('SRID=4674;POINT (-38.683198 -3.387091)'))) / (select extract(epoch from '2026-08-12 21:39:04'::timestamp) - extract(epoch from '2026-08-12 21:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683221 -3.387083)'), GeomFromEWKT('SRID=4674;POINT (-38.683198 -3.387091)'))) / (select extract(epoch from '2026-08-12 21:39:04'::timestamp) - extract(epoch from '2026-08-12 21:39:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683149 -3.387095)', '2026-08-12 21:39:04', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683198 -3.387091)'), GeomFromEWKT('SRID=4674;POINT (-38.683149 -3.387095)'))) / (select extract(epoch from '2026-08-12 21:39:04'::timestamp) - extract(epoch from '2026-08-12 21:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683198 -3.387091)'), GeomFromEWKT('SRID=4674;POINT (-38.683149 -3.387095)'))) / (select extract(epoch from '2026-08-12 21:39:04'::timestamp) - extract(epoch from '2026-08-12 21:39:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.68314 -3.387093)', '2026-08-12 21:39:04', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683149 -3.387095)'), GeomFromEWKT('SRID=4674;POINT (-38.68314 -3.387093)'))) / (select extract(epoch from '2026-08-12 21:39:04'::timestamp) - extract(epoch from '2026-08-12 21:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683149 -3.387095)'), GeomFromEWKT('SRID=4674;POINT (-38.68314 -3.387093)'))) / (select extract(epoch from '2026-08-12 21:39:04'::timestamp) - extract(epoch from '2026-08-12 21:39:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683119 -3.387091)', '2026-08-12 21:39:04', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68314 -3.387093)'), GeomFromEWKT('SRID=4674;POINT (-38.683119 -3.387091)'))) / (select extract(epoch from '2026-08-12 21:39:04'::timestamp) - extract(epoch from '2026-08-12 21:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68314 -3.387093)'), GeomFromEWKT('SRID=4674;POINT (-38.683119 -3.387091)'))) / (select extract(epoch from '2026-08-12 21:39:04'::timestamp) - extract(epoch from '2026-08-12 21:39:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683153 -3.387114)', '2026-08-12 21:39:05', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683119 -3.387091)'), GeomFromEWKT('SRID=4674;POINT (-38.683153 -3.387114)'))) / (select extract(epoch from '2026-08-12 21:39:05'::timestamp) - extract(epoch from '2026-08-12 21:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683119 -3.387091)'), GeomFromEWKT('SRID=4674;POINT (-38.683153 -3.387114)'))) / (select extract(epoch from '2026-08-12 21:39:05'::timestamp) - extract(epoch from '2026-08-12 21:39:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.68317 -3.387112)', '2026-08-12 21:39:05', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683153 -3.387114)'), GeomFromEWKT('SRID=4674;POINT (-38.68317 -3.387112)'))) / (select extract(epoch from '2026-08-12 21:39:05'::timestamp) - extract(epoch from '2026-08-12 21:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683153 -3.387114)'), GeomFromEWKT('SRID=4674;POINT (-38.68317 -3.387112)'))) / (select extract(epoch from '2026-08-12 21:39:05'::timestamp) - extract(epoch from '2026-08-12 21:39:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683216 -3.387106)', '2026-08-12 21:39:05', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68317 -3.387112)'), GeomFromEWKT('SRID=4674;POINT (-38.683216 -3.387106)'))) / (select extract(epoch from '2026-08-12 21:39:05'::timestamp) - extract(epoch from '2026-08-12 21:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68317 -3.387112)'), GeomFromEWKT('SRID=4674;POINT (-38.683216 -3.387106)'))) / (select extract(epoch from '2026-08-12 21:39:05'::timestamp) - extract(epoch from '2026-08-12 21:39:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683229 -3.387095)', '2026-08-12 21:39:05', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683216 -3.387106)'), GeomFromEWKT('SRID=4674;POINT (-38.683229 -3.387095)'))) / (select extract(epoch from '2026-08-12 21:39:05'::timestamp) - extract(epoch from '2026-08-12 21:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683216 -3.387106)'), GeomFromEWKT('SRID=4674;POINT (-38.683229 -3.387095)'))) / (select extract(epoch from '2026-08-12 21:39:05'::timestamp) - extract(epoch from '2026-08-12 21:39:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683284 -3.387061)', '2026-08-12 21:39:06', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683229 -3.387095)'), GeomFromEWKT('SRID=4674;POINT (-38.683284 -3.387061)'))) / (select extract(epoch from '2026-08-12 21:39:06'::timestamp) - extract(epoch from '2026-08-12 21:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683229 -3.387095)'), GeomFromEWKT('SRID=4674;POINT (-38.683284 -3.387061)'))) / (select extract(epoch from '2026-08-12 21:39:06'::timestamp) - extract(epoch from '2026-08-12 21:39:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.6833 -3.38705)', '2026-08-12 21:39:06', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683284 -3.387061)'), GeomFromEWKT('SRID=4674;POINT (-38.6833 -3.38705)'))) / (select extract(epoch from '2026-08-12 21:39:06'::timestamp) - extract(epoch from '2026-08-12 21:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683284 -3.387061)'), GeomFromEWKT('SRID=4674;POINT (-38.6833 -3.38705)'))) / (select extract(epoch from '2026-08-12 21:39:06'::timestamp) - extract(epoch from '2026-08-12 21:39:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683365 -3.387008)', '2026-08-12 21:39:06', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6833 -3.38705)'), GeomFromEWKT('SRID=4674;POINT (-38.683365 -3.387008)'))) / (select extract(epoch from '2026-08-12 21:39:06'::timestamp) - extract(epoch from '2026-08-12 21:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6833 -3.38705)'), GeomFromEWKT('SRID=4674;POINT (-38.683365 -3.387008)'))) / (select extract(epoch from '2026-08-12 21:39:06'::timestamp) - extract(epoch from '2026-08-12 21:39:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683426 -3.387006)', '2026-08-12 21:39:07', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683365 -3.387008)'), GeomFromEWKT('SRID=4674;POINT (-38.683426 -3.387006)'))) / (select extract(epoch from '2026-08-12 21:39:07'::timestamp) - extract(epoch from '2026-08-12 21:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683365 -3.387008)'), GeomFromEWKT('SRID=4674;POINT (-38.683426 -3.387006)'))) / (select extract(epoch from '2026-08-12 21:39:07'::timestamp) - extract(epoch from '2026-08-12 21:39:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683432 -3.387012)', '2026-08-12 21:39:07', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683426 -3.387006)'), GeomFromEWKT('SRID=4674;POINT (-38.683432 -3.387012)'))) / (select extract(epoch from '2026-08-12 21:39:07'::timestamp) - extract(epoch from '2026-08-12 21:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683426 -3.387006)'), GeomFromEWKT('SRID=4674;POINT (-38.683432 -3.387012)'))) / (select extract(epoch from '2026-08-12 21:39:07'::timestamp) - extract(epoch from '2026-08-12 21:39:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683457 -3.387034)', '2026-08-12 21:39:07', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683432 -3.387012)'), GeomFromEWKT('SRID=4674;POINT (-38.683457 -3.387034)'))) / (select extract(epoch from '2026-08-12 21:39:07'::timestamp) - extract(epoch from '2026-08-12 21:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683432 -3.387012)'), GeomFromEWKT('SRID=4674;POINT (-38.683457 -3.387034)'))) / (select extract(epoch from '2026-08-12 21:39:07'::timestamp) - extract(epoch from '2026-08-12 21:39:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683469 -3.387064)', '2026-08-12 21:39:07', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683457 -3.387034)'), GeomFromEWKT('SRID=4674;POINT (-38.683469 -3.387064)'))) / (select extract(epoch from '2026-08-12 21:39:07'::timestamp) - extract(epoch from '2026-08-12 21:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683457 -3.387034)'), GeomFromEWKT('SRID=4674;POINT (-38.683469 -3.387064)'))) / (select extract(epoch from '2026-08-12 21:39:07'::timestamp) - extract(epoch from '2026-08-12 21:39:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683497 -3.387126)', '2026-08-12 21:39:08', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683469 -3.387064)'), GeomFromEWKT('SRID=4674;POINT (-38.683497 -3.387126)'))) / (select extract(epoch from '2026-08-12 21:39:08'::timestamp) - extract(epoch from '2026-08-12 21:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683469 -3.387064)'), GeomFromEWKT('SRID=4674;POINT (-38.683497 -3.387126)'))) / (select extract(epoch from '2026-08-12 21:39:08'::timestamp) - extract(epoch from '2026-08-12 21:39:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683533 -3.387221)', '2026-08-12 21:39:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683497 -3.387126)'), GeomFromEWKT('SRID=4674;POINT (-38.683533 -3.387221)'))) / (select extract(epoch from '2026-08-12 21:39:08'::timestamp) - extract(epoch from '2026-08-12 21:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683497 -3.387126)'), GeomFromEWKT('SRID=4674;POINT (-38.683533 -3.387221)'))) / (select extract(epoch from '2026-08-12 21:39:08'::timestamp) - extract(epoch from '2026-08-12 21:39:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683548 -3.38726)', '2026-08-12 21:39:09', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683533 -3.387221)'), GeomFromEWKT('SRID=4674;POINT (-38.683548 -3.38726)'))) / (select extract(epoch from '2026-08-12 21:39:09'::timestamp) - extract(epoch from '2026-08-12 21:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683533 -3.387221)'), GeomFromEWKT('SRID=4674;POINT (-38.683548 -3.38726)'))) / (select extract(epoch from '2026-08-12 21:39:09'::timestamp) - extract(epoch from '2026-08-12 21:39:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683556 -3.387278)', '2026-08-12 21:39:09', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683548 -3.38726)'), GeomFromEWKT('SRID=4674;POINT (-38.683556 -3.387278)'))) / (select extract(epoch from '2026-08-12 21:39:09'::timestamp) - extract(epoch from '2026-08-12 21:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683548 -3.38726)'), GeomFromEWKT('SRID=4674;POINT (-38.683556 -3.387278)'))) / (select extract(epoch from '2026-08-12 21:39:09'::timestamp) - extract(epoch from '2026-08-12 21:39:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.68356 -3.387292)', '2026-08-12 21:39:09', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683556 -3.387278)'), GeomFromEWKT('SRID=4674;POINT (-38.68356 -3.387292)'))) / (select extract(epoch from '2026-08-12 21:39:09'::timestamp) - extract(epoch from '2026-08-12 21:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683556 -3.387278)'), GeomFromEWKT('SRID=4674;POINT (-38.68356 -3.387292)'))) / (select extract(epoch from '2026-08-12 21:39:09'::timestamp) - extract(epoch from '2026-08-12 21:39:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683587 -3.387352)', '2026-08-12 21:39:09', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68356 -3.387292)'), GeomFromEWKT('SRID=4674;POINT (-38.683587 -3.387352)'))) / (select extract(epoch from '2026-08-12 21:39:09'::timestamp) - extract(epoch from '2026-08-12 21:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68356 -3.387292)'), GeomFromEWKT('SRID=4674;POINT (-38.683587 -3.387352)'))) / (select extract(epoch from '2026-08-12 21:39:09'::timestamp) - extract(epoch from '2026-08-12 21:39:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683593 -3.387378)', '2026-08-12 21:39:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683587 -3.387352)'), GeomFromEWKT('SRID=4674;POINT (-38.683593 -3.387378)'))) / (select extract(epoch from '2026-08-12 21:39:10'::timestamp) - extract(epoch from '2026-08-12 21:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683587 -3.387352)'), GeomFromEWKT('SRID=4674;POINT (-38.683593 -3.387378)'))) / (select extract(epoch from '2026-08-12 21:39:10'::timestamp) - extract(epoch from '2026-08-12 21:39:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683603 -3.387408)', '2026-08-12 21:39:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683593 -3.387378)'), GeomFromEWKT('SRID=4674;POINT (-38.683603 -3.387408)'))) / (select extract(epoch from '2026-08-12 21:39:10'::timestamp) - extract(epoch from '2026-08-12 21:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683593 -3.387378)'), GeomFromEWKT('SRID=4674;POINT (-38.683603 -3.387408)'))) / (select extract(epoch from '2026-08-12 21:39:10'::timestamp) - extract(epoch from '2026-08-12 21:39:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683614 -3.387423)', '2026-08-12 21:39:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683603 -3.387408)'), GeomFromEWKT('SRID=4674;POINT (-38.683614 -3.387423)'))) / (select extract(epoch from '2026-08-12 21:39:10'::timestamp) - extract(epoch from '2026-08-12 21:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683603 -3.387408)'), GeomFromEWKT('SRID=4674;POINT (-38.683614 -3.387423)'))) / (select extract(epoch from '2026-08-12 21:39:10'::timestamp) - extract(epoch from '2026-08-12 21:39:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.68364 -3.387428)', '2026-08-12 21:39:10', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683614 -3.387423)'), GeomFromEWKT('SRID=4674;POINT (-38.68364 -3.387428)'))) / (select extract(epoch from '2026-08-12 21:39:10'::timestamp) - extract(epoch from '2026-08-12 21:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683614 -3.387423)'), GeomFromEWKT('SRID=4674;POINT (-38.68364 -3.387428)'))) / (select extract(epoch from '2026-08-12 21:39:10'::timestamp) - extract(epoch from '2026-08-12 21:39:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683658 -3.387419)', '2026-08-12 21:39:10', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68364 -3.387428)'), GeomFromEWKT('SRID=4674;POINT (-38.683658 -3.387419)'))) / (select extract(epoch from '2026-08-12 21:39:10'::timestamp) - extract(epoch from '2026-08-12 21:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68364 -3.387428)'), GeomFromEWKT('SRID=4674;POINT (-38.683658 -3.387419)'))) / (select extract(epoch from '2026-08-12 21:39:10'::timestamp) - extract(epoch from '2026-08-12 21:39:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683696 -3.387412)', '2026-08-12 21:39:10', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683658 -3.387419)'), GeomFromEWKT('SRID=4674;POINT (-38.683696 -3.387412)'))) / (select extract(epoch from '2026-08-12 21:39:10'::timestamp) - extract(epoch from '2026-08-12 21:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683658 -3.387419)'), GeomFromEWKT('SRID=4674;POINT (-38.683696 -3.387412)'))) / (select extract(epoch from '2026-08-12 21:39:10'::timestamp) - extract(epoch from '2026-08-12 21:39:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.68372 -3.387413)', '2026-08-12 21:39:11', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683696 -3.387412)'), GeomFromEWKT('SRID=4674;POINT (-38.68372 -3.387413)'))) / (select extract(epoch from '2026-08-12 21:39:11'::timestamp) - extract(epoch from '2026-08-12 21:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683696 -3.387412)'), GeomFromEWKT('SRID=4674;POINT (-38.68372 -3.387413)'))) / (select extract(epoch from '2026-08-12 21:39:11'::timestamp) - extract(epoch from '2026-08-12 21:39:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683743 -3.387428)', '2026-08-12 21:39:11', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68372 -3.387413)'), GeomFromEWKT('SRID=4674;POINT (-38.683743 -3.387428)'))) / (select extract(epoch from '2026-08-12 21:39:11'::timestamp) - extract(epoch from '2026-08-12 21:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68372 -3.387413)'), GeomFromEWKT('SRID=4674;POINT (-38.683743 -3.387428)'))) / (select extract(epoch from '2026-08-12 21:39:11'::timestamp) - extract(epoch from '2026-08-12 21:39:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683762 -3.38745)', '2026-08-12 21:39:11', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683743 -3.387428)'), GeomFromEWKT('SRID=4674;POINT (-38.683762 -3.38745)'))) / (select extract(epoch from '2026-08-12 21:39:11'::timestamp) - extract(epoch from '2026-08-12 21:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683743 -3.387428)'), GeomFromEWKT('SRID=4674;POINT (-38.683762 -3.38745)'))) / (select extract(epoch from '2026-08-12 21:39:11'::timestamp) - extract(epoch from '2026-08-12 21:39:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683784 -3.38747)', '2026-08-12 21:39:11', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683762 -3.38745)'), GeomFromEWKT('SRID=4674;POINT (-38.683784 -3.38747)'))) / (select extract(epoch from '2026-08-12 21:39:11'::timestamp) - extract(epoch from '2026-08-12 21:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683762 -3.38745)'), GeomFromEWKT('SRID=4674;POINT (-38.683784 -3.38747)'))) / (select extract(epoch from '2026-08-12 21:39:11'::timestamp) - extract(epoch from '2026-08-12 21:39:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683795 -3.387492)', '2026-08-12 21:39:11', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683784 -3.38747)'), GeomFromEWKT('SRID=4674;POINT (-38.683795 -3.387492)'))) / (select extract(epoch from '2026-08-12 21:39:11'::timestamp) - extract(epoch from '2026-08-12 21:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683784 -3.38747)'), GeomFromEWKT('SRID=4674;POINT (-38.683795 -3.387492)'))) / (select extract(epoch from '2026-08-12 21:39:11'::timestamp) - extract(epoch from '2026-08-12 21:39:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683815 -3.387515)', '2026-08-12 21:39:12', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683795 -3.387492)'), GeomFromEWKT('SRID=4674;POINT (-38.683815 -3.387515)'))) / (select extract(epoch from '2026-08-12 21:39:12'::timestamp) - extract(epoch from '2026-08-12 21:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683795 -3.387492)'), GeomFromEWKT('SRID=4674;POINT (-38.683815 -3.387515)'))) / (select extract(epoch from '2026-08-12 21:39:12'::timestamp) - extract(epoch from '2026-08-12 21:39:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683833 -3.387533)', '2026-08-12 21:39:12', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683815 -3.387515)'), GeomFromEWKT('SRID=4674;POINT (-38.683833 -3.387533)'))) / (select extract(epoch from '2026-08-12 21:39:12'::timestamp) - extract(epoch from '2026-08-12 21:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683815 -3.387515)'), GeomFromEWKT('SRID=4674;POINT (-38.683833 -3.387533)'))) / (select extract(epoch from '2026-08-12 21:39:12'::timestamp) - extract(epoch from '2026-08-12 21:39:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683851 -3.387544)', '2026-08-12 21:39:12', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683833 -3.387533)'), GeomFromEWKT('SRID=4674;POINT (-38.683851 -3.387544)'))) / (select extract(epoch from '2026-08-12 21:39:12'::timestamp) - extract(epoch from '2026-08-12 21:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683833 -3.387533)'), GeomFromEWKT('SRID=4674;POINT (-38.683851 -3.387544)'))) / (select extract(epoch from '2026-08-12 21:39:12'::timestamp) - extract(epoch from '2026-08-12 21:39:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.68386 -3.387556)', '2026-08-12 21:39:12', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683851 -3.387544)'), GeomFromEWKT('SRID=4674;POINT (-38.68386 -3.387556)'))) / (select extract(epoch from '2026-08-12 21:39:12'::timestamp) - extract(epoch from '2026-08-12 21:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683851 -3.387544)'), GeomFromEWKT('SRID=4674;POINT (-38.68386 -3.387556)'))) / (select extract(epoch from '2026-08-12 21:39:12'::timestamp) - extract(epoch from '2026-08-12 21:39:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683864 -3.38756)', '2026-08-12 21:39:12', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68386 -3.387556)'), GeomFromEWKT('SRID=4674;POINT (-38.683864 -3.38756)'))) / (select extract(epoch from '2026-08-12 21:39:12'::timestamp) - extract(epoch from '2026-08-12 21:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68386 -3.387556)'), GeomFromEWKT('SRID=4674;POINT (-38.683864 -3.38756)'))) / (select extract(epoch from '2026-08-12 21:39:12'::timestamp) - extract(epoch from '2026-08-12 21:39:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683892 -3.387585)', '2026-08-12 21:39:12', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683864 -3.38756)'), GeomFromEWKT('SRID=4674;POINT (-38.683892 -3.387585)'))) / (select extract(epoch from '2026-08-12 21:39:12'::timestamp) - extract(epoch from '2026-08-12 21:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683864 -3.38756)'), GeomFromEWKT('SRID=4674;POINT (-38.683892 -3.387585)'))) / (select extract(epoch from '2026-08-12 21:39:12'::timestamp) - extract(epoch from '2026-08-12 21:39:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683916 -3.387605)', '2026-08-12 21:39:12', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683892 -3.387585)'), GeomFromEWKT('SRID=4674;POINT (-38.683916 -3.387605)'))) / (select extract(epoch from '2026-08-12 21:39:12'::timestamp) - extract(epoch from '2026-08-12 21:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683892 -3.387585)'), GeomFromEWKT('SRID=4674;POINT (-38.683916 -3.387605)'))) / (select extract(epoch from '2026-08-12 21:39:12'::timestamp) - extract(epoch from '2026-08-12 21:39:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683921 -3.387617)', '2026-08-12 21:39:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683916 -3.387605)'), GeomFromEWKT('SRID=4674;POINT (-38.683921 -3.387617)'))) / (select extract(epoch from '2026-08-12 21:39:13'::timestamp) - extract(epoch from '2026-08-12 21:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683916 -3.387605)'), GeomFromEWKT('SRID=4674;POINT (-38.683921 -3.387617)'))) / (select extract(epoch from '2026-08-12 21:39:13'::timestamp) - extract(epoch from '2026-08-12 21:39:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683941 -3.387663)', '2026-08-12 21:39:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683921 -3.387617)'), GeomFromEWKT('SRID=4674;POINT (-38.683941 -3.387663)'))) / (select extract(epoch from '2026-08-12 21:39:13'::timestamp) - extract(epoch from '2026-08-12 21:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683921 -3.387617)'), GeomFromEWKT('SRID=4674;POINT (-38.683941 -3.387663)'))) / (select extract(epoch from '2026-08-12 21:39:13'::timestamp) - extract(epoch from '2026-08-12 21:39:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683951 -3.38767)', '2026-08-12 21:39:13', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683941 -3.387663)'), GeomFromEWKT('SRID=4674;POINT (-38.683951 -3.38767)'))) / (select extract(epoch from '2026-08-12 21:39:13'::timestamp) - extract(epoch from '2026-08-12 21:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683941 -3.387663)'), GeomFromEWKT('SRID=4674;POINT (-38.683951 -3.38767)'))) / (select extract(epoch from '2026-08-12 21:39:13'::timestamp) - extract(epoch from '2026-08-12 21:39:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.68398 -3.387719)', '2026-08-12 21:39:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683951 -3.38767)'), GeomFromEWKT('SRID=4674;POINT (-38.68398 -3.387719)'))) / (select extract(epoch from '2026-08-12 21:39:13'::timestamp) - extract(epoch from '2026-08-12 21:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683951 -3.38767)'), GeomFromEWKT('SRID=4674;POINT (-38.68398 -3.387719)'))) / (select extract(epoch from '2026-08-12 21:39:13'::timestamp) - extract(epoch from '2026-08-12 21:39:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684006 -3.387748)', '2026-08-12 21:39:14', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68398 -3.387719)'), GeomFromEWKT('SRID=4674;POINT (-38.684006 -3.387748)'))) / (select extract(epoch from '2026-08-12 21:39:14'::timestamp) - extract(epoch from '2026-08-12 21:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68398 -3.387719)'), GeomFromEWKT('SRID=4674;POINT (-38.684006 -3.387748)'))) / (select extract(epoch from '2026-08-12 21:39:14'::timestamp) - extract(epoch from '2026-08-12 21:39:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684034 -3.38775)', '2026-08-12 21:39:14', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684006 -3.387748)'), GeomFromEWKT('SRID=4674;POINT (-38.684034 -3.38775)'))) / (select extract(epoch from '2026-08-12 21:39:14'::timestamp) - extract(epoch from '2026-08-12 21:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684006 -3.387748)'), GeomFromEWKT('SRID=4674;POINT (-38.684034 -3.38775)'))) / (select extract(epoch from '2026-08-12 21:39:14'::timestamp) - extract(epoch from '2026-08-12 21:39:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684047 -3.387752)', '2026-08-12 21:39:14', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684034 -3.38775)'), GeomFromEWKT('SRID=4674;POINT (-38.684047 -3.387752)'))) / (select extract(epoch from '2026-08-12 21:39:14'::timestamp) - extract(epoch from '2026-08-12 21:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684034 -3.38775)'), GeomFromEWKT('SRID=4674;POINT (-38.684047 -3.387752)'))) / (select extract(epoch from '2026-08-12 21:39:14'::timestamp) - extract(epoch from '2026-08-12 21:39:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684074 -3.387768)', '2026-08-12 21:39:14', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684047 -3.387752)'), GeomFromEWKT('SRID=4674;POINT (-38.684074 -3.387768)'))) / (select extract(epoch from '2026-08-12 21:39:14'::timestamp) - extract(epoch from '2026-08-12 21:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684047 -3.387752)'), GeomFromEWKT('SRID=4674;POINT (-38.684074 -3.387768)'))) / (select extract(epoch from '2026-08-12 21:39:14'::timestamp) - extract(epoch from '2026-08-12 21:39:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.68409 -3.387768)', '2026-08-12 21:39:14', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684074 -3.387768)'), GeomFromEWKT('SRID=4674;POINT (-38.68409 -3.387768)'))) / (select extract(epoch from '2026-08-12 21:39:14'::timestamp) - extract(epoch from '2026-08-12 21:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684074 -3.387768)'), GeomFromEWKT('SRID=4674;POINT (-38.68409 -3.387768)'))) / (select extract(epoch from '2026-08-12 21:39:14'::timestamp) - extract(epoch from '2026-08-12 21:39:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684119 -3.387774)', '2026-08-12 21:39:14', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68409 -3.387768)'), GeomFromEWKT('SRID=4674;POINT (-38.684119 -3.387774)'))) / (select extract(epoch from '2026-08-12 21:39:14'::timestamp) - extract(epoch from '2026-08-12 21:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68409 -3.387768)'), GeomFromEWKT('SRID=4674;POINT (-38.684119 -3.387774)'))) / (select extract(epoch from '2026-08-12 21:39:14'::timestamp) - extract(epoch from '2026-08-12 21:39:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.68413 -3.387785)', '2026-08-12 21:39:15', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684119 -3.387774)'), GeomFromEWKT('SRID=4674;POINT (-38.68413 -3.387785)'))) / (select extract(epoch from '2026-08-12 21:39:15'::timestamp) - extract(epoch from '2026-08-12 21:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684119 -3.387774)'), GeomFromEWKT('SRID=4674;POINT (-38.68413 -3.387785)'))) / (select extract(epoch from '2026-08-12 21:39:15'::timestamp) - extract(epoch from '2026-08-12 21:39:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684129 -3.3878)', '2026-08-12 21:39:15', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68413 -3.387785)'), GeomFromEWKT('SRID=4674;POINT (-38.684129 -3.3878)'))) / (select extract(epoch from '2026-08-12 21:39:15'::timestamp) - extract(epoch from '2026-08-12 21:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68413 -3.387785)'), GeomFromEWKT('SRID=4674;POINT (-38.684129 -3.3878)'))) / (select extract(epoch from '2026-08-12 21:39:15'::timestamp) - extract(epoch from '2026-08-12 21:39:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684146 -3.387833)', '2026-08-12 21:39:15', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684129 -3.3878)'), GeomFromEWKT('SRID=4674;POINT (-38.684146 -3.387833)'))) / (select extract(epoch from '2026-08-12 21:39:15'::timestamp) - extract(epoch from '2026-08-12 21:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684129 -3.3878)'), GeomFromEWKT('SRID=4674;POINT (-38.684146 -3.387833)'))) / (select extract(epoch from '2026-08-12 21:39:15'::timestamp) - extract(epoch from '2026-08-12 21:39:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684149 -3.387833)', '2026-08-12 21:39:15', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684146 -3.387833)'), GeomFromEWKT('SRID=4674;POINT (-38.684149 -3.387833)'))) / (select extract(epoch from '2026-08-12 21:39:15'::timestamp) - extract(epoch from '2026-08-12 21:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684146 -3.387833)'), GeomFromEWKT('SRID=4674;POINT (-38.684149 -3.387833)'))) / (select extract(epoch from '2026-08-12 21:39:15'::timestamp) - extract(epoch from '2026-08-12 21:39:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684172 -3.387832)', '2026-08-12 21:39:15', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684149 -3.387833)'), GeomFromEWKT('SRID=4674;POINT (-38.684172 -3.387832)'))) / (select extract(epoch from '2026-08-12 21:39:15'::timestamp) - extract(epoch from '2026-08-12 21:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684149 -3.387833)'), GeomFromEWKT('SRID=4674;POINT (-38.684172 -3.387832)'))) / (select extract(epoch from '2026-08-12 21:39:15'::timestamp) - extract(epoch from '2026-08-12 21:39:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684177 -3.387829)', '2026-08-12 21:39:15', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684172 -3.387832)'), GeomFromEWKT('SRID=4674;POINT (-38.684177 -3.387829)'))) / (select extract(epoch from '2026-08-12 21:39:15'::timestamp) - extract(epoch from '2026-08-12 21:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684172 -3.387832)'), GeomFromEWKT('SRID=4674;POINT (-38.684177 -3.387829)'))) / (select extract(epoch from '2026-08-12 21:39:15'::timestamp) - extract(epoch from '2026-08-12 21:39:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684152 -3.387777)', '2026-08-12 21:39:16', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684177 -3.387829)'), GeomFromEWKT('SRID=4674;POINT (-38.684152 -3.387777)'))) / (select extract(epoch from '2026-08-12 21:39:16'::timestamp) - extract(epoch from '2026-08-12 21:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684177 -3.387829)'), GeomFromEWKT('SRID=4674;POINT (-38.684152 -3.387777)'))) / (select extract(epoch from '2026-08-12 21:39:16'::timestamp) - extract(epoch from '2026-08-12 21:39:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684114 -3.387711)', '2026-08-12 21:39:16', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684152 -3.387777)'), GeomFromEWKT('SRID=4674;POINT (-38.684114 -3.387711)'))) / (select extract(epoch from '2026-08-12 21:39:16'::timestamp) - extract(epoch from '2026-08-12 21:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684152 -3.387777)'), GeomFromEWKT('SRID=4674;POINT (-38.684114 -3.387711)'))) / (select extract(epoch from '2026-08-12 21:39:16'::timestamp) - extract(epoch from '2026-08-12 21:39:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684091 -3.387659)', '2026-08-12 21:39:16', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684114 -3.387711)'), GeomFromEWKT('SRID=4674;POINT (-38.684091 -3.387659)'))) / (select extract(epoch from '2026-08-12 21:39:16'::timestamp) - extract(epoch from '2026-08-12 21:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684114 -3.387711)'), GeomFromEWKT('SRID=4674;POINT (-38.684091 -3.387659)'))) / (select extract(epoch from '2026-08-12 21:39:16'::timestamp) - extract(epoch from '2026-08-12 21:39:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684095 -3.387653)', '2026-08-12 21:39:16', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684091 -3.387659)'), GeomFromEWKT('SRID=4674;POINT (-38.684095 -3.387653)'))) / (select extract(epoch from '2026-08-12 21:39:16'::timestamp) - extract(epoch from '2026-08-12 21:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684091 -3.387659)'), GeomFromEWKT('SRID=4674;POINT (-38.684095 -3.387653)'))) / (select extract(epoch from '2026-08-12 21:39:16'::timestamp) - extract(epoch from '2026-08-12 21:39:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684086 -3.387637)', '2026-08-12 21:39:17', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684095 -3.387653)'), GeomFromEWKT('SRID=4674;POINT (-38.684086 -3.387637)'))) / (select extract(epoch from '2026-08-12 21:39:17'::timestamp) - extract(epoch from '2026-08-12 21:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684095 -3.387653)'), GeomFromEWKT('SRID=4674;POINT (-38.684086 -3.387637)'))) / (select extract(epoch from '2026-08-12 21:39:17'::timestamp) - extract(epoch from '2026-08-12 21:39:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684087 -3.387612)', '2026-08-12 21:39:17', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684086 -3.387637)'), GeomFromEWKT('SRID=4674;POINT (-38.684087 -3.387612)'))) / (select extract(epoch from '2026-08-12 21:39:17'::timestamp) - extract(epoch from '2026-08-12 21:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684086 -3.387637)'), GeomFromEWKT('SRID=4674;POINT (-38.684087 -3.387612)'))) / (select extract(epoch from '2026-08-12 21:39:17'::timestamp) - extract(epoch from '2026-08-12 21:39:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684077 -3.387569)', '2026-08-12 21:39:17', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684087 -3.387612)'), GeomFromEWKT('SRID=4674;POINT (-38.684077 -3.387569)'))) / (select extract(epoch from '2026-08-12 21:39:17'::timestamp) - extract(epoch from '2026-08-12 21:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684087 -3.387612)'), GeomFromEWKT('SRID=4674;POINT (-38.684077 -3.387569)'))) / (select extract(epoch from '2026-08-12 21:39:17'::timestamp) - extract(epoch from '2026-08-12 21:39:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684052 -3.387521)', '2026-08-12 21:39:17', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684077 -3.387569)'), GeomFromEWKT('SRID=4674;POINT (-38.684052 -3.387521)'))) / (select extract(epoch from '2026-08-12 21:39:17'::timestamp) - extract(epoch from '2026-08-12 21:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684077 -3.387569)'), GeomFromEWKT('SRID=4674;POINT (-38.684052 -3.387521)'))) / (select extract(epoch from '2026-08-12 21:39:17'::timestamp) - extract(epoch from '2026-08-12 21:39:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684041 -3.387479)', '2026-08-12 21:39:18', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684052 -3.387521)'), GeomFromEWKT('SRID=4674;POINT (-38.684041 -3.387479)'))) / (select extract(epoch from '2026-08-12 21:39:18'::timestamp) - extract(epoch from '2026-08-12 21:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684052 -3.387521)'), GeomFromEWKT('SRID=4674;POINT (-38.684041 -3.387479)'))) / (select extract(epoch from '2026-08-12 21:39:18'::timestamp) - extract(epoch from '2026-08-12 21:39:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684026 -3.387437)', '2026-08-12 21:39:18', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684041 -3.387479)'), GeomFromEWKT('SRID=4674;POINT (-38.684026 -3.387437)'))) / (select extract(epoch from '2026-08-12 21:39:18'::timestamp) - extract(epoch from '2026-08-12 21:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684041 -3.387479)'), GeomFromEWKT('SRID=4674;POINT (-38.684026 -3.387437)'))) / (select extract(epoch from '2026-08-12 21:39:18'::timestamp) - extract(epoch from '2026-08-12 21:39:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684003 -3.387388)', '2026-08-12 21:39:18', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684026 -3.387437)'), GeomFromEWKT('SRID=4674;POINT (-38.684003 -3.387388)'))) / (select extract(epoch from '2026-08-12 21:39:18'::timestamp) - extract(epoch from '2026-08-12 21:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684026 -3.387437)'), GeomFromEWKT('SRID=4674;POINT (-38.684003 -3.387388)'))) / (select extract(epoch from '2026-08-12 21:39:18'::timestamp) - extract(epoch from '2026-08-12 21:39:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683984 -3.38733)', '2026-08-12 21:39:19', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684003 -3.387388)'), GeomFromEWKT('SRID=4674;POINT (-38.683984 -3.38733)'))) / (select extract(epoch from '2026-08-12 21:39:19'::timestamp) - extract(epoch from '2026-08-12 21:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684003 -3.387388)'), GeomFromEWKT('SRID=4674;POINT (-38.683984 -3.38733)'))) / (select extract(epoch from '2026-08-12 21:39:19'::timestamp) - extract(epoch from '2026-08-12 21:39:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683967 -3.387273)', '2026-08-12 21:39:19', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683984 -3.38733)'), GeomFromEWKT('SRID=4674;POINT (-38.683967 -3.387273)'))) / (select extract(epoch from '2026-08-12 21:39:19'::timestamp) - extract(epoch from '2026-08-12 21:39:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683984 -3.38733)'), GeomFromEWKT('SRID=4674;POINT (-38.683967 -3.387273)'))) / (select extract(epoch from '2026-08-12 21:39:19'::timestamp) - extract(epoch from '2026-08-12 21:39:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683944 -3.387176)', '2026-08-12 21:39:20', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683967 -3.387273)'), GeomFromEWKT('SRID=4674;POINT (-38.683944 -3.387176)'))) / (select extract(epoch from '2026-08-12 21:39:20'::timestamp) - extract(epoch from '2026-08-12 21:39:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683967 -3.387273)'), GeomFromEWKT('SRID=4674;POINT (-38.683944 -3.387176)'))) / (select extract(epoch from '2026-08-12 21:39:20'::timestamp) - extract(epoch from '2026-08-12 21:39:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683972 -3.3871)', '2026-08-12 21:39:20', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683944 -3.387176)'), GeomFromEWKT('SRID=4674;POINT (-38.683972 -3.3871)'))) / (select extract(epoch from '2026-08-12 21:39:20'::timestamp) - extract(epoch from '2026-08-12 21:39:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683944 -3.387176)'), GeomFromEWKT('SRID=4674;POINT (-38.683972 -3.3871)'))) / (select extract(epoch from '2026-08-12 21:39:20'::timestamp) - extract(epoch from '2026-08-12 21:39:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.683984 -3.38709)', '2026-08-12 21:39:20', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683972 -3.3871)'), GeomFromEWKT('SRID=4674;POINT (-38.683984 -3.38709)'))) / (select extract(epoch from '2026-08-12 21:39:20'::timestamp) - extract(epoch from '2026-08-12 21:39:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683972 -3.3871)'), GeomFromEWKT('SRID=4674;POINT (-38.683984 -3.38709)'))) / (select extract(epoch from '2026-08-12 21:39:20'::timestamp) - extract(epoch from '2026-08-12 21:39:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684036 -3.387069)', '2026-08-12 21:39:21', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683984 -3.38709)'), GeomFromEWKT('SRID=4674;POINT (-38.684036 -3.387069)'))) / (select extract(epoch from '2026-08-12 21:39:21'::timestamp) - extract(epoch from '2026-08-12 21:39:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.683984 -3.38709)'), GeomFromEWKT('SRID=4674;POINT (-38.684036 -3.387069)'))) / (select extract(epoch from '2026-08-12 21:39:21'::timestamp) - extract(epoch from '2026-08-12 21:39:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684048 -3.387072)', '2026-08-12 21:39:21', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684036 -3.387069)'), GeomFromEWKT('SRID=4674;POINT (-38.684048 -3.387072)'))) / (select extract(epoch from '2026-08-12 21:39:21'::timestamp) - extract(epoch from '2026-08-12 21:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684036 -3.387069)'), GeomFromEWKT('SRID=4674;POINT (-38.684048 -3.387072)'))) / (select extract(epoch from '2026-08-12 21:39:21'::timestamp) - extract(epoch from '2026-08-12 21:39:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684084 -3.387084)', '2026-08-12 21:39:21', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684048 -3.387072)'), GeomFromEWKT('SRID=4674;POINT (-38.684084 -3.387084)'))) / (select extract(epoch from '2026-08-12 21:39:21'::timestamp) - extract(epoch from '2026-08-12 21:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684048 -3.387072)'), GeomFromEWKT('SRID=4674;POINT (-38.684084 -3.387084)'))) / (select extract(epoch from '2026-08-12 21:39:21'::timestamp) - extract(epoch from '2026-08-12 21:39:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684098 -3.387106)', '2026-08-12 21:39:21', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684084 -3.387084)'), GeomFromEWKT('SRID=4674;POINT (-38.684098 -3.387106)'))) / (select extract(epoch from '2026-08-12 21:39:21'::timestamp) - extract(epoch from '2026-08-12 21:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684084 -3.387084)'), GeomFromEWKT('SRID=4674;POINT (-38.684098 -3.387106)'))) / (select extract(epoch from '2026-08-12 21:39:21'::timestamp) - extract(epoch from '2026-08-12 21:39:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684149 -3.387176)', '2026-08-12 21:39:22', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684098 -3.387106)'), GeomFromEWKT('SRID=4674;POINT (-38.684149 -3.387176)'))) / (select extract(epoch from '2026-08-12 21:39:22'::timestamp) - extract(epoch from '2026-08-12 21:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684098 -3.387106)'), GeomFromEWKT('SRID=4674;POINT (-38.684149 -3.387176)'))) / (select extract(epoch from '2026-08-12 21:39:22'::timestamp) - extract(epoch from '2026-08-12 21:39:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684156 -3.387254)', '2026-08-12 21:39:22', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684149 -3.387176)'), GeomFromEWKT('SRID=4674;POINT (-38.684156 -3.387254)'))) / (select extract(epoch from '2026-08-12 21:39:22'::timestamp) - extract(epoch from '2026-08-12 21:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684149 -3.387176)'), GeomFromEWKT('SRID=4674;POINT (-38.684156 -3.387254)'))) / (select extract(epoch from '2026-08-12 21:39:22'::timestamp) - extract(epoch from '2026-08-12 21:39:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684182 -3.387318)', '2026-08-12 21:39:23', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684156 -3.387254)'), GeomFromEWKT('SRID=4674;POINT (-38.684182 -3.387318)'))) / (select extract(epoch from '2026-08-12 21:39:23'::timestamp) - extract(epoch from '2026-08-12 21:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684156 -3.387254)'), GeomFromEWKT('SRID=4674;POINT (-38.684182 -3.387318)'))) / (select extract(epoch from '2026-08-12 21:39:23'::timestamp) - extract(epoch from '2026-08-12 21:39:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684204 -3.387392)', '2026-08-12 21:39:23', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684182 -3.387318)'), GeomFromEWKT('SRID=4674;POINT (-38.684204 -3.387392)'))) / (select extract(epoch from '2026-08-12 21:39:23'::timestamp) - extract(epoch from '2026-08-12 21:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684182 -3.387318)'), GeomFromEWKT('SRID=4674;POINT (-38.684204 -3.387392)'))) / (select extract(epoch from '2026-08-12 21:39:23'::timestamp) - extract(epoch from '2026-08-12 21:39:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.6842 -3.38746)', '2026-08-12 21:39:24', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684204 -3.387392)'), GeomFromEWKT('SRID=4674;POINT (-38.6842 -3.38746)'))) / (select extract(epoch from '2026-08-12 21:39:24'::timestamp) - extract(epoch from '2026-08-12 21:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684204 -3.387392)'), GeomFromEWKT('SRID=4674;POINT (-38.6842 -3.38746)'))) / (select extract(epoch from '2026-08-12 21:39:24'::timestamp) - extract(epoch from '2026-08-12 21:39:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684199 -3.387499)', '2026-08-12 21:39:24', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6842 -3.38746)'), GeomFromEWKT('SRID=4674;POINT (-38.684199 -3.387499)'))) / (select extract(epoch from '2026-08-12 21:39:24'::timestamp) - extract(epoch from '2026-08-12 21:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6842 -3.38746)'), GeomFromEWKT('SRID=4674;POINT (-38.684199 -3.387499)'))) / (select extract(epoch from '2026-08-12 21:39:24'::timestamp) - extract(epoch from '2026-08-12 21:39:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684203 -3.387518)', '2026-08-12 21:39:24', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684199 -3.387499)'), GeomFromEWKT('SRID=4674;POINT (-38.684203 -3.387518)'))) / (select extract(epoch from '2026-08-12 21:39:24'::timestamp) - extract(epoch from '2026-08-12 21:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684199 -3.387499)'), GeomFromEWKT('SRID=4674;POINT (-38.684203 -3.387518)'))) / (select extract(epoch from '2026-08-12 21:39:24'::timestamp) - extract(epoch from '2026-08-12 21:39:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684218 -3.387592)', '2026-08-12 21:39:25', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684203 -3.387518)'), GeomFromEWKT('SRID=4674;POINT (-38.684218 -3.387592)'))) / (select extract(epoch from '2026-08-12 21:39:25'::timestamp) - extract(epoch from '2026-08-12 21:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684203 -3.387518)'), GeomFromEWKT('SRID=4674;POINT (-38.684218 -3.387592)'))) / (select extract(epoch from '2026-08-12 21:39:25'::timestamp) - extract(epoch from '2026-08-12 21:39:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684233 -3.387675)', '2026-08-12 21:39:25', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684218 -3.387592)'), GeomFromEWKT('SRID=4674;POINT (-38.684233 -3.387675)'))) / (select extract(epoch from '2026-08-12 21:39:25'::timestamp) - extract(epoch from '2026-08-12 21:39:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684218 -3.387592)'), GeomFromEWKT('SRID=4674;POINT (-38.684233 -3.387675)'))) / (select extract(epoch from '2026-08-12 21:39:25'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684244 -3.387756)', '2026-08-12 21:39:26', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684233 -3.387675)'), GeomFromEWKT('SRID=4674;POINT (-38.684244 -3.387756)'))) / (select extract(epoch from '2026-08-12 21:39:26'::timestamp) - extract(epoch from '2026-08-12 21:39:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684233 -3.387675)'), GeomFromEWKT('SRID=4674;POINT (-38.684244 -3.387756)'))) / (select extract(epoch from '2026-08-12 21:39:26'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684248 -3.387826)', '2026-08-12 21:39:26', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684244 -3.387756)'), GeomFromEWKT('SRID=4674;POINT (-38.684248 -3.387826)'))) / (select extract(epoch from '2026-08-12 21:39:26'::timestamp) - extract(epoch from '2026-08-12 21:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684244 -3.387756)'), GeomFromEWKT('SRID=4674;POINT (-38.684248 -3.387826)'))) / (select extract(epoch from '2026-08-12 21:39:26'::timestamp) - extract(epoch from '2026-08-12 21:39:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684257 -3.387864)', '2026-08-12 21:39:27', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684248 -3.387826)'), GeomFromEWKT('SRID=4674;POINT (-38.684257 -3.387864)'))) / (select extract(epoch from '2026-08-12 21:39:27'::timestamp) - extract(epoch from '2026-08-12 21:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684248 -3.387826)'), GeomFromEWKT('SRID=4674;POINT (-38.684257 -3.387864)'))) / (select extract(epoch from '2026-08-12 21:39:27'::timestamp) - extract(epoch from '2026-08-12 21:39:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684261 -3.387905)', '2026-08-12 21:39:27', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684257 -3.387864)'), GeomFromEWKT('SRID=4674;POINT (-38.684261 -3.387905)'))) / (select extract(epoch from '2026-08-12 21:39:27'::timestamp) - extract(epoch from '2026-08-12 21:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684257 -3.387864)'), GeomFromEWKT('SRID=4674;POINT (-38.684261 -3.387905)'))) / (select extract(epoch from '2026-08-12 21:39:27'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684277 -3.387939)', '2026-08-12 21:39:27', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684261 -3.387905)'), GeomFromEWKT('SRID=4674;POINT (-38.684277 -3.387939)'))) / (select extract(epoch from '2026-08-12 21:39:27'::timestamp) - extract(epoch from '2026-08-12 21:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684261 -3.387905)'), GeomFromEWKT('SRID=4674;POINT (-38.684277 -3.387939)'))) / (select extract(epoch from '2026-08-12 21:39:27'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684275 -3.387967)', '2026-08-12 21:39:27', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684277 -3.387939)'), GeomFromEWKT('SRID=4674;POINT (-38.684275 -3.387967)'))) / (select extract(epoch from '2026-08-12 21:39:27'::timestamp) - extract(epoch from '2026-08-12 21:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684277 -3.387939)'), GeomFromEWKT('SRID=4674;POINT (-38.684275 -3.387967)'))) / (select extract(epoch from '2026-08-12 21:39:27'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684279 -3.387988)', '2026-08-12 21:39:27', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684275 -3.387967)'), GeomFromEWKT('SRID=4674;POINT (-38.684279 -3.387988)'))) / (select extract(epoch from '2026-08-12 21:39:27'::timestamp) - extract(epoch from '2026-08-12 21:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684275 -3.387967)'), GeomFromEWKT('SRID=4674;POINT (-38.684279 -3.387988)'))) / (select extract(epoch from '2026-08-12 21:39:27'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684307 -3.388023)', '2026-08-12 21:39:28', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684279 -3.387988)'), GeomFromEWKT('SRID=4674;POINT (-38.684307 -3.388023)'))) / (select extract(epoch from '2026-08-12 21:39:28'::timestamp) - extract(epoch from '2026-08-12 21:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684279 -3.387988)'), GeomFromEWKT('SRID=4674;POINT (-38.684307 -3.388023)'))) / (select extract(epoch from '2026-08-12 21:39:28'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684312 -3.388036)', '2026-08-12 21:39:28', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684307 -3.388023)'), GeomFromEWKT('SRID=4674;POINT (-38.684312 -3.388036)'))) / (select extract(epoch from '2026-08-12 21:39:28'::timestamp) - extract(epoch from '2026-08-12 21:39:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684307 -3.388023)'), GeomFromEWKT('SRID=4674;POINT (-38.684312 -3.388036)'))) / (select extract(epoch from '2026-08-12 21:39:28'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684315 -3.388066)', '2026-08-12 21:39:28', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684312 -3.388036)'), GeomFromEWKT('SRID=4674;POINT (-38.684315 -3.388066)'))) / (select extract(epoch from '2026-08-12 21:39:28'::timestamp) - extract(epoch from '2026-08-12 21:39:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684312 -3.388036)'), GeomFromEWKT('SRID=4674;POINT (-38.684315 -3.388066)'))) / (select extract(epoch from '2026-08-12 21:39:28'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684319 -3.388087)', '2026-08-12 21:39:28', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684315 -3.388066)'), GeomFromEWKT('SRID=4674;POINT (-38.684319 -3.388087)'))) / (select extract(epoch from '2026-08-12 21:39:28'::timestamp) - extract(epoch from '2026-08-12 21:39:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684315 -3.388066)'), GeomFromEWKT('SRID=4674;POINT (-38.684319 -3.388087)'))) / (select extract(epoch from '2026-08-12 21:39:28'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684322 -3.38813)', '2026-08-12 21:39:28', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684319 -3.388087)'), GeomFromEWKT('SRID=4674;POINT (-38.684322 -3.38813)'))) / (select extract(epoch from '2026-08-12 21:39:28'::timestamp) - extract(epoch from '2026-08-12 21:39:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684319 -3.388087)'), GeomFromEWKT('SRID=4674;POINT (-38.684322 -3.38813)'))) / (select extract(epoch from '2026-08-12 21:39:28'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684338 -3.38821)', '2026-08-12 21:39:29', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684322 -3.38813)'), GeomFromEWKT('SRID=4674;POINT (-38.684338 -3.38821)'))) / (select extract(epoch from '2026-08-12 21:39:29'::timestamp) - extract(epoch from '2026-08-12 21:39:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684322 -3.38813)'), GeomFromEWKT('SRID=4674;POINT (-38.684338 -3.38821)'))) / (select extract(epoch from '2026-08-12 21:39:29'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684353 -3.388294)', '2026-08-12 21:39:30', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684338 -3.38821)'), GeomFromEWKT('SRID=4674;POINT (-38.684353 -3.388294)'))) / (select extract(epoch from '2026-08-12 21:39:30'::timestamp) - extract(epoch from '2026-08-12 21:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684338 -3.38821)'), GeomFromEWKT('SRID=4674;POINT (-38.684353 -3.388294)'))) / (select extract(epoch from '2026-08-12 21:39:30'::timestamp) - extract(epoch from '2026-08-12 21:39:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684353 -3.388315)', '2026-08-12 21:39:30', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684353 -3.388294)'), GeomFromEWKT('SRID=4674;POINT (-38.684353 -3.388315)'))) / (select extract(epoch from '2026-08-12 21:39:30'::timestamp) - extract(epoch from '2026-08-12 21:39:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684353 -3.388294)'), GeomFromEWKT('SRID=4674;POINT (-38.684353 -3.388315)'))) / (select extract(epoch from '2026-08-12 21:39:30'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684365 -3.388366)', '2026-08-12 21:39:30', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684353 -3.388315)'), GeomFromEWKT('SRID=4674;POINT (-38.684365 -3.388366)'))) / (select extract(epoch from '2026-08-12 21:39:30'::timestamp) - extract(epoch from '2026-08-12 21:39:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684353 -3.388315)'), GeomFromEWKT('SRID=4674;POINT (-38.684365 -3.388366)'))) / (select extract(epoch from '2026-08-12 21:39:30'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.68437 -3.388421)', '2026-08-12 21:39:30', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684365 -3.388366)'), GeomFromEWKT('SRID=4674;POINT (-38.68437 -3.388421)'))) / (select extract(epoch from '2026-08-12 21:39:30'::timestamp) - extract(epoch from '2026-08-12 21:39:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684365 -3.388366)'), GeomFromEWKT('SRID=4674;POINT (-38.68437 -3.388421)'))) / (select extract(epoch from '2026-08-12 21:39:30'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684389 -3.38846)', '2026-08-12 21:39:31', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68437 -3.388421)'), GeomFromEWKT('SRID=4674;POINT (-38.684389 -3.38846)'))) / (select extract(epoch from '2026-08-12 21:39:31'::timestamp) - extract(epoch from '2026-08-12 21:39:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68437 -3.388421)'), GeomFromEWKT('SRID=4674;POINT (-38.684389 -3.38846)'))) / (select extract(epoch from '2026-08-12 21:39:31'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684386 -3.3885)', '2026-08-12 21:39:31', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684389 -3.38846)'), GeomFromEWKT('SRID=4674;POINT (-38.684386 -3.3885)'))) / (select extract(epoch from '2026-08-12 21:39:31'::timestamp) - extract(epoch from '2026-08-12 21:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684389 -3.38846)'), GeomFromEWKT('SRID=4674;POINT (-38.684386 -3.3885)'))) / (select extract(epoch from '2026-08-12 21:39:31'::timestamp) - extract(epoch from '2026-08-12 21:39:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684403 -3.388578)', '2026-08-12 21:39:32', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684386 -3.3885)'), GeomFromEWKT('SRID=4674;POINT (-38.684403 -3.388578)'))) / (select extract(epoch from '2026-08-12 21:39:32'::timestamp) - extract(epoch from '2026-08-12 21:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684386 -3.3885)'), GeomFromEWKT('SRID=4674;POINT (-38.684403 -3.388578)'))) / (select extract(epoch from '2026-08-12 21:39:32'::timestamp) - extract(epoch from '2026-08-12 21:39:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684408 -3.388587)', '2026-08-12 21:39:32', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684403 -3.388578)'), GeomFromEWKT('SRID=4674;POINT (-38.684408 -3.388587)'))) / (select extract(epoch from '2026-08-12 21:39:32'::timestamp) - extract(epoch from '2026-08-12 21:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684403 -3.388578)'), GeomFromEWKT('SRID=4674;POINT (-38.684408 -3.388587)'))) / (select extract(epoch from '2026-08-12 21:39:32'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684415 -3.388658)', '2026-08-12 21:39:32', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684408 -3.388587)'), GeomFromEWKT('SRID=4674;POINT (-38.684415 -3.388658)'))) / (select extract(epoch from '2026-08-12 21:39:32'::timestamp) - extract(epoch from '2026-08-12 21:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684408 -3.388587)'), GeomFromEWKT('SRID=4674;POINT (-38.684415 -3.388658)'))) / (select extract(epoch from '2026-08-12 21:39:32'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684434 -3.3887)', '2026-08-12 21:39:32', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684415 -3.388658)'), GeomFromEWKT('SRID=4674;POINT (-38.684434 -3.3887)'))) / (select extract(epoch from '2026-08-12 21:39:32'::timestamp) - extract(epoch from '2026-08-12 21:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684415 -3.388658)'), GeomFromEWKT('SRID=4674;POINT (-38.684434 -3.3887)'))) / (select extract(epoch from '2026-08-12 21:39:32'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684439 -3.388716)', '2026-08-12 21:39:32', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684434 -3.3887)'), GeomFromEWKT('SRID=4674;POINT (-38.684439 -3.388716)'))) / (select extract(epoch from '2026-08-12 21:39:32'::timestamp) - extract(epoch from '2026-08-12 21:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684434 -3.3887)'), GeomFromEWKT('SRID=4674;POINT (-38.684439 -3.388716)'))) / (select extract(epoch from '2026-08-12 21:39:32'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684453 -3.388757)', '2026-08-12 21:39:33', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684439 -3.388716)'), GeomFromEWKT('SRID=4674;POINT (-38.684453 -3.388757)'))) / (select extract(epoch from '2026-08-12 21:39:33'::timestamp) - extract(epoch from '2026-08-12 21:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684439 -3.388716)'), GeomFromEWKT('SRID=4674;POINT (-38.684453 -3.388757)'))) / (select extract(epoch from '2026-08-12 21:39:33'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684471 -3.388807)', '2026-08-12 21:39:33', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684453 -3.388757)'), GeomFromEWKT('SRID=4674;POINT (-38.684471 -3.388807)'))) / (select extract(epoch from '2026-08-12 21:39:33'::timestamp) - extract(epoch from '2026-08-12 21:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684453 -3.388757)'), GeomFromEWKT('SRID=4674;POINT (-38.684471 -3.388807)'))) / (select extract(epoch from '2026-08-12 21:39:33'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684496 -3.388902)', '2026-08-12 21:39:34', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684471 -3.388807)'), GeomFromEWKT('SRID=4674;POINT (-38.684496 -3.388902)'))) / (select extract(epoch from '2026-08-12 21:39:34'::timestamp) - extract(epoch from '2026-08-12 21:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684471 -3.388807)'), GeomFromEWKT('SRID=4674;POINT (-38.684496 -3.388902)'))) / (select extract(epoch from '2026-08-12 21:39:34'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684501 -3.388926)', '2026-08-12 21:39:34', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684496 -3.388902)'), GeomFromEWKT('SRID=4674;POINT (-38.684501 -3.388926)'))) / (select extract(epoch from '2026-08-12 21:39:34'::timestamp) - extract(epoch from '2026-08-12 21:39:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684496 -3.388902)'), GeomFromEWKT('SRID=4674;POINT (-38.684501 -3.388926)'))) / (select extract(epoch from '2026-08-12 21:39:34'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684513 -3.389)', '2026-08-12 21:39:34', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684501 -3.388926)'), GeomFromEWKT('SRID=4674;POINT (-38.684513 -3.389)'))) / (select extract(epoch from '2026-08-12 21:39:34'::timestamp) - extract(epoch from '2026-08-12 21:39:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684501 -3.388926)'), GeomFromEWKT('SRID=4674;POINT (-38.684513 -3.389)'))) / (select extract(epoch from '2026-08-12 21:39:34'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684522 -3.38908)', '2026-08-12 21:39:35', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684513 -3.389)'), GeomFromEWKT('SRID=4674;POINT (-38.684522 -3.38908)'))) / (select extract(epoch from '2026-08-12 21:39:35'::timestamp) - extract(epoch from '2026-08-12 21:39:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684513 -3.389)'), GeomFromEWKT('SRID=4674;POINT (-38.684522 -3.38908)'))) / (select extract(epoch from '2026-08-12 21:39:35'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684529 -3.38912)', '2026-08-12 21:39:35', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684522 -3.38908)'), GeomFromEWKT('SRID=4674;POINT (-38.684529 -3.38912)'))) / (select extract(epoch from '2026-08-12 21:39:35'::timestamp) - extract(epoch from '2026-08-12 21:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684522 -3.38908)'), GeomFromEWKT('SRID=4674;POINT (-38.684529 -3.38912)'))) / (select extract(epoch from '2026-08-12 21:39:35'::timestamp) - extract(epoch from '2026-08-12 21:39:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684525 -3.389142)', '2026-08-12 21:39:35', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684529 -3.38912)'), GeomFromEWKT('SRID=4674;POINT (-38.684525 -3.389142)'))) / (select extract(epoch from '2026-08-12 21:39:35'::timestamp) - extract(epoch from '2026-08-12 21:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684529 -3.38912)'), GeomFromEWKT('SRID=4674;POINT (-38.684525 -3.389142)'))) / (select extract(epoch from '2026-08-12 21:39:35'::timestamp) - extract(epoch from '2026-08-12 21:39:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.68453 -3.389159)', '2026-08-12 21:39:36', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684525 -3.389142)'), GeomFromEWKT('SRID=4674;POINT (-38.68453 -3.389159)'))) / (select extract(epoch from '2026-08-12 21:39:36'::timestamp) - extract(epoch from '2026-08-12 21:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684525 -3.389142)'), GeomFromEWKT('SRID=4674;POINT (-38.68453 -3.389159)'))) / (select extract(epoch from '2026-08-12 21:39:36'::timestamp) - extract(epoch from '2026-08-12 21:39:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684536 -3.389237)', '2026-08-12 21:39:36', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68453 -3.389159)'), GeomFromEWKT('SRID=4674;POINT (-38.684536 -3.389237)'))) / (select extract(epoch from '2026-08-12 21:39:36'::timestamp) - extract(epoch from '2026-08-12 21:39:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68453 -3.389159)'), GeomFromEWKT('SRID=4674;POINT (-38.684536 -3.389237)'))) / (select extract(epoch from '2026-08-12 21:39:36'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684533 -3.389319)', '2026-08-12 21:39:37', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684536 -3.389237)'), GeomFromEWKT('SRID=4674;POINT (-38.684533 -3.389319)'))) / (select extract(epoch from '2026-08-12 21:39:37'::timestamp) - extract(epoch from '2026-08-12 21:39:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684536 -3.389237)'), GeomFromEWKT('SRID=4674;POINT (-38.684533 -3.389319)'))) / (select extract(epoch from '2026-08-12 21:39:37'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684539 -3.389341)', '2026-08-12 21:39:37', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684533 -3.389319)'), GeomFromEWKT('SRID=4674;POINT (-38.684539 -3.389341)'))) / (select extract(epoch from '2026-08-12 21:39:37'::timestamp) - extract(epoch from '2026-08-12 21:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684533 -3.389319)'), GeomFromEWKT('SRID=4674;POINT (-38.684539 -3.389341)'))) / (select extract(epoch from '2026-08-12 21:39:37'::timestamp) - extract(epoch from '2026-08-12 21:39:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684538 -3.389371)', '2026-08-12 21:39:37', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684539 -3.389341)'), GeomFromEWKT('SRID=4674;POINT (-38.684538 -3.389371)'))) / (select extract(epoch from '2026-08-12 21:39:37'::timestamp) - extract(epoch from '2026-08-12 21:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684539 -3.389341)'), GeomFromEWKT('SRID=4674;POINT (-38.684538 -3.389371)'))) / (select extract(epoch from '2026-08-12 21:39:37'::timestamp) - extract(epoch from '2026-08-12 21:39:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684543 -3.389381)', '2026-08-12 21:39:37', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684538 -3.389371)'), GeomFromEWKT('SRID=4674;POINT (-38.684543 -3.389381)'))) / (select extract(epoch from '2026-08-12 21:39:37'::timestamp) - extract(epoch from '2026-08-12 21:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684538 -3.389371)'), GeomFromEWKT('SRID=4674;POINT (-38.684543 -3.389381)'))) / (select extract(epoch from '2026-08-12 21:39:37'::timestamp) - extract(epoch from '2026-08-12 21:39:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684547 -3.389409)', '2026-08-12 21:39:37', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684543 -3.389381)'), GeomFromEWKT('SRID=4674;POINT (-38.684547 -3.389409)'))) / (select extract(epoch from '2026-08-12 21:39:37'::timestamp) - extract(epoch from '2026-08-12 21:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684543 -3.389381)'), GeomFromEWKT('SRID=4674;POINT (-38.684547 -3.389409)'))) / (select extract(epoch from '2026-08-12 21:39:37'::timestamp) - extract(epoch from '2026-08-12 21:39:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684546 -3.389432)', '2026-08-12 21:39:37', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684547 -3.389409)'), GeomFromEWKT('SRID=4674;POINT (-38.684546 -3.389432)'))) / (select extract(epoch from '2026-08-12 21:39:37'::timestamp) - extract(epoch from '2026-08-12 21:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684547 -3.389409)'), GeomFromEWKT('SRID=4674;POINT (-38.684546 -3.389432)'))) / (select extract(epoch from '2026-08-12 21:39:37'::timestamp) - extract(epoch from '2026-08-12 21:39:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684551 -3.389446)', '2026-08-12 21:39:37', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684546 -3.389432)'), GeomFromEWKT('SRID=4674;POINT (-38.684551 -3.389446)'))) / (select extract(epoch from '2026-08-12 21:39:37'::timestamp) - extract(epoch from '2026-08-12 21:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684546 -3.389432)'), GeomFromEWKT('SRID=4674;POINT (-38.684551 -3.389446)'))) / (select extract(epoch from '2026-08-12 21:39:37'::timestamp) - extract(epoch from '2026-08-12 21:39:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.68455 -3.389458)', '2026-08-12 21:39:38', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684551 -3.389446)'), GeomFromEWKT('SRID=4674;POINT (-38.68455 -3.389458)'))) / (select extract(epoch from '2026-08-12 21:39:38'::timestamp) - extract(epoch from '2026-08-12 21:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684551 -3.389446)'), GeomFromEWKT('SRID=4674;POINT (-38.68455 -3.389458)'))) / (select extract(epoch from '2026-08-12 21:39:38'::timestamp) - extract(epoch from '2026-08-12 21:39:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684552 -3.389501)', '2026-08-12 21:39:38', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68455 -3.389458)'), GeomFromEWKT('SRID=4674;POINT (-38.684552 -3.389501)'))) / (select extract(epoch from '2026-08-12 21:39:38'::timestamp) - extract(epoch from '2026-08-12 21:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68455 -3.389458)'), GeomFromEWKT('SRID=4674;POINT (-38.684552 -3.389501)'))) / (select extract(epoch from '2026-08-12 21:39:38'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684554 -3.389548)', '2026-08-12 21:39:38', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684552 -3.389501)'), GeomFromEWKT('SRID=4674;POINT (-38.684554 -3.389548)'))) / (select extract(epoch from '2026-08-12 21:39:38'::timestamp) - extract(epoch from '2026-08-12 21:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684552 -3.389501)'), GeomFromEWKT('SRID=4674;POINT (-38.684554 -3.389548)'))) / (select extract(epoch from '2026-08-12 21:39:38'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684564 -3.389616)', '2026-08-12 21:39:39', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684554 -3.389548)'), GeomFromEWKT('SRID=4674;POINT (-38.684564 -3.389616)'))) / (select extract(epoch from '2026-08-12 21:39:39'::timestamp) - extract(epoch from '2026-08-12 21:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684554 -3.389548)'), GeomFromEWKT('SRID=4674;POINT (-38.684564 -3.389616)'))) / (select extract(epoch from '2026-08-12 21:39:39'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.68456 -3.389643)', '2026-08-12 21:39:39', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684564 -3.389616)'), GeomFromEWKT('SRID=4674;POINT (-38.68456 -3.389643)'))) / (select extract(epoch from '2026-08-12 21:39:39'::timestamp) - extract(epoch from '2026-08-12 21:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684564 -3.389616)'), GeomFromEWKT('SRID=4674;POINT (-38.68456 -3.389643)'))) / (select extract(epoch from '2026-08-12 21:39:39'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684578 -3.389719)', '2026-08-12 21:39:39', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68456 -3.389643)'), GeomFromEWKT('SRID=4674;POINT (-38.684578 -3.389719)'))) / (select extract(epoch from '2026-08-12 21:39:39'::timestamp) - extract(epoch from '2026-08-12 21:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68456 -3.389643)'), GeomFromEWKT('SRID=4674;POINT (-38.684578 -3.389719)'))) / (select extract(epoch from '2026-08-12 21:39:39'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684583 -3.389763)', '2026-08-12 21:39:40', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684578 -3.389719)'), GeomFromEWKT('SRID=4674;POINT (-38.684583 -3.389763)'))) / (select extract(epoch from '2026-08-12 21:39:40'::timestamp) - extract(epoch from '2026-08-12 21:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684578 -3.389719)'), GeomFromEWKT('SRID=4674;POINT (-38.684583 -3.389763)'))) / (select extract(epoch from '2026-08-12 21:39:40'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684582 -3.389813)', '2026-08-12 21:39:40', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684583 -3.389763)'), GeomFromEWKT('SRID=4674;POINT (-38.684582 -3.389813)'))) / (select extract(epoch from '2026-08-12 21:39:40'::timestamp) - extract(epoch from '2026-08-12 21:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684583 -3.389763)'), GeomFromEWKT('SRID=4674;POINT (-38.684582 -3.389813)'))) / (select extract(epoch from '2026-08-12 21:39:40'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684579 -3.389855)', '2026-08-12 21:39:40', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684582 -3.389813)'), GeomFromEWKT('SRID=4674;POINT (-38.684579 -3.389855)'))) / (select extract(epoch from '2026-08-12 21:39:40'::timestamp) - extract(epoch from '2026-08-12 21:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684582 -3.389813)'), GeomFromEWKT('SRID=4674;POINT (-38.684579 -3.389855)'))) / (select extract(epoch from '2026-08-12 21:39:40'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684583 -3.389866)', '2026-08-12 21:39:40', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684579 -3.389855)'), GeomFromEWKT('SRID=4674;POINT (-38.684583 -3.389866)'))) / (select extract(epoch from '2026-08-12 21:39:40'::timestamp) - extract(epoch from '2026-08-12 21:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684579 -3.389855)'), GeomFromEWKT('SRID=4674;POINT (-38.684583 -3.389866)'))) / (select extract(epoch from '2026-08-12 21:39:40'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684592 -3.389928)', '2026-08-12 21:39:41', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684583 -3.389866)'), GeomFromEWKT('SRID=4674;POINT (-38.684592 -3.389928)'))) / (select extract(epoch from '2026-08-12 21:39:41'::timestamp) - extract(epoch from '2026-08-12 21:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684583 -3.389866)'), GeomFromEWKT('SRID=4674;POINT (-38.684592 -3.389928)'))) / (select extract(epoch from '2026-08-12 21:39:41'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684596 -3.390019)', '2026-08-12 21:39:41', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684592 -3.389928)'), GeomFromEWKT('SRID=4674;POINT (-38.684596 -3.390019)'))) / (select extract(epoch from '2026-08-12 21:39:41'::timestamp) - extract(epoch from '2026-08-12 21:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684592 -3.389928)'), GeomFromEWKT('SRID=4674;POINT (-38.684596 -3.390019)'))) / (select extract(epoch from '2026-08-12 21:39:41'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684602 -3.39009)', '2026-08-12 21:39:42', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684596 -3.390019)'), GeomFromEWKT('SRID=4674;POINT (-38.684602 -3.39009)'))) / (select extract(epoch from '2026-08-12 21:39:42'::timestamp) - extract(epoch from '2026-08-12 21:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684596 -3.390019)'), GeomFromEWKT('SRID=4674;POINT (-38.684602 -3.39009)'))) / (select extract(epoch from '2026-08-12 21:39:42'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684594 -3.390155)', '2026-08-12 21:39:42', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684602 -3.39009)'), GeomFromEWKT('SRID=4674;POINT (-38.684594 -3.390155)'))) / (select extract(epoch from '2026-08-12 21:39:42'::timestamp) - extract(epoch from '2026-08-12 21:39:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684602 -3.39009)'), GeomFromEWKT('SRID=4674;POINT (-38.684594 -3.390155)'))) / (select extract(epoch from '2026-08-12 21:39:42'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684585 -3.390228)', '2026-08-12 21:39:43', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684594 -3.390155)'), GeomFromEWKT('SRID=4674;POINT (-38.684585 -3.390228)'))) / (select extract(epoch from '2026-08-12 21:39:43'::timestamp) - extract(epoch from '2026-08-12 21:39:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684594 -3.390155)'), GeomFromEWKT('SRID=4674;POINT (-38.684585 -3.390228)'))) / (select extract(epoch from '2026-08-12 21:39:43'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684589 -3.390276)', '2026-08-12 21:39:43', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684585 -3.390228)'), GeomFromEWKT('SRID=4674;POINT (-38.684589 -3.390276)'))) / (select extract(epoch from '2026-08-12 21:39:43'::timestamp) - extract(epoch from '2026-08-12 21:39:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684585 -3.390228)'), GeomFromEWKT('SRID=4674;POINT (-38.684589 -3.390276)'))) / (select extract(epoch from '2026-08-12 21:39:43'::timestamp) - extract(epoch from '2026-08-12 21:39:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684592 -3.390299)', '2026-08-12 21:39:43', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684589 -3.390276)'), GeomFromEWKT('SRID=4674;POINT (-38.684592 -3.390299)'))) / (select extract(epoch from '2026-08-12 21:39:43'::timestamp) - extract(epoch from '2026-08-12 21:39:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684589 -3.390276)'), GeomFromEWKT('SRID=4674;POINT (-38.684592 -3.390299)'))) / (select extract(epoch from '2026-08-12 21:39:43'::timestamp) - extract(epoch from '2026-08-12 21:39:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684606 -3.39036)', '2026-08-12 21:39:44', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684592 -3.390299)'), GeomFromEWKT('SRID=4674;POINT (-38.684606 -3.39036)'))) / (select extract(epoch from '2026-08-12 21:39:44'::timestamp) - extract(epoch from '2026-08-12 21:39:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684592 -3.390299)'), GeomFromEWKT('SRID=4674;POINT (-38.684606 -3.39036)'))) / (select extract(epoch from '2026-08-12 21:39:44'::timestamp) - extract(epoch from '2026-08-12 21:39:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684625 -3.390417)', '2026-08-12 21:39:44', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684606 -3.39036)'), GeomFromEWKT('SRID=4674;POINT (-38.684625 -3.390417)'))) / (select extract(epoch from '2026-08-12 21:39:44'::timestamp) - extract(epoch from '2026-08-12 21:39:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684606 -3.39036)'), GeomFromEWKT('SRID=4674;POINT (-38.684625 -3.390417)'))) / (select extract(epoch from '2026-08-12 21:39:44'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.68463 -3.390423)', '2026-08-12 21:39:44', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684625 -3.390417)'), GeomFromEWKT('SRID=4674;POINT (-38.68463 -3.390423)'))) / (select extract(epoch from '2026-08-12 21:39:44'::timestamp) - extract(epoch from '2026-08-12 21:39:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684625 -3.390417)'), GeomFromEWKT('SRID=4674;POINT (-38.68463 -3.390423)'))) / (select extract(epoch from '2026-08-12 21:39:44'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684643 -3.390493)', '2026-08-12 21:39:45', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68463 -3.390423)'), GeomFromEWKT('SRID=4674;POINT (-38.684643 -3.390493)'))) / (select extract(epoch from '2026-08-12 21:39:45'::timestamp) - extract(epoch from '2026-08-12 21:39:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68463 -3.390423)'), GeomFromEWKT('SRID=4674;POINT (-38.684643 -3.390493)'))) / (select extract(epoch from '2026-08-12 21:39:45'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684655 -3.390557)', '2026-08-12 21:39:45', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684643 -3.390493)'), GeomFromEWKT('SRID=4674;POINT (-38.684655 -3.390557)'))) / (select extract(epoch from '2026-08-12 21:39:45'::timestamp) - extract(epoch from '2026-08-12 21:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684643 -3.390493)'), GeomFromEWKT('SRID=4674;POINT (-38.684655 -3.390557)'))) / (select extract(epoch from '2026-08-12 21:39:45'::timestamp) - extract(epoch from '2026-08-12 21:39:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684665 -3.390598)', '2026-08-12 21:39:45', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684655 -3.390557)'), GeomFromEWKT('SRID=4674;POINT (-38.684665 -3.390598)'))) / (select extract(epoch from '2026-08-12 21:39:45'::timestamp) - extract(epoch from '2026-08-12 21:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684655 -3.390557)'), GeomFromEWKT('SRID=4674;POINT (-38.684665 -3.390598)'))) / (select extract(epoch from '2026-08-12 21:39:45'::timestamp) - extract(epoch from '2026-08-12 21:39:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684666 -3.390629)', '2026-08-12 21:39:45', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684665 -3.390598)'), GeomFromEWKT('SRID=4674;POINT (-38.684666 -3.390629)'))) / (select extract(epoch from '2026-08-12 21:39:45'::timestamp) - extract(epoch from '2026-08-12 21:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684665 -3.390598)'), GeomFromEWKT('SRID=4674;POINT (-38.684666 -3.390629)'))) / (select extract(epoch from '2026-08-12 21:39:45'::timestamp) - extract(epoch from '2026-08-12 21:39:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684681 -3.390708)', '2026-08-12 21:39:46', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684666 -3.390629)'), GeomFromEWKT('SRID=4674;POINT (-38.684681 -3.390708)'))) / (select extract(epoch from '2026-08-12 21:39:46'::timestamp) - extract(epoch from '2026-08-12 21:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684666 -3.390629)'), GeomFromEWKT('SRID=4674;POINT (-38.684681 -3.390708)'))) / (select extract(epoch from '2026-08-12 21:39:46'::timestamp) - extract(epoch from '2026-08-12 21:39:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.68469 -3.390737)', '2026-08-12 21:39:46', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684681 -3.390708)'), GeomFromEWKT('SRID=4674;POINT (-38.68469 -3.390737)'))) / (select extract(epoch from '2026-08-12 21:39:46'::timestamp) - extract(epoch from '2026-08-12 21:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684681 -3.390708)'), GeomFromEWKT('SRID=4674;POINT (-38.68469 -3.390737)'))) / (select extract(epoch from '2026-08-12 21:39:46'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684695 -3.390767)', '2026-08-12 21:39:46', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68469 -3.390737)'), GeomFromEWKT('SRID=4674;POINT (-38.684695 -3.390767)'))) / (select extract(epoch from '2026-08-12 21:39:46'::timestamp) - extract(epoch from '2026-08-12 21:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68469 -3.390737)'), GeomFromEWKT('SRID=4674;POINT (-38.684695 -3.390767)'))) / (select extract(epoch from '2026-08-12 21:39:46'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684693 -3.390776)', '2026-08-12 21:39:46', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684695 -3.390767)'), GeomFromEWKT('SRID=4674;POINT (-38.684693 -3.390776)'))) / (select extract(epoch from '2026-08-12 21:39:46'::timestamp) - extract(epoch from '2026-08-12 21:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684695 -3.390767)'), GeomFromEWKT('SRID=4674;POINT (-38.684693 -3.390776)'))) / (select extract(epoch from '2026-08-12 21:39:46'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684693 -3.390816)', '2026-08-12 21:39:47', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684693 -3.390776)'), GeomFromEWKT('SRID=4674;POINT (-38.684693 -3.390816)'))) / (select extract(epoch from '2026-08-12 21:39:47'::timestamp) - extract(epoch from '2026-08-12 21:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684693 -3.390776)'), GeomFromEWKT('SRID=4674;POINT (-38.684693 -3.390816)'))) / (select extract(epoch from '2026-08-12 21:39:47'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.6847 -3.390838)', '2026-08-12 21:39:47', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684693 -3.390816)'), GeomFromEWKT('SRID=4674;POINT (-38.6847 -3.390838)'))) / (select extract(epoch from '2026-08-12 21:39:47'::timestamp) - extract(epoch from '2026-08-12 21:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684693 -3.390816)'), GeomFromEWKT('SRID=4674;POINT (-38.6847 -3.390838)'))) / (select extract(epoch from '2026-08-12 21:39:47'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684731 -3.390901)', '2026-08-12 21:39:47', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6847 -3.390838)'), GeomFromEWKT('SRID=4674;POINT (-38.684731 -3.390901)'))) / (select extract(epoch from '2026-08-12 21:39:47'::timestamp) - extract(epoch from '2026-08-12 21:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6847 -3.390838)'), GeomFromEWKT('SRID=4674;POINT (-38.684731 -3.390901)'))) / (select extract(epoch from '2026-08-12 21:39:47'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684765 -3.390996)', '2026-08-12 21:39:48', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684731 -3.390901)'), GeomFromEWKT('SRID=4674;POINT (-38.684765 -3.390996)'))) / (select extract(epoch from '2026-08-12 21:39:48'::timestamp) - extract(epoch from '2026-08-12 21:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684731 -3.390901)'), GeomFromEWKT('SRID=4674;POINT (-38.684765 -3.390996)'))) / (select extract(epoch from '2026-08-12 21:39:48'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684778 -3.391115)', '2026-08-12 21:39:49', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684765 -3.390996)'), GeomFromEWKT('SRID=4674;POINT (-38.684778 -3.391115)'))) / (select extract(epoch from '2026-08-12 21:39:49'::timestamp) - extract(epoch from '2026-08-12 21:39:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684765 -3.390996)'), GeomFromEWKT('SRID=4674;POINT (-38.684778 -3.391115)'))) / (select extract(epoch from '2026-08-12 21:39:49'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684802 -3.391227)', '2026-08-12 21:39:50', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684778 -3.391115)'), GeomFromEWKT('SRID=4674;POINT (-38.684802 -3.391227)'))) / (select extract(epoch from '2026-08-12 21:39:50'::timestamp) - extract(epoch from '2026-08-12 21:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684778 -3.391115)'), GeomFromEWKT('SRID=4674;POINT (-38.684802 -3.391227)'))) / (select extract(epoch from '2026-08-12 21:39:50'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684814 -3.391334)', '2026-08-12 21:39:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684802 -3.391227)'), GeomFromEWKT('SRID=4674;POINT (-38.684814 -3.391334)'))) / (select extract(epoch from '2026-08-12 21:39:50'::timestamp) - extract(epoch from '2026-08-12 21:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684802 -3.391227)'), GeomFromEWKT('SRID=4674;POINT (-38.684814 -3.391334)'))) / (select extract(epoch from '2026-08-12 21:39:50'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684816 -3.39143)', '2026-08-12 21:39:51', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684814 -3.391334)'), GeomFromEWKT('SRID=4674;POINT (-38.684816 -3.39143)'))) / (select extract(epoch from '2026-08-12 21:39:51'::timestamp) - extract(epoch from '2026-08-12 21:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684814 -3.391334)'), GeomFromEWKT('SRID=4674;POINT (-38.684816 -3.39143)'))) / (select extract(epoch from '2026-08-12 21:39:51'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684814 -3.391449)', '2026-08-12 21:39:51', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684816 -3.39143)'), GeomFromEWKT('SRID=4674;POINT (-38.684814 -3.391449)'))) / (select extract(epoch from '2026-08-12 21:39:51'::timestamp) - extract(epoch from '2026-08-12 21:39:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684816 -3.39143)'), GeomFromEWKT('SRID=4674;POINT (-38.684814 -3.391449)'))) / (select extract(epoch from '2026-08-12 21:39:51'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684821 -3.391497)', '2026-08-12 21:39:51', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684814 -3.391449)'), GeomFromEWKT('SRID=4674;POINT (-38.684821 -3.391497)'))) / (select extract(epoch from '2026-08-12 21:39:51'::timestamp) - extract(epoch from '2026-08-12 21:39:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684814 -3.391449)'), GeomFromEWKT('SRID=4674;POINT (-38.684821 -3.391497)'))) / (select extract(epoch from '2026-08-12 21:39:51'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684825 -3.391517)', '2026-08-12 21:39:52', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684821 -3.391497)'), GeomFromEWKT('SRID=4674;POINT (-38.684825 -3.391517)'))) / (select extract(epoch from '2026-08-12 21:39:52'::timestamp) - extract(epoch from '2026-08-12 21:39:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684821 -3.391497)'), GeomFromEWKT('SRID=4674;POINT (-38.684825 -3.391517)'))) / (select extract(epoch from '2026-08-12 21:39:52'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684827 -3.391542)', '2026-08-12 21:39:52', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684825 -3.391517)'), GeomFromEWKT('SRID=4674;POINT (-38.684827 -3.391542)'))) / (select extract(epoch from '2026-08-12 21:39:52'::timestamp) - extract(epoch from '2026-08-12 21:39:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684825 -3.391517)'), GeomFromEWKT('SRID=4674;POINT (-38.684827 -3.391542)'))) / (select extract(epoch from '2026-08-12 21:39:52'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684837 -3.391559)', '2026-08-12 21:39:52', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684827 -3.391542)'), GeomFromEWKT('SRID=4674;POINT (-38.684837 -3.391559)'))) / (select extract(epoch from '2026-08-12 21:39:52'::timestamp) - extract(epoch from '2026-08-12 21:39:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684827 -3.391542)'), GeomFromEWKT('SRID=4674;POINT (-38.684837 -3.391559)'))) / (select extract(epoch from '2026-08-12 21:39:52'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684844 -3.391639)', '2026-08-12 21:39:52', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684837 -3.391559)'), GeomFromEWKT('SRID=4674;POINT (-38.684844 -3.391639)'))) / (select extract(epoch from '2026-08-12 21:39:52'::timestamp) - extract(epoch from '2026-08-12 21:39:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684837 -3.391559)'), GeomFromEWKT('SRID=4674;POINT (-38.684844 -3.391639)'))) / (select extract(epoch from '2026-08-12 21:39:52'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684846 -3.391698)', '2026-08-12 21:39:53', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684844 -3.391639)'), GeomFromEWKT('SRID=4674;POINT (-38.684846 -3.391698)'))) / (select extract(epoch from '2026-08-12 21:39:53'::timestamp) - extract(epoch from '2026-08-12 21:39:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684844 -3.391639)'), GeomFromEWKT('SRID=4674;POINT (-38.684846 -3.391698)'))) / (select extract(epoch from '2026-08-12 21:39:53'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684852 -3.391778)', '2026-08-12 21:39:53', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684846 -3.391698)'), GeomFromEWKT('SRID=4674;POINT (-38.684852 -3.391778)'))) / (select extract(epoch from '2026-08-12 21:39:53'::timestamp) - extract(epoch from '2026-08-12 21:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684846 -3.391698)'), GeomFromEWKT('SRID=4674;POINT (-38.684852 -3.391778)'))) / (select extract(epoch from '2026-08-12 21:39:53'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684847 -3.391861)', '2026-08-12 21:39:54', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684852 -3.391778)'), GeomFromEWKT('SRID=4674;POINT (-38.684847 -3.391861)'))) / (select extract(epoch from '2026-08-12 21:39:54'::timestamp) - extract(epoch from '2026-08-12 21:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684852 -3.391778)'), GeomFromEWKT('SRID=4674;POINT (-38.684847 -3.391861)'))) / (select extract(epoch from '2026-08-12 21:39:54'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684853 -3.391875)', '2026-08-12 21:39:54', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684847 -3.391861)'), GeomFromEWKT('SRID=4674;POINT (-38.684853 -3.391875)'))) / (select extract(epoch from '2026-08-12 21:39:54'::timestamp) - extract(epoch from '2026-08-12 21:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684847 -3.391861)'), GeomFromEWKT('SRID=4674;POINT (-38.684853 -3.391875)'))) / (select extract(epoch from '2026-08-12 21:39:54'::timestamp) - extract(epoch from '2026-08-12 21:39:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684864 -3.391902)', '2026-08-12 21:39:54', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684853 -3.391875)'), GeomFromEWKT('SRID=4674;POINT (-38.684864 -3.391902)'))) / (select extract(epoch from '2026-08-12 21:39:54'::timestamp) - extract(epoch from '2026-08-12 21:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684853 -3.391875)'), GeomFromEWKT('SRID=4674;POINT (-38.684864 -3.391902)'))) / (select extract(epoch from '2026-08-12 21:39:54'::timestamp) - extract(epoch from '2026-08-12 21:39:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684865 -3.391913)', '2026-08-12 21:39:54', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684864 -3.391902)'), GeomFromEWKT('SRID=4674;POINT (-38.684865 -3.391913)'))) / (select extract(epoch from '2026-08-12 21:39:54'::timestamp) - extract(epoch from '2026-08-12 21:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684864 -3.391902)'), GeomFromEWKT('SRID=4674;POINT (-38.684865 -3.391913)'))) / (select extract(epoch from '2026-08-12 21:39:54'::timestamp) - extract(epoch from '2026-08-12 21:39:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684863 -3.391941)', '2026-08-12 21:39:54', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684865 -3.391913)'), GeomFromEWKT('SRID=4674;POINT (-38.684863 -3.391941)'))) / (select extract(epoch from '2026-08-12 21:39:54'::timestamp) - extract(epoch from '2026-08-12 21:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684865 -3.391913)'), GeomFromEWKT('SRID=4674;POINT (-38.684863 -3.391941)'))) / (select extract(epoch from '2026-08-12 21:39:54'::timestamp) - extract(epoch from '2026-08-12 21:39:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684867 -3.391973)', '2026-08-12 21:39:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684863 -3.391941)'), GeomFromEWKT('SRID=4674;POINT (-38.684867 -3.391973)'))) / (select extract(epoch from '2026-08-12 21:39:55'::timestamp) - extract(epoch from '2026-08-12 21:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684863 -3.391941)'), GeomFromEWKT('SRID=4674;POINT (-38.684867 -3.391973)'))) / (select extract(epoch from '2026-08-12 21:39:55'::timestamp) - extract(epoch from '2026-08-12 21:39:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684866 -3.391993)', '2026-08-12 21:39:55', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684867 -3.391973)'), GeomFromEWKT('SRID=4674;POINT (-38.684866 -3.391993)'))) / (select extract(epoch from '2026-08-12 21:39:55'::timestamp) - extract(epoch from '2026-08-12 21:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684867 -3.391973)'), GeomFromEWKT('SRID=4674;POINT (-38.684866 -3.391993)'))) / (select extract(epoch from '2026-08-12 21:39:55'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684873 -3.392011)', '2026-08-12 21:39:55', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684866 -3.391993)'), GeomFromEWKT('SRID=4674;POINT (-38.684873 -3.392011)'))) / (select extract(epoch from '2026-08-12 21:39:55'::timestamp) - extract(epoch from '2026-08-12 21:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684866 -3.391993)'), GeomFromEWKT('SRID=4674;POINT (-38.684873 -3.392011)'))) / (select extract(epoch from '2026-08-12 21:39:55'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684872 -3.39202)', '2026-08-12 21:39:55', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684873 -3.392011)'), GeomFromEWKT('SRID=4674;POINT (-38.684872 -3.39202)'))) / (select extract(epoch from '2026-08-12 21:39:55'::timestamp) - extract(epoch from '2026-08-12 21:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684873 -3.392011)'), GeomFromEWKT('SRID=4674;POINT (-38.684872 -3.39202)'))) / (select extract(epoch from '2026-08-12 21:39:55'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684874 -3.392062)', '2026-08-12 21:39:55', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684872 -3.39202)'), GeomFromEWKT('SRID=4674;POINT (-38.684874 -3.392062)'))) / (select extract(epoch from '2026-08-12 21:39:55'::timestamp) - extract(epoch from '2026-08-12 21:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684872 -3.39202)'), GeomFromEWKT('SRID=4674;POINT (-38.684874 -3.392062)'))) / (select extract(epoch from '2026-08-12 21:39:55'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684877 -3.392097)', '2026-08-12 21:39:55', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684874 -3.392062)'), GeomFromEWKT('SRID=4674;POINT (-38.684877 -3.392097)'))) / (select extract(epoch from '2026-08-12 21:39:55'::timestamp) - extract(epoch from '2026-08-12 21:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684874 -3.392062)'), GeomFromEWKT('SRID=4674;POINT (-38.684877 -3.392097)'))) / (select extract(epoch from '2026-08-12 21:39:55'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684891 -3.392149)', '2026-08-12 21:39:56', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684877 -3.392097)'), GeomFromEWKT('SRID=4674;POINT (-38.684891 -3.392149)'))) / (select extract(epoch from '2026-08-12 21:39:56'::timestamp) - extract(epoch from '2026-08-12 21:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684877 -3.392097)'), GeomFromEWKT('SRID=4674;POINT (-38.684891 -3.392149)'))) / (select extract(epoch from '2026-08-12 21:39:56'::timestamp) - extract(epoch from '2026-08-12 21:39: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'), 48120, 'SRID=4674;POINT (-38.684896 -3.392169)', '2026-08-12 21:39:56', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684891 -3.392149)'), GeomFromEWKT('SRID=4674;POINT (-38.684896 -3.392169)'))) / (select extract(epoch from '2026-08-12 21:39:56'::timestamp) - extract(epoch from '2026-08-12 21:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684891 -3.392149)'), GeomFromEWKT('SRID=4674;POINT (-38.684896 -3.392169)'))) / (select extract(epoch from '2026-08-12 21:39:56'::timestamp) - extract(epoch from '2026-08-12 21:39:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684903 -3.392196)', '2026-08-12 21:39:56', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684896 -3.392169)'), GeomFromEWKT('SRID=4674;POINT (-38.684903 -3.392196)'))) / (select extract(epoch from '2026-08-12 21:39:56'::timestamp) - extract(epoch from '2026-08-12 21:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684896 -3.392169)'), GeomFromEWKT('SRID=4674;POINT (-38.684903 -3.392196)'))) / (select extract(epoch from '2026-08-12 21:39:56'::timestamp) - extract(epoch from '2026-08-12 21:39:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684912 -3.392207)', '2026-08-12 21:39:56', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684903 -3.392196)'), GeomFromEWKT('SRID=4674;POINT (-38.684912 -3.392207)'))) / (select extract(epoch from '2026-08-12 21:39:56'::timestamp) - extract(epoch from '2026-08-12 21:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684903 -3.392196)'), GeomFromEWKT('SRID=4674;POINT (-38.684912 -3.392207)'))) / (select extract(epoch from '2026-08-12 21:39:56'::timestamp) - extract(epoch from '2026-08-12 21:39:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684928 -3.392232)', '2026-08-12 21:39:56', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684912 -3.392207)'), GeomFromEWKT('SRID=4674;POINT (-38.684928 -3.392232)'))) / (select extract(epoch from '2026-08-12 21:39:56'::timestamp) - extract(epoch from '2026-08-12 21:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684912 -3.392207)'), GeomFromEWKT('SRID=4674;POINT (-38.684928 -3.392232)'))) / (select extract(epoch from '2026-08-12 21:39:56'::timestamp) - extract(epoch from '2026-08-12 21:39:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684931 -3.392243)', '2026-08-12 21:39:57', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684928 -3.392232)'), GeomFromEWKT('SRID=4674;POINT (-38.684931 -3.392243)'))) / (select extract(epoch from '2026-08-12 21:39:57'::timestamp) - extract(epoch from '2026-08-12 21:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684928 -3.392232)'), GeomFromEWKT('SRID=4674;POINT (-38.684931 -3.392243)'))) / (select extract(epoch from '2026-08-12 21:39:57'::timestamp) - extract(epoch from '2026-08-12 21:39:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684947 -3.392295)', '2026-08-12 21:39:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684931 -3.392243)'), GeomFromEWKT('SRID=4674;POINT (-38.684947 -3.392295)'))) / (select extract(epoch from '2026-08-12 21:39:57'::timestamp) - extract(epoch from '2026-08-12 21:39:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684931 -3.392243)'), GeomFromEWKT('SRID=4674;POINT (-38.684947 -3.392295)'))) / (select extract(epoch from '2026-08-12 21:39:57'::timestamp) - extract(epoch from '2026-08-12 21:39:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684952 -3.392312)', '2026-08-12 21:39:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684947 -3.392295)'), GeomFromEWKT('SRID=4674;POINT (-38.684952 -3.392312)'))) / (select extract(epoch from '2026-08-12 21:39:57'::timestamp) - extract(epoch from '2026-08-12 21:39:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684947 -3.392295)'), GeomFromEWKT('SRID=4674;POINT (-38.684952 -3.392312)'))) / (select extract(epoch from '2026-08-12 21:39:57'::timestamp) - extract(epoch from '2026-08-12 21:39:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.68496 -3.392387)', '2026-08-12 21:39:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684952 -3.392312)'), GeomFromEWKT('SRID=4674;POINT (-38.68496 -3.392387)'))) / (select extract(epoch from '2026-08-12 21:39:57'::timestamp) - extract(epoch from '2026-08-12 21:39:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684952 -3.392312)'), GeomFromEWKT('SRID=4674;POINT (-38.68496 -3.392387)'))) / (select extract(epoch from '2026-08-12 21:39:57'::timestamp) - extract(epoch from '2026-08-12 21:39:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684969 -3.392459)', '2026-08-12 21:39:58', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68496 -3.392387)'), GeomFromEWKT('SRID=4674;POINT (-38.684969 -3.392459)'))) / (select extract(epoch from '2026-08-12 21:39:58'::timestamp) - extract(epoch from '2026-08-12 21:39:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68496 -3.392387)'), GeomFromEWKT('SRID=4674;POINT (-38.684969 -3.392459)'))) / (select extract(epoch from '2026-08-12 21:39:58'::timestamp) - extract(epoch from '2026-08-12 21:39:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684971 -3.392466)', '2026-08-12 21:39:58', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684969 -3.392459)'), GeomFromEWKT('SRID=4674;POINT (-38.684971 -3.392466)'))) / (select extract(epoch from '2026-08-12 21:39:58'::timestamp) - extract(epoch from '2026-08-12 21:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684969 -3.392459)'), GeomFromEWKT('SRID=4674;POINT (-38.684971 -3.392466)'))) / (select extract(epoch from '2026-08-12 21:39:58'::timestamp) - extract(epoch from '2026-08-12 21:39:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684983 -3.392508)', '2026-08-12 21:39:58', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684971 -3.392466)'), GeomFromEWKT('SRID=4674;POINT (-38.684983 -3.392508)'))) / (select extract(epoch from '2026-08-12 21:39:58'::timestamp) - extract(epoch from '2026-08-12 21:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684971 -3.392466)'), GeomFromEWKT('SRID=4674;POINT (-38.684983 -3.392508)'))) / (select extract(epoch from '2026-08-12 21:39:58'::timestamp) - extract(epoch from '2026-08-12 21:39:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684988 -3.392528)', '2026-08-12 21:39:58', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684983 -3.392508)'), GeomFromEWKT('SRID=4674;POINT (-38.684988 -3.392528)'))) / (select extract(epoch from '2026-08-12 21:39:58'::timestamp) - extract(epoch from '2026-08-12 21:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684983 -3.392508)'), GeomFromEWKT('SRID=4674;POINT (-38.684988 -3.392528)'))) / (select extract(epoch from '2026-08-12 21:39:58'::timestamp) - extract(epoch from '2026-08-12 21:39:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684995 -3.392543)', '2026-08-12 21:39:59', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684988 -3.392528)'), GeomFromEWKT('SRID=4674;POINT (-38.684995 -3.392543)'))) / (select extract(epoch from '2026-08-12 21:39:59'::timestamp) - extract(epoch from '2026-08-12 21:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684988 -3.392528)'), GeomFromEWKT('SRID=4674;POINT (-38.684995 -3.392543)'))) / (select extract(epoch from '2026-08-12 21:39:59'::timestamp) - extract(epoch from '2026-08-12 21:39:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684991 -3.392562)', '2026-08-12 21:39:59', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684995 -3.392543)'), GeomFromEWKT('SRID=4674;POINT (-38.684991 -3.392562)'))) / (select extract(epoch from '2026-08-12 21:39:59'::timestamp) - extract(epoch from '2026-08-12 21:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684995 -3.392543)'), GeomFromEWKT('SRID=4674;POINT (-38.684991 -3.392562)'))) / (select extract(epoch from '2026-08-12 21:39:59'::timestamp) - extract(epoch from '2026-08-12 21:39:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.684999 -3.392618)', '2026-08-12 21:39:59', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684991 -3.392562)'), GeomFromEWKT('SRID=4674;POINT (-38.684999 -3.392618)'))) / (select extract(epoch from '2026-08-12 21:39:59'::timestamp) - extract(epoch from '2026-08-12 21:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684991 -3.392562)'), GeomFromEWKT('SRID=4674;POINT (-38.684999 -3.392618)'))) / (select extract(epoch from '2026-08-12 21:39:59'::timestamp) - extract(epoch from '2026-08-12 21:39:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685003 -3.392641)', '2026-08-12 21:39:59', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684999 -3.392618)'), GeomFromEWKT('SRID=4674;POINT (-38.685003 -3.392641)'))) / (select extract(epoch from '2026-08-12 21:39:59'::timestamp) - extract(epoch from '2026-08-12 21:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.684999 -3.392618)'), GeomFromEWKT('SRID=4674;POINT (-38.685003 -3.392641)'))) / (select extract(epoch from '2026-08-12 21:39:59'::timestamp) - extract(epoch from '2026-08-12 21:39:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685021 -3.392682)', '2026-08-12 21:40:00', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685003 -3.392641)'), GeomFromEWKT('SRID=4674;POINT (-38.685021 -3.392682)'))) / (select extract(epoch from '2026-08-12 21:40:00'::timestamp) - extract(epoch from '2026-08-12 21:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685003 -3.392641)'), GeomFromEWKT('SRID=4674;POINT (-38.685021 -3.392682)'))) / (select extract(epoch from '2026-08-12 21:40:00'::timestamp) - extract(epoch from '2026-08-12 21:39:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685028 -3.392707)', '2026-08-12 21:40:00', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685021 -3.392682)'), GeomFromEWKT('SRID=4674;POINT (-38.685028 -3.392707)'))) / (select extract(epoch from '2026-08-12 21:40:00'::timestamp) - extract(epoch from '2026-08-12 21:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685021 -3.392682)'), GeomFromEWKT('SRID=4674;POINT (-38.685028 -3.392707)'))) / (select extract(epoch from '2026-08-12 21:40:00'::timestamp) - extract(epoch from '2026-08-12 21:40:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685031 -3.392732)', '2026-08-12 21:40:00', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685028 -3.392707)'), GeomFromEWKT('SRID=4674;POINT (-38.685031 -3.392732)'))) / (select extract(epoch from '2026-08-12 21:40:00'::timestamp) - extract(epoch from '2026-08-12 21:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685028 -3.392707)'), GeomFromEWKT('SRID=4674;POINT (-38.685031 -3.392732)'))) / (select extract(epoch from '2026-08-12 21:40:00'::timestamp) - extract(epoch from '2026-08-12 21:40:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.68503 -3.392745)', '2026-08-12 21:40:00', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685031 -3.392732)'), GeomFromEWKT('SRID=4674;POINT (-38.68503 -3.392745)'))) / (select extract(epoch from '2026-08-12 21:40:00'::timestamp) - extract(epoch from '2026-08-12 21:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685031 -3.392732)'), GeomFromEWKT('SRID=4674;POINT (-38.68503 -3.392745)'))) / (select extract(epoch from '2026-08-12 21:40:00'::timestamp) - extract(epoch from '2026-08-12 21:40:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685052 -3.392843)', '2026-08-12 21:40:01', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68503 -3.392745)'), GeomFromEWKT('SRID=4674;POINT (-38.685052 -3.392843)'))) / (select extract(epoch from '2026-08-12 21:40:01'::timestamp) - extract(epoch from '2026-08-12 21:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68503 -3.392745)'), GeomFromEWKT('SRID=4674;POINT (-38.685052 -3.392843)'))) / (select extract(epoch from '2026-08-12 21:40:01'::timestamp) - extract(epoch from '2026-08-12 21:40:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685081 -3.392946)', '2026-08-12 21:40:01', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685052 -3.392843)'), GeomFromEWKT('SRID=4674;POINT (-38.685081 -3.392946)'))) / (select extract(epoch from '2026-08-12 21:40:01'::timestamp) - extract(epoch from '2026-08-12 21:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685052 -3.392843)'), GeomFromEWKT('SRID=4674;POINT (-38.685081 -3.392946)'))) / (select extract(epoch from '2026-08-12 21:40:01'::timestamp) - extract(epoch from '2026-08-12 21:40:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685096 -3.393015)', '2026-08-12 21:40:02', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685081 -3.392946)'), GeomFromEWKT('SRID=4674;POINT (-38.685096 -3.393015)'))) / (select extract(epoch from '2026-08-12 21:40:02'::timestamp) - extract(epoch from '2026-08-12 21:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685081 -3.392946)'), GeomFromEWKT('SRID=4674;POINT (-38.685096 -3.393015)'))) / (select extract(epoch from '2026-08-12 21:40:02'::timestamp) - extract(epoch from '2026-08-12 21:40:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685104 -3.393034)', '2026-08-12 21:40:02', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685096 -3.393015)'), GeomFromEWKT('SRID=4674;POINT (-38.685104 -3.393034)'))) / (select extract(epoch from '2026-08-12 21:40:02'::timestamp) - extract(epoch from '2026-08-12 21:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685096 -3.393015)'), GeomFromEWKT('SRID=4674;POINT (-38.685104 -3.393034)'))) / (select extract(epoch from '2026-08-12 21:40:02'::timestamp) - extract(epoch from '2026-08-12 21:40:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685115 -3.393073)', '2026-08-12 21:40:02', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685104 -3.393034)'), GeomFromEWKT('SRID=4674;POINT (-38.685115 -3.393073)'))) / (select extract(epoch from '2026-08-12 21:40:02'::timestamp) - extract(epoch from '2026-08-12 21:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685104 -3.393034)'), GeomFromEWKT('SRID=4674;POINT (-38.685115 -3.393073)'))) / (select extract(epoch from '2026-08-12 21:40:02'::timestamp) - extract(epoch from '2026-08-12 21:40:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.68512 -3.393086)', '2026-08-12 21:40:02', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685115 -3.393073)'), GeomFromEWKT('SRID=4674;POINT (-38.68512 -3.393086)'))) / (select extract(epoch from '2026-08-12 21:40:02'::timestamp) - extract(epoch from '2026-08-12 21:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685115 -3.393073)'), GeomFromEWKT('SRID=4674;POINT (-38.68512 -3.393086)'))) / (select extract(epoch from '2026-08-12 21:40:02'::timestamp) - extract(epoch from '2026-08-12 21:40:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685149 -3.393134)', '2026-08-12 21:40:03', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68512 -3.393086)'), GeomFromEWKT('SRID=4674;POINT (-38.685149 -3.393134)'))) / (select extract(epoch from '2026-08-12 21:40:03'::timestamp) - extract(epoch from '2026-08-12 21:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68512 -3.393086)'), GeomFromEWKT('SRID=4674;POINT (-38.685149 -3.393134)'))) / (select extract(epoch from '2026-08-12 21:40:03'::timestamp) - extract(epoch from '2026-08-12 21:40:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685176 -3.393203)', '2026-08-12 21:40:03', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685149 -3.393134)'), GeomFromEWKT('SRID=4674;POINT (-38.685176 -3.393203)'))) / (select extract(epoch from '2026-08-12 21:40:03'::timestamp) - extract(epoch from '2026-08-12 21:40:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685149 -3.393134)'), GeomFromEWKT('SRID=4674;POINT (-38.685176 -3.393203)'))) / (select extract(epoch from '2026-08-12 21:40:03'::timestamp) - extract(epoch from '2026-08-12 21:40:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.68521 -3.393284)', '2026-08-12 21:40:04', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685176 -3.393203)'), GeomFromEWKT('SRID=4674;POINT (-38.68521 -3.393284)'))) / (select extract(epoch from '2026-08-12 21:40:04'::timestamp) - extract(epoch from '2026-08-12 21:40:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685176 -3.393203)'), GeomFromEWKT('SRID=4674;POINT (-38.68521 -3.393284)'))) / (select extract(epoch from '2026-08-12 21:40:04'::timestamp) - extract(epoch from '2026-08-12 21:40:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685238 -3.39337)', '2026-08-12 21:40:04', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68521 -3.393284)'), GeomFromEWKT('SRID=4674;POINT (-38.685238 -3.39337)'))) / (select extract(epoch from '2026-08-12 21:40:04'::timestamp) - extract(epoch from '2026-08-12 21:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68521 -3.393284)'), GeomFromEWKT('SRID=4674;POINT (-38.685238 -3.39337)'))) / (select extract(epoch from '2026-08-12 21:40:04'::timestamp) - extract(epoch from '2026-08-12 21:40:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685256 -3.393453)', '2026-08-12 21:40:05', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685238 -3.39337)'), GeomFromEWKT('SRID=4674;POINT (-38.685256 -3.393453)'))) / (select extract(epoch from '2026-08-12 21:40:05'::timestamp) - extract(epoch from '2026-08-12 21:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685238 -3.39337)'), GeomFromEWKT('SRID=4674;POINT (-38.685256 -3.393453)'))) / (select extract(epoch from '2026-08-12 21:40:05'::timestamp) - extract(epoch from '2026-08-12 21:40:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685273 -3.393515)', '2026-08-12 21:40:05', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685256 -3.393453)'), GeomFromEWKT('SRID=4674;POINT (-38.685273 -3.393515)'))) / (select extract(epoch from '2026-08-12 21:40:05'::timestamp) - extract(epoch from '2026-08-12 21:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685256 -3.393453)'), GeomFromEWKT('SRID=4674;POINT (-38.685273 -3.393515)'))) / (select extract(epoch from '2026-08-12 21:40:05'::timestamp) - extract(epoch from '2026-08-12 21:40:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685288 -3.39358)', '2026-08-12 21:40:06', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685273 -3.393515)'), GeomFromEWKT('SRID=4674;POINT (-38.685288 -3.39358)'))) / (select extract(epoch from '2026-08-12 21:40:06'::timestamp) - extract(epoch from '2026-08-12 21:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685273 -3.393515)'), GeomFromEWKT('SRID=4674;POINT (-38.685288 -3.39358)'))) / (select extract(epoch from '2026-08-12 21:40:06'::timestamp) - extract(epoch from '2026-08-12 21:40:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685289 -3.39359)', '2026-08-12 21:40:06', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685288 -3.39358)'), GeomFromEWKT('SRID=4674;POINT (-38.685289 -3.39359)'))) / (select extract(epoch from '2026-08-12 21:40:06'::timestamp) - extract(epoch from '2026-08-12 21:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685288 -3.39358)'), GeomFromEWKT('SRID=4674;POINT (-38.685289 -3.39359)'))) / (select extract(epoch from '2026-08-12 21:40:06'::timestamp) - extract(epoch from '2026-08-12 21:40:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685316 -3.393655)', '2026-08-12 21:40:06', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685289 -3.39359)'), GeomFromEWKT('SRID=4674;POINT (-38.685316 -3.393655)'))) / (select extract(epoch from '2026-08-12 21:40:06'::timestamp) - extract(epoch from '2026-08-12 21:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685289 -3.39359)'), GeomFromEWKT('SRID=4674;POINT (-38.685316 -3.393655)'))) / (select extract(epoch from '2026-08-12 21:40:06'::timestamp) - extract(epoch from '2026-08-12 21:40:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685343 -3.393747)', '2026-08-12 21:40:07', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685316 -3.393655)'), GeomFromEWKT('SRID=4674;POINT (-38.685343 -3.393747)'))) / (select extract(epoch from '2026-08-12 21:40:07'::timestamp) - extract(epoch from '2026-08-12 21:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685316 -3.393655)'), GeomFromEWKT('SRID=4674;POINT (-38.685343 -3.393747)'))) / (select extract(epoch from '2026-08-12 21:40:07'::timestamp) - extract(epoch from '2026-08-12 21:40:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685364 -3.393826)', '2026-08-12 21:40:08', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685343 -3.393747)'), GeomFromEWKT('SRID=4674;POINT (-38.685364 -3.393826)'))) / (select extract(epoch from '2026-08-12 21:40:08'::timestamp) - extract(epoch from '2026-08-12 21:40:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685343 -3.393747)'), GeomFromEWKT('SRID=4674;POINT (-38.685364 -3.393826)'))) / (select extract(epoch from '2026-08-12 21:40:08'::timestamp) - extract(epoch from '2026-08-12 21:40:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685383 -3.393899)', '2026-08-12 21:40:08', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685364 -3.393826)'), GeomFromEWKT('SRID=4674;POINT (-38.685383 -3.393899)'))) / (select extract(epoch from '2026-08-12 21:40:08'::timestamp) - extract(epoch from '2026-08-12 21:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685364 -3.393826)'), GeomFromEWKT('SRID=4674;POINT (-38.685383 -3.393899)'))) / (select extract(epoch from '2026-08-12 21:40:08'::timestamp) - extract(epoch from '2026-08-12 21:40:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685381 -3.393925)', '2026-08-12 21:40:08', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685383 -3.393899)'), GeomFromEWKT('SRID=4674;POINT (-38.685381 -3.393925)'))) / (select extract(epoch from '2026-08-12 21:40:08'::timestamp) - extract(epoch from '2026-08-12 21:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685383 -3.393899)'), GeomFromEWKT('SRID=4674;POINT (-38.685381 -3.393925)'))) / (select extract(epoch from '2026-08-12 21:40:08'::timestamp) - extract(epoch from '2026-08-12 21:40:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685403 -3.393946)', '2026-08-12 21:40:08', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685381 -3.393925)'), GeomFromEWKT('SRID=4674;POINT (-38.685403 -3.393946)'))) / (select extract(epoch from '2026-08-12 21:40:08'::timestamp) - extract(epoch from '2026-08-12 21:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685381 -3.393925)'), GeomFromEWKT('SRID=4674;POINT (-38.685403 -3.393946)'))) / (select extract(epoch from '2026-08-12 21:40:08'::timestamp) - extract(epoch from '2026-08-12 21:40:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.68544 -3.393957)', '2026-08-12 21:40:09', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685403 -3.393946)'), GeomFromEWKT('SRID=4674;POINT (-38.68544 -3.393957)'))) / (select extract(epoch from '2026-08-12 21:40:09'::timestamp) - extract(epoch from '2026-08-12 21:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685403 -3.393946)'), GeomFromEWKT('SRID=4674;POINT (-38.68544 -3.393957)'))) / (select extract(epoch from '2026-08-12 21:40:09'::timestamp) - extract(epoch from '2026-08-12 21:40:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685468 -3.393952)', '2026-08-12 21:40:09', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68544 -3.393957)'), GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.393952)'))) / (select extract(epoch from '2026-08-12 21:40:09'::timestamp) - extract(epoch from '2026-08-12 21:40:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68544 -3.393957)'), GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.393952)'))) / (select extract(epoch from '2026-08-12 21:40:09'::timestamp) - extract(epoch from '2026-08-12 21:40:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685489 -3.393933)', '2026-08-12 21:40:09', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.393952)'), GeomFromEWKT('SRID=4674;POINT (-38.685489 -3.393933)'))) / (select extract(epoch from '2026-08-12 21:40:09'::timestamp) - extract(epoch from '2026-08-12 21:40:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685468 -3.393952)'), GeomFromEWKT('SRID=4674;POINT (-38.685489 -3.393933)'))) / (select extract(epoch from '2026-08-12 21:40:09'::timestamp) - extract(epoch from '2026-08-12 21:40:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685519 -3.393913)', '2026-08-12 21:40:09', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685489 -3.393933)'), GeomFromEWKT('SRID=4674;POINT (-38.685519 -3.393913)'))) / (select extract(epoch from '2026-08-12 21:40:09'::timestamp) - extract(epoch from '2026-08-12 21:40:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685489 -3.393933)'), GeomFromEWKT('SRID=4674;POINT (-38.685519 -3.393913)'))) / (select extract(epoch from '2026-08-12 21:40:09'::timestamp) - extract(epoch from '2026-08-12 21:40:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.68554 -3.39388)', '2026-08-12 21:40:10', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685519 -3.393913)'), GeomFromEWKT('SRID=4674;POINT (-38.68554 -3.39388)'))) / (select extract(epoch from '2026-08-12 21:40:10'::timestamp) - extract(epoch from '2026-08-12 21:40:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685519 -3.393913)'), GeomFromEWKT('SRID=4674;POINT (-38.68554 -3.39388)'))) / (select extract(epoch from '2026-08-12 21:40:10'::timestamp) - extract(epoch from '2026-08-12 21:40:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685577 -3.393841)', '2026-08-12 21:40:10', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68554 -3.39388)'), GeomFromEWKT('SRID=4674;POINT (-38.685577 -3.393841)'))) / (select extract(epoch from '2026-08-12 21:40:10'::timestamp) - extract(epoch from '2026-08-12 21:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68554 -3.39388)'), GeomFromEWKT('SRID=4674;POINT (-38.685577 -3.393841)'))) / (select extract(epoch from '2026-08-12 21:40:10'::timestamp) - extract(epoch from '2026-08-12 21:40:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685589 -3.393834)', '2026-08-12 21:40:10', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685577 -3.393841)'), GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.393834)'))) / (select extract(epoch from '2026-08-12 21:40:10'::timestamp) - extract(epoch from '2026-08-12 21:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685577 -3.393841)'), GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.393834)'))) / (select extract(epoch from '2026-08-12 21:40:10'::timestamp) - extract(epoch from '2026-08-12 21:40:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685607 -3.393824)', '2026-08-12 21:40:10', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.393834)'), GeomFromEWKT('SRID=4674;POINT (-38.685607 -3.393824)'))) / (select extract(epoch from '2026-08-12 21:40:10'::timestamp) - extract(epoch from '2026-08-12 21:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685589 -3.393834)'), GeomFromEWKT('SRID=4674;POINT (-38.685607 -3.393824)'))) / (select extract(epoch from '2026-08-12 21:40:10'::timestamp) - extract(epoch from '2026-08-12 21:40:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685633 -3.393793)', '2026-08-12 21:40:10', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685607 -3.393824)'), GeomFromEWKT('SRID=4674;POINT (-38.685633 -3.393793)'))) / (select extract(epoch from '2026-08-12 21:40:10'::timestamp) - extract(epoch from '2026-08-12 21:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685607 -3.393824)'), GeomFromEWKT('SRID=4674;POINT (-38.685633 -3.393793)'))) / (select extract(epoch from '2026-08-12 21:40:10'::timestamp) - extract(epoch from '2026-08-12 21:40:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685659 -3.393766)', '2026-08-12 21:40:11', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685633 -3.393793)'), GeomFromEWKT('SRID=4674;POINT (-38.685659 -3.393766)'))) / (select extract(epoch from '2026-08-12 21:40:11'::timestamp) - extract(epoch from '2026-08-12 21:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685633 -3.393793)'), GeomFromEWKT('SRID=4674;POINT (-38.685659 -3.393766)'))) / (select extract(epoch from '2026-08-12 21:40:11'::timestamp) - extract(epoch from '2026-08-12 21:40:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685678 -3.393746)', '2026-08-12 21:40:11', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685659 -3.393766)'), GeomFromEWKT('SRID=4674;POINT (-38.685678 -3.393746)'))) / (select extract(epoch from '2026-08-12 21:40:11'::timestamp) - extract(epoch from '2026-08-12 21:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685659 -3.393766)'), GeomFromEWKT('SRID=4674;POINT (-38.685678 -3.393746)'))) / (select extract(epoch from '2026-08-12 21:40:11'::timestamp) - extract(epoch from '2026-08-12 21:40:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685698 -3.393731)', '2026-08-12 21:40:11', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685678 -3.393746)'), GeomFromEWKT('SRID=4674;POINT (-38.685698 -3.393731)'))) / (select extract(epoch from '2026-08-12 21:40:11'::timestamp) - extract(epoch from '2026-08-12 21:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685678 -3.393746)'), GeomFromEWKT('SRID=4674;POINT (-38.685698 -3.393731)'))) / (select extract(epoch from '2026-08-12 21:40:11'::timestamp) - extract(epoch from '2026-08-12 21:40:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.68573 -3.39369)', '2026-08-12 21:40:11', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685698 -3.393731)'), GeomFromEWKT('SRID=4674;POINT (-38.68573 -3.39369)'))) / (select extract(epoch from '2026-08-12 21:40:11'::timestamp) - extract(epoch from '2026-08-12 21:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685698 -3.393731)'), GeomFromEWKT('SRID=4674;POINT (-38.68573 -3.39369)'))) / (select extract(epoch from '2026-08-12 21:40:11'::timestamp) - extract(epoch from '2026-08-12 21:40:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685757 -3.393668)', '2026-08-12 21:40:12', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68573 -3.39369)'), GeomFromEWKT('SRID=4674;POINT (-38.685757 -3.393668)'))) / (select extract(epoch from '2026-08-12 21:40:12'::timestamp) - extract(epoch from '2026-08-12 21:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68573 -3.39369)'), GeomFromEWKT('SRID=4674;POINT (-38.685757 -3.393668)'))) / (select extract(epoch from '2026-08-12 21:40:12'::timestamp) - extract(epoch from '2026-08-12 21:40:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685781 -3.393642)', '2026-08-12 21:40:12', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685757 -3.393668)'), GeomFromEWKT('SRID=4674;POINT (-38.685781 -3.393642)'))) / (select extract(epoch from '2026-08-12 21:40:12'::timestamp) - extract(epoch from '2026-08-12 21:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685757 -3.393668)'), GeomFromEWKT('SRID=4674;POINT (-38.685781 -3.393642)'))) / (select extract(epoch from '2026-08-12 21:40:12'::timestamp) - extract(epoch from '2026-08-12 21:40:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685794 -3.393623)', '2026-08-12 21:40:12', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685781 -3.393642)'), GeomFromEWKT('SRID=4674;POINT (-38.685794 -3.393623)'))) / (select extract(epoch from '2026-08-12 21:40:12'::timestamp) - extract(epoch from '2026-08-12 21:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685781 -3.393642)'), GeomFromEWKT('SRID=4674;POINT (-38.685794 -3.393623)'))) / (select extract(epoch from '2026-08-12 21:40:12'::timestamp) - extract(epoch from '2026-08-12 21:40:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685799 -3.393609)', '2026-08-12 21:40:12', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685794 -3.393623)'), GeomFromEWKT('SRID=4674;POINT (-38.685799 -3.393609)'))) / (select extract(epoch from '2026-08-12 21:40:12'::timestamp) - extract(epoch from '2026-08-12 21:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685794 -3.393623)'), GeomFromEWKT('SRID=4674;POINT (-38.685799 -3.393609)'))) / (select extract(epoch from '2026-08-12 21:40:12'::timestamp) - extract(epoch from '2026-08-12 21:40:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.68582 -3.393583)', '2026-08-12 21:40:12', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685799 -3.393609)'), GeomFromEWKT('SRID=4674;POINT (-38.68582 -3.393583)'))) / (select extract(epoch from '2026-08-12 21:40:12'::timestamp) - extract(epoch from '2026-08-12 21:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685799 -3.393609)'), GeomFromEWKT('SRID=4674;POINT (-38.68582 -3.393583)'))) / (select extract(epoch from '2026-08-12 21:40:12'::timestamp) - extract(epoch from '2026-08-12 21:40:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685868 -3.39354)', '2026-08-12 21:40:13', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68582 -3.393583)'), GeomFromEWKT('SRID=4674;POINT (-38.685868 -3.39354)'))) / (select extract(epoch from '2026-08-12 21:40:13'::timestamp) - extract(epoch from '2026-08-12 21:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68582 -3.393583)'), GeomFromEWKT('SRID=4674;POINT (-38.685868 -3.39354)'))) / (select extract(epoch from '2026-08-12 21:40:13'::timestamp) - extract(epoch from '2026-08-12 21:40:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685899 -3.393501)', '2026-08-12 21:40:13', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685868 -3.39354)'), GeomFromEWKT('SRID=4674;POINT (-38.685899 -3.393501)'))) / (select extract(epoch from '2026-08-12 21:40:13'::timestamp) - extract(epoch from '2026-08-12 21:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685868 -3.39354)'), GeomFromEWKT('SRID=4674;POINT (-38.685899 -3.393501)'))) / (select extract(epoch from '2026-08-12 21:40:13'::timestamp) - extract(epoch from '2026-08-12 21:40:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685959 -3.393446)', '2026-08-12 21:40:14', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685899 -3.393501)'), GeomFromEWKT('SRID=4674;POINT (-38.685959 -3.393446)'))) / (select extract(epoch from '2026-08-12 21:40:14'::timestamp) - extract(epoch from '2026-08-12 21:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685899 -3.393501)'), GeomFromEWKT('SRID=4674;POINT (-38.685959 -3.393446)'))) / (select extract(epoch from '2026-08-12 21:40:14'::timestamp) - extract(epoch from '2026-08-12 21:40:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685985 -3.393419)', '2026-08-12 21:40:14', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685959 -3.393446)'), GeomFromEWKT('SRID=4674;POINT (-38.685985 -3.393419)'))) / (select extract(epoch from '2026-08-12 21:40:14'::timestamp) - extract(epoch from '2026-08-12 21:40:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685959 -3.393446)'), GeomFromEWKT('SRID=4674;POINT (-38.685985 -3.393419)'))) / (select extract(epoch from '2026-08-12 21:40:14'::timestamp) - extract(epoch from '2026-08-12 21:40:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.685998 -3.393416)', '2026-08-12 21:40:14', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685985 -3.393419)'), GeomFromEWKT('SRID=4674;POINT (-38.685998 -3.393416)'))) / (select extract(epoch from '2026-08-12 21:40:14'::timestamp) - extract(epoch from '2026-08-12 21:40:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685985 -3.393419)'), GeomFromEWKT('SRID=4674;POINT (-38.685998 -3.393416)'))) / (select extract(epoch from '2026-08-12 21:40:14'::timestamp) - extract(epoch from '2026-08-12 21:40:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.686014 -3.393404)', '2026-08-12 21:40:14', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685998 -3.393416)'), GeomFromEWKT('SRID=4674;POINT (-38.686014 -3.393404)'))) / (select extract(epoch from '2026-08-12 21:40:14'::timestamp) - extract(epoch from '2026-08-12 21:40:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.685998 -3.393416)'), GeomFromEWKT('SRID=4674;POINT (-38.686014 -3.393404)'))) / (select extract(epoch from '2026-08-12 21:40:14'::timestamp) - extract(epoch from '2026-08-12 21:40:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.686072 -3.393406)', '2026-08-12 21:40:14', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686014 -3.393404)'), GeomFromEWKT('SRID=4674;POINT (-38.686072 -3.393406)'))) / (select extract(epoch from '2026-08-12 21:40:14'::timestamp) - extract(epoch from '2026-08-12 21:40:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686014 -3.393404)'), GeomFromEWKT('SRID=4674;POINT (-38.686072 -3.393406)'))) / (select extract(epoch from '2026-08-12 21:40:14'::timestamp) - extract(epoch from '2026-08-12 21:40:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.686097 -3.393464)', '2026-08-12 21:40:15', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686072 -3.393406)'), GeomFromEWKT('SRID=4674;POINT (-38.686097 -3.393464)'))) / (select extract(epoch from '2026-08-12 21:40:15'::timestamp) - extract(epoch from '2026-08-12 21:40:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686072 -3.393406)'), GeomFromEWKT('SRID=4674;POINT (-38.686097 -3.393464)'))) / (select extract(epoch from '2026-08-12 21:40:15'::timestamp) - extract(epoch from '2026-08-12 21:40:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.686095 -3.393536)', '2026-08-12 21:40:15', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686097 -3.393464)'), GeomFromEWKT('SRID=4674;POINT (-38.686095 -3.393536)'))) / (select extract(epoch from '2026-08-12 21:40:15'::timestamp) - extract(epoch from '2026-08-12 21:40:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686097 -3.393464)'), GeomFromEWKT('SRID=4674;POINT (-38.686095 -3.393536)'))) / (select extract(epoch from '2026-08-12 21:40:15'::timestamp) - extract(epoch from '2026-08-12 21:40:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.686099 -3.393599)', '2026-08-12 21:40:16', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686095 -3.393536)'), GeomFromEWKT('SRID=4674;POINT (-38.686099 -3.393599)'))) / (select extract(epoch from '2026-08-12 21:40:16'::timestamp) - extract(epoch from '2026-08-12 21:40:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686095 -3.393536)'), GeomFromEWKT('SRID=4674;POINT (-38.686099 -3.393599)'))) / (select extract(epoch from '2026-08-12 21:40:16'::timestamp) - extract(epoch from '2026-08-12 21:40:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.686103 -3.393639)', '2026-08-12 21:40:16', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686099 -3.393599)'), GeomFromEWKT('SRID=4674;POINT (-38.686103 -3.393639)'))) / (select extract(epoch from '2026-08-12 21:40:16'::timestamp) - extract(epoch from '2026-08-12 21:40:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686099 -3.393599)'), GeomFromEWKT('SRID=4674;POINT (-38.686103 -3.393639)'))) / (select extract(epoch from '2026-08-12 21:40:16'::timestamp) - extract(epoch from '2026-08-12 21:40:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.6861 -3.393682)', '2026-08-12 21:40:16', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686103 -3.393639)'), GeomFromEWKT('SRID=4674;POINT (-38.6861 -3.393682)'))) / (select extract(epoch from '2026-08-12 21:40:16'::timestamp) - extract(epoch from '2026-08-12 21:40:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686103 -3.393639)'), GeomFromEWKT('SRID=4674;POINT (-38.6861 -3.393682)'))) / (select extract(epoch from '2026-08-12 21:40:16'::timestamp) - extract(epoch from '2026-08-12 21:40:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.686106 -3.393782)', '2026-08-12 21:40:17', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6861 -3.393682)'), GeomFromEWKT('SRID=4674;POINT (-38.686106 -3.393782)'))) / (select extract(epoch from '2026-08-12 21:40:17'::timestamp) - extract(epoch from '2026-08-12 21:40:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6861 -3.393682)'), GeomFromEWKT('SRID=4674;POINT (-38.686106 -3.393782)'))) / (select extract(epoch from '2026-08-12 21:40:17'::timestamp) - extract(epoch from '2026-08-12 21:40:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.686112 -3.393816)', '2026-08-12 21:40:17', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686106 -3.393782)'), GeomFromEWKT('SRID=4674;POINT (-38.686112 -3.393816)'))) / (select extract(epoch from '2026-08-12 21:40:17'::timestamp) - extract(epoch from '2026-08-12 21:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686106 -3.393782)'), GeomFromEWKT('SRID=4674;POINT (-38.686112 -3.393816)'))) / (select extract(epoch from '2026-08-12 21:40:17'::timestamp) - extract(epoch from '2026-08-12 21:40:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.686114 -3.393863)', '2026-08-12 21:40:18', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686112 -3.393816)'), GeomFromEWKT('SRID=4674;POINT (-38.686114 -3.393863)'))) / (select extract(epoch from '2026-08-12 21:40:18'::timestamp) - extract(epoch from '2026-08-12 21:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686112 -3.393816)'), GeomFromEWKT('SRID=4674;POINT (-38.686114 -3.393863)'))) / (select extract(epoch from '2026-08-12 21:40:18'::timestamp) - extract(epoch from '2026-08-12 21:40:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.686129 -3.393953)', '2026-08-12 21:40:18', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686114 -3.393863)'), GeomFromEWKT('SRID=4674;POINT (-38.686129 -3.393953)'))) / (select extract(epoch from '2026-08-12 21:40:18'::timestamp) - extract(epoch from '2026-08-12 21:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686114 -3.393863)'), GeomFromEWKT('SRID=4674;POINT (-38.686129 -3.393953)'))) / (select extract(epoch from '2026-08-12 21:40:18'::timestamp) - extract(epoch from '2026-08-12 21:40:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.686144 -3.394045)', '2026-08-12 21:40:19', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686129 -3.393953)'), GeomFromEWKT('SRID=4674;POINT (-38.686144 -3.394045)'))) / (select extract(epoch from '2026-08-12 21:40:19'::timestamp) - extract(epoch from '2026-08-12 21:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686129 -3.393953)'), GeomFromEWKT('SRID=4674;POINT (-38.686144 -3.394045)'))) / (select extract(epoch from '2026-08-12 21:40:19'::timestamp) - extract(epoch from '2026-08-12 21:40:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.686146 -3.39409)', '2026-08-12 21:40:19', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686144 -3.394045)'), GeomFromEWKT('SRID=4674;POINT (-38.686146 -3.39409)'))) / (select extract(epoch from '2026-08-12 21:40:19'::timestamp) - extract(epoch from '2026-08-12 21:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686144 -3.394045)'), GeomFromEWKT('SRID=4674;POINT (-38.686146 -3.39409)'))) / (select extract(epoch from '2026-08-12 21:40:19'::timestamp) - extract(epoch from '2026-08-12 21:40:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.686153 -3.394121)', '2026-08-12 21:40:19', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686146 -3.39409)'), GeomFromEWKT('SRID=4674;POINT (-38.686153 -3.394121)'))) / (select extract(epoch from '2026-08-12 21:40:19'::timestamp) - extract(epoch from '2026-08-12 21:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686146 -3.39409)'), GeomFromEWKT('SRID=4674;POINT (-38.686153 -3.394121)'))) / (select extract(epoch from '2026-08-12 21:40:19'::timestamp) - extract(epoch from '2026-08-12 21:40:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.686158 -3.39422)', '2026-08-12 21:40:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686153 -3.394121)'), GeomFromEWKT('SRID=4674;POINT (-38.686158 -3.39422)'))) / (select extract(epoch from '2026-08-12 21:40:20'::timestamp) - extract(epoch from '2026-08-12 21:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686153 -3.394121)'), GeomFromEWKT('SRID=4674;POINT (-38.686158 -3.39422)'))) / (select extract(epoch from '2026-08-12 21:40:20'::timestamp) - extract(epoch from '2026-08-12 21:40:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.686167 -3.394309)', '2026-08-12 21:40:21', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686158 -3.39422)'), GeomFromEWKT('SRID=4674;POINT (-38.686167 -3.394309)'))) / (select extract(epoch from '2026-08-12 21:40:21'::timestamp) - extract(epoch from '2026-08-12 21:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686158 -3.39422)'), GeomFromEWKT('SRID=4674;POINT (-38.686167 -3.394309)'))) / (select extract(epoch from '2026-08-12 21:40:21'::timestamp) - extract(epoch from '2026-08-12 21:40:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.686177 -3.394425)', '2026-08-12 21:40:21', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686167 -3.394309)'), GeomFromEWKT('SRID=4674;POINT (-38.686177 -3.394425)'))) / (select extract(epoch from '2026-08-12 21:40:21'::timestamp) - extract(epoch from '2026-08-12 21:40:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686167 -3.394309)'), GeomFromEWKT('SRID=4674;POINT (-38.686177 -3.394425)'))) / (select extract(epoch from '2026-08-12 21:40:21'::timestamp) - extract(epoch from '2026-08-12 21:40:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.686182 -3.394531)', '2026-08-12 21:40:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686177 -3.394425)'), GeomFromEWKT('SRID=4674;POINT (-38.686182 -3.394531)'))) / (select extract(epoch from '2026-08-12 21:40:22'::timestamp) - extract(epoch from '2026-08-12 21:40:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686177 -3.394425)'), GeomFromEWKT('SRID=4674;POINT (-38.686182 -3.394531)'))) / (select extract(epoch from '2026-08-12 21:40:22'::timestamp) - extract(epoch from '2026-08-12 21:40:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.68619 -3.394605)', '2026-08-12 21:40:23', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686182 -3.394531)'), GeomFromEWKT('SRID=4674;POINT (-38.68619 -3.394605)'))) / (select extract(epoch from '2026-08-12 21:40:23'::timestamp) - extract(epoch from '2026-08-12 21:40:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686182 -3.394531)'), GeomFromEWKT('SRID=4674;POINT (-38.68619 -3.394605)'))) / (select extract(epoch from '2026-08-12 21:40:23'::timestamp) - extract(epoch from '2026-08-12 21:40:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.686194 -3.394695)', '2026-08-12 21:40:23', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68619 -3.394605)'), GeomFromEWKT('SRID=4674;POINT (-38.686194 -3.394695)'))) / (select extract(epoch from '2026-08-12 21:40:23'::timestamp) - extract(epoch from '2026-08-12 21:40:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68619 -3.394605)'), GeomFromEWKT('SRID=4674;POINT (-38.686194 -3.394695)'))) / (select extract(epoch from '2026-08-12 21:40:23'::timestamp) - extract(epoch from '2026-08-12 21:40:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.686203 -3.394792)', '2026-08-12 21:40:24', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686194 -3.394695)'), GeomFromEWKT('SRID=4674;POINT (-38.686203 -3.394792)'))) / (select extract(epoch from '2026-08-12 21:40:24'::timestamp) - extract(epoch from '2026-08-12 21:40:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686194 -3.394695)'), GeomFromEWKT('SRID=4674;POINT (-38.686203 -3.394792)'))) / (select extract(epoch from '2026-08-12 21:40:24'::timestamp) - extract(epoch from '2026-08-12 21:40:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.686203 -3.394805)', '2026-08-12 21:40:24', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686203 -3.394792)'), GeomFromEWKT('SRID=4674;POINT (-38.686203 -3.394805)'))) / (select extract(epoch from '2026-08-12 21:40:24'::timestamp) - extract(epoch from '2026-08-12 21:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686203 -3.394792)'), GeomFromEWKT('SRID=4674;POINT (-38.686203 -3.394805)'))) / (select extract(epoch from '2026-08-12 21:40:24'::timestamp) - extract(epoch from '2026-08-12 21:40:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.68621 -3.394826)', '2026-08-12 21:40:24', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686203 -3.394805)'), GeomFromEWKT('SRID=4674;POINT (-38.68621 -3.394826)'))) / (select extract(epoch from '2026-08-12 21:40:24'::timestamp) - extract(epoch from '2026-08-12 21:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686203 -3.394805)'), GeomFromEWKT('SRID=4674;POINT (-38.68621 -3.394826)'))) / (select extract(epoch from '2026-08-12 21:40:24'::timestamp) - extract(epoch from '2026-08-12 21:40:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.686206 -3.394838)', '2026-08-12 21:40:24', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68621 -3.394826)'), GeomFromEWKT('SRID=4674;POINT (-38.686206 -3.394838)'))) / (select extract(epoch from '2026-08-12 21:40:24'::timestamp) - extract(epoch from '2026-08-12 21:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68621 -3.394826)'), GeomFromEWKT('SRID=4674;POINT (-38.686206 -3.394838)'))) / (select extract(epoch from '2026-08-12 21:40:24'::timestamp) - extract(epoch from '2026-08-12 21:40:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.686232 -3.394849)', '2026-08-12 21:40:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686206 -3.394838)'), GeomFromEWKT('SRID=4674;POINT (-38.686232 -3.394849)'))) / (select extract(epoch from '2026-08-12 21:40:24'::timestamp) - extract(epoch from '2026-08-12 21:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686206 -3.394838)'), GeomFromEWKT('SRID=4674;POINT (-38.686232 -3.394849)'))) / (select extract(epoch from '2026-08-12 21:40:24'::timestamp) - extract(epoch from '2026-08-12 21:40:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.686252 -3.394836)', '2026-08-12 21:40:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686232 -3.394849)'), GeomFromEWKT('SRID=4674;POINT (-38.686252 -3.394836)'))) / (select extract(epoch from '2026-08-12 21:40:24'::timestamp) - extract(epoch from '2026-08-12 21:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686232 -3.394849)'), GeomFromEWKT('SRID=4674;POINT (-38.686252 -3.394836)'))) / (select extract(epoch from '2026-08-12 21:40:24'::timestamp) - extract(epoch from '2026-08-12 21:40:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.686289 -3.394798)', '2026-08-12 21:40:25', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686252 -3.394836)'), GeomFromEWKT('SRID=4674;POINT (-38.686289 -3.394798)'))) / (select extract(epoch from '2026-08-12 21:40:25'::timestamp) - extract(epoch from '2026-08-12 21:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686252 -3.394836)'), GeomFromEWKT('SRID=4674;POINT (-38.686289 -3.394798)'))) / (select extract(epoch from '2026-08-12 21:40:25'::timestamp) - extract(epoch from '2026-08-12 21:40:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.686337 -3.394755)', '2026-08-12 21:40:25', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686289 -3.394798)'), GeomFromEWKT('SRID=4674;POINT (-38.686337 -3.394755)'))) / (select extract(epoch from '2026-08-12 21:40:25'::timestamp) - extract(epoch from '2026-08-12 21:40:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686289 -3.394798)'), GeomFromEWKT('SRID=4674;POINT (-38.686337 -3.394755)'))) / (select extract(epoch from '2026-08-12 21:40:25'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.686371 -3.394714)', '2026-08-12 21:40:26', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686337 -3.394755)'), GeomFromEWKT('SRID=4674;POINT (-38.686371 -3.394714)'))) / (select extract(epoch from '2026-08-12 21:40:26'::timestamp) - extract(epoch from '2026-08-12 21:40:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686337 -3.394755)'), GeomFromEWKT('SRID=4674;POINT (-38.686371 -3.394714)'))) / (select extract(epoch from '2026-08-12 21:40:26'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.686407 -3.394675)', '2026-08-12 21:40:26', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686371 -3.394714)'), GeomFromEWKT('SRID=4674;POINT (-38.686407 -3.394675)'))) / (select extract(epoch from '2026-08-12 21:40:26'::timestamp) - extract(epoch from '2026-08-12 21:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686371 -3.394714)'), GeomFromEWKT('SRID=4674;POINT (-38.686407 -3.394675)'))) / (select extract(epoch from '2026-08-12 21:40:26'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.686427 -3.394649)', '2026-08-12 21:40:26', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686407 -3.394675)'), GeomFromEWKT('SRID=4674;POINT (-38.686427 -3.394649)'))) / (select extract(epoch from '2026-08-12 21:40:26'::timestamp) - extract(epoch from '2026-08-12 21:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686407 -3.394675)'), GeomFromEWKT('SRID=4674;POINT (-38.686427 -3.394649)'))) / (select extract(epoch from '2026-08-12 21:40:26'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.686456 -3.394621)', '2026-08-12 21:40:26', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686427 -3.394649)'), GeomFromEWKT('SRID=4674;POINT (-38.686456 -3.394621)'))) / (select extract(epoch from '2026-08-12 21:40:26'::timestamp) - extract(epoch from '2026-08-12 21:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686427 -3.394649)'), GeomFromEWKT('SRID=4674;POINT (-38.686456 -3.394621)'))) / (select extract(epoch from '2026-08-12 21:40:26'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.686487 -3.39459)', '2026-08-12 21:40:27', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686456 -3.394621)'), GeomFromEWKT('SRID=4674;POINT (-38.686487 -3.39459)'))) / (select extract(epoch from '2026-08-12 21:40:27'::timestamp) - extract(epoch from '2026-08-12 21:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686456 -3.394621)'), GeomFromEWKT('SRID=4674;POINT (-38.686487 -3.39459)'))) / (select extract(epoch from '2026-08-12 21:40:27'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.686529 -3.394555)', '2026-08-12 21:40:27', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686487 -3.39459)'), GeomFromEWKT('SRID=4674;POINT (-38.686529 -3.394555)'))) / (select extract(epoch from '2026-08-12 21:40:27'::timestamp) - extract(epoch from '2026-08-12 21:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686487 -3.39459)'), GeomFromEWKT('SRID=4674;POINT (-38.686529 -3.394555)'))) / (select extract(epoch from '2026-08-12 21:40:27'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.686559 -3.394524)', '2026-08-12 21:40:27', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686529 -3.394555)'), GeomFromEWKT('SRID=4674;POINT (-38.686559 -3.394524)'))) / (select extract(epoch from '2026-08-12 21:40:27'::timestamp) - extract(epoch from '2026-08-12 21:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686529 -3.394555)'), GeomFromEWKT('SRID=4674;POINT (-38.686559 -3.394524)'))) / (select extract(epoch from '2026-08-12 21:40:27'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.686598 -3.3945)', '2026-08-12 21:40:28', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686559 -3.394524)'), GeomFromEWKT('SRID=4674;POINT (-38.686598 -3.3945)'))) / (select extract(epoch from '2026-08-12 21:40:28'::timestamp) - extract(epoch from '2026-08-12 21:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686559 -3.394524)'), GeomFromEWKT('SRID=4674;POINT (-38.686598 -3.3945)'))) / (select extract(epoch from '2026-08-12 21:40:28'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.686644 -3.394474)', '2026-08-12 21:40:28', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686598 -3.3945)'), GeomFromEWKT('SRID=4674;POINT (-38.686644 -3.394474)'))) / (select extract(epoch from '2026-08-12 21:40:28'::timestamp) - extract(epoch from '2026-08-12 21:40:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686598 -3.3945)'), GeomFromEWKT('SRID=4674;POINT (-38.686644 -3.394474)'))) / (select extract(epoch from '2026-08-12 21:40:28'::timestamp) - extract(epoch from '2026-08-12 21:40:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.686668 -3.39445)', '2026-08-12 21:40:28', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686644 -3.394474)'), GeomFromEWKT('SRID=4674;POINT (-38.686668 -3.39445)'))) / (select extract(epoch from '2026-08-12 21:40:28'::timestamp) - extract(epoch from '2026-08-12 21:40:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686644 -3.394474)'), GeomFromEWKT('SRID=4674;POINT (-38.686668 -3.39445)'))) / (select extract(epoch from '2026-08-12 21:40:28'::timestamp) - extract(epoch from '2026-08-12 21:40:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.686689 -3.394425)', '2026-08-12 21:40:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686668 -3.39445)'), GeomFromEWKT('SRID=4674;POINT (-38.686689 -3.394425)'))) / (select extract(epoch from '2026-08-12 21:40:28'::timestamp) - extract(epoch from '2026-08-12 21:40:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686668 -3.39445)'), GeomFromEWKT('SRID=4674;POINT (-38.686689 -3.394425)'))) / (select extract(epoch from '2026-08-12 21:40:28'::timestamp) - extract(epoch from '2026-08-12 21:40:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.686717 -3.394406)', '2026-08-12 21:40:29', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686689 -3.394425)'), GeomFromEWKT('SRID=4674;POINT (-38.686717 -3.394406)'))) / (select extract(epoch from '2026-08-12 21:40:29'::timestamp) - extract(epoch from '2026-08-12 21:40:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686689 -3.394425)'), GeomFromEWKT('SRID=4674;POINT (-38.686717 -3.394406)'))) / (select extract(epoch from '2026-08-12 21:40:29'::timestamp) - extract(epoch from '2026-08-12 21:40:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.686726 -3.394406)', '2026-08-12 21:40:29', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686717 -3.394406)'), GeomFromEWKT('SRID=4674;POINT (-38.686726 -3.394406)'))) / (select extract(epoch from '2026-08-12 21:40:29'::timestamp) - extract(epoch from '2026-08-12 21:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686717 -3.394406)'), GeomFromEWKT('SRID=4674;POINT (-38.686726 -3.394406)'))) / (select extract(epoch from '2026-08-12 21:40:29'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.686749 -3.39438)', '2026-08-12 21:40:29', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686726 -3.394406)'), GeomFromEWKT('SRID=4674;POINT (-38.686749 -3.39438)'))) / (select extract(epoch from '2026-08-12 21:40:29'::timestamp) - extract(epoch from '2026-08-12 21:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686726 -3.394406)'), GeomFromEWKT('SRID=4674;POINT (-38.686749 -3.39438)'))) / (select extract(epoch from '2026-08-12 21:40:29'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.686772 -3.394356)', '2026-08-12 21:40:29', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686749 -3.39438)'), GeomFromEWKT('SRID=4674;POINT (-38.686772 -3.394356)'))) / (select extract(epoch from '2026-08-12 21:40:29'::timestamp) - extract(epoch from '2026-08-12 21:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686749 -3.39438)'), GeomFromEWKT('SRID=4674;POINT (-38.686772 -3.394356)'))) / (select extract(epoch from '2026-08-12 21:40:29'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.686805 -3.394322)', '2026-08-12 21:40:30', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686772 -3.394356)'), GeomFromEWKT('SRID=4674;POINT (-38.686805 -3.394322)'))) / (select extract(epoch from '2026-08-12 21:40:30'::timestamp) - extract(epoch from '2026-08-12 21:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686772 -3.394356)'), GeomFromEWKT('SRID=4674;POINT (-38.686805 -3.394322)'))) / (select extract(epoch from '2026-08-12 21:40:30'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.68685 -3.394291)', '2026-08-12 21:40:30', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686805 -3.394322)'), GeomFromEWKT('SRID=4674;POINT (-38.68685 -3.394291)'))) / (select extract(epoch from '2026-08-12 21:40:30'::timestamp) - extract(epoch from '2026-08-12 21:40:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686805 -3.394322)'), GeomFromEWKT('SRID=4674;POINT (-38.68685 -3.394291)'))) / (select extract(epoch from '2026-08-12 21:40:30'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.686902 -3.394284)', '2026-08-12 21:40:30', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68685 -3.394291)'), GeomFromEWKT('SRID=4674;POINT (-38.686902 -3.394284)'))) / (select extract(epoch from '2026-08-12 21:40:30'::timestamp) - extract(epoch from '2026-08-12 21:40:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68685 -3.394291)'), GeomFromEWKT('SRID=4674;POINT (-38.686902 -3.394284)'))) / (select extract(epoch from '2026-08-12 21:40:30'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.686944 -3.394322)', '2026-08-12 21:40:31', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686902 -3.394284)'), GeomFromEWKT('SRID=4674;POINT (-38.686944 -3.394322)'))) / (select extract(epoch from '2026-08-12 21:40:31'::timestamp) - extract(epoch from '2026-08-12 21:40:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686902 -3.394284)'), GeomFromEWKT('SRID=4674;POINT (-38.686944 -3.394322)'))) / (select extract(epoch from '2026-08-12 21:40:31'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.686954 -3.394405)', '2026-08-12 21:40:31', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686944 -3.394322)'), GeomFromEWKT('SRID=4674;POINT (-38.686954 -3.394405)'))) / (select extract(epoch from '2026-08-12 21:40:31'::timestamp) - extract(epoch from '2026-08-12 21:40:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686944 -3.394322)'), GeomFromEWKT('SRID=4674;POINT (-38.686954 -3.394405)'))) / (select extract(epoch from '2026-08-12 21:40:31'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.686961 -3.394498)', '2026-08-12 21:40:32', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686954 -3.394405)'), GeomFromEWKT('SRID=4674;POINT (-38.686961 -3.394498)'))) / (select extract(epoch from '2026-08-12 21:40:32'::timestamp) - extract(epoch from '2026-08-12 21:40:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686954 -3.394405)'), GeomFromEWKT('SRID=4674;POINT (-38.686961 -3.394498)'))) / (select extract(epoch from '2026-08-12 21:40:32'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.68696 -3.394582)', '2026-08-12 21:40:32', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686961 -3.394498)'), GeomFromEWKT('SRID=4674;POINT (-38.68696 -3.394582)'))) / (select extract(epoch from '2026-08-12 21:40:32'::timestamp) - extract(epoch from '2026-08-12 21:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686961 -3.394498)'), GeomFromEWKT('SRID=4674;POINT (-38.68696 -3.394582)'))) / (select extract(epoch from '2026-08-12 21:40:32'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.686973 -3.394689)', '2026-08-12 21:40:33', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68696 -3.394582)'), GeomFromEWKT('SRID=4674;POINT (-38.686973 -3.394689)'))) / (select extract(epoch from '2026-08-12 21:40:33'::timestamp) - extract(epoch from '2026-08-12 21:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68696 -3.394582)'), GeomFromEWKT('SRID=4674;POINT (-38.686973 -3.394689)'))) / (select extract(epoch from '2026-08-12 21:40:33'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.686974 -3.394727)', '2026-08-12 21:40:33', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686973 -3.394689)'), GeomFromEWKT('SRID=4674;POINT (-38.686974 -3.394727)'))) / (select extract(epoch from '2026-08-12 21:40:33'::timestamp) - extract(epoch from '2026-08-12 21:40:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686973 -3.394689)'), GeomFromEWKT('SRID=4674;POINT (-38.686974 -3.394727)'))) / (select extract(epoch from '2026-08-12 21:40:33'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.686986 -3.394775)', '2026-08-12 21:40:34', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686974 -3.394727)'), GeomFromEWKT('SRID=4674;POINT (-38.686986 -3.394775)'))) / (select extract(epoch from '2026-08-12 21:40:34'::timestamp) - extract(epoch from '2026-08-12 21:40:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686974 -3.394727)'), GeomFromEWKT('SRID=4674;POINT (-38.686986 -3.394775)'))) / (select extract(epoch from '2026-08-12 21:40:34'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.686987 -3.394805)', '2026-08-12 21:40:34', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686986 -3.394775)'), GeomFromEWKT('SRID=4674;POINT (-38.686987 -3.394805)'))) / (select extract(epoch from '2026-08-12 21:40:34'::timestamp) - extract(epoch from '2026-08-12 21:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686986 -3.394775)'), GeomFromEWKT('SRID=4674;POINT (-38.686987 -3.394805)'))) / (select extract(epoch from '2026-08-12 21:40:34'::timestamp) - extract(epoch from '2026-08-12 21:40:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.68699 -3.394863)', '2026-08-12 21:40:34', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686987 -3.394805)'), GeomFromEWKT('SRID=4674;POINT (-38.68699 -3.394863)'))) / (select extract(epoch from '2026-08-12 21:40:34'::timestamp) - extract(epoch from '2026-08-12 21:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686987 -3.394805)'), GeomFromEWKT('SRID=4674;POINT (-38.68699 -3.394863)'))) / (select extract(epoch from '2026-08-12 21:40:34'::timestamp) - extract(epoch from '2026-08-12 21:40:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.686991 -3.394956)', '2026-08-12 21:40:35', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68699 -3.394863)'), GeomFromEWKT('SRID=4674;POINT (-38.686991 -3.394956)'))) / (select extract(epoch from '2026-08-12 21:40:35'::timestamp) - extract(epoch from '2026-08-12 21:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68699 -3.394863)'), GeomFromEWKT('SRID=4674;POINT (-38.686991 -3.394956)'))) / (select extract(epoch from '2026-08-12 21:40:35'::timestamp) - extract(epoch from '2026-08-12 21:40:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.686992 -3.394984)', '2026-08-12 21:40:35', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686991 -3.394956)'), GeomFromEWKT('SRID=4674;POINT (-38.686992 -3.394984)'))) / (select extract(epoch from '2026-08-12 21:40:35'::timestamp) - extract(epoch from '2026-08-12 21:40:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686991 -3.394956)'), GeomFromEWKT('SRID=4674;POINT (-38.686992 -3.394984)'))) / (select extract(epoch from '2026-08-12 21:40:35'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.686995 -3.394999)', '2026-08-12 21:40:35', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686992 -3.394984)'), GeomFromEWKT('SRID=4674;POINT (-38.686995 -3.394999)'))) / (select extract(epoch from '2026-08-12 21:40:35'::timestamp) - extract(epoch from '2026-08-12 21:40:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686992 -3.394984)'), GeomFromEWKT('SRID=4674;POINT (-38.686995 -3.394999)'))) / (select extract(epoch from '2026-08-12 21:40:35'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687 -3.395008)', '2026-08-12 21:40:35', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686995 -3.394999)'), GeomFromEWKT('SRID=4674;POINT (-38.687 -3.395008)'))) / (select extract(epoch from '2026-08-12 21:40:35'::timestamp) - extract(epoch from '2026-08-12 21:40:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686995 -3.394999)'), GeomFromEWKT('SRID=4674;POINT (-38.687 -3.395008)'))) / (select extract(epoch from '2026-08-12 21:40:35'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687002 -3.395078)', '2026-08-12 21:40:36', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687 -3.395008)'), GeomFromEWKT('SRID=4674;POINT (-38.687002 -3.395078)'))) / (select extract(epoch from '2026-08-12 21:40:36'::timestamp) - extract(epoch from '2026-08-12 21:40:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687 -3.395008)'), GeomFromEWKT('SRID=4674;POINT (-38.687002 -3.395078)'))) / (select extract(epoch from '2026-08-12 21:40:36'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.686993 -3.395156)', '2026-08-12 21:40:36', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687002 -3.395078)'), GeomFromEWKT('SRID=4674;POINT (-38.686993 -3.395156)'))) / (select extract(epoch from '2026-08-12 21:40:36'::timestamp) - extract(epoch from '2026-08-12 21:40:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687002 -3.395078)'), GeomFromEWKT('SRID=4674;POINT (-38.686993 -3.395156)'))) / (select extract(epoch from '2026-08-12 21:40:36'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.686983 -3.395236)', '2026-08-12 21:40:37', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686993 -3.395156)'), GeomFromEWKT('SRID=4674;POINT (-38.686983 -3.395236)'))) / (select extract(epoch from '2026-08-12 21:40:37'::timestamp) - extract(epoch from '2026-08-12 21:40:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686993 -3.395156)'), GeomFromEWKT('SRID=4674;POINT (-38.686983 -3.395236)'))) / (select extract(epoch from '2026-08-12 21:40:37'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.686982 -3.395298)', '2026-08-12 21:40:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686983 -3.395236)'), GeomFromEWKT('SRID=4674;POINT (-38.686982 -3.395298)'))) / (select extract(epoch from '2026-08-12 21:40:37'::timestamp) - extract(epoch from '2026-08-12 21:40:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686983 -3.395236)'), GeomFromEWKT('SRID=4674;POINT (-38.686982 -3.395298)'))) / (select extract(epoch from '2026-08-12 21:40:37'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.686973 -3.39534)', '2026-08-12 21:40:37', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686982 -3.395298)'), GeomFromEWKT('SRID=4674;POINT (-38.686973 -3.39534)'))) / (select extract(epoch from '2026-08-12 21:40:37'::timestamp) - extract(epoch from '2026-08-12 21:40:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686982 -3.395298)'), GeomFromEWKT('SRID=4674;POINT (-38.686973 -3.39534)'))) / (select extract(epoch from '2026-08-12 21:40:37'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.686965 -3.395399)', '2026-08-12 21:40:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686973 -3.39534)'), GeomFromEWKT('SRID=4674;POINT (-38.686965 -3.395399)'))) / (select extract(epoch from '2026-08-12 21:40:38'::timestamp) - extract(epoch from '2026-08-12 21:40:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686973 -3.39534)'), GeomFromEWKT('SRID=4674;POINT (-38.686965 -3.395399)'))) / (select extract(epoch from '2026-08-12 21:40:38'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.686966 -3.395438)', '2026-08-12 21:40:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686965 -3.395399)'), GeomFromEWKT('SRID=4674;POINT (-38.686966 -3.395438)'))) / (select extract(epoch from '2026-08-12 21:40:38'::timestamp) - extract(epoch from '2026-08-12 21:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686965 -3.395399)'), GeomFromEWKT('SRID=4674;POINT (-38.686966 -3.395438)'))) / (select extract(epoch from '2026-08-12 21:40:38'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.686971 -3.395514)', '2026-08-12 21:40:39', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686966 -3.395438)'), GeomFromEWKT('SRID=4674;POINT (-38.686971 -3.395514)'))) / (select extract(epoch from '2026-08-12 21:40:39'::timestamp) - extract(epoch from '2026-08-12 21:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686966 -3.395438)'), GeomFromEWKT('SRID=4674;POINT (-38.686971 -3.395514)'))) / (select extract(epoch from '2026-08-12 21:40:39'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.686971 -3.395583)', '2026-08-12 21:40:39', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686971 -3.395514)'), GeomFromEWKT('SRID=4674;POINT (-38.686971 -3.395583)'))) / (select extract(epoch from '2026-08-12 21:40:39'::timestamp) - extract(epoch from '2026-08-12 21:40:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686971 -3.395514)'), GeomFromEWKT('SRID=4674;POINT (-38.686971 -3.395583)'))) / (select extract(epoch from '2026-08-12 21:40:39'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.686968 -3.395597)', '2026-08-12 21:40:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686971 -3.395583)'), GeomFromEWKT('SRID=4674;POINT (-38.686968 -3.395597)'))) / (select extract(epoch from '2026-08-12 21:40:39'::timestamp) - extract(epoch from '2026-08-12 21:40:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686971 -3.395583)'), GeomFromEWKT('SRID=4674;POINT (-38.686968 -3.395597)'))) / (select extract(epoch from '2026-08-12 21:40:39'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.686966 -3.395686)', '2026-08-12 21:40:40', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686968 -3.395597)'), GeomFromEWKT('SRID=4674;POINT (-38.686966 -3.395686)'))) / (select extract(epoch from '2026-08-12 21:40:40'::timestamp) - extract(epoch from '2026-08-12 21:40:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686968 -3.395597)'), GeomFromEWKT('SRID=4674;POINT (-38.686966 -3.395686)'))) / (select extract(epoch from '2026-08-12 21:40:40'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.686975 -3.395737)', '2026-08-12 21:40:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686966 -3.395686)'), GeomFromEWKT('SRID=4674;POINT (-38.686975 -3.395737)'))) / (select extract(epoch from '2026-08-12 21:40:40'::timestamp) - extract(epoch from '2026-08-12 21:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686966 -3.395686)'), GeomFromEWKT('SRID=4674;POINT (-38.686975 -3.395737)'))) / (select extract(epoch from '2026-08-12 21:40:40'::timestamp) - extract(epoch from '2026-08-12 21:40:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.686987 -3.395758)', '2026-08-12 21:40:40', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686975 -3.395737)'), GeomFromEWKT('SRID=4674;POINT (-38.686987 -3.395758)'))) / (select extract(epoch from '2026-08-12 21:40:40'::timestamp) - extract(epoch from '2026-08-12 21:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686975 -3.395737)'), GeomFromEWKT('SRID=4674;POINT (-38.686987 -3.395758)'))) / (select extract(epoch from '2026-08-12 21:40:40'::timestamp) - extract(epoch from '2026-08-12 21:40:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.68701 -3.395779)', '2026-08-12 21:40:40', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686987 -3.395758)'), GeomFromEWKT('SRID=4674;POINT (-38.68701 -3.395779)'))) / (select extract(epoch from '2026-08-12 21:40:40'::timestamp) - extract(epoch from '2026-08-12 21:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.686987 -3.395758)'), GeomFromEWKT('SRID=4674;POINT (-38.68701 -3.395779)'))) / (select extract(epoch from '2026-08-12 21:40:40'::timestamp) - extract(epoch from '2026-08-12 21:40:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.687043 -3.39577)', '2026-08-12 21:40:41', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68701 -3.395779)'), GeomFromEWKT('SRID=4674;POINT (-38.687043 -3.39577)'))) / (select extract(epoch from '2026-08-12 21:40:41'::timestamp) - extract(epoch from '2026-08-12 21:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68701 -3.395779)'), GeomFromEWKT('SRID=4674;POINT (-38.687043 -3.39577)'))) / (select extract(epoch from '2026-08-12 21:40:41'::timestamp) - extract(epoch from '2026-08-12 21:40:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.687079 -3.395753)', '2026-08-12 21:40:41', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687043 -3.39577)'), GeomFromEWKT('SRID=4674;POINT (-38.687079 -3.395753)'))) / (select extract(epoch from '2026-08-12 21:40:41'::timestamp) - extract(epoch from '2026-08-12 21:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687043 -3.39577)'), GeomFromEWKT('SRID=4674;POINT (-38.687079 -3.395753)'))) / (select extract(epoch from '2026-08-12 21:40:41'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687104 -3.39572)', '2026-08-12 21:40:41', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687079 -3.395753)'), GeomFromEWKT('SRID=4674;POINT (-38.687104 -3.39572)'))) / (select extract(epoch from '2026-08-12 21:40:41'::timestamp) - extract(epoch from '2026-08-12 21:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687079 -3.395753)'), GeomFromEWKT('SRID=4674;POINT (-38.687104 -3.39572)'))) / (select extract(epoch from '2026-08-12 21:40:41'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687121 -3.395695)', '2026-08-12 21:40:41', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687104 -3.39572)'), GeomFromEWKT('SRID=4674;POINT (-38.687121 -3.395695)'))) / (select extract(epoch from '2026-08-12 21:40:41'::timestamp) - extract(epoch from '2026-08-12 21:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687104 -3.39572)'), GeomFromEWKT('SRID=4674;POINT (-38.687121 -3.395695)'))) / (select extract(epoch from '2026-08-12 21:40:41'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.68714 -3.395671)', '2026-08-12 21:40:42', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687121 -3.395695)'), GeomFromEWKT('SRID=4674;POINT (-38.68714 -3.395671)'))) / (select extract(epoch from '2026-08-12 21:40:42'::timestamp) - extract(epoch from '2026-08-12 21:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687121 -3.395695)'), GeomFromEWKT('SRID=4674;POINT (-38.68714 -3.395671)'))) / (select extract(epoch from '2026-08-12 21:40:42'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687175 -3.395642)', '2026-08-12 21:40:42', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68714 -3.395671)'), GeomFromEWKT('SRID=4674;POINT (-38.687175 -3.395642)'))) / (select extract(epoch from '2026-08-12 21:40:42'::timestamp) - extract(epoch from '2026-08-12 21:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68714 -3.395671)'), GeomFromEWKT('SRID=4674;POINT (-38.687175 -3.395642)'))) / (select extract(epoch from '2026-08-12 21:40:42'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687185 -3.395634)', '2026-08-12 21:40:42', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687175 -3.395642)'), GeomFromEWKT('SRID=4674;POINT (-38.687185 -3.395634)'))) / (select extract(epoch from '2026-08-12 21:40:42'::timestamp) - extract(epoch from '2026-08-12 21:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687175 -3.395642)'), GeomFromEWKT('SRID=4674;POINT (-38.687185 -3.395634)'))) / (select extract(epoch from '2026-08-12 21:40:42'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687198 -3.395629)', '2026-08-12 21:40:42', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687185 -3.395634)'), GeomFromEWKT('SRID=4674;POINT (-38.687198 -3.395629)'))) / (select extract(epoch from '2026-08-12 21:40:42'::timestamp) - extract(epoch from '2026-08-12 21:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687185 -3.395634)'), GeomFromEWKT('SRID=4674;POINT (-38.687198 -3.395629)'))) / (select extract(epoch from '2026-08-12 21:40:42'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687226 -3.395604)', '2026-08-12 21:40:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687198 -3.395629)'), GeomFromEWKT('SRID=4674;POINT (-38.687226 -3.395604)'))) / (select extract(epoch from '2026-08-12 21:40:42'::timestamp) - extract(epoch from '2026-08-12 21:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687198 -3.395629)'), GeomFromEWKT('SRID=4674;POINT (-38.687226 -3.395604)'))) / (select extract(epoch from '2026-08-12 21:40:42'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687245 -3.395586)', '2026-08-12 21:40:43', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687226 -3.395604)'), GeomFromEWKT('SRID=4674;POINT (-38.687245 -3.395586)'))) / (select extract(epoch from '2026-08-12 21:40:43'::timestamp) - extract(epoch from '2026-08-12 21:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687226 -3.395604)'), GeomFromEWKT('SRID=4674;POINT (-38.687245 -3.395586)'))) / (select extract(epoch from '2026-08-12 21:40:43'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687258 -3.39556)', '2026-08-12 21:40:43', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687245 -3.395586)'), GeomFromEWKT('SRID=4674;POINT (-38.687258 -3.39556)'))) / (select extract(epoch from '2026-08-12 21:40:43'::timestamp) - extract(epoch from '2026-08-12 21:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687245 -3.395586)'), GeomFromEWKT('SRID=4674;POINT (-38.687258 -3.39556)'))) / (select extract(epoch from '2026-08-12 21:40:43'::timestamp) - extract(epoch from '2026-08-12 21:40:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.687283 -3.395521)', '2026-08-12 21:40:43', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687258 -3.39556)'), GeomFromEWKT('SRID=4674;POINT (-38.687283 -3.395521)'))) / (select extract(epoch from '2026-08-12 21:40:43'::timestamp) - extract(epoch from '2026-08-12 21:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687258 -3.39556)'), GeomFromEWKT('SRID=4674;POINT (-38.687283 -3.395521)'))) / (select extract(epoch from '2026-08-12 21:40:43'::timestamp) - extract(epoch from '2026-08-12 21:40:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.687309 -3.395496)', '2026-08-12 21:40:43', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687283 -3.395521)'), GeomFromEWKT('SRID=4674;POINT (-38.687309 -3.395496)'))) / (select extract(epoch from '2026-08-12 21:40:43'::timestamp) - extract(epoch from '2026-08-12 21:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687283 -3.395521)'), GeomFromEWKT('SRID=4674;POINT (-38.687309 -3.395496)'))) / (select extract(epoch from '2026-08-12 21:40:43'::timestamp) - extract(epoch from '2026-08-12 21:40:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.687333 -3.395471)', '2026-08-12 21:40:44', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687309 -3.395496)'), GeomFromEWKT('SRID=4674;POINT (-38.687333 -3.395471)'))) / (select extract(epoch from '2026-08-12 21:40:44'::timestamp) - extract(epoch from '2026-08-12 21:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687309 -3.395496)'), GeomFromEWKT('SRID=4674;POINT (-38.687333 -3.395471)'))) / (select extract(epoch from '2026-08-12 21:40:44'::timestamp) - extract(epoch from '2026-08-12 21:40:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.687355 -3.39545)', '2026-08-12 21:40:44', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687333 -3.395471)'), GeomFromEWKT('SRID=4674;POINT (-38.687355 -3.39545)'))) / (select extract(epoch from '2026-08-12 21:40:44'::timestamp) - extract(epoch from '2026-08-12 21:40:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687333 -3.395471)'), GeomFromEWKT('SRID=4674;POINT (-38.687355 -3.39545)'))) / (select extract(epoch from '2026-08-12 21:40:44'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687388 -3.39543)', '2026-08-12 21:40:44', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687355 -3.39545)'), GeomFromEWKT('SRID=4674;POINT (-38.687388 -3.39543)'))) / (select extract(epoch from '2026-08-12 21:40:44'::timestamp) - extract(epoch from '2026-08-12 21:40:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687355 -3.39545)'), GeomFromEWKT('SRID=4674;POINT (-38.687388 -3.39543)'))) / (select extract(epoch from '2026-08-12 21:40:44'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687425 -3.395404)', '2026-08-12 21:40:44', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687388 -3.39543)'), GeomFromEWKT('SRID=4674;POINT (-38.687425 -3.395404)'))) / (select extract(epoch from '2026-08-12 21:40:44'::timestamp) - extract(epoch from '2026-08-12 21:40:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687388 -3.39543)'), GeomFromEWKT('SRID=4674;POINT (-38.687425 -3.395404)'))) / (select extract(epoch from '2026-08-12 21:40:44'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687452 -3.395381)', '2026-08-12 21:40:45', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687425 -3.395404)'), GeomFromEWKT('SRID=4674;POINT (-38.687452 -3.395381)'))) / (select extract(epoch from '2026-08-12 21:40:45'::timestamp) - extract(epoch from '2026-08-12 21:40:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687425 -3.395404)'), GeomFromEWKT('SRID=4674;POINT (-38.687452 -3.395381)'))) / (select extract(epoch from '2026-08-12 21:40:45'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687483 -3.395351)', '2026-08-12 21:40:45', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687452 -3.395381)'), GeomFromEWKT('SRID=4674;POINT (-38.687483 -3.395351)'))) / (select extract(epoch from '2026-08-12 21:40:45'::timestamp) - extract(epoch from '2026-08-12 21:40:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687452 -3.395381)'), GeomFromEWKT('SRID=4674;POINT (-38.687483 -3.395351)'))) / (select extract(epoch from '2026-08-12 21:40:45'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687524 -3.39535)', '2026-08-12 21:40:45', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687483 -3.395351)'), GeomFromEWKT('SRID=4674;POINT (-38.687524 -3.39535)'))) / (select extract(epoch from '2026-08-12 21:40:45'::timestamp) - extract(epoch from '2026-08-12 21:40:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687483 -3.395351)'), GeomFromEWKT('SRID=4674;POINT (-38.687524 -3.39535)'))) / (select extract(epoch from '2026-08-12 21:40:45'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687554 -3.395416)', '2026-08-12 21:40:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687524 -3.39535)'), GeomFromEWKT('SRID=4674;POINT (-38.687554 -3.395416)'))) / (select extract(epoch from '2026-08-12 21:40:46'::timestamp) - extract(epoch from '2026-08-12 21:40:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687524 -3.39535)'), GeomFromEWKT('SRID=4674;POINT (-38.687554 -3.395416)'))) / (select extract(epoch from '2026-08-12 21:40:46'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687576 -3.395485)', '2026-08-12 21:40:46', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687554 -3.395416)'), GeomFromEWKT('SRID=4674;POINT (-38.687576 -3.395485)'))) / (select extract(epoch from '2026-08-12 21:40:46'::timestamp) - extract(epoch from '2026-08-12 21:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687554 -3.395416)'), GeomFromEWKT('SRID=4674;POINT (-38.687576 -3.395485)'))) / (select extract(epoch from '2026-08-12 21:40:46'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687579 -3.395506)', '2026-08-12 21:40:46', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687576 -3.395485)'), GeomFromEWKT('SRID=4674;POINT (-38.687579 -3.395506)'))) / (select extract(epoch from '2026-08-12 21:40:46'::timestamp) - extract(epoch from '2026-08-12 21:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687576 -3.395485)'), GeomFromEWKT('SRID=4674;POINT (-38.687579 -3.395506)'))) / (select extract(epoch from '2026-08-12 21:40:46'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687598 -3.39554)', '2026-08-12 21:40:46', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687579 -3.395506)'), GeomFromEWKT('SRID=4674;POINT (-38.687598 -3.39554)'))) / (select extract(epoch from '2026-08-12 21:40:46'::timestamp) - extract(epoch from '2026-08-12 21:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687579 -3.395506)'), GeomFromEWKT('SRID=4674;POINT (-38.687598 -3.39554)'))) / (select extract(epoch from '2026-08-12 21:40:46'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687629 -3.395617)', '2026-08-12 21:40:47', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687598 -3.39554)'), GeomFromEWKT('SRID=4674;POINT (-38.687629 -3.395617)'))) / (select extract(epoch from '2026-08-12 21:40:47'::timestamp) - extract(epoch from '2026-08-12 21:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687598 -3.39554)'), GeomFromEWKT('SRID=4674;POINT (-38.687629 -3.395617)'))) / (select extract(epoch from '2026-08-12 21:40:47'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687644 -3.395677)', '2026-08-12 21:40:47', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687629 -3.395617)'), GeomFromEWKT('SRID=4674;POINT (-38.687644 -3.395677)'))) / (select extract(epoch from '2026-08-12 21:40:47'::timestamp) - extract(epoch from '2026-08-12 21:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687629 -3.395617)'), GeomFromEWKT('SRID=4674;POINT (-38.687644 -3.395677)'))) / (select extract(epoch from '2026-08-12 21:40:47'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687651 -3.395706)', '2026-08-12 21:40:48', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687644 -3.395677)'), GeomFromEWKT('SRID=4674;POINT (-38.687651 -3.395706)'))) / (select extract(epoch from '2026-08-12 21:40:48'::timestamp) - extract(epoch from '2026-08-12 21:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687644 -3.395677)'), GeomFromEWKT('SRID=4674;POINT (-38.687651 -3.395706)'))) / (select extract(epoch from '2026-08-12 21:40:48'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687654 -3.395765)', '2026-08-12 21:40:48', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687651 -3.395706)'), GeomFromEWKT('SRID=4674;POINT (-38.687654 -3.395765)'))) / (select extract(epoch from '2026-08-12 21:40:48'::timestamp) - extract(epoch from '2026-08-12 21:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687651 -3.395706)'), GeomFromEWKT('SRID=4674;POINT (-38.687654 -3.395765)'))) / (select extract(epoch from '2026-08-12 21:40:48'::timestamp) - extract(epoch from '2026-08-12 21:40:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.687656 -3.39585)', '2026-08-12 21:40:49', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687654 -3.395765)'), GeomFromEWKT('SRID=4674;POINT (-38.687656 -3.39585)'))) / (select extract(epoch from '2026-08-12 21:40:49'::timestamp) - extract(epoch from '2026-08-12 21:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687654 -3.395765)'), GeomFromEWKT('SRID=4674;POINT (-38.687656 -3.39585)'))) / (select extract(epoch from '2026-08-12 21:40:49'::timestamp) - extract(epoch from '2026-08-12 21:40:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.687658 -3.39586)', '2026-08-12 21:40:49', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687656 -3.39585)'), GeomFromEWKT('SRID=4674;POINT (-38.687658 -3.39586)'))) / (select extract(epoch from '2026-08-12 21:40:49'::timestamp) - extract(epoch from '2026-08-12 21:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687656 -3.39585)'), GeomFromEWKT('SRID=4674;POINT (-38.687658 -3.39586)'))) / (select extract(epoch from '2026-08-12 21:40:49'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687668 -3.395912)', '2026-08-12 21:40:49', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687658 -3.39586)'), GeomFromEWKT('SRID=4674;POINT (-38.687668 -3.395912)'))) / (select extract(epoch from '2026-08-12 21:40:49'::timestamp) - extract(epoch from '2026-08-12 21:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687658 -3.39586)'), GeomFromEWKT('SRID=4674;POINT (-38.687668 -3.395912)'))) / (select extract(epoch from '2026-08-12 21:40:49'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687666 -3.395924)', '2026-08-12 21:40:49', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687668 -3.395912)'), GeomFromEWKT('SRID=4674;POINT (-38.687666 -3.395924)'))) / (select extract(epoch from '2026-08-12 21:40:49'::timestamp) - extract(epoch from '2026-08-12 21:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687668 -3.395912)'), GeomFromEWKT('SRID=4674;POINT (-38.687666 -3.395924)'))) / (select extract(epoch from '2026-08-12 21:40:49'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687675 -3.395951)', '2026-08-12 21:40:49', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687666 -3.395924)'), GeomFromEWKT('SRID=4674;POINT (-38.687675 -3.395951)'))) / (select extract(epoch from '2026-08-12 21:40:49'::timestamp) - extract(epoch from '2026-08-12 21:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687666 -3.395924)'), GeomFromEWKT('SRID=4674;POINT (-38.687675 -3.395951)'))) / (select extract(epoch from '2026-08-12 21:40:49'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687685 -3.395973)', '2026-08-12 21:40:49', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687675 -3.395951)'), GeomFromEWKT('SRID=4674;POINT (-38.687685 -3.395973)'))) / (select extract(epoch from '2026-08-12 21:40:49'::timestamp) - extract(epoch from '2026-08-12 21:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687675 -3.395951)'), GeomFromEWKT('SRID=4674;POINT (-38.687685 -3.395973)'))) / (select extract(epoch from '2026-08-12 21:40:49'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.68768 -3.395984)', '2026-08-12 21:40:49', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687685 -3.395973)'), GeomFromEWKT('SRID=4674;POINT (-38.68768 -3.395984)'))) / (select extract(epoch from '2026-08-12 21:40:49'::timestamp) - extract(epoch from '2026-08-12 21:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687685 -3.395973)'), GeomFromEWKT('SRID=4674;POINT (-38.68768 -3.395984)'))) / (select extract(epoch from '2026-08-12 21:40:49'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687673 -3.39601)', '2026-08-12 21:40:50', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68768 -3.395984)'), GeomFromEWKT('SRID=4674;POINT (-38.687673 -3.39601)'))) / (select extract(epoch from '2026-08-12 21:40:50'::timestamp) - extract(epoch from '2026-08-12 21:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68768 -3.395984)'), GeomFromEWKT('SRID=4674;POINT (-38.687673 -3.39601)'))) / (select extract(epoch from '2026-08-12 21:40:50'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687678 -3.396049)', '2026-08-12 21:40:50', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687673 -3.39601)'), GeomFromEWKT('SRID=4674;POINT (-38.687678 -3.396049)'))) / (select extract(epoch from '2026-08-12 21:40:50'::timestamp) - extract(epoch from '2026-08-12 21:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687673 -3.39601)'), GeomFromEWKT('SRID=4674;POINT (-38.687678 -3.396049)'))) / (select extract(epoch from '2026-08-12 21:40:50'::timestamp) - extract(epoch from '2026-08-12 21:40:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.687672 -3.39615)', '2026-08-12 21:40:51', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687678 -3.396049)'), GeomFromEWKT('SRID=4674;POINT (-38.687672 -3.39615)'))) / (select extract(epoch from '2026-08-12 21:40:51'::timestamp) - extract(epoch from '2026-08-12 21:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687678 -3.396049)'), GeomFromEWKT('SRID=4674;POINT (-38.687672 -3.39615)'))) / (select extract(epoch from '2026-08-12 21:40:51'::timestamp) - extract(epoch from '2026-08-12 21:40:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.687667 -3.396238)', '2026-08-12 21:40:51', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687672 -3.39615)'), GeomFromEWKT('SRID=4674;POINT (-38.687667 -3.396238)'))) / (select extract(epoch from '2026-08-12 21:40:51'::timestamp) - extract(epoch from '2026-08-12 21:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687672 -3.39615)'), GeomFromEWKT('SRID=4674;POINT (-38.687667 -3.396238)'))) / (select extract(epoch from '2026-08-12 21:40:51'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687676 -3.396329)', '2026-08-12 21:40:52', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687667 -3.396238)'), GeomFromEWKT('SRID=4674;POINT (-38.687676 -3.396329)'))) / (select extract(epoch from '2026-08-12 21:40:52'::timestamp) - extract(epoch from '2026-08-12 21:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687667 -3.396238)'), GeomFromEWKT('SRID=4674;POINT (-38.687676 -3.396329)'))) / (select extract(epoch from '2026-08-12 21:40:52'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687668 -3.396423)', '2026-08-12 21:40:52', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687676 -3.396329)'), GeomFromEWKT('SRID=4674;POINT (-38.687668 -3.396423)'))) / (select extract(epoch from '2026-08-12 21:40:52'::timestamp) - extract(epoch from '2026-08-12 21:40:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687676 -3.396329)'), GeomFromEWKT('SRID=4674;POINT (-38.687668 -3.396423)'))) / (select extract(epoch from '2026-08-12 21:40:52'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687666 -3.396518)', '2026-08-12 21:40:53', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687668 -3.396423)'), GeomFromEWKT('SRID=4674;POINT (-38.687666 -3.396518)'))) / (select extract(epoch from '2026-08-12 21:40:53'::timestamp) - extract(epoch from '2026-08-12 21:40:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687668 -3.396423)'), GeomFromEWKT('SRID=4674;POINT (-38.687666 -3.396518)'))) / (select extract(epoch from '2026-08-12 21:40:53'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687668 -3.396545)', '2026-08-12 21:40:53', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687666 -3.396518)'), GeomFromEWKT('SRID=4674;POINT (-38.687668 -3.396545)'))) / (select extract(epoch from '2026-08-12 21:40:53'::timestamp) - extract(epoch from '2026-08-12 21:40:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687666 -3.396518)'), GeomFromEWKT('SRID=4674;POINT (-38.687668 -3.396545)'))) / (select extract(epoch from '2026-08-12 21:40:53'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687675 -3.396589)', '2026-08-12 21:40:54', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687668 -3.396545)'), GeomFromEWKT('SRID=4674;POINT (-38.687675 -3.396589)'))) / (select extract(epoch from '2026-08-12 21:40:54'::timestamp) - extract(epoch from '2026-08-12 21:40:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687668 -3.396545)'), GeomFromEWKT('SRID=4674;POINT (-38.687675 -3.396589)'))) / (select extract(epoch from '2026-08-12 21:40:54'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687682 -3.396613)', '2026-08-12 21:40:54', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687675 -3.396589)'), GeomFromEWKT('SRID=4674;POINT (-38.687682 -3.396613)'))) / (select extract(epoch from '2026-08-12 21:40:54'::timestamp) - extract(epoch from '2026-08-12 21:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687675 -3.396589)'), GeomFromEWKT('SRID=4674;POINT (-38.687682 -3.396613)'))) / (select extract(epoch from '2026-08-12 21:40:54'::timestamp) - extract(epoch from '2026-08-12 21:40:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.687677 -3.396653)', '2026-08-12 21:40:54', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687682 -3.396613)'), GeomFromEWKT('SRID=4674;POINT (-38.687677 -3.396653)'))) / (select extract(epoch from '2026-08-12 21:40:54'::timestamp) - extract(epoch from '2026-08-12 21:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687682 -3.396613)'), GeomFromEWKT('SRID=4674;POINT (-38.687677 -3.396653)'))) / (select extract(epoch from '2026-08-12 21:40:54'::timestamp) - extract(epoch from '2026-08-12 21:40:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.687681 -3.396667)', '2026-08-12 21:40:54', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687677 -3.396653)'), GeomFromEWKT('SRID=4674;POINT (-38.687681 -3.396667)'))) / (select extract(epoch from '2026-08-12 21:40:54'::timestamp) - extract(epoch from '2026-08-12 21:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687677 -3.396653)'), GeomFromEWKT('SRID=4674;POINT (-38.687681 -3.396667)'))) / (select extract(epoch from '2026-08-12 21:40:54'::timestamp) - extract(epoch from '2026-08-12 21:40:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.687674 -3.396733)', '2026-08-12 21:40:55', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687681 -3.396667)'), GeomFromEWKT('SRID=4674;POINT (-38.687674 -3.396733)'))) / (select extract(epoch from '2026-08-12 21:40:55'::timestamp) - extract(epoch from '2026-08-12 21:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687681 -3.396667)'), GeomFromEWKT('SRID=4674;POINT (-38.687674 -3.396733)'))) / (select extract(epoch from '2026-08-12 21:40:55'::timestamp) - extract(epoch from '2026-08-12 21:40:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.68767 -3.396761)', '2026-08-12 21:40:55', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687674 -3.396733)'), GeomFromEWKT('SRID=4674;POINT (-38.68767 -3.396761)'))) / (select extract(epoch from '2026-08-12 21:40:55'::timestamp) - extract(epoch from '2026-08-12 21:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687674 -3.396733)'), GeomFromEWKT('SRID=4674;POINT (-38.68767 -3.396761)'))) / (select extract(epoch from '2026-08-12 21:40:55'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687674 -3.396799)', '2026-08-12 21:40:55', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68767 -3.396761)'), GeomFromEWKT('SRID=4674;POINT (-38.687674 -3.396799)'))) / (select extract(epoch from '2026-08-12 21:40:55'::timestamp) - extract(epoch from '2026-08-12 21:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68767 -3.396761)'), GeomFromEWKT('SRID=4674;POINT (-38.687674 -3.396799)'))) / (select extract(epoch from '2026-08-12 21:40:55'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.68768 -3.396845)', '2026-08-12 21:40:55', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687674 -3.396799)'), GeomFromEWKT('SRID=4674;POINT (-38.68768 -3.396845)'))) / (select extract(epoch from '2026-08-12 21:40:55'::timestamp) - extract(epoch from '2026-08-12 21:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687674 -3.396799)'), GeomFromEWKT('SRID=4674;POINT (-38.68768 -3.396845)'))) / (select extract(epoch from '2026-08-12 21:40:55'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687676 -3.396854)', '2026-08-12 21:40:55', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68768 -3.396845)'), GeomFromEWKT('SRID=4674;POINT (-38.687676 -3.396854)'))) / (select extract(epoch from '2026-08-12 21:40:55'::timestamp) - extract(epoch from '2026-08-12 21:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68768 -3.396845)'), GeomFromEWKT('SRID=4674;POINT (-38.687676 -3.396854)'))) / (select extract(epoch from '2026-08-12 21:40:55'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687643 -3.396856)', '2026-08-12 21:40:56', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687676 -3.396854)'), GeomFromEWKT('SRID=4674;POINT (-38.687643 -3.396856)'))) / (select extract(epoch from '2026-08-12 21:40:56'::timestamp) - extract(epoch from '2026-08-12 21:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687676 -3.396854)'), GeomFromEWKT('SRID=4674;POINT (-38.687643 -3.396856)'))) / (select extract(epoch from '2026-08-12 21:40:56'::timestamp) - extract(epoch from '2026-08-12 21:40: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'), 48120, 'SRID=4674;POINT (-38.687666 -3.396808)', '2026-08-12 21:40:56', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687643 -3.396856)'), GeomFromEWKT('SRID=4674;POINT (-38.687666 -3.396808)'))) / (select extract(epoch from '2026-08-12 21:40:56'::timestamp) - extract(epoch from '2026-08-12 21:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687643 -3.396856)'), GeomFromEWKT('SRID=4674;POINT (-38.687666 -3.396808)'))) / (select extract(epoch from '2026-08-12 21:40:56'::timestamp) - extract(epoch from '2026-08-12 21:40:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.687694 -3.396766)', '2026-08-12 21:40:56', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687666 -3.396808)'), GeomFromEWKT('SRID=4674;POINT (-38.687694 -3.396766)'))) / (select extract(epoch from '2026-08-12 21:40:56'::timestamp) - extract(epoch from '2026-08-12 21:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687666 -3.396808)'), GeomFromEWKT('SRID=4674;POINT (-38.687694 -3.396766)'))) / (select extract(epoch from '2026-08-12 21:40:56'::timestamp) - extract(epoch from '2026-08-12 21:40:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.687731 -3.396742)', '2026-08-12 21:40:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687694 -3.396766)'), GeomFromEWKT('SRID=4674;POINT (-38.687731 -3.396742)'))) / (select extract(epoch from '2026-08-12 21:40:57'::timestamp) - extract(epoch from '2026-08-12 21:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687694 -3.396766)'), GeomFromEWKT('SRID=4674;POINT (-38.687731 -3.396742)'))) / (select extract(epoch from '2026-08-12 21:40:57'::timestamp) - extract(epoch from '2026-08-12 21:40:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.68775 -3.396709)', '2026-08-12 21:40:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687731 -3.396742)'), GeomFromEWKT('SRID=4674;POINT (-38.68775 -3.396709)'))) / (select extract(epoch from '2026-08-12 21:40:57'::timestamp) - extract(epoch from '2026-08-12 21:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687731 -3.396742)'), GeomFromEWKT('SRID=4674;POINT (-38.68775 -3.396709)'))) / (select extract(epoch from '2026-08-12 21:40:57'::timestamp) - extract(epoch from '2026-08-12 21:40:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.687778 -3.396674)', '2026-08-12 21:40:57', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68775 -3.396709)'), GeomFromEWKT('SRID=4674;POINT (-38.687778 -3.396674)'))) / (select extract(epoch from '2026-08-12 21:40:57'::timestamp) - extract(epoch from '2026-08-12 21:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68775 -3.396709)'), GeomFromEWKT('SRID=4674;POINT (-38.687778 -3.396674)'))) / (select extract(epoch from '2026-08-12 21:40:57'::timestamp) - extract(epoch from '2026-08-12 21:40:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.687798 -3.396625)', '2026-08-12 21:40:57', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687778 -3.396674)'), GeomFromEWKT('SRID=4674;POINT (-38.687798 -3.396625)'))) / (select extract(epoch from '2026-08-12 21:40:57'::timestamp) - extract(epoch from '2026-08-12 21:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687778 -3.396674)'), GeomFromEWKT('SRID=4674;POINT (-38.687798 -3.396625)'))) / (select extract(epoch from '2026-08-12 21:40:57'::timestamp) - extract(epoch from '2026-08-12 21:40:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.687811 -3.396584)', '2026-08-12 21:40:58', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687798 -3.396625)'), GeomFromEWKT('SRID=4674;POINT (-38.687811 -3.396584)'))) / (select extract(epoch from '2026-08-12 21:40:58'::timestamp) - extract(epoch from '2026-08-12 21:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687798 -3.396625)'), GeomFromEWKT('SRID=4674;POINT (-38.687811 -3.396584)'))) / (select extract(epoch from '2026-08-12 21:40:58'::timestamp) - extract(epoch from '2026-08-12 21:40:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.687824 -3.396555)', '2026-08-12 21:40:58', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687811 -3.396584)'), GeomFromEWKT('SRID=4674;POINT (-38.687824 -3.396555)'))) / (select extract(epoch from '2026-08-12 21:40:58'::timestamp) - extract(epoch from '2026-08-12 21:40:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687811 -3.396584)'), GeomFromEWKT('SRID=4674;POINT (-38.687824 -3.396555)'))) / (select extract(epoch from '2026-08-12 21:40:58'::timestamp) - extract(epoch from '2026-08-12 21:40:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.687828 -3.396543)', '2026-08-12 21:40:58', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687824 -3.396555)'), GeomFromEWKT('SRID=4674;POINT (-38.687828 -3.396543)'))) / (select extract(epoch from '2026-08-12 21:40:58'::timestamp) - extract(epoch from '2026-08-12 21:40:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687824 -3.396555)'), GeomFromEWKT('SRID=4674;POINT (-38.687828 -3.396543)'))) / (select extract(epoch from '2026-08-12 21:40:58'::timestamp) - extract(epoch from '2026-08-12 21:40:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.687851 -3.396508)', '2026-08-12 21:40:58', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687828 -3.396543)'), GeomFromEWKT('SRID=4674;POINT (-38.687851 -3.396508)'))) / (select extract(epoch from '2026-08-12 21:40:58'::timestamp) - extract(epoch from '2026-08-12 21:40:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687828 -3.396543)'), GeomFromEWKT('SRID=4674;POINT (-38.687851 -3.396508)'))) / (select extract(epoch from '2026-08-12 21:40:58'::timestamp) - extract(epoch from '2026-08-12 21:40:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.68787 -3.39648)', '2026-08-12 21:40:59', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687851 -3.396508)'), GeomFromEWKT('SRID=4674;POINT (-38.68787 -3.39648)'))) / (select extract(epoch from '2026-08-12 21:40:59'::timestamp) - extract(epoch from '2026-08-12 21:40:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687851 -3.396508)'), GeomFromEWKT('SRID=4674;POINT (-38.68787 -3.39648)'))) / (select extract(epoch from '2026-08-12 21:40:59'::timestamp) - extract(epoch from '2026-08-12 21:40:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.687901 -3.396459)', '2026-08-12 21:40:59', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68787 -3.39648)'), GeomFromEWKT('SRID=4674;POINT (-38.687901 -3.396459)'))) / (select extract(epoch from '2026-08-12 21:40:59'::timestamp) - extract(epoch from '2026-08-12 21:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68787 -3.39648)'), GeomFromEWKT('SRID=4674;POINT (-38.687901 -3.396459)'))) / (select extract(epoch from '2026-08-12 21:40:59'::timestamp) - extract(epoch from '2026-08-12 21:40:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.687932 -3.396423)', '2026-08-12 21:40:59', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687901 -3.396459)'), GeomFromEWKT('SRID=4674;POINT (-38.687932 -3.396423)'))) / (select extract(epoch from '2026-08-12 21:40:59'::timestamp) - extract(epoch from '2026-08-12 21:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687901 -3.396459)'), GeomFromEWKT('SRID=4674;POINT (-38.687932 -3.396423)'))) / (select extract(epoch from '2026-08-12 21:40:59'::timestamp) - extract(epoch from '2026-08-12 21:40:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.687973 -3.396376)', '2026-08-12 21:41:00', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687932 -3.396423)'), GeomFromEWKT('SRID=4674;POINT (-38.687973 -3.396376)'))) / (select extract(epoch from '2026-08-12 21:41:00'::timestamp) - extract(epoch from '2026-08-12 21:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687932 -3.396423)'), GeomFromEWKT('SRID=4674;POINT (-38.687973 -3.396376)'))) / (select extract(epoch from '2026-08-12 21:41:00'::timestamp) - extract(epoch from '2026-08-12 21:40:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.687991 -3.396356)', '2026-08-12 21:41:00', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687973 -3.396376)'), GeomFromEWKT('SRID=4674;POINT (-38.687991 -3.396356)'))) / (select extract(epoch from '2026-08-12 21:41:00'::timestamp) - extract(epoch from '2026-08-12 21:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687973 -3.396376)'), GeomFromEWKT('SRID=4674;POINT (-38.687991 -3.396356)'))) / (select extract(epoch from '2026-08-12 21:41:00'::timestamp) - extract(epoch from '2026-08-12 21:41:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688014 -3.396317)', '2026-08-12 21:41:00', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687991 -3.396356)'), GeomFromEWKT('SRID=4674;POINT (-38.688014 -3.396317)'))) / (select extract(epoch from '2026-08-12 21:41:00'::timestamp) - extract(epoch from '2026-08-12 21:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.687991 -3.396356)'), GeomFromEWKT('SRID=4674;POINT (-38.688014 -3.396317)'))) / (select extract(epoch from '2026-08-12 21:41:00'::timestamp) - extract(epoch from '2026-08-12 21:41:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688038 -3.396287)', '2026-08-12 21:41:00', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688014 -3.396317)'), GeomFromEWKT('SRID=4674;POINT (-38.688038 -3.396287)'))) / (select extract(epoch from '2026-08-12 21:41:00'::timestamp) - extract(epoch from '2026-08-12 21:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688014 -3.396317)'), GeomFromEWKT('SRID=4674;POINT (-38.688038 -3.396287)'))) / (select extract(epoch from '2026-08-12 21:41:00'::timestamp) - extract(epoch from '2026-08-12 21:41:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688056 -3.396232)', '2026-08-12 21:41:01', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688038 -3.396287)'), GeomFromEWKT('SRID=4674;POINT (-38.688056 -3.396232)'))) / (select extract(epoch from '2026-08-12 21:41:01'::timestamp) - extract(epoch from '2026-08-12 21:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688038 -3.396287)'), GeomFromEWKT('SRID=4674;POINT (-38.688056 -3.396232)'))) / (select extract(epoch from '2026-08-12 21:41:01'::timestamp) - extract(epoch from '2026-08-12 21:41:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688085 -3.396189)', '2026-08-12 21:41:01', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688056 -3.396232)'), GeomFromEWKT('SRID=4674;POINT (-38.688085 -3.396189)'))) / (select extract(epoch from '2026-08-12 21:41:01'::timestamp) - extract(epoch from '2026-08-12 21:41:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688056 -3.396232)'), GeomFromEWKT('SRID=4674;POINT (-38.688085 -3.396189)'))) / (select extract(epoch from '2026-08-12 21:41:01'::timestamp) - extract(epoch from '2026-08-12 21:41:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688065 -3.396141)', '2026-08-12 21:41:01', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688085 -3.396189)'), GeomFromEWKT('SRID=4674;POINT (-38.688065 -3.396141)'))) / (select extract(epoch from '2026-08-12 21:41:01'::timestamp) - extract(epoch from '2026-08-12 21:41:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688085 -3.396189)'), GeomFromEWKT('SRID=4674;POINT (-38.688065 -3.396141)'))) / (select extract(epoch from '2026-08-12 21:41:01'::timestamp) - extract(epoch from '2026-08-12 21:41:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688058 -3.396114)', '2026-08-12 21:41:02', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688065 -3.396141)'), GeomFromEWKT('SRID=4674;POINT (-38.688058 -3.396114)'))) / (select extract(epoch from '2026-08-12 21:41:02'::timestamp) - extract(epoch from '2026-08-12 21:41:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688065 -3.396141)'), GeomFromEWKT('SRID=4674;POINT (-38.688058 -3.396114)'))) / (select extract(epoch from '2026-08-12 21:41:02'::timestamp) - extract(epoch from '2026-08-12 21:41:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688049 -3.396086)', '2026-08-12 21:41:02', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688058 -3.396114)'), GeomFromEWKT('SRID=4674;POINT (-38.688049 -3.396086)'))) / (select extract(epoch from '2026-08-12 21:41:02'::timestamp) - extract(epoch from '2026-08-12 21:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688058 -3.396114)'), GeomFromEWKT('SRID=4674;POINT (-38.688049 -3.396086)'))) / (select extract(epoch from '2026-08-12 21:41:02'::timestamp) - extract(epoch from '2026-08-12 21:41:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688054 -3.396067)', '2026-08-12 21:41:02', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688049 -3.396086)'), GeomFromEWKT('SRID=4674;POINT (-38.688054 -3.396067)'))) / (select extract(epoch from '2026-08-12 21:41:02'::timestamp) - extract(epoch from '2026-08-12 21:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688049 -3.396086)'), GeomFromEWKT('SRID=4674;POINT (-38.688054 -3.396067)'))) / (select extract(epoch from '2026-08-12 21:41:02'::timestamp) - extract(epoch from '2026-08-12 21:41:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688112 -3.396007)', '2026-08-12 21:41:02', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688054 -3.396067)'), GeomFromEWKT('SRID=4674;POINT (-38.688112 -3.396007)'))) / (select extract(epoch from '2026-08-12 21:41:02'::timestamp) - extract(epoch from '2026-08-12 21:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688054 -3.396067)'), GeomFromEWKT('SRID=4674;POINT (-38.688112 -3.396007)'))) / (select extract(epoch from '2026-08-12 21:41:02'::timestamp) - extract(epoch from '2026-08-12 21:41:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688162 -3.396018)', '2026-08-12 21:41:03', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688112 -3.396007)'), GeomFromEWKT('SRID=4674;POINT (-38.688162 -3.396018)'))) / (select extract(epoch from '2026-08-12 21:41:03'::timestamp) - extract(epoch from '2026-08-12 21:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688112 -3.396007)'), GeomFromEWKT('SRID=4674;POINT (-38.688162 -3.396018)'))) / (select extract(epoch from '2026-08-12 21:41:03'::timestamp) - extract(epoch from '2026-08-12 21:41:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.68817 -3.39604)', '2026-08-12 21:41:03', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688162 -3.396018)'), GeomFromEWKT('SRID=4674;POINT (-38.68817 -3.39604)'))) / (select extract(epoch from '2026-08-12 21:41:03'::timestamp) - extract(epoch from '2026-08-12 21:41:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688162 -3.396018)'), GeomFromEWKT('SRID=4674;POINT (-38.68817 -3.39604)'))) / (select extract(epoch from '2026-08-12 21:41:03'::timestamp) - extract(epoch from '2026-08-12 21:41:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688192 -3.396133)', '2026-08-12 21:41:04', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68817 -3.39604)'), GeomFromEWKT('SRID=4674;POINT (-38.688192 -3.396133)'))) / (select extract(epoch from '2026-08-12 21:41:04'::timestamp) - extract(epoch from '2026-08-12 21:41:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68817 -3.39604)'), GeomFromEWKT('SRID=4674;POINT (-38.688192 -3.396133)'))) / (select extract(epoch from '2026-08-12 21:41:04'::timestamp) - extract(epoch from '2026-08-12 21:41:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688197 -3.396167)', '2026-08-12 21:41:04', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688192 -3.396133)'), GeomFromEWKT('SRID=4674;POINT (-38.688197 -3.396167)'))) / (select extract(epoch from '2026-08-12 21:41:04'::timestamp) - extract(epoch from '2026-08-12 21:41:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688192 -3.396133)'), GeomFromEWKT('SRID=4674;POINT (-38.688197 -3.396167)'))) / (select extract(epoch from '2026-08-12 21:41:04'::timestamp) - extract(epoch from '2026-08-12 21:41:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688211 -3.396216)', '2026-08-12 21:41:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688197 -3.396167)'), GeomFromEWKT('SRID=4674;POINT (-38.688211 -3.396216)'))) / (select extract(epoch from '2026-08-12 21:41:04'::timestamp) - extract(epoch from '2026-08-12 21:41:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688197 -3.396167)'), GeomFromEWKT('SRID=4674;POINT (-38.688211 -3.396216)'))) / (select extract(epoch from '2026-08-12 21:41:04'::timestamp) - extract(epoch from '2026-08-12 21:41:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688213 -3.396235)', '2026-08-12 21:41:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688211 -3.396216)'), GeomFromEWKT('SRID=4674;POINT (-38.688213 -3.396235)'))) / (select extract(epoch from '2026-08-12 21:41:04'::timestamp) - extract(epoch from '2026-08-12 21:41:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688211 -3.396216)'), GeomFromEWKT('SRID=4674;POINT (-38.688213 -3.396235)'))) / (select extract(epoch from '2026-08-12 21:41:04'::timestamp) - extract(epoch from '2026-08-12 21:41:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688201 -3.396289)', '2026-08-12 21:41:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688213 -3.396235)'), GeomFromEWKT('SRID=4674;POINT (-38.688201 -3.396289)'))) / (select extract(epoch from '2026-08-12 21:41:05'::timestamp) - extract(epoch from '2026-08-12 21:41:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688213 -3.396235)'), GeomFromEWKT('SRID=4674;POINT (-38.688201 -3.396289)'))) / (select extract(epoch from '2026-08-12 21:41:05'::timestamp) - extract(epoch from '2026-08-12 21:41:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688194 -3.396396)', '2026-08-12 21:41:05', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688201 -3.396289)'), GeomFromEWKT('SRID=4674;POINT (-38.688194 -3.396396)'))) / (select extract(epoch from '2026-08-12 21:41:05'::timestamp) - extract(epoch from '2026-08-12 21:41:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688201 -3.396289)'), GeomFromEWKT('SRID=4674;POINT (-38.688194 -3.396396)'))) / (select extract(epoch from '2026-08-12 21:41:05'::timestamp) - extract(epoch from '2026-08-12 21:41:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688197 -3.396452)', '2026-08-12 21:41:06', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688194 -3.396396)'), GeomFromEWKT('SRID=4674;POINT (-38.688197 -3.396452)'))) / (select extract(epoch from '2026-08-12 21:41:06'::timestamp) - extract(epoch from '2026-08-12 21:41:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688194 -3.396396)'), GeomFromEWKT('SRID=4674;POINT (-38.688197 -3.396452)'))) / (select extract(epoch from '2026-08-12 21:41:06'::timestamp) - extract(epoch from '2026-08-12 21:41:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688208 -3.396503)', '2026-08-12 21:41:06', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688197 -3.396452)'), GeomFromEWKT('SRID=4674;POINT (-38.688208 -3.396503)'))) / (select extract(epoch from '2026-08-12 21:41:06'::timestamp) - extract(epoch from '2026-08-12 21:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688197 -3.396452)'), GeomFromEWKT('SRID=4674;POINT (-38.688208 -3.396503)'))) / (select extract(epoch from '2026-08-12 21:41:06'::timestamp) - extract(epoch from '2026-08-12 21:41:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.6882 -3.396536)', '2026-08-12 21:41:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688208 -3.396503)'), GeomFromEWKT('SRID=4674;POINT (-38.6882 -3.396536)'))) / (select extract(epoch from '2026-08-12 21:41:06'::timestamp) - extract(epoch from '2026-08-12 21:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688208 -3.396503)'), GeomFromEWKT('SRID=4674;POINT (-38.6882 -3.396536)'))) / (select extract(epoch from '2026-08-12 21:41:06'::timestamp) - extract(epoch from '2026-08-12 21:41:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688211 -3.396587)', '2026-08-12 21:41:07', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6882 -3.396536)'), GeomFromEWKT('SRID=4674;POINT (-38.688211 -3.396587)'))) / (select extract(epoch from '2026-08-12 21:41:07'::timestamp) - extract(epoch from '2026-08-12 21:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6882 -3.396536)'), GeomFromEWKT('SRID=4674;POINT (-38.688211 -3.396587)'))) / (select extract(epoch from '2026-08-12 21:41:07'::timestamp) - extract(epoch from '2026-08-12 21:41:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688195 -3.39663)', '2026-08-12 21:41:07', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688211 -3.396587)'), GeomFromEWKT('SRID=4674;POINT (-38.688195 -3.39663)'))) / (select extract(epoch from '2026-08-12 21:41:07'::timestamp) - extract(epoch from '2026-08-12 21:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688211 -3.396587)'), GeomFromEWKT('SRID=4674;POINT (-38.688195 -3.39663)'))) / (select extract(epoch from '2026-08-12 21:41:07'::timestamp) - extract(epoch from '2026-08-12 21:41:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688203 -3.396674)', '2026-08-12 21:41:07', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688195 -3.39663)'), GeomFromEWKT('SRID=4674;POINT (-38.688203 -3.396674)'))) / (select extract(epoch from '2026-08-12 21:41:07'::timestamp) - extract(epoch from '2026-08-12 21:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688195 -3.39663)'), GeomFromEWKT('SRID=4674;POINT (-38.688203 -3.396674)'))) / (select extract(epoch from '2026-08-12 21:41:07'::timestamp) - extract(epoch from '2026-08-12 21:41:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688198 -3.396738)', '2026-08-12 21:41:08', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688203 -3.396674)'), GeomFromEWKT('SRID=4674;POINT (-38.688198 -3.396738)'))) / (select extract(epoch from '2026-08-12 21:41:08'::timestamp) - extract(epoch from '2026-08-12 21:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688203 -3.396674)'), GeomFromEWKT('SRID=4674;POINT (-38.688198 -3.396738)'))) / (select extract(epoch from '2026-08-12 21:41:08'::timestamp) - extract(epoch from '2026-08-12 21:41:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688204 -3.396753)', '2026-08-12 21:41:08', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688198 -3.396738)'), GeomFromEWKT('SRID=4674;POINT (-38.688204 -3.396753)'))) / (select extract(epoch from '2026-08-12 21:41:08'::timestamp) - extract(epoch from '2026-08-12 21:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688198 -3.396738)'), GeomFromEWKT('SRID=4674;POINT (-38.688204 -3.396753)'))) / (select extract(epoch from '2026-08-12 21:41:08'::timestamp) - extract(epoch from '2026-08-12 21:41:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688206 -3.396767)', '2026-08-12 21:41:08', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688204 -3.396753)'), GeomFromEWKT('SRID=4674;POINT (-38.688206 -3.396767)'))) / (select extract(epoch from '2026-08-12 21:41:08'::timestamp) - extract(epoch from '2026-08-12 21:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688204 -3.396753)'), GeomFromEWKT('SRID=4674;POINT (-38.688206 -3.396767)'))) / (select extract(epoch from '2026-08-12 21:41:08'::timestamp) - extract(epoch from '2026-08-12 21:41:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688205 -3.396829)', '2026-08-12 21:41:08', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688206 -3.396767)'), GeomFromEWKT('SRID=4674;POINT (-38.688205 -3.396829)'))) / (select extract(epoch from '2026-08-12 21:41:08'::timestamp) - extract(epoch from '2026-08-12 21:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688206 -3.396767)'), GeomFromEWKT('SRID=4674;POINT (-38.688205 -3.396829)'))) / (select extract(epoch from '2026-08-12 21:41:08'::timestamp) - extract(epoch from '2026-08-12 21:41:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688208 -3.396915)', '2026-08-12 21:41:09', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688205 -3.396829)'), GeomFromEWKT('SRID=4674;POINT (-38.688208 -3.396915)'))) / (select extract(epoch from '2026-08-12 21:41:09'::timestamp) - extract(epoch from '2026-08-12 21:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688205 -3.396829)'), GeomFromEWKT('SRID=4674;POINT (-38.688208 -3.396915)'))) / (select extract(epoch from '2026-08-12 21:41:09'::timestamp) - extract(epoch from '2026-08-12 21:41:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688206 -3.39695)', '2026-08-12 21:41:09', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688208 -3.396915)'), GeomFromEWKT('SRID=4674;POINT (-38.688206 -3.39695)'))) / (select extract(epoch from '2026-08-12 21:41:09'::timestamp) - extract(epoch from '2026-08-12 21:41:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688208 -3.396915)'), GeomFromEWKT('SRID=4674;POINT (-38.688206 -3.39695)'))) / (select extract(epoch from '2026-08-12 21:41:09'::timestamp) - extract(epoch from '2026-08-12 21:41:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688216 -3.397003)', '2026-08-12 21:41:09', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688206 -3.39695)'), GeomFromEWKT('SRID=4674;POINT (-38.688216 -3.397003)'))) / (select extract(epoch from '2026-08-12 21:41:09'::timestamp) - extract(epoch from '2026-08-12 21:41:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688206 -3.39695)'), GeomFromEWKT('SRID=4674;POINT (-38.688216 -3.397003)'))) / (select extract(epoch from '2026-08-12 21:41:09'::timestamp) - extract(epoch from '2026-08-12 21:41:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688237 -3.397123)', '2026-08-12 21:41:10', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688216 -3.397003)'), GeomFromEWKT('SRID=4674;POINT (-38.688237 -3.397123)'))) / (select extract(epoch from '2026-08-12 21:41:10'::timestamp) - extract(epoch from '2026-08-12 21:41:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688216 -3.397003)'), GeomFromEWKT('SRID=4674;POINT (-38.688237 -3.397123)'))) / (select extract(epoch from '2026-08-12 21:41:10'::timestamp) - extract(epoch from '2026-08-12 21:41:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688261 -3.397228)', '2026-08-12 21:41:11', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688237 -3.397123)'), GeomFromEWKT('SRID=4674;POINT (-38.688261 -3.397228)'))) / (select extract(epoch from '2026-08-12 21:41:11'::timestamp) - extract(epoch from '2026-08-12 21:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688237 -3.397123)'), GeomFromEWKT('SRID=4674;POINT (-38.688261 -3.397228)'))) / (select extract(epoch from '2026-08-12 21:41:11'::timestamp) - extract(epoch from '2026-08-12 21:41:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688285 -3.397329)', '2026-08-12 21:41:12', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688261 -3.397228)'), GeomFromEWKT('SRID=4674;POINT (-38.688285 -3.397329)'))) / (select extract(epoch from '2026-08-12 21:41:12'::timestamp) - extract(epoch from '2026-08-12 21:41:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688261 -3.397228)'), GeomFromEWKT('SRID=4674;POINT (-38.688285 -3.397329)'))) / (select extract(epoch from '2026-08-12 21:41:12'::timestamp) - extract(epoch from '2026-08-12 21:41:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688295 -3.397368)', '2026-08-12 21:41:12', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688285 -3.397329)'), GeomFromEWKT('SRID=4674;POINT (-38.688295 -3.397368)'))) / (select extract(epoch from '2026-08-12 21:41:12'::timestamp) - extract(epoch from '2026-08-12 21:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688285 -3.397329)'), GeomFromEWKT('SRID=4674;POINT (-38.688295 -3.397368)'))) / (select extract(epoch from '2026-08-12 21:41:12'::timestamp) - extract(epoch from '2026-08-12 21:41:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688314 -3.3974)', '2026-08-12 21:41:12', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688295 -3.397368)'), GeomFromEWKT('SRID=4674;POINT (-38.688314 -3.3974)'))) / (select extract(epoch from '2026-08-12 21:41:12'::timestamp) - extract(epoch from '2026-08-12 21:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688295 -3.397368)'), GeomFromEWKT('SRID=4674;POINT (-38.688314 -3.3974)'))) / (select extract(epoch from '2026-08-12 21:41:12'::timestamp) - extract(epoch from '2026-08-12 21:41:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688331 -3.397482)', '2026-08-12 21:41:13', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688314 -3.3974)'), GeomFromEWKT('SRID=4674;POINT (-38.688331 -3.397482)'))) / (select extract(epoch from '2026-08-12 21:41:13'::timestamp) - extract(epoch from '2026-08-12 21:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688314 -3.3974)'), GeomFromEWKT('SRID=4674;POINT (-38.688331 -3.397482)'))) / (select extract(epoch from '2026-08-12 21:41:13'::timestamp) - extract(epoch from '2026-08-12 21:41:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688336 -3.397557)', '2026-08-12 21:41:13', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688331 -3.397482)'), GeomFromEWKT('SRID=4674;POINT (-38.688336 -3.397557)'))) / (select extract(epoch from '2026-08-12 21:41:13'::timestamp) - extract(epoch from '2026-08-12 21:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688331 -3.397482)'), GeomFromEWKT('SRID=4674;POINT (-38.688336 -3.397557)'))) / (select extract(epoch from '2026-08-12 21:41:13'::timestamp) - extract(epoch from '2026-08-12 21:41:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688334 -3.397561)', '2026-08-12 21:41:13', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688336 -3.397557)'), GeomFromEWKT('SRID=4674;POINT (-38.688334 -3.397561)'))) / (select extract(epoch from '2026-08-12 21:41:13'::timestamp) - extract(epoch from '2026-08-12 21:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688336 -3.397557)'), GeomFromEWKT('SRID=4674;POINT (-38.688334 -3.397561)'))) / (select extract(epoch from '2026-08-12 21:41:13'::timestamp) - extract(epoch from '2026-08-12 21:41:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688356 -3.397546)', '2026-08-12 21:41:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688334 -3.397561)'), GeomFromEWKT('SRID=4674;POINT (-38.688356 -3.397546)'))) / (select extract(epoch from '2026-08-12 21:41:13'::timestamp) - extract(epoch from '2026-08-12 21:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688334 -3.397561)'), GeomFromEWKT('SRID=4674;POINT (-38.688356 -3.397546)'))) / (select extract(epoch from '2026-08-12 21:41:13'::timestamp) - extract(epoch from '2026-08-12 21:41:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688385 -3.397526)', '2026-08-12 21:41:14', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688356 -3.397546)'), GeomFromEWKT('SRID=4674;POINT (-38.688385 -3.397526)'))) / (select extract(epoch from '2026-08-12 21:41:14'::timestamp) - extract(epoch from '2026-08-12 21:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688356 -3.397546)'), GeomFromEWKT('SRID=4674;POINT (-38.688385 -3.397526)'))) / (select extract(epoch from '2026-08-12 21:41:14'::timestamp) - extract(epoch from '2026-08-12 21:41:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688419 -3.3975)', '2026-08-12 21:41:14', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688385 -3.397526)'), GeomFromEWKT('SRID=4674;POINT (-38.688419 -3.3975)'))) / (select extract(epoch from '2026-08-12 21:41:14'::timestamp) - extract(epoch from '2026-08-12 21:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688385 -3.397526)'), GeomFromEWKT('SRID=4674;POINT (-38.688419 -3.3975)'))) / (select extract(epoch from '2026-08-12 21:41:14'::timestamp) - extract(epoch from '2026-08-12 21:41:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688446 -3.397477)', '2026-08-12 21:41:14', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688419 -3.3975)'), GeomFromEWKT('SRID=4674;POINT (-38.688446 -3.397477)'))) / (select extract(epoch from '2026-08-12 21:41:14'::timestamp) - extract(epoch from '2026-08-12 21:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688419 -3.3975)'), GeomFromEWKT('SRID=4674;POINT (-38.688446 -3.397477)'))) / (select extract(epoch from '2026-08-12 21:41:14'::timestamp) - extract(epoch from '2026-08-12 21:41:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688459 -3.39745)', '2026-08-12 21:41:14', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688446 -3.397477)'), GeomFromEWKT('SRID=4674;POINT (-38.688459 -3.39745)'))) / (select extract(epoch from '2026-08-12 21:41:14'::timestamp) - extract(epoch from '2026-08-12 21:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688446 -3.397477)'), GeomFromEWKT('SRID=4674;POINT (-38.688459 -3.39745)'))) / (select extract(epoch from '2026-08-12 21:41:14'::timestamp) - extract(epoch from '2026-08-12 21:41:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688482 -3.397418)', '2026-08-12 21:41:15', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688459 -3.39745)'), GeomFromEWKT('SRID=4674;POINT (-38.688482 -3.397418)'))) / (select extract(epoch from '2026-08-12 21:41:15'::timestamp) - extract(epoch from '2026-08-12 21:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688459 -3.39745)'), GeomFromEWKT('SRID=4674;POINT (-38.688482 -3.397418)'))) / (select extract(epoch from '2026-08-12 21:41:15'::timestamp) - extract(epoch from '2026-08-12 21:41:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.68851 -3.39737)', '2026-08-12 21:41:15', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688482 -3.397418)'), GeomFromEWKT('SRID=4674;POINT (-38.68851 -3.39737)'))) / (select extract(epoch from '2026-08-12 21:41:15'::timestamp) - extract(epoch from '2026-08-12 21:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688482 -3.397418)'), GeomFromEWKT('SRID=4674;POINT (-38.68851 -3.39737)'))) / (select extract(epoch from '2026-08-12 21:41:15'::timestamp) - extract(epoch from '2026-08-12 21:41:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688512 -3.397355)', '2026-08-12 21:41:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68851 -3.39737)'), GeomFromEWKT('SRID=4674;POINT (-38.688512 -3.397355)'))) / (select extract(epoch from '2026-08-12 21:41:15'::timestamp) - extract(epoch from '2026-08-12 21:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68851 -3.39737)'), GeomFromEWKT('SRID=4674;POINT (-38.688512 -3.397355)'))) / (select extract(epoch from '2026-08-12 21:41:15'::timestamp) - extract(epoch from '2026-08-12 21:41:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688531 -3.397345)', '2026-08-12 21:41:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688512 -3.397355)'), GeomFromEWKT('SRID=4674;POINT (-38.688531 -3.397345)'))) / (select extract(epoch from '2026-08-12 21:41:15'::timestamp) - extract(epoch from '2026-08-12 21:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688512 -3.397355)'), GeomFromEWKT('SRID=4674;POINT (-38.688531 -3.397345)'))) / (select extract(epoch from '2026-08-12 21:41:15'::timestamp) - extract(epoch from '2026-08-12 21:41:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688531 -3.397329)', '2026-08-12 21:41:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688531 -3.397345)'), GeomFromEWKT('SRID=4674;POINT (-38.688531 -3.397329)'))) / (select extract(epoch from '2026-08-12 21:41:15'::timestamp) - extract(epoch from '2026-08-12 21:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688531 -3.397345)'), GeomFromEWKT('SRID=4674;POINT (-38.688531 -3.397329)'))) / (select extract(epoch from '2026-08-12 21:41:15'::timestamp) - extract(epoch from '2026-08-12 21:41:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688548 -3.397309)', '2026-08-12 21:41:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688531 -3.397329)'), GeomFromEWKT('SRID=4674;POINT (-38.688548 -3.397309)'))) / (select extract(epoch from '2026-08-12 21:41:16'::timestamp) - extract(epoch from '2026-08-12 21:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688531 -3.397329)'), GeomFromEWKT('SRID=4674;POINT (-38.688548 -3.397309)'))) / (select extract(epoch from '2026-08-12 21:41:16'::timestamp) - extract(epoch from '2026-08-12 21:41:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688565 -3.397282)', '2026-08-12 21:41:16', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688548 -3.397309)'), GeomFromEWKT('SRID=4674;POINT (-38.688565 -3.397282)'))) / (select extract(epoch from '2026-08-12 21:41:16'::timestamp) - extract(epoch from '2026-08-12 21:41:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688548 -3.397309)'), GeomFromEWKT('SRID=4674;POINT (-38.688565 -3.397282)'))) / (select extract(epoch from '2026-08-12 21:41:16'::timestamp) - extract(epoch from '2026-08-12 21:41:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.68858 -3.397259)', '2026-08-12 21:41:16', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688565 -3.397282)'), GeomFromEWKT('SRID=4674;POINT (-38.68858 -3.397259)'))) / (select extract(epoch from '2026-08-12 21:41:16'::timestamp) - extract(epoch from '2026-08-12 21:41:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688565 -3.397282)'), GeomFromEWKT('SRID=4674;POINT (-38.68858 -3.397259)'))) / (select extract(epoch from '2026-08-12 21:41:16'::timestamp) - extract(epoch from '2026-08-12 21:41:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688593 -3.397236)', '2026-08-12 21:41:16', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68858 -3.397259)'), GeomFromEWKT('SRID=4674;POINT (-38.688593 -3.397236)'))) / (select extract(epoch from '2026-08-12 21:41:16'::timestamp) - extract(epoch from '2026-08-12 21:41:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.68858 -3.397259)'), GeomFromEWKT('SRID=4674;POINT (-38.688593 -3.397236)'))) / (select extract(epoch from '2026-08-12 21:41:16'::timestamp) - extract(epoch from '2026-08-12 21:41:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688615 -3.397217)', '2026-08-12 21:41:16', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688593 -3.397236)'), GeomFromEWKT('SRID=4674;POINT (-38.688615 -3.397217)'))) / (select extract(epoch from '2026-08-12 21:41:16'::timestamp) - extract(epoch from '2026-08-12 21:41:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688593 -3.397236)'), GeomFromEWKT('SRID=4674;POINT (-38.688615 -3.397217)'))) / (select extract(epoch from '2026-08-12 21:41:16'::timestamp) - extract(epoch from '2026-08-12 21:41:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688641 -3.397191)', '2026-08-12 21:41:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688615 -3.397217)'), GeomFromEWKT('SRID=4674;POINT (-38.688641 -3.397191)'))) / (select extract(epoch from '2026-08-12 21:41:17'::timestamp) - extract(epoch from '2026-08-12 21:41:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688615 -3.397217)'), GeomFromEWKT('SRID=4674;POINT (-38.688641 -3.397191)'))) / (select extract(epoch from '2026-08-12 21:41:17'::timestamp) - extract(epoch from '2026-08-12 21:41:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688669 -3.397164)', '2026-08-12 21:41:17', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688641 -3.397191)'), GeomFromEWKT('SRID=4674;POINT (-38.688669 -3.397164)'))) / (select extract(epoch from '2026-08-12 21:41:17'::timestamp) - extract(epoch from '2026-08-12 21:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688641 -3.397191)'), GeomFromEWKT('SRID=4674;POINT (-38.688669 -3.397164)'))) / (select extract(epoch from '2026-08-12 21:41:17'::timestamp) - extract(epoch from '2026-08-12 21:41:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688687 -3.39713)', '2026-08-12 21:41:17', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688669 -3.397164)'), GeomFromEWKT('SRID=4674;POINT (-38.688687 -3.39713)'))) / (select extract(epoch from '2026-08-12 21:41:17'::timestamp) - extract(epoch from '2026-08-12 21:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688669 -3.397164)'), GeomFromEWKT('SRID=4674;POINT (-38.688687 -3.39713)'))) / (select extract(epoch from '2026-08-12 21:41:17'::timestamp) - extract(epoch from '2026-08-12 21:41:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.688705 -3.397081)', '2026-08-12 21:41:17', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688687 -3.39713)'), GeomFromEWKT('SRID=4674;POINT (-38.688705 -3.397081)'))) / (select extract(epoch from '2026-08-12 21:41:17'::timestamp) - extract(epoch from '2026-08-12 21:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.688687 -3.39713)'), GeomFromEWKT('SRID=4674;POINT (-38.688705 -3.397081)'))) / (select extract(epoch from '2026-08-12 21:41:17'::timestamp) - extract(epoch from '2026-08-12 21:41:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
