BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.026505 -3.403294)', '2026-07-07 15:31:00', 7.8, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.026525 -3.403248)', '2026-07-07 15:31:07', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026505 -3.403294)'), GeomFromEWKT('SRID=4674;POINT (-39.026525 -3.403248)'))) / (select extract(epoch from '2026-07-07 15:31:07'::timestamp) - extract(epoch from '2026-07-07 15:31:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026505 -3.403294)'), GeomFromEWKT('SRID=4674;POINT (-39.026525 -3.403248)'))) / (select extract(epoch from '2026-07-07 15:31:07'::timestamp) - extract(epoch from '2026-07-07 15:31: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'), 47419, 'SRID=4674;POINT (-39.02654 -3.403221)', '2026-07-07 15:31:11', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026525 -3.403248)'), GeomFromEWKT('SRID=4674;POINT (-39.02654 -3.403221)'))) / (select extract(epoch from '2026-07-07 15:31:11'::timestamp) - extract(epoch from '2026-07-07 15:31:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026525 -3.403248)'), GeomFromEWKT('SRID=4674;POINT (-39.02654 -3.403221)'))) / (select extract(epoch from '2026-07-07 15:31:11'::timestamp) - extract(epoch from '2026-07-07 15:31:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.026552 -3.403197)', '2026-07-07 15:31:14', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02654 -3.403221)'), GeomFromEWKT('SRID=4674;POINT (-39.026552 -3.403197)'))) / (select extract(epoch from '2026-07-07 15:31:14'::timestamp) - extract(epoch from '2026-07-07 15:31:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02654 -3.403221)'), GeomFromEWKT('SRID=4674;POINT (-39.026552 -3.403197)'))) / (select extract(epoch from '2026-07-07 15:31:14'::timestamp) - extract(epoch from '2026-07-07 15:31: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'), 47419, 'SRID=4674;POINT (-39.026577 -3.403137)', '2026-07-07 15:31:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026552 -3.403197)'), GeomFromEWKT('SRID=4674;POINT (-39.026577 -3.403137)'))) / (select extract(epoch from '2026-07-07 15:31:22'::timestamp) - extract(epoch from '2026-07-07 15:31:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026552 -3.403197)'), GeomFromEWKT('SRID=4674;POINT (-39.026577 -3.403137)'))) / (select extract(epoch from '2026-07-07 15:31:22'::timestamp) - extract(epoch from '2026-07-07 15:31: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'), 47419, 'SRID=4674;POINT (-39.026605 -3.403082)', '2026-07-07 15:31:31', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026577 -3.403137)'), GeomFromEWKT('SRID=4674;POINT (-39.026605 -3.403082)'))) / (select extract(epoch from '2026-07-07 15:31:31'::timestamp) - extract(epoch from '2026-07-07 15:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026577 -3.403137)'), GeomFromEWKT('SRID=4674;POINT (-39.026605 -3.403082)'))) / (select extract(epoch from '2026-07-07 15:31:31'::timestamp) - extract(epoch from '2026-07-07 15:31: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'), 47419, 'SRID=4674;POINT (-39.026618 -3.403026)', '2026-07-07 15:31:39', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026605 -3.403082)'), GeomFromEWKT('SRID=4674;POINT (-39.026618 -3.403026)'))) / (select extract(epoch from '2026-07-07 15:31:39'::timestamp) - extract(epoch from '2026-07-07 15:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026605 -3.403082)'), GeomFromEWKT('SRID=4674;POINT (-39.026618 -3.403026)'))) / (select extract(epoch from '2026-07-07 15:31:39'::timestamp) - extract(epoch from '2026-07-07 15:31:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.026618 -3.40299)', '2026-07-07 15:31:44', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026618 -3.403026)'), GeomFromEWKT('SRID=4674;POINT (-39.026618 -3.40299)'))) / (select extract(epoch from '2026-07-07 15:31:44'::timestamp) - extract(epoch from '2026-07-07 15:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026618 -3.403026)'), GeomFromEWKT('SRID=4674;POINT (-39.026618 -3.40299)'))) / (select extract(epoch from '2026-07-07 15:31:44'::timestamp) - extract(epoch from '2026-07-07 15:31:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.026629 -3.402945)', '2026-07-07 15:31:52', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026618 -3.40299)'), GeomFromEWKT('SRID=4674;POINT (-39.026629 -3.402945)'))) / (select extract(epoch from '2026-07-07 15:31:52'::timestamp) - extract(epoch from '2026-07-07 15:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026618 -3.40299)'), GeomFromEWKT('SRID=4674;POINT (-39.026629 -3.402945)'))) / (select extract(epoch from '2026-07-07 15:31:52'::timestamp) - extract(epoch from '2026-07-07 15:31:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.026627 -3.402911)', '2026-07-07 15:31:59', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026629 -3.402945)'), GeomFromEWKT('SRID=4674;POINT (-39.026627 -3.402911)'))) / (select extract(epoch from '2026-07-07 15:31:59'::timestamp) - extract(epoch from '2026-07-07 15:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026629 -3.402945)'), GeomFromEWKT('SRID=4674;POINT (-39.026627 -3.402911)'))) / (select extract(epoch from '2026-07-07 15:31:59'::timestamp) - extract(epoch from '2026-07-07 15:31:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.026616 -3.402873)', '2026-07-07 15:32:07', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026627 -3.402911)'), GeomFromEWKT('SRID=4674;POINT (-39.026616 -3.402873)'))) / (select extract(epoch from '2026-07-07 15:32:07'::timestamp) - extract(epoch from '2026-07-07 15:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026627 -3.402911)'), GeomFromEWKT('SRID=4674;POINT (-39.026616 -3.402873)'))) / (select extract(epoch from '2026-07-07 15:32:07'::timestamp) - extract(epoch from '2026-07-07 15:31:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.0266 -3.402811)', '2026-07-07 15:32:20', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026616 -3.402873)'), GeomFromEWKT('SRID=4674;POINT (-39.0266 -3.402811)'))) / (select extract(epoch from '2026-07-07 15:32:20'::timestamp) - extract(epoch from '2026-07-07 15:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026616 -3.402873)'), GeomFromEWKT('SRID=4674;POINT (-39.0266 -3.402811)'))) / (select extract(epoch from '2026-07-07 15:32:20'::timestamp) - extract(epoch from '2026-07-07 15:32:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.026597 -3.402802)', '2026-07-07 15:32:27', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0266 -3.402811)'), GeomFromEWKT('SRID=4674;POINT (-39.026597 -3.402802)'))) / (select extract(epoch from '2026-07-07 15:32:27'::timestamp) - extract(epoch from '2026-07-07 15:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0266 -3.402811)'), GeomFromEWKT('SRID=4674;POINT (-39.026597 -3.402802)'))) / (select extract(epoch from '2026-07-07 15:32:27'::timestamp) - extract(epoch from '2026-07-07 15:32:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.0266 -3.402794)', '2026-07-07 15:32:38', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026597 -3.402802)'), GeomFromEWKT('SRID=4674;POINT (-39.0266 -3.402794)'))) / (select extract(epoch from '2026-07-07 15:32:38'::timestamp) - extract(epoch from '2026-07-07 15:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026597 -3.402802)'), GeomFromEWKT('SRID=4674;POINT (-39.0266 -3.402794)'))) / (select extract(epoch from '2026-07-07 15:32:38'::timestamp) - extract(epoch from '2026-07-07 15:32:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.026603 -3.402795)', '2026-07-07 15:32:48', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0266 -3.402794)'), GeomFromEWKT('SRID=4674;POINT (-39.026603 -3.402795)'))) / (select extract(epoch from '2026-07-07 15:32:48'::timestamp) - extract(epoch from '2026-07-07 15:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0266 -3.402794)'), GeomFromEWKT('SRID=4674;POINT (-39.026603 -3.402795)'))) / (select extract(epoch from '2026-07-07 15:32:48'::timestamp) - extract(epoch from '2026-07-07 15:32:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.026612 -3.40279)', '2026-07-07 15:32:55', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026603 -3.402795)'), GeomFromEWKT('SRID=4674;POINT (-39.026612 -3.40279)'))) / (select extract(epoch from '2026-07-07 15:32:55'::timestamp) - extract(epoch from '2026-07-07 15:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026603 -3.402795)'), GeomFromEWKT('SRID=4674;POINT (-39.026612 -3.40279)'))) / (select extract(epoch from '2026-07-07 15:32:55'::timestamp) - extract(epoch from '2026-07-07 15:32:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.026613 -3.402779)', '2026-07-07 15:33:08', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026612 -3.40279)'), GeomFromEWKT('SRID=4674;POINT (-39.026613 -3.402779)'))) / (select extract(epoch from '2026-07-07 15:33:08'::timestamp) - extract(epoch from '2026-07-07 15:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026612 -3.40279)'), GeomFromEWKT('SRID=4674;POINT (-39.026613 -3.402779)'))) / (select extract(epoch from '2026-07-07 15:33:08'::timestamp) - extract(epoch from '2026-07-07 15:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.026602 -3.402775)', '2026-07-07 15:33:17', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026613 -3.402779)'), GeomFromEWKT('SRID=4674;POINT (-39.026602 -3.402775)'))) / (select extract(epoch from '2026-07-07 15:33:17'::timestamp) - extract(epoch from '2026-07-07 15:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026613 -3.402779)'), GeomFromEWKT('SRID=4674;POINT (-39.026602 -3.402775)'))) / (select extract(epoch from '2026-07-07 15:33:17'::timestamp) - extract(epoch from '2026-07-07 15:33:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.026596 -3.402772)', '2026-07-07 15:33:25', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026602 -3.402775)'), GeomFromEWKT('SRID=4674;POINT (-39.026596 -3.402772)'))) / (select extract(epoch from '2026-07-07 15:33:25'::timestamp) - extract(epoch from '2026-07-07 15:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026602 -3.402775)'), GeomFromEWKT('SRID=4674;POINT (-39.026596 -3.402772)'))) / (select extract(epoch from '2026-07-07 15:33:25'::timestamp) - extract(epoch from '2026-07-07 15:33: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'), 47419, 'SRID=4674;POINT (-39.026604 -3.402771)', '2026-07-07 15:33:33', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026596 -3.402772)'), GeomFromEWKT('SRID=4674;POINT (-39.026604 -3.402771)'))) / (select extract(epoch from '2026-07-07 15:33:33'::timestamp) - extract(epoch from '2026-07-07 15:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026596 -3.402772)'), GeomFromEWKT('SRID=4674;POINT (-39.026604 -3.402771)'))) / (select extract(epoch from '2026-07-07 15:33:33'::timestamp) - extract(epoch from '2026-07-07 15:33: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'), 47419, 'SRID=4674;POINT (-39.026602 -3.40276)', '2026-07-07 15:33:43', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026604 -3.402771)'), GeomFromEWKT('SRID=4674;POINT (-39.026602 -3.40276)'))) / (select extract(epoch from '2026-07-07 15:33:43'::timestamp) - extract(epoch from '2026-07-07 15:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026604 -3.402771)'), GeomFromEWKT('SRID=4674;POINT (-39.026602 -3.40276)'))) / (select extract(epoch from '2026-07-07 15:33:43'::timestamp) - extract(epoch from '2026-07-07 15:33: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'), 47419, 'SRID=4674;POINT (-39.026599 -3.40276)', '2026-07-07 15:33:52', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026602 -3.40276)'), GeomFromEWKT('SRID=4674;POINT (-39.026599 -3.40276)'))) / (select extract(epoch from '2026-07-07 15:33:52'::timestamp) - extract(epoch from '2026-07-07 15:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026602 -3.40276)'), GeomFromEWKT('SRID=4674;POINT (-39.026599 -3.40276)'))) / (select extract(epoch from '2026-07-07 15:33:52'::timestamp) - extract(epoch from '2026-07-07 15:33: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'), 47419, 'SRID=4674;POINT (-39.026603 -3.402768)', '2026-07-07 15:34:01', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026599 -3.40276)'), GeomFromEWKT('SRID=4674;POINT (-39.026603 -3.402768)'))) / (select extract(epoch from '2026-07-07 15:34:01'::timestamp) - extract(epoch from '2026-07-07 15:33:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026599 -3.40276)'), GeomFromEWKT('SRID=4674;POINT (-39.026603 -3.402768)'))) / (select extract(epoch from '2026-07-07 15:34:01'::timestamp) - extract(epoch from '2026-07-07 15:33: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'), 47419, 'SRID=4674;POINT (-39.026593 -3.402772)', '2026-07-07 15:34:08', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026603 -3.402768)'), GeomFromEWKT('SRID=4674;POINT (-39.026593 -3.402772)'))) / (select extract(epoch from '2026-07-07 15:34:08'::timestamp) - extract(epoch from '2026-07-07 15:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026603 -3.402768)'), GeomFromEWKT('SRID=4674;POINT (-39.026593 -3.402772)'))) / (select extract(epoch from '2026-07-07 15:34:08'::timestamp) - extract(epoch from '2026-07-07 15:34: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'), 47419, 'SRID=4674;POINT (-39.026592 -3.402772)', '2026-07-07 15:34:13', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026593 -3.402772)'), GeomFromEWKT('SRID=4674;POINT (-39.026592 -3.402772)'))) / (select extract(epoch from '2026-07-07 15:34:13'::timestamp) - extract(epoch from '2026-07-07 15:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026593 -3.402772)'), GeomFromEWKT('SRID=4674;POINT (-39.026592 -3.402772)'))) / (select extract(epoch from '2026-07-07 15:34:13'::timestamp) - extract(epoch from '2026-07-07 15:34: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'), 47419, 'SRID=4674;POINT (-39.026599 -3.402776)', '2026-07-07 15:34:22', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026592 -3.402772)'), GeomFromEWKT('SRID=4674;POINT (-39.026599 -3.402776)'))) / (select extract(epoch from '2026-07-07 15:34:22'::timestamp) - extract(epoch from '2026-07-07 15:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026592 -3.402772)'), GeomFromEWKT('SRID=4674;POINT (-39.026599 -3.402776)'))) / (select extract(epoch from '2026-07-07 15:34:22'::timestamp) - extract(epoch from '2026-07-07 15:34: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'), 47419, 'SRID=4674;POINT (-39.026599 -3.40278)', '2026-07-07 15:34:29', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026599 -3.402776)'), GeomFromEWKT('SRID=4674;POINT (-39.026599 -3.40278)'))) / (select extract(epoch from '2026-07-07 15:34:29'::timestamp) - extract(epoch from '2026-07-07 15:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026599 -3.402776)'), GeomFromEWKT('SRID=4674;POINT (-39.026599 -3.40278)'))) / (select extract(epoch from '2026-07-07 15:34:29'::timestamp) - extract(epoch from '2026-07-07 15:34:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.026597 -3.402785)', '2026-07-07 15:34:35', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026599 -3.40278)'), GeomFromEWKT('SRID=4674;POINT (-39.026597 -3.402785)'))) / (select extract(epoch from '2026-07-07 15:34:35'::timestamp) - extract(epoch from '2026-07-07 15:34:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026599 -3.40278)'), GeomFromEWKT('SRID=4674;POINT (-39.026597 -3.402785)'))) / (select extract(epoch from '2026-07-07 15:34:35'::timestamp) - extract(epoch from '2026-07-07 15:34: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'), 47419, 'SRID=4674;POINT (-39.026586 -3.402775)', '2026-07-07 15:34:42', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026597 -3.402785)'), GeomFromEWKT('SRID=4674;POINT (-39.026586 -3.402775)'))) / (select extract(epoch from '2026-07-07 15:34:42'::timestamp) - extract(epoch from '2026-07-07 15:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026597 -3.402785)'), GeomFromEWKT('SRID=4674;POINT (-39.026586 -3.402775)'))) / (select extract(epoch from '2026-07-07 15:34:42'::timestamp) - extract(epoch from '2026-07-07 15:34: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'), 47419, 'SRID=4674;POINT (-39.026573 -3.402772)', '2026-07-07 15:34:51', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026586 -3.402775)'), GeomFromEWKT('SRID=4674;POINT (-39.026573 -3.402772)'))) / (select extract(epoch from '2026-07-07 15:34:51'::timestamp) - extract(epoch from '2026-07-07 15:34:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026586 -3.402775)'), GeomFromEWKT('SRID=4674;POINT (-39.026573 -3.402772)'))) / (select extract(epoch from '2026-07-07 15:34:51'::timestamp) - extract(epoch from '2026-07-07 15:34:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.026556 -3.402774)', '2026-07-07 15:35:03', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026573 -3.402772)'), GeomFromEWKT('SRID=4674;POINT (-39.026556 -3.402774)'))) / (select extract(epoch from '2026-07-07 15:35:03'::timestamp) - extract(epoch from '2026-07-07 15:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026573 -3.402772)'), GeomFromEWKT('SRID=4674;POINT (-39.026556 -3.402774)'))) / (select extract(epoch from '2026-07-07 15:35:03'::timestamp) - extract(epoch from '2026-07-07 15:34:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.026542 -3.402768)', '2026-07-07 15:35:16', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026556 -3.402774)'), GeomFromEWKT('SRID=4674;POINT (-39.026542 -3.402768)'))) / (select extract(epoch from '2026-07-07 15:35:16'::timestamp) - extract(epoch from '2026-07-07 15:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026556 -3.402774)'), GeomFromEWKT('SRID=4674;POINT (-39.026542 -3.402768)'))) / (select extract(epoch from '2026-07-07 15:35:16'::timestamp) - extract(epoch from '2026-07-07 15:35: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'), 47419, 'SRID=4674;POINT (-39.026543 -3.402765)', '2026-07-07 15:35:26', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026542 -3.402768)'), GeomFromEWKT('SRID=4674;POINT (-39.026543 -3.402765)'))) / (select extract(epoch from '2026-07-07 15:35:26'::timestamp) - extract(epoch from '2026-07-07 15:35:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026542 -3.402768)'), GeomFromEWKT('SRID=4674;POINT (-39.026543 -3.402765)'))) / (select extract(epoch from '2026-07-07 15:35:26'::timestamp) - extract(epoch from '2026-07-07 15:35: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'), 47419, 'SRID=4674;POINT (-39.026535 -3.40276)', '2026-07-07 15:35:37', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026543 -3.402765)'), GeomFromEWKT('SRID=4674;POINT (-39.026535 -3.40276)'))) / (select extract(epoch from '2026-07-07 15:35:37'::timestamp) - extract(epoch from '2026-07-07 15:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026543 -3.402765)'), GeomFromEWKT('SRID=4674;POINT (-39.026535 -3.40276)'))) / (select extract(epoch from '2026-07-07 15:35:37'::timestamp) - extract(epoch from '2026-07-07 15:35: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'), 47419, 'SRID=4674;POINT (-39.026539 -3.402756)', '2026-07-07 15:35:50', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026535 -3.40276)'), GeomFromEWKT('SRID=4674;POINT (-39.026539 -3.402756)'))) / (select extract(epoch from '2026-07-07 15:35:50'::timestamp) - extract(epoch from '2026-07-07 15:35:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026535 -3.40276)'), GeomFromEWKT('SRID=4674;POINT (-39.026539 -3.402756)'))) / (select extract(epoch from '2026-07-07 15:35:50'::timestamp) - extract(epoch from '2026-07-07 15:35: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'), 47419, 'SRID=4674;POINT (-39.026537 -3.402753)', '2026-07-07 15:36:03', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026539 -3.402756)'), GeomFromEWKT('SRID=4674;POINT (-39.026537 -3.402753)'))) / (select extract(epoch from '2026-07-07 15:36:03'::timestamp) - extract(epoch from '2026-07-07 15:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026539 -3.402756)'), GeomFromEWKT('SRID=4674;POINT (-39.026537 -3.402753)'))) / (select extract(epoch from '2026-07-07 15:36:03'::timestamp) - extract(epoch from '2026-07-07 15:35: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'), 47419, 'SRID=4674;POINT (-39.026539 -3.402754)', '2026-07-07 15:36:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026537 -3.402753)'), GeomFromEWKT('SRID=4674;POINT (-39.026539 -3.402754)'))) / (select extract(epoch from '2026-07-07 15:36:13'::timestamp) - extract(epoch from '2026-07-07 15:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026537 -3.402753)'), GeomFromEWKT('SRID=4674;POINT (-39.026539 -3.402754)'))) / (select extract(epoch from '2026-07-07 15:36:13'::timestamp) - extract(epoch from '2026-07-07 15:36: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'), 47419, 'SRID=4674;POINT (-39.026537 -3.402754)', '2026-07-07 15:36:23', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026539 -3.402754)'), GeomFromEWKT('SRID=4674;POINT (-39.026537 -3.402754)'))) / (select extract(epoch from '2026-07-07 15:36:23'::timestamp) - extract(epoch from '2026-07-07 15:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026539 -3.402754)'), GeomFromEWKT('SRID=4674;POINT (-39.026537 -3.402754)'))) / (select extract(epoch from '2026-07-07 15:36:23'::timestamp) - extract(epoch from '2026-07-07 15:36: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'), 47419, 'SRID=4674;POINT (-39.026538 -3.402758)', '2026-07-07 15:36:35', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026537 -3.402754)'), GeomFromEWKT('SRID=4674;POINT (-39.026538 -3.402758)'))) / (select extract(epoch from '2026-07-07 15:36:35'::timestamp) - extract(epoch from '2026-07-07 15:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026537 -3.402754)'), GeomFromEWKT('SRID=4674;POINT (-39.026538 -3.402758)'))) / (select extract(epoch from '2026-07-07 15:36:35'::timestamp) - extract(epoch from '2026-07-07 15:36: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'), 47419, 'SRID=4674;POINT (-39.02653 -3.402764)', '2026-07-07 15:36:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026538 -3.402758)'), GeomFromEWKT('SRID=4674;POINT (-39.02653 -3.402764)'))) / (select extract(epoch from '2026-07-07 15:36:49'::timestamp) - extract(epoch from '2026-07-07 15:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026538 -3.402758)'), GeomFromEWKT('SRID=4674;POINT (-39.02653 -3.402764)'))) / (select extract(epoch from '2026-07-07 15:36:49'::timestamp) - extract(epoch from '2026-07-07 15:36: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'), 47419, 'SRID=4674;POINT (-39.026523 -3.402764)', '2026-07-07 15:37:01', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02653 -3.402764)'), GeomFromEWKT('SRID=4674;POINT (-39.026523 -3.402764)'))) / (select extract(epoch from '2026-07-07 15:37:01'::timestamp) - extract(epoch from '2026-07-07 15:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02653 -3.402764)'), GeomFromEWKT('SRID=4674;POINT (-39.026523 -3.402764)'))) / (select extract(epoch from '2026-07-07 15:37:01'::timestamp) - extract(epoch from '2026-07-07 15:36:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.026525 -3.402761)', '2026-07-07 15:37:16', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026523 -3.402764)'), GeomFromEWKT('SRID=4674;POINT (-39.026525 -3.402761)'))) / (select extract(epoch from '2026-07-07 15:37:16'::timestamp) - extract(epoch from '2026-07-07 15:37:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026523 -3.402764)'), GeomFromEWKT('SRID=4674;POINT (-39.026525 -3.402761)'))) / (select extract(epoch from '2026-07-07 15:37:16'::timestamp) - extract(epoch from '2026-07-07 15:37:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.026522 -3.402756)', '2026-07-07 15:37:39', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026525 -3.402761)'), GeomFromEWKT('SRID=4674;POINT (-39.026522 -3.402756)'))) / (select extract(epoch from '2026-07-07 15:37:39'::timestamp) - extract(epoch from '2026-07-07 15:37:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026525 -3.402761)'), GeomFromEWKT('SRID=4674;POINT (-39.026522 -3.402756)'))) / (select extract(epoch from '2026-07-07 15:37:39'::timestamp) - extract(epoch from '2026-07-07 15:37: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'), 47419, 'SRID=4674;POINT (-39.02653 -3.402759)', '2026-07-07 15:37:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026522 -3.402756)'), GeomFromEWKT('SRID=4674;POINT (-39.02653 -3.402759)'))) / (select extract(epoch from '2026-07-07 15:37:49'::timestamp) - extract(epoch from '2026-07-07 15:37:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026522 -3.402756)'), GeomFromEWKT('SRID=4674;POINT (-39.02653 -3.402759)'))) / (select extract(epoch from '2026-07-07 15:37:49'::timestamp) - extract(epoch from '2026-07-07 15:37:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.026526 -3.402757)', '2026-07-07 15:37:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02653 -3.402759)'), GeomFromEWKT('SRID=4674;POINT (-39.026526 -3.402757)'))) / (select extract(epoch from '2026-07-07 15:37:56'::timestamp) - extract(epoch from '2026-07-07 15:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02653 -3.402759)'), GeomFromEWKT('SRID=4674;POINT (-39.026526 -3.402757)'))) / (select extract(epoch from '2026-07-07 15:37:56'::timestamp) - extract(epoch from '2026-07-07 15:37:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.026522 -3.402764)', '2026-07-07 15:38:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026526 -3.402757)'), GeomFromEWKT('SRID=4674;POINT (-39.026522 -3.402764)'))) / (select extract(epoch from '2026-07-07 15:38:08'::timestamp) - extract(epoch from '2026-07-07 15:37:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026526 -3.402757)'), GeomFromEWKT('SRID=4674;POINT (-39.026522 -3.402764)'))) / (select extract(epoch from '2026-07-07 15:38:08'::timestamp) - extract(epoch from '2026-07-07 15:37: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'), 47419, 'SRID=4674;POINT (-39.026524 -3.402778)', '2026-07-07 15:38:19', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026522 -3.402764)'), GeomFromEWKT('SRID=4674;POINT (-39.026524 -3.402778)'))) / (select extract(epoch from '2026-07-07 15:38:19'::timestamp) - extract(epoch from '2026-07-07 15:38:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026522 -3.402764)'), GeomFromEWKT('SRID=4674;POINT (-39.026524 -3.402778)'))) / (select extract(epoch from '2026-07-07 15:38:19'::timestamp) - extract(epoch from '2026-07-07 15:38:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.026526 -3.402777)', '2026-07-07 15:38:30', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026524 -3.402778)'), GeomFromEWKT('SRID=4674;POINT (-39.026526 -3.402777)'))) / (select extract(epoch from '2026-07-07 15:38:30'::timestamp) - extract(epoch from '2026-07-07 15:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026524 -3.402778)'), GeomFromEWKT('SRID=4674;POINT (-39.026526 -3.402777)'))) / (select extract(epoch from '2026-07-07 15:38:30'::timestamp) - extract(epoch from '2026-07-07 15:38: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'), 47419, 'SRID=4674;POINT (-39.026526 -3.402772)', '2026-07-07 15:38:38', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026526 -3.402777)'), GeomFromEWKT('SRID=4674;POINT (-39.026526 -3.402772)'))) / (select extract(epoch from '2026-07-07 15:38:38'::timestamp) - extract(epoch from '2026-07-07 15:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026526 -3.402777)'), GeomFromEWKT('SRID=4674;POINT (-39.026526 -3.402772)'))) / (select extract(epoch from '2026-07-07 15:38:38'::timestamp) - extract(epoch from '2026-07-07 15:38:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.026526 -3.40277)', '2026-07-07 15:38:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026526 -3.402772)'), GeomFromEWKT('SRID=4674;POINT (-39.026526 -3.40277)'))) / (select extract(epoch from '2026-07-07 15:38:49'::timestamp) - extract(epoch from '2026-07-07 15:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026526 -3.402772)'), GeomFromEWKT('SRID=4674;POINT (-39.026526 -3.40277)'))) / (select extract(epoch from '2026-07-07 15:38:49'::timestamp) - extract(epoch from '2026-07-07 15:38: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'), 47419, 'SRID=4674;POINT (-39.026526 -3.402767)', '2026-07-07 15:38:59', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026526 -3.40277)'), GeomFromEWKT('SRID=4674;POINT (-39.026526 -3.402767)'))) / (select extract(epoch from '2026-07-07 15:38:59'::timestamp) - extract(epoch from '2026-07-07 15:38:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026526 -3.40277)'), GeomFromEWKT('SRID=4674;POINT (-39.026526 -3.402767)'))) / (select extract(epoch from '2026-07-07 15:38:59'::timestamp) - extract(epoch from '2026-07-07 15:38: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'), 47419, 'SRID=4674;POINT (-39.026527 -3.402773)', '2026-07-07 15:39:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026526 -3.402767)'), GeomFromEWKT('SRID=4674;POINT (-39.026527 -3.402773)'))) / (select extract(epoch from '2026-07-07 15:39:08'::timestamp) - extract(epoch from '2026-07-07 15:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026526 -3.402767)'), GeomFromEWKT('SRID=4674;POINT (-39.026527 -3.402773)'))) / (select extract(epoch from '2026-07-07 15:39:08'::timestamp) - extract(epoch from '2026-07-07 15: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'), 47419, 'SRID=4674;POINT (-39.02653 -3.402778)', '2026-07-07 15:39:24', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026527 -3.402773)'), GeomFromEWKT('SRID=4674;POINT (-39.02653 -3.402778)'))) / (select extract(epoch from '2026-07-07 15:39:24'::timestamp) - extract(epoch from '2026-07-07 15:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026527 -3.402773)'), GeomFromEWKT('SRID=4674;POINT (-39.02653 -3.402778)'))) / (select extract(epoch from '2026-07-07 15:39:24'::timestamp) - extract(epoch from '2026-07-07 15: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'), 47419, 'SRID=4674;POINT (-39.02653 -3.402785)', '2026-07-07 15:39:36', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02653 -3.402778)'), GeomFromEWKT('SRID=4674;POINT (-39.02653 -3.402785)'))) / (select extract(epoch from '2026-07-07 15:39:36'::timestamp) - extract(epoch from '2026-07-07 15:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02653 -3.402778)'), GeomFromEWKT('SRID=4674;POINT (-39.02653 -3.402785)'))) / (select extract(epoch from '2026-07-07 15:39:36'::timestamp) - extract(epoch from '2026-07-07 15: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'), 47419, 'SRID=4674;POINT (-39.026531 -3.402785)', '2026-07-07 15:39:44', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02653 -3.402785)'), GeomFromEWKT('SRID=4674;POINT (-39.026531 -3.402785)'))) / (select extract(epoch from '2026-07-07 15:39:44'::timestamp) - extract(epoch from '2026-07-07 15:39:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02653 -3.402785)'), GeomFromEWKT('SRID=4674;POINT (-39.026531 -3.402785)'))) / (select extract(epoch from '2026-07-07 15:39:44'::timestamp) - extract(epoch from '2026-07-07 15: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'), 47419, 'SRID=4674;POINT (-39.026533 -3.402781)', '2026-07-07 15:39:55', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026531 -3.402785)'), GeomFromEWKT('SRID=4674;POINT (-39.026533 -3.402781)'))) / (select extract(epoch from '2026-07-07 15:39:55'::timestamp) - extract(epoch from '2026-07-07 15:39:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026531 -3.402785)'), GeomFromEWKT('SRID=4674;POINT (-39.026533 -3.402781)'))) / (select extract(epoch from '2026-07-07 15:39:55'::timestamp) - extract(epoch from '2026-07-07 15: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'), 47419, 'SRID=4674;POINT (-39.026532 -3.40278)', '2026-07-07 15:40:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026533 -3.402781)'), GeomFromEWKT('SRID=4674;POINT (-39.026532 -3.40278)'))) / (select extract(epoch from '2026-07-07 15:40:08'::timestamp) - extract(epoch from '2026-07-07 15:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026533 -3.402781)'), GeomFromEWKT('SRID=4674;POINT (-39.026532 -3.40278)'))) / (select extract(epoch from '2026-07-07 15:40:08'::timestamp) - extract(epoch from '2026-07-07 15: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'), 47419, 'SRID=4674;POINT (-39.026536 -3.402773)', '2026-07-07 15:40:21', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026532 -3.40278)'), GeomFromEWKT('SRID=4674;POINT (-39.026536 -3.402773)'))) / (select extract(epoch from '2026-07-07 15:40:21'::timestamp) - extract(epoch from '2026-07-07 15:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026532 -3.40278)'), GeomFromEWKT('SRID=4674;POINT (-39.026536 -3.402773)'))) / (select extract(epoch from '2026-07-07 15:40:21'::timestamp) - extract(epoch from '2026-07-07 15: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'), 47419, 'SRID=4674;POINT (-39.026531 -3.402769)', '2026-07-07 15:40:37', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026536 -3.402773)'), GeomFromEWKT('SRID=4674;POINT (-39.026531 -3.402769)'))) / (select extract(epoch from '2026-07-07 15:40:37'::timestamp) - extract(epoch from '2026-07-07 15:40:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026536 -3.402773)'), GeomFromEWKT('SRID=4674;POINT (-39.026531 -3.402769)'))) / (select extract(epoch from '2026-07-07 15:40:37'::timestamp) - extract(epoch from '2026-07-07 15: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'), 47419, 'SRID=4674;POINT (-39.026529 -3.402772)', '2026-07-07 15:40:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026531 -3.402769)'), GeomFromEWKT('SRID=4674;POINT (-39.026529 -3.402772)'))) / (select extract(epoch from '2026-07-07 15:40:46'::timestamp) - extract(epoch from '2026-07-07 15:40:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026531 -3.402769)'), GeomFromEWKT('SRID=4674;POINT (-39.026529 -3.402772)'))) / (select extract(epoch from '2026-07-07 15:40:46'::timestamp) - extract(epoch from '2026-07-07 15: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'), 47419, 'SRID=4674;POINT (-39.026528 -3.402784)', '2026-07-07 15:40:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026529 -3.402772)'), GeomFromEWKT('SRID=4674;POINT (-39.026528 -3.402784)'))) / (select extract(epoch from '2026-07-07 15:40:58'::timestamp) - extract(epoch from '2026-07-07 15:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026529 -3.402772)'), GeomFromEWKT('SRID=4674;POINT (-39.026528 -3.402784)'))) / (select extract(epoch from '2026-07-07 15:40:58'::timestamp) - extract(epoch from '2026-07-07 15: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'), 47419, 'SRID=4674;POINT (-39.026521 -3.402791)', '2026-07-07 15:41:13', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026528 -3.402784)'), GeomFromEWKT('SRID=4674;POINT (-39.026521 -3.402791)'))) / (select extract(epoch from '2026-07-07 15:41:13'::timestamp) - extract(epoch from '2026-07-07 15:40:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026528 -3.402784)'), GeomFromEWKT('SRID=4674;POINT (-39.026521 -3.402791)'))) / (select extract(epoch from '2026-07-07 15:41:13'::timestamp) - extract(epoch from '2026-07-07 15: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'), 47419, 'SRID=4674;POINT (-39.026528 -3.402783)', '2026-07-07 15:41:29', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026521 -3.402791)'), GeomFromEWKT('SRID=4674;POINT (-39.026528 -3.402783)'))) / (select extract(epoch from '2026-07-07 15:41:29'::timestamp) - extract(epoch from '2026-07-07 15:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026521 -3.402791)'), GeomFromEWKT('SRID=4674;POINT (-39.026528 -3.402783)'))) / (select extract(epoch from '2026-07-07 15:41:29'::timestamp) - extract(epoch from '2026-07-07 15: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'), 47419, 'SRID=4674;POINT (-39.026532 -3.402776)', '2026-07-07 15:41:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026528 -3.402783)'), GeomFromEWKT('SRID=4674;POINT (-39.026532 -3.402776)'))) / (select extract(epoch from '2026-07-07 15:41:41'::timestamp) - extract(epoch from '2026-07-07 15:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026528 -3.402783)'), GeomFromEWKT('SRID=4674;POINT (-39.026532 -3.402776)'))) / (select extract(epoch from '2026-07-07 15:41:41'::timestamp) - extract(epoch from '2026-07-07 15:41: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'), 47419, 'SRID=4674;POINT (-39.026529 -3.402778)', '2026-07-07 15:41:48', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026532 -3.402776)'), GeomFromEWKT('SRID=4674;POINT (-39.026529 -3.402778)'))) / (select extract(epoch from '2026-07-07 15:41:48'::timestamp) - extract(epoch from '2026-07-07 15:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026532 -3.402776)'), GeomFromEWKT('SRID=4674;POINT (-39.026529 -3.402778)'))) / (select extract(epoch from '2026-07-07 15:41:48'::timestamp) - extract(epoch from '2026-07-07 15:41: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'), 47419, 'SRID=4674;POINT (-39.026488 -3.402758)', '2026-07-07 15:42:00', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026529 -3.402778)'), GeomFromEWKT('SRID=4674;POINT (-39.026488 -3.402758)'))) / (select extract(epoch from '2026-07-07 15:42:00'::timestamp) - extract(epoch from '2026-07-07 15:41:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026529 -3.402778)'), GeomFromEWKT('SRID=4674;POINT (-39.026488 -3.402758)'))) / (select extract(epoch from '2026-07-07 15:42:00'::timestamp) - extract(epoch from '2026-07-07 15:41: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'), 47419, 'SRID=4674;POINT (-39.026437 -3.402744)', '2026-07-07 15:42:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026488 -3.402758)'), GeomFromEWKT('SRID=4674;POINT (-39.026437 -3.402744)'))) / (select extract(epoch from '2026-07-07 15:42:10'::timestamp) - extract(epoch from '2026-07-07 15:42:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026488 -3.402758)'), GeomFromEWKT('SRID=4674;POINT (-39.026437 -3.402744)'))) / (select extract(epoch from '2026-07-07 15:42:10'::timestamp) - extract(epoch from '2026-07-07 15:42: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'), 47419, 'SRID=4674;POINT (-39.026383 -3.402718)', '2026-07-07 15:42:18', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026437 -3.402744)'), GeomFromEWKT('SRID=4674;POINT (-39.026383 -3.402718)'))) / (select extract(epoch from '2026-07-07 15:42:18'::timestamp) - extract(epoch from '2026-07-07 15:42:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026437 -3.402744)'), GeomFromEWKT('SRID=4674;POINT (-39.026383 -3.402718)'))) / (select extract(epoch from '2026-07-07 15:42:18'::timestamp) - extract(epoch from '2026-07-07 15:42: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'), 47419, 'SRID=4674;POINT (-39.026318 -3.402701)', '2026-07-07 15:42:27', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026383 -3.402718)'), GeomFromEWKT('SRID=4674;POINT (-39.026318 -3.402701)'))) / (select extract(epoch from '2026-07-07 15:42:27'::timestamp) - extract(epoch from '2026-07-07 15:42:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026383 -3.402718)'), GeomFromEWKT('SRID=4674;POINT (-39.026318 -3.402701)'))) / (select extract(epoch from '2026-07-07 15:42:27'::timestamp) - extract(epoch from '2026-07-07 15:42:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.026269 -3.402661)', '2026-07-07 15:42:36', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026318 -3.402701)'), GeomFromEWKT('SRID=4674;POINT (-39.026269 -3.402661)'))) / (select extract(epoch from '2026-07-07 15:42:36'::timestamp) - extract(epoch from '2026-07-07 15:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026318 -3.402701)'), GeomFromEWKT('SRID=4674;POINT (-39.026269 -3.402661)'))) / (select extract(epoch from '2026-07-07 15:42:36'::timestamp) - extract(epoch from '2026-07-07 15:42: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'), 47419, 'SRID=4674;POINT (-39.02621 -3.402597)', '2026-07-07 15:42:44', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026269 -3.402661)'), GeomFromEWKT('SRID=4674;POINT (-39.02621 -3.402597)'))) / (select extract(epoch from '2026-07-07 15:42:44'::timestamp) - extract(epoch from '2026-07-07 15:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026269 -3.402661)'), GeomFromEWKT('SRID=4674;POINT (-39.02621 -3.402597)'))) / (select extract(epoch from '2026-07-07 15:42:44'::timestamp) - extract(epoch from '2026-07-07 15:42: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'), 47419, 'SRID=4674;POINT (-39.026149 -3.402544)', '2026-07-07 15:42:51', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02621 -3.402597)'), GeomFromEWKT('SRID=4674;POINT (-39.026149 -3.402544)'))) / (select extract(epoch from '2026-07-07 15:42:51'::timestamp) - extract(epoch from '2026-07-07 15:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02621 -3.402597)'), GeomFromEWKT('SRID=4674;POINT (-39.026149 -3.402544)'))) / (select extract(epoch from '2026-07-07 15:42:51'::timestamp) - extract(epoch from '2026-07-07 15:42:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.026083 -3.402488)', '2026-07-07 15:42:58', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026149 -3.402544)'), GeomFromEWKT('SRID=4674;POINT (-39.026083 -3.402488)'))) / (select extract(epoch from '2026-07-07 15:42:58'::timestamp) - extract(epoch from '2026-07-07 15:42:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026149 -3.402544)'), GeomFromEWKT('SRID=4674;POINT (-39.026083 -3.402488)'))) / (select extract(epoch from '2026-07-07 15:42:58'::timestamp) - extract(epoch from '2026-07-07 15:42: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'), 47419, 'SRID=4674;POINT (-39.026062 -3.402461)', '2026-07-07 15:43:01', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026083 -3.402488)'), GeomFromEWKT('SRID=4674;POINT (-39.026062 -3.402461)'))) / (select extract(epoch from '2026-07-07 15:43:01'::timestamp) - extract(epoch from '2026-07-07 15:42:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026083 -3.402488)'), GeomFromEWKT('SRID=4674;POINT (-39.026062 -3.402461)'))) / (select extract(epoch from '2026-07-07 15:43:01'::timestamp) - extract(epoch from '2026-07-07 15:42: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'), 47419, 'SRID=4674;POINT (-39.026043 -3.402444)', '2026-07-07 15:43:03', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026062 -3.402461)'), GeomFromEWKT('SRID=4674;POINT (-39.026043 -3.402444)'))) / (select extract(epoch from '2026-07-07 15:43:03'::timestamp) - extract(epoch from '2026-07-07 15:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026062 -3.402461)'), GeomFromEWKT('SRID=4674;POINT (-39.026043 -3.402444)'))) / (select extract(epoch from '2026-07-07 15:43:03'::timestamp) - extract(epoch from '2026-07-07 15:43:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.025979 -3.40238)', '2026-07-07 15:43:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026043 -3.402444)'), GeomFromEWKT('SRID=4674;POINT (-39.025979 -3.40238)'))) / (select extract(epoch from '2026-07-07 15:43:10'::timestamp) - extract(epoch from '2026-07-07 15:43:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026043 -3.402444)'), GeomFromEWKT('SRID=4674;POINT (-39.025979 -3.40238)'))) / (select extract(epoch from '2026-07-07 15:43:10'::timestamp) - extract(epoch from '2026-07-07 15:43: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'), 47419, 'SRID=4674;POINT (-39.025921 -3.40231)', '2026-07-07 15:43:17', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025979 -3.40238)'), GeomFromEWKT('SRID=4674;POINT (-39.025921 -3.40231)'))) / (select extract(epoch from '2026-07-07 15:43:17'::timestamp) - extract(epoch from '2026-07-07 15:43:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025979 -3.40238)'), GeomFromEWKT('SRID=4674;POINT (-39.025921 -3.40231)'))) / (select extract(epoch from '2026-07-07 15:43:17'::timestamp) - extract(epoch from '2026-07-07 15:43: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'), 47419, 'SRID=4674;POINT (-39.025882 -3.402272)', '2026-07-07 15:43:22', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025921 -3.40231)'), GeomFromEWKT('SRID=4674;POINT (-39.025882 -3.402272)'))) / (select extract(epoch from '2026-07-07 15:43:22'::timestamp) - extract(epoch from '2026-07-07 15:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025921 -3.40231)'), GeomFromEWKT('SRID=4674;POINT (-39.025882 -3.402272)'))) / (select extract(epoch from '2026-07-07 15:43:22'::timestamp) - extract(epoch from '2026-07-07 15:43: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'), 47419, 'SRID=4674;POINT (-39.025825 -3.402221)', '2026-07-07 15:43:29', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025882 -3.402272)'), GeomFromEWKT('SRID=4674;POINT (-39.025825 -3.402221)'))) / (select extract(epoch from '2026-07-07 15:43:29'::timestamp) - extract(epoch from '2026-07-07 15:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025882 -3.402272)'), GeomFromEWKT('SRID=4674;POINT (-39.025825 -3.402221)'))) / (select extract(epoch from '2026-07-07 15:43:29'::timestamp) - extract(epoch from '2026-07-07 15:43: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'), 47419, 'SRID=4674;POINT (-39.025756 -3.402173)', '2026-07-07 15:43:36', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025825 -3.402221)'), GeomFromEWKT('SRID=4674;POINT (-39.025756 -3.402173)'))) / (select extract(epoch from '2026-07-07 15:43:36'::timestamp) - extract(epoch from '2026-07-07 15:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025825 -3.402221)'), GeomFromEWKT('SRID=4674;POINT (-39.025756 -3.402173)'))) / (select extract(epoch from '2026-07-07 15:43:36'::timestamp) - extract(epoch from '2026-07-07 15:43: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'), 47419, 'SRID=4674;POINT (-39.025746 -3.402166)', '2026-07-07 15:43:37', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025756 -3.402173)'), GeomFromEWKT('SRID=4674;POINT (-39.025746 -3.402166)'))) / (select extract(epoch from '2026-07-07 15:43:37'::timestamp) - extract(epoch from '2026-07-07 15:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025756 -3.402173)'), GeomFromEWKT('SRID=4674;POINT (-39.025746 -3.402166)'))) / (select extract(epoch from '2026-07-07 15:43:37'::timestamp) - extract(epoch from '2026-07-07 15:43:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.025697 -3.402125)', '2026-07-07 15:43:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025746 -3.402166)'), GeomFromEWKT('SRID=4674;POINT (-39.025697 -3.402125)'))) / (select extract(epoch from '2026-07-07 15:43:42'::timestamp) - extract(epoch from '2026-07-07 15:43:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025746 -3.402166)'), GeomFromEWKT('SRID=4674;POINT (-39.025697 -3.402125)'))) / (select extract(epoch from '2026-07-07 15:43:42'::timestamp) - extract(epoch from '2026-07-07 15:43: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'), 47419, 'SRID=4674;POINT (-39.025628 -3.40207)', '2026-07-07 15:43:49', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025697 -3.402125)'), GeomFromEWKT('SRID=4674;POINT (-39.025628 -3.40207)'))) / (select extract(epoch from '2026-07-07 15:43:49'::timestamp) - extract(epoch from '2026-07-07 15:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025697 -3.402125)'), GeomFromEWKT('SRID=4674;POINT (-39.025628 -3.40207)'))) / (select extract(epoch from '2026-07-07 15:43:49'::timestamp) - extract(epoch from '2026-07-07 15:43:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.025552 -3.402017)', '2026-07-07 15:43:56', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025628 -3.40207)'), GeomFromEWKT('SRID=4674;POINT (-39.025552 -3.402017)'))) / (select extract(epoch from '2026-07-07 15:43:56'::timestamp) - extract(epoch from '2026-07-07 15:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025628 -3.40207)'), GeomFromEWKT('SRID=4674;POINT (-39.025552 -3.402017)'))) / (select extract(epoch from '2026-07-07 15:43:56'::timestamp) - extract(epoch from '2026-07-07 15:43:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.025454 -3.40196)', '2026-07-07 15:44:04', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025552 -3.402017)'), GeomFromEWKT('SRID=4674;POINT (-39.025454 -3.40196)'))) / (select extract(epoch from '2026-07-07 15:44:04'::timestamp) - extract(epoch from '2026-07-07 15:43:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025552 -3.402017)'), GeomFromEWKT('SRID=4674;POINT (-39.025454 -3.40196)'))) / (select extract(epoch from '2026-07-07 15:44:04'::timestamp) - extract(epoch from '2026-07-07 15:43: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'), 47419, 'SRID=4674;POINT (-39.02535 -3.40189)', '2026-07-07 15:44:13', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025454 -3.40196)'), GeomFromEWKT('SRID=4674;POINT (-39.02535 -3.40189)'))) / (select extract(epoch from '2026-07-07 15:44:13'::timestamp) - extract(epoch from '2026-07-07 15:44:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025454 -3.40196)'), GeomFromEWKT('SRID=4674;POINT (-39.02535 -3.40189)'))) / (select extract(epoch from '2026-07-07 15:44:13'::timestamp) - extract(epoch from '2026-07-07 15:44: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'), 47419, 'SRID=4674;POINT (-39.025277 -3.401837)', '2026-07-07 15:44:21', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02535 -3.40189)'), GeomFromEWKT('SRID=4674;POINT (-39.025277 -3.401837)'))) / (select extract(epoch from '2026-07-07 15:44:21'::timestamp) - extract(epoch from '2026-07-07 15:44:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02535 -3.40189)'), GeomFromEWKT('SRID=4674;POINT (-39.025277 -3.401837)'))) / (select extract(epoch from '2026-07-07 15:44:21'::timestamp) - extract(epoch from '2026-07-07 15:44:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.025203 -3.401789)', '2026-07-07 15:44:29', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025277 -3.401837)'), GeomFromEWKT('SRID=4674;POINT (-39.025203 -3.401789)'))) / (select extract(epoch from '2026-07-07 15:44:29'::timestamp) - extract(epoch from '2026-07-07 15:44:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025277 -3.401837)'), GeomFromEWKT('SRID=4674;POINT (-39.025203 -3.401789)'))) / (select extract(epoch from '2026-07-07 15:44:29'::timestamp) - extract(epoch from '2026-07-07 15:44: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'), 47419, 'SRID=4674;POINT (-39.025132 -3.401745)', '2026-07-07 15:44:36', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025203 -3.401789)'), GeomFromEWKT('SRID=4674;POINT (-39.025132 -3.401745)'))) / (select extract(epoch from '2026-07-07 15:44:36'::timestamp) - extract(epoch from '2026-07-07 15:44:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025203 -3.401789)'), GeomFromEWKT('SRID=4674;POINT (-39.025132 -3.401745)'))) / (select extract(epoch from '2026-07-07 15:44:36'::timestamp) - extract(epoch from '2026-07-07 15:44: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'), 47419, 'SRID=4674;POINT (-39.025047 -3.401703)', '2026-07-07 15:44:43', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025132 -3.401745)'), GeomFromEWKT('SRID=4674;POINT (-39.025047 -3.401703)'))) / (select extract(epoch from '2026-07-07 15:44:43'::timestamp) - extract(epoch from '2026-07-07 15:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025132 -3.401745)'), GeomFromEWKT('SRID=4674;POINT (-39.025047 -3.401703)'))) / (select extract(epoch from '2026-07-07 15:44:43'::timestamp) - extract(epoch from '2026-07-07 15:44: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'), 47419, 'SRID=4674;POINT (-39.024939 -3.401647)', '2026-07-07 15:44:52', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025047 -3.401703)'), GeomFromEWKT('SRID=4674;POINT (-39.024939 -3.401647)'))) / (select extract(epoch from '2026-07-07 15:44:52'::timestamp) - extract(epoch from '2026-07-07 15:44:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025047 -3.401703)'), GeomFromEWKT('SRID=4674;POINT (-39.024939 -3.401647)'))) / (select extract(epoch from '2026-07-07 15:44:52'::timestamp) - extract(epoch from '2026-07-07 15:44: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'), 47419, 'SRID=4674;POINT (-39.024845 -3.401592)', '2026-07-07 15:45:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024939 -3.401647)'), GeomFromEWKT('SRID=4674;POINT (-39.024845 -3.401592)'))) / (select extract(epoch from '2026-07-07 15:45:00'::timestamp) - extract(epoch from '2026-07-07 15:44:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024939 -3.401647)'), GeomFromEWKT('SRID=4674;POINT (-39.024845 -3.401592)'))) / (select extract(epoch from '2026-07-07 15:45:00'::timestamp) - extract(epoch from '2026-07-07 15:44: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'), 47419, 'SRID=4674;POINT (-39.024763 -3.401546)', '2026-07-07 15:45:08', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024845 -3.401592)'), GeomFromEWKT('SRID=4674;POINT (-39.024763 -3.401546)'))) / (select extract(epoch from '2026-07-07 15:45:08'::timestamp) - extract(epoch from '2026-07-07 15:45:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024845 -3.401592)'), GeomFromEWKT('SRID=4674;POINT (-39.024763 -3.401546)'))) / (select extract(epoch from '2026-07-07 15:45:08'::timestamp) - extract(epoch from '2026-07-07 15:45:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.024668 -3.401487)', '2026-07-07 15:45:17', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024763 -3.401546)'), GeomFromEWKT('SRID=4674;POINT (-39.024668 -3.401487)'))) / (select extract(epoch from '2026-07-07 15:45:17'::timestamp) - extract(epoch from '2026-07-07 15:45:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024763 -3.401546)'), GeomFromEWKT('SRID=4674;POINT (-39.024668 -3.401487)'))) / (select extract(epoch from '2026-07-07 15:45:17'::timestamp) - extract(epoch from '2026-07-07 15:45: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'), 47419, 'SRID=4674;POINT (-39.024587 -3.401433)', '2026-07-07 15:45:25', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024668 -3.401487)'), GeomFromEWKT('SRID=4674;POINT (-39.024587 -3.401433)'))) / (select extract(epoch from '2026-07-07 15:45:25'::timestamp) - extract(epoch from '2026-07-07 15:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024668 -3.401487)'), GeomFromEWKT('SRID=4674;POINT (-39.024587 -3.401433)'))) / (select extract(epoch from '2026-07-07 15:45:25'::timestamp) - extract(epoch from '2026-07-07 15:45: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'), 47419, 'SRID=4674;POINT (-39.024499 -3.401367)', '2026-07-07 15:45:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024587 -3.401433)'), GeomFromEWKT('SRID=4674;POINT (-39.024499 -3.401367)'))) / (select extract(epoch from '2026-07-07 15:45:33'::timestamp) - extract(epoch from '2026-07-07 15:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024587 -3.401433)'), GeomFromEWKT('SRID=4674;POINT (-39.024499 -3.401367)'))) / (select extract(epoch from '2026-07-07 15:45:33'::timestamp) - extract(epoch from '2026-07-07 15:45: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'), 47419, 'SRID=4674;POINT (-39.024436 -3.401324)', '2026-07-07 15:45:39', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024499 -3.401367)'), GeomFromEWKT('SRID=4674;POINT (-39.024436 -3.401324)'))) / (select extract(epoch from '2026-07-07 15:45:39'::timestamp) - extract(epoch from '2026-07-07 15:45:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024499 -3.401367)'), GeomFromEWKT('SRID=4674;POINT (-39.024436 -3.401324)'))) / (select extract(epoch from '2026-07-07 15:45:39'::timestamp) - extract(epoch from '2026-07-07 15:45: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'), 47419, 'SRID=4674;POINT (-39.024358 -3.401271)', '2026-07-07 15:45:46', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024436 -3.401324)'), GeomFromEWKT('SRID=4674;POINT (-39.024358 -3.401271)'))) / (select extract(epoch from '2026-07-07 15:45:46'::timestamp) - extract(epoch from '2026-07-07 15:45:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024436 -3.401324)'), GeomFromEWKT('SRID=4674;POINT (-39.024358 -3.401271)'))) / (select extract(epoch from '2026-07-07 15:45:46'::timestamp) - extract(epoch from '2026-07-07 15:45: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'), 47419, 'SRID=4674;POINT (-39.024271 -3.401203)', '2026-07-07 15:45:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024358 -3.401271)'), GeomFromEWKT('SRID=4674;POINT (-39.024271 -3.401203)'))) / (select extract(epoch from '2026-07-07 15:45:54'::timestamp) - extract(epoch from '2026-07-07 15:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024358 -3.401271)'), GeomFromEWKT('SRID=4674;POINT (-39.024271 -3.401203)'))) / (select extract(epoch from '2026-07-07 15:45:54'::timestamp) - extract(epoch from '2026-07-07 15:45: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'), 47419, 'SRID=4674;POINT (-39.024195 -3.401152)', '2026-07-07 15:46:01', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024271 -3.401203)'), GeomFromEWKT('SRID=4674;POINT (-39.024195 -3.401152)'))) / (select extract(epoch from '2026-07-07 15:46:01'::timestamp) - extract(epoch from '2026-07-07 15:45:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024271 -3.401203)'), GeomFromEWKT('SRID=4674;POINT (-39.024195 -3.401152)'))) / (select extract(epoch from '2026-07-07 15:46:01'::timestamp) - extract(epoch from '2026-07-07 15:45: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'), 47419, 'SRID=4674;POINT (-39.024107 -3.401092)', '2026-07-07 15:46:09', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024195 -3.401152)'), GeomFromEWKT('SRID=4674;POINT (-39.024107 -3.401092)'))) / (select extract(epoch from '2026-07-07 15:46:09'::timestamp) - extract(epoch from '2026-07-07 15:46:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024195 -3.401152)'), GeomFromEWKT('SRID=4674;POINT (-39.024107 -3.401092)'))) / (select extract(epoch from '2026-07-07 15:46:09'::timestamp) - extract(epoch from '2026-07-07 15:46: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'), 47419, 'SRID=4674;POINT (-39.024019 -3.401036)', '2026-07-07 15:46:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024107 -3.401092)'), GeomFromEWKT('SRID=4674;POINT (-39.024019 -3.401036)'))) / (select extract(epoch from '2026-07-07 15:46:17'::timestamp) - extract(epoch from '2026-07-07 15:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024107 -3.401092)'), GeomFromEWKT('SRID=4674;POINT (-39.024019 -3.401036)'))) / (select extract(epoch from '2026-07-07 15:46:17'::timestamp) - extract(epoch from '2026-07-07 15:46: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'), 47419, 'SRID=4674;POINT (-39.023949 -3.400987)', '2026-07-07 15:46:24', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024019 -3.401036)'), GeomFromEWKT('SRID=4674;POINT (-39.023949 -3.400987)'))) / (select extract(epoch from '2026-07-07 15:46:24'::timestamp) - extract(epoch from '2026-07-07 15:46:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024019 -3.401036)'), GeomFromEWKT('SRID=4674;POINT (-39.023949 -3.400987)'))) / (select extract(epoch from '2026-07-07 15:46:24'::timestamp) - extract(epoch from '2026-07-07 15:46: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'), 47419, 'SRID=4674;POINT (-39.02389 -3.400947)', '2026-07-07 15:46:30', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023949 -3.400987)'), GeomFromEWKT('SRID=4674;POINT (-39.02389 -3.400947)'))) / (select extract(epoch from '2026-07-07 15:46:30'::timestamp) - extract(epoch from '2026-07-07 15:46:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023949 -3.400987)'), GeomFromEWKT('SRID=4674;POINT (-39.02389 -3.400947)'))) / (select extract(epoch from '2026-07-07 15:46:30'::timestamp) - extract(epoch from '2026-07-07 15:46: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'), 47419, 'SRID=4674;POINT (-39.023817 -3.4009)', '2026-07-07 15:46:37', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02389 -3.400947)'), GeomFromEWKT('SRID=4674;POINT (-39.023817 -3.4009)'))) / (select extract(epoch from '2026-07-07 15:46:37'::timestamp) - extract(epoch from '2026-07-07 15:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02389 -3.400947)'), GeomFromEWKT('SRID=4674;POINT (-39.023817 -3.4009)'))) / (select extract(epoch from '2026-07-07 15:46:37'::timestamp) - extract(epoch from '2026-07-07 15:46: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'), 47419, 'SRID=4674;POINT (-39.023766 -3.400871)', '2026-07-07 15:46:42', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023817 -3.4009)'), GeomFromEWKT('SRID=4674;POINT (-39.023766 -3.400871)'))) / (select extract(epoch from '2026-07-07 15:46:42'::timestamp) - extract(epoch from '2026-07-07 15:46:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023817 -3.4009)'), GeomFromEWKT('SRID=4674;POINT (-39.023766 -3.400871)'))) / (select extract(epoch from '2026-07-07 15:46:42'::timestamp) - extract(epoch from '2026-07-07 15:46: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'), 47419, 'SRID=4674;POINT (-39.023734 -3.400853)', '2026-07-07 15:46:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023766 -3.400871)'), GeomFromEWKT('SRID=4674;POINT (-39.023734 -3.400853)'))) / (select extract(epoch from '2026-07-07 15:46:45'::timestamp) - extract(epoch from '2026-07-07 15:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023766 -3.400871)'), GeomFromEWKT('SRID=4674;POINT (-39.023734 -3.400853)'))) / (select extract(epoch from '2026-07-07 15:46:45'::timestamp) - extract(epoch from '2026-07-07 15:46: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'), 47419, 'SRID=4674;POINT (-39.023647 -3.400816)', '2026-07-07 15:46:52', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023734 -3.400853)'), GeomFromEWKT('SRID=4674;POINT (-39.023647 -3.400816)'))) / (select extract(epoch from '2026-07-07 15:46:52'::timestamp) - extract(epoch from '2026-07-07 15:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023734 -3.400853)'), GeomFromEWKT('SRID=4674;POINT (-39.023647 -3.400816)'))) / (select extract(epoch from '2026-07-07 15:46:52'::timestamp) - extract(epoch from '2026-07-07 15:46: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'), 47419, 'SRID=4674;POINT (-39.023571 -3.40077)', '2026-07-07 15:46:58', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023647 -3.400816)'), GeomFromEWKT('SRID=4674;POINT (-39.023571 -3.40077)'))) / (select extract(epoch from '2026-07-07 15:46:58'::timestamp) - extract(epoch from '2026-07-07 15:46:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023647 -3.400816)'), GeomFromEWKT('SRID=4674;POINT (-39.023571 -3.40077)'))) / (select extract(epoch from '2026-07-07 15:46:58'::timestamp) - extract(epoch from '2026-07-07 15:46: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'), 47419, 'SRID=4674;POINT (-39.023465 -3.400722)', '2026-07-07 15:47:06', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023571 -3.40077)'), GeomFromEWKT('SRID=4674;POINT (-39.023465 -3.400722)'))) / (select extract(epoch from '2026-07-07 15:47:06'::timestamp) - extract(epoch from '2026-07-07 15:46:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023571 -3.40077)'), GeomFromEWKT('SRID=4674;POINT (-39.023465 -3.400722)'))) / (select extract(epoch from '2026-07-07 15:47:06'::timestamp) - extract(epoch from '2026-07-07 15:46: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'), 47419, 'SRID=4674;POINT (-39.02334 -3.400658)', '2026-07-07 15:47:16', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023465 -3.400722)'), GeomFromEWKT('SRID=4674;POINT (-39.02334 -3.400658)'))) / (select extract(epoch from '2026-07-07 15:47:16'::timestamp) - extract(epoch from '2026-07-07 15:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023465 -3.400722)'), GeomFromEWKT('SRID=4674;POINT (-39.02334 -3.400658)'))) / (select extract(epoch from '2026-07-07 15:47:16'::timestamp) - extract(epoch from '2026-07-07 15:47: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'), 47419, 'SRID=4674;POINT (-39.023252 -3.400621)', '2026-07-07 15:47:23', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02334 -3.400658)'), GeomFromEWKT('SRID=4674;POINT (-39.023252 -3.400621)'))) / (select extract(epoch from '2026-07-07 15:47:23'::timestamp) - extract(epoch from '2026-07-07 15:47:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02334 -3.400658)'), GeomFromEWKT('SRID=4674;POINT (-39.023252 -3.400621)'))) / (select extract(epoch from '2026-07-07 15:47:23'::timestamp) - extract(epoch from '2026-07-07 15:47: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'), 47419, 'SRID=4674;POINT (-39.02315 -3.40057)', '2026-07-07 15:47:31', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023252 -3.400621)'), GeomFromEWKT('SRID=4674;POINT (-39.02315 -3.40057)'))) / (select extract(epoch from '2026-07-07 15:47:31'::timestamp) - extract(epoch from '2026-07-07 15:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023252 -3.400621)'), GeomFromEWKT('SRID=4674;POINT (-39.02315 -3.40057)'))) / (select extract(epoch from '2026-07-07 15:47:31'::timestamp) - extract(epoch from '2026-07-07 15:47: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'), 47419, 'SRID=4674;POINT (-39.023081 -3.40053)', '2026-07-07 15:47:37', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02315 -3.40057)'), GeomFromEWKT('SRID=4674;POINT (-39.023081 -3.40053)'))) / (select extract(epoch from '2026-07-07 15:47:37'::timestamp) - extract(epoch from '2026-07-07 15:47:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02315 -3.40057)'), GeomFromEWKT('SRID=4674;POINT (-39.023081 -3.40053)'))) / (select extract(epoch from '2026-07-07 15:47:37'::timestamp) - extract(epoch from '2026-07-07 15:47: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'), 47419, 'SRID=4674;POINT (-39.02298 -3.400461)', '2026-07-07 15:47:46', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023081 -3.40053)'), GeomFromEWKT('SRID=4674;POINT (-39.02298 -3.400461)'))) / (select extract(epoch from '2026-07-07 15:47:46'::timestamp) - extract(epoch from '2026-07-07 15:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023081 -3.40053)'), GeomFromEWKT('SRID=4674;POINT (-39.02298 -3.400461)'))) / (select extract(epoch from '2026-07-07 15:47:46'::timestamp) - extract(epoch from '2026-07-07 15:47: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'), 47419, 'SRID=4674;POINT (-39.022887 -3.400399)', '2026-07-07 15:47:54', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02298 -3.400461)'), GeomFromEWKT('SRID=4674;POINT (-39.022887 -3.400399)'))) / (select extract(epoch from '2026-07-07 15:47:54'::timestamp) - extract(epoch from '2026-07-07 15:47:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02298 -3.400461)'), GeomFromEWKT('SRID=4674;POINT (-39.022887 -3.400399)'))) / (select extract(epoch from '2026-07-07 15:47:54'::timestamp) - extract(epoch from '2026-07-07 15:47: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'), 47419, 'SRID=4674;POINT (-39.022804 -3.400354)', '2026-07-07 15:48:01', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022887 -3.400399)'), GeomFromEWKT('SRID=4674;POINT (-39.022804 -3.400354)'))) / (select extract(epoch from '2026-07-07 15:48:01'::timestamp) - extract(epoch from '2026-07-07 15:47:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022887 -3.400399)'), GeomFromEWKT('SRID=4674;POINT (-39.022804 -3.400354)'))) / (select extract(epoch from '2026-07-07 15:48:01'::timestamp) - extract(epoch from '2026-07-07 15:47: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'), 47419, 'SRID=4674;POINT (-39.022714 -3.40031)', '2026-07-07 15:48:08', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022804 -3.400354)'), GeomFromEWKT('SRID=4674;POINT (-39.022714 -3.40031)'))) / (select extract(epoch from '2026-07-07 15:48:08'::timestamp) - extract(epoch from '2026-07-07 15:48:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022804 -3.400354)'), GeomFromEWKT('SRID=4674;POINT (-39.022714 -3.40031)'))) / (select extract(epoch from '2026-07-07 15:48:08'::timestamp) - extract(epoch from '2026-07-07 15:48:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.022639 -3.400272)', '2026-07-07 15:48:14', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022714 -3.40031)'), GeomFromEWKT('SRID=4674;POINT (-39.022639 -3.400272)'))) / (select extract(epoch from '2026-07-07 15:48:14'::timestamp) - extract(epoch from '2026-07-07 15:48:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022714 -3.40031)'), GeomFromEWKT('SRID=4674;POINT (-39.022639 -3.400272)'))) / (select extract(epoch from '2026-07-07 15:48:14'::timestamp) - extract(epoch from '2026-07-07 15:48: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'), 47419, 'SRID=4674;POINT (-39.022561 -3.400228)', '2026-07-07 15:48:20', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022639 -3.400272)'), GeomFromEWKT('SRID=4674;POINT (-39.022561 -3.400228)'))) / (select extract(epoch from '2026-07-07 15:48:20'::timestamp) - extract(epoch from '2026-07-07 15:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022639 -3.400272)'), GeomFromEWKT('SRID=4674;POINT (-39.022561 -3.400228)'))) / (select extract(epoch from '2026-07-07 15:48:20'::timestamp) - extract(epoch from '2026-07-07 15:48:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.02245 -3.400156)', '2026-07-07 15:48:29', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022561 -3.400228)'), GeomFromEWKT('SRID=4674;POINT (-39.02245 -3.400156)'))) / (select extract(epoch from '2026-07-07 15:48:29'::timestamp) - extract(epoch from '2026-07-07 15:48:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022561 -3.400228)'), GeomFromEWKT('SRID=4674;POINT (-39.02245 -3.400156)'))) / (select extract(epoch from '2026-07-07 15:48:29'::timestamp) - extract(epoch from '2026-07-07 15:48: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'), 47419, 'SRID=4674;POINT (-39.022428 -3.400142)', '2026-07-07 15:48:31', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02245 -3.400156)'), GeomFromEWKT('SRID=4674;POINT (-39.022428 -3.400142)'))) / (select extract(epoch from '2026-07-07 15:48:31'::timestamp) - extract(epoch from '2026-07-07 15:48:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02245 -3.400156)'), GeomFromEWKT('SRID=4674;POINT (-39.022428 -3.400142)'))) / (select extract(epoch from '2026-07-07 15:48:31'::timestamp) - extract(epoch from '2026-07-07 15:48: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'), 47419, 'SRID=4674;POINT (-39.022393 -3.400119)', '2026-07-07 15:48:34', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022428 -3.400142)'), GeomFromEWKT('SRID=4674;POINT (-39.022393 -3.400119)'))) / (select extract(epoch from '2026-07-07 15:48:34'::timestamp) - extract(epoch from '2026-07-07 15:48:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022428 -3.400142)'), GeomFromEWKT('SRID=4674;POINT (-39.022393 -3.400119)'))) / (select extract(epoch from '2026-07-07 15:48:34'::timestamp) - extract(epoch from '2026-07-07 15:48: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'), 47419, 'SRID=4674;POINT (-39.022307 -3.400075)', '2026-07-07 15:48:41', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022393 -3.400119)'), GeomFromEWKT('SRID=4674;POINT (-39.022307 -3.400075)'))) / (select extract(epoch from '2026-07-07 15:48:41'::timestamp) - extract(epoch from '2026-07-07 15:48:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022393 -3.400119)'), GeomFromEWKT('SRID=4674;POINT (-39.022307 -3.400075)'))) / (select extract(epoch from '2026-07-07 15:48:41'::timestamp) - extract(epoch from '2026-07-07 15:48:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.022196 -3.400015)', '2026-07-07 15:48:50', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022307 -3.400075)'), GeomFromEWKT('SRID=4674;POINT (-39.022196 -3.400015)'))) / (select extract(epoch from '2026-07-07 15:48:50'::timestamp) - extract(epoch from '2026-07-07 15:48:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022307 -3.400075)'), GeomFromEWKT('SRID=4674;POINT (-39.022196 -3.400015)'))) / (select extract(epoch from '2026-07-07 15:48:50'::timestamp) - extract(epoch from '2026-07-07 15:48: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'), 47419, 'SRID=4674;POINT (-39.022107 -3.399963)', '2026-07-07 15:48:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022196 -3.400015)'), GeomFromEWKT('SRID=4674;POINT (-39.022107 -3.399963)'))) / (select extract(epoch from '2026-07-07 15:48:58'::timestamp) - extract(epoch from '2026-07-07 15:48:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022196 -3.400015)'), GeomFromEWKT('SRID=4674;POINT (-39.022107 -3.399963)'))) / (select extract(epoch from '2026-07-07 15:48:58'::timestamp) - extract(epoch from '2026-07-07 15:48: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'), 47419, 'SRID=4674;POINT (-39.022045 -3.399929)', '2026-07-07 15:49:03', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022107 -3.399963)'), GeomFromEWKT('SRID=4674;POINT (-39.022045 -3.399929)'))) / (select extract(epoch from '2026-07-07 15:49:03'::timestamp) - extract(epoch from '2026-07-07 15:48:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022107 -3.399963)'), GeomFromEWKT('SRID=4674;POINT (-39.022045 -3.399929)'))) / (select extract(epoch from '2026-07-07 15:49:03'::timestamp) - extract(epoch from '2026-07-07 15:48:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.021945 -3.399871)', '2026-07-07 15:49:11', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022045 -3.399929)'), GeomFromEWKT('SRID=4674;POINT (-39.021945 -3.399871)'))) / (select extract(epoch from '2026-07-07 15:49:11'::timestamp) - extract(epoch from '2026-07-07 15:49:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022045 -3.399929)'), GeomFromEWKT('SRID=4674;POINT (-39.021945 -3.399871)'))) / (select extract(epoch from '2026-07-07 15:49:11'::timestamp) - extract(epoch from '2026-07-07 15:49:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.021867 -3.399832)', '2026-07-07 15:49:17', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021945 -3.399871)'), GeomFromEWKT('SRID=4674;POINT (-39.021867 -3.399832)'))) / (select extract(epoch from '2026-07-07 15:49:17'::timestamp) - extract(epoch from '2026-07-07 15:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021945 -3.399871)'), GeomFromEWKT('SRID=4674;POINT (-39.021867 -3.399832)'))) / (select extract(epoch from '2026-07-07 15:49:17'::timestamp) - extract(epoch from '2026-07-07 15:49: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'), 47419, 'SRID=4674;POINT (-39.021779 -3.399784)', '2026-07-07 15:49:24', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021867 -3.399832)'), GeomFromEWKT('SRID=4674;POINT (-39.021779 -3.399784)'))) / (select extract(epoch from '2026-07-07 15:49:24'::timestamp) - extract(epoch from '2026-07-07 15:49:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021867 -3.399832)'), GeomFromEWKT('SRID=4674;POINT (-39.021779 -3.399784)'))) / (select extract(epoch from '2026-07-07 15:49:24'::timestamp) - extract(epoch from '2026-07-07 15:49:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.021684 -3.399726)', '2026-07-07 15:49:32', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021779 -3.399784)'), GeomFromEWKT('SRID=4674;POINT (-39.021684 -3.399726)'))) / (select extract(epoch from '2026-07-07 15:49:32'::timestamp) - extract(epoch from '2026-07-07 15:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021779 -3.399784)'), GeomFromEWKT('SRID=4674;POINT (-39.021684 -3.399726)'))) / (select extract(epoch from '2026-07-07 15:49:32'::timestamp) - extract(epoch from '2026-07-07 15:49: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'), 47419, 'SRID=4674;POINT (-39.021615 -3.399682)', '2026-07-07 15:49:38', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021684 -3.399726)'), GeomFromEWKT('SRID=4674;POINT (-39.021615 -3.399682)'))) / (select extract(epoch from '2026-07-07 15:49:38'::timestamp) - extract(epoch from '2026-07-07 15:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021684 -3.399726)'), GeomFromEWKT('SRID=4674;POINT (-39.021615 -3.399682)'))) / (select extract(epoch from '2026-07-07 15:49:38'::timestamp) - extract(epoch from '2026-07-07 15:49: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'), 47419, 'SRID=4674;POINT (-39.02153 -3.399631)', '2026-07-07 15:49:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021615 -3.399682)'), GeomFromEWKT('SRID=4674;POINT (-39.02153 -3.399631)'))) / (select extract(epoch from '2026-07-07 15:49:45'::timestamp) - extract(epoch from '2026-07-07 15:49:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021615 -3.399682)'), GeomFromEWKT('SRID=4674;POINT (-39.02153 -3.399631)'))) / (select extract(epoch from '2026-07-07 15:49:45'::timestamp) - extract(epoch from '2026-07-07 15:49: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'), 47419, 'SRID=4674;POINT (-39.021451 -3.399583)', '2026-07-07 15:49:52', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02153 -3.399631)'), GeomFromEWKT('SRID=4674;POINT (-39.021451 -3.399583)'))) / (select extract(epoch from '2026-07-07 15:49:52'::timestamp) - extract(epoch from '2026-07-07 15:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02153 -3.399631)'), GeomFromEWKT('SRID=4674;POINT (-39.021451 -3.399583)'))) / (select extract(epoch from '2026-07-07 15:49:52'::timestamp) - extract(epoch from '2026-07-07 15:49: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'), 47419, 'SRID=4674;POINT (-39.021379 -3.399553)', '2026-07-07 15:49:58', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021451 -3.399583)'), GeomFromEWKT('SRID=4674;POINT (-39.021379 -3.399553)'))) / (select extract(epoch from '2026-07-07 15:49:58'::timestamp) - extract(epoch from '2026-07-07 15:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021451 -3.399583)'), GeomFromEWKT('SRID=4674;POINT (-39.021379 -3.399553)'))) / (select extract(epoch from '2026-07-07 15:49:58'::timestamp) - extract(epoch from '2026-07-07 15:49: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'), 47419, 'SRID=4674;POINT (-39.021269 -3.399484)', '2026-07-07 15:50:07', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021379 -3.399553)'), GeomFromEWKT('SRID=4674;POINT (-39.021269 -3.399484)'))) / (select extract(epoch from '2026-07-07 15:50:07'::timestamp) - extract(epoch from '2026-07-07 15:49:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021379 -3.399553)'), GeomFromEWKT('SRID=4674;POINT (-39.021269 -3.399484)'))) / (select extract(epoch from '2026-07-07 15:50:07'::timestamp) - extract(epoch from '2026-07-07 15:49: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'), 47419, 'SRID=4674;POINT (-39.02118 -3.399444)', '2026-07-07 15:50:14', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021269 -3.399484)'), GeomFromEWKT('SRID=4674;POINT (-39.02118 -3.399444)'))) / (select extract(epoch from '2026-07-07 15:50:14'::timestamp) - extract(epoch from '2026-07-07 15:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021269 -3.399484)'), GeomFromEWKT('SRID=4674;POINT (-39.02118 -3.399444)'))) / (select extract(epoch from '2026-07-07 15:50:14'::timestamp) - extract(epoch from '2026-07-07 15:50: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'), 47419, 'SRID=4674;POINT (-39.021085 -3.399399)', '2026-07-07 15:50:21', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02118 -3.399444)'), GeomFromEWKT('SRID=4674;POINT (-39.021085 -3.399399)'))) / (select extract(epoch from '2026-07-07 15:50:21'::timestamp) - extract(epoch from '2026-07-07 15:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02118 -3.399444)'), GeomFromEWKT('SRID=4674;POINT (-39.021085 -3.399399)'))) / (select extract(epoch from '2026-07-07 15:50:21'::timestamp) - extract(epoch from '2026-07-07 15:50: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'), 47419, 'SRID=4674;POINT (-39.020975 -3.399353)', '2026-07-07 15:50:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021085 -3.399399)'), GeomFromEWKT('SRID=4674;POINT (-39.020975 -3.399353)'))) / (select extract(epoch from '2026-07-07 15:50:29'::timestamp) - extract(epoch from '2026-07-07 15:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021085 -3.399399)'), GeomFromEWKT('SRID=4674;POINT (-39.020975 -3.399353)'))) / (select extract(epoch from '2026-07-07 15:50:29'::timestamp) - extract(epoch from '2026-07-07 15:50:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.020891 -3.399321)', '2026-07-07 15:50:35', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020975 -3.399353)'), GeomFromEWKT('SRID=4674;POINT (-39.020891 -3.399321)'))) / (select extract(epoch from '2026-07-07 15:50:35'::timestamp) - extract(epoch from '2026-07-07 15:50:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020975 -3.399353)'), GeomFromEWKT('SRID=4674;POINT (-39.020891 -3.399321)'))) / (select extract(epoch from '2026-07-07 15:50:35'::timestamp) - extract(epoch from '2026-07-07 15:50: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'), 47419, 'SRID=4674;POINT (-39.020774 -3.399258)', '2026-07-07 15:50:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020891 -3.399321)'), GeomFromEWKT('SRID=4674;POINT (-39.020774 -3.399258)'))) / (select extract(epoch from '2026-07-07 15:50:44'::timestamp) - extract(epoch from '2026-07-07 15:50:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020891 -3.399321)'), GeomFromEWKT('SRID=4674;POINT (-39.020774 -3.399258)'))) / (select extract(epoch from '2026-07-07 15:50:44'::timestamp) - extract(epoch from '2026-07-07 15:50: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'), 47419, 'SRID=4674;POINT (-39.020691 -3.399209)', '2026-07-07 15:50:51', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020774 -3.399258)'), GeomFromEWKT('SRID=4674;POINT (-39.020691 -3.399209)'))) / (select extract(epoch from '2026-07-07 15:50:51'::timestamp) - extract(epoch from '2026-07-07 15:50:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020774 -3.399258)'), GeomFromEWKT('SRID=4674;POINT (-39.020691 -3.399209)'))) / (select extract(epoch from '2026-07-07 15:50:51'::timestamp) - extract(epoch from '2026-07-07 15:50: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'), 47419, 'SRID=4674;POINT (-39.020627 -3.399172)', '2026-07-07 15:50:56', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020691 -3.399209)'), GeomFromEWKT('SRID=4674;POINT (-39.020627 -3.399172)'))) / (select extract(epoch from '2026-07-07 15:50:56'::timestamp) - extract(epoch from '2026-07-07 15:50:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020691 -3.399209)'), GeomFromEWKT('SRID=4674;POINT (-39.020627 -3.399172)'))) / (select extract(epoch from '2026-07-07 15:50:56'::timestamp) - extract(epoch from '2026-07-07 15:50: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'), 47419, 'SRID=4674;POINT (-39.020604 -3.399165)', '2026-07-07 15:50:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020627 -3.399172)'), GeomFromEWKT('SRID=4674;POINT (-39.020604 -3.399165)'))) / (select extract(epoch from '2026-07-07 15:50:58'::timestamp) - extract(epoch from '2026-07-07 15:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020627 -3.399172)'), GeomFromEWKT('SRID=4674;POINT (-39.020604 -3.399165)'))) / (select extract(epoch from '2026-07-07 15:50:58'::timestamp) - extract(epoch from '2026-07-07 15:50: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'), 47419, 'SRID=4674;POINT (-39.020492 -3.399121)', '2026-07-07 15:51:07', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020604 -3.399165)'), GeomFromEWKT('SRID=4674;POINT (-39.020492 -3.399121)'))) / (select extract(epoch from '2026-07-07 15:51:07'::timestamp) - extract(epoch from '2026-07-07 15:50:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020604 -3.399165)'), GeomFromEWKT('SRID=4674;POINT (-39.020492 -3.399121)'))) / (select extract(epoch from '2026-07-07 15:51:07'::timestamp) - extract(epoch from '2026-07-07 15:50:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.020406 -3.399083)', '2026-07-07 15:51:14', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020492 -3.399121)'), GeomFromEWKT('SRID=4674;POINT (-39.020406 -3.399083)'))) / (select extract(epoch from '2026-07-07 15:51:14'::timestamp) - extract(epoch from '2026-07-07 15:51:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020492 -3.399121)'), GeomFromEWKT('SRID=4674;POINT (-39.020406 -3.399083)'))) / (select extract(epoch from '2026-07-07 15:51:14'::timestamp) - extract(epoch from '2026-07-07 15:51: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'), 47419, 'SRID=4674;POINT (-39.020306 -3.399032)', '2026-07-07 15:51:22', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020406 -3.399083)'), GeomFromEWKT('SRID=4674;POINT (-39.020306 -3.399032)'))) / (select extract(epoch from '2026-07-07 15:51:22'::timestamp) - extract(epoch from '2026-07-07 15:51:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020406 -3.399083)'), GeomFromEWKT('SRID=4674;POINT (-39.020306 -3.399032)'))) / (select extract(epoch from '2026-07-07 15:51:22'::timestamp) - extract(epoch from '2026-07-07 15:51: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'), 47419, 'SRID=4674;POINT (-39.020234 -3.398985)', '2026-07-07 15:51:29', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020306 -3.399032)'), GeomFromEWKT('SRID=4674;POINT (-39.020234 -3.398985)'))) / (select extract(epoch from '2026-07-07 15:51:29'::timestamp) - extract(epoch from '2026-07-07 15:51:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020306 -3.399032)'), GeomFromEWKT('SRID=4674;POINT (-39.020234 -3.398985)'))) / (select extract(epoch from '2026-07-07 15:51:29'::timestamp) - extract(epoch from '2026-07-07 15:51: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'), 47419, 'SRID=4674;POINT (-39.020134 -3.398929)', '2026-07-07 15:51:37', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020234 -3.398985)'), GeomFromEWKT('SRID=4674;POINT (-39.020134 -3.398929)'))) / (select extract(epoch from '2026-07-07 15:51:37'::timestamp) - extract(epoch from '2026-07-07 15:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020234 -3.398985)'), GeomFromEWKT('SRID=4674;POINT (-39.020134 -3.398929)'))) / (select extract(epoch from '2026-07-07 15:51:37'::timestamp) - extract(epoch from '2026-07-07 15:51: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'), 47419, 'SRID=4674;POINT (-39.020035 -3.398872)', '2026-07-07 15:51:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020134 -3.398929)'), GeomFromEWKT('SRID=4674;POINT (-39.020035 -3.398872)'))) / (select extract(epoch from '2026-07-07 15:51:45'::timestamp) - extract(epoch from '2026-07-07 15:51:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020134 -3.398929)'), GeomFromEWKT('SRID=4674;POINT (-39.020035 -3.398872)'))) / (select extract(epoch from '2026-07-07 15:51:45'::timestamp) - extract(epoch from '2026-07-07 15:51: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'), 47419, 'SRID=4674;POINT (-39.019952 -3.398828)', '2026-07-07 15:51:52', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020035 -3.398872)'), GeomFromEWKT('SRID=4674;POINT (-39.019952 -3.398828)'))) / (select extract(epoch from '2026-07-07 15:51:52'::timestamp) - extract(epoch from '2026-07-07 15:51:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020035 -3.398872)'), GeomFromEWKT('SRID=4674;POINT (-39.019952 -3.398828)'))) / (select extract(epoch from '2026-07-07 15:51:52'::timestamp) - extract(epoch from '2026-07-07 15:51:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.019857 -3.398779)', '2026-07-07 15:52:00', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019952 -3.398828)'), GeomFromEWKT('SRID=4674;POINT (-39.019857 -3.398779)'))) / (select extract(epoch from '2026-07-07 15:52:00'::timestamp) - extract(epoch from '2026-07-07 15:51:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019952 -3.398828)'), GeomFromEWKT('SRID=4674;POINT (-39.019857 -3.398779)'))) / (select extract(epoch from '2026-07-07 15:52:00'::timestamp) - extract(epoch from '2026-07-07 15:51: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'), 47419, 'SRID=4674;POINT (-39.019784 -3.398754)', '2026-07-07 15:52:07', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019857 -3.398779)'), GeomFromEWKT('SRID=4674;POINT (-39.019784 -3.398754)'))) / (select extract(epoch from '2026-07-07 15:52:07'::timestamp) - extract(epoch from '2026-07-07 15:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019857 -3.398779)'), GeomFromEWKT('SRID=4674;POINT (-39.019784 -3.398754)'))) / (select extract(epoch from '2026-07-07 15:52:07'::timestamp) - extract(epoch from '2026-07-07 15:52: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'), 47419, 'SRID=4674;POINT (-39.019707 -3.398725)', '2026-07-07 15:52:14', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019784 -3.398754)'), GeomFromEWKT('SRID=4674;POINT (-39.019707 -3.398725)'))) / (select extract(epoch from '2026-07-07 15:52:14'::timestamp) - extract(epoch from '2026-07-07 15:52:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019784 -3.398754)'), GeomFromEWKT('SRID=4674;POINT (-39.019707 -3.398725)'))) / (select extract(epoch from '2026-07-07 15:52:14'::timestamp) - extract(epoch from '2026-07-07 15:52:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.01963 -3.398697)', '2026-07-07 15:52:20', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019707 -3.398725)'), GeomFromEWKT('SRID=4674;POINT (-39.01963 -3.398697)'))) / (select extract(epoch from '2026-07-07 15:52:20'::timestamp) - extract(epoch from '2026-07-07 15:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019707 -3.398725)'), GeomFromEWKT('SRID=4674;POINT (-39.01963 -3.398697)'))) / (select extract(epoch from '2026-07-07 15:52:20'::timestamp) - extract(epoch from '2026-07-07 15:52:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.019539 -3.398667)', '2026-07-07 15:52:27', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01963 -3.398697)'), GeomFromEWKT('SRID=4674;POINT (-39.019539 -3.398667)'))) / (select extract(epoch from '2026-07-07 15:52:27'::timestamp) - extract(epoch from '2026-07-07 15:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01963 -3.398697)'), GeomFromEWKT('SRID=4674;POINT (-39.019539 -3.398667)'))) / (select extract(epoch from '2026-07-07 15:52:27'::timestamp) - extract(epoch from '2026-07-07 15:52:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.01946 -3.398629)', '2026-07-07 15:52:33', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019539 -3.398667)'), GeomFromEWKT('SRID=4674;POINT (-39.01946 -3.398629)'))) / (select extract(epoch from '2026-07-07 15:52:33'::timestamp) - extract(epoch from '2026-07-07 15:52:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019539 -3.398667)'), GeomFromEWKT('SRID=4674;POINT (-39.01946 -3.398629)'))) / (select extract(epoch from '2026-07-07 15:52:33'::timestamp) - extract(epoch from '2026-07-07 15:52:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.01938 -3.398589)', '2026-07-07 15:52:39', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01946 -3.398629)'), GeomFromEWKT('SRID=4674;POINT (-39.01938 -3.398589)'))) / (select extract(epoch from '2026-07-07 15:52:39'::timestamp) - extract(epoch from '2026-07-07 15:52:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01946 -3.398629)'), GeomFromEWKT('SRID=4674;POINT (-39.01938 -3.398589)'))) / (select extract(epoch from '2026-07-07 15:52:39'::timestamp) - extract(epoch from '2026-07-07 15:52: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'), 47419, 'SRID=4674;POINT (-39.019296 -3.398545)', '2026-07-07 15:52:45', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01938 -3.398589)'), GeomFromEWKT('SRID=4674;POINT (-39.019296 -3.398545)'))) / (select extract(epoch from '2026-07-07 15:52:45'::timestamp) - extract(epoch from '2026-07-07 15:52:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01938 -3.398589)'), GeomFromEWKT('SRID=4674;POINT (-39.019296 -3.398545)'))) / (select extract(epoch from '2026-07-07 15:52:45'::timestamp) - extract(epoch from '2026-07-07 15:52:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.019189 -3.398486)', '2026-07-07 15:52:53', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019296 -3.398545)'), GeomFromEWKT('SRID=4674;POINT (-39.019189 -3.398486)'))) / (select extract(epoch from '2026-07-07 15:52:53'::timestamp) - extract(epoch from '2026-07-07 15:52:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019296 -3.398545)'), GeomFromEWKT('SRID=4674;POINT (-39.019189 -3.398486)'))) / (select extract(epoch from '2026-07-07 15:52:53'::timestamp) - extract(epoch from '2026-07-07 15:52: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'), 47419, 'SRID=4674;POINT (-39.019098 -3.398439)', '2026-07-07 15:53:00', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019189 -3.398486)'), GeomFromEWKT('SRID=4674;POINT (-39.019098 -3.398439)'))) / (select extract(epoch from '2026-07-07 15:53:00'::timestamp) - extract(epoch from '2026-07-07 15:52:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019189 -3.398486)'), GeomFromEWKT('SRID=4674;POINT (-39.019098 -3.398439)'))) / (select extract(epoch from '2026-07-07 15:53:00'::timestamp) - extract(epoch from '2026-07-07 15:52:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.019023 -3.398406)', '2026-07-07 15:53:06', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019098 -3.398439)'), GeomFromEWKT('SRID=4674;POINT (-39.019023 -3.398406)'))) / (select extract(epoch from '2026-07-07 15:53:06'::timestamp) - extract(epoch from '2026-07-07 15:53:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019098 -3.398439)'), GeomFromEWKT('SRID=4674;POINT (-39.019023 -3.398406)'))) / (select extract(epoch from '2026-07-07 15:53:06'::timestamp) - extract(epoch from '2026-07-07 15:53: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'), 47419, 'SRID=4674;POINT (-39.018924 -3.398364)', '2026-07-07 15:53:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019023 -3.398406)'), GeomFromEWKT('SRID=4674;POINT (-39.018924 -3.398364)'))) / (select extract(epoch from '2026-07-07 15:53:13'::timestamp) - extract(epoch from '2026-07-07 15:53:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019023 -3.398406)'), GeomFromEWKT('SRID=4674;POINT (-39.018924 -3.398364)'))) / (select extract(epoch from '2026-07-07 15:53:13'::timestamp) - extract(epoch from '2026-07-07 15:53:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.018835 -3.398316)', '2026-07-07 15:53:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018924 -3.398364)'), GeomFromEWKT('SRID=4674;POINT (-39.018835 -3.398316)'))) / (select extract(epoch from '2026-07-07 15:53:20'::timestamp) - extract(epoch from '2026-07-07 15:53:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018924 -3.398364)'), GeomFromEWKT('SRID=4674;POINT (-39.018835 -3.398316)'))) / (select extract(epoch from '2026-07-07 15:53:20'::timestamp) - extract(epoch from '2026-07-07 15:53: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'), 47419, 'SRID=4674;POINT (-39.018747 -3.398263)', '2026-07-07 15:53:27', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018835 -3.398316)'), GeomFromEWKT('SRID=4674;POINT (-39.018747 -3.398263)'))) / (select extract(epoch from '2026-07-07 15:53:27'::timestamp) - extract(epoch from '2026-07-07 15:53:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018835 -3.398316)'), GeomFromEWKT('SRID=4674;POINT (-39.018747 -3.398263)'))) / (select extract(epoch from '2026-07-07 15:53:27'::timestamp) - extract(epoch from '2026-07-07 15:53: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'), 47419, 'SRID=4674;POINT (-39.018657 -3.398221)', '2026-07-07 15:53:34', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018747 -3.398263)'), GeomFromEWKT('SRID=4674;POINT (-39.018657 -3.398221)'))) / (select extract(epoch from '2026-07-07 15:53:34'::timestamp) - extract(epoch from '2026-07-07 15:53:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018747 -3.398263)'), GeomFromEWKT('SRID=4674;POINT (-39.018657 -3.398221)'))) / (select extract(epoch from '2026-07-07 15:53:34'::timestamp) - extract(epoch from '2026-07-07 15:53: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'), 47419, 'SRID=4674;POINT (-39.018572 -3.398177)', '2026-07-07 15:53:41', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018657 -3.398221)'), GeomFromEWKT('SRID=4674;POINT (-39.018572 -3.398177)'))) / (select extract(epoch from '2026-07-07 15:53:41'::timestamp) - extract(epoch from '2026-07-07 15:53:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018657 -3.398221)'), GeomFromEWKT('SRID=4674;POINT (-39.018572 -3.398177)'))) / (select extract(epoch from '2026-07-07 15:53:41'::timestamp) - extract(epoch from '2026-07-07 15:53: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'), 47419, 'SRID=4674;POINT (-39.018492 -3.398132)', '2026-07-07 15:53:47', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018572 -3.398177)'), GeomFromEWKT('SRID=4674;POINT (-39.018492 -3.398132)'))) / (select extract(epoch from '2026-07-07 15:53:47'::timestamp) - extract(epoch from '2026-07-07 15:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018572 -3.398177)'), GeomFromEWKT('SRID=4674;POINT (-39.018492 -3.398132)'))) / (select extract(epoch from '2026-07-07 15:53:47'::timestamp) - extract(epoch from '2026-07-07 15:53:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.018412 -3.398092)', '2026-07-07 15:53:53', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018492 -3.398132)'), GeomFromEWKT('SRID=4674;POINT (-39.018412 -3.398092)'))) / (select extract(epoch from '2026-07-07 15:53:53'::timestamp) - extract(epoch from '2026-07-07 15:53:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018492 -3.398132)'), GeomFromEWKT('SRID=4674;POINT (-39.018412 -3.398092)'))) / (select extract(epoch from '2026-07-07 15:53:53'::timestamp) - extract(epoch from '2026-07-07 15:53: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'), 47419, 'SRID=4674;POINT (-39.018311 -3.398046)', '2026-07-07 15:54:01', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018412 -3.398092)'), GeomFromEWKT('SRID=4674;POINT (-39.018311 -3.398046)'))) / (select extract(epoch from '2026-07-07 15:54:01'::timestamp) - extract(epoch from '2026-07-07 15:53:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018412 -3.398092)'), GeomFromEWKT('SRID=4674;POINT (-39.018311 -3.398046)'))) / (select extract(epoch from '2026-07-07 15:54:01'::timestamp) - extract(epoch from '2026-07-07 15:53: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'), 47419, 'SRID=4674;POINT (-39.01822 -3.397994)', '2026-07-07 15:54:09', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018311 -3.398046)'), GeomFromEWKT('SRID=4674;POINT (-39.01822 -3.397994)'))) / (select extract(epoch from '2026-07-07 15:54:09'::timestamp) - extract(epoch from '2026-07-07 15:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018311 -3.398046)'), GeomFromEWKT('SRID=4674;POINT (-39.01822 -3.397994)'))) / (select extract(epoch from '2026-07-07 15:54:09'::timestamp) - extract(epoch from '2026-07-07 15:54: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'), 47419, 'SRID=4674;POINT (-39.018148 -3.397953)', '2026-07-07 15:54:15', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01822 -3.397994)'), GeomFromEWKT('SRID=4674;POINT (-39.018148 -3.397953)'))) / (select extract(epoch from '2026-07-07 15:54:15'::timestamp) - extract(epoch from '2026-07-07 15:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01822 -3.397994)'), GeomFromEWKT('SRID=4674;POINT (-39.018148 -3.397953)'))) / (select extract(epoch from '2026-07-07 15:54:15'::timestamp) - extract(epoch from '2026-07-07 15:54: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'), 47419, 'SRID=4674;POINT (-39.018087 -3.397924)', '2026-07-07 15:54:20', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018148 -3.397953)'), GeomFromEWKT('SRID=4674;POINT (-39.018087 -3.397924)'))) / (select extract(epoch from '2026-07-07 15:54:20'::timestamp) - extract(epoch from '2026-07-07 15:54:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018148 -3.397953)'), GeomFromEWKT('SRID=4674;POINT (-39.018087 -3.397924)'))) / (select extract(epoch from '2026-07-07 15:54:20'::timestamp) - extract(epoch from '2026-07-07 15:54: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'), 47419, 'SRID=4674;POINT (-39.017992 -3.397878)', '2026-07-07 15:54:28', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018087 -3.397924)'), GeomFromEWKT('SRID=4674;POINT (-39.017992 -3.397878)'))) / (select extract(epoch from '2026-07-07 15:54:28'::timestamp) - extract(epoch from '2026-07-07 15:54:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018087 -3.397924)'), GeomFromEWKT('SRID=4674;POINT (-39.017992 -3.397878)'))) / (select extract(epoch from '2026-07-07 15:54:28'::timestamp) - extract(epoch from '2026-07-07 15:54: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'), 47419, 'SRID=4674;POINT (-39.017905 -3.397829)', '2026-07-07 15:54:35', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017992 -3.397878)'), GeomFromEWKT('SRID=4674;POINT (-39.017905 -3.397829)'))) / (select extract(epoch from '2026-07-07 15:54:35'::timestamp) - extract(epoch from '2026-07-07 15:54:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017992 -3.397878)'), GeomFromEWKT('SRID=4674;POINT (-39.017905 -3.397829)'))) / (select extract(epoch from '2026-07-07 15:54:35'::timestamp) - extract(epoch from '2026-07-07 15:54: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'), 47419, 'SRID=4674;POINT (-39.017834 -3.397784)', '2026-07-07 15:54:41', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017905 -3.397829)'), GeomFromEWKT('SRID=4674;POINT (-39.017834 -3.397784)'))) / (select extract(epoch from '2026-07-07 15:54:41'::timestamp) - extract(epoch from '2026-07-07 15:54:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017905 -3.397829)'), GeomFromEWKT('SRID=4674;POINT (-39.017834 -3.397784)'))) / (select extract(epoch from '2026-07-07 15:54:41'::timestamp) - extract(epoch from '2026-07-07 15:54: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'), 47419, 'SRID=4674;POINT (-39.017747 -3.397739)', '2026-07-07 15:54:48', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017834 -3.397784)'), GeomFromEWKT('SRID=4674;POINT (-39.017747 -3.397739)'))) / (select extract(epoch from '2026-07-07 15:54:48'::timestamp) - extract(epoch from '2026-07-07 15:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017834 -3.397784)'), GeomFromEWKT('SRID=4674;POINT (-39.017747 -3.397739)'))) / (select extract(epoch from '2026-07-07 15:54:48'::timestamp) - extract(epoch from '2026-07-07 15:54: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'), 47419, 'SRID=4674;POINT (-39.01766 -3.397695)', '2026-07-07 15:54:55', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017747 -3.397739)'), GeomFromEWKT('SRID=4674;POINT (-39.01766 -3.397695)'))) / (select extract(epoch from '2026-07-07 15:54:55'::timestamp) - extract(epoch from '2026-07-07 15:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017747 -3.397739)'), GeomFromEWKT('SRID=4674;POINT (-39.01766 -3.397695)'))) / (select extract(epoch from '2026-07-07 15:54:55'::timestamp) - extract(epoch from '2026-07-07 15:54: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'), 47419, 'SRID=4674;POINT (-39.017538 -3.397648)', '2026-07-07 15:55:04', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01766 -3.397695)'), GeomFromEWKT('SRID=4674;POINT (-39.017538 -3.397648)'))) / (select extract(epoch from '2026-07-07 15:55:04'::timestamp) - extract(epoch from '2026-07-07 15:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01766 -3.397695)'), GeomFromEWKT('SRID=4674;POINT (-39.017538 -3.397648)'))) / (select extract(epoch from '2026-07-07 15:55:04'::timestamp) - extract(epoch from '2026-07-07 15:54: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'), 47419, 'SRID=4674;POINT (-39.017435 -3.39759)', '2026-07-07 15:55:12', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017538 -3.397648)'), GeomFromEWKT('SRID=4674;POINT (-39.017435 -3.39759)'))) / (select extract(epoch from '2026-07-07 15:55:12'::timestamp) - extract(epoch from '2026-07-07 15:55:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017538 -3.397648)'), GeomFromEWKT('SRID=4674;POINT (-39.017435 -3.39759)'))) / (select extract(epoch from '2026-07-07 15:55:12'::timestamp) - extract(epoch from '2026-07-07 15:55: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'), 47419, 'SRID=4674;POINT (-39.017411 -3.397574)', '2026-07-07 15:55:14', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017435 -3.39759)'), GeomFromEWKT('SRID=4674;POINT (-39.017411 -3.397574)'))) / (select extract(epoch from '2026-07-07 15:55:14'::timestamp) - extract(epoch from '2026-07-07 15:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017435 -3.39759)'), GeomFromEWKT('SRID=4674;POINT (-39.017411 -3.397574)'))) / (select extract(epoch from '2026-07-07 15:55:14'::timestamp) - extract(epoch from '2026-07-07 15:55:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.017374 -3.397554)', '2026-07-07 15:55:17', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017411 -3.397574)'), GeomFromEWKT('SRID=4674;POINT (-39.017374 -3.397554)'))) / (select extract(epoch from '2026-07-07 15:55:17'::timestamp) - extract(epoch from '2026-07-07 15:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017411 -3.397574)'), GeomFromEWKT('SRID=4674;POINT (-39.017374 -3.397554)'))) / (select extract(epoch from '2026-07-07 15:55:17'::timestamp) - extract(epoch from '2026-07-07 15:55: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'), 47419, 'SRID=4674;POINT (-39.017294 -3.397503)', '2026-07-07 15:55:24', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017374 -3.397554)'), GeomFromEWKT('SRID=4674;POINT (-39.017294 -3.397503)'))) / (select extract(epoch from '2026-07-07 15:55:24'::timestamp) - extract(epoch from '2026-07-07 15:55:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017374 -3.397554)'), GeomFromEWKT('SRID=4674;POINT (-39.017294 -3.397503)'))) / (select extract(epoch from '2026-07-07 15:55:24'::timestamp) - extract(epoch from '2026-07-07 15:55: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'), 47419, 'SRID=4674;POINT (-39.017212 -3.397441)', '2026-07-07 15:55:32', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017294 -3.397503)'), GeomFromEWKT('SRID=4674;POINT (-39.017212 -3.397441)'))) / (select extract(epoch from '2026-07-07 15:55:32'::timestamp) - extract(epoch from '2026-07-07 15:55:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017294 -3.397503)'), GeomFromEWKT('SRID=4674;POINT (-39.017212 -3.397441)'))) / (select extract(epoch from '2026-07-07 15:55:32'::timestamp) - extract(epoch from '2026-07-07 15:55: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'), 47419, 'SRID=4674;POINT (-39.017141 -3.39739)', '2026-07-07 15:55:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017212 -3.397441)'), GeomFromEWKT('SRID=4674;POINT (-39.017141 -3.39739)'))) / (select extract(epoch from '2026-07-07 15:55:39'::timestamp) - extract(epoch from '2026-07-07 15:55:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017212 -3.397441)'), GeomFromEWKT('SRID=4674;POINT (-39.017141 -3.39739)'))) / (select extract(epoch from '2026-07-07 15:55:39'::timestamp) - extract(epoch from '2026-07-07 15:55: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'), 47419, 'SRID=4674;POINT (-39.017055 -3.397336)', '2026-07-07 15:55:46', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017141 -3.39739)'), GeomFromEWKT('SRID=4674;POINT (-39.017055 -3.397336)'))) / (select extract(epoch from '2026-07-07 15:55:46'::timestamp) - extract(epoch from '2026-07-07 15:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017141 -3.39739)'), GeomFromEWKT('SRID=4674;POINT (-39.017055 -3.397336)'))) / (select extract(epoch from '2026-07-07 15:55:46'::timestamp) - extract(epoch from '2026-07-07 15:55: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'), 47419, 'SRID=4674;POINT (-39.016965 -3.397272)', '2026-07-07 15:55:53', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017055 -3.397336)'), GeomFromEWKT('SRID=4674;POINT (-39.016965 -3.397272)'))) / (select extract(epoch from '2026-07-07 15:55:53'::timestamp) - extract(epoch from '2026-07-07 15:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017055 -3.397336)'), GeomFromEWKT('SRID=4674;POINT (-39.016965 -3.397272)'))) / (select extract(epoch from '2026-07-07 15:55:53'::timestamp) - extract(epoch from '2026-07-07 15:55: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'), 47419, 'SRID=4674;POINT (-39.016885 -3.397223)', '2026-07-07 15:56:00', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016965 -3.397272)'), GeomFromEWKT('SRID=4674;POINT (-39.016885 -3.397223)'))) / (select extract(epoch from '2026-07-07 15:56:00'::timestamp) - extract(epoch from '2026-07-07 15:55:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016965 -3.397272)'), GeomFromEWKT('SRID=4674;POINT (-39.016885 -3.397223)'))) / (select extract(epoch from '2026-07-07 15:56:00'::timestamp) - extract(epoch from '2026-07-07 15:55:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.016829 -3.397181)', '2026-07-07 15:56:05', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016885 -3.397223)'), GeomFromEWKT('SRID=4674;POINT (-39.016829 -3.397181)'))) / (select extract(epoch from '2026-07-07 15:56:05'::timestamp) - extract(epoch from '2026-07-07 15:56:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016885 -3.397223)'), GeomFromEWKT('SRID=4674;POINT (-39.016829 -3.397181)'))) / (select extract(epoch from '2026-07-07 15:56:05'::timestamp) - extract(epoch from '2026-07-07 15:56: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'), 47419, 'SRID=4674;POINT (-39.016752 -3.397107)', '2026-07-07 15:56:13', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016829 -3.397181)'), GeomFromEWKT('SRID=4674;POINT (-39.016752 -3.397107)'))) / (select extract(epoch from '2026-07-07 15:56:13'::timestamp) - extract(epoch from '2026-07-07 15:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016829 -3.397181)'), GeomFromEWKT('SRID=4674;POINT (-39.016752 -3.397107)'))) / (select extract(epoch from '2026-07-07 15:56:13'::timestamp) - extract(epoch from '2026-07-07 15:56: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'), 47419, 'SRID=4674;POINT (-39.016674 -3.397024)', '2026-07-07 15:56:21', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016752 -3.397107)'), GeomFromEWKT('SRID=4674;POINT (-39.016674 -3.397024)'))) / (select extract(epoch from '2026-07-07 15:56:21'::timestamp) - extract(epoch from '2026-07-07 15:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016752 -3.397107)'), GeomFromEWKT('SRID=4674;POINT (-39.016674 -3.397024)'))) / (select extract(epoch from '2026-07-07 15:56:21'::timestamp) - extract(epoch from '2026-07-07 15:56: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'), 47419, 'SRID=4674;POINT (-39.01662 -3.396956)', '2026-07-07 15:56:28', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016674 -3.397024)'), GeomFromEWKT('SRID=4674;POINT (-39.01662 -3.396956)'))) / (select extract(epoch from '2026-07-07 15:56:28'::timestamp) - extract(epoch from '2026-07-07 15:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016674 -3.397024)'), GeomFromEWKT('SRID=4674;POINT (-39.01662 -3.396956)'))) / (select extract(epoch from '2026-07-07 15:56:28'::timestamp) - extract(epoch from '2026-07-07 15:56: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'), 47419, 'SRID=4674;POINT (-39.016579 -3.396902)', '2026-07-07 15:56:34', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01662 -3.396956)'), GeomFromEWKT('SRID=4674;POINT (-39.016579 -3.396902)'))) / (select extract(epoch from '2026-07-07 15:56:34'::timestamp) - extract(epoch from '2026-07-07 15:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01662 -3.396956)'), GeomFromEWKT('SRID=4674;POINT (-39.016579 -3.396902)'))) / (select extract(epoch from '2026-07-07 15:56:34'::timestamp) - extract(epoch from '2026-07-07 15:56: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'), 47419, 'SRID=4674;POINT (-39.016537 -3.396828)', '2026-07-07 15:56:41', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016579 -3.396902)'), GeomFromEWKT('SRID=4674;POINT (-39.016537 -3.396828)'))) / (select extract(epoch from '2026-07-07 15:56:41'::timestamp) - extract(epoch from '2026-07-07 15:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016579 -3.396902)'), GeomFromEWKT('SRID=4674;POINT (-39.016537 -3.396828)'))) / (select extract(epoch from '2026-07-07 15:56:41'::timestamp) - extract(epoch from '2026-07-07 15:56:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.016533 -3.396817)', '2026-07-07 15:56:42', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016537 -3.396828)'), GeomFromEWKT('SRID=4674;POINT (-39.016533 -3.396817)'))) / (select extract(epoch from '2026-07-07 15:56:42'::timestamp) - extract(epoch from '2026-07-07 15:56:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016537 -3.396828)'), GeomFromEWKT('SRID=4674;POINT (-39.016533 -3.396817)'))) / (select extract(epoch from '2026-07-07 15:56:42'::timestamp) - extract(epoch from '2026-07-07 15:56: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'), 47419, 'SRID=4674;POINT (-39.016513 -3.396774)', '2026-07-07 15:56:46', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016533 -3.396817)'), GeomFromEWKT('SRID=4674;POINT (-39.016513 -3.396774)'))) / (select extract(epoch from '2026-07-07 15:56:46'::timestamp) - extract(epoch from '2026-07-07 15:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016533 -3.396817)'), GeomFromEWKT('SRID=4674;POINT (-39.016513 -3.396774)'))) / (select extract(epoch from '2026-07-07 15:56:46'::timestamp) - extract(epoch from '2026-07-07 15:56: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'), 47419, 'SRID=4674;POINT (-39.016471 -3.396689)', '2026-07-07 15:56:53', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016513 -3.396774)'), GeomFromEWKT('SRID=4674;POINT (-39.016471 -3.396689)'))) / (select extract(epoch from '2026-07-07 15:56:53'::timestamp) - extract(epoch from '2026-07-07 15:56:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016513 -3.396774)'), GeomFromEWKT('SRID=4674;POINT (-39.016471 -3.396689)'))) / (select extract(epoch from '2026-07-07 15:56:53'::timestamp) - extract(epoch from '2026-07-07 15:56: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'), 47419, 'SRID=4674;POINT (-39.016424 -3.396607)', '2026-07-07 15:57:01', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016471 -3.396689)'), GeomFromEWKT('SRID=4674;POINT (-39.016424 -3.396607)'))) / (select extract(epoch from '2026-07-07 15:57:01'::timestamp) - extract(epoch from '2026-07-07 15:56:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016471 -3.396689)'), GeomFromEWKT('SRID=4674;POINT (-39.016424 -3.396607)'))) / (select extract(epoch from '2026-07-07 15:57:01'::timestamp) - extract(epoch from '2026-07-07 15:56: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'), 47419, 'SRID=4674;POINT (-39.016371 -3.3965)', '2026-07-07 15:57:10', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016424 -3.396607)'), GeomFromEWKT('SRID=4674;POINT (-39.016371 -3.3965)'))) / (select extract(epoch from '2026-07-07 15:57:10'::timestamp) - extract(epoch from '2026-07-07 15:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016424 -3.396607)'), GeomFromEWKT('SRID=4674;POINT (-39.016371 -3.3965)'))) / (select extract(epoch from '2026-07-07 15:57:10'::timestamp) - extract(epoch from '2026-07-07 15:57: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'), 47419, 'SRID=4674;POINT (-39.016334 -3.39642)', '2026-07-07 15:57:17', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016371 -3.3965)'), GeomFromEWKT('SRID=4674;POINT (-39.016334 -3.39642)'))) / (select extract(epoch from '2026-07-07 15:57:17'::timestamp) - extract(epoch from '2026-07-07 15:57:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016371 -3.3965)'), GeomFromEWKT('SRID=4674;POINT (-39.016334 -3.39642)'))) / (select extract(epoch from '2026-07-07 15:57:17'::timestamp) - extract(epoch from '2026-07-07 15:57: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'), 47419, 'SRID=4674;POINT (-39.016281 -3.396327)', '2026-07-07 15:57:25', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016334 -3.39642)'), GeomFromEWKT('SRID=4674;POINT (-39.016281 -3.396327)'))) / (select extract(epoch from '2026-07-07 15:57:25'::timestamp) - extract(epoch from '2026-07-07 15:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016334 -3.39642)'), GeomFromEWKT('SRID=4674;POINT (-39.016281 -3.396327)'))) / (select extract(epoch from '2026-07-07 15:57:25'::timestamp) - extract(epoch from '2026-07-07 15:57: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'), 47419, 'SRID=4674;POINT (-39.016234 -3.396241)', '2026-07-07 15:57:32', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016281 -3.396327)'), GeomFromEWKT('SRID=4674;POINT (-39.016234 -3.396241)'))) / (select extract(epoch from '2026-07-07 15:57:32'::timestamp) - extract(epoch from '2026-07-07 15:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016281 -3.396327)'), GeomFromEWKT('SRID=4674;POINT (-39.016234 -3.396241)'))) / (select extract(epoch from '2026-07-07 15:57:32'::timestamp) - extract(epoch from '2026-07-07 15:57:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.016181 -3.396143)', '2026-07-07 15:57:40', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016234 -3.396241)'), GeomFromEWKT('SRID=4674;POINT (-39.016181 -3.396143)'))) / (select extract(epoch from '2026-07-07 15:57:40'::timestamp) - extract(epoch from '2026-07-07 15:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016234 -3.396241)'), GeomFromEWKT('SRID=4674;POINT (-39.016181 -3.396143)'))) / (select extract(epoch from '2026-07-07 15:57:40'::timestamp) - extract(epoch from '2026-07-07 15:57: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'), 47419, 'SRID=4674;POINT (-39.016148 -3.396089)', '2026-07-07 15:57:47', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016181 -3.396143)'), GeomFromEWKT('SRID=4674;POINT (-39.016148 -3.396089)'))) / (select extract(epoch from '2026-07-07 15:57:47'::timestamp) - extract(epoch from '2026-07-07 15:57:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016181 -3.396143)'), GeomFromEWKT('SRID=4674;POINT (-39.016148 -3.396089)'))) / (select extract(epoch from '2026-07-07 15:57:47'::timestamp) - extract(epoch from '2026-07-07 15:57: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'), 47419, 'SRID=4674;POINT (-39.016096 -3.396005)', '2026-07-07 15:57:55', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016148 -3.396089)'), GeomFromEWKT('SRID=4674;POINT (-39.016096 -3.396005)'))) / (select extract(epoch from '2026-07-07 15:57:55'::timestamp) - extract(epoch from '2026-07-07 15:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016148 -3.396089)'), GeomFromEWKT('SRID=4674;POINT (-39.016096 -3.396005)'))) / (select extract(epoch from '2026-07-07 15:57:55'::timestamp) - extract(epoch from '2026-07-07 15:57:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.016043 -3.395925)', '2026-07-07 15:58:02', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016096 -3.396005)'), GeomFromEWKT('SRID=4674;POINT (-39.016043 -3.395925)'))) / (select extract(epoch from '2026-07-07 15:58:02'::timestamp) - extract(epoch from '2026-07-07 15:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016096 -3.396005)'), GeomFromEWKT('SRID=4674;POINT (-39.016043 -3.395925)'))) / (select extract(epoch from '2026-07-07 15:58:02'::timestamp) - extract(epoch from '2026-07-07 15:57: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'), 47419, 'SRID=4674;POINT (-39.016008 -3.395862)', '2026-07-07 15:58:08', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016043 -3.395925)'), GeomFromEWKT('SRID=4674;POINT (-39.016008 -3.395862)'))) / (select extract(epoch from '2026-07-07 15:58:08'::timestamp) - extract(epoch from '2026-07-07 15:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016043 -3.395925)'), GeomFromEWKT('SRID=4674;POINT (-39.016008 -3.395862)'))) / (select extract(epoch from '2026-07-07 15:58:08'::timestamp) - extract(epoch from '2026-07-07 15:58: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'), 47419, 'SRID=4674;POINT (-39.015972 -3.395806)', '2026-07-07 15:58:14', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016008 -3.395862)'), GeomFromEWKT('SRID=4674;POINT (-39.015972 -3.395806)'))) / (select extract(epoch from '2026-07-07 15:58:14'::timestamp) - extract(epoch from '2026-07-07 15:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016008 -3.395862)'), GeomFromEWKT('SRID=4674;POINT (-39.015972 -3.395806)'))) / (select extract(epoch from '2026-07-07 15:58:14'::timestamp) - extract(epoch from '2026-07-07 15:58:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.015897 -3.395704)', '2026-07-07 15:58:24', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015972 -3.395806)'), GeomFromEWKT('SRID=4674;POINT (-39.015897 -3.395704)'))) / (select extract(epoch from '2026-07-07 15:58:24'::timestamp) - extract(epoch from '2026-07-07 15:58:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015972 -3.395806)'), GeomFromEWKT('SRID=4674;POINT (-39.015897 -3.395704)'))) / (select extract(epoch from '2026-07-07 15:58:24'::timestamp) - extract(epoch from '2026-07-07 15:58: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'), 47419, 'SRID=4674;POINT (-39.015837 -3.395626)', '2026-07-07 15:58:31', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015897 -3.395704)'), GeomFromEWKT('SRID=4674;POINT (-39.015837 -3.395626)'))) / (select extract(epoch from '2026-07-07 15:58:31'::timestamp) - extract(epoch from '2026-07-07 15:58:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015897 -3.395704)'), GeomFromEWKT('SRID=4674;POINT (-39.015837 -3.395626)'))) / (select extract(epoch from '2026-07-07 15:58:31'::timestamp) - extract(epoch from '2026-07-07 15:58: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'), 47419, 'SRID=4674;POINT (-39.015776 -3.395552)', '2026-07-07 15:58:38', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015837 -3.395626)'), GeomFromEWKT('SRID=4674;POINT (-39.015776 -3.395552)'))) / (select extract(epoch from '2026-07-07 15:58:38'::timestamp) - extract(epoch from '2026-07-07 15:58:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015837 -3.395626)'), GeomFromEWKT('SRID=4674;POINT (-39.015776 -3.395552)'))) / (select extract(epoch from '2026-07-07 15:58:38'::timestamp) - extract(epoch from '2026-07-07 15:58:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.015733 -3.39549)', '2026-07-07 15:58:44', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015776 -3.395552)'), GeomFromEWKT('SRID=4674;POINT (-39.015733 -3.39549)'))) / (select extract(epoch from '2026-07-07 15:58:44'::timestamp) - extract(epoch from '2026-07-07 15:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015776 -3.395552)'), GeomFromEWKT('SRID=4674;POINT (-39.015733 -3.39549)'))) / (select extract(epoch from '2026-07-07 15:58:44'::timestamp) - extract(epoch from '2026-07-07 15:58: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'), 47419, 'SRID=4674;POINT (-39.015682 -3.3954)', '2026-07-07 15:58:52', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015733 -3.39549)'), GeomFromEWKT('SRID=4674;POINT (-39.015682 -3.3954)'))) / (select extract(epoch from '2026-07-07 15:58:52'::timestamp) - extract(epoch from '2026-07-07 15:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015733 -3.39549)'), GeomFromEWKT('SRID=4674;POINT (-39.015682 -3.3954)'))) / (select extract(epoch from '2026-07-07 15:58:52'::timestamp) - extract(epoch from '2026-07-07 15:58: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'), 47419, 'SRID=4674;POINT (-39.015622 -3.395316)', '2026-07-07 15:59:00', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015682 -3.3954)'), GeomFromEWKT('SRID=4674;POINT (-39.015622 -3.395316)'))) / (select extract(epoch from '2026-07-07 15:59:00'::timestamp) - extract(epoch from '2026-07-07 15:58:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015682 -3.3954)'), GeomFromEWKT('SRID=4674;POINT (-39.015622 -3.395316)'))) / (select extract(epoch from '2026-07-07 15:59:00'::timestamp) - extract(epoch from '2026-07-07 15:58: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'), 47419, 'SRID=4674;POINT (-39.01559 -3.395247)', '2026-07-07 15:59:06', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015622 -3.395316)'), GeomFromEWKT('SRID=4674;POINT (-39.01559 -3.395247)'))) / (select extract(epoch from '2026-07-07 15:59:06'::timestamp) - extract(epoch from '2026-07-07 15:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015622 -3.395316)'), GeomFromEWKT('SRID=4674;POINT (-39.01559 -3.395247)'))) / (select extract(epoch from '2026-07-07 15:59:06'::timestamp) - extract(epoch from '2026-07-07 15:59: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'), 47419, 'SRID=4674;POINT (-39.015586 -3.395236)', '2026-07-07 15:59:07', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01559 -3.395247)'), GeomFromEWKT('SRID=4674;POINT (-39.015586 -3.395236)'))) / (select extract(epoch from '2026-07-07 15:59:07'::timestamp) - extract(epoch from '2026-07-07 15:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01559 -3.395247)'), GeomFromEWKT('SRID=4674;POINT (-39.015586 -3.395236)'))) / (select extract(epoch from '2026-07-07 15:59:07'::timestamp) - extract(epoch from '2026-07-07 15:59: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'), 47419, 'SRID=4674;POINT (-39.015559 -3.395177)', '2026-07-07 15:59:12', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015586 -3.395236)'), GeomFromEWKT('SRID=4674;POINT (-39.015559 -3.395177)'))) / (select extract(epoch from '2026-07-07 15:59:12'::timestamp) - extract(epoch from '2026-07-07 15:59:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015586 -3.395236)'), GeomFromEWKT('SRID=4674;POINT (-39.015559 -3.395177)'))) / (select extract(epoch from '2026-07-07 15:59:12'::timestamp) - extract(epoch from '2026-07-07 15:59:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.015546 -3.39512)', '2026-07-07 15:59:17', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015559 -3.395177)'), GeomFromEWKT('SRID=4674;POINT (-39.015546 -3.39512)'))) / (select extract(epoch from '2026-07-07 15:59:17'::timestamp) - extract(epoch from '2026-07-07 15:59:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015559 -3.395177)'), GeomFromEWKT('SRID=4674;POINT (-39.015546 -3.39512)'))) / (select extract(epoch from '2026-07-07 15:59:17'::timestamp) - extract(epoch from '2026-07-07 15:59: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'), 47419, 'SRID=4674;POINT (-39.015512 -3.395043)', '2026-07-07 15:59:25', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015546 -3.39512)'), GeomFromEWKT('SRID=4674;POINT (-39.015512 -3.395043)'))) / (select extract(epoch from '2026-07-07 15:59:25'::timestamp) - extract(epoch from '2026-07-07 15:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015546 -3.39512)'), GeomFromEWKT('SRID=4674;POINT (-39.015512 -3.395043)'))) / (select extract(epoch from '2026-07-07 15:59:25'::timestamp) - extract(epoch from '2026-07-07 15:59: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'), 47419, 'SRID=4674;POINT (-39.015483 -3.394982)', '2026-07-07 15:59:31', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015512 -3.395043)'), GeomFromEWKT('SRID=4674;POINT (-39.015483 -3.394982)'))) / (select extract(epoch from '2026-07-07 15:59:31'::timestamp) - extract(epoch from '2026-07-07 15:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015512 -3.395043)'), GeomFromEWKT('SRID=4674;POINT (-39.015483 -3.394982)'))) / (select extract(epoch from '2026-07-07 15:59:31'::timestamp) - extract(epoch from '2026-07-07 15:59: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'), 47419, 'SRID=4674;POINT (-39.015437 -3.394878)', '2026-07-07 15:59:41', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015483 -3.394982)'), GeomFromEWKT('SRID=4674;POINT (-39.015437 -3.394878)'))) / (select extract(epoch from '2026-07-07 15:59:41'::timestamp) - extract(epoch from '2026-07-07 15:59:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015483 -3.394982)'), GeomFromEWKT('SRID=4674;POINT (-39.015437 -3.394878)'))) / (select extract(epoch from '2026-07-07 15:59:41'::timestamp) - extract(epoch from '2026-07-07 15:59:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.015432 -3.394853)', '2026-07-07 15:59:43', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015437 -3.394878)'), GeomFromEWKT('SRID=4674;POINT (-39.015432 -3.394853)'))) / (select extract(epoch from '2026-07-07 15:59:43'::timestamp) - extract(epoch from '2026-07-07 15:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015437 -3.394878)'), GeomFromEWKT('SRID=4674;POINT (-39.015432 -3.394853)'))) / (select extract(epoch from '2026-07-07 15:59:43'::timestamp) - extract(epoch from '2026-07-07 15:59: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'), 47419, 'SRID=4674;POINT (-39.015419 -3.394818)', '2026-07-07 15:59:46', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015432 -3.394853)'), GeomFromEWKT('SRID=4674;POINT (-39.015419 -3.394818)'))) / (select extract(epoch from '2026-07-07 15:59:46'::timestamp) - extract(epoch from '2026-07-07 15:59:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015432 -3.394853)'), GeomFromEWKT('SRID=4674;POINT (-39.015419 -3.394818)'))) / (select extract(epoch from '2026-07-07 15:59:46'::timestamp) - extract(epoch from '2026-07-07 15:59: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'), 47419, 'SRID=4674;POINT (-39.015411 -3.394795)', '2026-07-07 15:59:48', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015419 -3.394818)'), GeomFromEWKT('SRID=4674;POINT (-39.015411 -3.394795)'))) / (select extract(epoch from '2026-07-07 15:59:48'::timestamp) - extract(epoch from '2026-07-07 15:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015419 -3.394818)'), GeomFromEWKT('SRID=4674;POINT (-39.015411 -3.394795)'))) / (select extract(epoch from '2026-07-07 15:59:48'::timestamp) - extract(epoch from '2026-07-07 15:59: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'), 47419, 'SRID=4674;POINT (-39.015396 -3.394753)', '2026-07-07 15:59:52', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015411 -3.394795)'), GeomFromEWKT('SRID=4674;POINT (-39.015396 -3.394753)'))) / (select extract(epoch from '2026-07-07 15:59:52'::timestamp) - extract(epoch from '2026-07-07 15:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015411 -3.394795)'), GeomFromEWKT('SRID=4674;POINT (-39.015396 -3.394753)'))) / (select extract(epoch from '2026-07-07 15:59:52'::timestamp) - extract(epoch from '2026-07-07 15:59: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'), 47419, 'SRID=4674;POINT (-39.015347 -3.394657)', '2026-07-07 16:00:01', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015396 -3.394753)'), GeomFromEWKT('SRID=4674;POINT (-39.015347 -3.394657)'))) / (select extract(epoch from '2026-07-07 16:00:01'::timestamp) - extract(epoch from '2026-07-07 15:59:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015396 -3.394753)'), GeomFromEWKT('SRID=4674;POINT (-39.015347 -3.394657)'))) / (select extract(epoch from '2026-07-07 16:00:01'::timestamp) - extract(epoch from '2026-07-07 15:59:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.015319 -3.394588)', '2026-07-07 16:00:07', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015347 -3.394657)'), GeomFromEWKT('SRID=4674;POINT (-39.015319 -3.394588)'))) / (select extract(epoch from '2026-07-07 16:00:07'::timestamp) - extract(epoch from '2026-07-07 16:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015347 -3.394657)'), GeomFromEWKT('SRID=4674;POINT (-39.015319 -3.394588)'))) / (select extract(epoch from '2026-07-07 16:00:07'::timestamp) - extract(epoch from '2026-07-07 16:00: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'), 47419, 'SRID=4674;POINT (-39.015277 -3.39452)', '2026-07-07 16:00:13', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015319 -3.394588)'), GeomFromEWKT('SRID=4674;POINT (-39.015277 -3.39452)'))) / (select extract(epoch from '2026-07-07 16:00:13'::timestamp) - extract(epoch from '2026-07-07 16:00:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015319 -3.394588)'), GeomFromEWKT('SRID=4674;POINT (-39.015277 -3.39452)'))) / (select extract(epoch from '2026-07-07 16:00:13'::timestamp) - extract(epoch from '2026-07-07 16:00: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'), 47419, 'SRID=4674;POINT (-39.015215 -3.394416)', '2026-07-07 16:00:22', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015277 -3.39452)'), GeomFromEWKT('SRID=4674;POINT (-39.015215 -3.394416)'))) / (select extract(epoch from '2026-07-07 16:00:22'::timestamp) - extract(epoch from '2026-07-07 16:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015277 -3.39452)'), GeomFromEWKT('SRID=4674;POINT (-39.015215 -3.394416)'))) / (select extract(epoch from '2026-07-07 16:00:22'::timestamp) - extract(epoch from '2026-07-07 16:00:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.015206 -3.394398)', '2026-07-07 16:00:24', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015215 -3.394416)'), GeomFromEWKT('SRID=4674;POINT (-39.015206 -3.394398)'))) / (select extract(epoch from '2026-07-07 16:00:24'::timestamp) - extract(epoch from '2026-07-07 16:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015215 -3.394416)'), GeomFromEWKT('SRID=4674;POINT (-39.015206 -3.394398)'))) / (select extract(epoch from '2026-07-07 16:00:24'::timestamp) - extract(epoch from '2026-07-07 16:00: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'), 47419, 'SRID=4674;POINT (-39.015187 -3.39436)', '2026-07-07 16:00:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015206 -3.394398)'), GeomFromEWKT('SRID=4674;POINT (-39.015187 -3.39436)'))) / (select extract(epoch from '2026-07-07 16:00:28'::timestamp) - extract(epoch from '2026-07-07 16:00:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015206 -3.394398)'), GeomFromEWKT('SRID=4674;POINT (-39.015187 -3.39436)'))) / (select extract(epoch from '2026-07-07 16:00:28'::timestamp) - extract(epoch from '2026-07-07 16:00: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'), 47419, 'SRID=4674;POINT (-39.015159 -3.394298)', '2026-07-07 16:00:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015187 -3.39436)'), GeomFromEWKT('SRID=4674;POINT (-39.015159 -3.394298)'))) / (select extract(epoch from '2026-07-07 16:00:34'::timestamp) - extract(epoch from '2026-07-07 16:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015187 -3.39436)'), GeomFromEWKT('SRID=4674;POINT (-39.015159 -3.394298)'))) / (select extract(epoch from '2026-07-07 16:00:34'::timestamp) - extract(epoch from '2026-07-07 16:00: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'), 47419, 'SRID=4674;POINT (-39.015149 -3.39428)', '2026-07-07 16:00:36', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015159 -3.394298)'), GeomFromEWKT('SRID=4674;POINT (-39.015149 -3.39428)'))) / (select extract(epoch from '2026-07-07 16:00:36'::timestamp) - extract(epoch from '2026-07-07 16:00:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015159 -3.394298)'), GeomFromEWKT('SRID=4674;POINT (-39.015149 -3.39428)'))) / (select extract(epoch from '2026-07-07 16:00:36'::timestamp) - extract(epoch from '2026-07-07 16:00:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47419, 'SRID=4674;POINT (-39.015121 -3.394242)', '2026-07-07 16:00:40', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015149 -3.39428)'), GeomFromEWKT('SRID=4674;POINT (-39.015121 -3.394242)'))) / (select extract(epoch from '2026-07-07 16:00:40'::timestamp) - extract(epoch from '2026-07-07 16:00:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015149 -3.39428)'), GeomFromEWKT('SRID=4674;POINT (-39.015121 -3.394242)'))) / (select extract(epoch from '2026-07-07 16:00:40'::timestamp) - extract(epoch from '2026-07-07 16:00: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'), 47419, 'SRID=4674;POINT (-39.015071 -3.394175)', '2026-07-07 16:00:46', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015121 -3.394242)'), GeomFromEWKT('SRID=4674;POINT (-39.015071 -3.394175)'))) / (select extract(epoch from '2026-07-07 16:00:46'::timestamp) - extract(epoch from '2026-07-07 16:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015121 -3.394242)'), GeomFromEWKT('SRID=4674;POINT (-39.015071 -3.394175)'))) / (select extract(epoch from '2026-07-07 16:00:46'::timestamp) - extract(epoch from '2026-07-07 16:00: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'), 47419, 'SRID=4674;POINT (-39.015025 -3.394097)', '2026-07-07 16:00:53', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015071 -3.394175)'), GeomFromEWKT('SRID=4674;POINT (-39.015025 -3.394097)'))) / (select extract(epoch from '2026-07-07 16:00:53'::timestamp) - extract(epoch from '2026-07-07 16:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015071 -3.394175)'), GeomFromEWKT('SRID=4674;POINT (-39.015025 -3.394097)'))) / (select extract(epoch from '2026-07-07 16:00:53'::timestamp) - extract(epoch from '2026-07-07 16:00: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'), 47419, 'SRID=4674;POINT (-39.01498 -3.39403)', '2026-07-07 16:01:00', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015025 -3.394097)'), GeomFromEWKT('SRID=4674;POINT (-39.01498 -3.39403)'))) / (select extract(epoch from '2026-07-07 16:01:00'::timestamp) - extract(epoch from '2026-07-07 16:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015025 -3.394097)'), GeomFromEWKT('SRID=4674;POINT (-39.01498 -3.39403)'))) / (select extract(epoch from '2026-07-07 16:01:00'::timestamp) - extract(epoch from '2026-07-07 16:00: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'), 47419, 'SRID=4674;POINT (-39.014945 -3.393966)', '2026-07-07 16:01:06', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01498 -3.39403)'), GeomFromEWKT('SRID=4674;POINT (-39.014945 -3.393966)'))) / (select extract(epoch from '2026-07-07 16:01:06'::timestamp) - extract(epoch from '2026-07-07 16:01:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01498 -3.39403)'), GeomFromEWKT('SRID=4674;POINT (-39.014945 -3.393966)'))) / (select extract(epoch from '2026-07-07 16:01:06'::timestamp) - extract(epoch from '2026-07-07 16:01: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'), 47419, 'SRID=4674;POINT (-39.014917 -3.393903)', '2026-07-07 16:01:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014945 -3.393966)'), GeomFromEWKT('SRID=4674;POINT (-39.014917 -3.393903)'))) / (select extract(epoch from '2026-07-07 16:01:12'::timestamp) - extract(epoch from '2026-07-07 16:01:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014945 -3.393966)'), GeomFromEWKT('SRID=4674;POINT (-39.014917 -3.393903)'))) / (select extract(epoch from '2026-07-07 16:01:12'::timestamp) - extract(epoch from '2026-07-07 16:01: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'), 47419, 'SRID=4674;POINT (-39.01487 -3.39382)', '2026-07-07 16:01:19', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014917 -3.393903)'), GeomFromEWKT('SRID=4674;POINT (-39.01487 -3.39382)'))) / (select extract(epoch from '2026-07-07 16:01:19'::timestamp) - extract(epoch from '2026-07-07 16:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014917 -3.393903)'), GeomFromEWKT('SRID=4674;POINT (-39.01487 -3.39382)'))) / (select extract(epoch from '2026-07-07 16:01:19'::timestamp) - extract(epoch from '2026-07-07 16:01: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'), 47419, 'SRID=4674;POINT (-39.014863 -3.393809)', '2026-07-07 16:01:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01487 -3.39382)'), GeomFromEWKT('SRID=4674;POINT (-39.014863 -3.393809)'))) / (select extract(epoch from '2026-07-07 16:01:20'::timestamp) - extract(epoch from '2026-07-07 16:01:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01487 -3.39382)'), GeomFromEWKT('SRID=4674;POINT (-39.014863 -3.393809)'))) / (select extract(epoch from '2026-07-07 16:01:20'::timestamp) - extract(epoch from '2026-07-07 16:01: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'), 47419, 'SRID=4674;POINT (-39.014835 -3.393769)', '2026-07-07 16:01:24', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014863 -3.393809)'), GeomFromEWKT('SRID=4674;POINT (-39.014835 -3.393769)'))) / (select extract(epoch from '2026-07-07 16:01:24'::timestamp) - extract(epoch from '2026-07-07 16:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014863 -3.393809)'), GeomFromEWKT('SRID=4674;POINT (-39.014835 -3.393769)'))) / (select extract(epoch from '2026-07-07 16:01:24'::timestamp) - extract(epoch from '2026-07-07 16:01: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'), 47419, 'SRID=4674;POINT (-39.014788 -3.393704)', '2026-07-07 16:01:30', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014835 -3.393769)'), GeomFromEWKT('SRID=4674;POINT (-39.014788 -3.393704)'))) / (select extract(epoch from '2026-07-07 16:01:30'::timestamp) - extract(epoch from '2026-07-07 16:01:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014835 -3.393769)'), GeomFromEWKT('SRID=4674;POINT (-39.014788 -3.393704)'))) / (select extract(epoch from '2026-07-07 16:01:30'::timestamp) - extract(epoch from '2026-07-07 16:01: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'), 47419, 'SRID=4674;POINT (-39.01475 -3.393637)', '2026-07-07 16:01:36', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014788 -3.393704)'), GeomFromEWKT('SRID=4674;POINT (-39.01475 -3.393637)'))) / (select extract(epoch from '2026-07-07 16:01:36'::timestamp) - extract(epoch from '2026-07-07 16:01:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014788 -3.393704)'), GeomFromEWKT('SRID=4674;POINT (-39.01475 -3.393637)'))) / (select extract(epoch from '2026-07-07 16:01:36'::timestamp) - extract(epoch from '2026-07-07 16:01: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'), 47419, 'SRID=4674;POINT (-39.014745 -3.393627)', '2026-07-07 16:01:37', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01475 -3.393637)'), GeomFromEWKT('SRID=4674;POINT (-39.014745 -3.393627)'))) / (select extract(epoch from '2026-07-07 16:01:37'::timestamp) - extract(epoch from '2026-07-07 16:01:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01475 -3.393637)'), GeomFromEWKT('SRID=4674;POINT (-39.014745 -3.393627)'))) / (select extract(epoch from '2026-07-07 16:01:37'::timestamp) - extract(epoch from '2026-07-07 16:01: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'), 47419, 'SRID=4674;POINT (-39.014715 -3.393575)', '2026-07-07 16:01:42', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014745 -3.393627)'), GeomFromEWKT('SRID=4674;POINT (-39.014715 -3.393575)'))) / (select extract(epoch from '2026-07-07 16:01:42'::timestamp) - extract(epoch from '2026-07-07 16:01:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014745 -3.393627)'), GeomFromEWKT('SRID=4674;POINT (-39.014715 -3.393575)'))) / (select extract(epoch from '2026-07-07 16:01:42'::timestamp) - extract(epoch from '2026-07-07 16:01: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'), 47419, 'SRID=4674;POINT (-39.014707 -3.393566)', '2026-07-07 16:01:43', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014715 -3.393575)'), GeomFromEWKT('SRID=4674;POINT (-39.014707 -3.393566)'))) / (select extract(epoch from '2026-07-07 16:01:43'::timestamp) - extract(epoch from '2026-07-07 16:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014715 -3.393575)'), GeomFromEWKT('SRID=4674;POINT (-39.014707 -3.393566)'))) / (select extract(epoch from '2026-07-07 16:01:43'::timestamp) - extract(epoch from '2026-07-07 16:01: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'), 47419, 'SRID=4674;POINT (-39.014681 -3.393523)', '2026-07-07 16:01:47', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014707 -3.393566)'), GeomFromEWKT('SRID=4674;POINT (-39.014681 -3.393523)'))) / (select extract(epoch from '2026-07-07 16:01:47'::timestamp) - extract(epoch from '2026-07-07 16:01:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014707 -3.393566)'), GeomFromEWKT('SRID=4674;POINT (-39.014681 -3.393523)'))) / (select extract(epoch from '2026-07-07 16:01:47'::timestamp) - extract(epoch from '2026-07-07 16:01: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'), 47419, 'SRID=4674;POINT (-39.014638 -3.393462)', '2026-07-07 16:01:53', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014681 -3.393523)'), GeomFromEWKT('SRID=4674;POINT (-39.014638 -3.393462)'))) / (select extract(epoch from '2026-07-07 16:01:53'::timestamp) - extract(epoch from '2026-07-07 16:01:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014681 -3.393523)'), GeomFromEWKT('SRID=4674;POINT (-39.014638 -3.393462)'))) / (select extract(epoch from '2026-07-07 16:01:53'::timestamp) - extract(epoch from '2026-07-07 16:01: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'), 47419, 'SRID=4674;POINT (-39.014604 -3.393408)', '2026-07-07 16:01:58', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014638 -3.393462)'), GeomFromEWKT('SRID=4674;POINT (-39.014604 -3.393408)'))) / (select extract(epoch from '2026-07-07 16:01:58'::timestamp) - extract(epoch from '2026-07-07 16:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014638 -3.393462)'), GeomFromEWKT('SRID=4674;POINT (-39.014604 -3.393408)'))) / (select extract(epoch from '2026-07-07 16:01:58'::timestamp) - extract(epoch from '2026-07-07 16:01: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'), 47419, 'SRID=4674;POINT (-39.01456 -3.393331)', '2026-07-07 16:02:05', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014604 -3.393408)'), GeomFromEWKT('SRID=4674;POINT (-39.01456 -3.393331)'))) / (select extract(epoch from '2026-07-07 16:02:05'::timestamp) - extract(epoch from '2026-07-07 16:01:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014604 -3.393408)'), GeomFromEWKT('SRID=4674;POINT (-39.01456 -3.393331)'))) / (select extract(epoch from '2026-07-07 16:02:05'::timestamp) - extract(epoch from '2026-07-07 16:01: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'), 47419, 'SRID=4674;POINT (-39.01455 -3.393288)', '2026-07-07 16:02:10', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01456 -3.393331)'), GeomFromEWKT('SRID=4674;POINT (-39.01455 -3.393288)'))) / (select extract(epoch from '2026-07-07 16:02:10'::timestamp) - extract(epoch from '2026-07-07 16:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01456 -3.393331)'), GeomFromEWKT('SRID=4674;POINT (-39.01455 -3.393288)'))) / (select extract(epoch from '2026-07-07 16:02:10'::timestamp) - extract(epoch from '2026-07-07 16:02: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'), 47419, 'SRID=4674;POINT (-39.014537 -3.39327)', '2026-07-07 16:02:12', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01455 -3.393288)'), GeomFromEWKT('SRID=4674;POINT (-39.014537 -3.39327)'))) / (select extract(epoch from '2026-07-07 16:02:12'::timestamp) - extract(epoch from '2026-07-07 16:02:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01455 -3.393288)'), GeomFromEWKT('SRID=4674;POINT (-39.014537 -3.39327)'))) / (select extract(epoch from '2026-07-07 16:02:12'::timestamp) - extract(epoch from '2026-07-07 16:02: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'), 47419, 'SRID=4674;POINT (-39.014524 -3.393224)', '2026-07-07 16:02:18', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014537 -3.39327)'), GeomFromEWKT('SRID=4674;POINT (-39.014524 -3.393224)'))) / (select extract(epoch from '2026-07-07 16:02:18'::timestamp) - extract(epoch from '2026-07-07 16:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014537 -3.39327)'), GeomFromEWKT('SRID=4674;POINT (-39.014524 -3.393224)'))) / (select extract(epoch from '2026-07-07 16:02:18'::timestamp) - extract(epoch from '2026-07-07 16:02: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'), 47419, 'SRID=4674;POINT (-39.014518 -3.393215)', '2026-07-07 16:02:19', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014524 -3.393224)'), GeomFromEWKT('SRID=4674;POINT (-39.014518 -3.393215)'))) / (select extract(epoch from '2026-07-07 16:02:19'::timestamp) - extract(epoch from '2026-07-07 16:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014524 -3.393224)'), GeomFromEWKT('SRID=4674;POINT (-39.014518 -3.393215)'))) / (select extract(epoch from '2026-07-07 16:02:19'::timestamp) - extract(epoch from '2026-07-07 16:02: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'), 47419, 'SRID=4674;POINT (-39.014494 -3.393158)', '2026-07-07 16:02:25', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014518 -3.393215)'), GeomFromEWKT('SRID=4674;POINT (-39.014494 -3.393158)'))) / (select extract(epoch from '2026-07-07 16:02:25'::timestamp) - extract(epoch from '2026-07-07 16:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014518 -3.393215)'), GeomFromEWKT('SRID=4674;POINT (-39.014494 -3.393158)'))) / (select extract(epoch from '2026-07-07 16:02:25'::timestamp) - extract(epoch from '2026-07-07 16:02: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'), 47419, 'SRID=4674;POINT (-39.014468 -3.393107)', '2026-07-07 16:02:30', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014494 -3.393158)'), GeomFromEWKT('SRID=4674;POINT (-39.014468 -3.393107)'))) / (select extract(epoch from '2026-07-07 16:02:30'::timestamp) - extract(epoch from '2026-07-07 16:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014494 -3.393158)'), GeomFromEWKT('SRID=4674;POINT (-39.014468 -3.393107)'))) / (select extract(epoch from '2026-07-07 16:02:30'::timestamp) - extract(epoch from '2026-07-07 16:02: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'), 47419, 'SRID=4674;POINT (-39.014429 -3.39304)', '2026-07-07 16:02:36', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014468 -3.393107)'), GeomFromEWKT('SRID=4674;POINT (-39.014429 -3.39304)'))) / (select extract(epoch from '2026-07-07 16:02:36'::timestamp) - extract(epoch from '2026-07-07 16:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014468 -3.393107)'), GeomFromEWKT('SRID=4674;POINT (-39.014429 -3.39304)'))) / (select extract(epoch from '2026-07-07 16:02:36'::timestamp) - extract(epoch from '2026-07-07 16:02: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'), 47419, 'SRID=4674;POINT (-39.014375 -3.392974)', '2026-07-07 16:02:42', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014429 -3.39304)'), GeomFromEWKT('SRID=4674;POINT (-39.014375 -3.392974)'))) / (select extract(epoch from '2026-07-07 16:02:42'::timestamp) - extract(epoch from '2026-07-07 16:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014429 -3.39304)'), GeomFromEWKT('SRID=4674;POINT (-39.014375 -3.392974)'))) / (select extract(epoch from '2026-07-07 16:02:42'::timestamp) - extract(epoch from '2026-07-07 16:02: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'), 47419, 'SRID=4674;POINT (-39.014326 -3.392911)', '2026-07-07 16:02:48', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014375 -3.392974)'), GeomFromEWKT('SRID=4674;POINT (-39.014326 -3.392911)'))) / (select extract(epoch from '2026-07-07 16:02:48'::timestamp) - extract(epoch from '2026-07-07 16:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014375 -3.392974)'), GeomFromEWKT('SRID=4674;POINT (-39.014326 -3.392911)'))) / (select extract(epoch from '2026-07-07 16:02:48'::timestamp) - extract(epoch from '2026-07-07 16:02: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'), 47419, 'SRID=4674;POINT (-39.014259 -3.392839)', '2026-07-07 16:02:55', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014326 -3.392911)'), GeomFromEWKT('SRID=4674;POINT (-39.014259 -3.392839)'))) / (select extract(epoch from '2026-07-07 16:02:55'::timestamp) - extract(epoch from '2026-07-07 16:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014326 -3.392911)'), GeomFromEWKT('SRID=4674;POINT (-39.014259 -3.392839)'))) / (select extract(epoch from '2026-07-07 16:02:55'::timestamp) - extract(epoch from '2026-07-07 16:02: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'), 47419, 'SRID=4674;POINT (-39.0142 -3.392774)', '2026-07-07 16:03:01', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014259 -3.392839)'), GeomFromEWKT('SRID=4674;POINT (-39.0142 -3.392774)'))) / (select extract(epoch from '2026-07-07 16:03:01'::timestamp) - extract(epoch from '2026-07-07 16:02:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014259 -3.392839)'), GeomFromEWKT('SRID=4674;POINT (-39.0142 -3.392774)'))) / (select extract(epoch from '2026-07-07 16:03:01'::timestamp) - extract(epoch from '2026-07-07 16:02: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'), 47419, 'SRID=4674;POINT (-39.014163 -3.392708)', '2026-07-07 16:03:07', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0142 -3.392774)'), GeomFromEWKT('SRID=4674;POINT (-39.014163 -3.392708)'))) / (select extract(epoch from '2026-07-07 16:03:07'::timestamp) - extract(epoch from '2026-07-07 16:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0142 -3.392774)'), GeomFromEWKT('SRID=4674;POINT (-39.014163 -3.392708)'))) / (select extract(epoch from '2026-07-07 16:03:07'::timestamp) - extract(epoch from '2026-07-07 16:03: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'), 47419, 'SRID=4674;POINT (-39.014159 -3.392697)', '2026-07-07 16:03:08', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014163 -3.392708)'), GeomFromEWKT('SRID=4674;POINT (-39.014159 -3.392697)'))) / (select extract(epoch from '2026-07-07 16:03:08'::timestamp) - extract(epoch from '2026-07-07 16:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014163 -3.392708)'), GeomFromEWKT('SRID=4674;POINT (-39.014159 -3.392697)'))) / (select extract(epoch from '2026-07-07 16:03:08'::timestamp) - extract(epoch from '2026-07-07 16:03: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'), 47419, 'SRID=4674;POINT (-39.01413 -3.392652)', '2026-07-07 16:03:12', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014159 -3.392697)'), GeomFromEWKT('SRID=4674;POINT (-39.01413 -3.392652)'))) / (select extract(epoch from '2026-07-07 16:03:12'::timestamp) - extract(epoch from '2026-07-07 16:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014159 -3.392697)'), GeomFromEWKT('SRID=4674;POINT (-39.01413 -3.392652)'))) / (select extract(epoch from '2026-07-07 16:03:12'::timestamp) - extract(epoch from '2026-07-07 16:03: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'), 47419, 'SRID=4674;POINT (-39.014071 -3.392565)', '2026-07-07 16:03:20', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01413 -3.392652)'), GeomFromEWKT('SRID=4674;POINT (-39.014071 -3.392565)'))) / (select extract(epoch from '2026-07-07 16:03:20'::timestamp) - extract(epoch from '2026-07-07 16:03:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01413 -3.392652)'), GeomFromEWKT('SRID=4674;POINT (-39.014071 -3.392565)'))) / (select extract(epoch from '2026-07-07 16:03:20'::timestamp) - extract(epoch from '2026-07-07 16:03: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'), 47419, 'SRID=4674;POINT (-39.014024 -3.392486)', '2026-07-07 16:03:28', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014071 -3.392565)'), GeomFromEWKT('SRID=4674;POINT (-39.014024 -3.392486)'))) / (select extract(epoch from '2026-07-07 16:03:28'::timestamp) - extract(epoch from '2026-07-07 16:03:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014071 -3.392565)'), GeomFromEWKT('SRID=4674;POINT (-39.014024 -3.392486)'))) / (select extract(epoch from '2026-07-07 16:03:28'::timestamp) - extract(epoch from '2026-07-07 16:03: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'), 47419, 'SRID=4674;POINT (-39.013994 -3.392441)', '2026-07-07 16:03:33', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014024 -3.392486)'), GeomFromEWKT('SRID=4674;POINT (-39.013994 -3.392441)'))) / (select extract(epoch from '2026-07-07 16:03:33'::timestamp) - extract(epoch from '2026-07-07 16:03:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014024 -3.392486)'), GeomFromEWKT('SRID=4674;POINT (-39.013994 -3.392441)'))) / (select extract(epoch from '2026-07-07 16:03:33'::timestamp) - extract(epoch from '2026-07-07 16:03: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'), 47419, 'SRID=4674;POINT (-39.013985 -3.392413)', '2026-07-07 16:03:36', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013994 -3.392441)'), GeomFromEWKT('SRID=4674;POINT (-39.013985 -3.392413)'))) / (select extract(epoch from '2026-07-07 16:03:36'::timestamp) - extract(epoch from '2026-07-07 16:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013994 -3.392441)'), GeomFromEWKT('SRID=4674;POINT (-39.013985 -3.392413)'))) / (select extract(epoch from '2026-07-07 16:03:36'::timestamp) - extract(epoch from '2026-07-07 16:03: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'), 47419, 'SRID=4674;POINT (-39.013944 -3.392343)', '2026-07-07 16:03:43', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013985 -3.392413)'), GeomFromEWKT('SRID=4674;POINT (-39.013944 -3.392343)'))) / (select extract(epoch from '2026-07-07 16:03:43'::timestamp) - extract(epoch from '2026-07-07 16:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013985 -3.392413)'), GeomFromEWKT('SRID=4674;POINT (-39.013944 -3.392343)'))) / (select extract(epoch from '2026-07-07 16:03:43'::timestamp) - extract(epoch from '2026-07-07 16:03: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'), 47419, 'SRID=4674;POINT (-39.013914 -3.392271)', '2026-07-07 16:03:50', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013944 -3.392343)'), GeomFromEWKT('SRID=4674;POINT (-39.013914 -3.392271)'))) / (select extract(epoch from '2026-07-07 16:03:50'::timestamp) - extract(epoch from '2026-07-07 16:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013944 -3.392343)'), GeomFromEWKT('SRID=4674;POINT (-39.013914 -3.392271)'))) / (select extract(epoch from '2026-07-07 16:03:50'::timestamp) - extract(epoch from '2026-07-07 16:03: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'), 47419, 'SRID=4674;POINT (-39.013909 -3.392252)', '2026-07-07 16:03:52', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013914 -3.392271)'), GeomFromEWKT('SRID=4674;POINT (-39.013909 -3.392252)'))) / (select extract(epoch from '2026-07-07 16:03:52'::timestamp) - extract(epoch from '2026-07-07 16:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013914 -3.392271)'), GeomFromEWKT('SRID=4674;POINT (-39.013909 -3.392252)'))) / (select extract(epoch from '2026-07-07 16:03:52'::timestamp) - extract(epoch from '2026-07-07 16:03: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'), 47419, 'SRID=4674;POINT (-39.013897 -3.392211)', '2026-07-07 16:03:56', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013909 -3.392252)'), GeomFromEWKT('SRID=4674;POINT (-39.013897 -3.392211)'))) / (select extract(epoch from '2026-07-07 16:03:56'::timestamp) - extract(epoch from '2026-07-07 16:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013909 -3.392252)'), GeomFromEWKT('SRID=4674;POINT (-39.013897 -3.392211)'))) / (select extract(epoch from '2026-07-07 16:03:56'::timestamp) - extract(epoch from '2026-07-07 16:03: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'), 47419, 'SRID=4674;POINT (-39.013864 -3.392139)', '2026-07-07 16:04:03', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013897 -3.392211)'), GeomFromEWKT('SRID=4674;POINT (-39.013864 -3.392139)'))) / (select extract(epoch from '2026-07-07 16:04:03'::timestamp) - extract(epoch from '2026-07-07 16:03:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013897 -3.392211)'), GeomFromEWKT('SRID=4674;POINT (-39.013864 -3.392139)'))) / (select extract(epoch from '2026-07-07 16:04:03'::timestamp) - extract(epoch from '2026-07-07 16:03: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'), 47419, 'SRID=4674;POINT (-39.013836 -3.392081)', '2026-07-07 16:04:09', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013864 -3.392139)'), GeomFromEWKT('SRID=4674;POINT (-39.013836 -3.392081)'))) / (select extract(epoch from '2026-07-07 16:04:09'::timestamp) - extract(epoch from '2026-07-07 16:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013864 -3.392139)'), GeomFromEWKT('SRID=4674;POINT (-39.013836 -3.392081)'))) / (select extract(epoch from '2026-07-07 16:04:09'::timestamp) - extract(epoch from '2026-07-07 16:04: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'), 47419, 'SRID=4674;POINT (-39.013831 -3.392071)', '2026-07-07 16:04:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013836 -3.392081)'), GeomFromEWKT('SRID=4674;POINT (-39.013831 -3.392071)'))) / (select extract(epoch from '2026-07-07 16:04:10'::timestamp) - extract(epoch from '2026-07-07 16:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013836 -3.392081)'), GeomFromEWKT('SRID=4674;POINT (-39.013831 -3.392071)'))) / (select extract(epoch from '2026-07-07 16:04:10'::timestamp) - extract(epoch from '2026-07-07 16:04: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'), 47419, 'SRID=4674;POINT (-39.013806 -3.392028)', '2026-07-07 16:04:14', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013831 -3.392071)'), GeomFromEWKT('SRID=4674;POINT (-39.013806 -3.392028)'))) / (select extract(epoch from '2026-07-07 16:04:14'::timestamp) - extract(epoch from '2026-07-07 16:04:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013831 -3.392071)'), GeomFromEWKT('SRID=4674;POINT (-39.013806 -3.392028)'))) / (select extract(epoch from '2026-07-07 16:04:14'::timestamp) - extract(epoch from '2026-07-07 16:04: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'), 47419, 'SRID=4674;POINT (-39.013786 -3.39199)', '2026-07-07 16:04:18', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013806 -3.392028)'), GeomFromEWKT('SRID=4674;POINT (-39.013786 -3.39199)'))) / (select extract(epoch from '2026-07-07 16:04:18'::timestamp) - extract(epoch from '2026-07-07 16:04:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013806 -3.392028)'), GeomFromEWKT('SRID=4674;POINT (-39.013786 -3.39199)'))) / (select extract(epoch from '2026-07-07 16:04:18'::timestamp) - extract(epoch from '2026-07-07 16:04: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'), 47419, 'SRID=4674;POINT (-39.013772 -3.391966)', '2026-07-07 16:04:20', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013786 -3.39199)'), GeomFromEWKT('SRID=4674;POINT (-39.013772 -3.391966)'))) / (select extract(epoch from '2026-07-07 16:04:20'::timestamp) - extract(epoch from '2026-07-07 16:04:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013786 -3.39199)'), GeomFromEWKT('SRID=4674;POINT (-39.013772 -3.391966)'))) / (select extract(epoch from '2026-07-07 16:04:20'::timestamp) - extract(epoch from '2026-07-07 16:04: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'), 47419, 'SRID=4674;POINT (-39.013747 -3.391923)', '2026-07-07 16:04:24', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013772 -3.391966)'), GeomFromEWKT('SRID=4674;POINT (-39.013747 -3.391923)'))) / (select extract(epoch from '2026-07-07 16:04:24'::timestamp) - extract(epoch from '2026-07-07 16:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013772 -3.391966)'), GeomFromEWKT('SRID=4674;POINT (-39.013747 -3.391923)'))) / (select extract(epoch from '2026-07-07 16:04:24'::timestamp) - extract(epoch from '2026-07-07 16:04: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'), 47419, 'SRID=4674;POINT (-39.01373 -3.391901)', '2026-07-07 16:04:26', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013747 -3.391923)'), GeomFromEWKT('SRID=4674;POINT (-39.01373 -3.391901)'))) / (select extract(epoch from '2026-07-07 16:04:26'::timestamp) - extract(epoch from '2026-07-07 16:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013747 -3.391923)'), GeomFromEWKT('SRID=4674;POINT (-39.01373 -3.391901)'))) / (select extract(epoch from '2026-07-07 16:04:26'::timestamp) - extract(epoch from '2026-07-07 16:04: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'), 47419, 'SRID=4674;POINT (-39.013699 -3.391838)', '2026-07-07 16:04:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01373 -3.391901)'), GeomFromEWKT('SRID=4674;POINT (-39.013699 -3.391838)'))) / (select extract(epoch from '2026-07-07 16:04:32'::timestamp) - extract(epoch from '2026-07-07 16:04:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01373 -3.391901)'), GeomFromEWKT('SRID=4674;POINT (-39.013699 -3.391838)'))) / (select extract(epoch from '2026-07-07 16:04:32'::timestamp) - extract(epoch from '2026-07-07 16:04: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'), 47419, 'SRID=4674;POINT (-39.013681 -3.391807)', '2026-07-07 16:04:35', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013699 -3.391838)'), GeomFromEWKT('SRID=4674;POINT (-39.013681 -3.391807)'))) / (select extract(epoch from '2026-07-07 16:04:35'::timestamp) - extract(epoch from '2026-07-07 16:04:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013699 -3.391838)'), GeomFromEWKT('SRID=4674;POINT (-39.013681 -3.391807)'))) / (select extract(epoch from '2026-07-07 16:04:35'::timestamp) - extract(epoch from '2026-07-07 16:04: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'), 47419, 'SRID=4674;POINT (-39.013667 -3.391774)', '2026-07-07 16:04:38', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013681 -3.391807)'), GeomFromEWKT('SRID=4674;POINT (-39.013667 -3.391774)'))) / (select extract(epoch from '2026-07-07 16:04:38'::timestamp) - extract(epoch from '2026-07-07 16:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013681 -3.391807)'), GeomFromEWKT('SRID=4674;POINT (-39.013667 -3.391774)'))) / (select extract(epoch from '2026-07-07 16:04:38'::timestamp) - extract(epoch from '2026-07-07 16:04: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'), 47419, 'SRID=4674;POINT (-39.013637 -3.391707)', '2026-07-07 16:04:44', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013667 -3.391774)'), GeomFromEWKT('SRID=4674;POINT (-39.013637 -3.391707)'))) / (select extract(epoch from '2026-07-07 16:04:44'::timestamp) - extract(epoch from '2026-07-07 16:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013667 -3.391774)'), GeomFromEWKT('SRID=4674;POINT (-39.013637 -3.391707)'))) / (select extract(epoch from '2026-07-07 16:04:44'::timestamp) - extract(epoch from '2026-07-07 16:04: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'), 47419, 'SRID=4674;POINT (-39.013635 -3.391697)', '2026-07-07 16:04:45', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013637 -3.391707)'), GeomFromEWKT('SRID=4674;POINT (-39.013635 -3.391697)'))) / (select extract(epoch from '2026-07-07 16:04:45'::timestamp) - extract(epoch from '2026-07-07 16:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013637 -3.391707)'), GeomFromEWKT('SRID=4674;POINT (-39.013635 -3.391697)'))) / (select extract(epoch from '2026-07-07 16:04:45'::timestamp) - extract(epoch from '2026-07-07 16:04: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'), 47419, 'SRID=4674;POINT (-39.013616 -3.391652)', '2026-07-07 16:04:49', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013635 -3.391697)'), GeomFromEWKT('SRID=4674;POINT (-39.013616 -3.391652)'))) / (select extract(epoch from '2026-07-07 16:04:49'::timestamp) - extract(epoch from '2026-07-07 16:04:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013635 -3.391697)'), GeomFromEWKT('SRID=4674;POINT (-39.013616 -3.391652)'))) / (select extract(epoch from '2026-07-07 16:04:49'::timestamp) - extract(epoch from '2026-07-07 16:04: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'), 47419, 'SRID=4674;POINT (-39.013605 -3.39162)', '2026-07-07 16:04:52', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013616 -3.391652)'), GeomFromEWKT('SRID=4674;POINT (-39.013605 -3.39162)'))) / (select extract(epoch from '2026-07-07 16:04:52'::timestamp) - extract(epoch from '2026-07-07 16:04:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013616 -3.391652)'), GeomFromEWKT('SRID=4674;POINT (-39.013605 -3.39162)'))) / (select extract(epoch from '2026-07-07 16:04:52'::timestamp) - extract(epoch from '2026-07-07 16:04: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'), 47419, 'SRID=4674;POINT (-39.013585 -3.391586)', '2026-07-07 16:04:55', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013605 -3.39162)'), GeomFromEWKT('SRID=4674;POINT (-39.013585 -3.391586)'))) / (select extract(epoch from '2026-07-07 16:04:55'::timestamp) - extract(epoch from '2026-07-07 16:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013605 -3.39162)'), GeomFromEWKT('SRID=4674;POINT (-39.013585 -3.391586)'))) / (select extract(epoch from '2026-07-07 16:04:55'::timestamp) - extract(epoch from '2026-07-07 16:04: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'), 47419, 'SRID=4674;POINT (-39.013581 -3.391575)', '2026-07-07 16:04:56', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013585 -3.391586)'), GeomFromEWKT('SRID=4674;POINT (-39.013581 -3.391575)'))) / (select extract(epoch from '2026-07-07 16:04:56'::timestamp) - extract(epoch from '2026-07-07 16:04:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013585 -3.391586)'), GeomFromEWKT('SRID=4674;POINT (-39.013581 -3.391575)'))) / (select extract(epoch from '2026-07-07 16:04:56'::timestamp) - extract(epoch from '2026-07-07 16:04: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'), 47419, 'SRID=4674;POINT (-39.013556 -3.391526)', '2026-07-07 16:05:00', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013581 -3.391575)'), GeomFromEWKT('SRID=4674;POINT (-39.013556 -3.391526)'))) / (select extract(epoch from '2026-07-07 16:05:00'::timestamp) - extract(epoch from '2026-07-07 16:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013581 -3.391575)'), GeomFromEWKT('SRID=4674;POINT (-39.013556 -3.391526)'))) / (select extract(epoch from '2026-07-07 16:05:00'::timestamp) - extract(epoch from '2026-07-07 16:04: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'), 47419, 'SRID=4674;POINT (-39.01352 -3.391464)', '2026-07-07 16:05:06', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013556 -3.391526)'), GeomFromEWKT('SRID=4674;POINT (-39.01352 -3.391464)'))) / (select extract(epoch from '2026-07-07 16:05:06'::timestamp) - extract(epoch from '2026-07-07 16:05:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013556 -3.391526)'), GeomFromEWKT('SRID=4674;POINT (-39.01352 -3.391464)'))) / (select extract(epoch from '2026-07-07 16:05:06'::timestamp) - extract(epoch from '2026-07-07 16:05: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'), 47419, 'SRID=4674;POINT (-39.013486 -3.391398)', '2026-07-07 16:05:13', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01352 -3.391464)'), GeomFromEWKT('SRID=4674;POINT (-39.013486 -3.391398)'))) / (select extract(epoch from '2026-07-07 16:05:13'::timestamp) - extract(epoch from '2026-07-07 16:05:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01352 -3.391464)'), GeomFromEWKT('SRID=4674;POINT (-39.013486 -3.391398)'))) / (select extract(epoch from '2026-07-07 16:05:13'::timestamp) - extract(epoch from '2026-07-07 16:05: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'), 47419, 'SRID=4674;POINT (-39.013441 -3.39134)', '2026-07-07 16:05:19', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013486 -3.391398)'), GeomFromEWKT('SRID=4674;POINT (-39.013441 -3.39134)'))) / (select extract(epoch from '2026-07-07 16:05:19'::timestamp) - extract(epoch from '2026-07-07 16:05:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013486 -3.391398)'), GeomFromEWKT('SRID=4674;POINT (-39.013441 -3.39134)'))) / (select extract(epoch from '2026-07-07 16:05:19'::timestamp) - extract(epoch from '2026-07-07 16:05: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'), 47419, 'SRID=4674;POINT (-39.013377 -3.391269)', '2026-07-07 16:05:26', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013441 -3.39134)'), GeomFromEWKT('SRID=4674;POINT (-39.013377 -3.391269)'))) / (select extract(epoch from '2026-07-07 16:05:26'::timestamp) - extract(epoch from '2026-07-07 16:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013441 -3.39134)'), GeomFromEWKT('SRID=4674;POINT (-39.013377 -3.391269)'))) / (select extract(epoch from '2026-07-07 16:05:26'::timestamp) - extract(epoch from '2026-07-07 16:05: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'), 47419, 'SRID=4674;POINT (-39.013309 -3.39118)', '2026-07-07 16:05:34', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013377 -3.391269)'), GeomFromEWKT('SRID=4674;POINT (-39.013309 -3.39118)'))) / (select extract(epoch from '2026-07-07 16:05:34'::timestamp) - extract(epoch from '2026-07-07 16:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013377 -3.391269)'), GeomFromEWKT('SRID=4674;POINT (-39.013309 -3.39118)'))) / (select extract(epoch from '2026-07-07 16:05:34'::timestamp) - extract(epoch from '2026-07-07 16:05: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'), 47419, 'SRID=4674;POINT (-39.013271 -3.391113)', '2026-07-07 16:05:40', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013309 -3.39118)'), GeomFromEWKT('SRID=4674;POINT (-39.013271 -3.391113)'))) / (select extract(epoch from '2026-07-07 16:05:40'::timestamp) - extract(epoch from '2026-07-07 16:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013309 -3.39118)'), GeomFromEWKT('SRID=4674;POINT (-39.013271 -3.391113)'))) / (select extract(epoch from '2026-07-07 16:05:40'::timestamp) - extract(epoch from '2026-07-07 16:05: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'), 47419, 'SRID=4674;POINT (-39.013226 -3.39104)', '2026-07-07 16:05:47', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013271 -3.391113)'), GeomFromEWKT('SRID=4674;POINT (-39.013226 -3.39104)'))) / (select extract(epoch from '2026-07-07 16:05:47'::timestamp) - extract(epoch from '2026-07-07 16:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013271 -3.391113)'), GeomFromEWKT('SRID=4674;POINT (-39.013226 -3.39104)'))) / (select extract(epoch from '2026-07-07 16:05:47'::timestamp) - extract(epoch from '2026-07-07 16:05: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'), 47419, 'SRID=4674;POINT (-39.013189 -3.390957)', '2026-07-07 16:05:54', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013226 -3.39104)'), GeomFromEWKT('SRID=4674;POINT (-39.013189 -3.390957)'))) / (select extract(epoch from '2026-07-07 16:05:54'::timestamp) - extract(epoch from '2026-07-07 16:05:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013226 -3.39104)'), GeomFromEWKT('SRID=4674;POINT (-39.013189 -3.390957)'))) / (select extract(epoch from '2026-07-07 16:05:54'::timestamp) - extract(epoch from '2026-07-07 16:05: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'), 47419, 'SRID=4674;POINT (-39.013159 -3.390901)', '2026-07-07 16:05:59', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013189 -3.390957)'), GeomFromEWKT('SRID=4674;POINT (-39.013159 -3.390901)'))) / (select extract(epoch from '2026-07-07 16:05:59'::timestamp) - extract(epoch from '2026-07-07 16:05:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013189 -3.390957)'), GeomFromEWKT('SRID=4674;POINT (-39.013159 -3.390901)'))) / (select extract(epoch from '2026-07-07 16:05:59'::timestamp) - extract(epoch from '2026-07-07 16:05: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'), 47419, 'SRID=4674;POINT (-39.01312 -3.390832)', '2026-07-07 16:06:05', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013159 -3.390901)'), GeomFromEWKT('SRID=4674;POINT (-39.01312 -3.390832)'))) / (select extract(epoch from '2026-07-07 16:06:05'::timestamp) - extract(epoch from '2026-07-07 16:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013159 -3.390901)'), GeomFromEWKT('SRID=4674;POINT (-39.01312 -3.390832)'))) / (select extract(epoch from '2026-07-07 16:06:05'::timestamp) - extract(epoch from '2026-07-07 16:05: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'), 47419, 'SRID=4674;POINT (-39.013075 -3.390763)', '2026-07-07 16:06:11', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01312 -3.390832)'), GeomFromEWKT('SRID=4674;POINT (-39.013075 -3.390763)'))) / (select extract(epoch from '2026-07-07 16:06:11'::timestamp) - extract(epoch from '2026-07-07 16:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01312 -3.390832)'), GeomFromEWKT('SRID=4674;POINT (-39.013075 -3.390763)'))) / (select extract(epoch from '2026-07-07 16:06:11'::timestamp) - extract(epoch from '2026-07-07 16:06: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'), 47419, 'SRID=4674;POINT (-39.01305 -3.390721)', '2026-07-07 16:06:15', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013075 -3.390763)'), GeomFromEWKT('SRID=4674;POINT (-39.01305 -3.390721)'))) / (select extract(epoch from '2026-07-07 16:06:15'::timestamp) - extract(epoch from '2026-07-07 16:06:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013075 -3.390763)'), GeomFromEWKT('SRID=4674;POINT (-39.01305 -3.390721)'))) / (select extract(epoch from '2026-07-07 16:06:15'::timestamp) - extract(epoch from '2026-07-07 16:06: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'), 47419, 'SRID=4674;POINT (-39.013044 -3.390701)', '2026-07-07 16:06:17', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01305 -3.390721)'), GeomFromEWKT('SRID=4674;POINT (-39.013044 -3.390701)'))) / (select extract(epoch from '2026-07-07 16:06:17'::timestamp) - extract(epoch from '2026-07-07 16:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01305 -3.390721)'), GeomFromEWKT('SRID=4674;POINT (-39.013044 -3.390701)'))) / (select extract(epoch from '2026-07-07 16:06:17'::timestamp) - extract(epoch from '2026-07-07 16:06: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'), 47419, 'SRID=4674;POINT (-39.013041 -3.390661)', '2026-07-07 16:06:22', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013044 -3.390701)'), GeomFromEWKT('SRID=4674;POINT (-39.013041 -3.390661)'))) / (select extract(epoch from '2026-07-07 16:06:22'::timestamp) - extract(epoch from '2026-07-07 16:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013044 -3.390701)'), GeomFromEWKT('SRID=4674;POINT (-39.013041 -3.390661)'))) / (select extract(epoch from '2026-07-07 16:06:22'::timestamp) - extract(epoch from '2026-07-07 16:06: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'), 47419, 'SRID=4674;POINT (-39.013033 -3.390625)', '2026-07-07 16:06:26', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013041 -3.390661)'), GeomFromEWKT('SRID=4674;POINT (-39.013033 -3.390625)'))) / (select extract(epoch from '2026-07-07 16:06:26'::timestamp) - extract(epoch from '2026-07-07 16:06:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013041 -3.390661)'), GeomFromEWKT('SRID=4674;POINT (-39.013033 -3.390625)'))) / (select extract(epoch from '2026-07-07 16:06:26'::timestamp) - extract(epoch from '2026-07-07 16:06: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'), 47419, 'SRID=4674;POINT (-39.013035 -3.390594)', '2026-07-07 16:06:29', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013033 -3.390625)'), GeomFromEWKT('SRID=4674;POINT (-39.013035 -3.390594)'))) / (select extract(epoch from '2026-07-07 16:06:29'::timestamp) - extract(epoch from '2026-07-07 16:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013033 -3.390625)'), GeomFromEWKT('SRID=4674;POINT (-39.013035 -3.390594)'))) / (select extract(epoch from '2026-07-07 16:06:29'::timestamp) - extract(epoch from '2026-07-07 16:06: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'), 47419, 'SRID=4674;POINT (-39.013006 -3.390497)', '2026-07-07 16:06:37', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013035 -3.390594)'), GeomFromEWKT('SRID=4674;POINT (-39.013006 -3.390497)'))) / (select extract(epoch from '2026-07-07 16:06:37'::timestamp) - extract(epoch from '2026-07-07 16:06:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013035 -3.390594)'), GeomFromEWKT('SRID=4674;POINT (-39.013006 -3.390497)'))) / (select extract(epoch from '2026-07-07 16:06:37'::timestamp) - extract(epoch from '2026-07-07 16:06: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'), 47419, 'SRID=4674;POINT (-39.012964 -3.390403)', '2026-07-07 16:06:45', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013006 -3.390497)'), GeomFromEWKT('SRID=4674;POINT (-39.012964 -3.390403)'))) / (select extract(epoch from '2026-07-07 16:06:45'::timestamp) - extract(epoch from '2026-07-07 16:06:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013006 -3.390497)'), GeomFromEWKT('SRID=4674;POINT (-39.012964 -3.390403)'))) / (select extract(epoch from '2026-07-07 16:06:45'::timestamp) - extract(epoch from '2026-07-07 16:06: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'), 47419, 'SRID=4674;POINT (-39.012934 -3.390336)', '2026-07-07 16:06:51', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012964 -3.390403)'), GeomFromEWKT('SRID=4674;POINT (-39.012934 -3.390336)'))) / (select extract(epoch from '2026-07-07 16:06:51'::timestamp) - extract(epoch from '2026-07-07 16:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012964 -3.390403)'), GeomFromEWKT('SRID=4674;POINT (-39.012934 -3.390336)'))) / (select extract(epoch from '2026-07-07 16:06:51'::timestamp) - extract(epoch from '2026-07-07 16:06: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'), 47419, 'SRID=4674;POINT (-39.01289 -3.390254)', '2026-07-07 16:06:58', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012934 -3.390336)'), GeomFromEWKT('SRID=4674;POINT (-39.01289 -3.390254)'))) / (select extract(epoch from '2026-07-07 16:06:58'::timestamp) - extract(epoch from '2026-07-07 16:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012934 -3.390336)'), GeomFromEWKT('SRID=4674;POINT (-39.01289 -3.390254)'))) / (select extract(epoch from '2026-07-07 16:06:58'::timestamp) - extract(epoch from '2026-07-07 16:06: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'), 47419, 'SRID=4674;POINT (-39.012848 -3.39019)', '2026-07-07 16:07:04', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01289 -3.390254)'), GeomFromEWKT('SRID=4674;POINT (-39.012848 -3.39019)'))) / (select extract(epoch from '2026-07-07 16:07:04'::timestamp) - extract(epoch from '2026-07-07 16:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01289 -3.390254)'), GeomFromEWKT('SRID=4674;POINT (-39.012848 -3.39019)'))) / (select extract(epoch from '2026-07-07 16:07:04'::timestamp) - extract(epoch from '2026-07-07 16:06: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'), 47419, 'SRID=4674;POINT (-39.012841 -3.390167)', '2026-07-07 16:07:06', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012848 -3.39019)'), GeomFromEWKT('SRID=4674;POINT (-39.012841 -3.390167)'))) / (select extract(epoch from '2026-07-07 16:07:06'::timestamp) - extract(epoch from '2026-07-07 16:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012848 -3.39019)'), GeomFromEWKT('SRID=4674;POINT (-39.012841 -3.390167)'))) / (select extract(epoch from '2026-07-07 16:07:06'::timestamp) - extract(epoch from '2026-07-07 16:07: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'), 47419, 'SRID=4674;POINT (-39.012815 -3.390122)', '2026-07-07 16:07:10', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012841 -3.390167)'), GeomFromEWKT('SRID=4674;POINT (-39.012815 -3.390122)'))) / (select extract(epoch from '2026-07-07 16:07:10'::timestamp) - extract(epoch from '2026-07-07 16:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012841 -3.390167)'), GeomFromEWKT('SRID=4674;POINT (-39.012815 -3.390122)'))) / (select extract(epoch from '2026-07-07 16:07:10'::timestamp) - extract(epoch from '2026-07-07 16:07: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'), 47419, 'SRID=4674;POINT (-39.012764 -3.390038)', '2026-07-07 16:07:17', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012815 -3.390122)'), GeomFromEWKT('SRID=4674;POINT (-39.012764 -3.390038)'))) / (select extract(epoch from '2026-07-07 16:07:17'::timestamp) - extract(epoch from '2026-07-07 16:07:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012815 -3.390122)'), GeomFromEWKT('SRID=4674;POINT (-39.012764 -3.390038)'))) / (select extract(epoch from '2026-07-07 16:07:17'::timestamp) - extract(epoch from '2026-07-07 16:07: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'), 47419, 'SRID=4674;POINT (-39.012744 -3.389995)', '2026-07-07 16:07:21', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012764 -3.390038)'), GeomFromEWKT('SRID=4674;POINT (-39.012744 -3.389995)'))) / (select extract(epoch from '2026-07-07 16:07:21'::timestamp) - extract(epoch from '2026-07-07 16:07:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012764 -3.390038)'), GeomFromEWKT('SRID=4674;POINT (-39.012744 -3.389995)'))) / (select extract(epoch from '2026-07-07 16:07:21'::timestamp) - extract(epoch from '2026-07-07 16:07: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'), 47419, 'SRID=4674;POINT (-39.012732 -3.389973)', '2026-07-07 16:07:23', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012744 -3.389995)'), GeomFromEWKT('SRID=4674;POINT (-39.012732 -3.389973)'))) / (select extract(epoch from '2026-07-07 16:07:23'::timestamp) - extract(epoch from '2026-07-07 16:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012744 -3.389995)'), GeomFromEWKT('SRID=4674;POINT (-39.012732 -3.389973)'))) / (select extract(epoch from '2026-07-07 16:07:23'::timestamp) - extract(epoch from '2026-07-07 16:07: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'), 47419, 'SRID=4674;POINT (-39.012682 -3.389884)', '2026-07-07 16:07:31', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012732 -3.389973)'), GeomFromEWKT('SRID=4674;POINT (-39.012682 -3.389884)'))) / (select extract(epoch from '2026-07-07 16:07:31'::timestamp) - extract(epoch from '2026-07-07 16:07:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012732 -3.389973)'), GeomFromEWKT('SRID=4674;POINT (-39.012682 -3.389884)'))) / (select extract(epoch from '2026-07-07 16:07:31'::timestamp) - extract(epoch from '2026-07-07 16:07: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'), 47419, 'SRID=4674;POINT (-39.012671 -3.389861)', '2026-07-07 16:07:33', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012682 -3.389884)'), GeomFromEWKT('SRID=4674;POINT (-39.012671 -3.389861)'))) / (select extract(epoch from '2026-07-07 16:07:33'::timestamp) - extract(epoch from '2026-07-07 16:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012682 -3.389884)'), GeomFromEWKT('SRID=4674;POINT (-39.012671 -3.389861)'))) / (select extract(epoch from '2026-07-07 16:07:33'::timestamp) - extract(epoch from '2026-07-07 16:07: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'), 47419, 'SRID=4674;POINT (-39.012661 -3.389821)', '2026-07-07 16:07:37', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012671 -3.389861)'), GeomFromEWKT('SRID=4674;POINT (-39.012661 -3.389821)'))) / (select extract(epoch from '2026-07-07 16:07:37'::timestamp) - extract(epoch from '2026-07-07 16:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012671 -3.389861)'), GeomFromEWKT('SRID=4674;POINT (-39.012661 -3.389821)'))) / (select extract(epoch from '2026-07-07 16:07:37'::timestamp) - extract(epoch from '2026-07-07 16:07: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'), 47419, 'SRID=4674;POINT (-39.01263 -3.389768)', '2026-07-07 16:07:43', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012661 -3.389821)'), GeomFromEWKT('SRID=4674;POINT (-39.01263 -3.389768)'))) / (select extract(epoch from '2026-07-07 16:07:43'::timestamp) - extract(epoch from '2026-07-07 16:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012661 -3.389821)'), GeomFromEWKT('SRID=4674;POINT (-39.01263 -3.389768)'))) / (select extract(epoch from '2026-07-07 16:07:43'::timestamp) - extract(epoch from '2026-07-07 16:07: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'), 47419, 'SRID=4674;POINT (-39.012586 -3.389682)', '2026-07-07 16:07:51', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01263 -3.389768)'), GeomFromEWKT('SRID=4674;POINT (-39.012586 -3.389682)'))) / (select extract(epoch from '2026-07-07 16:07:51'::timestamp) - extract(epoch from '2026-07-07 16:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01263 -3.389768)'), GeomFromEWKT('SRID=4674;POINT (-39.012586 -3.389682)'))) / (select extract(epoch from '2026-07-07 16:07:51'::timestamp) - extract(epoch from '2026-07-07 16:07: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'), 47419, 'SRID=4674;POINT (-39.012541 -3.389618)', '2026-07-07 16:07:58', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012586 -3.389682)'), GeomFromEWKT('SRID=4674;POINT (-39.012541 -3.389618)'))) / (select extract(epoch from '2026-07-07 16:07:58'::timestamp) - extract(epoch from '2026-07-07 16:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012586 -3.389682)'), GeomFromEWKT('SRID=4674;POINT (-39.012541 -3.389618)'))) / (select extract(epoch from '2026-07-07 16:07:58'::timestamp) - extract(epoch from '2026-07-07 16:07: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'), 47419, 'SRID=4674;POINT (-39.012498 -3.389559)', '2026-07-07 16:08:04', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012541 -3.389618)'), GeomFromEWKT('SRID=4674;POINT (-39.012498 -3.389559)'))) / (select extract(epoch from '2026-07-07 16:08:04'::timestamp) - extract(epoch from '2026-07-07 16:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012541 -3.389618)'), GeomFromEWKT('SRID=4674;POINT (-39.012498 -3.389559)'))) / (select extract(epoch from '2026-07-07 16:08:04'::timestamp) - extract(epoch from '2026-07-07 16:07: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'), 47419, 'SRID=4674;POINT (-39.012433 -3.389509)', '2026-07-07 16:08:12', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012498 -3.389559)'), GeomFromEWKT('SRID=4674;POINT (-39.012433 -3.389509)'))) / (select extract(epoch from '2026-07-07 16:08:12'::timestamp) - extract(epoch from '2026-07-07 16:08:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012498 -3.389559)'), GeomFromEWKT('SRID=4674;POINT (-39.012433 -3.389509)'))) / (select extract(epoch from '2026-07-07 16:08:12'::timestamp) - extract(epoch from '2026-07-07 16:08: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'), 47419, 'SRID=4674;POINT (-39.012372 -3.389478)', '2026-07-07 16:08:19', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012433 -3.389509)'), GeomFromEWKT('SRID=4674;POINT (-39.012372 -3.389478)'))) / (select extract(epoch from '2026-07-07 16:08:19'::timestamp) - extract(epoch from '2026-07-07 16:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012433 -3.389509)'), GeomFromEWKT('SRID=4674;POINT (-39.012372 -3.389478)'))) / (select extract(epoch from '2026-07-07 16:08:19'::timestamp) - extract(epoch from '2026-07-07 16:08: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'), 47419, 'SRID=4674;POINT (-39.012323 -3.389434)', '2026-07-07 16:08:26', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012372 -3.389478)'), GeomFromEWKT('SRID=4674;POINT (-39.012323 -3.389434)'))) / (select extract(epoch from '2026-07-07 16:08:26'::timestamp) - extract(epoch from '2026-07-07 16:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012372 -3.389478)'), GeomFromEWKT('SRID=4674;POINT (-39.012323 -3.389434)'))) / (select extract(epoch from '2026-07-07 16:08:26'::timestamp) - extract(epoch from '2026-07-07 16:08: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'), 47419, 'SRID=4674;POINT (-39.012304 -3.389412)', '2026-07-07 16:08:29', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012323 -3.389434)'), GeomFromEWKT('SRID=4674;POINT (-39.012304 -3.389412)'))) / (select extract(epoch from '2026-07-07 16:08:29'::timestamp) - extract(epoch from '2026-07-07 16:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012323 -3.389434)'), GeomFromEWKT('SRID=4674;POINT (-39.012304 -3.389412)'))) / (select extract(epoch from '2026-07-07 16:08:29'::timestamp) - extract(epoch from '2026-07-07 16:08: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'), 47419, 'SRID=4674;POINT (-39.012296 -3.389389)', '2026-07-07 16:08:32', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012304 -3.389412)'), GeomFromEWKT('SRID=4674;POINT (-39.012296 -3.389389)'))) / (select extract(epoch from '2026-07-07 16:08:32'::timestamp) - extract(epoch from '2026-07-07 16:08:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012304 -3.389412)'), GeomFromEWKT('SRID=4674;POINT (-39.012296 -3.389389)'))) / (select extract(epoch from '2026-07-07 16:08:32'::timestamp) - extract(epoch from '2026-07-07 16:08: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'), 47419, 'SRID=4674;POINT (-39.012248 -3.389331)', '2026-07-07 16:08:39', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012296 -3.389389)'), GeomFromEWKT('SRID=4674;POINT (-39.012248 -3.389331)'))) / (select extract(epoch from '2026-07-07 16:08:39'::timestamp) - extract(epoch from '2026-07-07 16:08:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012296 -3.389389)'), GeomFromEWKT('SRID=4674;POINT (-39.012248 -3.389331)'))) / (select extract(epoch from '2026-07-07 16:08:39'::timestamp) - extract(epoch from '2026-07-07 16:08: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'), 47419, 'SRID=4674;POINT (-39.01219 -3.389271)', '2026-07-07 16:08:47', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012248 -3.389331)'), GeomFromEWKT('SRID=4674;POINT (-39.01219 -3.389271)'))) / (select extract(epoch from '2026-07-07 16:08:47'::timestamp) - extract(epoch from '2026-07-07 16:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012248 -3.389331)'), GeomFromEWKT('SRID=4674;POINT (-39.01219 -3.389271)'))) / (select extract(epoch from '2026-07-07 16:08:47'::timestamp) - extract(epoch from '2026-07-07 16:08: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'), 47419, 'SRID=4674;POINT (-39.012159 -3.389232)', '2026-07-07 16:08:52', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01219 -3.389271)'), GeomFromEWKT('SRID=4674;POINT (-39.012159 -3.389232)'))) / (select extract(epoch from '2026-07-07 16:08:52'::timestamp) - extract(epoch from '2026-07-07 16:08:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01219 -3.389271)'), GeomFromEWKT('SRID=4674;POINT (-39.012159 -3.389232)'))) / (select extract(epoch from '2026-07-07 16:08:52'::timestamp) - extract(epoch from '2026-07-07 16:08: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'), 47419, 'SRID=4674;POINT (-39.012153 -3.389218)', '2026-07-07 16:08:54', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012159 -3.389232)'), GeomFromEWKT('SRID=4674;POINT (-39.012153 -3.389218)'))) / (select extract(epoch from '2026-07-07 16:08:54'::timestamp) - extract(epoch from '2026-07-07 16:08:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012159 -3.389232)'), GeomFromEWKT('SRID=4674;POINT (-39.012153 -3.389218)'))) / (select extract(epoch from '2026-07-07 16:08:54'::timestamp) - extract(epoch from '2026-07-07 16:08: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'), 47419, 'SRID=4674;POINT (-39.012132 -3.389179)', '2026-07-07 16:08:58', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012153 -3.389218)'), GeomFromEWKT('SRID=4674;POINT (-39.012132 -3.389179)'))) / (select extract(epoch from '2026-07-07 16:08:58'::timestamp) - extract(epoch from '2026-07-07 16:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012153 -3.389218)'), GeomFromEWKT('SRID=4674;POINT (-39.012132 -3.389179)'))) / (select extract(epoch from '2026-07-07 16:08:58'::timestamp) - extract(epoch from '2026-07-07 16:08: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'), 47419, 'SRID=4674;POINT (-39.0121 -3.389109)', '2026-07-07 16:09:05', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012132 -3.389179)'), GeomFromEWKT('SRID=4674;POINT (-39.0121 -3.389109)'))) / (select extract(epoch from '2026-07-07 16:09:05'::timestamp) - extract(epoch from '2026-07-07 16:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012132 -3.389179)'), GeomFromEWKT('SRID=4674;POINT (-39.0121 -3.389109)'))) / (select extract(epoch from '2026-07-07 16:09:05'::timestamp) - extract(epoch from '2026-07-07 16:08: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'), 47419, 'SRID=4674;POINT (-39.012073 -3.389061)', '2026-07-07 16:09:10', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0121 -3.389109)'), GeomFromEWKT('SRID=4674;POINT (-39.012073 -3.389061)'))) / (select extract(epoch from '2026-07-07 16:09:10'::timestamp) - extract(epoch from '2026-07-07 16:09:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0121 -3.389109)'), GeomFromEWKT('SRID=4674;POINT (-39.012073 -3.389061)'))) / (select extract(epoch from '2026-07-07 16:09:10'::timestamp) - extract(epoch from '2026-07-07 16:09: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'), 47419, 'SRID=4674;POINT (-39.01207 -3.389053)', '2026-07-07 16:09:11', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012073 -3.389061)'), GeomFromEWKT('SRID=4674;POINT (-39.01207 -3.389053)'))) / (select extract(epoch from '2026-07-07 16:09:11'::timestamp) - extract(epoch from '2026-07-07 16:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012073 -3.389061)'), GeomFromEWKT('SRID=4674;POINT (-39.01207 -3.389053)'))) / (select extract(epoch from '2026-07-07 16:09:11'::timestamp) - extract(epoch from '2026-07-07 16:09: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'), 47419, 'SRID=4674;POINT (-39.012035 -3.388977)', '2026-07-07 16:09:20', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01207 -3.389053)'), GeomFromEWKT('SRID=4674;POINT (-39.012035 -3.388977)'))) / (select extract(epoch from '2026-07-07 16:09:20'::timestamp) - extract(epoch from '2026-07-07 16:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01207 -3.389053)'), GeomFromEWKT('SRID=4674;POINT (-39.012035 -3.388977)'))) / (select extract(epoch from '2026-07-07 16:09:20'::timestamp) - extract(epoch from '2026-07-07 16:09: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'), 47419, 'SRID=4674;POINT (-39.011988 -3.388883)', '2026-07-07 16:09:29', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012035 -3.388977)'), GeomFromEWKT('SRID=4674;POINT (-39.011988 -3.388883)'))) / (select extract(epoch from '2026-07-07 16:09:29'::timestamp) - extract(epoch from '2026-07-07 16:09:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012035 -3.388977)'), GeomFromEWKT('SRID=4674;POINT (-39.011988 -3.388883)'))) / (select extract(epoch from '2026-07-07 16:09:29'::timestamp) - extract(epoch from '2026-07-07 16:09: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'), 47419, 'SRID=4674;POINT (-39.011985 -3.388872)', '2026-07-07 16:09:30', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011988 -3.388883)'), GeomFromEWKT('SRID=4674;POINT (-39.011985 -3.388872)'))) / (select extract(epoch from '2026-07-07 16:09:30'::timestamp) - extract(epoch from '2026-07-07 16:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011988 -3.388883)'), GeomFromEWKT('SRID=4674;POINT (-39.011985 -3.388872)'))) / (select extract(epoch from '2026-07-07 16:09:30'::timestamp) - extract(epoch from '2026-07-07 16:09: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'), 47419, 'SRID=4674;POINT (-39.011983 -3.388851)', '2026-07-07 16:09:32', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011985 -3.388872)'), GeomFromEWKT('SRID=4674;POINT (-39.011983 -3.388851)'))) / (select extract(epoch from '2026-07-07 16:09:32'::timestamp) - extract(epoch from '2026-07-07 16:09:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011985 -3.388872)'), GeomFromEWKT('SRID=4674;POINT (-39.011983 -3.388851)'))) / (select extract(epoch from '2026-07-07 16:09:32'::timestamp) - extract(epoch from '2026-07-07 16:09: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'), 47419, 'SRID=4674;POINT (-39.011971 -3.388834)', '2026-07-07 16:09:34', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011983 -3.388851)'), GeomFromEWKT('SRID=4674;POINT (-39.011971 -3.388834)'))) / (select extract(epoch from '2026-07-07 16:09:34'::timestamp) - extract(epoch from '2026-07-07 16:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011983 -3.388851)'), GeomFromEWKT('SRID=4674;POINT (-39.011971 -3.388834)'))) / (select extract(epoch from '2026-07-07 16:09:34'::timestamp) - extract(epoch from '2026-07-07 16:09: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'), 47419, 'SRID=4674;POINT (-39.011959 -3.388819)', '2026-07-07 16:09:36', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011971 -3.388834)'), GeomFromEWKT('SRID=4674;POINT (-39.011959 -3.388819)'))) / (select extract(epoch from '2026-07-07 16:09:36'::timestamp) - extract(epoch from '2026-07-07 16:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011971 -3.388834)'), GeomFromEWKT('SRID=4674;POINT (-39.011959 -3.388819)'))) / (select extract(epoch from '2026-07-07 16:09:36'::timestamp) - extract(epoch from '2026-07-07 16:09: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'), 47419, 'SRID=4674;POINT (-39.011938 -3.388788)', '2026-07-07 16:09:40', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011959 -3.388819)'), GeomFromEWKT('SRID=4674;POINT (-39.011938 -3.388788)'))) / (select extract(epoch from '2026-07-07 16:09:40'::timestamp) - extract(epoch from '2026-07-07 16:09:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011959 -3.388819)'), GeomFromEWKT('SRID=4674;POINT (-39.011938 -3.388788)'))) / (select extract(epoch from '2026-07-07 16:09:40'::timestamp) - extract(epoch from '2026-07-07 16:09: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'), 47419, 'SRID=4674;POINT (-39.011914 -3.388728)', '2026-07-07 16:09:47', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011938 -3.388788)'), GeomFromEWKT('SRID=4674;POINT (-39.011914 -3.388728)'))) / (select extract(epoch from '2026-07-07 16:09:47'::timestamp) - extract(epoch from '2026-07-07 16:09:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011938 -3.388788)'), GeomFromEWKT('SRID=4674;POINT (-39.011914 -3.388728)'))) / (select extract(epoch from '2026-07-07 16:09:47'::timestamp) - extract(epoch from '2026-07-07 16:09: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'), 47419, 'SRID=4674;POINT (-39.011912 -3.388719)', '2026-07-07 16:09:48', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011914 -3.388728)'), GeomFromEWKT('SRID=4674;POINT (-39.011912 -3.388719)'))) / (select extract(epoch from '2026-07-07 16:09:48'::timestamp) - extract(epoch from '2026-07-07 16:09:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011914 -3.388728)'), GeomFromEWKT('SRID=4674;POINT (-39.011912 -3.388719)'))) / (select extract(epoch from '2026-07-07 16:09:48'::timestamp) - extract(epoch from '2026-07-07 16:09: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'), 47419, 'SRID=4674;POINT (-39.011907 -3.388704)', '2026-07-07 16:09:50', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011912 -3.388719)'), GeomFromEWKT('SRID=4674;POINT (-39.011907 -3.388704)'))) / (select extract(epoch from '2026-07-07 16:09:50'::timestamp) - extract(epoch from '2026-07-07 16:09:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011912 -3.388719)'), GeomFromEWKT('SRID=4674;POINT (-39.011907 -3.388704)'))) / (select extract(epoch from '2026-07-07 16:09:50'::timestamp) - extract(epoch from '2026-07-07 16:09: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'), 47419, 'SRID=4674;POINT (-39.011882 -3.388676)', '2026-07-07 16:09:54', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011907 -3.388704)'), GeomFromEWKT('SRID=4674;POINT (-39.011882 -3.388676)'))) / (select extract(epoch from '2026-07-07 16:09:54'::timestamp) - extract(epoch from '2026-07-07 16:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011907 -3.388704)'), GeomFromEWKT('SRID=4674;POINT (-39.011882 -3.388676)'))) / (select extract(epoch from '2026-07-07 16:09:54'::timestamp) - extract(epoch from '2026-07-07 16:09: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'), 47419, 'SRID=4674;POINT (-39.011852 -3.388617)', '2026-07-07 16:10:00', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011882 -3.388676)'), GeomFromEWKT('SRID=4674;POINT (-39.011852 -3.388617)'))) / (select extract(epoch from '2026-07-07 16:10:00'::timestamp) - extract(epoch from '2026-07-07 16:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011882 -3.388676)'), GeomFromEWKT('SRID=4674;POINT (-39.011852 -3.388617)'))) / (select extract(epoch from '2026-07-07 16:10:00'::timestamp) - extract(epoch from '2026-07-07 16:09: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'), 47419, 'SRID=4674;POINT (-39.011822 -3.388574)', '2026-07-07 16:10:05', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011852 -3.388617)'), GeomFromEWKT('SRID=4674;POINT (-39.011822 -3.388574)'))) / (select extract(epoch from '2026-07-07 16:10:05'::timestamp) - extract(epoch from '2026-07-07 16:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011852 -3.388617)'), GeomFromEWKT('SRID=4674;POINT (-39.011822 -3.388574)'))) / (select extract(epoch from '2026-07-07 16:10:05'::timestamp) - extract(epoch from '2026-07-07 16:10: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'), 47419, 'SRID=4674;POINT (-39.011794 -3.388519)', '2026-07-07 16:10:11', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011822 -3.388574)'), GeomFromEWKT('SRID=4674;POINT (-39.011794 -3.388519)'))) / (select extract(epoch from '2026-07-07 16:10:11'::timestamp) - extract(epoch from '2026-07-07 16:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011822 -3.388574)'), GeomFromEWKT('SRID=4674;POINT (-39.011794 -3.388519)'))) / (select extract(epoch from '2026-07-07 16:10:11'::timestamp) - extract(epoch from '2026-07-07 16:10: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'), 47419, 'SRID=4674;POINT (-39.011787 -3.3885)', '2026-07-07 16:10:13', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011794 -3.388519)'), GeomFromEWKT('SRID=4674;POINT (-39.011787 -3.3885)'))) / (select extract(epoch from '2026-07-07 16:10:13'::timestamp) - extract(epoch from '2026-07-07 16:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011794 -3.388519)'), GeomFromEWKT('SRID=4674;POINT (-39.011787 -3.3885)'))) / (select extract(epoch from '2026-07-07 16:10:13'::timestamp) - extract(epoch from '2026-07-07 16:10: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'), 47419, 'SRID=4674;POINT (-39.011764 -3.388444)', '2026-07-07 16:10:19', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011787 -3.3885)'), GeomFromEWKT('SRID=4674;POINT (-39.011764 -3.388444)'))) / (select extract(epoch from '2026-07-07 16:10:19'::timestamp) - extract(epoch from '2026-07-07 16:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011787 -3.3885)'), GeomFromEWKT('SRID=4674;POINT (-39.011764 -3.388444)'))) / (select extract(epoch from '2026-07-07 16:10:19'::timestamp) - extract(epoch from '2026-07-07 16:10: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'), 47419, 'SRID=4674;POINT (-39.011758 -3.388433)', '2026-07-07 16:10:20', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011764 -3.388444)'), GeomFromEWKT('SRID=4674;POINT (-39.011758 -3.388433)'))) / (select extract(epoch from '2026-07-07 16:10:20'::timestamp) - extract(epoch from '2026-07-07 16:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011764 -3.388444)'), GeomFromEWKT('SRID=4674;POINT (-39.011758 -3.388433)'))) / (select extract(epoch from '2026-07-07 16:10:20'::timestamp) - extract(epoch from '2026-07-07 16:10: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'), 47419, 'SRID=4674;POINT (-39.01174 -3.388394)', '2026-07-07 16:10:24', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011758 -3.388433)'), GeomFromEWKT('SRID=4674;POINT (-39.01174 -3.388394)'))) / (select extract(epoch from '2026-07-07 16:10:24'::timestamp) - extract(epoch from '2026-07-07 16:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011758 -3.388433)'), GeomFromEWKT('SRID=4674;POINT (-39.01174 -3.388394)'))) / (select extract(epoch from '2026-07-07 16:10:24'::timestamp) - extract(epoch from '2026-07-07 16:10: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'), 47419, 'SRID=4674;POINT (-39.011697 -3.388308)', '2026-07-07 16:10:32', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01174 -3.388394)'), GeomFromEWKT('SRID=4674;POINT (-39.011697 -3.388308)'))) / (select extract(epoch from '2026-07-07 16:10:32'::timestamp) - extract(epoch from '2026-07-07 16:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01174 -3.388394)'), GeomFromEWKT('SRID=4674;POINT (-39.011697 -3.388308)'))) / (select extract(epoch from '2026-07-07 16:10:32'::timestamp) - extract(epoch from '2026-07-07 16:10: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'), 47419, 'SRID=4674;POINT (-39.011695 -3.388299)', '2026-07-07 16:10:33', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011697 -3.388308)'), GeomFromEWKT('SRID=4674;POINT (-39.011695 -3.388299)'))) / (select extract(epoch from '2026-07-07 16:10:33'::timestamp) - extract(epoch from '2026-07-07 16:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011697 -3.388308)'), GeomFromEWKT('SRID=4674;POINT (-39.011695 -3.388299)'))) / (select extract(epoch from '2026-07-07 16:10:33'::timestamp) - extract(epoch from '2026-07-07 16:10: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'), 47419, 'SRID=4674;POINT (-39.01169 -3.388268)', '2026-07-07 16:10:36', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011695 -3.388299)'), GeomFromEWKT('SRID=4674;POINT (-39.01169 -3.388268)'))) / (select extract(epoch from '2026-07-07 16:10:36'::timestamp) - extract(epoch from '2026-07-07 16:10:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011695 -3.388299)'), GeomFromEWKT('SRID=4674;POINT (-39.01169 -3.388268)'))) / (select extract(epoch from '2026-07-07 16:10:36'::timestamp) - extract(epoch from '2026-07-07 16:10: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'), 47419, 'SRID=4674;POINT (-39.01168 -3.388246)', '2026-07-07 16:10:38', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01169 -3.388268)'), GeomFromEWKT('SRID=4674;POINT (-39.01168 -3.388246)'))) / (select extract(epoch from '2026-07-07 16:10:38'::timestamp) - extract(epoch from '2026-07-07 16:10:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01169 -3.388268)'), GeomFromEWKT('SRID=4674;POINT (-39.01168 -3.388246)'))) / (select extract(epoch from '2026-07-07 16:10:38'::timestamp) - extract(epoch from '2026-07-07 16:10: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'), 47419, 'SRID=4674;POINT (-39.011667 -3.388214)', '2026-07-07 16:10:41', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01168 -3.388246)'), GeomFromEWKT('SRID=4674;POINT (-39.011667 -3.388214)'))) / (select extract(epoch from '2026-07-07 16:10:41'::timestamp) - extract(epoch from '2026-07-07 16:10:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01168 -3.388246)'), GeomFromEWKT('SRID=4674;POINT (-39.011667 -3.388214)'))) / (select extract(epoch from '2026-07-07 16:10:41'::timestamp) - extract(epoch from '2026-07-07 16:10: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'), 47419, 'SRID=4674;POINT (-39.011642 -3.388126)', '2026-07-07 16:10:48', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011667 -3.388214)'), GeomFromEWKT('SRID=4674;POINT (-39.011642 -3.388126)'))) / (select extract(epoch from '2026-07-07 16:10:48'::timestamp) - extract(epoch from '2026-07-07 16:10:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011667 -3.388214)'), GeomFromEWKT('SRID=4674;POINT (-39.011642 -3.388126)'))) / (select extract(epoch from '2026-07-07 16:10:48'::timestamp) - extract(epoch from '2026-07-07 16:10: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'), 47419, 'SRID=4674;POINT (-39.011603 -3.388041)', '2026-07-07 16:10:55', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011642 -3.388126)'), GeomFromEWKT('SRID=4674;POINT (-39.011603 -3.388041)'))) / (select extract(epoch from '2026-07-07 16:10:55'::timestamp) - extract(epoch from '2026-07-07 16:10:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011642 -3.388126)'), GeomFromEWKT('SRID=4674;POINT (-39.011603 -3.388041)'))) / (select extract(epoch from '2026-07-07 16:10:55'::timestamp) - extract(epoch from '2026-07-07 16:10: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'), 47419, 'SRID=4674;POINT (-39.011597 -3.388032)', '2026-07-07 16:10:56', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011603 -3.388041)'), GeomFromEWKT('SRID=4674;POINT (-39.011597 -3.388032)'))) / (select extract(epoch from '2026-07-07 16:10:56'::timestamp) - extract(epoch from '2026-07-07 16:10:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011603 -3.388041)'), GeomFromEWKT('SRID=4674;POINT (-39.011597 -3.388032)'))) / (select extract(epoch from '2026-07-07 16:10:56'::timestamp) - extract(epoch from '2026-07-07 16:10: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'), 47419, 'SRID=4674;POINT (-39.011593 -3.388003)', '2026-07-07 16:10:59', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011597 -3.388032)'), GeomFromEWKT('SRID=4674;POINT (-39.011593 -3.388003)'))) / (select extract(epoch from '2026-07-07 16:10:59'::timestamp) - extract(epoch from '2026-07-07 16:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011597 -3.388032)'), GeomFromEWKT('SRID=4674;POINT (-39.011593 -3.388003)'))) / (select extract(epoch from '2026-07-07 16:10:59'::timestamp) - extract(epoch from '2026-07-07 16:10: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'), 47419, 'SRID=4674;POINT (-39.011586 -3.387992)', '2026-07-07 16:11:00', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011593 -3.388003)'), GeomFromEWKT('SRID=4674;POINT (-39.011586 -3.387992)'))) / (select extract(epoch from '2026-07-07 16:11:00'::timestamp) - extract(epoch from '2026-07-07 16:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011593 -3.388003)'), GeomFromEWKT('SRID=4674;POINT (-39.011586 -3.387992)'))) / (select extract(epoch from '2026-07-07 16:11:00'::timestamp) - extract(epoch from '2026-07-07 16:10: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'), 47419, 'SRID=4674;POINT (-39.01157 -3.387959)', '2026-07-07 16:11:03', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011586 -3.387992)'), GeomFromEWKT('SRID=4674;POINT (-39.01157 -3.387959)'))) / (select extract(epoch from '2026-07-07 16:11:03'::timestamp) - extract(epoch from '2026-07-07 16:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011586 -3.387992)'), GeomFromEWKT('SRID=4674;POINT (-39.01157 -3.387959)'))) / (select extract(epoch from '2026-07-07 16:11:03'::timestamp) - extract(epoch from '2026-07-07 16:11: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'), 47419, 'SRID=4674;POINT (-39.011567 -3.387936)', '2026-07-07 16:11:05', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01157 -3.387959)'), GeomFromEWKT('SRID=4674;POINT (-39.011567 -3.387936)'))) / (select extract(epoch from '2026-07-07 16:11:05'::timestamp) - extract(epoch from '2026-07-07 16:11:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01157 -3.387959)'), GeomFromEWKT('SRID=4674;POINT (-39.011567 -3.387936)'))) / (select extract(epoch from '2026-07-07 16:11:05'::timestamp) - extract(epoch from '2026-07-07 16:11: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'), 47419, 'SRID=4674;POINT (-39.01156 -3.387924)', '2026-07-07 16:11:06', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011567 -3.387936)'), GeomFromEWKT('SRID=4674;POINT (-39.01156 -3.387924)'))) / (select extract(epoch from '2026-07-07 16:11:06'::timestamp) - extract(epoch from '2026-07-07 16:11:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011567 -3.387936)'), GeomFromEWKT('SRID=4674;POINT (-39.01156 -3.387924)'))) / (select extract(epoch from '2026-07-07 16:11:06'::timestamp) - extract(epoch from '2026-07-07 16:11: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'), 47419, 'SRID=4674;POINT (-39.011537 -3.387886)', '2026-07-07 16:11:10', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01156 -3.387924)'), GeomFromEWKT('SRID=4674;POINT (-39.011537 -3.387886)'))) / (select extract(epoch from '2026-07-07 16:11:10'::timestamp) - extract(epoch from '2026-07-07 16:11:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01156 -3.387924)'), GeomFromEWKT('SRID=4674;POINT (-39.011537 -3.387886)'))) / (select extract(epoch from '2026-07-07 16:11:10'::timestamp) - extract(epoch from '2026-07-07 16:11: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'), 47419, 'SRID=4674;POINT (-39.01153 -3.387882)', '2026-07-07 16:11:11', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011537 -3.387886)'), GeomFromEWKT('SRID=4674;POINT (-39.01153 -3.387882)'))) / (select extract(epoch from '2026-07-07 16:11:11'::timestamp) - extract(epoch from '2026-07-07 16:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011537 -3.387886)'), GeomFromEWKT('SRID=4674;POINT (-39.01153 -3.387882)'))) / (select extract(epoch from '2026-07-07 16:11:11'::timestamp) - extract(epoch from '2026-07-07 16:11: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'), 47419, 'SRID=4674;POINT (-39.011491 -3.387828)', '2026-07-07 16:11:18', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01153 -3.387882)'), GeomFromEWKT('SRID=4674;POINT (-39.011491 -3.387828)'))) / (select extract(epoch from '2026-07-07 16:11:18'::timestamp) - extract(epoch from '2026-07-07 16:11:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01153 -3.387882)'), GeomFromEWKT('SRID=4674;POINT (-39.011491 -3.387828)'))) / (select extract(epoch from '2026-07-07 16:11:18'::timestamp) - extract(epoch from '2026-07-07 16:11: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'), 47419, 'SRID=4674;POINT (-39.011475 -3.387803)', '2026-07-07 16:11:21', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011491 -3.387828)'), GeomFromEWKT('SRID=4674;POINT (-39.011475 -3.387803)'))) / (select extract(epoch from '2026-07-07 16:11:21'::timestamp) - extract(epoch from '2026-07-07 16:11:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011491 -3.387828)'), GeomFromEWKT('SRID=4674;POINT (-39.011475 -3.387803)'))) / (select extract(epoch from '2026-07-07 16:11:21'::timestamp) - extract(epoch from '2026-07-07 16:11: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'), 47419, 'SRID=4674;POINT (-39.011463 -3.387787)', '2026-07-07 16:11:23', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011475 -3.387803)'), GeomFromEWKT('SRID=4674;POINT (-39.011463 -3.387787)'))) / (select extract(epoch from '2026-07-07 16:11:23'::timestamp) - extract(epoch from '2026-07-07 16:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011475 -3.387803)'), GeomFromEWKT('SRID=4674;POINT (-39.011463 -3.387787)'))) / (select extract(epoch from '2026-07-07 16:11:23'::timestamp) - extract(epoch from '2026-07-07 16:11: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'), 47419, 'SRID=4674;POINT (-39.01146 -3.38778)', '2026-07-07 16:11:24', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011463 -3.387787)'), GeomFromEWKT('SRID=4674;POINT (-39.01146 -3.38778)'))) / (select extract(epoch from '2026-07-07 16:11:24'::timestamp) - extract(epoch from '2026-07-07 16:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011463 -3.387787)'), GeomFromEWKT('SRID=4674;POINT (-39.01146 -3.38778)'))) / (select extract(epoch from '2026-07-07 16:11:24'::timestamp) - extract(epoch from '2026-07-07 16:11: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'), 47419, 'SRID=4674;POINT (-39.011437 -3.387743)', '2026-07-07 16:11:29', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01146 -3.38778)'), GeomFromEWKT('SRID=4674;POINT (-39.011437 -3.387743)'))) / (select extract(epoch from '2026-07-07 16:11:29'::timestamp) - extract(epoch from '2026-07-07 16:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01146 -3.38778)'), GeomFromEWKT('SRID=4674;POINT (-39.011437 -3.387743)'))) / (select extract(epoch from '2026-07-07 16:11:29'::timestamp) - extract(epoch from '2026-07-07 16:11: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'), 47419, 'SRID=4674;POINT (-39.011404 -3.387664)', '2026-07-07 16:11:38', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011437 -3.387743)'), GeomFromEWKT('SRID=4674;POINT (-39.011404 -3.387664)'))) / (select extract(epoch from '2026-07-07 16:11:38'::timestamp) - extract(epoch from '2026-07-07 16:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011437 -3.387743)'), GeomFromEWKT('SRID=4674;POINT (-39.011404 -3.387664)'))) / (select extract(epoch from '2026-07-07 16:11:38'::timestamp) - extract(epoch from '2026-07-07 16:11: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'), 47419, 'SRID=4674;POINT (-39.0114 -3.387655)', '2026-07-07 16:11:39', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011404 -3.387664)'), GeomFromEWKT('SRID=4674;POINT (-39.0114 -3.387655)'))) / (select extract(epoch from '2026-07-07 16:11:39'::timestamp) - extract(epoch from '2026-07-07 16:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011404 -3.387664)'), GeomFromEWKT('SRID=4674;POINT (-39.0114 -3.387655)'))) / (select extract(epoch from '2026-07-07 16:11:39'::timestamp) - extract(epoch from '2026-07-07 16:11: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'), 47419, 'SRID=4674;POINT (-39.011377 -3.387608)', '2026-07-07 16:11:44', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0114 -3.387655)'), GeomFromEWKT('SRID=4674;POINT (-39.011377 -3.387608)'))) / (select extract(epoch from '2026-07-07 16:11:44'::timestamp) - extract(epoch from '2026-07-07 16:11:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0114 -3.387655)'), GeomFromEWKT('SRID=4674;POINT (-39.011377 -3.387608)'))) / (select extract(epoch from '2026-07-07 16:11:44'::timestamp) - extract(epoch from '2026-07-07 16:11: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'), 47419, 'SRID=4674;POINT (-39.011354 -3.387551)', '2026-07-07 16:11:50', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011377 -3.387608)'), GeomFromEWKT('SRID=4674;POINT (-39.011354 -3.387551)'))) / (select extract(epoch from '2026-07-07 16:11:50'::timestamp) - extract(epoch from '2026-07-07 16:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011377 -3.387608)'), GeomFromEWKT('SRID=4674;POINT (-39.011354 -3.387551)'))) / (select extract(epoch from '2026-07-07 16:11:50'::timestamp) - extract(epoch from '2026-07-07 16:11: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'), 47419, 'SRID=4674;POINT (-39.01132 -3.387467)', '2026-07-07 16:11:58', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011354 -3.387551)'), GeomFromEWKT('SRID=4674;POINT (-39.01132 -3.387467)'))) / (select extract(epoch from '2026-07-07 16:11:58'::timestamp) - extract(epoch from '2026-07-07 16:11:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011354 -3.387551)'), GeomFromEWKT('SRID=4674;POINT (-39.01132 -3.387467)'))) / (select extract(epoch from '2026-07-07 16:11:58'::timestamp) - extract(epoch from '2026-07-07 16:11: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'), 47419, 'SRID=4674;POINT (-39.01129 -3.387414)', '2026-07-07 16:12:03', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01132 -3.387467)'), GeomFromEWKT('SRID=4674;POINT (-39.01129 -3.387414)'))) / (select extract(epoch from '2026-07-07 16:12:03'::timestamp) - extract(epoch from '2026-07-07 16:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01132 -3.387467)'), GeomFromEWKT('SRID=4674;POINT (-39.01129 -3.387414)'))) / (select extract(epoch from '2026-07-07 16:12:03'::timestamp) - extract(epoch from '2026-07-07 16:11: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'), 47419, 'SRID=4674;POINT (-39.011279 -3.387392)', '2026-07-07 16:12:05', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01129 -3.387414)'), GeomFromEWKT('SRID=4674;POINT (-39.011279 -3.387392)'))) / (select extract(epoch from '2026-07-07 16:12:05'::timestamp) - extract(epoch from '2026-07-07 16:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01129 -3.387414)'), GeomFromEWKT('SRID=4674;POINT (-39.011279 -3.387392)'))) / (select extract(epoch from '2026-07-07 16:12:05'::timestamp) - extract(epoch from '2026-07-07 16:12: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'), 47419, 'SRID=4674;POINT (-39.011277 -3.387382)', '2026-07-07 16:12:06', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011279 -3.387392)'), GeomFromEWKT('SRID=4674;POINT (-39.011277 -3.387382)'))) / (select extract(epoch from '2026-07-07 16:12:06'::timestamp) - extract(epoch from '2026-07-07 16:12:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011279 -3.387392)'), GeomFromEWKT('SRID=4674;POINT (-39.011277 -3.387382)'))) / (select extract(epoch from '2026-07-07 16:12:06'::timestamp) - extract(epoch from '2026-07-07 16:12: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'), 47419, 'SRID=4674;POINT (-39.011273 -3.38736)', '2026-07-07 16:12:08', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011277 -3.387382)'), GeomFromEWKT('SRID=4674;POINT (-39.011273 -3.38736)'))) / (select extract(epoch from '2026-07-07 16:12:08'::timestamp) - extract(epoch from '2026-07-07 16:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011277 -3.387382)'), GeomFromEWKT('SRID=4674;POINT (-39.011273 -3.38736)'))) / (select extract(epoch from '2026-07-07 16:12:08'::timestamp) - extract(epoch from '2026-07-07 16:12: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'), 47419, 'SRID=4674;POINT (-39.011265 -3.387337)', '2026-07-07 16:12:10', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011273 -3.38736)'), GeomFromEWKT('SRID=4674;POINT (-39.011265 -3.387337)'))) / (select extract(epoch from '2026-07-07 16:12:10'::timestamp) - extract(epoch from '2026-07-07 16:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011273 -3.38736)'), GeomFromEWKT('SRID=4674;POINT (-39.011265 -3.387337)'))) / (select extract(epoch from '2026-07-07 16:12:10'::timestamp) - extract(epoch from '2026-07-07 16:12: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'), 47419, 'SRID=4674;POINT (-39.011255 -3.387301)', '2026-07-07 16:12:13', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011265 -3.387337)'), GeomFromEWKT('SRID=4674;POINT (-39.011255 -3.387301)'))) / (select extract(epoch from '2026-07-07 16:12:13'::timestamp) - extract(epoch from '2026-07-07 16:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011265 -3.387337)'), GeomFromEWKT('SRID=4674;POINT (-39.011255 -3.387301)'))) / (select extract(epoch from '2026-07-07 16:12:13'::timestamp) - extract(epoch from '2026-07-07 16:12: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'), 47419, 'SRID=4674;POINT (-39.01125 -3.387281)', '2026-07-07 16:12:15', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011255 -3.387301)'), GeomFromEWKT('SRID=4674;POINT (-39.01125 -3.387281)'))) / (select extract(epoch from '2026-07-07 16:12:15'::timestamp) - extract(epoch from '2026-07-07 16:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011255 -3.387301)'), GeomFromEWKT('SRID=4674;POINT (-39.01125 -3.387281)'))) / (select extract(epoch from '2026-07-07 16:12:15'::timestamp) - extract(epoch from '2026-07-07 16:12: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'), 47419, 'SRID=4674;POINT (-39.01122 -3.387205)', '2026-07-07 16:12:22', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01125 -3.387281)'), GeomFromEWKT('SRID=4674;POINT (-39.01122 -3.387205)'))) / (select extract(epoch from '2026-07-07 16:12:22'::timestamp) - extract(epoch from '2026-07-07 16:12:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01125 -3.387281)'), GeomFromEWKT('SRID=4674;POINT (-39.01122 -3.387205)'))) / (select extract(epoch from '2026-07-07 16:12:22'::timestamp) - extract(epoch from '2026-07-07 16:12: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'), 47419, 'SRID=4674;POINT (-39.011179 -3.387131)', '2026-07-07 16:12:29', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01122 -3.387205)'), GeomFromEWKT('SRID=4674;POINT (-39.011179 -3.387131)'))) / (select extract(epoch from '2026-07-07 16:12:29'::timestamp) - extract(epoch from '2026-07-07 16:12:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01122 -3.387205)'), GeomFromEWKT('SRID=4674;POINT (-39.011179 -3.387131)'))) / (select extract(epoch from '2026-07-07 16:12:29'::timestamp) - extract(epoch from '2026-07-07 16:12: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'), 47419, 'SRID=4674;POINT (-39.011142 -3.387054)', '2026-07-07 16:12:36', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011179 -3.387131)'), GeomFromEWKT('SRID=4674;POINT (-39.011142 -3.387054)'))) / (select extract(epoch from '2026-07-07 16:12:36'::timestamp) - extract(epoch from '2026-07-07 16:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011179 -3.387131)'), GeomFromEWKT('SRID=4674;POINT (-39.011142 -3.387054)'))) / (select extract(epoch from '2026-07-07 16:12:36'::timestamp) - extract(epoch from '2026-07-07 16:12: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'), 47419, 'SRID=4674;POINT (-39.011106 -3.386963)', '2026-07-07 16:12:44', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011142 -3.387054)'), GeomFromEWKT('SRID=4674;POINT (-39.011106 -3.386963)'))) / (select extract(epoch from '2026-07-07 16:12:44'::timestamp) - extract(epoch from '2026-07-07 16:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011142 -3.387054)'), GeomFromEWKT('SRID=4674;POINT (-39.011106 -3.386963)'))) / (select extract(epoch from '2026-07-07 16:12:44'::timestamp) - extract(epoch from '2026-07-07 16:12: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'), 47419, 'SRID=4674;POINT (-39.011062 -3.386871)', '2026-07-07 16:12:53', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011106 -3.386963)'), GeomFromEWKT('SRID=4674;POINT (-39.011062 -3.386871)'))) / (select extract(epoch from '2026-07-07 16:12:53'::timestamp) - extract(epoch from '2026-07-07 16:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011106 -3.386963)'), GeomFromEWKT('SRID=4674;POINT (-39.011062 -3.386871)'))) / (select extract(epoch from '2026-07-07 16:12:53'::timestamp) - extract(epoch from '2026-07-07 16:12: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'), 47419, 'SRID=4674;POINT (-39.011046 -3.386821)', '2026-07-07 16:12:58', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011062 -3.386871)'), GeomFromEWKT('SRID=4674;POINT (-39.011046 -3.386821)'))) / (select extract(epoch from '2026-07-07 16:12:58'::timestamp) - extract(epoch from '2026-07-07 16:12:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011062 -3.386871)'), GeomFromEWKT('SRID=4674;POINT (-39.011046 -3.386821)'))) / (select extract(epoch from '2026-07-07 16:12:58'::timestamp) - extract(epoch from '2026-07-07 16:12: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'), 47419, 'SRID=4674;POINT (-39.011034 -3.386804)', '2026-07-07 16:13:00', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011046 -3.386821)'), GeomFromEWKT('SRID=4674;POINT (-39.011034 -3.386804)'))) / (select extract(epoch from '2026-07-07 16:13:00'::timestamp) - extract(epoch from '2026-07-07 16:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011046 -3.386821)'), GeomFromEWKT('SRID=4674;POINT (-39.011034 -3.386804)'))) / (select extract(epoch from '2026-07-07 16:13:00'::timestamp) - extract(epoch from '2026-07-07 16:12: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'), 47419, 'SRID=4674;POINT (-39.011001 -3.386728)', '2026-07-07 16:13:07', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011034 -3.386804)'), GeomFromEWKT('SRID=4674;POINT (-39.011001 -3.386728)'))) / (select extract(epoch from '2026-07-07 16:13:07'::timestamp) - extract(epoch from '2026-07-07 16:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011034 -3.386804)'), GeomFromEWKT('SRID=4674;POINT (-39.011001 -3.386728)'))) / (select extract(epoch from '2026-07-07 16:13:07'::timestamp) - extract(epoch from '2026-07-07 16:13: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'), 47419, 'SRID=4674;POINT (-39.010973 -3.386661)', '2026-07-07 16:13:13', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011001 -3.386728)'), GeomFromEWKT('SRID=4674;POINT (-39.010973 -3.386661)'))) / (select extract(epoch from '2026-07-07 16:13:13'::timestamp) - extract(epoch from '2026-07-07 16:13:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011001 -3.386728)'), GeomFromEWKT('SRID=4674;POINT (-39.010973 -3.386661)'))) / (select extract(epoch from '2026-07-07 16:13:13'::timestamp) - extract(epoch from '2026-07-07 16:13: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'), 47419, 'SRID=4674;POINT (-39.010943 -3.386608)', '2026-07-07 16:13:19', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010973 -3.386661)'), GeomFromEWKT('SRID=4674;POINT (-39.010943 -3.386608)'))) / (select extract(epoch from '2026-07-07 16:13:19'::timestamp) - extract(epoch from '2026-07-07 16:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010973 -3.386661)'), GeomFromEWKT('SRID=4674;POINT (-39.010943 -3.386608)'))) / (select extract(epoch from '2026-07-07 16:13:19'::timestamp) - extract(epoch from '2026-07-07 16:13: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'), 47419, 'SRID=4674;POINT (-39.01092 -3.386545)', '2026-07-07 16:13:25', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010943 -3.386608)'), GeomFromEWKT('SRID=4674;POINT (-39.01092 -3.386545)'))) / (select extract(epoch from '2026-07-07 16:13:25'::timestamp) - extract(epoch from '2026-07-07 16:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010943 -3.386608)'), GeomFromEWKT('SRID=4674;POINT (-39.01092 -3.386545)'))) / (select extract(epoch from '2026-07-07 16:13:25'::timestamp) - extract(epoch from '2026-07-07 16:13: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'), 47419, 'SRID=4674;POINT (-39.010897 -3.3865)', '2026-07-07 16:13:31', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01092 -3.386545)'), GeomFromEWKT('SRID=4674;POINT (-39.010897 -3.3865)'))) / (select extract(epoch from '2026-07-07 16:13:31'::timestamp) - extract(epoch from '2026-07-07 16:13:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01092 -3.386545)'), GeomFromEWKT('SRID=4674;POINT (-39.010897 -3.3865)'))) / (select extract(epoch from '2026-07-07 16:13:31'::timestamp) - extract(epoch from '2026-07-07 16:13: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'), 47419, 'SRID=4674;POINT (-39.010858 -3.386425)', '2026-07-07 16:13:39', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010897 -3.3865)'), GeomFromEWKT('SRID=4674;POINT (-39.010858 -3.386425)'))) / (select extract(epoch from '2026-07-07 16:13:39'::timestamp) - extract(epoch from '2026-07-07 16:13:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010897 -3.3865)'), GeomFromEWKT('SRID=4674;POINT (-39.010858 -3.386425)'))) / (select extract(epoch from '2026-07-07 16:13:39'::timestamp) - extract(epoch from '2026-07-07 16:13: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'), 47419, 'SRID=4674;POINT (-39.010832 -3.386345)', '2026-07-07 16:13:47', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010858 -3.386425)'), GeomFromEWKT('SRID=4674;POINT (-39.010832 -3.386345)'))) / (select extract(epoch from '2026-07-07 16:13:47'::timestamp) - extract(epoch from '2026-07-07 16:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010858 -3.386425)'), GeomFromEWKT('SRID=4674;POINT (-39.010832 -3.386345)'))) / (select extract(epoch from '2026-07-07 16:13:47'::timestamp) - extract(epoch from '2026-07-07 16:13: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'), 47419, 'SRID=4674;POINT (-39.010818 -3.386324)', '2026-07-07 16:13:49', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010832 -3.386345)'), GeomFromEWKT('SRID=4674;POINT (-39.010818 -3.386324)'))) / (select extract(epoch from '2026-07-07 16:13:49'::timestamp) - extract(epoch from '2026-07-07 16:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010832 -3.386345)'), GeomFromEWKT('SRID=4674;POINT (-39.010818 -3.386324)'))) / (select extract(epoch from '2026-07-07 16:13:49'::timestamp) - extract(epoch from '2026-07-07 16:13: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'), 47419, 'SRID=4674;POINT (-39.010807 -3.386292)', '2026-07-07 16:13:52', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010818 -3.386324)'), GeomFromEWKT('SRID=4674;POINT (-39.010807 -3.386292)'))) / (select extract(epoch from '2026-07-07 16:13:52'::timestamp) - extract(epoch from '2026-07-07 16:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010818 -3.386324)'), GeomFromEWKT('SRID=4674;POINT (-39.010807 -3.386292)'))) / (select extract(epoch from '2026-07-07 16:13:52'::timestamp) - extract(epoch from '2026-07-07 16:13: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'), 47419, 'SRID=4674;POINT (-39.010802 -3.386283)', '2026-07-07 16:13:53', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010807 -3.386292)'), GeomFromEWKT('SRID=4674;POINT (-39.010802 -3.386283)'))) / (select extract(epoch from '2026-07-07 16:13:53'::timestamp) - extract(epoch from '2026-07-07 16:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010807 -3.386292)'), GeomFromEWKT('SRID=4674;POINT (-39.010802 -3.386283)'))) / (select extract(epoch from '2026-07-07 16:13:53'::timestamp) - extract(epoch from '2026-07-07 16:13: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'), 47419, 'SRID=4674;POINT (-39.010795 -3.386266)', '2026-07-07 16:13:55', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010802 -3.386283)'), GeomFromEWKT('SRID=4674;POINT (-39.010795 -3.386266)'))) / (select extract(epoch from '2026-07-07 16:13:55'::timestamp) - extract(epoch from '2026-07-07 16:13:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010802 -3.386283)'), GeomFromEWKT('SRID=4674;POINT (-39.010795 -3.386266)'))) / (select extract(epoch from '2026-07-07 16:13:55'::timestamp) - extract(epoch from '2026-07-07 16:13: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'), 47419, 'SRID=4674;POINT (-39.01079 -3.38625)', '2026-07-07 16:13:57', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010795 -3.386266)'), GeomFromEWKT('SRID=4674;POINT (-39.01079 -3.38625)'))) / (select extract(epoch from '2026-07-07 16:13:57'::timestamp) - extract(epoch from '2026-07-07 16:13:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010795 -3.386266)'), GeomFromEWKT('SRID=4674;POINT (-39.01079 -3.38625)'))) / (select extract(epoch from '2026-07-07 16:13:57'::timestamp) - extract(epoch from '2026-07-07 16:13: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'), 47419, 'SRID=4674;POINT (-39.010779 -3.38621)', '2026-07-07 16:14:02', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01079 -3.38625)'), GeomFromEWKT('SRID=4674;POINT (-39.010779 -3.38621)'))) / (select extract(epoch from '2026-07-07 16:14:02'::timestamp) - extract(epoch from '2026-07-07 16:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01079 -3.38625)'), GeomFromEWKT('SRID=4674;POINT (-39.010779 -3.38621)'))) / (select extract(epoch from '2026-07-07 16:14:02'::timestamp) - extract(epoch from '2026-07-07 16:13: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'), 47419, 'SRID=4674;POINT (-39.010747 -3.386125)', '2026-07-07 16:14:11', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010779 -3.38621)'), GeomFromEWKT('SRID=4674;POINT (-39.010747 -3.386125)'))) / (select extract(epoch from '2026-07-07 16:14:11'::timestamp) - extract(epoch from '2026-07-07 16:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010779 -3.38621)'), GeomFromEWKT('SRID=4674;POINT (-39.010747 -3.386125)'))) / (select extract(epoch from '2026-07-07 16:14:11'::timestamp) - extract(epoch from '2026-07-07 16:14: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'), 47419, 'SRID=4674;POINT (-39.010705 -3.386055)', '2026-07-07 16:14:20', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010747 -3.386125)'), GeomFromEWKT('SRID=4674;POINT (-39.010705 -3.386055)'))) / (select extract(epoch from '2026-07-07 16:14:20'::timestamp) - extract(epoch from '2026-07-07 16:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010747 -3.386125)'), GeomFromEWKT('SRID=4674;POINT (-39.010705 -3.386055)'))) / (select extract(epoch from '2026-07-07 16:14:20'::timestamp) - extract(epoch from '2026-07-07 16:14: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'), 47419, 'SRID=4674;POINT (-39.010696 -3.386041)', '2026-07-07 16:14:22', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010705 -3.386055)'), GeomFromEWKT('SRID=4674;POINT (-39.010696 -3.386041)'))) / (select extract(epoch from '2026-07-07 16:14:22'::timestamp) - extract(epoch from '2026-07-07 16:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010705 -3.386055)'), GeomFromEWKT('SRID=4674;POINT (-39.010696 -3.386041)'))) / (select extract(epoch from '2026-07-07 16:14:22'::timestamp) - extract(epoch from '2026-07-07 16:14: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'), 47419, 'SRID=4674;POINT (-39.010677 -3.386009)', '2026-07-07 16:14:26', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010696 -3.386041)'), GeomFromEWKT('SRID=4674;POINT (-39.010677 -3.386009)'))) / (select extract(epoch from '2026-07-07 16:14:26'::timestamp) - extract(epoch from '2026-07-07 16:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010696 -3.386041)'), GeomFromEWKT('SRID=4674;POINT (-39.010677 -3.386009)'))) / (select extract(epoch from '2026-07-07 16:14:26'::timestamp) - extract(epoch from '2026-07-07 16:14: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'), 47419, 'SRID=4674;POINT (-39.010633 -3.385951)', '2026-07-07 16:14:33', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010677 -3.386009)'), GeomFromEWKT('SRID=4674;POINT (-39.010633 -3.385951)'))) / (select extract(epoch from '2026-07-07 16:14:33'::timestamp) - extract(epoch from '2026-07-07 16:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010677 -3.386009)'), GeomFromEWKT('SRID=4674;POINT (-39.010633 -3.385951)'))) / (select extract(epoch from '2026-07-07 16:14:33'::timestamp) - extract(epoch from '2026-07-07 16:14: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'), 47419, 'SRID=4674;POINT (-39.010611 -3.385902)', '2026-07-07 16:14:38', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010633 -3.385951)'), GeomFromEWKT('SRID=4674;POINT (-39.010611 -3.385902)'))) / (select extract(epoch from '2026-07-07 16:14:38'::timestamp) - extract(epoch from '2026-07-07 16:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010633 -3.385951)'), GeomFromEWKT('SRID=4674;POINT (-39.010611 -3.385902)'))) / (select extract(epoch from '2026-07-07 16:14:38'::timestamp) - extract(epoch from '2026-07-07 16:14: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'), 47419, 'SRID=4674;POINT (-39.010567 -3.385844)', '2026-07-07 16:14:44', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010611 -3.385902)'), GeomFromEWKT('SRID=4674;POINT (-39.010567 -3.385844)'))) / (select extract(epoch from '2026-07-07 16:14:44'::timestamp) - extract(epoch from '2026-07-07 16:14:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010611 -3.385902)'), GeomFromEWKT('SRID=4674;POINT (-39.010567 -3.385844)'))) / (select extract(epoch from '2026-07-07 16:14:44'::timestamp) - extract(epoch from '2026-07-07 16:14: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'), 47419, 'SRID=4674;POINT (-39.010518 -3.385773)', '2026-07-07 16:14:52', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010567 -3.385844)'), GeomFromEWKT('SRID=4674;POINT (-39.010518 -3.385773)'))) / (select extract(epoch from '2026-07-07 16:14:52'::timestamp) - extract(epoch from '2026-07-07 16:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010567 -3.385844)'), GeomFromEWKT('SRID=4674;POINT (-39.010518 -3.385773)'))) / (select extract(epoch from '2026-07-07 16:14:52'::timestamp) - extract(epoch from '2026-07-07 16:14: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'), 47419, 'SRID=4674;POINT (-39.010474 -3.385701)', '2026-07-07 16:15:00', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010518 -3.385773)'), GeomFromEWKT('SRID=4674;POINT (-39.010474 -3.385701)'))) / (select extract(epoch from '2026-07-07 16:15:00'::timestamp) - extract(epoch from '2026-07-07 16:14:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010518 -3.385773)'), GeomFromEWKT('SRID=4674;POINT (-39.010474 -3.385701)'))) / (select extract(epoch from '2026-07-07 16:15:00'::timestamp) - extract(epoch from '2026-07-07 16:14: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'), 47419, 'SRID=4674;POINT (-39.010445 -3.385634)', '2026-07-07 16:15:06', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010474 -3.385701)'), GeomFromEWKT('SRID=4674;POINT (-39.010445 -3.385634)'))) / (select extract(epoch from '2026-07-07 16:15:06'::timestamp) - extract(epoch from '2026-07-07 16:15:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010474 -3.385701)'), GeomFromEWKT('SRID=4674;POINT (-39.010445 -3.385634)'))) / (select extract(epoch from '2026-07-07 16:15:06'::timestamp) - extract(epoch from '2026-07-07 16:15: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'), 47419, 'SRID=4674;POINT (-39.010398 -3.385542)', '2026-07-07 16:15:14', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010445 -3.385634)'), GeomFromEWKT('SRID=4674;POINT (-39.010398 -3.385542)'))) / (select extract(epoch from '2026-07-07 16:15:14'::timestamp) - extract(epoch from '2026-07-07 16:15:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010445 -3.385634)'), GeomFromEWKT('SRID=4674;POINT (-39.010398 -3.385542)'))) / (select extract(epoch from '2026-07-07 16:15:14'::timestamp) - extract(epoch from '2026-07-07 16:15: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'), 47419, 'SRID=4674;POINT (-39.010372 -3.385504)', '2026-07-07 16:15:19', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010398 -3.385542)'), GeomFromEWKT('SRID=4674;POINT (-39.010372 -3.385504)'))) / (select extract(epoch from '2026-07-07 16:15:19'::timestamp) - extract(epoch from '2026-07-07 16:15:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010398 -3.385542)'), GeomFromEWKT('SRID=4674;POINT (-39.010372 -3.385504)'))) / (select extract(epoch from '2026-07-07 16:15:19'::timestamp) - extract(epoch from '2026-07-07 16:15: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'), 47419, 'SRID=4674;POINT (-39.010345 -3.385445)', '2026-07-07 16:15:24', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010372 -3.385504)'), GeomFromEWKT('SRID=4674;POINT (-39.010345 -3.385445)'))) / (select extract(epoch from '2026-07-07 16:15:24'::timestamp) - extract(epoch from '2026-07-07 16:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010372 -3.385504)'), GeomFromEWKT('SRID=4674;POINT (-39.010345 -3.385445)'))) / (select extract(epoch from '2026-07-07 16:15:24'::timestamp) - extract(epoch from '2026-07-07 16:15: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'), 47419, 'SRID=4674;POINT (-39.010311 -3.385357)', '2026-07-07 16:15:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010345 -3.385445)'), GeomFromEWKT('SRID=4674;POINT (-39.010311 -3.385357)'))) / (select extract(epoch from '2026-07-07 16:15:32'::timestamp) - extract(epoch from '2026-07-07 16:15:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010345 -3.385445)'), GeomFromEWKT('SRID=4674;POINT (-39.010311 -3.385357)'))) / (select extract(epoch from '2026-07-07 16:15:32'::timestamp) - extract(epoch from '2026-07-07 16:15: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'), 47419, 'SRID=4674;POINT (-39.010309 -3.385348)', '2026-07-07 16:15:33', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010311 -3.385357)'), GeomFromEWKT('SRID=4674;POINT (-39.010309 -3.385348)'))) / (select extract(epoch from '2026-07-07 16:15:33'::timestamp) - extract(epoch from '2026-07-07 16:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010311 -3.385357)'), GeomFromEWKT('SRID=4674;POINT (-39.010309 -3.385348)'))) / (select extract(epoch from '2026-07-07 16:15:33'::timestamp) - extract(epoch from '2026-07-07 16:15: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'), 47419, 'SRID=4674;POINT (-39.010308 -3.385332)', '2026-07-07 16:15:35', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010309 -3.385348)'), GeomFromEWKT('SRID=4674;POINT (-39.010308 -3.385332)'))) / (select extract(epoch from '2026-07-07 16:15:35'::timestamp) - extract(epoch from '2026-07-07 16:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010309 -3.385348)'), GeomFromEWKT('SRID=4674;POINT (-39.010308 -3.385332)'))) / (select extract(epoch from '2026-07-07 16:15:35'::timestamp) - extract(epoch from '2026-07-07 16:15: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'), 47419, 'SRID=4674;POINT (-39.010304 -3.385315)', '2026-07-07 16:15:37', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010308 -3.385332)'), GeomFromEWKT('SRID=4674;POINT (-39.010304 -3.385315)'))) / (select extract(epoch from '2026-07-07 16:15:37'::timestamp) - extract(epoch from '2026-07-07 16:15:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010308 -3.385332)'), GeomFromEWKT('SRID=4674;POINT (-39.010304 -3.385315)'))) / (select extract(epoch from '2026-07-07 16:15:37'::timestamp) - extract(epoch from '2026-07-07 16:15: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'), 47419, 'SRID=4674;POINT (-39.010301 -3.385306)', '2026-07-07 16:15:38', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010304 -3.385315)'), GeomFromEWKT('SRID=4674;POINT (-39.010301 -3.385306)'))) / (select extract(epoch from '2026-07-07 16:15:38'::timestamp) - extract(epoch from '2026-07-07 16:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010304 -3.385315)'), GeomFromEWKT('SRID=4674;POINT (-39.010301 -3.385306)'))) / (select extract(epoch from '2026-07-07 16:15:38'::timestamp) - extract(epoch from '2026-07-07 16:15: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'), 47419, 'SRID=4674;POINT (-39.010287 -3.385255)', '2026-07-07 16:15:44', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010301 -3.385306)'), GeomFromEWKT('SRID=4674;POINT (-39.010287 -3.385255)'))) / (select extract(epoch from '2026-07-07 16:15:44'::timestamp) - extract(epoch from '2026-07-07 16:15:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010301 -3.385306)'), GeomFromEWKT('SRID=4674;POINT (-39.010287 -3.385255)'))) / (select extract(epoch from '2026-07-07 16:15:44'::timestamp) - extract(epoch from '2026-07-07 16:15: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'), 47419, 'SRID=4674;POINT (-39.010267 -3.385198)', '2026-07-07 16:15:50', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010287 -3.385255)'), GeomFromEWKT('SRID=4674;POINT (-39.010267 -3.385198)'))) / (select extract(epoch from '2026-07-07 16:15:50'::timestamp) - extract(epoch from '2026-07-07 16:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010287 -3.385255)'), GeomFromEWKT('SRID=4674;POINT (-39.010267 -3.385198)'))) / (select extract(epoch from '2026-07-07 16:15:50'::timestamp) - extract(epoch from '2026-07-07 16:15: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'), 47419, 'SRID=4674;POINT (-39.010267 -3.385189)', '2026-07-07 16:15:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010267 -3.385198)'), GeomFromEWKT('SRID=4674;POINT (-39.010267 -3.385189)'))) / (select extract(epoch from '2026-07-07 16:15:51'::timestamp) - extract(epoch from '2026-07-07 16:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010267 -3.385198)'), GeomFromEWKT('SRID=4674;POINT (-39.010267 -3.385189)'))) / (select extract(epoch from '2026-07-07 16:15:51'::timestamp) - extract(epoch from '2026-07-07 16:15: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'), 47419, 'SRID=4674;POINT (-39.010259 -3.385166)', '2026-07-07 16:15:53', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010267 -3.385189)'), GeomFromEWKT('SRID=4674;POINT (-39.010259 -3.385166)'))) / (select extract(epoch from '2026-07-07 16:15:53'::timestamp) - extract(epoch from '2026-07-07 16:15:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010267 -3.385189)'), GeomFromEWKT('SRID=4674;POINT (-39.010259 -3.385166)'))) / (select extract(epoch from '2026-07-07 16:15:53'::timestamp) - extract(epoch from '2026-07-07 16:15: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'), 47419, 'SRID=4674;POINT (-39.010248 -3.385131)', '2026-07-07 16:15:56', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010259 -3.385166)'), GeomFromEWKT('SRID=4674;POINT (-39.010248 -3.385131)'))) / (select extract(epoch from '2026-07-07 16:15:56'::timestamp) - extract(epoch from '2026-07-07 16:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010259 -3.385166)'), GeomFromEWKT('SRID=4674;POINT (-39.010248 -3.385131)'))) / (select extract(epoch from '2026-07-07 16:15:56'::timestamp) - extract(epoch from '2026-07-07 16:15: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'), 47419, 'SRID=4674;POINT (-39.010245 -3.385118)', '2026-07-07 16:15:57', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010248 -3.385131)'), GeomFromEWKT('SRID=4674;POINT (-39.010245 -3.385118)'))) / (select extract(epoch from '2026-07-07 16:15:57'::timestamp) - extract(epoch from '2026-07-07 16:15:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010248 -3.385131)'), GeomFromEWKT('SRID=4674;POINT (-39.010245 -3.385118)'))) / (select extract(epoch from '2026-07-07 16:15:57'::timestamp) - extract(epoch from '2026-07-07 16:15: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'), 47419, 'SRID=4674;POINT (-39.01022 -3.385053)', '2026-07-07 16:16:03', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010245 -3.385118)'), GeomFromEWKT('SRID=4674;POINT (-39.01022 -3.385053)'))) / (select extract(epoch from '2026-07-07 16:16:03'::timestamp) - extract(epoch from '2026-07-07 16:15:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010245 -3.385118)'), GeomFromEWKT('SRID=4674;POINT (-39.01022 -3.385053)'))) / (select extract(epoch from '2026-07-07 16:16:03'::timestamp) - extract(epoch from '2026-07-07 16:15: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'), 47419, 'SRID=4674;POINT (-39.01018 -3.38498)', '2026-07-07 16:16:11', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01022 -3.385053)'), GeomFromEWKT('SRID=4674;POINT (-39.01018 -3.38498)'))) / (select extract(epoch from '2026-07-07 16:16:11'::timestamp) - extract(epoch from '2026-07-07 16:16:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01022 -3.385053)'), GeomFromEWKT('SRID=4674;POINT (-39.01018 -3.38498)'))) / (select extract(epoch from '2026-07-07 16:16:11'::timestamp) - extract(epoch from '2026-07-07 16:16: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'), 47419, 'SRID=4674;POINT (-39.010167 -3.384954)', '2026-07-07 16:16:14', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01018 -3.38498)'), GeomFromEWKT('SRID=4674;POINT (-39.010167 -3.384954)'))) / (select extract(epoch from '2026-07-07 16:16:14'::timestamp) - extract(epoch from '2026-07-07 16:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01018 -3.38498)'), GeomFromEWKT('SRID=4674;POINT (-39.010167 -3.384954)'))) / (select extract(epoch from '2026-07-07 16:16:14'::timestamp) - extract(epoch from '2026-07-07 16:16: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'), 47419, 'SRID=4674;POINT (-39.010147 -3.384927)', '2026-07-07 16:16:18', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010167 -3.384954)'), GeomFromEWKT('SRID=4674;POINT (-39.010147 -3.384927)'))) / (select extract(epoch from '2026-07-07 16:16:18'::timestamp) - extract(epoch from '2026-07-07 16:16:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010167 -3.384954)'), GeomFromEWKT('SRID=4674;POINT (-39.010147 -3.384927)'))) / (select extract(epoch from '2026-07-07 16:16:18'::timestamp) - extract(epoch from '2026-07-07 16:16: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'), 47419, 'SRID=4674;POINT (-39.010121 -3.384871)', '2026-07-07 16:16:25', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010147 -3.384927)'), GeomFromEWKT('SRID=4674;POINT (-39.010121 -3.384871)'))) / (select extract(epoch from '2026-07-07 16:16:25'::timestamp) - extract(epoch from '2026-07-07 16:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010147 -3.384927)'), GeomFromEWKT('SRID=4674;POINT (-39.010121 -3.384871)'))) / (select extract(epoch from '2026-07-07 16:16:25'::timestamp) - extract(epoch from '2026-07-07 16:16: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'), 47419, 'SRID=4674;POINT (-39.010115 -3.384853)', '2026-07-07 16:16:27', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010121 -3.384871)'), GeomFromEWKT('SRID=4674;POINT (-39.010115 -3.384853)'))) / (select extract(epoch from '2026-07-07 16:16:27'::timestamp) - extract(epoch from '2026-07-07 16:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010121 -3.384871)'), GeomFromEWKT('SRID=4674;POINT (-39.010115 -3.384853)'))) / (select extract(epoch from '2026-07-07 16:16:27'::timestamp) - extract(epoch from '2026-07-07 16:16: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'), 47419, 'SRID=4674;POINT (-39.010095 -3.384819)', '2026-07-07 16:16:31', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010115 -3.384853)'), GeomFromEWKT('SRID=4674;POINT (-39.010095 -3.384819)'))) / (select extract(epoch from '2026-07-07 16:16:31'::timestamp) - extract(epoch from '2026-07-07 16:16:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010115 -3.384853)'), GeomFromEWKT('SRID=4674;POINT (-39.010095 -3.384819)'))) / (select extract(epoch from '2026-07-07 16:16:31'::timestamp) - extract(epoch from '2026-07-07 16:16: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'), 47419, 'SRID=4674;POINT (-39.010048 -3.384737)', '2026-07-07 16:16:39', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010095 -3.384819)'), GeomFromEWKT('SRID=4674;POINT (-39.010048 -3.384737)'))) / (select extract(epoch from '2026-07-07 16:16:39'::timestamp) - extract(epoch from '2026-07-07 16:16:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010095 -3.384819)'), GeomFromEWKT('SRID=4674;POINT (-39.010048 -3.384737)'))) / (select extract(epoch from '2026-07-07 16:16:39'::timestamp) - extract(epoch from '2026-07-07 16:16: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'), 47419, 'SRID=4674;POINT (-39.010017 -3.384667)', '2026-07-07 16:16:46', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010048 -3.384737)'), GeomFromEWKT('SRID=4674;POINT (-39.010017 -3.384667)'))) / (select extract(epoch from '2026-07-07 16:16:46'::timestamp) - extract(epoch from '2026-07-07 16:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010048 -3.384737)'), GeomFromEWKT('SRID=4674;POINT (-39.010017 -3.384667)'))) / (select extract(epoch from '2026-07-07 16:16:46'::timestamp) - extract(epoch from '2026-07-07 16:16: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'), 47419, 'SRID=4674;POINT (-39.009985 -3.384597)', '2026-07-07 16:16:52', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010017 -3.384667)'), GeomFromEWKT('SRID=4674;POINT (-39.009985 -3.384597)'))) / (select extract(epoch from '2026-07-07 16:16:52'::timestamp) - extract(epoch from '2026-07-07 16:16:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010017 -3.384667)'), GeomFromEWKT('SRID=4674;POINT (-39.009985 -3.384597)'))) / (select extract(epoch from '2026-07-07 16:16:52'::timestamp) - extract(epoch from '2026-07-07 16:16: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'), 47419, 'SRID=4674;POINT (-39.009963 -3.384554)', '2026-07-07 16:16:56', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009985 -3.384597)'), GeomFromEWKT('SRID=4674;POINT (-39.009963 -3.384554)'))) / (select extract(epoch from '2026-07-07 16:16:56'::timestamp) - extract(epoch from '2026-07-07 16:16:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009985 -3.384597)'), GeomFromEWKT('SRID=4674;POINT (-39.009963 -3.384554)'))) / (select extract(epoch from '2026-07-07 16:16:56'::timestamp) - extract(epoch from '2026-07-07 16:16: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'), 47419, 'SRID=4674;POINT (-39.009952 -3.384527)', '2026-07-07 16:16:59', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009963 -3.384554)'), GeomFromEWKT('SRID=4674;POINT (-39.009952 -3.384527)'))) / (select extract(epoch from '2026-07-07 16:16:59'::timestamp) - extract(epoch from '2026-07-07 16:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009963 -3.384554)'), GeomFromEWKT('SRID=4674;POINT (-39.009952 -3.384527)'))) / (select extract(epoch from '2026-07-07 16:16:59'::timestamp) - extract(epoch from '2026-07-07 16:16: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'), 47419, 'SRID=4674;POINT (-39.009946 -3.384517)', '2026-07-07 16:17:00', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009952 -3.384527)'), GeomFromEWKT('SRID=4674;POINT (-39.009946 -3.384517)'))) / (select extract(epoch from '2026-07-07 16:17:00'::timestamp) - extract(epoch from '2026-07-07 16:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009952 -3.384527)'), GeomFromEWKT('SRID=4674;POINT (-39.009946 -3.384517)'))) / (select extract(epoch from '2026-07-07 16:17:00'::timestamp) - extract(epoch from '2026-07-07 16:16: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'), 47419, 'SRID=4674;POINT (-39.009923 -3.384472)', '2026-07-07 16:17:04', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009946 -3.384517)'), GeomFromEWKT('SRID=4674;POINT (-39.009923 -3.384472)'))) / (select extract(epoch from '2026-07-07 16:17:04'::timestamp) - extract(epoch from '2026-07-07 16:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009946 -3.384517)'), GeomFromEWKT('SRID=4674;POINT (-39.009923 -3.384472)'))) / (select extract(epoch from '2026-07-07 16:17:04'::timestamp) - extract(epoch from '2026-07-07 16:17: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'), 47419, 'SRID=4674;POINT (-39.009916 -3.384462)', '2026-07-07 16:17:05', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009923 -3.384472)'), GeomFromEWKT('SRID=4674;POINT (-39.009916 -3.384462)'))) / (select extract(epoch from '2026-07-07 16:17:05'::timestamp) - extract(epoch from '2026-07-07 16:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009923 -3.384472)'), GeomFromEWKT('SRID=4674;POINT (-39.009916 -3.384462)'))) / (select extract(epoch from '2026-07-07 16:17:05'::timestamp) - extract(epoch from '2026-07-07 16:17: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'), 47419, 'SRID=4674;POINT (-39.009906 -3.384444)', '2026-07-07 16:17:07', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009916 -3.384462)'), GeomFromEWKT('SRID=4674;POINT (-39.009906 -3.384444)'))) / (select extract(epoch from '2026-07-07 16:17:07'::timestamp) - extract(epoch from '2026-07-07 16:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009916 -3.384462)'), GeomFromEWKT('SRID=4674;POINT (-39.009906 -3.384444)'))) / (select extract(epoch from '2026-07-07 16:17:07'::timestamp) - extract(epoch from '2026-07-07 16:17: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'), 47419, 'SRID=4674;POINT (-39.009896 -3.384424)', '2026-07-07 16:17:09', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009906 -3.384444)'), GeomFromEWKT('SRID=4674;POINT (-39.009896 -3.384424)'))) / (select extract(epoch from '2026-07-07 16:17:09'::timestamp) - extract(epoch from '2026-07-07 16:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009906 -3.384444)'), GeomFromEWKT('SRID=4674;POINT (-39.009896 -3.384424)'))) / (select extract(epoch from '2026-07-07 16:17:09'::timestamp) - extract(epoch from '2026-07-07 16:17: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'), 47419, 'SRID=4674;POINT (-39.009885 -3.384404)', '2026-07-07 16:17:11', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009896 -3.384424)'), GeomFromEWKT('SRID=4674;POINT (-39.009885 -3.384404)'))) / (select extract(epoch from '2026-07-07 16:17:11'::timestamp) - extract(epoch from '2026-07-07 16:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009896 -3.384424)'), GeomFromEWKT('SRID=4674;POINT (-39.009885 -3.384404)'))) / (select extract(epoch from '2026-07-07 16:17:11'::timestamp) - extract(epoch from '2026-07-07 16:17: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'), 47419, 'SRID=4674;POINT (-39.00988 -3.384384)', '2026-07-07 16:17:13', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009885 -3.384404)'), GeomFromEWKT('SRID=4674;POINT (-39.00988 -3.384384)'))) / (select extract(epoch from '2026-07-07 16:17:13'::timestamp) - extract(epoch from '2026-07-07 16:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009885 -3.384404)'), GeomFromEWKT('SRID=4674;POINT (-39.00988 -3.384384)'))) / (select extract(epoch from '2026-07-07 16:17:13'::timestamp) - extract(epoch from '2026-07-07 16:17: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'), 47419, 'SRID=4674;POINT (-39.009876 -3.384375)', '2026-07-07 16:17:14', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00988 -3.384384)'), GeomFromEWKT('SRID=4674;POINT (-39.009876 -3.384375)'))) / (select extract(epoch from '2026-07-07 16:17:14'::timestamp) - extract(epoch from '2026-07-07 16:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00988 -3.384384)'), GeomFromEWKT('SRID=4674;POINT (-39.009876 -3.384375)'))) / (select extract(epoch from '2026-07-07 16:17:14'::timestamp) - extract(epoch from '2026-07-07 16:17: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'), 47419, 'SRID=4674;POINT (-39.009872 -3.384349)', '2026-07-07 16:17:16', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009876 -3.384375)'), GeomFromEWKT('SRID=4674;POINT (-39.009872 -3.384349)'))) / (select extract(epoch from '2026-07-07 16:17:16'::timestamp) - extract(epoch from '2026-07-07 16:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009876 -3.384375)'), GeomFromEWKT('SRID=4674;POINT (-39.009872 -3.384349)'))) / (select extract(epoch from '2026-07-07 16:17:16'::timestamp) - extract(epoch from '2026-07-07 16:17: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'), 47419, 'SRID=4674;POINT (-39.009859 -3.384322)', '2026-07-07 16:17:19', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009872 -3.384349)'), GeomFromEWKT('SRID=4674;POINT (-39.009859 -3.384322)'))) / (select extract(epoch from '2026-07-07 16:17:19'::timestamp) - extract(epoch from '2026-07-07 16:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009872 -3.384349)'), GeomFromEWKT('SRID=4674;POINT (-39.009859 -3.384322)'))) / (select extract(epoch from '2026-07-07 16:17:19'::timestamp) - extract(epoch from '2026-07-07 16:17: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'), 47419, 'SRID=4674;POINT (-39.009834 -3.38425)', '2026-07-07 16:17:26', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009859 -3.384322)'), GeomFromEWKT('SRID=4674;POINT (-39.009834 -3.38425)'))) / (select extract(epoch from '2026-07-07 16:17:26'::timestamp) - extract(epoch from '2026-07-07 16:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009859 -3.384322)'), GeomFromEWKT('SRID=4674;POINT (-39.009834 -3.38425)'))) / (select extract(epoch from '2026-07-07 16:17:26'::timestamp) - extract(epoch from '2026-07-07 16:17: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'), 47419, 'SRID=4674;POINT (-39.009837 -3.384225)', '2026-07-07 16:17:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009834 -3.38425)'), GeomFromEWKT('SRID=4674;POINT (-39.009837 -3.384225)'))) / (select extract(epoch from '2026-07-07 16:17:28'::timestamp) - extract(epoch from '2026-07-07 16:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009834 -3.38425)'), GeomFromEWKT('SRID=4674;POINT (-39.009837 -3.384225)'))) / (select extract(epoch from '2026-07-07 16:17:28'::timestamp) - extract(epoch from '2026-07-07 16:17: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'), 47419, 'SRID=4674;POINT (-39.009818 -3.384197)', '2026-07-07 16:17:31', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009837 -3.384225)'), GeomFromEWKT('SRID=4674;POINT (-39.009818 -3.384197)'))) / (select extract(epoch from '2026-07-07 16:17:31'::timestamp) - extract(epoch from '2026-07-07 16:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009837 -3.384225)'), GeomFromEWKT('SRID=4674;POINT (-39.009818 -3.384197)'))) / (select extract(epoch from '2026-07-07 16:17:31'::timestamp) - extract(epoch from '2026-07-07 16:17: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'), 47419, 'SRID=4674;POINT (-39.009818 -3.384177)', '2026-07-07 16:17:33', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009818 -3.384197)'), GeomFromEWKT('SRID=4674;POINT (-39.009818 -3.384177)'))) / (select extract(epoch from '2026-07-07 16:17:33'::timestamp) - extract(epoch from '2026-07-07 16:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009818 -3.384197)'), GeomFromEWKT('SRID=4674;POINT (-39.009818 -3.384177)'))) / (select extract(epoch from '2026-07-07 16:17:33'::timestamp) - extract(epoch from '2026-07-07 16:17: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'), 47419, 'SRID=4674;POINT (-39.009803 -3.384137)', '2026-07-07 16:17:37', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009818 -3.384177)'), GeomFromEWKT('SRID=4674;POINT (-39.009803 -3.384137)'))) / (select extract(epoch from '2026-07-07 16:17:37'::timestamp) - extract(epoch from '2026-07-07 16:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009818 -3.384177)'), GeomFromEWKT('SRID=4674;POINT (-39.009803 -3.384137)'))) / (select extract(epoch from '2026-07-07 16:17:37'::timestamp) - extract(epoch from '2026-07-07 16:17: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'), 47419, 'SRID=4674;POINT (-39.009799 -3.384121)', '2026-07-07 16:17:39', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009803 -3.384137)'), GeomFromEWKT('SRID=4674;POINT (-39.009799 -3.384121)'))) / (select extract(epoch from '2026-07-07 16:17:39'::timestamp) - extract(epoch from '2026-07-07 16:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009803 -3.384137)'), GeomFromEWKT('SRID=4674;POINT (-39.009799 -3.384121)'))) / (select extract(epoch from '2026-07-07 16:17:39'::timestamp) - extract(epoch from '2026-07-07 16:17: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'), 47419, 'SRID=4674;POINT (-39.009786 -3.384084)', '2026-07-07 16:17:43', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009799 -3.384121)'), GeomFromEWKT('SRID=4674;POINT (-39.009786 -3.384084)'))) / (select extract(epoch from '2026-07-07 16:17:43'::timestamp) - extract(epoch from '2026-07-07 16:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009799 -3.384121)'), GeomFromEWKT('SRID=4674;POINT (-39.009786 -3.384084)'))) / (select extract(epoch from '2026-07-07 16:17:43'::timestamp) - extract(epoch from '2026-07-07 16:17: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'), 47419, 'SRID=4674;POINT (-39.009768 -3.384054)', '2026-07-07 16:17:46', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009786 -3.384084)'), GeomFromEWKT('SRID=4674;POINT (-39.009768 -3.384054)'))) / (select extract(epoch from '2026-07-07 16:17:46'::timestamp) - extract(epoch from '2026-07-07 16:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009786 -3.384084)'), GeomFromEWKT('SRID=4674;POINT (-39.009768 -3.384054)'))) / (select extract(epoch from '2026-07-07 16:17:46'::timestamp) - extract(epoch from '2026-07-07 16:17: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'), 47419, 'SRID=4674;POINT (-39.009757 -3.38403)', '2026-07-07 16:17:49', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009768 -3.384054)'), GeomFromEWKT('SRID=4674;POINT (-39.009757 -3.38403)'))) / (select extract(epoch from '2026-07-07 16:17:49'::timestamp) - extract(epoch from '2026-07-07 16:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009768 -3.384054)'), GeomFromEWKT('SRID=4674;POINT (-39.009757 -3.38403)'))) / (select extract(epoch from '2026-07-07 16:17:49'::timestamp) - extract(epoch from '2026-07-07 16:17: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'), 47419, 'SRID=4674;POINT (-39.009728 -3.38398)', '2026-07-07 16:17:55', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009757 -3.38403)'), GeomFromEWKT('SRID=4674;POINT (-39.009728 -3.38398)'))) / (select extract(epoch from '2026-07-07 16:17:55'::timestamp) - extract(epoch from '2026-07-07 16:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009757 -3.38403)'), GeomFromEWKT('SRID=4674;POINT (-39.009728 -3.38398)'))) / (select extract(epoch from '2026-07-07 16:17:55'::timestamp) - extract(epoch from '2026-07-07 16:17: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'), 47419, 'SRID=4674;POINT (-39.009688 -3.383903)', '2026-07-07 16:18:02', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009728 -3.38398)'), GeomFromEWKT('SRID=4674;POINT (-39.009688 -3.383903)'))) / (select extract(epoch from '2026-07-07 16:18:02'::timestamp) - extract(epoch from '2026-07-07 16:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009728 -3.38398)'), GeomFromEWKT('SRID=4674;POINT (-39.009688 -3.383903)'))) / (select extract(epoch from '2026-07-07 16:18:02'::timestamp) - extract(epoch from '2026-07-07 16:17: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'), 47419, 'SRID=4674;POINT (-39.009647 -3.383825)', '2026-07-07 16:18:10', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009688 -3.383903)'), GeomFromEWKT('SRID=4674;POINT (-39.009647 -3.383825)'))) / (select extract(epoch from '2026-07-07 16:18:10'::timestamp) - extract(epoch from '2026-07-07 16:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009688 -3.383903)'), GeomFromEWKT('SRID=4674;POINT (-39.009647 -3.383825)'))) / (select extract(epoch from '2026-07-07 16:18:10'::timestamp) - extract(epoch from '2026-07-07 16:18: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'), 47419, 'SRID=4674;POINT (-39.009607 -3.383752)', '2026-07-07 16:18:17', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009647 -3.383825)'), GeomFromEWKT('SRID=4674;POINT (-39.009607 -3.383752)'))) / (select extract(epoch from '2026-07-07 16:18:17'::timestamp) - extract(epoch from '2026-07-07 16:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009647 -3.383825)'), GeomFromEWKT('SRID=4674;POINT (-39.009607 -3.383752)'))) / (select extract(epoch from '2026-07-07 16:18:17'::timestamp) - extract(epoch from '2026-07-07 16:18: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'), 47419, 'SRID=4674;POINT (-39.009578 -3.383699)', '2026-07-07 16:18:22', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009607 -3.383752)'), GeomFromEWKT('SRID=4674;POINT (-39.009578 -3.383699)'))) / (select extract(epoch from '2026-07-07 16:18:22'::timestamp) - extract(epoch from '2026-07-07 16:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009607 -3.383752)'), GeomFromEWKT('SRID=4674;POINT (-39.009578 -3.383699)'))) / (select extract(epoch from '2026-07-07 16:18:22'::timestamp) - extract(epoch from '2026-07-07 16:18: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'), 47419, 'SRID=4674;POINT (-39.009561 -3.383624)', '2026-07-07 16:18:30', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009578 -3.383699)'), GeomFromEWKT('SRID=4674;POINT (-39.009561 -3.383624)'))) / (select extract(epoch from '2026-07-07 16:18:30'::timestamp) - extract(epoch from '2026-07-07 16:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009578 -3.383699)'), GeomFromEWKT('SRID=4674;POINT (-39.009561 -3.383624)'))) / (select extract(epoch from '2026-07-07 16:18:30'::timestamp) - extract(epoch from '2026-07-07 16:18: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'), 47419, 'SRID=4674;POINT (-39.00953 -3.383541)', '2026-07-07 16:18:38', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009561 -3.383624)'), GeomFromEWKT('SRID=4674;POINT (-39.00953 -3.383541)'))) / (select extract(epoch from '2026-07-07 16:18:38'::timestamp) - extract(epoch from '2026-07-07 16:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009561 -3.383624)'), GeomFromEWKT('SRID=4674;POINT (-39.00953 -3.383541)'))) / (select extract(epoch from '2026-07-07 16:18:38'::timestamp) - extract(epoch from '2026-07-07 16:18: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'), 47419, 'SRID=4674;POINT (-39.009491 -3.383447)', '2026-07-07 16:18:46', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00953 -3.383541)'), GeomFromEWKT('SRID=4674;POINT (-39.009491 -3.383447)'))) / (select extract(epoch from '2026-07-07 16:18:46'::timestamp) - extract(epoch from '2026-07-07 16:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00953 -3.383541)'), GeomFromEWKT('SRID=4674;POINT (-39.009491 -3.383447)'))) / (select extract(epoch from '2026-07-07 16:18:46'::timestamp) - extract(epoch from '2026-07-07 16:18: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'), 47419, 'SRID=4674;POINT (-39.009458 -3.38338)', '2026-07-07 16:18:52', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009491 -3.383447)'), GeomFromEWKT('SRID=4674;POINT (-39.009458 -3.38338)'))) / (select extract(epoch from '2026-07-07 16:18:52'::timestamp) - extract(epoch from '2026-07-07 16:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009491 -3.383447)'), GeomFromEWKT('SRID=4674;POINT (-39.009458 -3.38338)'))) / (select extract(epoch from '2026-07-07 16:18:52'::timestamp) - extract(epoch from '2026-07-07 16:18: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'), 47419, 'SRID=4674;POINT (-39.009455 -3.383368)', '2026-07-07 16:18:53', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009458 -3.38338)'), GeomFromEWKT('SRID=4674;POINT (-39.009455 -3.383368)'))) / (select extract(epoch from '2026-07-07 16:18:53'::timestamp) - extract(epoch from '2026-07-07 16:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009458 -3.38338)'), GeomFromEWKT('SRID=4674;POINT (-39.009455 -3.383368)'))) / (select extract(epoch from '2026-07-07 16:18:53'::timestamp) - extract(epoch from '2026-07-07 16:18: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'), 47419, 'SRID=4674;POINT (-39.009432 -3.383313)', '2026-07-07 16:18:59', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009455 -3.383368)'), GeomFromEWKT('SRID=4674;POINT (-39.009432 -3.383313)'))) / (select extract(epoch from '2026-07-07 16:18:59'::timestamp) - extract(epoch from '2026-07-07 16:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009455 -3.383368)'), GeomFromEWKT('SRID=4674;POINT (-39.009432 -3.383313)'))) / (select extract(epoch from '2026-07-07 16:18:59'::timestamp) - extract(epoch from '2026-07-07 16:18:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
