 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.019422 -3.391853)', '2026-07-28 15:22:16', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019406 -3.391869)'), GeomFromEWKT('SRID=4674;POINT (-39.019422 -3.391853)'))) / (select extract(epoch from '2026-07-28 15:22:16'::timestamp) - extract(epoch from '2026-07-28 15:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019406 -3.391869)'), GeomFromEWKT('SRID=4674;POINT (-39.019422 -3.391853)'))) / (select extract(epoch from '2026-07-28 15:22:16'::timestamp) - extract(epoch from '2026-07-28 15:22: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'), 47422, 'SRID=4674;POINT (-39.019429 -3.391841)', '2026-07-28 15:22:24', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019422 -3.391853)'), GeomFromEWKT('SRID=4674;POINT (-39.019429 -3.391841)'))) / (select extract(epoch from '2026-07-28 15:22:24'::timestamp) - extract(epoch from '2026-07-28 15:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019422 -3.391853)'), GeomFromEWKT('SRID=4674;POINT (-39.019429 -3.391841)'))) / (select extract(epoch from '2026-07-28 15:22:24'::timestamp) - extract(epoch from '2026-07-28 15:22: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'), 47422, 'SRID=4674;POINT (-39.019438 -3.391833)', '2026-07-28 15:22:35', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019429 -3.391841)'), GeomFromEWKT('SRID=4674;POINT (-39.019438 -3.391833)'))) / (select extract(epoch from '2026-07-28 15:22:35'::timestamp) - extract(epoch from '2026-07-28 15:22:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019429 -3.391841)'), GeomFromEWKT('SRID=4674;POINT (-39.019438 -3.391833)'))) / (select extract(epoch from '2026-07-28 15:22:35'::timestamp) - extract(epoch from '2026-07-28 15:22: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'), 47422, 'SRID=4674;POINT (-39.019449 -3.391825)', '2026-07-28 15:22:43', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019438 -3.391833)'), GeomFromEWKT('SRID=4674;POINT (-39.019449 -3.391825)'))) / (select extract(epoch from '2026-07-28 15:22:43'::timestamp) - extract(epoch from '2026-07-28 15:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019438 -3.391833)'), GeomFromEWKT('SRID=4674;POINT (-39.019449 -3.391825)'))) / (select extract(epoch from '2026-07-28 15:22:43'::timestamp) - extract(epoch from '2026-07-28 15:22: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'), 47422, 'SRID=4674;POINT (-39.019472 -3.391821)', '2026-07-28 15:22:55', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019449 -3.391825)'), GeomFromEWKT('SRID=4674;POINT (-39.019472 -3.391821)'))) / (select extract(epoch from '2026-07-28 15:22:55'::timestamp) - extract(epoch from '2026-07-28 15:22:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019449 -3.391825)'), GeomFromEWKT('SRID=4674;POINT (-39.019472 -3.391821)'))) / (select extract(epoch from '2026-07-28 15:22:55'::timestamp) - extract(epoch from '2026-07-28 15:22: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'), 47422, 'SRID=4674;POINT (-39.01948 -3.391815)', '2026-07-28 15:23:03', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019472 -3.391821)'), GeomFromEWKT('SRID=4674;POINT (-39.01948 -3.391815)'))) / (select extract(epoch from '2026-07-28 15:23:03'::timestamp) - extract(epoch from '2026-07-28 15:22:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019472 -3.391821)'), GeomFromEWKT('SRID=4674;POINT (-39.01948 -3.391815)'))) / (select extract(epoch from '2026-07-28 15:23:03'::timestamp) - extract(epoch from '2026-07-28 15:22: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'), 47422, 'SRID=4674;POINT (-39.01951 -3.39181)', '2026-07-28 15:23:13', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01948 -3.391815)'), GeomFromEWKT('SRID=4674;POINT (-39.01951 -3.39181)'))) / (select extract(epoch from '2026-07-28 15:23:13'::timestamp) - extract(epoch from '2026-07-28 15:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01948 -3.391815)'), GeomFromEWKT('SRID=4674;POINT (-39.01951 -3.39181)'))) / (select extract(epoch from '2026-07-28 15:23:13'::timestamp) - extract(epoch from '2026-07-28 15:23: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'), 47422, 'SRID=4674;POINT (-39.019519 -3.391806)', '2026-07-28 15:23:19', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01951 -3.39181)'), GeomFromEWKT('SRID=4674;POINT (-39.019519 -3.391806)'))) / (select extract(epoch from '2026-07-28 15:23:19'::timestamp) - extract(epoch from '2026-07-28 15:23:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01951 -3.39181)'), GeomFromEWKT('SRID=4674;POINT (-39.019519 -3.391806)'))) / (select extract(epoch from '2026-07-28 15:23:19'::timestamp) - extract(epoch from '2026-07-28 15:23: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'), 47422, 'SRID=4674;POINT (-39.019542 -3.391796)', '2026-07-28 15:23:33', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019519 -3.391806)'), GeomFromEWKT('SRID=4674;POINT (-39.019542 -3.391796)'))) / (select extract(epoch from '2026-07-28 15:23:33'::timestamp) - extract(epoch from '2026-07-28 15:23:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019519 -3.391806)'), GeomFromEWKT('SRID=4674;POINT (-39.019542 -3.391796)'))) / (select extract(epoch from '2026-07-28 15:23:33'::timestamp) - extract(epoch from '2026-07-28 15:23: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'), 47422, 'SRID=4674;POINT (-39.019558 -3.391793)', '2026-07-28 15:23:42', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019542 -3.391796)'), GeomFromEWKT('SRID=4674;POINT (-39.019558 -3.391793)'))) / (select extract(epoch from '2026-07-28 15:23:42'::timestamp) - extract(epoch from '2026-07-28 15:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019542 -3.391796)'), GeomFromEWKT('SRID=4674;POINT (-39.019558 -3.391793)'))) / (select extract(epoch from '2026-07-28 15:23:42'::timestamp) - extract(epoch from '2026-07-28 15:23: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'), 47422, 'SRID=4674;POINT (-39.019569 -3.391792)', '2026-07-28 15:23:49', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019558 -3.391793)'), GeomFromEWKT('SRID=4674;POINT (-39.019569 -3.391792)'))) / (select extract(epoch from '2026-07-28 15:23:49'::timestamp) - extract(epoch from '2026-07-28 15:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019558 -3.391793)'), GeomFromEWKT('SRID=4674;POINT (-39.019569 -3.391792)'))) / (select extract(epoch from '2026-07-28 15:23:49'::timestamp) - extract(epoch from '2026-07-28 15:23: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'), 47422, 'SRID=4674;POINT (-39.019594 -3.391786)', '2026-07-28 15:23:57', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019569 -3.391792)'), GeomFromEWKT('SRID=4674;POINT (-39.019594 -3.391786)'))) / (select extract(epoch from '2026-07-28 15:23:57'::timestamp) - extract(epoch from '2026-07-28 15:23:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019569 -3.391792)'), GeomFromEWKT('SRID=4674;POINT (-39.019594 -3.391786)'))) / (select extract(epoch from '2026-07-28 15:23:57'::timestamp) - extract(epoch from '2026-07-28 15:23: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'), 47422, 'SRID=4674;POINT (-39.019617 -3.391777)', '2026-07-28 15:24:07', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019594 -3.391786)'), GeomFromEWKT('SRID=4674;POINT (-39.019617 -3.391777)'))) / (select extract(epoch from '2026-07-28 15:24:07'::timestamp) - extract(epoch from '2026-07-28 15:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019594 -3.391786)'), GeomFromEWKT('SRID=4674;POINT (-39.019617 -3.391777)'))) / (select extract(epoch from '2026-07-28 15:24:07'::timestamp) - extract(epoch from '2026-07-28 15:23: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'), 47422, 'SRID=4674;POINT (-39.019637 -3.39177)', '2026-07-28 15:24:16', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019617 -3.391777)'), GeomFromEWKT('SRID=4674;POINT (-39.019637 -3.39177)'))) / (select extract(epoch from '2026-07-28 15:24:16'::timestamp) - extract(epoch from '2026-07-28 15:24:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019617 -3.391777)'), GeomFromEWKT('SRID=4674;POINT (-39.019637 -3.39177)'))) / (select extract(epoch from '2026-07-28 15:24:16'::timestamp) - extract(epoch from '2026-07-28 15:24: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'), 47422, 'SRID=4674;POINT (-39.019667 -3.391761)', '2026-07-28 15:24:26', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019637 -3.39177)'), GeomFromEWKT('SRID=4674;POINT (-39.019667 -3.391761)'))) / (select extract(epoch from '2026-07-28 15:24:26'::timestamp) - extract(epoch from '2026-07-28 15:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019637 -3.39177)'), GeomFromEWKT('SRID=4674;POINT (-39.019667 -3.391761)'))) / (select extract(epoch from '2026-07-28 15:24:26'::timestamp) - extract(epoch from '2026-07-28 15:24: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'), 47422, 'SRID=4674;POINT (-39.019703 -3.391747)', '2026-07-28 15:24:42', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019667 -3.391761)'), GeomFromEWKT('SRID=4674;POINT (-39.019703 -3.391747)'))) / (select extract(epoch from '2026-07-28 15:24:42'::timestamp) - extract(epoch from '2026-07-28 15:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019667 -3.391761)'), GeomFromEWKT('SRID=4674;POINT (-39.019703 -3.391747)'))) / (select extract(epoch from '2026-07-28 15:24:42'::timestamp) - extract(epoch from '2026-07-28 15:24: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'), 47422, 'SRID=4674;POINT (-39.019739 -3.391742)', '2026-07-28 15:24:56', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019703 -3.391747)'), GeomFromEWKT('SRID=4674;POINT (-39.019739 -3.391742)'))) / (select extract(epoch from '2026-07-28 15:24:56'::timestamp) - extract(epoch from '2026-07-28 15:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019703 -3.391747)'), GeomFromEWKT('SRID=4674;POINT (-39.019739 -3.391742)'))) / (select extract(epoch from '2026-07-28 15:24:56'::timestamp) - extract(epoch from '2026-07-28 15:24: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'), 47422, 'SRID=4674;POINT (-39.0198 -3.391728)', '2026-07-28 15:25:20', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019739 -3.391742)'), GeomFromEWKT('SRID=4674;POINT (-39.0198 -3.391728)'))) / (select extract(epoch from '2026-07-28 15:25:20'::timestamp) - extract(epoch from '2026-07-28 15:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019739 -3.391742)'), GeomFromEWKT('SRID=4674;POINT (-39.0198 -3.391728)'))) / (select extract(epoch from '2026-07-28 15:25:20'::timestamp) - extract(epoch from '2026-07-28 15:24: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'), 47422, 'SRID=4674;POINT (-39.019836 -3.391722)', '2026-07-28 15:25:30', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0198 -3.391728)'), GeomFromEWKT('SRID=4674;POINT (-39.019836 -3.391722)'))) / (select extract(epoch from '2026-07-28 15:25:30'::timestamp) - extract(epoch from '2026-07-28 15:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0198 -3.391728)'), GeomFromEWKT('SRID=4674;POINT (-39.019836 -3.391722)'))) / (select extract(epoch from '2026-07-28 15:25:30'::timestamp) - extract(epoch from '2026-07-28 15:25: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'), 47422, 'SRID=4674;POINT (-39.019852 -3.391711)', '2026-07-28 15:25:37', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019836 -3.391722)'), GeomFromEWKT('SRID=4674;POINT (-39.019852 -3.391711)'))) / (select extract(epoch from '2026-07-28 15:25:37'::timestamp) - extract(epoch from '2026-07-28 15:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019836 -3.391722)'), GeomFromEWKT('SRID=4674;POINT (-39.019852 -3.391711)'))) / (select extract(epoch from '2026-07-28 15:25:37'::timestamp) - extract(epoch from '2026-07-28 15:25: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'), 47422, 'SRID=4674;POINT (-39.019874 -3.391703)', '2026-07-28 15:25:48', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019852 -3.391711)'), GeomFromEWKT('SRID=4674;POINT (-39.019874 -3.391703)'))) / (select extract(epoch from '2026-07-28 15:25:48'::timestamp) - extract(epoch from '2026-07-28 15:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019852 -3.391711)'), GeomFromEWKT('SRID=4674;POINT (-39.019874 -3.391703)'))) / (select extract(epoch from '2026-07-28 15:25:48'::timestamp) - extract(epoch from '2026-07-28 15:25: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'), 47422, 'SRID=4674;POINT (-39.019901 -3.391707)', '2026-07-28 15:25:57', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019874 -3.391703)'), GeomFromEWKT('SRID=4674;POINT (-39.019901 -3.391707)'))) / (select extract(epoch from '2026-07-28 15:25:57'::timestamp) - extract(epoch from '2026-07-28 15:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019874 -3.391703)'), GeomFromEWKT('SRID=4674;POINT (-39.019901 -3.391707)'))) / (select extract(epoch from '2026-07-28 15:25:57'::timestamp) - extract(epoch from '2026-07-28 15:25: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'), 47422, 'SRID=4674;POINT (-39.019961 -3.391702)', '2026-07-28 15:26:17', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019901 -3.391707)'), GeomFromEWKT('SRID=4674;POINT (-39.019961 -3.391702)'))) / (select extract(epoch from '2026-07-28 15:26:17'::timestamp) - extract(epoch from '2026-07-28 15:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019901 -3.391707)'), GeomFromEWKT('SRID=4674;POINT (-39.019961 -3.391702)'))) / (select extract(epoch from '2026-07-28 15:26:17'::timestamp) - extract(epoch from '2026-07-28 15:25: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'), 47422, 'SRID=4674;POINT (-39.020012 -3.39168)', '2026-07-28 15:26:43', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019961 -3.391702)'), GeomFromEWKT('SRID=4674;POINT (-39.020012 -3.39168)'))) / (select extract(epoch from '2026-07-28 15:26:43'::timestamp) - extract(epoch from '2026-07-28 15:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019961 -3.391702)'), GeomFromEWKT('SRID=4674;POINT (-39.020012 -3.39168)'))) / (select extract(epoch from '2026-07-28 15:26:43'::timestamp) - extract(epoch from '2026-07-28 15:26: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'), 47422, 'SRID=4674;POINT (-39.020056 -3.391673)', '2026-07-28 15:27:02', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020012 -3.39168)'), GeomFromEWKT('SRID=4674;POINT (-39.020056 -3.391673)'))) / (select extract(epoch from '2026-07-28 15:27:02'::timestamp) - extract(epoch from '2026-07-28 15:26:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020012 -3.39168)'), GeomFromEWKT('SRID=4674;POINT (-39.020056 -3.391673)'))) / (select extract(epoch from '2026-07-28 15:27:02'::timestamp) - extract(epoch from '2026-07-28 15:26: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'), 47422, 'SRID=4674;POINT (-39.020075 -3.391667)', '2026-07-28 15:27:09', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020056 -3.391673)'), GeomFromEWKT('SRID=4674;POINT (-39.020075 -3.391667)'))) / (select extract(epoch from '2026-07-28 15:27:09'::timestamp) - extract(epoch from '2026-07-28 15:27:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020056 -3.391673)'), GeomFromEWKT('SRID=4674;POINT (-39.020075 -3.391667)'))) / (select extract(epoch from '2026-07-28 15:27:09'::timestamp) - extract(epoch from '2026-07-28 15:27: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'), 47422, 'SRID=4674;POINT (-39.0201 -3.391658)', '2026-07-28 15:27:18', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020075 -3.391667)'), GeomFromEWKT('SRID=4674;POINT (-39.0201 -3.391658)'))) / (select extract(epoch from '2026-07-28 15:27:18'::timestamp) - extract(epoch from '2026-07-28 15:27:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020075 -3.391667)'), GeomFromEWKT('SRID=4674;POINT (-39.0201 -3.391658)'))) / (select extract(epoch from '2026-07-28 15:27:18'::timestamp) - extract(epoch from '2026-07-28 15:27: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'), 47422, 'SRID=4674;POINT (-39.020132 -3.391653)', '2026-07-28 15:27:26', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0201 -3.391658)'), GeomFromEWKT('SRID=4674;POINT (-39.020132 -3.391653)'))) / (select extract(epoch from '2026-07-28 15:27:26'::timestamp) - extract(epoch from '2026-07-28 15:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0201 -3.391658)'), GeomFromEWKT('SRID=4674;POINT (-39.020132 -3.391653)'))) / (select extract(epoch from '2026-07-28 15:27:26'::timestamp) - extract(epoch from '2026-07-28 15:27: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'), 47422, 'SRID=4674;POINT (-39.020159 -3.391646)', '2026-07-28 15:27:35', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020132 -3.391653)'), GeomFromEWKT('SRID=4674;POINT (-39.020159 -3.391646)'))) / (select extract(epoch from '2026-07-28 15:27:35'::timestamp) - extract(epoch from '2026-07-28 15:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020132 -3.391653)'), GeomFromEWKT('SRID=4674;POINT (-39.020159 -3.391646)'))) / (select extract(epoch from '2026-07-28 15:27:35'::timestamp) - extract(epoch from '2026-07-28 15:27: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'), 47422, 'SRID=4674;POINT (-39.020191 -3.391641)', '2026-07-28 15:27:44', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020159 -3.391646)'), GeomFromEWKT('SRID=4674;POINT (-39.020191 -3.391641)'))) / (select extract(epoch from '2026-07-28 15:27:44'::timestamp) - extract(epoch from '2026-07-28 15:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020159 -3.391646)'), GeomFromEWKT('SRID=4674;POINT (-39.020191 -3.391641)'))) / (select extract(epoch from '2026-07-28 15:27:44'::timestamp) - extract(epoch from '2026-07-28 15:27: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'), 47422, 'SRID=4674;POINT (-39.020232 -3.391637)', '2026-07-28 15:27:53', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020191 -3.391641)'), GeomFromEWKT('SRID=4674;POINT (-39.020232 -3.391637)'))) / (select extract(epoch from '2026-07-28 15:27:53'::timestamp) - extract(epoch from '2026-07-28 15:27:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020191 -3.391641)'), GeomFromEWKT('SRID=4674;POINT (-39.020232 -3.391637)'))) / (select extract(epoch from '2026-07-28 15:27:53'::timestamp) - extract(epoch from '2026-07-28 15:27: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'), 47422, 'SRID=4674;POINT (-39.020285 -3.391633)', '2026-07-28 15:28:04', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020232 -3.391637)'), GeomFromEWKT('SRID=4674;POINT (-39.020285 -3.391633)'))) / (select extract(epoch from '2026-07-28 15:28:04'::timestamp) - extract(epoch from '2026-07-28 15:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020232 -3.391637)'), GeomFromEWKT('SRID=4674;POINT (-39.020285 -3.391633)'))) / (select extract(epoch from '2026-07-28 15:28:04'::timestamp) - extract(epoch from '2026-07-28 15:27: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'), 47422, 'SRID=4674;POINT (-39.020308 -3.391618)', '2026-07-28 15:28:12', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020285 -3.391633)'), GeomFromEWKT('SRID=4674;POINT (-39.020308 -3.391618)'))) / (select extract(epoch from '2026-07-28 15:28:12'::timestamp) - extract(epoch from '2026-07-28 15:28:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020285 -3.391633)'), GeomFromEWKT('SRID=4674;POINT (-39.020308 -3.391618)'))) / (select extract(epoch from '2026-07-28 15:28:12'::timestamp) - extract(epoch from '2026-07-28 15:28: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'), 47422, 'SRID=4674;POINT (-39.020324 -3.391619)', '2026-07-28 15:28:19', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020308 -3.391618)'), GeomFromEWKT('SRID=4674;POINT (-39.020324 -3.391619)'))) / (select extract(epoch from '2026-07-28 15:28:19'::timestamp) - extract(epoch from '2026-07-28 15:28:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020308 -3.391618)'), GeomFromEWKT('SRID=4674;POINT (-39.020324 -3.391619)'))) / (select extract(epoch from '2026-07-28 15:28:19'::timestamp) - extract(epoch from '2026-07-28 15:28: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'), 47422, 'SRID=4674;POINT (-39.020334 -3.391616)', '2026-07-28 15:28:25', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020324 -3.391619)'), GeomFromEWKT('SRID=4674;POINT (-39.020334 -3.391616)'))) / (select extract(epoch from '2026-07-28 15:28:25'::timestamp) - extract(epoch from '2026-07-28 15:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020324 -3.391619)'), GeomFromEWKT('SRID=4674;POINT (-39.020334 -3.391616)'))) / (select extract(epoch from '2026-07-28 15:28:25'::timestamp) - extract(epoch from '2026-07-28 15:28: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'), 47422, 'SRID=4674;POINT (-39.020339 -3.391617)', '2026-07-28 15:28:37', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020334 -3.391616)'), GeomFromEWKT('SRID=4674;POINT (-39.020339 -3.391617)'))) / (select extract(epoch from '2026-07-28 15:28:37'::timestamp) - extract(epoch from '2026-07-28 15:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020334 -3.391616)'), GeomFromEWKT('SRID=4674;POINT (-39.020339 -3.391617)'))) / (select extract(epoch from '2026-07-28 15:28:37'::timestamp) - extract(epoch from '2026-07-28 15:28: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'), 47422, 'SRID=4674;POINT (-39.020349 -3.391619)', '2026-07-28 15:28:49', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020339 -3.391617)'), GeomFromEWKT('SRID=4674;POINT (-39.020349 -3.391619)'))) / (select extract(epoch from '2026-07-28 15:28:49'::timestamp) - extract(epoch from '2026-07-28 15:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020339 -3.391617)'), GeomFromEWKT('SRID=4674;POINT (-39.020349 -3.391619)'))) / (select extract(epoch from '2026-07-28 15:28:49'::timestamp) - extract(epoch from '2026-07-28 15:28: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'), 47422, 'SRID=4674;POINT (-39.020354 -3.391615)', '2026-07-28 15:29:02', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020349 -3.391619)'), GeomFromEWKT('SRID=4674;POINT (-39.020354 -3.391615)'))) / (select extract(epoch from '2026-07-28 15:29:02'::timestamp) - extract(epoch from '2026-07-28 15:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020349 -3.391619)'), GeomFromEWKT('SRID=4674;POINT (-39.020354 -3.391615)'))) / (select extract(epoch from '2026-07-28 15:29:02'::timestamp) - extract(epoch from '2026-07-28 15:28: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'), 47422, 'SRID=4674;POINT (-39.020365 -3.391615)', '2026-07-28 15:29:13', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020354 -3.391615)'), GeomFromEWKT('SRID=4674;POINT (-39.020365 -3.391615)'))) / (select extract(epoch from '2026-07-28 15:29:13'::timestamp) - extract(epoch from '2026-07-28 15:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020354 -3.391615)'), GeomFromEWKT('SRID=4674;POINT (-39.020365 -3.391615)'))) / (select extract(epoch from '2026-07-28 15:29:13'::timestamp) - extract(epoch from '2026-07-28 15:29: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'), 47422, 'SRID=4674;POINT (-39.020389 -3.391609)', '2026-07-28 15:29:26', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020365 -3.391615)'), GeomFromEWKT('SRID=4674;POINT (-39.020389 -3.391609)'))) / (select extract(epoch from '2026-07-28 15:29:26'::timestamp) - extract(epoch from '2026-07-28 15:29:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020365 -3.391615)'), GeomFromEWKT('SRID=4674;POINT (-39.020389 -3.391609)'))) / (select extract(epoch from '2026-07-28 15:29:26'::timestamp) - extract(epoch from '2026-07-28 15:29: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'), 47422, 'SRID=4674;POINT (-39.020404 -3.391607)', '2026-07-28 15:29:33', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020389 -3.391609)'), GeomFromEWKT('SRID=4674;POINT (-39.020404 -3.391607)'))) / (select extract(epoch from '2026-07-28 15:29:33'::timestamp) - extract(epoch from '2026-07-28 15:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020389 -3.391609)'), GeomFromEWKT('SRID=4674;POINT (-39.020404 -3.391607)'))) / (select extract(epoch from '2026-07-28 15:29:33'::timestamp) - extract(epoch from '2026-07-28 15:29: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'), 47422, 'SRID=4674;POINT (-39.020418 -3.3916)', '2026-07-28 15:29:40', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020404 -3.391607)'), GeomFromEWKT('SRID=4674;POINT (-39.020418 -3.3916)'))) / (select extract(epoch from '2026-07-28 15:29:40'::timestamp) - extract(epoch from '2026-07-28 15:29:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020404 -3.391607)'), GeomFromEWKT('SRID=4674;POINT (-39.020418 -3.3916)'))) / (select extract(epoch from '2026-07-28 15:29:40'::timestamp) - extract(epoch from '2026-07-28 15:29: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'), 47422, 'SRID=4674;POINT (-39.020426 -3.391595)', '2026-07-28 15:29:46', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020418 -3.3916)'), GeomFromEWKT('SRID=4674;POINT (-39.020426 -3.391595)'))) / (select extract(epoch from '2026-07-28 15:29:46'::timestamp) - extract(epoch from '2026-07-28 15:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020418 -3.3916)'), GeomFromEWKT('SRID=4674;POINT (-39.020426 -3.391595)'))) / (select extract(epoch from '2026-07-28 15:29:46'::timestamp) - extract(epoch from '2026-07-28 15:29: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'), 47422, 'SRID=4674;POINT (-39.020438 -3.391591)', '2026-07-28 15:29:54', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020426 -3.391595)'), GeomFromEWKT('SRID=4674;POINT (-39.020438 -3.391591)'))) / (select extract(epoch from '2026-07-28 15:29:54'::timestamp) - extract(epoch from '2026-07-28 15:29:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020426 -3.391595)'), GeomFromEWKT('SRID=4674;POINT (-39.020438 -3.391591)'))) / (select extract(epoch from '2026-07-28 15:29:54'::timestamp) - extract(epoch from '2026-07-28 15:29: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'), 47422, 'SRID=4674;POINT (-39.020458 -3.391595)', '2026-07-28 15:30:02', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020438 -3.391591)'), GeomFromEWKT('SRID=4674;POINT (-39.020458 -3.391595)'))) / (select extract(epoch from '2026-07-28 15:30:02'::timestamp) - extract(epoch from '2026-07-28 15:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020438 -3.391591)'), GeomFromEWKT('SRID=4674;POINT (-39.020458 -3.391595)'))) / (select extract(epoch from '2026-07-28 15:30:02'::timestamp) - extract(epoch from '2026-07-28 15:29: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'), 47422, 'SRID=4674;POINT (-39.020474 -3.391595)', '2026-07-28 15:30:12', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020458 -3.391595)'), GeomFromEWKT('SRID=4674;POINT (-39.020474 -3.391595)'))) / (select extract(epoch from '2026-07-28 15:30:12'::timestamp) - extract(epoch from '2026-07-28 15:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020458 -3.391595)'), GeomFromEWKT('SRID=4674;POINT (-39.020474 -3.391595)'))) / (select extract(epoch from '2026-07-28 15:30:12'::timestamp) - extract(epoch from '2026-07-28 15:30: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'), 47422, 'SRID=4674;POINT (-39.020483 -3.391598)', '2026-07-28 15:30:20', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020474 -3.391595)'), GeomFromEWKT('SRID=4674;POINT (-39.020483 -3.391598)'))) / (select extract(epoch from '2026-07-28 15:30:20'::timestamp) - extract(epoch from '2026-07-28 15:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020474 -3.391595)'), GeomFromEWKT('SRID=4674;POINT (-39.020483 -3.391598)'))) / (select extract(epoch from '2026-07-28 15:30:20'::timestamp) - extract(epoch from '2026-07-28 15:30: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'), 47422, 'SRID=4674;POINT (-39.02049 -3.391598)', '2026-07-28 15:30:31', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020483 -3.391598)'), GeomFromEWKT('SRID=4674;POINT (-39.02049 -3.391598)'))) / (select extract(epoch from '2026-07-28 15:30:31'::timestamp) - extract(epoch from '2026-07-28 15:30:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020483 -3.391598)'), GeomFromEWKT('SRID=4674;POINT (-39.02049 -3.391598)'))) / (select extract(epoch from '2026-07-28 15:30:31'::timestamp) - extract(epoch from '2026-07-28 15:30: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'), 47422, 'SRID=4674;POINT (-39.020504 -3.391604)', '2026-07-28 15:30:38', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02049 -3.391598)'), GeomFromEWKT('SRID=4674;POINT (-39.020504 -3.391604)'))) / (select extract(epoch from '2026-07-28 15:30:38'::timestamp) - extract(epoch from '2026-07-28 15:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02049 -3.391598)'), GeomFromEWKT('SRID=4674;POINT (-39.020504 -3.391604)'))) / (select extract(epoch from '2026-07-28 15:30:38'::timestamp) - extract(epoch from '2026-07-28 15:30: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'), 47422, 'SRID=4674;POINT (-39.020536 -3.391601)', '2026-07-28 15:30:46', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020504 -3.391604)'), GeomFromEWKT('SRID=4674;POINT (-39.020536 -3.391601)'))) / (select extract(epoch from '2026-07-28 15:30:46'::timestamp) - extract(epoch from '2026-07-28 15:30:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020504 -3.391604)'), GeomFromEWKT('SRID=4674;POINT (-39.020536 -3.391601)'))) / (select extract(epoch from '2026-07-28 15:30:46'::timestamp) - extract(epoch from '2026-07-28 15:30: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'), 47422, 'SRID=4674;POINT (-39.020565 -3.391593)', '2026-07-28 15:30:58', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020536 -3.391601)'), GeomFromEWKT('SRID=4674;POINT (-39.020565 -3.391593)'))) / (select extract(epoch from '2026-07-28 15:30:58'::timestamp) - extract(epoch from '2026-07-28 15:30:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020536 -3.391601)'), GeomFromEWKT('SRID=4674;POINT (-39.020565 -3.391593)'))) / (select extract(epoch from '2026-07-28 15:30:58'::timestamp) - extract(epoch from '2026-07-28 15:30: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'), 47422, 'SRID=4674;POINT (-39.020583 -3.391591)', '2026-07-28 15:31:05', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020565 -3.391593)'), GeomFromEWKT('SRID=4674;POINT (-39.020583 -3.391591)'))) / (select extract(epoch from '2026-07-28 15:31:05'::timestamp) - extract(epoch from '2026-07-28 15:30:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020565 -3.391593)'), GeomFromEWKT('SRID=4674;POINT (-39.020583 -3.391591)'))) / (select extract(epoch from '2026-07-28 15:31:05'::timestamp) - extract(epoch from '2026-07-28 15:30: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'), 47422, 'SRID=4674;POINT (-39.0206 -3.391582)', '2026-07-28 15:31:15', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020583 -3.391591)'), GeomFromEWKT('SRID=4674;POINT (-39.0206 -3.391582)'))) / (select extract(epoch from '2026-07-28 15:31:15'::timestamp) - extract(epoch from '2026-07-28 15:31:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020583 -3.391591)'), GeomFromEWKT('SRID=4674;POINT (-39.0206 -3.391582)'))) / (select extract(epoch from '2026-07-28 15:31:15'::timestamp) - extract(epoch from '2026-07-28 15:31: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'), 47422, 'SRID=4674;POINT (-39.020612 -3.391584)', '2026-07-28 15:31:25', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0206 -3.391582)'), GeomFromEWKT('SRID=4674;POINT (-39.020612 -3.391584)'))) / (select extract(epoch from '2026-07-28 15:31:25'::timestamp) - extract(epoch from '2026-07-28 15:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0206 -3.391582)'), GeomFromEWKT('SRID=4674;POINT (-39.020612 -3.391584)'))) / (select extract(epoch from '2026-07-28 15:31:25'::timestamp) - extract(epoch from '2026-07-28 15:31: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'), 47422, 'SRID=4674;POINT (-39.020624 -3.391582)', '2026-07-28 15:31:31', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020612 -3.391584)'), GeomFromEWKT('SRID=4674;POINT (-39.020624 -3.391582)'))) / (select extract(epoch from '2026-07-28 15:31:31'::timestamp) - extract(epoch from '2026-07-28 15:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020612 -3.391584)'), GeomFromEWKT('SRID=4674;POINT (-39.020624 -3.391582)'))) / (select extract(epoch from '2026-07-28 15:31:31'::timestamp) - extract(epoch from '2026-07-28 15:31: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'), 47422, 'SRID=4674;POINT (-39.020649 -3.391575)', '2026-07-28 15:31:40', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020624 -3.391582)'), GeomFromEWKT('SRID=4674;POINT (-39.020649 -3.391575)'))) / (select extract(epoch from '2026-07-28 15:31:40'::timestamp) - extract(epoch from '2026-07-28 15:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020624 -3.391582)'), GeomFromEWKT('SRID=4674;POINT (-39.020649 -3.391575)'))) / (select extract(epoch from '2026-07-28 15:31:40'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.020666 -3.391567)', '2026-07-28 15:31:51', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020649 -3.391575)'), GeomFromEWKT('SRID=4674;POINT (-39.020666 -3.391567)'))) / (select extract(epoch from '2026-07-28 15:31:51'::timestamp) - extract(epoch from '2026-07-28 15:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020649 -3.391575)'), GeomFromEWKT('SRID=4674;POINT (-39.020666 -3.391567)'))) / (select extract(epoch from '2026-07-28 15:31:51'::timestamp) - extract(epoch from '2026-07-28 15:31:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.020681 -3.391569)', '2026-07-28 15:31:59', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020666 -3.391567)'), GeomFromEWKT('SRID=4674;POINT (-39.020681 -3.391569)'))) / (select extract(epoch from '2026-07-28 15:31:59'::timestamp) - extract(epoch from '2026-07-28 15:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020666 -3.391567)'), GeomFromEWKT('SRID=4674;POINT (-39.020681 -3.391569)'))) / (select extract(epoch from '2026-07-28 15:31:59'::timestamp) - extract(epoch from '2026-07-28 15:31:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.020705 -3.39157)', '2026-07-28 15:32:10', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020681 -3.391569)'), GeomFromEWKT('SRID=4674;POINT (-39.020705 -3.39157)'))) / (select extract(epoch from '2026-07-28 15:32:10'::timestamp) - extract(epoch from '2026-07-28 15:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020681 -3.391569)'), GeomFromEWKT('SRID=4674;POINT (-39.020705 -3.39157)'))) / (select extract(epoch from '2026-07-28 15:32:10'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.020732 -3.391566)', '2026-07-28 15:32:23', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020705 -3.39157)'), GeomFromEWKT('SRID=4674;POINT (-39.020732 -3.391566)'))) / (select extract(epoch from '2026-07-28 15:32:23'::timestamp) - extract(epoch from '2026-07-28 15:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020705 -3.39157)'), GeomFromEWKT('SRID=4674;POINT (-39.020732 -3.391566)'))) / (select extract(epoch from '2026-07-28 15:32:23'::timestamp) - extract(epoch from '2026-07-28 15:32:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.020757 -3.391566)', '2026-07-28 15:32:31', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020732 -3.391566)'), GeomFromEWKT('SRID=4674;POINT (-39.020757 -3.391566)'))) / (select extract(epoch from '2026-07-28 15:32:31'::timestamp) - extract(epoch from '2026-07-28 15:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020732 -3.391566)'), GeomFromEWKT('SRID=4674;POINT (-39.020757 -3.391566)'))) / (select extract(epoch from '2026-07-28 15:32:31'::timestamp) - extract(epoch from '2026-07-28 15:32:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.020777 -3.391558)', '2026-07-28 15:32:41', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020757 -3.391566)'), GeomFromEWKT('SRID=4674;POINT (-39.020777 -3.391558)'))) / (select extract(epoch from '2026-07-28 15:32:41'::timestamp) - extract(epoch from '2026-07-28 15:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020757 -3.391566)'), GeomFromEWKT('SRID=4674;POINT (-39.020777 -3.391558)'))) / (select extract(epoch from '2026-07-28 15:32:41'::timestamp) - extract(epoch from '2026-07-28 15:32:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.020788 -3.391556)', '2026-07-28 15:32:50', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020777 -3.391558)'), GeomFromEWKT('SRID=4674;POINT (-39.020788 -3.391556)'))) / (select extract(epoch from '2026-07-28 15:32:50'::timestamp) - extract(epoch from '2026-07-28 15:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020777 -3.391558)'), GeomFromEWKT('SRID=4674;POINT (-39.020788 -3.391556)'))) / (select extract(epoch from '2026-07-28 15:32:50'::timestamp) - extract(epoch from '2026-07-28 15:32:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.020802 -3.391555)', '2026-07-28 15:32:56', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020788 -3.391556)'), GeomFromEWKT('SRID=4674;POINT (-39.020802 -3.391555)'))) / (select extract(epoch from '2026-07-28 15:32:56'::timestamp) - extract(epoch from '2026-07-28 15:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020788 -3.391556)'), GeomFromEWKT('SRID=4674;POINT (-39.020802 -3.391555)'))) / (select extract(epoch from '2026-07-28 15:32:56'::timestamp) - extract(epoch from '2026-07-28 15:32:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.020815 -3.391557)', '2026-07-28 15:33:02', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020802 -3.391555)'), GeomFromEWKT('SRID=4674;POINT (-39.020815 -3.391557)'))) / (select extract(epoch from '2026-07-28 15:33:02'::timestamp) - extract(epoch from '2026-07-28 15:32:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020802 -3.391555)'), GeomFromEWKT('SRID=4674;POINT (-39.020815 -3.391557)'))) / (select extract(epoch from '2026-07-28 15:33:02'::timestamp) - extract(epoch from '2026-07-28 15:32: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'), 47422, 'SRID=4674;POINT (-39.02084 -3.391552)', '2026-07-28 15:33:08', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020815 -3.391557)'), GeomFromEWKT('SRID=4674;POINT (-39.02084 -3.391552)'))) / (select extract(epoch from '2026-07-28 15:33:08'::timestamp) - extract(epoch from '2026-07-28 15:33:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020815 -3.391557)'), GeomFromEWKT('SRID=4674;POINT (-39.02084 -3.391552)'))) / (select extract(epoch from '2026-07-28 15:33:08'::timestamp) - extract(epoch from '2026-07-28 15:33: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'), 47422, 'SRID=4674;POINT (-39.020859 -3.391545)', '2026-07-28 15:33:20', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02084 -3.391552)'), GeomFromEWKT('SRID=4674;POINT (-39.020859 -3.391545)'))) / (select extract(epoch from '2026-07-28 15:33:20'::timestamp) - extract(epoch from '2026-07-28 15:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02084 -3.391552)'), GeomFromEWKT('SRID=4674;POINT (-39.020859 -3.391545)'))) / (select extract(epoch from '2026-07-28 15:33:20'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.020879 -3.391537)', '2026-07-28 15:33:27', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020859 -3.391545)'), GeomFromEWKT('SRID=4674;POINT (-39.020879 -3.391537)'))) / (select extract(epoch from '2026-07-28 15:33:27'::timestamp) - extract(epoch from '2026-07-28 15:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020859 -3.391545)'), GeomFromEWKT('SRID=4674;POINT (-39.020879 -3.391537)'))) / (select extract(epoch from '2026-07-28 15:33:27'::timestamp) - extract(epoch from '2026-07-28 15:33: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'), 47422, 'SRID=4674;POINT (-39.020919 -3.391525)', '2026-07-28 15:33:41', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020879 -3.391537)'), GeomFromEWKT('SRID=4674;POINT (-39.020919 -3.391525)'))) / (select extract(epoch from '2026-07-28 15:33:41'::timestamp) - extract(epoch from '2026-07-28 15:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020879 -3.391537)'), GeomFromEWKT('SRID=4674;POINT (-39.020919 -3.391525)'))) / (select extract(epoch from '2026-07-28 15:33:41'::timestamp) - extract(epoch from '2026-07-28 15:33: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'), 47422, 'SRID=4674;POINT (-39.020956 -3.391519)', '2026-07-28 15:33:50', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020919 -3.391525)'), GeomFromEWKT('SRID=4674;POINT (-39.020956 -3.391519)'))) / (select extract(epoch from '2026-07-28 15:33:50'::timestamp) - extract(epoch from '2026-07-28 15:33:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020919 -3.391525)'), GeomFromEWKT('SRID=4674;POINT (-39.020956 -3.391519)'))) / (select extract(epoch from '2026-07-28 15:33:50'::timestamp) - extract(epoch from '2026-07-28 15:33: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'), 47422, 'SRID=4674;POINT (-39.021 -3.391524)', '2026-07-28 15:33:59', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020956 -3.391519)'), GeomFromEWKT('SRID=4674;POINT (-39.021 -3.391524)'))) / (select extract(epoch from '2026-07-28 15:33:59'::timestamp) - extract(epoch from '2026-07-28 15:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020956 -3.391519)'), GeomFromEWKT('SRID=4674;POINT (-39.021 -3.391524)'))) / (select extract(epoch from '2026-07-28 15:33:59'::timestamp) - extract(epoch from '2026-07-28 15:33: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'), 47422, 'SRID=4674;POINT (-39.021035 -3.391515)', '2026-07-28 15:34:07', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021 -3.391524)'), GeomFromEWKT('SRID=4674;POINT (-39.021035 -3.391515)'))) / (select extract(epoch from '2026-07-28 15:34:07'::timestamp) - extract(epoch from '2026-07-28 15:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021 -3.391524)'), GeomFromEWKT('SRID=4674;POINT (-39.021035 -3.391515)'))) / (select extract(epoch from '2026-07-28 15:34:07'::timestamp) - extract(epoch from '2026-07-28 15:33: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'), 47422, 'SRID=4674;POINT (-39.021082 -3.391503)', '2026-07-28 15:34:16', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021035 -3.391515)'), GeomFromEWKT('SRID=4674;POINT (-39.021082 -3.391503)'))) / (select extract(epoch from '2026-07-28 15:34:16'::timestamp) - extract(epoch from '2026-07-28 15:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021035 -3.391515)'), GeomFromEWKT('SRID=4674;POINT (-39.021082 -3.391503)'))) / (select extract(epoch from '2026-07-28 15:34:16'::timestamp) - extract(epoch from '2026-07-28 15:34: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'), 47422, 'SRID=4674;POINT (-39.021098 -3.391491)', '2026-07-28 15:34:25', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021082 -3.391503)'), GeomFromEWKT('SRID=4674;POINT (-39.021098 -3.391491)'))) / (select extract(epoch from '2026-07-28 15:34:25'::timestamp) - extract(epoch from '2026-07-28 15:34:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021082 -3.391503)'), GeomFromEWKT('SRID=4674;POINT (-39.021098 -3.391491)'))) / (select extract(epoch from '2026-07-28 15:34:25'::timestamp) - extract(epoch from '2026-07-28 15:34: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'), 47422, 'SRID=4674;POINT (-39.021117 -3.391488)', '2026-07-28 15:34:34', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021098 -3.391491)'), GeomFromEWKT('SRID=4674;POINT (-39.021117 -3.391488)'))) / (select extract(epoch from '2026-07-28 15:34:34'::timestamp) - extract(epoch from '2026-07-28 15:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021098 -3.391491)'), GeomFromEWKT('SRID=4674;POINT (-39.021117 -3.391488)'))) / (select extract(epoch from '2026-07-28 15:34:34'::timestamp) - extract(epoch from '2026-07-28 15:34: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'), 47422, 'SRID=4674;POINT (-39.021138 -3.391485)', '2026-07-28 15:34:43', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021117 -3.391488)'), GeomFromEWKT('SRID=4674;POINT (-39.021138 -3.391485)'))) / (select extract(epoch from '2026-07-28 15:34:43'::timestamp) - extract(epoch from '2026-07-28 15:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021117 -3.391488)'), GeomFromEWKT('SRID=4674;POINT (-39.021138 -3.391485)'))) / (select extract(epoch from '2026-07-28 15:34:43'::timestamp) - extract(epoch from '2026-07-28 15:34: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'), 47422, 'SRID=4674;POINT (-39.021156 -3.391483)', '2026-07-28 15:34:54', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021138 -3.391485)'), GeomFromEWKT('SRID=4674;POINT (-39.021156 -3.391483)'))) / (select extract(epoch from '2026-07-28 15:34:54'::timestamp) - extract(epoch from '2026-07-28 15:34:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021138 -3.391485)'), GeomFromEWKT('SRID=4674;POINT (-39.021156 -3.391483)'))) / (select extract(epoch from '2026-07-28 15:34:54'::timestamp) - extract(epoch from '2026-07-28 15:34: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'), 47422, 'SRID=4674;POINT (-39.021176 -3.391481)', '2026-07-28 15:35:07', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021156 -3.391483)'), GeomFromEWKT('SRID=4674;POINT (-39.021176 -3.391481)'))) / (select extract(epoch from '2026-07-28 15:35:07'::timestamp) - extract(epoch from '2026-07-28 15:34:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021156 -3.391483)'), GeomFromEWKT('SRID=4674;POINT (-39.021176 -3.391481)'))) / (select extract(epoch from '2026-07-28 15:35:07'::timestamp) - extract(epoch from '2026-07-28 15:34: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'), 47422, 'SRID=4674;POINT (-39.021193 -3.391477)', '2026-07-28 15:35:18', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021176 -3.391481)'), GeomFromEWKT('SRID=4674;POINT (-39.021193 -3.391477)'))) / (select extract(epoch from '2026-07-28 15:35:18'::timestamp) - extract(epoch from '2026-07-28 15:35:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021176 -3.391481)'), GeomFromEWKT('SRID=4674;POINT (-39.021193 -3.391477)'))) / (select extract(epoch from '2026-07-28 15:35:18'::timestamp) - extract(epoch from '2026-07-28 15:35: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'), 47422, 'SRID=4674;POINT (-39.021214 -3.391467)', '2026-07-28 15:35:28', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021193 -3.391477)'), GeomFromEWKT('SRID=4674;POINT (-39.021214 -3.391467)'))) / (select extract(epoch from '2026-07-28 15:35:28'::timestamp) - extract(epoch from '2026-07-28 15:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021193 -3.391477)'), GeomFromEWKT('SRID=4674;POINT (-39.021214 -3.391467)'))) / (select extract(epoch from '2026-07-28 15:35:28'::timestamp) - extract(epoch from '2026-07-28 15:35: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'), 47422, 'SRID=4674;POINT (-39.021236 -3.39146)', '2026-07-28 15:35:36', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021214 -3.391467)'), GeomFromEWKT('SRID=4674;POINT (-39.021236 -3.39146)'))) / (select extract(epoch from '2026-07-28 15:35:36'::timestamp) - extract(epoch from '2026-07-28 15:35:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021214 -3.391467)'), GeomFromEWKT('SRID=4674;POINT (-39.021236 -3.39146)'))) / (select extract(epoch from '2026-07-28 15:35:36'::timestamp) - extract(epoch from '2026-07-28 15:35: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'), 47422, 'SRID=4674;POINT (-39.021259 -3.391456)', '2026-07-28 15:35:46', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021236 -3.39146)'), GeomFromEWKT('SRID=4674;POINT (-39.021259 -3.391456)'))) / (select extract(epoch from '2026-07-28 15:35:46'::timestamp) - extract(epoch from '2026-07-28 15:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021236 -3.39146)'), GeomFromEWKT('SRID=4674;POINT (-39.021259 -3.391456)'))) / (select extract(epoch from '2026-07-28 15:35:46'::timestamp) - extract(epoch from '2026-07-28 15:35: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'), 47422, 'SRID=4674;POINT (-39.021281 -3.391448)', '2026-07-28 15:35:57', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021259 -3.391456)'), GeomFromEWKT('SRID=4674;POINT (-39.021281 -3.391448)'))) / (select extract(epoch from '2026-07-28 15:35:57'::timestamp) - extract(epoch from '2026-07-28 15:35:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021259 -3.391456)'), GeomFromEWKT('SRID=4674;POINT (-39.021281 -3.391448)'))) / (select extract(epoch from '2026-07-28 15:35:57'::timestamp) - extract(epoch from '2026-07-28 15:35: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'), 47422, 'SRID=4674;POINT (-39.021306 -3.391439)', '2026-07-28 15:36:06', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021281 -3.391448)'), GeomFromEWKT('SRID=4674;POINT (-39.021306 -3.391439)'))) / (select extract(epoch from '2026-07-28 15:36:06'::timestamp) - extract(epoch from '2026-07-28 15:35:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021281 -3.391448)'), GeomFromEWKT('SRID=4674;POINT (-39.021306 -3.391439)'))) / (select extract(epoch from '2026-07-28 15:36:06'::timestamp) - extract(epoch from '2026-07-28 15:35: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'), 47422, 'SRID=4674;POINT (-39.021329 -3.391434)', '2026-07-28 15:36:13', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021306 -3.391439)'), GeomFromEWKT('SRID=4674;POINT (-39.021329 -3.391434)'))) / (select extract(epoch from '2026-07-28 15:36:13'::timestamp) - extract(epoch from '2026-07-28 15:36:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021306 -3.391439)'), GeomFromEWKT('SRID=4674;POINT (-39.021329 -3.391434)'))) / (select extract(epoch from '2026-07-28 15:36:13'::timestamp) - extract(epoch from '2026-07-28 15:36: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'), 47422, 'SRID=4674;POINT (-39.021352 -3.391429)', '2026-07-28 15:36:19', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021329 -3.391434)'), GeomFromEWKT('SRID=4674;POINT (-39.021352 -3.391429)'))) / (select extract(epoch from '2026-07-28 15:36:19'::timestamp) - extract(epoch from '2026-07-28 15:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021329 -3.391434)'), GeomFromEWKT('SRID=4674;POINT (-39.021352 -3.391429)'))) / (select extract(epoch from '2026-07-28 15:36:19'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.021373 -3.391418)', '2026-07-28 15:36:28', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021352 -3.391429)'), GeomFromEWKT('SRID=4674;POINT (-39.021373 -3.391418)'))) / (select extract(epoch from '2026-07-28 15:36:28'::timestamp) - extract(epoch from '2026-07-28 15:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021352 -3.391429)'), GeomFromEWKT('SRID=4674;POINT (-39.021373 -3.391418)'))) / (select extract(epoch from '2026-07-28 15:36:28'::timestamp) - extract(epoch from '2026-07-28 15:36: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'), 47422, 'SRID=4674;POINT (-39.02139 -3.391407)', '2026-07-28 15:36:38', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021373 -3.391418)'), GeomFromEWKT('SRID=4674;POINT (-39.02139 -3.391407)'))) / (select extract(epoch from '2026-07-28 15:36:38'::timestamp) - extract(epoch from '2026-07-28 15:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021373 -3.391418)'), GeomFromEWKT('SRID=4674;POINT (-39.02139 -3.391407)'))) / (select extract(epoch from '2026-07-28 15:36:38'::timestamp) - extract(epoch from '2026-07-28 15:36: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'), 47422, 'SRID=4674;POINT (-39.021408 -3.391406)', '2026-07-28 15:36:47', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02139 -3.391407)'), GeomFromEWKT('SRID=4674;POINT (-39.021408 -3.391406)'))) / (select extract(epoch from '2026-07-28 15:36:47'::timestamp) - extract(epoch from '2026-07-28 15:36:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02139 -3.391407)'), GeomFromEWKT('SRID=4674;POINT (-39.021408 -3.391406)'))) / (select extract(epoch from '2026-07-28 15:36:47'::timestamp) - extract(epoch from '2026-07-28 15:36: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'), 47422, 'SRID=4674;POINT (-39.02142 -3.391405)', '2026-07-28 15:36:53', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021408 -3.391406)'), GeomFromEWKT('SRID=4674;POINT (-39.02142 -3.391405)'))) / (select extract(epoch from '2026-07-28 15:36:53'::timestamp) - extract(epoch from '2026-07-28 15:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021408 -3.391406)'), GeomFromEWKT('SRID=4674;POINT (-39.02142 -3.391405)'))) / (select extract(epoch from '2026-07-28 15:36:53'::timestamp) - extract(epoch from '2026-07-28 15:36: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'), 47422, 'SRID=4674;POINT (-39.021439 -3.391395)', '2026-07-28 15:37:01', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02142 -3.391405)'), GeomFromEWKT('SRID=4674;POINT (-39.021439 -3.391395)'))) / (select extract(epoch from '2026-07-28 15:37:01'::timestamp) - extract(epoch from '2026-07-28 15:36:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02142 -3.391405)'), GeomFromEWKT('SRID=4674;POINT (-39.021439 -3.391395)'))) / (select extract(epoch from '2026-07-28 15:37:01'::timestamp) - extract(epoch from '2026-07-28 15:36: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'), 47422, 'SRID=4674;POINT (-39.02147 -3.391381)', '2026-07-28 15:37:11', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021439 -3.391395)'), GeomFromEWKT('SRID=4674;POINT (-39.02147 -3.391381)'))) / (select extract(epoch from '2026-07-28 15:37:11'::timestamp) - extract(epoch from '2026-07-28 15:37:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021439 -3.391395)'), GeomFromEWKT('SRID=4674;POINT (-39.02147 -3.391381)'))) / (select extract(epoch from '2026-07-28 15:37:11'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.021489 -3.391372)', '2026-07-28 15:37:19', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02147 -3.391381)'), GeomFromEWKT('SRID=4674;POINT (-39.021489 -3.391372)'))) / (select extract(epoch from '2026-07-28 15:37:19'::timestamp) - extract(epoch from '2026-07-28 15:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02147 -3.391381)'), GeomFromEWKT('SRID=4674;POINT (-39.021489 -3.391372)'))) / (select extract(epoch from '2026-07-28 15:37:19'::timestamp) - extract(epoch from '2026-07-28 15:37: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'), 47422, 'SRID=4674;POINT (-39.021511 -3.391363)', '2026-07-28 15:37:26', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021489 -3.391372)'), GeomFromEWKT('SRID=4674;POINT (-39.021511 -3.391363)'))) / (select extract(epoch from '2026-07-28 15:37:26'::timestamp) - extract(epoch from '2026-07-28 15:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021489 -3.391372)'), GeomFromEWKT('SRID=4674;POINT (-39.021511 -3.391363)'))) / (select extract(epoch from '2026-07-28 15:37:26'::timestamp) - extract(epoch from '2026-07-28 15:37: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'), 47422, 'SRID=4674;POINT (-39.021534 -3.391344)', '2026-07-28 15:37:35', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021511 -3.391363)'), GeomFromEWKT('SRID=4674;POINT (-39.021534 -3.391344)'))) / (select extract(epoch from '2026-07-28 15:37:35'::timestamp) - extract(epoch from '2026-07-28 15:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021511 -3.391363)'), GeomFromEWKT('SRID=4674;POINT (-39.021534 -3.391344)'))) / (select extract(epoch from '2026-07-28 15:37:35'::timestamp) - extract(epoch from '2026-07-28 15:37: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'), 47422, 'SRID=4674;POINT (-39.021545 -3.391344)', '2026-07-28 15:37:37', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021534 -3.391344)'), GeomFromEWKT('SRID=4674;POINT (-39.021545 -3.391344)'))) / (select extract(epoch from '2026-07-28 15:37:37'::timestamp) - extract(epoch from '2026-07-28 15:37:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021534 -3.391344)'), GeomFromEWKT('SRID=4674;POINT (-39.021545 -3.391344)'))) / (select extract(epoch from '2026-07-28 15:37:37'::timestamp) - extract(epoch from '2026-07-28 15:37: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'), 47422, 'SRID=4674;POINT (-39.021552 -3.391338)', '2026-07-28 15:37:40', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021545 -3.391344)'), GeomFromEWKT('SRID=4674;POINT (-39.021552 -3.391338)'))) / (select extract(epoch from '2026-07-28 15:37:40'::timestamp) - extract(epoch from '2026-07-28 15:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021545 -3.391344)'), GeomFromEWKT('SRID=4674;POINT (-39.021552 -3.391338)'))) / (select extract(epoch from '2026-07-28 15:37:40'::timestamp) - extract(epoch from '2026-07-28 15:37: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'), 47422, 'SRID=4674;POINT (-39.021582 -3.391336)', '2026-07-28 15:37:48', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021552 -3.391338)'), GeomFromEWKT('SRID=4674;POINT (-39.021582 -3.391336)'))) / (select extract(epoch from '2026-07-28 15:37:48'::timestamp) - extract(epoch from '2026-07-28 15:37:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021552 -3.391338)'), GeomFromEWKT('SRID=4674;POINT (-39.021582 -3.391336)'))) / (select extract(epoch from '2026-07-28 15:37:48'::timestamp) - extract(epoch from '2026-07-28 15:37: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'), 47422, 'SRID=4674;POINT (-39.021608 -3.391327)', '2026-07-28 15:38:00', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021582 -3.391336)'), GeomFromEWKT('SRID=4674;POINT (-39.021608 -3.391327)'))) / (select extract(epoch from '2026-07-28 15:38:00'::timestamp) - extract(epoch from '2026-07-28 15:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021582 -3.391336)'), GeomFromEWKT('SRID=4674;POINT (-39.021608 -3.391327)'))) / (select extract(epoch from '2026-07-28 15:38:00'::timestamp) - extract(epoch from '2026-07-28 15:37: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'), 47422, 'SRID=4674;POINT (-39.02163 -3.391322)', '2026-07-28 15:38:11', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021608 -3.391327)'), GeomFromEWKT('SRID=4674;POINT (-39.02163 -3.391322)'))) / (select extract(epoch from '2026-07-28 15:38:11'::timestamp) - extract(epoch from '2026-07-28 15:38:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021608 -3.391327)'), GeomFromEWKT('SRID=4674;POINT (-39.02163 -3.391322)'))) / (select extract(epoch from '2026-07-28 15:38:11'::timestamp) - extract(epoch from '2026-07-28 15:38: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'), 47422, 'SRID=4674;POINT (-39.021665 -3.391307)', '2026-07-28 15:38:23', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02163 -3.391322)'), GeomFromEWKT('SRID=4674;POINT (-39.021665 -3.391307)'))) / (select extract(epoch from '2026-07-28 15:38:23'::timestamp) - extract(epoch from '2026-07-28 15:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02163 -3.391322)'), GeomFromEWKT('SRID=4674;POINT (-39.021665 -3.391307)'))) / (select extract(epoch from '2026-07-28 15:38:23'::timestamp) - extract(epoch from '2026-07-28 15:38: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'), 47422, 'SRID=4674;POINT (-39.021695 -3.391293)', '2026-07-28 15:38:34', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021665 -3.391307)'), GeomFromEWKT('SRID=4674;POINT (-39.021695 -3.391293)'))) / (select extract(epoch from '2026-07-28 15:38:34'::timestamp) - extract(epoch from '2026-07-28 15:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021665 -3.391307)'), GeomFromEWKT('SRID=4674;POINT (-39.021695 -3.391293)'))) / (select extract(epoch from '2026-07-28 15:38:34'::timestamp) - extract(epoch from '2026-07-28 15:38: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'), 47422, 'SRID=4674;POINT (-39.021714 -3.391288)', '2026-07-28 15:38:42', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021695 -3.391293)'), GeomFromEWKT('SRID=4674;POINT (-39.021714 -3.391288)'))) / (select extract(epoch from '2026-07-28 15:38:42'::timestamp) - extract(epoch from '2026-07-28 15:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021695 -3.391293)'), GeomFromEWKT('SRID=4674;POINT (-39.021714 -3.391288)'))) / (select extract(epoch from '2026-07-28 15:38:42'::timestamp) - extract(epoch from '2026-07-28 15:38: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'), 47422, 'SRID=4674;POINT (-39.021738 -3.391285)', '2026-07-28 15:38:53', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021714 -3.391288)'), GeomFromEWKT('SRID=4674;POINT (-39.021738 -3.391285)'))) / (select extract(epoch from '2026-07-28 15:38:53'::timestamp) - extract(epoch from '2026-07-28 15:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021714 -3.391288)'), GeomFromEWKT('SRID=4674;POINT (-39.021738 -3.391285)'))) / (select extract(epoch from '2026-07-28 15:38:53'::timestamp) - extract(epoch from '2026-07-28 15:38: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'), 47422, 'SRID=4674;POINT (-39.021759 -3.391279)', '2026-07-28 15:39:04', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021738 -3.391285)'), GeomFromEWKT('SRID=4674;POINT (-39.021759 -3.391279)'))) / (select extract(epoch from '2026-07-28 15:39:04'::timestamp) - extract(epoch from '2026-07-28 15:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021738 -3.391285)'), GeomFromEWKT('SRID=4674;POINT (-39.021759 -3.391279)'))) / (select extract(epoch from '2026-07-28 15:39:04'::timestamp) - extract(epoch from '2026-07-28 15:38: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'), 47422, 'SRID=4674;POINT (-39.021784 -3.391275)', '2026-07-28 15:39:14', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021759 -3.391279)'), GeomFromEWKT('SRID=4674;POINT (-39.021784 -3.391275)'))) / (select extract(epoch from '2026-07-28 15:39:14'::timestamp) - extract(epoch from '2026-07-28 15:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021759 -3.391279)'), GeomFromEWKT('SRID=4674;POINT (-39.021784 -3.391275)'))) / (select extract(epoch from '2026-07-28 15:39:14'::timestamp) - extract(epoch from '2026-07-28 15:39:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.021804 -3.391268)', '2026-07-28 15:39:22', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021784 -3.391275)'), GeomFromEWKT('SRID=4674;POINT (-39.021804 -3.391268)'))) / (select extract(epoch from '2026-07-28 15:39:22'::timestamp) - extract(epoch from '2026-07-28 15:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021784 -3.391275)'), GeomFromEWKT('SRID=4674;POINT (-39.021804 -3.391268)'))) / (select extract(epoch from '2026-07-28 15:39:22'::timestamp) - extract(epoch from '2026-07-28 15:39:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.021829 -3.391262)', '2026-07-28 15:39:32', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021804 -3.391268)'), GeomFromEWKT('SRID=4674;POINT (-39.021829 -3.391262)'))) / (select extract(epoch from '2026-07-28 15:39:32'::timestamp) - extract(epoch from '2026-07-28 15:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021804 -3.391268)'), GeomFromEWKT('SRID=4674;POINT (-39.021829 -3.391262)'))) / (select extract(epoch from '2026-07-28 15:39:32'::timestamp) - extract(epoch from '2026-07-28 15:39:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.021872 -3.391249)', '2026-07-28 15:39:45', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021829 -3.391262)'), GeomFromEWKT('SRID=4674;POINT (-39.021872 -3.391249)'))) / (select extract(epoch from '2026-07-28 15:39:45'::timestamp) - extract(epoch from '2026-07-28 15:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021829 -3.391262)'), GeomFromEWKT('SRID=4674;POINT (-39.021872 -3.391249)'))) / (select extract(epoch from '2026-07-28 15:39:45'::timestamp) - extract(epoch from '2026-07-28 15:39:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.021901 -3.391243)', '2026-07-28 15:39:56', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021872 -3.391249)'), GeomFromEWKT('SRID=4674;POINT (-39.021901 -3.391243)'))) / (select extract(epoch from '2026-07-28 15:39:56'::timestamp) - extract(epoch from '2026-07-28 15:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021872 -3.391249)'), GeomFromEWKT('SRID=4674;POINT (-39.021901 -3.391243)'))) / (select extract(epoch from '2026-07-28 15:39:56'::timestamp) - extract(epoch from '2026-07-28 15:39:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.021929 -3.391243)', '2026-07-28 15:40:04', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021901 -3.391243)'), GeomFromEWKT('SRID=4674;POINT (-39.021929 -3.391243)'))) / (select extract(epoch from '2026-07-28 15:40:04'::timestamp) - extract(epoch from '2026-07-28 15:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021901 -3.391243)'), GeomFromEWKT('SRID=4674;POINT (-39.021929 -3.391243)'))) / (select extract(epoch from '2026-07-28 15:40:04'::timestamp) - extract(epoch from '2026-07-28 15:39:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.02195 -3.391244)', '2026-07-28 15:40:13', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021929 -3.391243)'), GeomFromEWKT('SRID=4674;POINT (-39.02195 -3.391244)'))) / (select extract(epoch from '2026-07-28 15:40:13'::timestamp) - extract(epoch from '2026-07-28 15:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021929 -3.391243)'), GeomFromEWKT('SRID=4674;POINT (-39.02195 -3.391244)'))) / (select extract(epoch from '2026-07-28 15:40:13'::timestamp) - extract(epoch from '2026-07-28 15:40:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.021972 -3.391241)', '2026-07-28 15:40:21', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02195 -3.391244)'), GeomFromEWKT('SRID=4674;POINT (-39.021972 -3.391241)'))) / (select extract(epoch from '2026-07-28 15:40:21'::timestamp) - extract(epoch from '2026-07-28 15:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02195 -3.391244)'), GeomFromEWKT('SRID=4674;POINT (-39.021972 -3.391241)'))) / (select extract(epoch from '2026-07-28 15:40:21'::timestamp) - extract(epoch from '2026-07-28 15:40:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.022 -3.391238)', '2026-07-28 15:40:31', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021972 -3.391241)'), GeomFromEWKT('SRID=4674;POINT (-39.022 -3.391238)'))) / (select extract(epoch from '2026-07-28 15:40:31'::timestamp) - extract(epoch from '2026-07-28 15:40:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021972 -3.391241)'), GeomFromEWKT('SRID=4674;POINT (-39.022 -3.391238)'))) / (select extract(epoch from '2026-07-28 15:40:31'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.02202 -3.391235)', '2026-07-28 15:40:40', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022 -3.391238)'), GeomFromEWKT('SRID=4674;POINT (-39.02202 -3.391235)'))) / (select extract(epoch from '2026-07-28 15:40:40'::timestamp) - extract(epoch from '2026-07-28 15:40:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022 -3.391238)'), GeomFromEWKT('SRID=4674;POINT (-39.02202 -3.391235)'))) / (select extract(epoch from '2026-07-28 15:40:40'::timestamp) - extract(epoch from '2026-07-28 15:40:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.022039 -3.39123)', '2026-07-28 15:40:48', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02202 -3.391235)'), GeomFromEWKT('SRID=4674;POINT (-39.022039 -3.39123)'))) / (select extract(epoch from '2026-07-28 15:40:48'::timestamp) - extract(epoch from '2026-07-28 15:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02202 -3.391235)'), GeomFromEWKT('SRID=4674;POINT (-39.022039 -3.39123)'))) / (select extract(epoch from '2026-07-28 15:40:48'::timestamp) - extract(epoch from '2026-07-28 15:40:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.022065 -3.39122)', '2026-07-28 15:40:56', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022039 -3.39123)'), GeomFromEWKT('SRID=4674;POINT (-39.022065 -3.39122)'))) / (select extract(epoch from '2026-07-28 15:40:56'::timestamp) - extract(epoch from '2026-07-28 15:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022039 -3.39123)'), GeomFromEWKT('SRID=4674;POINT (-39.022065 -3.39122)'))) / (select extract(epoch from '2026-07-28 15:40:56'::timestamp) - extract(epoch from '2026-07-28 15:40:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.022086 -3.391216)', '2026-07-28 15:41:05', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022065 -3.39122)'), GeomFromEWKT('SRID=4674;POINT (-39.022086 -3.391216)'))) / (select extract(epoch from '2026-07-28 15:41:05'::timestamp) - extract(epoch from '2026-07-28 15:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022065 -3.39122)'), GeomFromEWKT('SRID=4674;POINT (-39.022086 -3.391216)'))) / (select extract(epoch from '2026-07-28 15:41:05'::timestamp) - extract(epoch from '2026-07-28 15:40:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.022111 -3.391206)', '2026-07-28 15:41:17', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022086 -3.391216)'), GeomFromEWKT('SRID=4674;POINT (-39.022111 -3.391206)'))) / (select extract(epoch from '2026-07-28 15:41:17'::timestamp) - extract(epoch from '2026-07-28 15:41:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022086 -3.391216)'), GeomFromEWKT('SRID=4674;POINT (-39.022111 -3.391206)'))) / (select extract(epoch from '2026-07-28 15:41:17'::timestamp) - extract(epoch from '2026-07-28 15:41:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.022138 -3.391204)', '2026-07-28 15:41:25', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022111 -3.391206)'), GeomFromEWKT('SRID=4674;POINT (-39.022138 -3.391204)'))) / (select extract(epoch from '2026-07-28 15:41:25'::timestamp) - extract(epoch from '2026-07-28 15:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022111 -3.391206)'), GeomFromEWKT('SRID=4674;POINT (-39.022138 -3.391204)'))) / (select extract(epoch from '2026-07-28 15:41:25'::timestamp) - extract(epoch from '2026-07-28 15:41:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.022179 -3.391198)', '2026-07-28 15:41:34', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022138 -3.391204)'), GeomFromEWKT('SRID=4674;POINT (-39.022179 -3.391198)'))) / (select extract(epoch from '2026-07-28 15:41:34'::timestamp) - extract(epoch from '2026-07-28 15:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022138 -3.391204)'), GeomFromEWKT('SRID=4674;POINT (-39.022179 -3.391198)'))) / (select extract(epoch from '2026-07-28 15:41:34'::timestamp) - extract(epoch from '2026-07-28 15:41: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'), 47422, 'SRID=4674;POINT (-39.02221 -3.391184)', '2026-07-28 15:41:43', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022179 -3.391198)'), GeomFromEWKT('SRID=4674;POINT (-39.02221 -3.391184)'))) / (select extract(epoch from '2026-07-28 15:41:43'::timestamp) - extract(epoch from '2026-07-28 15:41:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022179 -3.391198)'), GeomFromEWKT('SRID=4674;POINT (-39.02221 -3.391184)'))) / (select extract(epoch from '2026-07-28 15:41:43'::timestamp) - extract(epoch from '2026-07-28 15:41: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'), 47422, 'SRID=4674;POINT (-39.022236 -3.391174)', '2026-07-28 15:41:52', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02221 -3.391184)'), GeomFromEWKT('SRID=4674;POINT (-39.022236 -3.391174)'))) / (select extract(epoch from '2026-07-28 15:41:52'::timestamp) - extract(epoch from '2026-07-28 15:41:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02221 -3.391184)'), GeomFromEWKT('SRID=4674;POINT (-39.022236 -3.391174)'))) / (select extract(epoch from '2026-07-28 15:41:52'::timestamp) - extract(epoch from '2026-07-28 15:41: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'), 47422, 'SRID=4674;POINT (-39.022253 -3.391168)', '2026-07-28 15:41:58', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022236 -3.391174)'), GeomFromEWKT('SRID=4674;POINT (-39.022253 -3.391168)'))) / (select extract(epoch from '2026-07-28 15:41:58'::timestamp) - extract(epoch from '2026-07-28 15:41:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022236 -3.391174)'), GeomFromEWKT('SRID=4674;POINT (-39.022253 -3.391168)'))) / (select extract(epoch from '2026-07-28 15:41:58'::timestamp) - extract(epoch from '2026-07-28 15:41: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'), 47422, 'SRID=4674;POINT (-39.022267 -3.391169)', '2026-07-28 15:42:08', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022253 -3.391168)'), GeomFromEWKT('SRID=4674;POINT (-39.022267 -3.391169)'))) / (select extract(epoch from '2026-07-28 15:42:08'::timestamp) - extract(epoch from '2026-07-28 15:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022253 -3.391168)'), GeomFromEWKT('SRID=4674;POINT (-39.022267 -3.391169)'))) / (select extract(epoch from '2026-07-28 15:42:08'::timestamp) - extract(epoch from '2026-07-28 15:41: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'), 47422, 'SRID=4674;POINT (-39.022286 -3.391169)', '2026-07-28 15:42:16', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022267 -3.391169)'), GeomFromEWKT('SRID=4674;POINT (-39.022286 -3.391169)'))) / (select extract(epoch from '2026-07-28 15:42:16'::timestamp) - extract(epoch from '2026-07-28 15:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022267 -3.391169)'), GeomFromEWKT('SRID=4674;POINT (-39.022286 -3.391169)'))) / (select extract(epoch from '2026-07-28 15:42:16'::timestamp) - extract(epoch from '2026-07-28 15:42: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'), 47422, 'SRID=4674;POINT (-39.022303 -3.391166)', '2026-07-28 15:42:25', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022286 -3.391169)'), GeomFromEWKT('SRID=4674;POINT (-39.022303 -3.391166)'))) / (select extract(epoch from '2026-07-28 15:42:25'::timestamp) - extract(epoch from '2026-07-28 15:42:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022286 -3.391169)'), GeomFromEWKT('SRID=4674;POINT (-39.022303 -3.391166)'))) / (select extract(epoch from '2026-07-28 15:42:25'::timestamp) - extract(epoch from '2026-07-28 15:42: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'), 47422, 'SRID=4674;POINT (-39.022318 -3.391159)', '2026-07-28 15:42:36', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022303 -3.391166)'), GeomFromEWKT('SRID=4674;POINT (-39.022318 -3.391159)'))) / (select extract(epoch from '2026-07-28 15:42:36'::timestamp) - extract(epoch from '2026-07-28 15:42:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022303 -3.391166)'), GeomFromEWKT('SRID=4674;POINT (-39.022318 -3.391159)'))) / (select extract(epoch from '2026-07-28 15:42:36'::timestamp) - extract(epoch from '2026-07-28 15:42: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'), 47422, 'SRID=4674;POINT (-39.022334 -3.391153)', '2026-07-28 15:42:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022318 -3.391159)'), GeomFromEWKT('SRID=4674;POINT (-39.022334 -3.391153)'))) / (select extract(epoch from '2026-07-28 15:42:45'::timestamp) - extract(epoch from '2026-07-28 15:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022318 -3.391159)'), GeomFromEWKT('SRID=4674;POINT (-39.022334 -3.391153)'))) / (select extract(epoch from '2026-07-28 15:42:45'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.022354 -3.391145)', '2026-07-28 15:42:55', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022334 -3.391153)'), GeomFromEWKT('SRID=4674;POINT (-39.022354 -3.391145)'))) / (select extract(epoch from '2026-07-28 15:42:55'::timestamp) - extract(epoch from '2026-07-28 15:42:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022334 -3.391153)'), GeomFromEWKT('SRID=4674;POINT (-39.022354 -3.391145)'))) / (select extract(epoch from '2026-07-28 15:42:55'::timestamp) - extract(epoch from '2026-07-28 15:42: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'), 47422, 'SRID=4674;POINT (-39.022376 -3.391136)', '2026-07-28 15:43:03', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022354 -3.391145)'), GeomFromEWKT('SRID=4674;POINT (-39.022376 -3.391136)'))) / (select extract(epoch from '2026-07-28 15:43:03'::timestamp) - extract(epoch from '2026-07-28 15:42:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022354 -3.391145)'), GeomFromEWKT('SRID=4674;POINT (-39.022376 -3.391136)'))) / (select extract(epoch from '2026-07-28 15:43:03'::timestamp) - extract(epoch from '2026-07-28 15:42: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'), 47422, 'SRID=4674;POINT (-39.022387 -3.391128)', '2026-07-28 15:43:13', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022376 -3.391136)'), GeomFromEWKT('SRID=4674;POINT (-39.022387 -3.391128)'))) / (select extract(epoch from '2026-07-28 15:43:13'::timestamp) - extract(epoch from '2026-07-28 15:43:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022376 -3.391136)'), GeomFromEWKT('SRID=4674;POINT (-39.022387 -3.391128)'))) / (select extract(epoch from '2026-07-28 15:43:13'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.022402 -3.391121)', '2026-07-28 15:43:26', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022387 -3.391128)'), GeomFromEWKT('SRID=4674;POINT (-39.022402 -3.391121)'))) / (select extract(epoch from '2026-07-28 15:43:26'::timestamp) - extract(epoch from '2026-07-28 15:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022387 -3.391128)'), GeomFromEWKT('SRID=4674;POINT (-39.022402 -3.391121)'))) / (select extract(epoch from '2026-07-28 15:43:26'::timestamp) - extract(epoch from '2026-07-28 15:43: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'), 47422, 'SRID=4674;POINT (-39.022418 -3.391113)', '2026-07-28 15:43:42', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022402 -3.391121)'), GeomFromEWKT('SRID=4674;POINT (-39.022418 -3.391113)'))) / (select extract(epoch from '2026-07-28 15:43:42'::timestamp) - extract(epoch from '2026-07-28 15:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022402 -3.391121)'), GeomFromEWKT('SRID=4674;POINT (-39.022418 -3.391113)'))) / (select extract(epoch from '2026-07-28 15:43:42'::timestamp) - extract(epoch from '2026-07-28 15:43: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'), 47422, 'SRID=4674;POINT (-39.022435 -3.391099)', '2026-07-28 15:43:50', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022418 -3.391113)'), GeomFromEWKT('SRID=4674;POINT (-39.022435 -3.391099)'))) / (select extract(epoch from '2026-07-28 15:43:50'::timestamp) - extract(epoch from '2026-07-28 15:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022418 -3.391113)'), GeomFromEWKT('SRID=4674;POINT (-39.022435 -3.391099)'))) / (select extract(epoch from '2026-07-28 15:43:50'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.022447 -3.391083)', '2026-07-28 15:44:04', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022435 -3.391099)'), GeomFromEWKT('SRID=4674;POINT (-39.022447 -3.391083)'))) / (select extract(epoch from '2026-07-28 15:44:04'::timestamp) - extract(epoch from '2026-07-28 15:43:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022435 -3.391099)'), GeomFromEWKT('SRID=4674;POINT (-39.022447 -3.391083)'))) / (select extract(epoch from '2026-07-28 15:44:04'::timestamp) - extract(epoch from '2026-07-28 15:43: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'), 47422, 'SRID=4674;POINT (-39.02247 -3.391073)', '2026-07-28 15:44:16', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022447 -3.391083)'), GeomFromEWKT('SRID=4674;POINT (-39.02247 -3.391073)'))) / (select extract(epoch from '2026-07-28 15:44:16'::timestamp) - extract(epoch from '2026-07-28 15:44:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022447 -3.391083)'), GeomFromEWKT('SRID=4674;POINT (-39.02247 -3.391073)'))) / (select extract(epoch from '2026-07-28 15:44:16'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.022483 -3.391067)', '2026-07-28 15:44:24', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02247 -3.391073)'), GeomFromEWKT('SRID=4674;POINT (-39.022483 -3.391067)'))) / (select extract(epoch from '2026-07-28 15:44:24'::timestamp) - extract(epoch from '2026-07-28 15:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02247 -3.391073)'), GeomFromEWKT('SRID=4674;POINT (-39.022483 -3.391067)'))) / (select extract(epoch from '2026-07-28 15:44:24'::timestamp) - extract(epoch from '2026-07-28 15:44: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'), 47422, 'SRID=4674;POINT (-39.022502 -3.391064)', '2026-07-28 15:44:32', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022483 -3.391067)'), GeomFromEWKT('SRID=4674;POINT (-39.022502 -3.391064)'))) / (select extract(epoch from '2026-07-28 15:44:32'::timestamp) - extract(epoch from '2026-07-28 15:44:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022483 -3.391067)'), GeomFromEWKT('SRID=4674;POINT (-39.022502 -3.391064)'))) / (select extract(epoch from '2026-07-28 15:44:32'::timestamp) - extract(epoch from '2026-07-28 15:44: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'), 47422, 'SRID=4674;POINT (-39.022539 -3.391056)', '2026-07-28 15:44:41', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022502 -3.391064)'), GeomFromEWKT('SRID=4674;POINT (-39.022539 -3.391056)'))) / (select extract(epoch from '2026-07-28 15:44:41'::timestamp) - extract(epoch from '2026-07-28 15:44:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022502 -3.391064)'), GeomFromEWKT('SRID=4674;POINT (-39.022539 -3.391056)'))) / (select extract(epoch from '2026-07-28 15:44:41'::timestamp) - extract(epoch from '2026-07-28 15:44: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'), 47422, 'SRID=4674;POINT (-39.022577 -3.391049)', '2026-07-28 15:44:51', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022539 -3.391056)'), GeomFromEWKT('SRID=4674;POINT (-39.022577 -3.391049)'))) / (select extract(epoch from '2026-07-28 15:44:51'::timestamp) - extract(epoch from '2026-07-28 15:44:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022539 -3.391056)'), GeomFromEWKT('SRID=4674;POINT (-39.022577 -3.391049)'))) / (select extract(epoch from '2026-07-28 15:44:51'::timestamp) - extract(epoch from '2026-07-28 15:44: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'), 47422, 'SRID=4674;POINT (-39.022596 -3.391037)', '2026-07-28 15:45:04', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022577 -3.391049)'), GeomFromEWKT('SRID=4674;POINT (-39.022596 -3.391037)'))) / (select extract(epoch from '2026-07-28 15:45:04'::timestamp) - extract(epoch from '2026-07-28 15:44:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022577 -3.391049)'), GeomFromEWKT('SRID=4674;POINT (-39.022596 -3.391037)'))) / (select extract(epoch from '2026-07-28 15:45:04'::timestamp) - extract(epoch from '2026-07-28 15:44: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'), 47422, 'SRID=4674;POINT (-39.022618 -3.391024)', '2026-07-28 15:45:15', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022596 -3.391037)'), GeomFromEWKT('SRID=4674;POINT (-39.022618 -3.391024)'))) / (select extract(epoch from '2026-07-28 15:45:15'::timestamp) - extract(epoch from '2026-07-28 15:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022596 -3.391037)'), GeomFromEWKT('SRID=4674;POINT (-39.022618 -3.391024)'))) / (select extract(epoch from '2026-07-28 15:45:15'::timestamp) - extract(epoch from '2026-07-28 15:45: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'), 47422, 'SRID=4674;POINT (-39.022646 -3.391021)', '2026-07-28 15:45:27', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022618 -3.391024)'), GeomFromEWKT('SRID=4674;POINT (-39.022646 -3.391021)'))) / (select extract(epoch from '2026-07-28 15:45:27'::timestamp) - extract(epoch from '2026-07-28 15:45:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022618 -3.391024)'), GeomFromEWKT('SRID=4674;POINT (-39.022646 -3.391021)'))) / (select extract(epoch from '2026-07-28 15:45:27'::timestamp) - extract(epoch from '2026-07-28 15:45: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'), 47422, 'SRID=4674;POINT (-39.02267 -3.391022)', '2026-07-28 15:45:37', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022646 -3.391021)'), GeomFromEWKT('SRID=4674;POINT (-39.02267 -3.391022)'))) / (select extract(epoch from '2026-07-28 15:45:37'::timestamp) - extract(epoch from '2026-07-28 15:45:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022646 -3.391021)'), GeomFromEWKT('SRID=4674;POINT (-39.02267 -3.391022)'))) / (select extract(epoch from '2026-07-28 15:45:37'::timestamp) - extract(epoch from '2026-07-28 15:45: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'), 47422, 'SRID=4674;POINT (-39.022682 -3.391026)', '2026-07-28 15:45:46', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02267 -3.391022)'), GeomFromEWKT('SRID=4674;POINT (-39.022682 -3.391026)'))) / (select extract(epoch from '2026-07-28 15:45:46'::timestamp) - extract(epoch from '2026-07-28 15:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02267 -3.391022)'), GeomFromEWKT('SRID=4674;POINT (-39.022682 -3.391026)'))) / (select extract(epoch from '2026-07-28 15:45:46'::timestamp) - extract(epoch from '2026-07-28 15:45: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'), 47422, 'SRID=4674;POINT (-39.022707 -3.391034)', '2026-07-28 15:45:59', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022682 -3.391026)'), GeomFromEWKT('SRID=4674;POINT (-39.022707 -3.391034)'))) / (select extract(epoch from '2026-07-28 15:45:59'::timestamp) - extract(epoch from '2026-07-28 15:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022682 -3.391026)'), GeomFromEWKT('SRID=4674;POINT (-39.022707 -3.391034)'))) / (select extract(epoch from '2026-07-28 15:45:59'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.022727 -3.391031)', '2026-07-28 15:46:11', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022707 -3.391034)'), GeomFromEWKT('SRID=4674;POINT (-39.022727 -3.391031)'))) / (select extract(epoch from '2026-07-28 15:46:11'::timestamp) - extract(epoch from '2026-07-28 15:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022707 -3.391034)'), GeomFromEWKT('SRID=4674;POINT (-39.022727 -3.391031)'))) / (select extract(epoch from '2026-07-28 15:46:11'::timestamp) - extract(epoch from '2026-07-28 15:45: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'), 47422, 'SRID=4674;POINT (-39.022742 -3.391029)', '2026-07-28 15:46:20', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022727 -3.391031)'), GeomFromEWKT('SRID=4674;POINT (-39.022742 -3.391029)'))) / (select extract(epoch from '2026-07-28 15:46:20'::timestamp) - extract(epoch from '2026-07-28 15:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022727 -3.391031)'), GeomFromEWKT('SRID=4674;POINT (-39.022742 -3.391029)'))) / (select extract(epoch from '2026-07-28 15:46:20'::timestamp) - extract(epoch from '2026-07-28 15:46: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'), 47422, 'SRID=4674;POINT (-39.022773 -3.391027)', '2026-07-28 15:46:31', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022742 -3.391029)'), GeomFromEWKT('SRID=4674;POINT (-39.022773 -3.391027)'))) / (select extract(epoch from '2026-07-28 15:46:31'::timestamp) - extract(epoch from '2026-07-28 15:46:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022742 -3.391029)'), GeomFromEWKT('SRID=4674;POINT (-39.022773 -3.391027)'))) / (select extract(epoch from '2026-07-28 15:46:31'::timestamp) - extract(epoch from '2026-07-28 15:46: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'), 47422, 'SRID=4674;POINT (-39.022787 -3.391027)', '2026-07-28 15:46:37', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022773 -3.391027)'), GeomFromEWKT('SRID=4674;POINT (-39.022787 -3.391027)'))) / (select extract(epoch from '2026-07-28 15:46:37'::timestamp) - extract(epoch from '2026-07-28 15:46:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022773 -3.391027)'), GeomFromEWKT('SRID=4674;POINT (-39.022787 -3.391027)'))) / (select extract(epoch from '2026-07-28 15:46:37'::timestamp) - extract(epoch from '2026-07-28 15:46: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'), 47422, 'SRID=4674;POINT (-39.022812 -3.391017)', '2026-07-28 15:46:46', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022787 -3.391027)'), GeomFromEWKT('SRID=4674;POINT (-39.022812 -3.391017)'))) / (select extract(epoch from '2026-07-28 15:46:46'::timestamp) - extract(epoch from '2026-07-28 15:46:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022787 -3.391027)'), GeomFromEWKT('SRID=4674;POINT (-39.022812 -3.391017)'))) / (select extract(epoch from '2026-07-28 15:46:46'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.022853 -3.391013)', '2026-07-28 15:46:55', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022812 -3.391017)'), GeomFromEWKT('SRID=4674;POINT (-39.022853 -3.391013)'))) / (select extract(epoch from '2026-07-28 15:46:55'::timestamp) - extract(epoch from '2026-07-28 15:46:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022812 -3.391017)'), GeomFromEWKT('SRID=4674;POINT (-39.022853 -3.391013)'))) / (select extract(epoch from '2026-07-28 15:46:55'::timestamp) - extract(epoch from '2026-07-28 15:46: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'), 47422, 'SRID=4674;POINT (-39.022893 -3.391018)', '2026-07-28 15:47:04', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022853 -3.391013)'), GeomFromEWKT('SRID=4674;POINT (-39.022893 -3.391018)'))) / (select extract(epoch from '2026-07-28 15:47:04'::timestamp) - extract(epoch from '2026-07-28 15:46:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022853 -3.391013)'), GeomFromEWKT('SRID=4674;POINT (-39.022893 -3.391018)'))) / (select extract(epoch from '2026-07-28 15:47:04'::timestamp) - extract(epoch from '2026-07-28 15:46: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'), 47422, 'SRID=4674;POINT (-39.022912 -3.391016)', '2026-07-28 15:47:15', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022893 -3.391018)'), GeomFromEWKT('SRID=4674;POINT (-39.022912 -3.391016)'))) / (select extract(epoch from '2026-07-28 15:47:15'::timestamp) - extract(epoch from '2026-07-28 15:47:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022893 -3.391018)'), GeomFromEWKT('SRID=4674;POINT (-39.022912 -3.391016)'))) / (select extract(epoch from '2026-07-28 15:47:15'::timestamp) - extract(epoch from '2026-07-28 15:47: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'), 47422, 'SRID=4674;POINT (-39.02293 -3.391015)', '2026-07-28 15:47:23', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022912 -3.391016)'), GeomFromEWKT('SRID=4674;POINT (-39.02293 -3.391015)'))) / (select extract(epoch from '2026-07-28 15:47:23'::timestamp) - extract(epoch from '2026-07-28 15:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022912 -3.391016)'), GeomFromEWKT('SRID=4674;POINT (-39.02293 -3.391015)'))) / (select extract(epoch from '2026-07-28 15:47:23'::timestamp) - extract(epoch from '2026-07-28 15:47: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'), 47422, 'SRID=4674;POINT (-39.022963 -3.391013)', '2026-07-28 15:47:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02293 -3.391015)'), GeomFromEWKT('SRID=4674;POINT (-39.022963 -3.391013)'))) / (select extract(epoch from '2026-07-28 15:47:34'::timestamp) - extract(epoch from '2026-07-28 15:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02293 -3.391015)'), GeomFromEWKT('SRID=4674;POINT (-39.022963 -3.391013)'))) / (select extract(epoch from '2026-07-28 15:47:34'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.02299 -3.391011)', '2026-07-28 15:47:44', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022963 -3.391013)'), GeomFromEWKT('SRID=4674;POINT (-39.02299 -3.391011)'))) / (select extract(epoch from '2026-07-28 15:47:44'::timestamp) - extract(epoch from '2026-07-28 15:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022963 -3.391013)'), GeomFromEWKT('SRID=4674;POINT (-39.02299 -3.391011)'))) / (select extract(epoch from '2026-07-28 15:47:44'::timestamp) - extract(epoch from '2026-07-28 15:47: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'), 47422, 'SRID=4674;POINT (-39.023006 -3.391007)', '2026-07-28 15:47:52', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02299 -3.391011)'), GeomFromEWKT('SRID=4674;POINT (-39.023006 -3.391007)'))) / (select extract(epoch from '2026-07-28 15:47:52'::timestamp) - extract(epoch from '2026-07-28 15:47:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02299 -3.391011)'), GeomFromEWKT('SRID=4674;POINT (-39.023006 -3.391007)'))) / (select extract(epoch from '2026-07-28 15:47:52'::timestamp) - extract(epoch from '2026-07-28 15:47: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'), 47422, 'SRID=4674;POINT (-39.023037 -3.390993)', '2026-07-28 15:48:02', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023006 -3.391007)'), GeomFromEWKT('SRID=4674;POINT (-39.023037 -3.390993)'))) / (select extract(epoch from '2026-07-28 15:48:02'::timestamp) - extract(epoch from '2026-07-28 15:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023006 -3.391007)'), GeomFromEWKT('SRID=4674;POINT (-39.023037 -3.390993)'))) / (select extract(epoch from '2026-07-28 15:48:02'::timestamp) - extract(epoch from '2026-07-28 15:47: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'), 47422, 'SRID=4674;POINT (-39.023056 -3.39099)', '2026-07-28 15:48:09', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023037 -3.390993)'), GeomFromEWKT('SRID=4674;POINT (-39.023056 -3.39099)'))) / (select extract(epoch from '2026-07-28 15:48:09'::timestamp) - extract(epoch from '2026-07-28 15:48:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023037 -3.390993)'), GeomFromEWKT('SRID=4674;POINT (-39.023056 -3.39099)'))) / (select extract(epoch from '2026-07-28 15:48:09'::timestamp) - extract(epoch from '2026-07-28 15:48: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'), 47422, 'SRID=4674;POINT (-39.023081 -3.390986)', '2026-07-28 15:48:19', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023056 -3.39099)'), GeomFromEWKT('SRID=4674;POINT (-39.023081 -3.390986)'))) / (select extract(epoch from '2026-07-28 15:48:19'::timestamp) - extract(epoch from '2026-07-28 15:48:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023056 -3.39099)'), GeomFromEWKT('SRID=4674;POINT (-39.023081 -3.390986)'))) / (select extract(epoch from '2026-07-28 15:48:19'::timestamp) - extract(epoch from '2026-07-28 15:48: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'), 47422, 'SRID=4674;POINT (-39.023124 -3.390967)', '2026-07-28 15:48:29', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023081 -3.390986)'), GeomFromEWKT('SRID=4674;POINT (-39.023124 -3.390967)'))) / (select extract(epoch from '2026-07-28 15:48:29'::timestamp) - extract(epoch from '2026-07-28 15:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023081 -3.390986)'), GeomFromEWKT('SRID=4674;POINT (-39.023124 -3.390967)'))) / (select extract(epoch from '2026-07-28 15:48:29'::timestamp) - extract(epoch from '2026-07-28 15:48: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'), 47422, 'SRID=4674;POINT (-39.023154 -3.390962)', '2026-07-28 15:48:38', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023124 -3.390967)'), GeomFromEWKT('SRID=4674;POINT (-39.023154 -3.390962)'))) / (select extract(epoch from '2026-07-28 15:48:38'::timestamp) - extract(epoch from '2026-07-28 15:48:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023124 -3.390967)'), GeomFromEWKT('SRID=4674;POINT (-39.023154 -3.390962)'))) / (select extract(epoch from '2026-07-28 15:48:38'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.023176 -3.390956)', '2026-07-28 15:48:46', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023154 -3.390962)'), GeomFromEWKT('SRID=4674;POINT (-39.023176 -3.390956)'))) / (select extract(epoch from '2026-07-28 15:48:46'::timestamp) - extract(epoch from '2026-07-28 15:48:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023154 -3.390962)'), GeomFromEWKT('SRID=4674;POINT (-39.023176 -3.390956)'))) / (select extract(epoch from '2026-07-28 15:48:46'::timestamp) - extract(epoch from '2026-07-28 15:48: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'), 47422, 'SRID=4674;POINT (-39.023195 -3.390953)', '2026-07-28 15:48:54', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023176 -3.390956)'), GeomFromEWKT('SRID=4674;POINT (-39.023195 -3.390953)'))) / (select extract(epoch from '2026-07-28 15:48:54'::timestamp) - extract(epoch from '2026-07-28 15:48:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023176 -3.390956)'), GeomFromEWKT('SRID=4674;POINT (-39.023195 -3.390953)'))) / (select extract(epoch from '2026-07-28 15:48:54'::timestamp) - extract(epoch from '2026-07-28 15:48: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'), 47422, 'SRID=4674;POINT (-39.023228 -3.390945)', '2026-07-28 15:49:06', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023195 -3.390953)'), GeomFromEWKT('SRID=4674;POINT (-39.023228 -3.390945)'))) / (select extract(epoch from '2026-07-28 15:49:06'::timestamp) - extract(epoch from '2026-07-28 15:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023195 -3.390953)'), GeomFromEWKT('SRID=4674;POINT (-39.023228 -3.390945)'))) / (select extract(epoch from '2026-07-28 15:49:06'::timestamp) - extract(epoch from '2026-07-28 15:48: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'), 47422, 'SRID=4674;POINT (-39.023245 -3.390938)', '2026-07-28 15:49:12', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023228 -3.390945)'), GeomFromEWKT('SRID=4674;POINT (-39.023245 -3.390938)'))) / (select extract(epoch from '2026-07-28 15:49:12'::timestamp) - extract(epoch from '2026-07-28 15:49:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023228 -3.390945)'), GeomFromEWKT('SRID=4674;POINT (-39.023245 -3.390938)'))) / (select extract(epoch from '2026-07-28 15:49:12'::timestamp) - extract(epoch from '2026-07-28 15:49: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'), 47422, 'SRID=4674;POINT (-39.02326 -3.390932)', '2026-07-28 15:49:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023245 -3.390938)'), GeomFromEWKT('SRID=4674;POINT (-39.02326 -3.390932)'))) / (select extract(epoch from '2026-07-28 15:49:20'::timestamp) - extract(epoch from '2026-07-28 15:49:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023245 -3.390938)'), GeomFromEWKT('SRID=4674;POINT (-39.02326 -3.390932)'))) / (select extract(epoch from '2026-07-28 15:49:20'::timestamp) - extract(epoch from '2026-07-28 15:49: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'), 47422, 'SRID=4674;POINT (-39.023289 -3.390924)', '2026-07-28 15:49:29', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02326 -3.390932)'), GeomFromEWKT('SRID=4674;POINT (-39.023289 -3.390924)'))) / (select extract(epoch from '2026-07-28 15:49:29'::timestamp) - extract(epoch from '2026-07-28 15:49:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02326 -3.390932)'), GeomFromEWKT('SRID=4674;POINT (-39.023289 -3.390924)'))) / (select extract(epoch from '2026-07-28 15:49:29'::timestamp) - extract(epoch from '2026-07-28 15:49: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'), 47422, 'SRID=4674;POINT (-39.023318 -3.390918)', '2026-07-28 15:49:39', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023289 -3.390924)'), GeomFromEWKT('SRID=4674;POINT (-39.023318 -3.390918)'))) / (select extract(epoch from '2026-07-28 15:49:39'::timestamp) - extract(epoch from '2026-07-28 15:49:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023289 -3.390924)'), GeomFromEWKT('SRID=4674;POINT (-39.023318 -3.390918)'))) / (select extract(epoch from '2026-07-28 15:49:39'::timestamp) - extract(epoch from '2026-07-28 15:49: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'), 47422, 'SRID=4674;POINT (-39.023337 -3.390913)', '2026-07-28 15:49:47', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023318 -3.390918)'), GeomFromEWKT('SRID=4674;POINT (-39.023337 -3.390913)'))) / (select extract(epoch from '2026-07-28 15:49:47'::timestamp) - extract(epoch from '2026-07-28 15:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023318 -3.390918)'), GeomFromEWKT('SRID=4674;POINT (-39.023337 -3.390913)'))) / (select extract(epoch from '2026-07-28 15:49:47'::timestamp) - extract(epoch from '2026-07-28 15:49: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'), 47422, 'SRID=4674;POINT (-39.023357 -3.390902)', '2026-07-28 15:49:56', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023337 -3.390913)'), GeomFromEWKT('SRID=4674;POINT (-39.023357 -3.390902)'))) / (select extract(epoch from '2026-07-28 15:49:56'::timestamp) - extract(epoch from '2026-07-28 15:49:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023337 -3.390913)'), GeomFromEWKT('SRID=4674;POINT (-39.023357 -3.390902)'))) / (select extract(epoch from '2026-07-28 15:49:56'::timestamp) - extract(epoch from '2026-07-28 15:49: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'), 47422, 'SRID=4674;POINT (-39.023383 -3.390892)', '2026-07-28 15:50:06', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023357 -3.390902)'), GeomFromEWKT('SRID=4674;POINT (-39.023383 -3.390892)'))) / (select extract(epoch from '2026-07-28 15:50:06'::timestamp) - extract(epoch from '2026-07-28 15:49:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023357 -3.390902)'), GeomFromEWKT('SRID=4674;POINT (-39.023383 -3.390892)'))) / (select extract(epoch from '2026-07-28 15:50:06'::timestamp) - extract(epoch from '2026-07-28 15:49: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'), 47422, 'SRID=4674;POINT (-39.023421 -3.390892)', '2026-07-28 15:50:18', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023383 -3.390892)'), GeomFromEWKT('SRID=4674;POINT (-39.023421 -3.390892)'))) / (select extract(epoch from '2026-07-28 15:50:18'::timestamp) - extract(epoch from '2026-07-28 15:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023383 -3.390892)'), GeomFromEWKT('SRID=4674;POINT (-39.023421 -3.390892)'))) / (select extract(epoch from '2026-07-28 15:50:18'::timestamp) - extract(epoch from '2026-07-28 15:50: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'), 47422, 'SRID=4674;POINT (-39.023432 -3.390891)', '2026-07-28 15:50:23', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023421 -3.390892)'), GeomFromEWKT('SRID=4674;POINT (-39.023432 -3.390891)'))) / (select extract(epoch from '2026-07-28 15:50:23'::timestamp) - extract(epoch from '2026-07-28 15:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023421 -3.390892)'), GeomFromEWKT('SRID=4674;POINT (-39.023432 -3.390891)'))) / (select extract(epoch from '2026-07-28 15:50:23'::timestamp) - extract(epoch from '2026-07-28 15:50: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'), 47422, 'SRID=4674;POINT (-39.023451 -3.390892)', '2026-07-28 15:50:31', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023432 -3.390891)'), GeomFromEWKT('SRID=4674;POINT (-39.023451 -3.390892)'))) / (select extract(epoch from '2026-07-28 15:50:31'::timestamp) - extract(epoch from '2026-07-28 15:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023432 -3.390891)'), GeomFromEWKT('SRID=4674;POINT (-39.023451 -3.390892)'))) / (select extract(epoch from '2026-07-28 15:50:31'::timestamp) - extract(epoch from '2026-07-28 15:50: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'), 47422, 'SRID=4674;POINT (-39.023478 -3.390894)', '2026-07-28 15:50:41', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023451 -3.390892)'), GeomFromEWKT('SRID=4674;POINT (-39.023478 -3.390894)'))) / (select extract(epoch from '2026-07-28 15:50:41'::timestamp) - extract(epoch from '2026-07-28 15:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023451 -3.390892)'), GeomFromEWKT('SRID=4674;POINT (-39.023478 -3.390894)'))) / (select extract(epoch from '2026-07-28 15:50:41'::timestamp) - extract(epoch from '2026-07-28 15:50: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'), 47422, 'SRID=4674;POINT (-39.023499 -3.390888)', '2026-07-28 15:50:50', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023478 -3.390894)'), GeomFromEWKT('SRID=4674;POINT (-39.023499 -3.390888)'))) / (select extract(epoch from '2026-07-28 15:50:50'::timestamp) - extract(epoch from '2026-07-28 15:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023478 -3.390894)'), GeomFromEWKT('SRID=4674;POINT (-39.023499 -3.390888)'))) / (select extract(epoch from '2026-07-28 15:50:50'::timestamp) - extract(epoch from '2026-07-28 15:50: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'), 47422, 'SRID=4674;POINT (-39.02354 -3.390876)', '2026-07-28 15:50:59', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023499 -3.390888)'), GeomFromEWKT('SRID=4674;POINT (-39.02354 -3.390876)'))) / (select extract(epoch from '2026-07-28 15:50:59'::timestamp) - extract(epoch from '2026-07-28 15:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023499 -3.390888)'), GeomFromEWKT('SRID=4674;POINT (-39.02354 -3.390876)'))) / (select extract(epoch from '2026-07-28 15:50:59'::timestamp) - extract(epoch from '2026-07-28 15:50: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'), 47422, 'SRID=4674;POINT (-39.023572 -3.390872)', '2026-07-28 15:51:07', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02354 -3.390876)'), GeomFromEWKT('SRID=4674;POINT (-39.023572 -3.390872)'))) / (select extract(epoch from '2026-07-28 15:51:07'::timestamp) - extract(epoch from '2026-07-28 15:50:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02354 -3.390876)'), GeomFromEWKT('SRID=4674;POINT (-39.023572 -3.390872)'))) / (select extract(epoch from '2026-07-28 15:51:07'::timestamp) - extract(epoch from '2026-07-28 15:50: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'), 47422, 'SRID=4674;POINT (-39.023614 -3.390871)', '2026-07-28 15:51:17', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023572 -3.390872)'), GeomFromEWKT('SRID=4674;POINT (-39.023614 -3.390871)'))) / (select extract(epoch from '2026-07-28 15:51:17'::timestamp) - extract(epoch from '2026-07-28 15:51:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023572 -3.390872)'), GeomFromEWKT('SRID=4674;POINT (-39.023614 -3.390871)'))) / (select extract(epoch from '2026-07-28 15:51:17'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.023645 -3.390855)', '2026-07-28 15:51:26', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023614 -3.390871)'), GeomFromEWKT('SRID=4674;POINT (-39.023645 -3.390855)'))) / (select extract(epoch from '2026-07-28 15:51:26'::timestamp) - extract(epoch from '2026-07-28 15:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023614 -3.390871)'), GeomFromEWKT('SRID=4674;POINT (-39.023645 -3.390855)'))) / (select extract(epoch from '2026-07-28 15:51:26'::timestamp) - extract(epoch from '2026-07-28 15:51: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'), 47422, 'SRID=4674;POINT (-39.023674 -3.390845)', '2026-07-28 15:51:34', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023645 -3.390855)'), GeomFromEWKT('SRID=4674;POINT (-39.023674 -3.390845)'))) / (select extract(epoch from '2026-07-28 15:51:34'::timestamp) - extract(epoch from '2026-07-28 15:51:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023645 -3.390855)'), GeomFromEWKT('SRID=4674;POINT (-39.023674 -3.390845)'))) / (select extract(epoch from '2026-07-28 15:51:34'::timestamp) - extract(epoch from '2026-07-28 15:51: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'), 47422, 'SRID=4674;POINT (-39.023706 -3.39083)', '2026-07-28 15:51:42', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023674 -3.390845)'), GeomFromEWKT('SRID=4674;POINT (-39.023706 -3.39083)'))) / (select extract(epoch from '2026-07-28 15:51:42'::timestamp) - extract(epoch from '2026-07-28 15:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023674 -3.390845)'), GeomFromEWKT('SRID=4674;POINT (-39.023706 -3.39083)'))) / (select extract(epoch from '2026-07-28 15:51:42'::timestamp) - extract(epoch from '2026-07-28 15:51: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'), 47422, 'SRID=4674;POINT (-39.023733 -3.39082)', '2026-07-28 15:51:50', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023706 -3.39083)'), GeomFromEWKT('SRID=4674;POINT (-39.023733 -3.39082)'))) / (select extract(epoch from '2026-07-28 15:51:50'::timestamp) - extract(epoch from '2026-07-28 15:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023706 -3.39083)'), GeomFromEWKT('SRID=4674;POINT (-39.023733 -3.39082)'))) / (select extract(epoch from '2026-07-28 15:51:50'::timestamp) - extract(epoch from '2026-07-28 15:51: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'), 47422, 'SRID=4674;POINT (-39.02376 -3.390814)', '2026-07-28 15:51:59', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023733 -3.39082)'), GeomFromEWKT('SRID=4674;POINT (-39.02376 -3.390814)'))) / (select extract(epoch from '2026-07-28 15:51:59'::timestamp) - extract(epoch from '2026-07-28 15:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023733 -3.39082)'), GeomFromEWKT('SRID=4674;POINT (-39.02376 -3.390814)'))) / (select extract(epoch from '2026-07-28 15:51:59'::timestamp) - extract(epoch from '2026-07-28 15:51: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'), 47422, 'SRID=4674;POINT (-39.02378 -3.390812)', '2026-07-28 15:52:08', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02376 -3.390814)'), GeomFromEWKT('SRID=4674;POINT (-39.02378 -3.390812)'))) / (select extract(epoch from '2026-07-28 15:52:08'::timestamp) - extract(epoch from '2026-07-28 15:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02376 -3.390814)'), GeomFromEWKT('SRID=4674;POINT (-39.02378 -3.390812)'))) / (select extract(epoch from '2026-07-28 15:52:08'::timestamp) - extract(epoch from '2026-07-28 15:51: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'), 47422, 'SRID=4674;POINT (-39.023806 -3.390818)', '2026-07-28 15:52:18', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02378 -3.390812)'), GeomFromEWKT('SRID=4674;POINT (-39.023806 -3.390818)'))) / (select extract(epoch from '2026-07-28 15:52:18'::timestamp) - extract(epoch from '2026-07-28 15:52:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02378 -3.390812)'), GeomFromEWKT('SRID=4674;POINT (-39.023806 -3.390818)'))) / (select extract(epoch from '2026-07-28 15:52:18'::timestamp) - extract(epoch from '2026-07-28 15:52: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'), 47422, 'SRID=4674;POINT (-39.023832 -3.390817)', '2026-07-28 15:52:26', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023806 -3.390818)'), GeomFromEWKT('SRID=4674;POINT (-39.023832 -3.390817)'))) / (select extract(epoch from '2026-07-28 15:52:26'::timestamp) - extract(epoch from '2026-07-28 15:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023806 -3.390818)'), GeomFromEWKT('SRID=4674;POINT (-39.023832 -3.390817)'))) / (select extract(epoch from '2026-07-28 15:52:26'::timestamp) - extract(epoch from '2026-07-28 15:52: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'), 47422, 'SRID=4674;POINT (-39.02386 -3.39082)', '2026-07-28 15:52:34', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023832 -3.390817)'), GeomFromEWKT('SRID=4674;POINT (-39.02386 -3.39082)'))) / (select extract(epoch from '2026-07-28 15:52:34'::timestamp) - extract(epoch from '2026-07-28 15:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023832 -3.390817)'), GeomFromEWKT('SRID=4674;POINT (-39.02386 -3.39082)'))) / (select extract(epoch from '2026-07-28 15:52:34'::timestamp) - extract(epoch from '2026-07-28 15:52: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'), 47422, 'SRID=4674;POINT (-39.023887 -3.390817)', '2026-07-28 15:52:44', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02386 -3.39082)'), GeomFromEWKT('SRID=4674;POINT (-39.023887 -3.390817)'))) / (select extract(epoch from '2026-07-28 15:52:44'::timestamp) - extract(epoch from '2026-07-28 15:52:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02386 -3.39082)'), GeomFromEWKT('SRID=4674;POINT (-39.023887 -3.390817)'))) / (select extract(epoch from '2026-07-28 15:52:44'::timestamp) - extract(epoch from '2026-07-28 15:52: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'), 47422, 'SRID=4674;POINT (-39.02391 -3.390818)', '2026-07-28 15:52:53', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023887 -3.390817)'), GeomFromEWKT('SRID=4674;POINT (-39.02391 -3.390818)'))) / (select extract(epoch from '2026-07-28 15:52:53'::timestamp) - extract(epoch from '2026-07-28 15:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023887 -3.390817)'), GeomFromEWKT('SRID=4674;POINT (-39.02391 -3.390818)'))) / (select extract(epoch from '2026-07-28 15:52:53'::timestamp) - extract(epoch from '2026-07-28 15:52: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'), 47422, 'SRID=4674;POINT (-39.02393 -3.390817)', '2026-07-28 15:53:02', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02391 -3.390818)'), GeomFromEWKT('SRID=4674;POINT (-39.02393 -3.390817)'))) / (select extract(epoch from '2026-07-28 15:53:02'::timestamp) - extract(epoch from '2026-07-28 15:52:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02391 -3.390818)'), GeomFromEWKT('SRID=4674;POINT (-39.02393 -3.390817)'))) / (select extract(epoch from '2026-07-28 15:53:02'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.023944 -3.390816)', '2026-07-28 15:53:09', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02393 -3.390817)'), GeomFromEWKT('SRID=4674;POINT (-39.023944 -3.390816)'))) / (select extract(epoch from '2026-07-28 15:53:09'::timestamp) - extract(epoch from '2026-07-28 15:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02393 -3.390817)'), GeomFromEWKT('SRID=4674;POINT (-39.023944 -3.390816)'))) / (select extract(epoch from '2026-07-28 15:53:09'::timestamp) - extract(epoch from '2026-07-28 15:53: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'), 47422, 'SRID=4674;POINT (-39.02397 -3.390816)', '2026-07-28 15:53:19', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023944 -3.390816)'), GeomFromEWKT('SRID=4674;POINT (-39.02397 -3.390816)'))) / (select extract(epoch from '2026-07-28 15:53:19'::timestamp) - extract(epoch from '2026-07-28 15:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023944 -3.390816)'), GeomFromEWKT('SRID=4674;POINT (-39.02397 -3.390816)'))) / (select extract(epoch from '2026-07-28 15:53:19'::timestamp) - extract(epoch from '2026-07-28 15:53: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'), 47422, 'SRID=4674;POINT (-39.023992 -3.390815)', '2026-07-28 15:53:28', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02397 -3.390816)'), GeomFromEWKT('SRID=4674;POINT (-39.023992 -3.390815)'))) / (select extract(epoch from '2026-07-28 15:53:28'::timestamp) - extract(epoch from '2026-07-28 15:53:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02397 -3.390816)'), GeomFromEWKT('SRID=4674;POINT (-39.023992 -3.390815)'))) / (select extract(epoch from '2026-07-28 15:53:28'::timestamp) - extract(epoch from '2026-07-28 15:53: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'), 47422, 'SRID=4674;POINT (-39.024015 -3.390813)', '2026-07-28 15:53:38', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023992 -3.390815)'), GeomFromEWKT('SRID=4674;POINT (-39.024015 -3.390813)'))) / (select extract(epoch from '2026-07-28 15:53:38'::timestamp) - extract(epoch from '2026-07-28 15:53:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023992 -3.390815)'), GeomFromEWKT('SRID=4674;POINT (-39.024015 -3.390813)'))) / (select extract(epoch from '2026-07-28 15:53:38'::timestamp) - extract(epoch from '2026-07-28 15:53: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'), 47422, 'SRID=4674;POINT (-39.024035 -3.390803)', '2026-07-28 15:53:49', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024015 -3.390813)'), GeomFromEWKT('SRID=4674;POINT (-39.024035 -3.390803)'))) / (select extract(epoch from '2026-07-28 15:53:49'::timestamp) - extract(epoch from '2026-07-28 15:53:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024015 -3.390813)'), GeomFromEWKT('SRID=4674;POINT (-39.024035 -3.390803)'))) / (select extract(epoch from '2026-07-28 15:53:49'::timestamp) - extract(epoch from '2026-07-28 15:53: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'), 47422, 'SRID=4674;POINT (-39.024064 -3.390796)', '2026-07-28 15:53:58', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024035 -3.390803)'), GeomFromEWKT('SRID=4674;POINT (-39.024064 -3.390796)'))) / (select extract(epoch from '2026-07-28 15:53:58'::timestamp) - extract(epoch from '2026-07-28 15:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024035 -3.390803)'), GeomFromEWKT('SRID=4674;POINT (-39.024064 -3.390796)'))) / (select extract(epoch from '2026-07-28 15:53:58'::timestamp) - extract(epoch from '2026-07-28 15:53: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'), 47422, 'SRID=4674;POINT (-39.024097 -3.3908)', '2026-07-28 15:54:06', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024064 -3.390796)'), GeomFromEWKT('SRID=4674;POINT (-39.024097 -3.3908)'))) / (select extract(epoch from '2026-07-28 15:54:06'::timestamp) - extract(epoch from '2026-07-28 15:53:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024064 -3.390796)'), GeomFromEWKT('SRID=4674;POINT (-39.024097 -3.3908)'))) / (select extract(epoch from '2026-07-28 15:54:06'::timestamp) - extract(epoch from '2026-07-28 15:53: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'), 47422, 'SRID=4674;POINT (-39.024117 -3.390799)', '2026-07-28 15:54:13', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024097 -3.3908)'), GeomFromEWKT('SRID=4674;POINT (-39.024117 -3.390799)'))) / (select extract(epoch from '2026-07-28 15:54:13'::timestamp) - extract(epoch from '2026-07-28 15:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024097 -3.3908)'), GeomFromEWKT('SRID=4674;POINT (-39.024117 -3.390799)'))) / (select extract(epoch from '2026-07-28 15:54:13'::timestamp) - extract(epoch from '2026-07-28 15:54: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'), 47422, 'SRID=4674;POINT (-39.024154 -3.390801)', '2026-07-28 15:54:23', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024117 -3.390799)'), GeomFromEWKT('SRID=4674;POINT (-39.024154 -3.390801)'))) / (select extract(epoch from '2026-07-28 15:54:23'::timestamp) - extract(epoch from '2026-07-28 15:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024117 -3.390799)'), GeomFromEWKT('SRID=4674;POINT (-39.024154 -3.390801)'))) / (select extract(epoch from '2026-07-28 15:54:23'::timestamp) - extract(epoch from '2026-07-28 15:54: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'), 47422, 'SRID=4674;POINT (-39.024177 -3.390796)', '2026-07-28 15:54:34', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024154 -3.390801)'), GeomFromEWKT('SRID=4674;POINT (-39.024177 -3.390796)'))) / (select extract(epoch from '2026-07-28 15:54:34'::timestamp) - extract(epoch from '2026-07-28 15:54:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024154 -3.390801)'), GeomFromEWKT('SRID=4674;POINT (-39.024177 -3.390796)'))) / (select extract(epoch from '2026-07-28 15:54:34'::timestamp) - extract(epoch from '2026-07-28 15:54: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'), 47422, 'SRID=4674;POINT (-39.024194 -3.390792)', '2026-07-28 15:54:42', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024177 -3.390796)'), GeomFromEWKT('SRID=4674;POINT (-39.024194 -3.390792)'))) / (select extract(epoch from '2026-07-28 15:54:42'::timestamp) - extract(epoch from '2026-07-28 15:54:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024177 -3.390796)'), GeomFromEWKT('SRID=4674;POINT (-39.024194 -3.390792)'))) / (select extract(epoch from '2026-07-28 15:54:42'::timestamp) - extract(epoch from '2026-07-28 15:54: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'), 47422, 'SRID=4674;POINT (-39.024223 -3.390776)', '2026-07-28 15:54:56', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024194 -3.390792)'), GeomFromEWKT('SRID=4674;POINT (-39.024223 -3.390776)'))) / (select extract(epoch from '2026-07-28 15:54:56'::timestamp) - extract(epoch from '2026-07-28 15:54:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024194 -3.390792)'), GeomFromEWKT('SRID=4674;POINT (-39.024223 -3.390776)'))) / (select extract(epoch from '2026-07-28 15:54:56'::timestamp) - extract(epoch from '2026-07-28 15:54: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'), 47422, 'SRID=4674;POINT (-39.024253 -3.390769)', '2026-07-28 15:55:05', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024223 -3.390776)'), GeomFromEWKT('SRID=4674;POINT (-39.024253 -3.390769)'))) / (select extract(epoch from '2026-07-28 15:55:05'::timestamp) - extract(epoch from '2026-07-28 15:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024223 -3.390776)'), GeomFromEWKT('SRID=4674;POINT (-39.024253 -3.390769)'))) / (select extract(epoch from '2026-07-28 15:55:05'::timestamp) - extract(epoch from '2026-07-28 15:54: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'), 47422, 'SRID=4674;POINT (-39.024279 -3.390761)', '2026-07-28 15:55:14', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024253 -3.390769)'), GeomFromEWKT('SRID=4674;POINT (-39.024279 -3.390761)'))) / (select extract(epoch from '2026-07-28 15:55:14'::timestamp) - extract(epoch from '2026-07-28 15:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024253 -3.390769)'), GeomFromEWKT('SRID=4674;POINT (-39.024279 -3.390761)'))) / (select extract(epoch from '2026-07-28 15:55:14'::timestamp) - extract(epoch from '2026-07-28 15:55: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'), 47422, 'SRID=4674;POINT (-39.024303 -3.39076)', '2026-07-28 15:55:25', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024279 -3.390761)'), GeomFromEWKT('SRID=4674;POINT (-39.024303 -3.39076)'))) / (select extract(epoch from '2026-07-28 15:55:25'::timestamp) - extract(epoch from '2026-07-28 15:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024279 -3.390761)'), GeomFromEWKT('SRID=4674;POINT (-39.024303 -3.39076)'))) / (select extract(epoch from '2026-07-28 15:55:25'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.024329 -3.390753)', '2026-07-28 15:55:37', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024303 -3.39076)'), GeomFromEWKT('SRID=4674;POINT (-39.024329 -3.390753)'))) / (select extract(epoch from '2026-07-28 15:55:37'::timestamp) - extract(epoch from '2026-07-28 15:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024303 -3.39076)'), GeomFromEWKT('SRID=4674;POINT (-39.024329 -3.390753)'))) / (select extract(epoch from '2026-07-28 15:55:37'::timestamp) - extract(epoch from '2026-07-28 15:55: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'), 47422, 'SRID=4674;POINT (-39.024334 -3.390749)', '2026-07-28 15:55:45', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024329 -3.390753)'), GeomFromEWKT('SRID=4674;POINT (-39.024334 -3.390749)'))) / (select extract(epoch from '2026-07-28 15:55:45'::timestamp) - extract(epoch from '2026-07-28 15:55:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024329 -3.390753)'), GeomFromEWKT('SRID=4674;POINT (-39.024334 -3.390749)'))) / (select extract(epoch from '2026-07-28 15:55:45'::timestamp) - extract(epoch from '2026-07-28 15:55: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'), 47422, 'SRID=4674;POINT (-39.02435 -3.390747)', '2026-07-28 15:55:54', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024334 -3.390749)'), GeomFromEWKT('SRID=4674;POINT (-39.02435 -3.390747)'))) / (select extract(epoch from '2026-07-28 15:55:54'::timestamp) - extract(epoch from '2026-07-28 15:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024334 -3.390749)'), GeomFromEWKT('SRID=4674;POINT (-39.02435 -3.390747)'))) / (select extract(epoch from '2026-07-28 15:55:54'::timestamp) - extract(epoch from '2026-07-28 15:55: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'), 47422, 'SRID=4674;POINT (-39.024374 -3.390742)', '2026-07-28 15:56:02', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02435 -3.390747)'), GeomFromEWKT('SRID=4674;POINT (-39.024374 -3.390742)'))) / (select extract(epoch from '2026-07-28 15:56:02'::timestamp) - extract(epoch from '2026-07-28 15:55:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02435 -3.390747)'), GeomFromEWKT('SRID=4674;POINT (-39.024374 -3.390742)'))) / (select extract(epoch from '2026-07-28 15:56:02'::timestamp) - extract(epoch from '2026-07-28 15:55: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'), 47422, 'SRID=4674;POINT (-39.024389 -3.390736)', '2026-07-28 15:56:07', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024374 -3.390742)'), GeomFromEWKT('SRID=4674;POINT (-39.024389 -3.390736)'))) / (select extract(epoch from '2026-07-28 15:56:07'::timestamp) - extract(epoch from '2026-07-28 15:56:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024374 -3.390742)'), GeomFromEWKT('SRID=4674;POINT (-39.024389 -3.390736)'))) / (select extract(epoch from '2026-07-28 15:56:07'::timestamp) - extract(epoch from '2026-07-28 15:56: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'), 47422, 'SRID=4674;POINT (-39.024415 -3.390737)', '2026-07-28 15:56:16', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024389 -3.390736)'), GeomFromEWKT('SRID=4674;POINT (-39.024415 -3.390737)'))) / (select extract(epoch from '2026-07-28 15:56:16'::timestamp) - extract(epoch from '2026-07-28 15:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024389 -3.390736)'), GeomFromEWKT('SRID=4674;POINT (-39.024415 -3.390737)'))) / (select extract(epoch from '2026-07-28 15:56:16'::timestamp) - extract(epoch from '2026-07-28 15:56: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'), 47422, 'SRID=4674;POINT (-39.024428 -3.39074)', '2026-07-28 15:56:24', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024415 -3.390737)'), GeomFromEWKT('SRID=4674;POINT (-39.024428 -3.39074)'))) / (select extract(epoch from '2026-07-28 15:56:24'::timestamp) - extract(epoch from '2026-07-28 15:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024415 -3.390737)'), GeomFromEWKT('SRID=4674;POINT (-39.024428 -3.39074)'))) / (select extract(epoch from '2026-07-28 15:56:24'::timestamp) - extract(epoch from '2026-07-28 15:56: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'), 47422, 'SRID=4674;POINT (-39.024459 -3.390736)', '2026-07-28 15:56:36', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024428 -3.39074)'), GeomFromEWKT('SRID=4674;POINT (-39.024459 -3.390736)'))) / (select extract(epoch from '2026-07-28 15:56:36'::timestamp) - extract(epoch from '2026-07-28 15:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024428 -3.39074)'), GeomFromEWKT('SRID=4674;POINT (-39.024459 -3.390736)'))) / (select extract(epoch from '2026-07-28 15:56:36'::timestamp) - extract(epoch from '2026-07-28 15:56: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'), 47422, 'SRID=4674;POINT (-39.024488 -3.390743)', '2026-07-28 15:56:44', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024459 -3.390736)'), GeomFromEWKT('SRID=4674;POINT (-39.024488 -3.390743)'))) / (select extract(epoch from '2026-07-28 15:56:44'::timestamp) - extract(epoch from '2026-07-28 15:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024459 -3.390736)'), GeomFromEWKT('SRID=4674;POINT (-39.024488 -3.390743)'))) / (select extract(epoch from '2026-07-28 15:56:44'::timestamp) - extract(epoch from '2026-07-28 15:56: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'), 47422, 'SRID=4674;POINT (-39.0245 -3.390745)', '2026-07-28 15:56:53', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024488 -3.390743)'), GeomFromEWKT('SRID=4674;POINT (-39.0245 -3.390745)'))) / (select extract(epoch from '2026-07-28 15:56:53'::timestamp) - extract(epoch from '2026-07-28 15:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024488 -3.390743)'), GeomFromEWKT('SRID=4674;POINT (-39.0245 -3.390745)'))) / (select extract(epoch from '2026-07-28 15:56:53'::timestamp) - extract(epoch from '2026-07-28 15:56: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'), 47422, 'SRID=4674;POINT (-39.024528 -3.390737)', '2026-07-28 15:57:04', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0245 -3.390745)'), GeomFromEWKT('SRID=4674;POINT (-39.024528 -3.390737)'))) / (select extract(epoch from '2026-07-28 15:57:04'::timestamp) - extract(epoch from '2026-07-28 15:56:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0245 -3.390745)'), GeomFromEWKT('SRID=4674;POINT (-39.024528 -3.390737)'))) / (select extract(epoch from '2026-07-28 15:57:04'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.02456 -3.390733)', '2026-07-28 15:57:17', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024528 -3.390737)'), GeomFromEWKT('SRID=4674;POINT (-39.02456 -3.390733)'))) / (select extract(epoch from '2026-07-28 15:57:17'::timestamp) - extract(epoch from '2026-07-28 15:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024528 -3.390737)'), GeomFromEWKT('SRID=4674;POINT (-39.02456 -3.390733)'))) / (select extract(epoch from '2026-07-28 15:57:17'::timestamp) - extract(epoch from '2026-07-28 15:57: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'), 47422, 'SRID=4674;POINT (-39.024596 -3.39074)', '2026-07-28 15:57:26', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02456 -3.390733)'), GeomFromEWKT('SRID=4674;POINT (-39.024596 -3.39074)'))) / (select extract(epoch from '2026-07-28 15:57:26'::timestamp) - extract(epoch from '2026-07-28 15:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02456 -3.390733)'), GeomFromEWKT('SRID=4674;POINT (-39.024596 -3.39074)'))) / (select extract(epoch from '2026-07-28 15:57:26'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.024612 -3.390735)', '2026-07-28 15:57:33', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024596 -3.39074)'), GeomFromEWKT('SRID=4674;POINT (-39.024612 -3.390735)'))) / (select extract(epoch from '2026-07-28 15:57:33'::timestamp) - extract(epoch from '2026-07-28 15:57:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024596 -3.39074)'), GeomFromEWKT('SRID=4674;POINT (-39.024612 -3.390735)'))) / (select extract(epoch from '2026-07-28 15:57:33'::timestamp) - extract(epoch from '2026-07-28 15:57: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'), 47422, 'SRID=4674;POINT (-39.02463 -3.390723)', '2026-07-28 15:57:41', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024612 -3.390735)'), GeomFromEWKT('SRID=4674;POINT (-39.02463 -3.390723)'))) / (select extract(epoch from '2026-07-28 15:57:41'::timestamp) - extract(epoch from '2026-07-28 15:57:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024612 -3.390735)'), GeomFromEWKT('SRID=4674;POINT (-39.02463 -3.390723)'))) / (select extract(epoch from '2026-07-28 15:57:41'::timestamp) - extract(epoch from '2026-07-28 15:57: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'), 47422, 'SRID=4674;POINT (-39.024666 -3.390718)', '2026-07-28 15:57:49', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02463 -3.390723)'), GeomFromEWKT('SRID=4674;POINT (-39.024666 -3.390718)'))) / (select extract(epoch from '2026-07-28 15:57:49'::timestamp) - extract(epoch from '2026-07-28 15:57:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02463 -3.390723)'), GeomFromEWKT('SRID=4674;POINT (-39.024666 -3.390718)'))) / (select extract(epoch from '2026-07-28 15:57:49'::timestamp) - extract(epoch from '2026-07-28 15:57: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'), 47422, 'SRID=4674;POINT (-39.024699 -3.39071)', '2026-07-28 15:57:58', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024666 -3.390718)'), GeomFromEWKT('SRID=4674;POINT (-39.024699 -3.39071)'))) / (select extract(epoch from '2026-07-28 15:57:58'::timestamp) - extract(epoch from '2026-07-28 15:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024666 -3.390718)'), GeomFromEWKT('SRID=4674;POINT (-39.024699 -3.39071)'))) / (select extract(epoch from '2026-07-28 15:57:58'::timestamp) - extract(epoch from '2026-07-28 15:57: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'), 47422, 'SRID=4674;POINT (-39.024738 -3.39071)', '2026-07-28 15:58:07', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024699 -3.39071)'), GeomFromEWKT('SRID=4674;POINT (-39.024738 -3.39071)'))) / (select extract(epoch from '2026-07-28 15:58:07'::timestamp) - extract(epoch from '2026-07-28 15:57:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024699 -3.39071)'), GeomFromEWKT('SRID=4674;POINT (-39.024738 -3.39071)'))) / (select extract(epoch from '2026-07-28 15:58:07'::timestamp) - extract(epoch from '2026-07-28 15:57: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'), 47422, 'SRID=4674;POINT (-39.024765 -3.390699)', '2026-07-28 15:58:16', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024738 -3.39071)'), GeomFromEWKT('SRID=4674;POINT (-39.024765 -3.390699)'))) / (select extract(epoch from '2026-07-28 15:58:16'::timestamp) - extract(epoch from '2026-07-28 15:58:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024738 -3.39071)'), GeomFromEWKT('SRID=4674;POINT (-39.024765 -3.390699)'))) / (select extract(epoch from '2026-07-28 15:58:16'::timestamp) - extract(epoch from '2026-07-28 15:58: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'), 47422, 'SRID=4674;POINT (-39.024795 -3.390688)', '2026-07-28 15:58:26', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024765 -3.390699)'), GeomFromEWKT('SRID=4674;POINT (-39.024795 -3.390688)'))) / (select extract(epoch from '2026-07-28 15:58:26'::timestamp) - extract(epoch from '2026-07-28 15:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024765 -3.390699)'), GeomFromEWKT('SRID=4674;POINT (-39.024795 -3.390688)'))) / (select extract(epoch from '2026-07-28 15:58:26'::timestamp) - extract(epoch from '2026-07-28 15:58: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'), 47422, 'SRID=4674;POINT (-39.024823 -3.390672)', '2026-07-28 15:58:37', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024795 -3.390688)'), GeomFromEWKT('SRID=4674;POINT (-39.024823 -3.390672)'))) / (select extract(epoch from '2026-07-28 15:58:37'::timestamp) - extract(epoch from '2026-07-28 15:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024795 -3.390688)'), GeomFromEWKT('SRID=4674;POINT (-39.024823 -3.390672)'))) / (select extract(epoch from '2026-07-28 15:58:37'::timestamp) - extract(epoch from '2026-07-28 15:58: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'), 47422, 'SRID=4674;POINT (-39.024854 -3.390659)', '2026-07-28 15:58:44', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024823 -3.390672)'), GeomFromEWKT('SRID=4674;POINT (-39.024854 -3.390659)'))) / (select extract(epoch from '2026-07-28 15:58:44'::timestamp) - extract(epoch from '2026-07-28 15:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024823 -3.390672)'), GeomFromEWKT('SRID=4674;POINT (-39.024854 -3.390659)'))) / (select extract(epoch from '2026-07-28 15:58:44'::timestamp) - extract(epoch from '2026-07-28 15:58: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'), 47422, 'SRID=4674;POINT (-39.024879 -3.390649)', '2026-07-28 15:58:51', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024854 -3.390659)'), GeomFromEWKT('SRID=4674;POINT (-39.024879 -3.390649)'))) / (select extract(epoch from '2026-07-28 15:58:51'::timestamp) - extract(epoch from '2026-07-28 15:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024854 -3.390659)'), GeomFromEWKT('SRID=4674;POINT (-39.024879 -3.390649)'))) / (select extract(epoch from '2026-07-28 15:58:51'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.02491 -3.390638)', '2026-07-28 15:58:58', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024879 -3.390649)'), GeomFromEWKT('SRID=4674;POINT (-39.02491 -3.390638)'))) / (select extract(epoch from '2026-07-28 15:58:58'::timestamp) - extract(epoch from '2026-07-28 15:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024879 -3.390649)'), GeomFromEWKT('SRID=4674;POINT (-39.02491 -3.390638)'))) / (select extract(epoch from '2026-07-28 15:58:58'::timestamp) - extract(epoch from '2026-07-28 15:58: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'), 47422, 'SRID=4674;POINT (-39.024934 -3.390622)', '2026-07-28 15:59:04', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02491 -3.390638)'), GeomFromEWKT('SRID=4674;POINT (-39.024934 -3.390622)'))) / (select extract(epoch from '2026-07-28 15:59:04'::timestamp) - extract(epoch from '2026-07-28 15:58:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02491 -3.390638)'), GeomFromEWKT('SRID=4674;POINT (-39.024934 -3.390622)'))) / (select extract(epoch from '2026-07-28 15:59:04'::timestamp) - extract(epoch from '2026-07-28 15:58: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'), 47422, 'SRID=4674;POINT (-39.024951 -3.390609)', '2026-07-28 15:59:11', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024934 -3.390622)'), GeomFromEWKT('SRID=4674;POINT (-39.024951 -3.390609)'))) / (select extract(epoch from '2026-07-28 15:59:11'::timestamp) - extract(epoch from '2026-07-28 15:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024934 -3.390622)'), GeomFromEWKT('SRID=4674;POINT (-39.024951 -3.390609)'))) / (select extract(epoch from '2026-07-28 15:59:11'::timestamp) - extract(epoch from '2026-07-28 15:59: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'), 47422, 'SRID=4674;POINT (-39.02497 -3.390595)', '2026-07-28 15:59:20', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024951 -3.390609)'), GeomFromEWKT('SRID=4674;POINT (-39.02497 -3.390595)'))) / (select extract(epoch from '2026-07-28 15:59:20'::timestamp) - extract(epoch from '2026-07-28 15:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024951 -3.390609)'), GeomFromEWKT('SRID=4674;POINT (-39.02497 -3.390595)'))) / (select extract(epoch from '2026-07-28 15:59:20'::timestamp) - extract(epoch from '2026-07-28 15:59: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'), 47422, 'SRID=4674;POINT (-39.024988 -3.390585)', '2026-07-28 15:59:30', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02497 -3.390595)'), GeomFromEWKT('SRID=4674;POINT (-39.024988 -3.390585)'))) / (select extract(epoch from '2026-07-28 15:59:30'::timestamp) - extract(epoch from '2026-07-28 15:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02497 -3.390595)'), GeomFromEWKT('SRID=4674;POINT (-39.024988 -3.390585)'))) / (select extract(epoch from '2026-07-28 15:59:30'::timestamp) - extract(epoch from '2026-07-28 15:59: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'), 47422, 'SRID=4674;POINT (-39.025007 -3.390578)', '2026-07-28 15:59:41', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024988 -3.390585)'), GeomFromEWKT('SRID=4674;POINT (-39.025007 -3.390578)'))) / (select extract(epoch from '2026-07-28 15:59:41'::timestamp) - extract(epoch from '2026-07-28 15:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024988 -3.390585)'), GeomFromEWKT('SRID=4674;POINT (-39.025007 -3.390578)'))) / (select extract(epoch from '2026-07-28 15:59:41'::timestamp) - extract(epoch from '2026-07-28 15:59: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'), 47422, 'SRID=4674;POINT (-39.025028 -3.39058)', '2026-07-28 15:59:51', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025007 -3.390578)'), GeomFromEWKT('SRID=4674;POINT (-39.025028 -3.39058)'))) / (select extract(epoch from '2026-07-28 15:59:51'::timestamp) - extract(epoch from '2026-07-28 15:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025007 -3.390578)'), GeomFromEWKT('SRID=4674;POINT (-39.025028 -3.39058)'))) / (select extract(epoch from '2026-07-28 15:59:51'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.025056 -3.390575)', '2026-07-28 16:00:03', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025028 -3.39058)'), GeomFromEWKT('SRID=4674;POINT (-39.025056 -3.390575)'))) / (select extract(epoch from '2026-07-28 16:00:03'::timestamp) - extract(epoch from '2026-07-28 15:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025028 -3.39058)'), GeomFromEWKT('SRID=4674;POINT (-39.025056 -3.390575)'))) / (select extract(epoch from '2026-07-28 16:00:03'::timestamp) - extract(epoch from '2026-07-28 15:59: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'), 47422, 'SRID=4674;POINT (-39.025099 -3.390585)', '2026-07-28 16:00:15', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025056 -3.390575)'), GeomFromEWKT('SRID=4674;POINT (-39.025099 -3.390585)'))) / (select extract(epoch from '2026-07-28 16:00:15'::timestamp) - extract(epoch from '2026-07-28 16:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025056 -3.390575)'), GeomFromEWKT('SRID=4674;POINT (-39.025099 -3.390585)'))) / (select extract(epoch from '2026-07-28 16:00:15'::timestamp) - extract(epoch from '2026-07-28 16:00: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'), 47422, 'SRID=4674;POINT (-39.025123 -3.390589)', '2026-07-28 16:00:23', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025099 -3.390585)'), GeomFromEWKT('SRID=4674;POINT (-39.025123 -3.390589)'))) / (select extract(epoch from '2026-07-28 16:00:23'::timestamp) - extract(epoch from '2026-07-28 16:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025099 -3.390585)'), GeomFromEWKT('SRID=4674;POINT (-39.025123 -3.390589)'))) / (select extract(epoch from '2026-07-28 16:00:23'::timestamp) - extract(epoch from '2026-07-28 16:00: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'), 47422, 'SRID=4674;POINT (-39.025142 -3.390583)', '2026-07-28 16:00:31', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025123 -3.390589)'), GeomFromEWKT('SRID=4674;POINT (-39.025142 -3.390583)'))) / (select extract(epoch from '2026-07-28 16:00:31'::timestamp) - extract(epoch from '2026-07-28 16:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025123 -3.390589)'), GeomFromEWKT('SRID=4674;POINT (-39.025142 -3.390583)'))) / (select extract(epoch from '2026-07-28 16:00:31'::timestamp) - extract(epoch from '2026-07-28 16:00: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'), 47422, 'SRID=4674;POINT (-39.025166 -3.390582)', '2026-07-28 16:00:40', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025142 -3.390583)'), GeomFromEWKT('SRID=4674;POINT (-39.025166 -3.390582)'))) / (select extract(epoch from '2026-07-28 16:00:40'::timestamp) - extract(epoch from '2026-07-28 16:00:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025142 -3.390583)'), GeomFromEWKT('SRID=4674;POINT (-39.025166 -3.390582)'))) / (select extract(epoch from '2026-07-28 16:00:40'::timestamp) - extract(epoch from '2026-07-28 16:00: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'), 47422, 'SRID=4674;POINT (-39.025184 -3.390572)', '2026-07-28 16:00:49', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025166 -3.390582)'), GeomFromEWKT('SRID=4674;POINT (-39.025184 -3.390572)'))) / (select extract(epoch from '2026-07-28 16:00:49'::timestamp) - extract(epoch from '2026-07-28 16:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025166 -3.390582)'), GeomFromEWKT('SRID=4674;POINT (-39.025184 -3.390572)'))) / (select extract(epoch from '2026-07-28 16:00:49'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.025212 -3.390569)', '2026-07-28 16:00:59', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025184 -3.390572)'), GeomFromEWKT('SRID=4674;POINT (-39.025212 -3.390569)'))) / (select extract(epoch from '2026-07-28 16:00:59'::timestamp) - extract(epoch from '2026-07-28 16:00:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025184 -3.390572)'), GeomFromEWKT('SRID=4674;POINT (-39.025212 -3.390569)'))) / (select extract(epoch from '2026-07-28 16:00:59'::timestamp) - extract(epoch from '2026-07-28 16:00: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'), 47422, 'SRID=4674;POINT (-39.02523 -3.390561)', '2026-07-28 16:01:05', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025212 -3.390569)'), GeomFromEWKT('SRID=4674;POINT (-39.02523 -3.390561)'))) / (select extract(epoch from '2026-07-28 16:01:05'::timestamp) - extract(epoch from '2026-07-28 16:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025212 -3.390569)'), GeomFromEWKT('SRID=4674;POINT (-39.02523 -3.390561)'))) / (select extract(epoch from '2026-07-28 16:01:05'::timestamp) - extract(epoch from '2026-07-28 16:00: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'), 47422, 'SRID=4674;POINT (-39.025246 -3.390564)', '2026-07-28 16:01:12', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02523 -3.390561)'), GeomFromEWKT('SRID=4674;POINT (-39.025246 -3.390564)'))) / (select extract(epoch from '2026-07-28 16:01:12'::timestamp) - extract(epoch from '2026-07-28 16:01:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02523 -3.390561)'), GeomFromEWKT('SRID=4674;POINT (-39.025246 -3.390564)'))) / (select extract(epoch from '2026-07-28 16:01:12'::timestamp) - extract(epoch from '2026-07-28 16:01: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'), 47422, 'SRID=4674;POINT (-39.025256 -3.39056)', '2026-07-28 16:01:20', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025246 -3.390564)'), GeomFromEWKT('SRID=4674;POINT (-39.025256 -3.39056)'))) / (select extract(epoch from '2026-07-28 16:01:20'::timestamp) - extract(epoch from '2026-07-28 16:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025246 -3.390564)'), GeomFromEWKT('SRID=4674;POINT (-39.025256 -3.39056)'))) / (select extract(epoch from '2026-07-28 16:01:20'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.025284 -3.390556)', '2026-07-28 16:01:30', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025256 -3.39056)'), GeomFromEWKT('SRID=4674;POINT (-39.025284 -3.390556)'))) / (select extract(epoch from '2026-07-28 16:01:30'::timestamp) - extract(epoch from '2026-07-28 16:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025256 -3.39056)'), GeomFromEWKT('SRID=4674;POINT (-39.025284 -3.390556)'))) / (select extract(epoch from '2026-07-28 16:01:30'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.025321 -3.390548)', '2026-07-28 16:01:44', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025284 -3.390556)'), GeomFromEWKT('SRID=4674;POINT (-39.025321 -3.390548)'))) / (select extract(epoch from '2026-07-28 16:01:44'::timestamp) - extract(epoch from '2026-07-28 16:01:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025284 -3.390556)'), GeomFromEWKT('SRID=4674;POINT (-39.025321 -3.390548)'))) / (select extract(epoch from '2026-07-28 16:01:44'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.025357 -3.390544)', '2026-07-28 16:01:56', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025321 -3.390548)'), GeomFromEWKT('SRID=4674;POINT (-39.025357 -3.390544)'))) / (select extract(epoch from '2026-07-28 16:01:56'::timestamp) - extract(epoch from '2026-07-28 16:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025321 -3.390548)'), GeomFromEWKT('SRID=4674;POINT (-39.025357 -3.390544)'))) / (select extract(epoch from '2026-07-28 16:01:56'::timestamp) - extract(epoch from '2026-07-28 16:01: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'), 47422, 'SRID=4674;POINT (-39.025376 -3.390541)', '2026-07-28 16:02:04', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025357 -3.390544)'), GeomFromEWKT('SRID=4674;POINT (-39.025376 -3.390541)'))) / (select extract(epoch from '2026-07-28 16:02:04'::timestamp) - extract(epoch from '2026-07-28 16:01:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025357 -3.390544)'), GeomFromEWKT('SRID=4674;POINT (-39.025376 -3.390541)'))) / (select extract(epoch from '2026-07-28 16:02:04'::timestamp) - extract(epoch from '2026-07-28 16:01: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'), 47422, 'SRID=4674;POINT (-39.025393 -3.390535)', '2026-07-28 16:02:10', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025376 -3.390541)'), GeomFromEWKT('SRID=4674;POINT (-39.025393 -3.390535)'))) / (select extract(epoch from '2026-07-28 16:02:10'::timestamp) - extract(epoch from '2026-07-28 16:02:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025376 -3.390541)'), GeomFromEWKT('SRID=4674;POINT (-39.025393 -3.390535)'))) / (select extract(epoch from '2026-07-28 16:02:10'::timestamp) - extract(epoch from '2026-07-28 16:02: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'), 47422, 'SRID=4674;POINT (-39.025408 -3.390526)', '2026-07-28 16:02:18', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025393 -3.390535)'), GeomFromEWKT('SRID=4674;POINT (-39.025408 -3.390526)'))) / (select extract(epoch from '2026-07-28 16:02:18'::timestamp) - extract(epoch from '2026-07-28 16:02:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025393 -3.390535)'), GeomFromEWKT('SRID=4674;POINT (-39.025408 -3.390526)'))) / (select extract(epoch from '2026-07-28 16:02:18'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.025427 -3.390521)', '2026-07-28 16:02:26', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025408 -3.390526)'), GeomFromEWKT('SRID=4674;POINT (-39.025427 -3.390521)'))) / (select extract(epoch from '2026-07-28 16:02:26'::timestamp) - extract(epoch from '2026-07-28 16:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025408 -3.390526)'), GeomFromEWKT('SRID=4674;POINT (-39.025427 -3.390521)'))) / (select extract(epoch from '2026-07-28 16:02:26'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.025453 -3.390513)', '2026-07-28 16:02:36', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025427 -3.390521)'), GeomFromEWKT('SRID=4674;POINT (-39.025453 -3.390513)'))) / (select extract(epoch from '2026-07-28 16:02:36'::timestamp) - extract(epoch from '2026-07-28 16:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025427 -3.390521)'), GeomFromEWKT('SRID=4674;POINT (-39.025453 -3.390513)'))) / (select extract(epoch from '2026-07-28 16:02:36'::timestamp) - extract(epoch from '2026-07-28 16:02: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'), 47422, 'SRID=4674;POINT (-39.02548 -3.390496)', '2026-07-28 16:02:49', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025453 -3.390513)'), GeomFromEWKT('SRID=4674;POINT (-39.02548 -3.390496)'))) / (select extract(epoch from '2026-07-28 16:02:49'::timestamp) - extract(epoch from '2026-07-28 16:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025453 -3.390513)'), GeomFromEWKT('SRID=4674;POINT (-39.02548 -3.390496)'))) / (select extract(epoch from '2026-07-28 16:02:49'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.025503 -3.390492)', '2026-07-28 16:02:56', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02548 -3.390496)'), GeomFromEWKT('SRID=4674;POINT (-39.025503 -3.390492)'))) / (select extract(epoch from '2026-07-28 16:02:56'::timestamp) - extract(epoch from '2026-07-28 16:02:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02548 -3.390496)'), GeomFromEWKT('SRID=4674;POINT (-39.025503 -3.390492)'))) / (select extract(epoch from '2026-07-28 16:02:56'::timestamp) - extract(epoch from '2026-07-28 16:02: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'), 47422, 'SRID=4674;POINT (-39.02552 -3.390484)', '2026-07-28 16:03:03', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025503 -3.390492)'), GeomFromEWKT('SRID=4674;POINT (-39.02552 -3.390484)'))) / (select extract(epoch from '2026-07-28 16:03:03'::timestamp) - extract(epoch from '2026-07-28 16:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025503 -3.390492)'), GeomFromEWKT('SRID=4674;POINT (-39.02552 -3.390484)'))) / (select extract(epoch from '2026-07-28 16:03:03'::timestamp) - extract(epoch from '2026-07-28 16:02: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'), 47422, 'SRID=4674;POINT (-39.025555 -3.390473)', '2026-07-28 16:03:14', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02552 -3.390484)'), GeomFromEWKT('SRID=4674;POINT (-39.025555 -3.390473)'))) / (select extract(epoch from '2026-07-28 16:03:14'::timestamp) - extract(epoch from '2026-07-28 16:03:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02552 -3.390484)'), GeomFromEWKT('SRID=4674;POINT (-39.025555 -3.390473)'))) / (select extract(epoch from '2026-07-28 16:03:14'::timestamp) - extract(epoch from '2026-07-28 16:03: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'), 47422, 'SRID=4674;POINT (-39.025577 -3.390464)', '2026-07-28 16:03:23', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025555 -3.390473)'), GeomFromEWKT('SRID=4674;POINT (-39.025577 -3.390464)'))) / (select extract(epoch from '2026-07-28 16:03:23'::timestamp) - extract(epoch from '2026-07-28 16:03:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025555 -3.390473)'), GeomFromEWKT('SRID=4674;POINT (-39.025577 -3.390464)'))) / (select extract(epoch from '2026-07-28 16:03:23'::timestamp) - extract(epoch from '2026-07-28 16:03: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'), 47422, 'SRID=4674;POINT (-39.02559 -3.390454)', '2026-07-28 16:03:31', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025577 -3.390464)'), GeomFromEWKT('SRID=4674;POINT (-39.02559 -3.390454)'))) / (select extract(epoch from '2026-07-28 16:03:31'::timestamp) - extract(epoch from '2026-07-28 16:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025577 -3.390464)'), GeomFromEWKT('SRID=4674;POINT (-39.02559 -3.390454)'))) / (select extract(epoch from '2026-07-28 16:03:31'::timestamp) - extract(epoch from '2026-07-28 16:03: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'), 47422, 'SRID=4674;POINT (-39.025621 -3.390452)', '2026-07-28 16:03:40', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02559 -3.390454)'), GeomFromEWKT('SRID=4674;POINT (-39.025621 -3.390452)'))) / (select extract(epoch from '2026-07-28 16:03:40'::timestamp) - extract(epoch from '2026-07-28 16:03:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02559 -3.390454)'), GeomFromEWKT('SRID=4674;POINT (-39.025621 -3.390452)'))) / (select extract(epoch from '2026-07-28 16:03:40'::timestamp) - extract(epoch from '2026-07-28 16:03: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'), 47422, 'SRID=4674;POINT (-39.025652 -3.390446)', '2026-07-28 16:03:49', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025621 -3.390452)'), GeomFromEWKT('SRID=4674;POINT (-39.025652 -3.390446)'))) / (select extract(epoch from '2026-07-28 16:03:49'::timestamp) - extract(epoch from '2026-07-28 16:03:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025621 -3.390452)'), GeomFromEWKT('SRID=4674;POINT (-39.025652 -3.390446)'))) / (select extract(epoch from '2026-07-28 16:03:49'::timestamp) - extract(epoch from '2026-07-28 16:03: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'), 47422, 'SRID=4674;POINT (-39.025684 -3.390444)', '2026-07-28 16:03:58', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025652 -3.390446)'), GeomFromEWKT('SRID=4674;POINT (-39.025684 -3.390444)'))) / (select extract(epoch from '2026-07-28 16:03:58'::timestamp) - extract(epoch from '2026-07-28 16:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025652 -3.390446)'), GeomFromEWKT('SRID=4674;POINT (-39.025684 -3.390444)'))) / (select extract(epoch from '2026-07-28 16:03:58'::timestamp) - extract(epoch from '2026-07-28 16:03: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'), 47422, 'SRID=4674;POINT (-39.025706 -3.39044)', '2026-07-28 16:04:07', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025684 -3.390444)'), GeomFromEWKT('SRID=4674;POINT (-39.025706 -3.39044)'))) / (select extract(epoch from '2026-07-28 16:04:07'::timestamp) - extract(epoch from '2026-07-28 16:03:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025684 -3.390444)'), GeomFromEWKT('SRID=4674;POINT (-39.025706 -3.39044)'))) / (select extract(epoch from '2026-07-28 16:04:07'::timestamp) - extract(epoch from '2026-07-28 16:03: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'), 47422, 'SRID=4674;POINT (-39.02574 -3.390432)', '2026-07-28 16:04:17', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025706 -3.39044)'), GeomFromEWKT('SRID=4674;POINT (-39.02574 -3.390432)'))) / (select extract(epoch from '2026-07-28 16:04:17'::timestamp) - extract(epoch from '2026-07-28 16:04:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025706 -3.39044)'), GeomFromEWKT('SRID=4674;POINT (-39.02574 -3.390432)'))) / (select extract(epoch from '2026-07-28 16:04:17'::timestamp) - extract(epoch from '2026-07-28 16:04: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'), 47422, 'SRID=4674;POINT (-39.025774 -3.390421)', '2026-07-28 16:04:28', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02574 -3.390432)'), GeomFromEWKT('SRID=4674;POINT (-39.025774 -3.390421)'))) / (select extract(epoch from '2026-07-28 16:04:28'::timestamp) - extract(epoch from '2026-07-28 16:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02574 -3.390432)'), GeomFromEWKT('SRID=4674;POINT (-39.025774 -3.390421)'))) / (select extract(epoch from '2026-07-28 16:04:28'::timestamp) - extract(epoch from '2026-07-28 16:04: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'), 47422, 'SRID=4674;POINT (-39.025791 -3.390421)', '2026-07-28 16:04:34', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025774 -3.390421)'), GeomFromEWKT('SRID=4674;POINT (-39.025791 -3.390421)'))) / (select extract(epoch from '2026-07-28 16:04:34'::timestamp) - extract(epoch from '2026-07-28 16:04:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025774 -3.390421)'), GeomFromEWKT('SRID=4674;POINT (-39.025791 -3.390421)'))) / (select extract(epoch from '2026-07-28 16:04:34'::timestamp) - extract(epoch from '2026-07-28 16:04: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'), 47422, 'SRID=4674;POINT (-39.025819 -3.390417)', '2026-07-28 16:04:43', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025791 -3.390421)'), GeomFromEWKT('SRID=4674;POINT (-39.025819 -3.390417)'))) / (select extract(epoch from '2026-07-28 16:04:43'::timestamp) - extract(epoch from '2026-07-28 16:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025791 -3.390421)'), GeomFromEWKT('SRID=4674;POINT (-39.025819 -3.390417)'))) / (select extract(epoch from '2026-07-28 16:04:43'::timestamp) - extract(epoch from '2026-07-28 16:04: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'), 47422, 'SRID=4674;POINT (-39.025847 -3.390406)', '2026-07-28 16:04:51', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025819 -3.390417)'), GeomFromEWKT('SRID=4674;POINT (-39.025847 -3.390406)'))) / (select extract(epoch from '2026-07-28 16:04:51'::timestamp) - extract(epoch from '2026-07-28 16:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025819 -3.390417)'), GeomFromEWKT('SRID=4674;POINT (-39.025847 -3.390406)'))) / (select extract(epoch from '2026-07-28 16:04:51'::timestamp) - extract(epoch from '2026-07-28 16:04: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'), 47422, 'SRID=4674;POINT (-39.025881 -3.390398)', '2026-07-28 16:04:59', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025847 -3.390406)'), GeomFromEWKT('SRID=4674;POINT (-39.025881 -3.390398)'))) / (select extract(epoch from '2026-07-28 16:04:59'::timestamp) - extract(epoch from '2026-07-28 16:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025847 -3.390406)'), GeomFromEWKT('SRID=4674;POINT (-39.025881 -3.390398)'))) / (select extract(epoch from '2026-07-28 16:04:59'::timestamp) - extract(epoch from '2026-07-28 16:04: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'), 47422, 'SRID=4674;POINT (-39.025915 -3.390378)', '2026-07-28 16:05:08', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025881 -3.390398)'), GeomFromEWKT('SRID=4674;POINT (-39.025915 -3.390378)'))) / (select extract(epoch from '2026-07-28 16:05:08'::timestamp) - extract(epoch from '2026-07-28 16:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025881 -3.390398)'), GeomFromEWKT('SRID=4674;POINT (-39.025915 -3.390378)'))) / (select extract(epoch from '2026-07-28 16:05:08'::timestamp) - extract(epoch from '2026-07-28 16:04: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'), 47422, 'SRID=4674;POINT (-39.025941 -3.390364)', '2026-07-28 16:05:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025915 -3.390378)'), GeomFromEWKT('SRID=4674;POINT (-39.025941 -3.390364)'))) / (select extract(epoch from '2026-07-28 16:05:18'::timestamp) - extract(epoch from '2026-07-28 16:05:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025915 -3.390378)'), GeomFromEWKT('SRID=4674;POINT (-39.025941 -3.390364)'))) / (select extract(epoch from '2026-07-28 16:05:18'::timestamp) - extract(epoch from '2026-07-28 16:05: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'), 47422, 'SRID=4674;POINT (-39.025965 -3.390357)', '2026-07-28 16:05:25', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025941 -3.390364)'), GeomFromEWKT('SRID=4674;POINT (-39.025965 -3.390357)'))) / (select extract(epoch from '2026-07-28 16:05:25'::timestamp) - extract(epoch from '2026-07-28 16:05:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025941 -3.390364)'), GeomFromEWKT('SRID=4674;POINT (-39.025965 -3.390357)'))) / (select extract(epoch from '2026-07-28 16:05:25'::timestamp) - extract(epoch from '2026-07-28 16:05: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'), 47422, 'SRID=4674;POINT (-39.02599 -3.390348)', '2026-07-28 16:05:33', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025965 -3.390357)'), GeomFromEWKT('SRID=4674;POINT (-39.02599 -3.390348)'))) / (select extract(epoch from '2026-07-28 16:05:33'::timestamp) - extract(epoch from '2026-07-28 16:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025965 -3.390357)'), GeomFromEWKT('SRID=4674;POINT (-39.02599 -3.390348)'))) / (select extract(epoch from '2026-07-28 16:05:33'::timestamp) - extract(epoch from '2026-07-28 16:05: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'), 47422, 'SRID=4674;POINT (-39.026023 -3.390341)', '2026-07-28 16:05:40', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02599 -3.390348)'), GeomFromEWKT('SRID=4674;POINT (-39.026023 -3.390341)'))) / (select extract(epoch from '2026-07-28 16:05:40'::timestamp) - extract(epoch from '2026-07-28 16:05:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02599 -3.390348)'), GeomFromEWKT('SRID=4674;POINT (-39.026023 -3.390341)'))) / (select extract(epoch from '2026-07-28 16:05:40'::timestamp) - extract(epoch from '2026-07-28 16:05: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'), 47422, 'SRID=4674;POINT (-39.026075 -3.39033)', '2026-07-28 16:05:53', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026023 -3.390341)'), GeomFromEWKT('SRID=4674;POINT (-39.026075 -3.39033)'))) / (select extract(epoch from '2026-07-28 16:05:53'::timestamp) - extract(epoch from '2026-07-28 16:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026023 -3.390341)'), GeomFromEWKT('SRID=4674;POINT (-39.026075 -3.39033)'))) / (select extract(epoch from '2026-07-28 16:05:53'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.026117 -3.390322)', '2026-07-28 16:06:02', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026075 -3.39033)'), GeomFromEWKT('SRID=4674;POINT (-39.026117 -3.390322)'))) / (select extract(epoch from '2026-07-28 16:06:02'::timestamp) - extract(epoch from '2026-07-28 16:05:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026075 -3.39033)'), GeomFromEWKT('SRID=4674;POINT (-39.026117 -3.390322)'))) / (select extract(epoch from '2026-07-28 16:06:02'::timestamp) - extract(epoch from '2026-07-28 16:05: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'), 47422, 'SRID=4674;POINT (-39.026157 -3.390317)', '2026-07-28 16:06:11', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026117 -3.390322)'), GeomFromEWKT('SRID=4674;POINT (-39.026157 -3.390317)'))) / (select extract(epoch from '2026-07-28 16:06:11'::timestamp) - extract(epoch from '2026-07-28 16:06:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026117 -3.390322)'), GeomFromEWKT('SRID=4674;POINT (-39.026157 -3.390317)'))) / (select extract(epoch from '2026-07-28 16:06:11'::timestamp) - extract(epoch from '2026-07-28 16:06: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'), 47422, 'SRID=4674;POINT (-39.026194 -3.390301)', '2026-07-28 16:06:22', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026157 -3.390317)'), GeomFromEWKT('SRID=4674;POINT (-39.026194 -3.390301)'))) / (select extract(epoch from '2026-07-28 16:06:22'::timestamp) - extract(epoch from '2026-07-28 16:06:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026157 -3.390317)'), GeomFromEWKT('SRID=4674;POINT (-39.026194 -3.390301)'))) / (select extract(epoch from '2026-07-28 16:06:22'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.026227 -3.390292)', '2026-07-28 16:06:30', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026194 -3.390301)'), GeomFromEWKT('SRID=4674;POINT (-39.026227 -3.390292)'))) / (select extract(epoch from '2026-07-28 16:06:30'::timestamp) - extract(epoch from '2026-07-28 16:06:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026194 -3.390301)'), GeomFromEWKT('SRID=4674;POINT (-39.026227 -3.390292)'))) / (select extract(epoch from '2026-07-28 16:06:30'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.026253 -3.390284)', '2026-07-28 16:06:39', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026227 -3.390292)'), GeomFromEWKT('SRID=4674;POINT (-39.026253 -3.390284)'))) / (select extract(epoch from '2026-07-28 16:06:39'::timestamp) - extract(epoch from '2026-07-28 16:06:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026227 -3.390292)'), GeomFromEWKT('SRID=4674;POINT (-39.026253 -3.390284)'))) / (select extract(epoch from '2026-07-28 16:06:39'::timestamp) - extract(epoch from '2026-07-28 16:06: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'), 47422, 'SRID=4674;POINT (-39.026281 -3.390284)', '2026-07-28 16:06:49', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026253 -3.390284)'), GeomFromEWKT('SRID=4674;POINT (-39.026281 -3.390284)'))) / (select extract(epoch from '2026-07-28 16:06:49'::timestamp) - extract(epoch from '2026-07-28 16:06:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026253 -3.390284)'), GeomFromEWKT('SRID=4674;POINT (-39.026281 -3.390284)'))) / (select extract(epoch from '2026-07-28 16:06:49'::timestamp) - extract(epoch from '2026-07-28 16:06: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'), 47422, 'SRID=4674;POINT (-39.026306 -3.390283)', '2026-07-28 16:07:01', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026281 -3.390284)'), GeomFromEWKT('SRID=4674;POINT (-39.026306 -3.390283)'))) / (select extract(epoch from '2026-07-28 16:07:01'::timestamp) - extract(epoch from '2026-07-28 16:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026281 -3.390284)'), GeomFromEWKT('SRID=4674;POINT (-39.026306 -3.390283)'))) / (select extract(epoch from '2026-07-28 16:07:01'::timestamp) - extract(epoch from '2026-07-28 16:06: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'), 47422, 'SRID=4674;POINT (-39.026325 -3.390292)', '2026-07-28 16:07:07', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026306 -3.390283)'), GeomFromEWKT('SRID=4674;POINT (-39.026325 -3.390292)'))) / (select extract(epoch from '2026-07-28 16:07:07'::timestamp) - extract(epoch from '2026-07-28 16:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026306 -3.390283)'), GeomFromEWKT('SRID=4674;POINT (-39.026325 -3.390292)'))) / (select extract(epoch from '2026-07-28 16:07:07'::timestamp) - extract(epoch from '2026-07-28 16:07: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'), 47422, 'SRID=4674;POINT (-39.026341 -3.390297)', '2026-07-28 16:07:16', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026325 -3.390292)'), GeomFromEWKT('SRID=4674;POINT (-39.026341 -3.390297)'))) / (select extract(epoch from '2026-07-28 16:07:16'::timestamp) - extract(epoch from '2026-07-28 16:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026325 -3.390292)'), GeomFromEWKT('SRID=4674;POINT (-39.026341 -3.390297)'))) / (select extract(epoch from '2026-07-28 16:07:16'::timestamp) - extract(epoch from '2026-07-28 16:07: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'), 47422, 'SRID=4674;POINT (-39.026352 -3.390298)', '2026-07-28 16:07:24', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026341 -3.390297)'), GeomFromEWKT('SRID=4674;POINT (-39.026352 -3.390298)'))) / (select extract(epoch from '2026-07-28 16:07:24'::timestamp) - extract(epoch from '2026-07-28 16:07:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026341 -3.390297)'), GeomFromEWKT('SRID=4674;POINT (-39.026352 -3.390298)'))) / (select extract(epoch from '2026-07-28 16:07:24'::timestamp) - extract(epoch from '2026-07-28 16:07: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'), 47422, 'SRID=4674;POINT (-39.026387 -3.390305)', '2026-07-28 16:07:35', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026352 -3.390298)'), GeomFromEWKT('SRID=4674;POINT (-39.026387 -3.390305)'))) / (select extract(epoch from '2026-07-28 16:07:35'::timestamp) - extract(epoch from '2026-07-28 16:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026352 -3.390298)'), GeomFromEWKT('SRID=4674;POINT (-39.026387 -3.390305)'))) / (select extract(epoch from '2026-07-28 16:07:35'::timestamp) - extract(epoch from '2026-07-28 16:07: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'), 47422, 'SRID=4674;POINT (-39.026416 -3.390308)', '2026-07-28 16:07:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026387 -3.390305)'), GeomFromEWKT('SRID=4674;POINT (-39.026416 -3.390308)'))) / (select extract(epoch from '2026-07-28 16:07:43'::timestamp) - extract(epoch from '2026-07-28 16:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026387 -3.390305)'), GeomFromEWKT('SRID=4674;POINT (-39.026416 -3.390308)'))) / (select extract(epoch from '2026-07-28 16:07:43'::timestamp) - extract(epoch from '2026-07-28 16:07: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'), 47422, 'SRID=4674;POINT (-39.026462 -3.390315)', '2026-07-28 16:07:54', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026416 -3.390308)'), GeomFromEWKT('SRID=4674;POINT (-39.026462 -3.390315)'))) / (select extract(epoch from '2026-07-28 16:07:54'::timestamp) - extract(epoch from '2026-07-28 16:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026416 -3.390308)'), GeomFromEWKT('SRID=4674;POINT (-39.026462 -3.390315)'))) / (select extract(epoch from '2026-07-28 16:07:54'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.026504 -3.390323)', '2026-07-28 16:08:07', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026462 -3.390315)'), GeomFromEWKT('SRID=4674;POINT (-39.026504 -3.390323)'))) / (select extract(epoch from '2026-07-28 16:08:07'::timestamp) - extract(epoch from '2026-07-28 16:07:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026462 -3.390315)'), GeomFromEWKT('SRID=4674;POINT (-39.026504 -3.390323)'))) / (select extract(epoch from '2026-07-28 16:08:07'::timestamp) - extract(epoch from '2026-07-28 16:07: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'), 47422, 'SRID=4674;POINT (-39.02653 -3.390332)', '2026-07-28 16:08:15', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026504 -3.390323)'), GeomFromEWKT('SRID=4674;POINT (-39.02653 -3.390332)'))) / (select extract(epoch from '2026-07-28 16:08:15'::timestamp) - extract(epoch from '2026-07-28 16:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026504 -3.390323)'), GeomFromEWKT('SRID=4674;POINT (-39.02653 -3.390332)'))) / (select extract(epoch from '2026-07-28 16:08:15'::timestamp) - extract(epoch from '2026-07-28 16:08: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'), 47422, 'SRID=4674;POINT (-39.026547 -3.390334)', '2026-07-28 16:08:23', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02653 -3.390332)'), GeomFromEWKT('SRID=4674;POINT (-39.026547 -3.390334)'))) / (select extract(epoch from '2026-07-28 16:08:23'::timestamp) - extract(epoch from '2026-07-28 16:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02653 -3.390332)'), GeomFromEWKT('SRID=4674;POINT (-39.026547 -3.390334)'))) / (select extract(epoch from '2026-07-28 16:08:23'::timestamp) - extract(epoch from '2026-07-28 16:08: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'), 47422, 'SRID=4674;POINT (-39.026579 -3.390337)', '2026-07-28 16:08:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026547 -3.390334)'), GeomFromEWKT('SRID=4674;POINT (-39.026579 -3.390337)'))) / (select extract(epoch from '2026-07-28 16:08:32'::timestamp) - extract(epoch from '2026-07-28 16:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026547 -3.390334)'), GeomFromEWKT('SRID=4674;POINT (-39.026579 -3.390337)'))) / (select extract(epoch from '2026-07-28 16:08:32'::timestamp) - extract(epoch from '2026-07-28 16:08: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'), 47422, 'SRID=4674;POINT (-39.026609 -3.390339)', '2026-07-28 16:08:41', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026579 -3.390337)'), GeomFromEWKT('SRID=4674;POINT (-39.026609 -3.390339)'))) / (select extract(epoch from '2026-07-28 16:08:41'::timestamp) - extract(epoch from '2026-07-28 16:08:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026579 -3.390337)'), GeomFromEWKT('SRID=4674;POINT (-39.026609 -3.390339)'))) / (select extract(epoch from '2026-07-28 16:08:41'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.026632 -3.390338)', '2026-07-28 16:08:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026609 -3.390339)'), GeomFromEWKT('SRID=4674;POINT (-39.026632 -3.390338)'))) / (select extract(epoch from '2026-07-28 16:08:50'::timestamp) - extract(epoch from '2026-07-28 16:08:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026609 -3.390339)'), GeomFromEWKT('SRID=4674;POINT (-39.026632 -3.390338)'))) / (select extract(epoch from '2026-07-28 16:08:50'::timestamp) - extract(epoch from '2026-07-28 16:08: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'), 47422, 'SRID=4674;POINT (-39.026659 -3.39034)', '2026-07-28 16:09:00', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026632 -3.390338)'), GeomFromEWKT('SRID=4674;POINT (-39.026659 -3.39034)'))) / (select extract(epoch from '2026-07-28 16:09:00'::timestamp) - extract(epoch from '2026-07-28 16:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026632 -3.390338)'), GeomFromEWKT('SRID=4674;POINT (-39.026659 -3.39034)'))) / (select extract(epoch from '2026-07-28 16:09:00'::timestamp) - extract(epoch from '2026-07-28 16:08: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'), 47422, 'SRID=4674;POINT (-39.026677 -3.390339)', '2026-07-28 16:09:10', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026659 -3.39034)'), GeomFromEWKT('SRID=4674;POINT (-39.026677 -3.390339)'))) / (select extract(epoch from '2026-07-28 16:09:10'::timestamp) - extract(epoch from '2026-07-28 16:09:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026659 -3.39034)'), GeomFromEWKT('SRID=4674;POINT (-39.026677 -3.390339)'))) / (select extract(epoch from '2026-07-28 16:09:10'::timestamp) - extract(epoch from '2026-07-28 16:09: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'), 47422, 'SRID=4674;POINT (-39.026706 -3.390341)', '2026-07-28 16:09:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026677 -3.390339)'), GeomFromEWKT('SRID=4674;POINT (-39.026706 -3.390341)'))) / (select extract(epoch from '2026-07-28 16:09:21'::timestamp) - extract(epoch from '2026-07-28 16:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026677 -3.390339)'), GeomFromEWKT('SRID=4674;POINT (-39.026706 -3.390341)'))) / (select extract(epoch from '2026-07-28 16:09:21'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.026737 -3.390351)', '2026-07-28 16:09:30', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026706 -3.390341)'), GeomFromEWKT('SRID=4674;POINT (-39.026737 -3.390351)'))) / (select extract(epoch from '2026-07-28 16:09:30'::timestamp) - extract(epoch from '2026-07-28 16:09:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026706 -3.390341)'), GeomFromEWKT('SRID=4674;POINT (-39.026737 -3.390351)'))) / (select extract(epoch from '2026-07-28 16:09:30'::timestamp) - extract(epoch from '2026-07-28 16:09: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'), 47422, 'SRID=4674;POINT (-39.026754 -3.390355)', '2026-07-28 16:09:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026737 -3.390351)'), GeomFromEWKT('SRID=4674;POINT (-39.026754 -3.390355)'))) / (select extract(epoch from '2026-07-28 16:09:38'::timestamp) - extract(epoch from '2026-07-28 16:09:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026737 -3.390351)'), GeomFromEWKT('SRID=4674;POINT (-39.026754 -3.390355)'))) / (select extract(epoch from '2026-07-28 16:09:38'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.02678 -3.390354)', '2026-07-28 16:09:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026754 -3.390355)'), GeomFromEWKT('SRID=4674;POINT (-39.02678 -3.390354)'))) / (select extract(epoch from '2026-07-28 16:09:48'::timestamp) - extract(epoch from '2026-07-28 16:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026754 -3.390355)'), GeomFromEWKT('SRID=4674;POINT (-39.02678 -3.390354)'))) / (select extract(epoch from '2026-07-28 16:09:48'::timestamp) - extract(epoch from '2026-07-28 16:09: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'), 47422, 'SRID=4674;POINT (-39.026816 -3.390353)', '2026-07-28 16:09:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02678 -3.390354)'), GeomFromEWKT('SRID=4674;POINT (-39.026816 -3.390353)'))) / (select extract(epoch from '2026-07-28 16:09:58'::timestamp) - extract(epoch from '2026-07-28 16:09:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02678 -3.390354)'), GeomFromEWKT('SRID=4674;POINT (-39.026816 -3.390353)'))) / (select extract(epoch from '2026-07-28 16:09:58'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.026856 -3.390352)', '2026-07-28 16:10:10', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026816 -3.390353)'), GeomFromEWKT('SRID=4674;POINT (-39.026856 -3.390352)'))) / (select extract(epoch from '2026-07-28 16:10:10'::timestamp) - extract(epoch from '2026-07-28 16:09:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026816 -3.390353)'), GeomFromEWKT('SRID=4674;POINT (-39.026856 -3.390352)'))) / (select extract(epoch from '2026-07-28 16:10:10'::timestamp) - extract(epoch from '2026-07-28 16:09: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'), 47422, 'SRID=4674;POINT (-39.026874 -3.390347)', '2026-07-28 16:10:16', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026856 -3.390352)'), GeomFromEWKT('SRID=4674;POINT (-39.026874 -3.390347)'))) / (select extract(epoch from '2026-07-28 16:10:16'::timestamp) - extract(epoch from '2026-07-28 16:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026856 -3.390352)'), GeomFromEWKT('SRID=4674;POINT (-39.026874 -3.390347)'))) / (select extract(epoch from '2026-07-28 16:10:16'::timestamp) - extract(epoch from '2026-07-28 16:10: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'), 47422, 'SRID=4674;POINT (-39.026905 -3.390341)', '2026-07-28 16:10:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026874 -3.390347)'), GeomFromEWKT('SRID=4674;POINT (-39.026905 -3.390341)'))) / (select extract(epoch from '2026-07-28 16:10:24'::timestamp) - extract(epoch from '2026-07-28 16:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026874 -3.390347)'), GeomFromEWKT('SRID=4674;POINT (-39.026905 -3.390341)'))) / (select extract(epoch from '2026-07-28 16:10:24'::timestamp) - extract(epoch from '2026-07-28 16:10: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'), 47422, 'SRID=4674;POINT (-39.026938 -3.390333)', '2026-07-28 16:10:35', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026905 -3.390341)'), GeomFromEWKT('SRID=4674;POINT (-39.026938 -3.390333)'))) / (select extract(epoch from '2026-07-28 16:10:35'::timestamp) - extract(epoch from '2026-07-28 16:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026905 -3.390341)'), GeomFromEWKT('SRID=4674;POINT (-39.026938 -3.390333)'))) / (select extract(epoch from '2026-07-28 16:10:35'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.026966 -3.390326)', '2026-07-28 16:10:44', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026938 -3.390333)'), GeomFromEWKT('SRID=4674;POINT (-39.026966 -3.390326)'))) / (select extract(epoch from '2026-07-28 16:10:44'::timestamp) - extract(epoch from '2026-07-28 16:10:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026938 -3.390333)'), GeomFromEWKT('SRID=4674;POINT (-39.026966 -3.390326)'))) / (select extract(epoch from '2026-07-28 16:10:44'::timestamp) - extract(epoch from '2026-07-28 16:10: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'), 47422, 'SRID=4674;POINT (-39.026991 -3.390312)', '2026-07-28 16:10:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026966 -3.390326)'), GeomFromEWKT('SRID=4674;POINT (-39.026991 -3.390312)'))) / (select extract(epoch from '2026-07-28 16:10:56'::timestamp) - extract(epoch from '2026-07-28 16:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026966 -3.390326)'), GeomFromEWKT('SRID=4674;POINT (-39.026991 -3.390312)'))) / (select extract(epoch from '2026-07-28 16:10:56'::timestamp) - extract(epoch from '2026-07-28 16:10: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'), 47422, 'SRID=4674;POINT (-39.027018 -3.390294)', '2026-07-28 16:11:07', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026991 -3.390312)'), GeomFromEWKT('SRID=4674;POINT (-39.027018 -3.390294)'))) / (select extract(epoch from '2026-07-28 16:11:07'::timestamp) - extract(epoch from '2026-07-28 16:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026991 -3.390312)'), GeomFromEWKT('SRID=4674;POINT (-39.027018 -3.390294)'))) / (select extract(epoch from '2026-07-28 16:11:07'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.027039 -3.390288)', '2026-07-28 16:11:17', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027018 -3.390294)'), GeomFromEWKT('SRID=4674;POINT (-39.027039 -3.390288)'))) / (select extract(epoch from '2026-07-28 16:11:17'::timestamp) - extract(epoch from '2026-07-28 16:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027018 -3.390294)'), GeomFromEWKT('SRID=4674;POINT (-39.027039 -3.390288)'))) / (select extract(epoch from '2026-07-28 16:11:17'::timestamp) - extract(epoch from '2026-07-28 16:11: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'), 47422, 'SRID=4674;POINT (-39.027068 -3.390274)', '2026-07-28 16:11:26', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027039 -3.390288)'), GeomFromEWKT('SRID=4674;POINT (-39.027068 -3.390274)'))) / (select extract(epoch from '2026-07-28 16:11:26'::timestamp) - extract(epoch from '2026-07-28 16:11:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027039 -3.390288)'), GeomFromEWKT('SRID=4674;POINT (-39.027068 -3.390274)'))) / (select extract(epoch from '2026-07-28 16:11:26'::timestamp) - extract(epoch from '2026-07-28 16:11: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'), 47422, 'SRID=4674;POINT (-39.027099 -3.39027)', '2026-07-28 16:11:36', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027068 -3.390274)'), GeomFromEWKT('SRID=4674;POINT (-39.027099 -3.39027)'))) / (select extract(epoch from '2026-07-28 16:11:36'::timestamp) - extract(epoch from '2026-07-28 16:11:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027068 -3.390274)'), GeomFromEWKT('SRID=4674;POINT (-39.027099 -3.39027)'))) / (select extract(epoch from '2026-07-28 16:11:36'::timestamp) - extract(epoch from '2026-07-28 16:11: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'), 47422, 'SRID=4674;POINT (-39.027146 -3.390262)', '2026-07-28 16:11:48', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027099 -3.39027)'), GeomFromEWKT('SRID=4674;POINT (-39.027146 -3.390262)'))) / (select extract(epoch from '2026-07-28 16:11:48'::timestamp) - extract(epoch from '2026-07-28 16:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027099 -3.39027)'), GeomFromEWKT('SRID=4674;POINT (-39.027146 -3.390262)'))) / (select extract(epoch from '2026-07-28 16:11:48'::timestamp) - extract(epoch from '2026-07-28 16:11: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'), 47422, 'SRID=4674;POINT (-39.027189 -3.390253)', '2026-07-28 16:12:00', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027146 -3.390262)'), GeomFromEWKT('SRID=4674;POINT (-39.027189 -3.390253)'))) / (select extract(epoch from '2026-07-28 16:12:00'::timestamp) - extract(epoch from '2026-07-28 16:11:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027146 -3.390262)'), GeomFromEWKT('SRID=4674;POINT (-39.027189 -3.390253)'))) / (select extract(epoch from '2026-07-28 16:12:00'::timestamp) - extract(epoch from '2026-07-28 16:11: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'), 47422, 'SRID=4674;POINT (-39.027212 -3.390248)', '2026-07-28 16:12:11', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027189 -3.390253)'), GeomFromEWKT('SRID=4674;POINT (-39.027212 -3.390248)'))) / (select extract(epoch from '2026-07-28 16:12:11'::timestamp) - extract(epoch from '2026-07-28 16:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027189 -3.390253)'), GeomFromEWKT('SRID=4674;POINT (-39.027212 -3.390248)'))) / (select extract(epoch from '2026-07-28 16:12:11'::timestamp) - extract(epoch from '2026-07-28 16:12: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'), 47422, 'SRID=4674;POINT (-39.027246 -3.390243)', '2026-07-28 16:12:21', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027212 -3.390248)'), GeomFromEWKT('SRID=4674;POINT (-39.027246 -3.390243)'))) / (select extract(epoch from '2026-07-28 16:12:21'::timestamp) - extract(epoch from '2026-07-28 16:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027212 -3.390248)'), GeomFromEWKT('SRID=4674;POINT (-39.027246 -3.390243)'))) / (select extract(epoch from '2026-07-28 16:12:21'::timestamp) - extract(epoch from '2026-07-28 16:12: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'), 47422, 'SRID=4674;POINT (-39.027273 -3.390238)', '2026-07-28 16:12:32', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027246 -3.390243)'), GeomFromEWKT('SRID=4674;POINT (-39.027273 -3.390238)'))) / (select extract(epoch from '2026-07-28 16:12:32'::timestamp) - extract(epoch from '2026-07-28 16:12:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027246 -3.390243)'), GeomFromEWKT('SRID=4674;POINT (-39.027273 -3.390238)'))) / (select extract(epoch from '2026-07-28 16:12:32'::timestamp) - extract(epoch from '2026-07-28 16:12: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'), 47422, 'SRID=4674;POINT (-39.027298 -3.390235)', '2026-07-28 16:12:40', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027273 -3.390238)'), GeomFromEWKT('SRID=4674;POINT (-39.027298 -3.390235)'))) / (select extract(epoch from '2026-07-28 16:12:40'::timestamp) - extract(epoch from '2026-07-28 16:12:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027273 -3.390238)'), GeomFromEWKT('SRID=4674;POINT (-39.027298 -3.390235)'))) / (select extract(epoch from '2026-07-28 16:12:40'::timestamp) - extract(epoch from '2026-07-28 16:12: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'), 47422, 'SRID=4674;POINT (-39.027319 -3.390225)', '2026-07-28 16:12:50', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027298 -3.390235)'), GeomFromEWKT('SRID=4674;POINT (-39.027319 -3.390225)'))) / (select extract(epoch from '2026-07-28 16:12:50'::timestamp) - extract(epoch from '2026-07-28 16:12:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027298 -3.390235)'), GeomFromEWKT('SRID=4674;POINT (-39.027319 -3.390225)'))) / (select extract(epoch from '2026-07-28 16:12:50'::timestamp) - extract(epoch from '2026-07-28 16:12: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'), 47422, 'SRID=4674;POINT (-39.027345 -3.390228)', '2026-07-28 16:12:59', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027319 -3.390225)'), GeomFromEWKT('SRID=4674;POINT (-39.027345 -3.390228)'))) / (select extract(epoch from '2026-07-28 16:12:59'::timestamp) - extract(epoch from '2026-07-28 16:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027319 -3.390225)'), GeomFromEWKT('SRID=4674;POINT (-39.027345 -3.390228)'))) / (select extract(epoch from '2026-07-28 16:12:59'::timestamp) - extract(epoch from '2026-07-28 16:12: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'), 47422, 'SRID=4674;POINT (-39.027391 -3.390231)', '2026-07-28 16:13:11', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027345 -3.390228)'), GeomFromEWKT('SRID=4674;POINT (-39.027391 -3.390231)'))) / (select extract(epoch from '2026-07-28 16:13:11'::timestamp) - extract(epoch from '2026-07-28 16:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027345 -3.390228)'), GeomFromEWKT('SRID=4674;POINT (-39.027391 -3.390231)'))) / (select extract(epoch from '2026-07-28 16:13:11'::timestamp) - extract(epoch from '2026-07-28 16:12: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'), 47422, 'SRID=4674;POINT (-39.02742 -3.390233)', '2026-07-28 16:13:21', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027391 -3.390231)'), GeomFromEWKT('SRID=4674;POINT (-39.02742 -3.390233)'))) / (select extract(epoch from '2026-07-28 16:13:21'::timestamp) - extract(epoch from '2026-07-28 16:13:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027391 -3.390231)'), GeomFromEWKT('SRID=4674;POINT (-39.02742 -3.390233)'))) / (select extract(epoch from '2026-07-28 16:13:21'::timestamp) - extract(epoch from '2026-07-28 16:13: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'), 47422, 'SRID=4674;POINT (-39.027435 -3.390231)', '2026-07-28 16:13:30', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02742 -3.390233)'), GeomFromEWKT('SRID=4674;POINT (-39.027435 -3.390231)'))) / (select extract(epoch from '2026-07-28 16:13:30'::timestamp) - extract(epoch from '2026-07-28 16:13:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02742 -3.390233)'), GeomFromEWKT('SRID=4674;POINT (-39.027435 -3.390231)'))) / (select extract(epoch from '2026-07-28 16:13:30'::timestamp) - extract(epoch from '2026-07-28 16:13: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'), 47422, 'SRID=4674;POINT (-39.027464 -3.39023)', '2026-07-28 16:13:40', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027435 -3.390231)'), GeomFromEWKT('SRID=4674;POINT (-39.027464 -3.39023)'))) / (select extract(epoch from '2026-07-28 16:13:40'::timestamp) - extract(epoch from '2026-07-28 16:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027435 -3.390231)'), GeomFromEWKT('SRID=4674;POINT (-39.027464 -3.39023)'))) / (select extract(epoch from '2026-07-28 16:13:40'::timestamp) - extract(epoch from '2026-07-28 16:13: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'), 47422, 'SRID=4674;POINT (-39.027508 -3.390228)', '2026-07-28 16:13:51', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027464 -3.39023)'), GeomFromEWKT('SRID=4674;POINT (-39.027508 -3.390228)'))) / (select extract(epoch from '2026-07-28 16:13:51'::timestamp) - extract(epoch from '2026-07-28 16:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027464 -3.39023)'), GeomFromEWKT('SRID=4674;POINT (-39.027508 -3.390228)'))) / (select extract(epoch from '2026-07-28 16:13:51'::timestamp) - extract(epoch from '2026-07-28 16:13: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'), 47422, 'SRID=4674;POINT (-39.027544 -3.390228)', '2026-07-28 16:14:00', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027508 -3.390228)'), GeomFromEWKT('SRID=4674;POINT (-39.027544 -3.390228)'))) / (select extract(epoch from '2026-07-28 16:14:00'::timestamp) - extract(epoch from '2026-07-28 16:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027508 -3.390228)'), GeomFromEWKT('SRID=4674;POINT (-39.027544 -3.390228)'))) / (select extract(epoch from '2026-07-28 16:14:00'::timestamp) - extract(epoch from '2026-07-28 16:13: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'), 47422, 'SRID=4674;POINT (-39.027564 -3.390229)', '2026-07-28 16:14:08', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027544 -3.390228)'), GeomFromEWKT('SRID=4674;POINT (-39.027564 -3.390229)'))) / (select extract(epoch from '2026-07-28 16:14:08'::timestamp) - extract(epoch from '2026-07-28 16:14:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027544 -3.390228)'), GeomFromEWKT('SRID=4674;POINT (-39.027564 -3.390229)'))) / (select extract(epoch from '2026-07-28 16:14:08'::timestamp) - extract(epoch from '2026-07-28 16:14: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'), 47422, 'SRID=4674;POINT (-39.027584 -3.390229)', '2026-07-28 16:14:16', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027564 -3.390229)'), GeomFromEWKT('SRID=4674;POINT (-39.027584 -3.390229)'))) / (select extract(epoch from '2026-07-28 16:14:16'::timestamp) - extract(epoch from '2026-07-28 16:14:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027564 -3.390229)'), GeomFromEWKT('SRID=4674;POINT (-39.027584 -3.390229)'))) / (select extract(epoch from '2026-07-28 16:14:16'::timestamp) - extract(epoch from '2026-07-28 16:14: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'), 47422, 'SRID=4674;POINT (-39.027611 -3.390226)', '2026-07-28 16:14:24', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027584 -3.390229)'), GeomFromEWKT('SRID=4674;POINT (-39.027611 -3.390226)'))) / (select extract(epoch from '2026-07-28 16:14:24'::timestamp) - extract(epoch from '2026-07-28 16:14:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027584 -3.390229)'), GeomFromEWKT('SRID=4674;POINT (-39.027611 -3.390226)'))) / (select extract(epoch from '2026-07-28 16:14:24'::timestamp) - extract(epoch from '2026-07-28 16:14: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'), 47422, 'SRID=4674;POINT (-39.027634 -3.390218)', '2026-07-28 16:14:34', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027611 -3.390226)'), GeomFromEWKT('SRID=4674;POINT (-39.027634 -3.390218)'))) / (select extract(epoch from '2026-07-28 16:14:34'::timestamp) - extract(epoch from '2026-07-28 16:14:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027611 -3.390226)'), GeomFromEWKT('SRID=4674;POINT (-39.027634 -3.390218)'))) / (select extract(epoch from '2026-07-28 16:14:34'::timestamp) - extract(epoch from '2026-07-28 16:14: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'), 47422, 'SRID=4674;POINT (-39.027671 -3.390205)', '2026-07-28 16:14:43', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027634 -3.390218)'), GeomFromEWKT('SRID=4674;POINT (-39.027671 -3.390205)'))) / (select extract(epoch from '2026-07-28 16:14:43'::timestamp) - extract(epoch from '2026-07-28 16:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027634 -3.390218)'), GeomFromEWKT('SRID=4674;POINT (-39.027671 -3.390205)'))) / (select extract(epoch from '2026-07-28 16:14:43'::timestamp) - extract(epoch from '2026-07-28 16:14: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'), 47422, 'SRID=4674;POINT (-39.027712 -3.390199)', '2026-07-28 16:14:52', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027671 -3.390205)'), GeomFromEWKT('SRID=4674;POINT (-39.027712 -3.390199)'))) / (select extract(epoch from '2026-07-28 16:14:52'::timestamp) - extract(epoch from '2026-07-28 16:14:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027671 -3.390205)'), GeomFromEWKT('SRID=4674;POINT (-39.027712 -3.390199)'))) / (select extract(epoch from '2026-07-28 16:14:52'::timestamp) - extract(epoch from '2026-07-28 16:14: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'), 47422, 'SRID=4674;POINT (-39.027755 -3.390201)', '2026-07-28 16:15:01', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027712 -3.390199)'), GeomFromEWKT('SRID=4674;POINT (-39.027755 -3.390201)'))) / (select extract(epoch from '2026-07-28 16:15:01'::timestamp) - extract(epoch from '2026-07-28 16:14:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027712 -3.390199)'), GeomFromEWKT('SRID=4674;POINT (-39.027755 -3.390201)'))) / (select extract(epoch from '2026-07-28 16:15:01'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.027791 -3.390206)', '2026-07-28 16:15:10', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027755 -3.390201)'), GeomFromEWKT('SRID=4674;POINT (-39.027791 -3.390206)'))) / (select extract(epoch from '2026-07-28 16:15:10'::timestamp) - extract(epoch from '2026-07-28 16:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027755 -3.390201)'), GeomFromEWKT('SRID=4674;POINT (-39.027791 -3.390206)'))) / (select extract(epoch from '2026-07-28 16:15:10'::timestamp) - extract(epoch from '2026-07-28 16:15: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'), 47422, 'SRID=4674;POINT (-39.027821 -3.390203)', '2026-07-28 16:15:20', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027791 -3.390206)'), GeomFromEWKT('SRID=4674;POINT (-39.027821 -3.390203)'))) / (select extract(epoch from '2026-07-28 16:15:20'::timestamp) - extract(epoch from '2026-07-28 16:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027791 -3.390206)'), GeomFromEWKT('SRID=4674;POINT (-39.027821 -3.390203)'))) / (select extract(epoch from '2026-07-28 16:15:20'::timestamp) - extract(epoch from '2026-07-28 16:15: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'), 47422, 'SRID=4674;POINT (-39.027859 -3.390207)', '2026-07-28 16:15:30', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027821 -3.390203)'), GeomFromEWKT('SRID=4674;POINT (-39.027859 -3.390207)'))) / (select extract(epoch from '2026-07-28 16:15:30'::timestamp) - extract(epoch from '2026-07-28 16:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027821 -3.390203)'), GeomFromEWKT('SRID=4674;POINT (-39.027859 -3.390207)'))) / (select extract(epoch from '2026-07-28 16:15:30'::timestamp) - extract(epoch from '2026-07-28 16:15: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'), 47422, 'SRID=4674;POINT (-39.027886 -3.390204)', '2026-07-28 16:15:42', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027859 -3.390207)'), GeomFromEWKT('SRID=4674;POINT (-39.027886 -3.390204)'))) / (select extract(epoch from '2026-07-28 16:15:42'::timestamp) - extract(epoch from '2026-07-28 16:15:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027859 -3.390207)'), GeomFromEWKT('SRID=4674;POINT (-39.027886 -3.390204)'))) / (select extract(epoch from '2026-07-28 16:15:42'::timestamp) - extract(epoch from '2026-07-28 16:15: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'), 47422, 'SRID=4674;POINT (-39.02791 -3.390203)', '2026-07-28 16:15:52', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027886 -3.390204)'), GeomFromEWKT('SRID=4674;POINT (-39.02791 -3.390203)'))) / (select extract(epoch from '2026-07-28 16:15:52'::timestamp) - extract(epoch from '2026-07-28 16:15:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027886 -3.390204)'), GeomFromEWKT('SRID=4674;POINT (-39.02791 -3.390203)'))) / (select extract(epoch from '2026-07-28 16:15:52'::timestamp) - extract(epoch from '2026-07-28 16:15: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'), 47422, 'SRID=4674;POINT (-39.027933 -3.390203)', '2026-07-28 16:16:01', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02791 -3.390203)'), GeomFromEWKT('SRID=4674;POINT (-39.027933 -3.390203)'))) / (select extract(epoch from '2026-07-28 16:16:01'::timestamp) - extract(epoch from '2026-07-28 16:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02791 -3.390203)'), GeomFromEWKT('SRID=4674;POINT (-39.027933 -3.390203)'))) / (select extract(epoch from '2026-07-28 16:16:01'::timestamp) - extract(epoch from '2026-07-28 16:15: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'), 47422, 'SRID=4674;POINT (-39.02795 -3.390191)', '2026-07-28 16:16:08', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027933 -3.390203)'), GeomFromEWKT('SRID=4674;POINT (-39.02795 -3.390191)'))) / (select extract(epoch from '2026-07-28 16:16:08'::timestamp) - extract(epoch from '2026-07-28 16:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027933 -3.390203)'), GeomFromEWKT('SRID=4674;POINT (-39.02795 -3.390191)'))) / (select extract(epoch from '2026-07-28 16:16:08'::timestamp) - extract(epoch from '2026-07-28 16:16: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'), 47422, 'SRID=4674;POINT (-39.02797 -3.390187)', '2026-07-28 16:16:16', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02795 -3.390191)'), GeomFromEWKT('SRID=4674;POINT (-39.02797 -3.390187)'))) / (select extract(epoch from '2026-07-28 16:16:16'::timestamp) - extract(epoch from '2026-07-28 16:16:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02795 -3.390191)'), GeomFromEWKT('SRID=4674;POINT (-39.02797 -3.390187)'))) / (select extract(epoch from '2026-07-28 16:16:16'::timestamp) - extract(epoch from '2026-07-28 16:16: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'), 47422, 'SRID=4674;POINT (-39.027994 -3.390191)', '2026-07-28 16:16:23', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02797 -3.390187)'), GeomFromEWKT('SRID=4674;POINT (-39.027994 -3.390191)'))) / (select extract(epoch from '2026-07-28 16:16:23'::timestamp) - extract(epoch from '2026-07-28 16:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02797 -3.390187)'), GeomFromEWKT('SRID=4674;POINT (-39.027994 -3.390191)'))) / (select extract(epoch from '2026-07-28 16:16:23'::timestamp) - extract(epoch from '2026-07-28 16:16: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'), 47422, 'SRID=4674;POINT (-39.028012 -3.390192)', '2026-07-28 16:16:31', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027994 -3.390191)'), GeomFromEWKT('SRID=4674;POINT (-39.028012 -3.390192)'))) / (select extract(epoch from '2026-07-28 16:16:31'::timestamp) - extract(epoch from '2026-07-28 16:16:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027994 -3.390191)'), GeomFromEWKT('SRID=4674;POINT (-39.028012 -3.390192)'))) / (select extract(epoch from '2026-07-28 16:16:31'::timestamp) - extract(epoch from '2026-07-28 16:16: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'), 47422, 'SRID=4674;POINT (-39.028038 -3.3902)', '2026-07-28 16:16:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028012 -3.390192)'), GeomFromEWKT('SRID=4674;POINT (-39.028038 -3.3902)'))) / (select extract(epoch from '2026-07-28 16:16:40'::timestamp) - extract(epoch from '2026-07-28 16:16:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028012 -3.390192)'), GeomFromEWKT('SRID=4674;POINT (-39.028038 -3.3902)'))) / (select extract(epoch from '2026-07-28 16:16:40'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.028049 -3.390193)', '2026-07-28 16:16:47', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028038 -3.3902)'), GeomFromEWKT('SRID=4674;POINT (-39.028049 -3.390193)'))) / (select extract(epoch from '2026-07-28 16:16:47'::timestamp) - extract(epoch from '2026-07-28 16:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028038 -3.3902)'), GeomFromEWKT('SRID=4674;POINT (-39.028049 -3.390193)'))) / (select extract(epoch from '2026-07-28 16:16:47'::timestamp) - extract(epoch from '2026-07-28 16:16: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'), 47422, 'SRID=4674;POINT (-39.028064 -3.390182)', '2026-07-28 16:16:57', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028049 -3.390193)'), GeomFromEWKT('SRID=4674;POINT (-39.028064 -3.390182)'))) / (select extract(epoch from '2026-07-28 16:16:57'::timestamp) - extract(epoch from '2026-07-28 16:16:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028049 -3.390193)'), GeomFromEWKT('SRID=4674;POINT (-39.028064 -3.390182)'))) / (select extract(epoch from '2026-07-28 16:16:57'::timestamp) - extract(epoch from '2026-07-28 16:16: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'), 47422, 'SRID=4674;POINT (-39.028082 -3.390176)', '2026-07-28 16:17:06', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028064 -3.390182)'), GeomFromEWKT('SRID=4674;POINT (-39.028082 -3.390176)'))) / (select extract(epoch from '2026-07-28 16:17:06'::timestamp) - extract(epoch from '2026-07-28 16:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028064 -3.390182)'), GeomFromEWKT('SRID=4674;POINT (-39.028082 -3.390176)'))) / (select extract(epoch from '2026-07-28 16:17:06'::timestamp) - extract(epoch from '2026-07-28 16:16: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'), 47422, 'SRID=4674;POINT (-39.028098 -3.390169)', '2026-07-28 16:17:15', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028082 -3.390176)'), GeomFromEWKT('SRID=4674;POINT (-39.028098 -3.390169)'))) / (select extract(epoch from '2026-07-28 16:17:15'::timestamp) - extract(epoch from '2026-07-28 16:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028082 -3.390176)'), GeomFromEWKT('SRID=4674;POINT (-39.028098 -3.390169)'))) / (select extract(epoch from '2026-07-28 16:17:15'::timestamp) - extract(epoch from '2026-07-28 16:17: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'), 47422, 'SRID=4674;POINT (-39.02812 -3.390161)', '2026-07-28 16:17:26', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028098 -3.390169)'), GeomFromEWKT('SRID=4674;POINT (-39.02812 -3.390161)'))) / (select extract(epoch from '2026-07-28 16:17:26'::timestamp) - extract(epoch from '2026-07-28 16:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028098 -3.390169)'), GeomFromEWKT('SRID=4674;POINT (-39.02812 -3.390161)'))) / (select extract(epoch from '2026-07-28 16:17:26'::timestamp) - extract(epoch from '2026-07-28 16:17: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'), 47422, 'SRID=4674;POINT (-39.02817 -3.390161)', '2026-07-28 16:17:38', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02812 -3.390161)'), GeomFromEWKT('SRID=4674;POINT (-39.02817 -3.390161)'))) / (select extract(epoch from '2026-07-28 16:17:38'::timestamp) - extract(epoch from '2026-07-28 16:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02812 -3.390161)'), GeomFromEWKT('SRID=4674;POINT (-39.02817 -3.390161)'))) / (select extract(epoch from '2026-07-28 16:17:38'::timestamp) - extract(epoch from '2026-07-28 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'), 47422, 'SRID=4674;POINT (-39.028218 -3.390159)', '2026-07-28 16:17:50', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02817 -3.390161)'), GeomFromEWKT('SRID=4674;POINT (-39.028218 -3.390159)'))) / (select extract(epoch from '2026-07-28 16:17:50'::timestamp) - extract(epoch from '2026-07-28 16:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02817 -3.390161)'), GeomFromEWKT('SRID=4674;POINT (-39.028218 -3.390159)'))) / (select extract(epoch from '2026-07-28 16:17:50'::timestamp) - extract(epoch from '2026-07-28 16:17: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'), 47422, 'SRID=4674;POINT (-39.028253 -3.390156)', '2026-07-28 16:17:57', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028218 -3.390159)'), GeomFromEWKT('SRID=4674;POINT (-39.028253 -3.390156)'))) / (select extract(epoch from '2026-07-28 16:17:57'::timestamp) - extract(epoch from '2026-07-28 16:17:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028218 -3.390159)'), GeomFromEWKT('SRID=4674;POINT (-39.028253 -3.390156)'))) / (select extract(epoch from '2026-07-28 16:17:57'::timestamp) - extract(epoch from '2026-07-28 16:17: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'), 47422, 'SRID=4674;POINT (-39.028301 -3.390149)', '2026-07-28 16:18:08', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028253 -3.390156)'), GeomFromEWKT('SRID=4674;POINT (-39.028301 -3.390149)'))) / (select extract(epoch from '2026-07-28 16:18:08'::timestamp) - extract(epoch from '2026-07-28 16:17:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028253 -3.390156)'), GeomFromEWKT('SRID=4674;POINT (-39.028301 -3.390149)'))) / (select extract(epoch from '2026-07-28 16:18:08'::timestamp) - extract(epoch from '2026-07-28 16:17: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'), 47422, 'SRID=4674;POINT (-39.028333 -3.390146)', '2026-07-28 16:18:18', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028301 -3.390149)'), GeomFromEWKT('SRID=4674;POINT (-39.028333 -3.390146)'))) / (select extract(epoch from '2026-07-28 16:18:18'::timestamp) - extract(epoch from '2026-07-28 16:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028301 -3.390149)'), GeomFromEWKT('SRID=4674;POINT (-39.028333 -3.390146)'))) / (select extract(epoch from '2026-07-28 16:18:18'::timestamp) - extract(epoch from '2026-07-28 16:18: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'), 47422, 'SRID=4674;POINT (-39.028375 -3.390149)', '2026-07-28 16:18:26', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028333 -3.390146)'), GeomFromEWKT('SRID=4674;POINT (-39.028375 -3.390149)'))) / (select extract(epoch from '2026-07-28 16:18:26'::timestamp) - extract(epoch from '2026-07-28 16:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028333 -3.390146)'), GeomFromEWKT('SRID=4674;POINT (-39.028375 -3.390149)'))) / (select extract(epoch from '2026-07-28 16:18:26'::timestamp) - extract(epoch from '2026-07-28 16:18: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'), 47422, 'SRID=4674;POINT (-39.028413 -3.390152)', '2026-07-28 16:18:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028375 -3.390149)'), GeomFromEWKT('SRID=4674;POINT (-39.028413 -3.390152)'))) / (select extract(epoch from '2026-07-28 16:18:33'::timestamp) - extract(epoch from '2026-07-28 16:18:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028375 -3.390149)'), GeomFromEWKT('SRID=4674;POINT (-39.028413 -3.390152)'))) / (select extract(epoch from '2026-07-28 16:18:33'::timestamp) - extract(epoch from '2026-07-28 16:18: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'), 47422, 'SRID=4674;POINT (-39.028431 -3.390153)', '2026-07-28 16:18:39', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028413 -3.390152)'), GeomFromEWKT('SRID=4674;POINT (-39.028431 -3.390153)'))) / (select extract(epoch from '2026-07-28 16:18:39'::timestamp) - extract(epoch from '2026-07-28 16:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028413 -3.390152)'), GeomFromEWKT('SRID=4674;POINT (-39.028431 -3.390153)'))) / (select extract(epoch from '2026-07-28 16:18:39'::timestamp) - extract(epoch from '2026-07-28 16:18: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'), 47422, 'SRID=4674;POINT (-39.028475 -3.390162)', '2026-07-28 16:18:47', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028431 -3.390153)'), GeomFromEWKT('SRID=4674;POINT (-39.028475 -3.390162)'))) / (select extract(epoch from '2026-07-28 16:18:47'::timestamp) - extract(epoch from '2026-07-28 16:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028431 -3.390153)'), GeomFromEWKT('SRID=4674;POINT (-39.028475 -3.390162)'))) / (select extract(epoch from '2026-07-28 16:18:47'::timestamp) - extract(epoch from '2026-07-28 16:18: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'), 47422, 'SRID=4674;POINT (-39.028523 -3.390169)', '2026-07-28 16:18:57', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028475 -3.390162)'), GeomFromEWKT('SRID=4674;POINT (-39.028523 -3.390169)'))) / (select extract(epoch from '2026-07-28 16:18:57'::timestamp) - extract(epoch from '2026-07-28 16:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028475 -3.390162)'), GeomFromEWKT('SRID=4674;POINT (-39.028523 -3.390169)'))) / (select extract(epoch from '2026-07-28 16:18:57'::timestamp) - extract(epoch from '2026-07-28 16:18: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'), 47422, 'SRID=4674;POINT (-39.028575 -3.390174)', '2026-07-28 16:19:08', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028523 -3.390169)'), GeomFromEWKT('SRID=4674;POINT (-39.028575 -3.390174)'))) / (select extract(epoch from '2026-07-28 16:19:08'::timestamp) - extract(epoch from '2026-07-28 16:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028523 -3.390169)'), GeomFromEWKT('SRID=4674;POINT (-39.028575 -3.390174)'))) / (select extract(epoch from '2026-07-28 16:19:08'::timestamp) - extract(epoch from '2026-07-28 16:18: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'), 47422, 'SRID=4674;POINT (-39.028622 -3.39018)', '2026-07-28 16:19:16', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028575 -3.390174)'), GeomFromEWKT('SRID=4674;POINT (-39.028622 -3.39018)'))) / (select extract(epoch from '2026-07-28 16:19:16'::timestamp) - extract(epoch from '2026-07-28 16:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028575 -3.390174)'), GeomFromEWKT('SRID=4674;POINT (-39.028622 -3.39018)'))) / (select extract(epoch from '2026-07-28 16:19:16'::timestamp) - extract(epoch from '2026-07-28 16:19: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'), 47422, 'SRID=4674;POINT (-39.028664 -3.390187)', '2026-07-28 16:19:23', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028622 -3.39018)'), GeomFromEWKT('SRID=4674;POINT (-39.028664 -3.390187)'))) / (select extract(epoch from '2026-07-28 16:19:23'::timestamp) - extract(epoch from '2026-07-28 16:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028622 -3.39018)'), GeomFromEWKT('SRID=4674;POINT (-39.028664 -3.390187)'))) / (select extract(epoch from '2026-07-28 16:19:23'::timestamp) - extract(epoch from '2026-07-28 16:19: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'), 47422, 'SRID=4674;POINT (-39.028753 -3.390195)', '2026-07-28 16:19:36', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028664 -3.390187)'), GeomFromEWKT('SRID=4674;POINT (-39.028753 -3.390195)'))) / (select extract(epoch from '2026-07-28 16:19:36'::timestamp) - extract(epoch from '2026-07-28 16:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028664 -3.390187)'), GeomFromEWKT('SRID=4674;POINT (-39.028753 -3.390195)'))) / (select extract(epoch from '2026-07-28 16:19:36'::timestamp) - extract(epoch from '2026-07-28 16:19: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'), 47422, 'SRID=4674;POINT (-39.028834 -3.390216)', '2026-07-28 16:19:46', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028753 -3.390195)'), GeomFromEWKT('SRID=4674;POINT (-39.028834 -3.390216)'))) / (select extract(epoch from '2026-07-28 16:19:46'::timestamp) - extract(epoch from '2026-07-28 16:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028753 -3.390195)'), GeomFromEWKT('SRID=4674;POINT (-39.028834 -3.390216)'))) / (select extract(epoch from '2026-07-28 16:19:46'::timestamp) - extract(epoch from '2026-07-28 16:19: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'), 47422, 'SRID=4674;POINT (-39.028891 -3.390279)', '2026-07-28 16:19:53', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028834 -3.390216)'), GeomFromEWKT('SRID=4674;POINT (-39.028891 -3.390279)'))) / (select extract(epoch from '2026-07-28 16:19:53'::timestamp) - extract(epoch from '2026-07-28 16:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028834 -3.390216)'), GeomFromEWKT('SRID=4674;POINT (-39.028891 -3.390279)'))) / (select extract(epoch from '2026-07-28 16:19:53'::timestamp) - extract(epoch from '2026-07-28 16:19: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'), 47422, 'SRID=4674;POINT (-39.028931 -3.390388)', '2026-07-28 16:20:02', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028891 -3.390279)'), GeomFromEWKT('SRID=4674;POINT (-39.028931 -3.390388)'))) / (select extract(epoch from '2026-07-28 16:20:02'::timestamp) - extract(epoch from '2026-07-28 16:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028891 -3.390279)'), GeomFromEWKT('SRID=4674;POINT (-39.028931 -3.390388)'))) / (select extract(epoch from '2026-07-28 16:20:02'::timestamp) - extract(epoch from '2026-07-28 16:19: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'), 47422, 'SRID=4674;POINT (-39.02892 -3.390489)', '2026-07-28 16:20:10', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028931 -3.390388)'), GeomFromEWKT('SRID=4674;POINT (-39.02892 -3.390489)'))) / (select extract(epoch from '2026-07-28 16:20:10'::timestamp) - extract(epoch from '2026-07-28 16:20:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028931 -3.390388)'), GeomFromEWKT('SRID=4674;POINT (-39.02892 -3.390489)'))) / (select extract(epoch from '2026-07-28 16:20:10'::timestamp) - extract(epoch from '2026-07-28 16:20: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'), 47422, 'SRID=4674;POINT (-39.028921 -3.390515)', '2026-07-28 16:20:12', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02892 -3.390489)'), GeomFromEWKT('SRID=4674;POINT (-39.028921 -3.390515)'))) / (select extract(epoch from '2026-07-28 16:20:12'::timestamp) - extract(epoch from '2026-07-28 16:20:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02892 -3.390489)'), GeomFromEWKT('SRID=4674;POINT (-39.028921 -3.390515)'))) / (select extract(epoch from '2026-07-28 16:20:12'::timestamp) - extract(epoch from '2026-07-28 16:20: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'), 47422, 'SRID=4674;POINT (-39.028918 -3.39054)', '2026-07-28 16:20:14', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028921 -3.390515)'), GeomFromEWKT('SRID=4674;POINT (-39.028918 -3.39054)'))) / (select extract(epoch from '2026-07-28 16:20:14'::timestamp) - extract(epoch from '2026-07-28 16:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028921 -3.390515)'), GeomFromEWKT('SRID=4674;POINT (-39.028918 -3.39054)'))) / (select extract(epoch from '2026-07-28 16:20:14'::timestamp) - extract(epoch from '2026-07-28 16:20: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'), 47422, 'SRID=4674;POINT (-39.02892 -3.390557)', '2026-07-28 16:20:15', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028918 -3.39054)'), GeomFromEWKT('SRID=4674;POINT (-39.02892 -3.390557)'))) / (select extract(epoch from '2026-07-28 16:20:15'::timestamp) - extract(epoch from '2026-07-28 16:20:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028918 -3.39054)'), GeomFromEWKT('SRID=4674;POINT (-39.02892 -3.390557)'))) / (select extract(epoch from '2026-07-28 16:20:15'::timestamp) - extract(epoch from '2026-07-28 16:20: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'), 47422, 'SRID=4674;POINT (-39.028916 -3.390634)', '2026-07-28 16:20:21', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02892 -3.390557)'), GeomFromEWKT('SRID=4674;POINT (-39.028916 -3.390634)'))) / (select extract(epoch from '2026-07-28 16:20:21'::timestamp) - extract(epoch from '2026-07-28 16:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02892 -3.390557)'), GeomFromEWKT('SRID=4674;POINT (-39.028916 -3.390634)'))) / (select extract(epoch from '2026-07-28 16:20:21'::timestamp) - extract(epoch from '2026-07-28 16:20: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'), 47422, 'SRID=4674;POINT (-39.028909 -3.390734)', '2026-07-28 16:20:28', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028916 -3.390634)'), GeomFromEWKT('SRID=4674;POINT (-39.028909 -3.390734)'))) / (select extract(epoch from '2026-07-28 16:20:28'::timestamp) - extract(epoch from '2026-07-28 16:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028916 -3.390634)'), GeomFromEWKT('SRID=4674;POINT (-39.028909 -3.390734)'))) / (select extract(epoch from '2026-07-28 16:20:28'::timestamp) - extract(epoch from '2026-07-28 16:20: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'), 47422, 'SRID=4674;POINT (-39.028904 -3.390759)', '2026-07-28 16:20:30', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028909 -3.390734)'), GeomFromEWKT('SRID=4674;POINT (-39.028904 -3.390759)'))) / (select extract(epoch from '2026-07-28 16:20:30'::timestamp) - extract(epoch from '2026-07-28 16:20:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028909 -3.390734)'), GeomFromEWKT('SRID=4674;POINT (-39.028904 -3.390759)'))) / (select extract(epoch from '2026-07-28 16:20:30'::timestamp) - extract(epoch from '2026-07-28 16:20: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'), 47422, 'SRID=4674;POINT (-39.028903 -3.390787)', '2026-07-28 16:20:32', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028904 -3.390759)'), GeomFromEWKT('SRID=4674;POINT (-39.028903 -3.390787)'))) / (select extract(epoch from '2026-07-28 16:20:32'::timestamp) - extract(epoch from '2026-07-28 16:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028904 -3.390759)'), GeomFromEWKT('SRID=4674;POINT (-39.028903 -3.390787)'))) / (select extract(epoch from '2026-07-28 16:20:32'::timestamp) - extract(epoch from '2026-07-28 16:20: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'), 47422, 'SRID=4674;POINT (-39.0289 -3.390816)', '2026-07-28 16:20:34', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028903 -3.390787)'), GeomFromEWKT('SRID=4674;POINT (-39.0289 -3.390816)'))) / (select extract(epoch from '2026-07-28 16:20:34'::timestamp) - extract(epoch from '2026-07-28 16:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028903 -3.390787)'), GeomFromEWKT('SRID=4674;POINT (-39.0289 -3.390816)'))) / (select extract(epoch from '2026-07-28 16:20:34'::timestamp) - extract(epoch from '2026-07-28 16:20: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'), 47422, 'SRID=4674;POINT (-39.0289 -3.390863)', '2026-07-28 16:20:37', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0289 -3.390816)'), GeomFromEWKT('SRID=4674;POINT (-39.0289 -3.390863)'))) / (select extract(epoch from '2026-07-28 16:20:37'::timestamp) - extract(epoch from '2026-07-28 16:20:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0289 -3.390816)'), GeomFromEWKT('SRID=4674;POINT (-39.0289 -3.390863)'))) / (select extract(epoch from '2026-07-28 16:20:37'::timestamp) - extract(epoch from '2026-07-28 16:20: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'), 47422, 'SRID=4674;POINT (-39.028894 -3.390889)', '2026-07-28 16:20:39', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0289 -3.390863)'), GeomFromEWKT('SRID=4674;POINT (-39.028894 -3.390889)'))) / (select extract(epoch from '2026-07-28 16:20:39'::timestamp) - extract(epoch from '2026-07-28 16:20:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0289 -3.390863)'), GeomFromEWKT('SRID=4674;POINT (-39.028894 -3.390889)'))) / (select extract(epoch from '2026-07-28 16:20:39'::timestamp) - extract(epoch from '2026-07-28 16:20: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'), 47422, 'SRID=4674;POINT (-39.028896 -3.390905)', '2026-07-28 16:20:40', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028894 -3.390889)'), GeomFromEWKT('SRID=4674;POINT (-39.028896 -3.390905)'))) / (select extract(epoch from '2026-07-28 16:20:40'::timestamp) - extract(epoch from '2026-07-28 16:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028894 -3.390889)'), GeomFromEWKT('SRID=4674;POINT (-39.028896 -3.390905)'))) / (select extract(epoch from '2026-07-28 16:20:40'::timestamp) - extract(epoch from '2026-07-28 16:20: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'), 47422, 'SRID=4674;POINT (-39.028895 -3.390934)', '2026-07-28 16:20:42', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028896 -3.390905)'), GeomFromEWKT('SRID=4674;POINT (-39.028895 -3.390934)'))) / (select extract(epoch from '2026-07-28 16:20:42'::timestamp) - extract(epoch from '2026-07-28 16:20:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028896 -3.390905)'), GeomFromEWKT('SRID=4674;POINT (-39.028895 -3.390934)'))) / (select extract(epoch from '2026-07-28 16:20:42'::timestamp) - extract(epoch from '2026-07-28 16:20: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'), 47422, 'SRID=4674;POINT (-39.028898 -3.390972)', '2026-07-28 16:20:45', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028895 -3.390934)'), GeomFromEWKT('SRID=4674;POINT (-39.028898 -3.390972)'))) / (select extract(epoch from '2026-07-28 16:20:45'::timestamp) - extract(epoch from '2026-07-28 16:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028895 -3.390934)'), GeomFromEWKT('SRID=4674;POINT (-39.028898 -3.390972)'))) / (select extract(epoch from '2026-07-28 16:20:45'::timestamp) - extract(epoch from '2026-07-28 16:20: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'), 47422, 'SRID=4674;POINT (-39.028895 -3.391049)', '2026-07-28 16:20:51', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028898 -3.390972)'), GeomFromEWKT('SRID=4674;POINT (-39.028895 -3.391049)'))) / (select extract(epoch from '2026-07-28 16:20:51'::timestamp) - extract(epoch from '2026-07-28 16:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028898 -3.390972)'), GeomFromEWKT('SRID=4674;POINT (-39.028895 -3.391049)'))) / (select extract(epoch from '2026-07-28 16:20:51'::timestamp) - extract(epoch from '2026-07-28 16:20: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'), 47422, 'SRID=4674;POINT (-39.028883 -3.391134)', '2026-07-28 16:20:57', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028895 -3.391049)'), GeomFromEWKT('SRID=4674;POINT (-39.028883 -3.391134)'))) / (select extract(epoch from '2026-07-28 16:20:57'::timestamp) - extract(epoch from '2026-07-28 16:20:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028895 -3.391049)'), GeomFromEWKT('SRID=4674;POINT (-39.028883 -3.391134)'))) / (select extract(epoch from '2026-07-28 16:20:57'::timestamp) - extract(epoch from '2026-07-28 16:20: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'), 47422, 'SRID=4674;POINT (-39.028866 -3.391209)', '2026-07-28 16:21:03', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028883 -3.391134)'), GeomFromEWKT('SRID=4674;POINT (-39.028866 -3.391209)'))) / (select extract(epoch from '2026-07-28 16:21:03'::timestamp) - extract(epoch from '2026-07-28 16:20:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028883 -3.391134)'), GeomFromEWKT('SRID=4674;POINT (-39.028866 -3.391209)'))) / (select extract(epoch from '2026-07-28 16:21:03'::timestamp) - extract(epoch from '2026-07-28 16:20: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'), 47422, 'SRID=4674;POINT (-39.028856 -3.39129)', '2026-07-28 16:21:09', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028866 -3.391209)'), GeomFromEWKT('SRID=4674;POINT (-39.028856 -3.39129)'))) / (select extract(epoch from '2026-07-28 16:21:09'::timestamp) - extract(epoch from '2026-07-28 16:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028866 -3.391209)'), GeomFromEWKT('SRID=4674;POINT (-39.028856 -3.39129)'))) / (select extract(epoch from '2026-07-28 16:21:09'::timestamp) - extract(epoch from '2026-07-28 16:21: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'), 47422, 'SRID=4674;POINT (-39.028861 -3.391334)', '2026-07-28 16:21:12', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028856 -3.39129)'), GeomFromEWKT('SRID=4674;POINT (-39.028861 -3.391334)'))) / (select extract(epoch from '2026-07-28 16:21:12'::timestamp) - extract(epoch from '2026-07-28 16:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028856 -3.39129)'), GeomFromEWKT('SRID=4674;POINT (-39.028861 -3.391334)'))) / (select extract(epoch from '2026-07-28 16:21:12'::timestamp) - extract(epoch from '2026-07-28 16:21: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'), 47422, 'SRID=4674;POINT (-39.028853 -3.391355)', '2026-07-28 16:21:14', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028861 -3.391334)'), GeomFromEWKT('SRID=4674;POINT (-39.028853 -3.391355)'))) / (select extract(epoch from '2026-07-28 16:21:14'::timestamp) - extract(epoch from '2026-07-28 16:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028861 -3.391334)'), GeomFromEWKT('SRID=4674;POINT (-39.028853 -3.391355)'))) / (select extract(epoch from '2026-07-28 16:21:14'::timestamp) - extract(epoch from '2026-07-28 16:21: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'), 47422, 'SRID=4674;POINT (-39.028854 -3.391379)', '2026-07-28 16:21:16', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028853 -3.391355)'), GeomFromEWKT('SRID=4674;POINT (-39.028854 -3.391379)'))) / (select extract(epoch from '2026-07-28 16:21:16'::timestamp) - extract(epoch from '2026-07-28 16:21:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028853 -3.391355)'), GeomFromEWKT('SRID=4674;POINT (-39.028854 -3.391379)'))) / (select extract(epoch from '2026-07-28 16:21:16'::timestamp) - extract(epoch from '2026-07-28 16:21: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'), 47422, 'SRID=4674;POINT (-39.028855 -3.391414)', '2026-07-28 16:21:19', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028854 -3.391379)'), GeomFromEWKT('SRID=4674;POINT (-39.028855 -3.391414)'))) / (select extract(epoch from '2026-07-28 16:21:19'::timestamp) - extract(epoch from '2026-07-28 16:21:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028854 -3.391379)'), GeomFromEWKT('SRID=4674;POINT (-39.028855 -3.391414)'))) / (select extract(epoch from '2026-07-28 16:21:19'::timestamp) - extract(epoch from '2026-07-28 16:21: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'), 47422, 'SRID=4674;POINT (-39.028846 -3.391437)', '2026-07-28 16:21:21', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028855 -3.391414)'), GeomFromEWKT('SRID=4674;POINT (-39.028846 -3.391437)'))) / (select extract(epoch from '2026-07-28 16:21:21'::timestamp) - extract(epoch from '2026-07-28 16:21:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028855 -3.391414)'), GeomFromEWKT('SRID=4674;POINT (-39.028846 -3.391437)'))) / (select extract(epoch from '2026-07-28 16:21:21'::timestamp) - extract(epoch from '2026-07-28 16:21: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'), 47422, 'SRID=4674;POINT (-39.028842 -3.391489)', '2026-07-28 16:21:25', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028846 -3.391437)'), GeomFromEWKT('SRID=4674;POINT (-39.028842 -3.391489)'))) / (select extract(epoch from '2026-07-28 16:21:25'::timestamp) - extract(epoch from '2026-07-28 16:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028846 -3.391437)'), GeomFromEWKT('SRID=4674;POINT (-39.028842 -3.391489)'))) / (select extract(epoch from '2026-07-28 16:21:25'::timestamp) - extract(epoch from '2026-07-28 16:21: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'), 47422, 'SRID=4674;POINT (-39.028833 -3.391514)', '2026-07-28 16:21:27', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028842 -3.391489)'), GeomFromEWKT('SRID=4674;POINT (-39.028833 -3.391514)'))) / (select extract(epoch from '2026-07-28 16:21:27'::timestamp) - extract(epoch from '2026-07-28 16:21:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028842 -3.391489)'), GeomFromEWKT('SRID=4674;POINT (-39.028833 -3.391514)'))) / (select extract(epoch from '2026-07-28 16:21:27'::timestamp) - extract(epoch from '2026-07-28 16:21: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'), 47422, 'SRID=4674;POINT (-39.02884 -3.39157)', '2026-07-28 16:21:31', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028833 -3.391514)'), GeomFromEWKT('SRID=4674;POINT (-39.02884 -3.39157)'))) / (select extract(epoch from '2026-07-28 16:21:31'::timestamp) - extract(epoch from '2026-07-28 16:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028833 -3.391514)'), GeomFromEWKT('SRID=4674;POINT (-39.02884 -3.39157)'))) / (select extract(epoch from '2026-07-28 16:21:31'::timestamp) - extract(epoch from '2026-07-28 16:21: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'), 47422, 'SRID=4674;POINT (-39.028851 -3.391646)', '2026-07-28 16:21:37', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02884 -3.39157)'), GeomFromEWKT('SRID=4674;POINT (-39.028851 -3.391646)'))) / (select extract(epoch from '2026-07-28 16:21:37'::timestamp) - extract(epoch from '2026-07-28 16:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02884 -3.39157)'), GeomFromEWKT('SRID=4674;POINT (-39.028851 -3.391646)'))) / (select extract(epoch from '2026-07-28 16:21:37'::timestamp) - extract(epoch from '2026-07-28 16:21: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'), 47422, 'SRID=4674;POINT (-39.028848 -3.391726)', '2026-07-28 16:21:43', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028851 -3.391646)'), GeomFromEWKT('SRID=4674;POINT (-39.028848 -3.391726)'))) / (select extract(epoch from '2026-07-28 16:21:43'::timestamp) - extract(epoch from '2026-07-28 16:21:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028851 -3.391646)'), GeomFromEWKT('SRID=4674;POINT (-39.028848 -3.391726)'))) / (select extract(epoch from '2026-07-28 16:21:43'::timestamp) - extract(epoch from '2026-07-28 16:21: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'), 47422, 'SRID=4674;POINT (-39.02885 -3.391798)', '2026-07-28 16:21:48', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028848 -3.391726)'), GeomFromEWKT('SRID=4674;POINT (-39.02885 -3.391798)'))) / (select extract(epoch from '2026-07-28 16:21:48'::timestamp) - extract(epoch from '2026-07-28 16:21:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028848 -3.391726)'), GeomFromEWKT('SRID=4674;POINT (-39.02885 -3.391798)'))) / (select extract(epoch from '2026-07-28 16:21:48'::timestamp) - extract(epoch from '2026-07-28 16:21: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'), 47422, 'SRID=4674;POINT (-39.028841 -3.391917)', '2026-07-28 16:21:57', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02885 -3.391798)'), GeomFromEWKT('SRID=4674;POINT (-39.028841 -3.391917)'))) / (select extract(epoch from '2026-07-28 16:21:57'::timestamp) - extract(epoch from '2026-07-28 16:21:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02885 -3.391798)'), GeomFromEWKT('SRID=4674;POINT (-39.028841 -3.391917)'))) / (select extract(epoch from '2026-07-28 16:21:57'::timestamp) - extract(epoch from '2026-07-28 16:21: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'), 47422, 'SRID=4674;POINT (-39.02884 -3.392008)', '2026-07-28 16:22:04', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028841 -3.391917)'), GeomFromEWKT('SRID=4674;POINT (-39.02884 -3.392008)'))) / (select extract(epoch from '2026-07-28 16:22:04'::timestamp) - extract(epoch from '2026-07-28 16:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028841 -3.391917)'), GeomFromEWKT('SRID=4674;POINT (-39.02884 -3.392008)'))) / (select extract(epoch from '2026-07-28 16:22:04'::timestamp) - extract(epoch from '2026-07-28 16:21: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'), 47422, 'SRID=4674;POINT (-39.028834 -3.392069)', '2026-07-28 16:22:09', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02884 -3.392008)'), GeomFromEWKT('SRID=4674;POINT (-39.028834 -3.392069)'))) / (select extract(epoch from '2026-07-28 16:22:09'::timestamp) - extract(epoch from '2026-07-28 16:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02884 -3.392008)'), GeomFromEWKT('SRID=4674;POINT (-39.028834 -3.392069)'))) / (select extract(epoch from '2026-07-28 16:22:09'::timestamp) - extract(epoch from '2026-07-28 16:22: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'), 47422, 'SRID=4674;POINT (-39.028836 -3.392084)', '2026-07-28 16:22:10', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028834 -3.392069)'), GeomFromEWKT('SRID=4674;POINT (-39.028836 -3.392084)'))) / (select extract(epoch from '2026-07-28 16:22:10'::timestamp) - extract(epoch from '2026-07-28 16:22:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028834 -3.392069)'), GeomFromEWKT('SRID=4674;POINT (-39.028836 -3.392084)'))) / (select extract(epoch from '2026-07-28 16:22:10'::timestamp) - extract(epoch from '2026-07-28 16:22: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'), 47422, 'SRID=4674;POINT (-39.028832 -3.392136)', '2026-07-28 16:22:14', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028836 -3.392084)'), GeomFromEWKT('SRID=4674;POINT (-39.028832 -3.392136)'))) / (select extract(epoch from '2026-07-28 16:22:14'::timestamp) - extract(epoch from '2026-07-28 16:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028836 -3.392084)'), GeomFromEWKT('SRID=4674;POINT (-39.028832 -3.392136)'))) / (select extract(epoch from '2026-07-28 16:22:14'::timestamp) - extract(epoch from '2026-07-28 16:22: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'), 47422, 'SRID=4674;POINT (-39.028835 -3.392164)', '2026-07-28 16:22:16', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028832 -3.392136)'), GeomFromEWKT('SRID=4674;POINT (-39.028835 -3.392164)'))) / (select extract(epoch from '2026-07-28 16:22:16'::timestamp) - extract(epoch from '2026-07-28 16:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028832 -3.392136)'), GeomFromEWKT('SRID=4674;POINT (-39.028835 -3.392164)'))) / (select extract(epoch from '2026-07-28 16:22:16'::timestamp) - extract(epoch from '2026-07-28 16:22: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'), 47422, 'SRID=4674;POINT (-39.028838 -3.392253)', '2026-07-28 16:22:23', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028835 -3.392164)'), GeomFromEWKT('SRID=4674;POINT (-39.028838 -3.392253)'))) / (select extract(epoch from '2026-07-28 16:22:23'::timestamp) - extract(epoch from '2026-07-28 16:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028835 -3.392164)'), GeomFromEWKT('SRID=4674;POINT (-39.028838 -3.392253)'))) / (select extract(epoch from '2026-07-28 16:22:23'::timestamp) - extract(epoch from '2026-07-28 16:22: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'), 47422, 'SRID=4674;POINT (-39.028838 -3.392264)', '2026-07-28 16:22:24', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028838 -3.392253)'), GeomFromEWKT('SRID=4674;POINT (-39.028838 -3.392264)'))) / (select extract(epoch from '2026-07-28 16:22:24'::timestamp) - extract(epoch from '2026-07-28 16:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028838 -3.392253)'), GeomFromEWKT('SRID=4674;POINT (-39.028838 -3.392264)'))) / (select extract(epoch from '2026-07-28 16:22:24'::timestamp) - extract(epoch from '2026-07-28 16:22: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'), 47422, 'SRID=4674;POINT (-39.028836 -3.392309)', '2026-07-28 16:22:28', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028838 -3.392264)'), GeomFromEWKT('SRID=4674;POINT (-39.028836 -3.392309)'))) / (select extract(epoch from '2026-07-28 16:22:28'::timestamp) - extract(epoch from '2026-07-28 16:22:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028838 -3.392264)'), GeomFromEWKT('SRID=4674;POINT (-39.028836 -3.392309)'))) / (select extract(epoch from '2026-07-28 16:22:28'::timestamp) - extract(epoch from '2026-07-28 16:22: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'), 47422, 'SRID=4674;POINT (-39.028834 -3.392323)', '2026-07-28 16:22:29', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028836 -3.392309)'), GeomFromEWKT('SRID=4674;POINT (-39.028834 -3.392323)'))) / (select extract(epoch from '2026-07-28 16:22:29'::timestamp) - extract(epoch from '2026-07-28 16:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028836 -3.392309)'), GeomFromEWKT('SRID=4674;POINT (-39.028834 -3.392323)'))) / (select extract(epoch from '2026-07-28 16:22:29'::timestamp) - extract(epoch from '2026-07-28 16:22: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'), 47422, 'SRID=4674;POINT (-39.028815 -3.392407)', '2026-07-28 16:22:36', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028834 -3.392323)'), GeomFromEWKT('SRID=4674;POINT (-39.028815 -3.392407)'))) / (select extract(epoch from '2026-07-28 16:22:36'::timestamp) - extract(epoch from '2026-07-28 16:22:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028834 -3.392323)'), GeomFromEWKT('SRID=4674;POINT (-39.028815 -3.392407)'))) / (select extract(epoch from '2026-07-28 16:22:36'::timestamp) - extract(epoch from '2026-07-28 16:22: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'), 47422, 'SRID=4674;POINT (-39.028774 -3.39244)', '2026-07-28 16:22:42', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028815 -3.392407)'), GeomFromEWKT('SRID=4674;POINT (-39.028774 -3.39244)'))) / (select extract(epoch from '2026-07-28 16:22:42'::timestamp) - extract(epoch from '2026-07-28 16:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028815 -3.392407)'), GeomFromEWKT('SRID=4674;POINT (-39.028774 -3.39244)'))) / (select extract(epoch from '2026-07-28 16:22:42'::timestamp) - extract(epoch from '2026-07-28 16:22: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'), 47422, 'SRID=4674;POINT (-39.028765 -3.392439)', '2026-07-28 16:22:43', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028774 -3.39244)'), GeomFromEWKT('SRID=4674;POINT (-39.028765 -3.392439)'))) / (select extract(epoch from '2026-07-28 16:22:43'::timestamp) - extract(epoch from '2026-07-28 16:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028774 -3.39244)'), GeomFromEWKT('SRID=4674;POINT (-39.028765 -3.392439)'))) / (select extract(epoch from '2026-07-28 16:22:43'::timestamp) - extract(epoch from '2026-07-28 16:22: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'), 47422, 'SRID=4674;POINT (-39.028718 -3.39246)', '2026-07-28 16:22:52', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028765 -3.392439)'), GeomFromEWKT('SRID=4674;POINT (-39.028718 -3.39246)'))) / (select extract(epoch from '2026-07-28 16:22:52'::timestamp) - extract(epoch from '2026-07-28 16:22:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028765 -3.392439)'), GeomFromEWKT('SRID=4674;POINT (-39.028718 -3.39246)'))) / (select extract(epoch from '2026-07-28 16:22:52'::timestamp) - extract(epoch from '2026-07-28 16:22: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'), 47422, 'SRID=4674;POINT (-39.028674 -3.392567)', '2026-07-28 16:23:03', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028718 -3.39246)'), GeomFromEWKT('SRID=4674;POINT (-39.028674 -3.392567)'))) / (select extract(epoch from '2026-07-28 16:23:03'::timestamp) - extract(epoch from '2026-07-28 16:22:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028718 -3.39246)'), GeomFromEWKT('SRID=4674;POINT (-39.028674 -3.392567)'))) / (select extract(epoch from '2026-07-28 16:23:03'::timestamp) - extract(epoch from '2026-07-28 16:22: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'), 47422, 'SRID=4674;POINT (-39.028657 -3.392663)', '2026-07-28 16:23:10', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028674 -3.392567)'), GeomFromEWKT('SRID=4674;POINT (-39.028657 -3.392663)'))) / (select extract(epoch from '2026-07-28 16:23:10'::timestamp) - extract(epoch from '2026-07-28 16:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028674 -3.392567)'), GeomFromEWKT('SRID=4674;POINT (-39.028657 -3.392663)'))) / (select extract(epoch from '2026-07-28 16:23:10'::timestamp) - extract(epoch from '2026-07-28 16:23: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'), 47422, 'SRID=4674;POINT (-39.028659 -3.39268)', '2026-07-28 16:23:11', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028657 -3.392663)'), GeomFromEWKT('SRID=4674;POINT (-39.028659 -3.39268)'))) / (select extract(epoch from '2026-07-28 16:23:11'::timestamp) - extract(epoch from '2026-07-28 16:23:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028657 -3.392663)'), GeomFromEWKT('SRID=4674;POINT (-39.028659 -3.39268)'))) / (select extract(epoch from '2026-07-28 16:23:11'::timestamp) - extract(epoch from '2026-07-28 16:23: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'), 47422, 'SRID=4674;POINT (-39.028649 -3.392793)', '2026-07-28 16:23:19', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028659 -3.39268)'), GeomFromEWKT('SRID=4674;POINT (-39.028649 -3.392793)'))) / (select extract(epoch from '2026-07-28 16:23:19'::timestamp) - extract(epoch from '2026-07-28 16:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028659 -3.39268)'), GeomFromEWKT('SRID=4674;POINT (-39.028649 -3.392793)'))) / (select extract(epoch from '2026-07-28 16:23:19'::timestamp) - extract(epoch from '2026-07-28 16:23: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'), 47422, 'SRID=4674;POINT (-39.028633 -3.392889)', '2026-07-28 16:23:26', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028649 -3.392793)'), GeomFromEWKT('SRID=4674;POINT (-39.028633 -3.392889)'))) / (select extract(epoch from '2026-07-28 16:23:26'::timestamp) - extract(epoch from '2026-07-28 16:23:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028649 -3.392793)'), GeomFromEWKT('SRID=4674;POINT (-39.028633 -3.392889)'))) / (select extract(epoch from '2026-07-28 16:23:26'::timestamp) - extract(epoch from '2026-07-28 16:23: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'), 47422, 'SRID=4674;POINT (-39.028618 -3.392993)', '2026-07-28 16:23:34', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028633 -3.392889)'), GeomFromEWKT('SRID=4674;POINT (-39.028618 -3.392993)'))) / (select extract(epoch from '2026-07-28 16:23:34'::timestamp) - extract(epoch from '2026-07-28 16:23:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028633 -3.392889)'), GeomFromEWKT('SRID=4674;POINT (-39.028618 -3.392993)'))) / (select extract(epoch from '2026-07-28 16:23:34'::timestamp) - extract(epoch from '2026-07-28 16:23: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'), 47422, 'SRID=4674;POINT (-39.028604 -3.393062)', '2026-07-28 16:23:40', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028618 -3.392993)'), GeomFromEWKT('SRID=4674;POINT (-39.028604 -3.393062)'))) / (select extract(epoch from '2026-07-28 16:23:40'::timestamp) - extract(epoch from '2026-07-28 16:23:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028618 -3.392993)'), GeomFromEWKT('SRID=4674;POINT (-39.028604 -3.393062)'))) / (select extract(epoch from '2026-07-28 16:23:40'::timestamp) - extract(epoch from '2026-07-28 16:23: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'), 47422, 'SRID=4674;POINT (-39.028599 -3.393088)', '2026-07-28 16:23:42', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028604 -3.393062)'), GeomFromEWKT('SRID=4674;POINT (-39.028599 -3.393088)'))) / (select extract(epoch from '2026-07-28 16:23:42'::timestamp) - extract(epoch from '2026-07-28 16:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028604 -3.393062)'), GeomFromEWKT('SRID=4674;POINT (-39.028599 -3.393088)'))) / (select extract(epoch from '2026-07-28 16:23:42'::timestamp) - extract(epoch from '2026-07-28 16:23: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'), 47422, 'SRID=4674;POINT (-39.028591 -3.393111)', '2026-07-28 16:23:44', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028599 -3.393088)'), GeomFromEWKT('SRID=4674;POINT (-39.028591 -3.393111)'))) / (select extract(epoch from '2026-07-28 16:23:44'::timestamp) - extract(epoch from '2026-07-28 16:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028599 -3.393088)'), GeomFromEWKT('SRID=4674;POINT (-39.028591 -3.393111)'))) / (select extract(epoch from '2026-07-28 16:23:44'::timestamp) - extract(epoch from '2026-07-28 16:23: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'), 47422, 'SRID=4674;POINT (-39.028592 -3.393126)', '2026-07-28 16:23:45', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028591 -3.393111)'), GeomFromEWKT('SRID=4674;POINT (-39.028592 -3.393126)'))) / (select extract(epoch from '2026-07-28 16:23:45'::timestamp) - extract(epoch from '2026-07-28 16:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028591 -3.393111)'), GeomFromEWKT('SRID=4674;POINT (-39.028592 -3.393126)'))) / (select extract(epoch from '2026-07-28 16:23:45'::timestamp) - extract(epoch from '2026-07-28 16:23: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'), 47422, 'SRID=4674;POINT (-39.028588 -3.393207)', '2026-07-28 16:23:51', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028592 -3.393126)'), GeomFromEWKT('SRID=4674;POINT (-39.028588 -3.393207)'))) / (select extract(epoch from '2026-07-28 16:23:51'::timestamp) - extract(epoch from '2026-07-28 16:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028592 -3.393126)'), GeomFromEWKT('SRID=4674;POINT (-39.028588 -3.393207)'))) / (select extract(epoch from '2026-07-28 16:23:51'::timestamp) - extract(epoch from '2026-07-28 16:23: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'), 47422, 'SRID=4674;POINT (-39.028585 -3.393284)', '2026-07-28 16:23:57', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028588 -3.393207)'), GeomFromEWKT('SRID=4674;POINT (-39.028585 -3.393284)'))) / (select extract(epoch from '2026-07-28 16:23:57'::timestamp) - extract(epoch from '2026-07-28 16:23:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028588 -3.393207)'), GeomFromEWKT('SRID=4674;POINT (-39.028585 -3.393284)'))) / (select extract(epoch from '2026-07-28 16:23:57'::timestamp) - extract(epoch from '2026-07-28 16:23: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'), 47422, 'SRID=4674;POINT (-39.028588 -3.393361)', '2026-07-28 16:24:03', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028585 -3.393284)'), GeomFromEWKT('SRID=4674;POINT (-39.028588 -3.393361)'))) / (select extract(epoch from '2026-07-28 16:24:03'::timestamp) - extract(epoch from '2026-07-28 16:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028585 -3.393284)'), GeomFromEWKT('SRID=4674;POINT (-39.028588 -3.393361)'))) / (select extract(epoch from '2026-07-28 16:24:03'::timestamp) - extract(epoch from '2026-07-28 16:23: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'), 47422, 'SRID=4674;POINT (-39.028581 -3.393458)', '2026-07-28 16:24:11', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028588 -3.393361)'), GeomFromEWKT('SRID=4674;POINT (-39.028581 -3.393458)'))) / (select extract(epoch from '2026-07-28 16:24:11'::timestamp) - extract(epoch from '2026-07-28 16:24:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028588 -3.393361)'), GeomFromEWKT('SRID=4674;POINT (-39.028581 -3.393458)'))) / (select extract(epoch from '2026-07-28 16:24:11'::timestamp) - extract(epoch from '2026-07-28 16:24: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'), 47422, 'SRID=4674;POINT (-39.028572 -3.393538)', '2026-07-28 16:24:17', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028581 -3.393458)'), GeomFromEWKT('SRID=4674;POINT (-39.028572 -3.393538)'))) / (select extract(epoch from '2026-07-28 16:24:17'::timestamp) - extract(epoch from '2026-07-28 16:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028581 -3.393458)'), GeomFromEWKT('SRID=4674;POINT (-39.028572 -3.393538)'))) / (select extract(epoch from '2026-07-28 16:24:17'::timestamp) - extract(epoch from '2026-07-28 16:24: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'), 47422, 'SRID=4674;POINT (-39.028567 -3.393632)', '2026-07-28 16:24:24', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028572 -3.393538)'), GeomFromEWKT('SRID=4674;POINT (-39.028567 -3.393632)'))) / (select extract(epoch from '2026-07-28 16:24:24'::timestamp) - extract(epoch from '2026-07-28 16:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028572 -3.393538)'), GeomFromEWKT('SRID=4674;POINT (-39.028567 -3.393632)'))) / (select extract(epoch from '2026-07-28 16:24:24'::timestamp) - extract(epoch from '2026-07-28 16:24: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'), 47422, 'SRID=4674;POINT (-39.028554 -3.393713)', '2026-07-28 16:24:30', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028567 -3.393632)'), GeomFromEWKT('SRID=4674;POINT (-39.028554 -3.393713)'))) / (select extract(epoch from '2026-07-28 16:24:30'::timestamp) - extract(epoch from '2026-07-28 16:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028567 -3.393632)'), GeomFromEWKT('SRID=4674;POINT (-39.028554 -3.393713)'))) / (select extract(epoch from '2026-07-28 16:24:30'::timestamp) - extract(epoch from '2026-07-28 16:24: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'), 47422, 'SRID=4674;POINT (-39.028539 -3.393791)', '2026-07-28 16:24:36', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028554 -3.393713)'), GeomFromEWKT('SRID=4674;POINT (-39.028539 -3.393791)'))) / (select extract(epoch from '2026-07-28 16:24:36'::timestamp) - extract(epoch from '2026-07-28 16:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028554 -3.393713)'), GeomFromEWKT('SRID=4674;POINT (-39.028539 -3.393791)'))) / (select extract(epoch from '2026-07-28 16:24:36'::timestamp) - extract(epoch from '2026-07-28 16:24: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'), 47422, 'SRID=4674;POINT (-39.028525 -3.39387)', '2026-07-28 16:24:42', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028539 -3.393791)'), GeomFromEWKT('SRID=4674;POINT (-39.028525 -3.39387)'))) / (select extract(epoch from '2026-07-28 16:24:42'::timestamp) - extract(epoch from '2026-07-28 16:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028539 -3.393791)'), GeomFromEWKT('SRID=4674;POINT (-39.028525 -3.39387)'))) / (select extract(epoch from '2026-07-28 16:24:42'::timestamp) - extract(epoch from '2026-07-28 16:24: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'), 47422, 'SRID=4674;POINT (-39.02852 -3.393922)', '2026-07-28 16:24:46', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028525 -3.39387)'), GeomFromEWKT('SRID=4674;POINT (-39.02852 -3.393922)'))) / (select extract(epoch from '2026-07-28 16:24:46'::timestamp) - extract(epoch from '2026-07-28 16:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028525 -3.39387)'), GeomFromEWKT('SRID=4674;POINT (-39.02852 -3.393922)'))) / (select extract(epoch from '2026-07-28 16:24:46'::timestamp) - extract(epoch from '2026-07-28 16:24: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'), 47422, 'SRID=4674;POINT (-39.028517 -3.393946)', '2026-07-28 16:24:48', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02852 -3.393922)'), GeomFromEWKT('SRID=4674;POINT (-39.028517 -3.393946)'))) / (select extract(epoch from '2026-07-28 16:24:48'::timestamp) - extract(epoch from '2026-07-28 16:24:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02852 -3.393922)'), GeomFromEWKT('SRID=4674;POINT (-39.028517 -3.393946)'))) / (select extract(epoch from '2026-07-28 16:24:48'::timestamp) - extract(epoch from '2026-07-28 16:24: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'), 47422, 'SRID=4674;POINT (-39.028505 -3.394023)', '2026-07-28 16:24:54', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028517 -3.393946)'), GeomFromEWKT('SRID=4674;POINT (-39.028505 -3.394023)'))) / (select extract(epoch from '2026-07-28 16:24:54'::timestamp) - extract(epoch from '2026-07-28 16:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028517 -3.393946)'), GeomFromEWKT('SRID=4674;POINT (-39.028505 -3.394023)'))) / (select extract(epoch from '2026-07-28 16:24:54'::timestamp) - extract(epoch from '2026-07-28 16:24: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'), 47422, 'SRID=4674;POINT (-39.028503 -3.394035)', '2026-07-28 16:24:55', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028505 -3.394023)'), GeomFromEWKT('SRID=4674;POINT (-39.028503 -3.394035)'))) / (select extract(epoch from '2026-07-28 16:24:55'::timestamp) - extract(epoch from '2026-07-28 16:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028505 -3.394023)'), GeomFromEWKT('SRID=4674;POINT (-39.028503 -3.394035)'))) / (select extract(epoch from '2026-07-28 16:24:55'::timestamp) - extract(epoch from '2026-07-28 16:24: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'), 47422, 'SRID=4674;POINT (-39.028487 -3.394119)', '2026-07-28 16:25:02', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028503 -3.394035)'), GeomFromEWKT('SRID=4674;POINT (-39.028487 -3.394119)'))) / (select extract(epoch from '2026-07-28 16:25:02'::timestamp) - extract(epoch from '2026-07-28 16:24:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028503 -3.394035)'), GeomFromEWKT('SRID=4674;POINT (-39.028487 -3.394119)'))) / (select extract(epoch from '2026-07-28 16:25:02'::timestamp) - extract(epoch from '2026-07-28 16:24: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'), 47422, 'SRID=4674;POINT (-39.028471 -3.394176)', '2026-07-28 16:25:07', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028487 -3.394119)'), GeomFromEWKT('SRID=4674;POINT (-39.028471 -3.394176)'))) / (select extract(epoch from '2026-07-28 16:25:07'::timestamp) - extract(epoch from '2026-07-28 16:25:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028487 -3.394119)'), GeomFromEWKT('SRID=4674;POINT (-39.028471 -3.394176)'))) / (select extract(epoch from '2026-07-28 16:25:07'::timestamp) - extract(epoch from '2026-07-28 16:25: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'), 47422, 'SRID=4674;POINT (-39.028459 -3.394208)', '2026-07-28 16:25:10', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028471 -3.394176)'), GeomFromEWKT('SRID=4674;POINT (-39.028459 -3.394208)'))) / (select extract(epoch from '2026-07-28 16:25:10'::timestamp) - extract(epoch from '2026-07-28 16:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028471 -3.394176)'), GeomFromEWKT('SRID=4674;POINT (-39.028459 -3.394208)'))) / (select extract(epoch from '2026-07-28 16:25:10'::timestamp) - extract(epoch from '2026-07-28 16:25: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'), 47422, 'SRID=4674;POINT (-39.028431 -3.394289)', '2026-07-28 16:25:17', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028459 -3.394208)'), GeomFromEWKT('SRID=4674;POINT (-39.028431 -3.394289)'))) / (select extract(epoch from '2026-07-28 16:25:17'::timestamp) - extract(epoch from '2026-07-28 16:25:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028459 -3.394208)'), GeomFromEWKT('SRID=4674;POINT (-39.028431 -3.394289)'))) / (select extract(epoch from '2026-07-28 16:25:17'::timestamp) - extract(epoch from '2026-07-28 16:25: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'), 47422, 'SRID=4674;POINT (-39.028409 -3.394394)', '2026-07-28 16:25:25', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028431 -3.394289)'), GeomFromEWKT('SRID=4674;POINT (-39.028409 -3.394394)'))) / (select extract(epoch from '2026-07-28 16:25:25'::timestamp) - extract(epoch from '2026-07-28 16:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028431 -3.394289)'), GeomFromEWKT('SRID=4674;POINT (-39.028409 -3.394394)'))) / (select extract(epoch from '2026-07-28 16:25:25'::timestamp) - extract(epoch from '2026-07-28 16:25: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'), 47422, 'SRID=4674;POINT (-39.028392 -3.39449)', '2026-07-28 16:25:32', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028409 -3.394394)'), GeomFromEWKT('SRID=4674;POINT (-39.028392 -3.39449)'))) / (select extract(epoch from '2026-07-28 16:25:32'::timestamp) - extract(epoch from '2026-07-28 16:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028409 -3.394394)'), GeomFromEWKT('SRID=4674;POINT (-39.028392 -3.39449)'))) / (select extract(epoch from '2026-07-28 16:25:32'::timestamp) - extract(epoch from '2026-07-28 16:25: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'), 47422, 'SRID=4674;POINT (-39.028366 -3.394594)', '2026-07-28 16:25:40', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028392 -3.39449)'), GeomFromEWKT('SRID=4674;POINT (-39.028366 -3.394594)'))) / (select extract(epoch from '2026-07-28 16:25:40'::timestamp) - extract(epoch from '2026-07-28 16:25:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028392 -3.39449)'), GeomFromEWKT('SRID=4674;POINT (-39.028366 -3.394594)'))) / (select extract(epoch from '2026-07-28 16:25:40'::timestamp) - extract(epoch from '2026-07-28 16:25: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'), 47422, 'SRID=4674;POINT (-39.02836 -3.394618)', '2026-07-28 16:25:42', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028366 -3.394594)'), GeomFromEWKT('SRID=4674;POINT (-39.02836 -3.394618)'))) / (select extract(epoch from '2026-07-28 16:25:42'::timestamp) - extract(epoch from '2026-07-28 16:25:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028366 -3.394594)'), GeomFromEWKT('SRID=4674;POINT (-39.02836 -3.394618)'))) / (select extract(epoch from '2026-07-28 16:25:42'::timestamp) - extract(epoch from '2026-07-28 16:25: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'), 47422, 'SRID=4674;POINT (-39.02835 -3.394681)', '2026-07-28 16:25:47', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02836 -3.394618)'), GeomFromEWKT('SRID=4674;POINT (-39.02835 -3.394681)'))) / (select extract(epoch from '2026-07-28 16:25:47'::timestamp) - extract(epoch from '2026-07-28 16:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02836 -3.394618)'), GeomFromEWKT('SRID=4674;POINT (-39.02835 -3.394681)'))) / (select extract(epoch from '2026-07-28 16:25:47'::timestamp) - extract(epoch from '2026-07-28 16:25: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'), 47422, 'SRID=4674;POINT (-39.028336 -3.394766)', '2026-07-28 16:25:54', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02835 -3.394681)'), GeomFromEWKT('SRID=4674;POINT (-39.028336 -3.394766)'))) / (select extract(epoch from '2026-07-28 16:25:54'::timestamp) - extract(epoch from '2026-07-28 16:25:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02835 -3.394681)'), GeomFromEWKT('SRID=4674;POINT (-39.028336 -3.394766)'))) / (select extract(epoch from '2026-07-28 16:25:54'::timestamp) - extract(epoch from '2026-07-28 16:25: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'), 47422, 'SRID=4674;POINT (-39.028327 -3.394854)', '2026-07-28 16:26:01', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028336 -3.394766)'), GeomFromEWKT('SRID=4674;POINT (-39.028327 -3.394854)'))) / (select extract(epoch from '2026-07-28 16:26:01'::timestamp) - extract(epoch from '2026-07-28 16:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028336 -3.394766)'), GeomFromEWKT('SRID=4674;POINT (-39.028327 -3.394854)'))) / (select extract(epoch from '2026-07-28 16:26:01'::timestamp) - extract(epoch from '2026-07-28 16:25: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'), 47422, 'SRID=4674;POINT (-39.028323 -3.394877)', '2026-07-28 16:26:03', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028327 -3.394854)'), GeomFromEWKT('SRID=4674;POINT (-39.028323 -3.394877)'))) / (select extract(epoch from '2026-07-28 16:26:03'::timestamp) - extract(epoch from '2026-07-28 16:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028327 -3.394854)'), GeomFromEWKT('SRID=4674;POINT (-39.028323 -3.394877)'))) / (select extract(epoch from '2026-07-28 16:26:03'::timestamp) - extract(epoch from '2026-07-28 16:26: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'), 47422, 'SRID=4674;POINT (-39.028313 -3.394909)', '2026-07-28 16:26:06', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028323 -3.394877)'), GeomFromEWKT('SRID=4674;POINT (-39.028313 -3.394909)'))) / (select extract(epoch from '2026-07-28 16:26:06'::timestamp) - extract(epoch from '2026-07-28 16:26:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028323 -3.394877)'), GeomFromEWKT('SRID=4674;POINT (-39.028313 -3.394909)'))) / (select extract(epoch from '2026-07-28 16:26:06'::timestamp) - extract(epoch from '2026-07-28 16:26: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'), 47422, 'SRID=4674;POINT (-39.028301 -3.394984)', '2026-07-28 16:26:12', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028313 -3.394909)'), GeomFromEWKT('SRID=4674;POINT (-39.028301 -3.394984)'))) / (select extract(epoch from '2026-07-28 16:26:12'::timestamp) - extract(epoch from '2026-07-28 16:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028313 -3.394909)'), GeomFromEWKT('SRID=4674;POINT (-39.028301 -3.394984)'))) / (select extract(epoch from '2026-07-28 16:26:12'::timestamp) - extract(epoch from '2026-07-28 16:26: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'), 47422, 'SRID=4674;POINT (-39.028289 -3.395004)', '2026-07-28 16:26:14', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028301 -3.394984)'), GeomFromEWKT('SRID=4674;POINT (-39.028289 -3.395004)'))) / (select extract(epoch from '2026-07-28 16:26:14'::timestamp) - extract(epoch from '2026-07-28 16:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028301 -3.394984)'), GeomFromEWKT('SRID=4674;POINT (-39.028289 -3.395004)'))) / (select extract(epoch from '2026-07-28 16:26:14'::timestamp) - extract(epoch from '2026-07-28 16:26: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'), 47422, 'SRID=4674;POINT (-39.028287 -3.395033)', '2026-07-28 16:26:16', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028289 -3.395004)'), GeomFromEWKT('SRID=4674;POINT (-39.028287 -3.395033)'))) / (select extract(epoch from '2026-07-28 16:26:16'::timestamp) - extract(epoch from '2026-07-28 16:26:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028289 -3.395004)'), GeomFromEWKT('SRID=4674;POINT (-39.028287 -3.395033)'))) / (select extract(epoch from '2026-07-28 16:26:16'::timestamp) - extract(epoch from '2026-07-28 16:26: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'), 47422, 'SRID=4674;POINT (-39.02827 -3.395069)', '2026-07-28 16:26:19', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028287 -3.395033)'), GeomFromEWKT('SRID=4674;POINT (-39.02827 -3.395069)'))) / (select extract(epoch from '2026-07-28 16:26:19'::timestamp) - extract(epoch from '2026-07-28 16:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028287 -3.395033)'), GeomFromEWKT('SRID=4674;POINT (-39.02827 -3.395069)'))) / (select extract(epoch from '2026-07-28 16:26:19'::timestamp) - extract(epoch from '2026-07-28 16:26: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'), 47422, 'SRID=4674;POINT (-39.02825 -3.395159)', '2026-07-28 16:26:26', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02827 -3.395069)'), GeomFromEWKT('SRID=4674;POINT (-39.02825 -3.395159)'))) / (select extract(epoch from '2026-07-28 16:26:26'::timestamp) - extract(epoch from '2026-07-28 16:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02827 -3.395069)'), GeomFromEWKT('SRID=4674;POINT (-39.02825 -3.395159)'))) / (select extract(epoch from '2026-07-28 16:26:26'::timestamp) - extract(epoch from '2026-07-28 16:26: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'), 47422, 'SRID=4674;POINT (-39.028233 -3.395244)', '2026-07-28 16:26:33', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02825 -3.395159)'), GeomFromEWKT('SRID=4674;POINT (-39.028233 -3.395244)'))) / (select extract(epoch from '2026-07-28 16:26:33'::timestamp) - extract(epoch from '2026-07-28 16:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02825 -3.395159)'), GeomFromEWKT('SRID=4674;POINT (-39.028233 -3.395244)'))) / (select extract(epoch from '2026-07-28 16:26:33'::timestamp) - extract(epoch from '2026-07-28 16:26: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'), 47422, 'SRID=4674;POINT (-39.028218 -3.395318)', '2026-07-28 16:26:39', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028233 -3.395244)'), GeomFromEWKT('SRID=4674;POINT (-39.028218 -3.395318)'))) / (select extract(epoch from '2026-07-28 16:26:39'::timestamp) - extract(epoch from '2026-07-28 16:26:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028233 -3.395244)'), GeomFromEWKT('SRID=4674;POINT (-39.028218 -3.395318)'))) / (select extract(epoch from '2026-07-28 16:26:39'::timestamp) - extract(epoch from '2026-07-28 16:26: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'), 47422, 'SRID=4674;POINT (-39.028206 -3.3954)', '2026-07-28 16:26:45', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028218 -3.395318)'), GeomFromEWKT('SRID=4674;POINT (-39.028206 -3.3954)'))) / (select extract(epoch from '2026-07-28 16:26:45'::timestamp) - extract(epoch from '2026-07-28 16:26:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028218 -3.395318)'), GeomFromEWKT('SRID=4674;POINT (-39.028206 -3.3954)'))) / (select extract(epoch from '2026-07-28 16:26:45'::timestamp) - extract(epoch from '2026-07-28 16:26: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'), 47422, 'SRID=4674;POINT (-39.028197 -3.395463)', '2026-07-28 16:26:50', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028206 -3.3954)'), GeomFromEWKT('SRID=4674;POINT (-39.028197 -3.395463)'))) / (select extract(epoch from '2026-07-28 16:26:50'::timestamp) - extract(epoch from '2026-07-28 16:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028206 -3.3954)'), GeomFromEWKT('SRID=4674;POINT (-39.028197 -3.395463)'))) / (select extract(epoch from '2026-07-28 16:26:50'::timestamp) - extract(epoch from '2026-07-28 16:26: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'), 47422, 'SRID=4674;POINT (-39.028197 -3.395489)', '2026-07-28 16:26:52', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028197 -3.395463)'), GeomFromEWKT('SRID=4674;POINT (-39.028197 -3.395489)'))) / (select extract(epoch from '2026-07-28 16:26:52'::timestamp) - extract(epoch from '2026-07-28 16:26:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028197 -3.395463)'), GeomFromEWKT('SRID=4674;POINT (-39.028197 -3.395489)'))) / (select extract(epoch from '2026-07-28 16:26:52'::timestamp) - extract(epoch from '2026-07-28 16:26: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'), 47422, 'SRID=4674;POINT (-39.028189 -3.39558)', '2026-07-28 16:26:59', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028197 -3.395489)'), GeomFromEWKT('SRID=4674;POINT (-39.028189 -3.39558)'))) / (select extract(epoch from '2026-07-28 16:26:59'::timestamp) - extract(epoch from '2026-07-28 16:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028197 -3.395489)'), GeomFromEWKT('SRID=4674;POINT (-39.028189 -3.39558)'))) / (select extract(epoch from '2026-07-28 16:26:59'::timestamp) - extract(epoch from '2026-07-28 16:26: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'), 47422, 'SRID=4674;POINT (-39.028174 -3.395671)', '2026-07-28 16:27:06', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028189 -3.39558)'), GeomFromEWKT('SRID=4674;POINT (-39.028174 -3.395671)'))) / (select extract(epoch from '2026-07-28 16:27:06'::timestamp) - extract(epoch from '2026-07-28 16:26:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028189 -3.39558)'), GeomFromEWKT('SRID=4674;POINT (-39.028174 -3.395671)'))) / (select extract(epoch from '2026-07-28 16:27:06'::timestamp) - extract(epoch from '2026-07-28 16:26: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'), 47422, 'SRID=4674;POINT (-39.028153 -3.395753)', '2026-07-28 16:27:13', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028174 -3.395671)'), GeomFromEWKT('SRID=4674;POINT (-39.028153 -3.395753)'))) / (select extract(epoch from '2026-07-28 16:27:13'::timestamp) - extract(epoch from '2026-07-28 16:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028174 -3.395671)'), GeomFromEWKT('SRID=4674;POINT (-39.028153 -3.395753)'))) / (select extract(epoch from '2026-07-28 16:27:13'::timestamp) - extract(epoch from '2026-07-28 16:27: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'), 47422, 'SRID=4674;POINT (-39.028132 -3.395848)', '2026-07-28 16:27:21', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028153 -3.395753)'), GeomFromEWKT('SRID=4674;POINT (-39.028132 -3.395848)'))) / (select extract(epoch from '2026-07-28 16:27:21'::timestamp) - extract(epoch from '2026-07-28 16:27:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028153 -3.395753)'), GeomFromEWKT('SRID=4674;POINT (-39.028132 -3.395848)'))) / (select extract(epoch from '2026-07-28 16:27:21'::timestamp) - extract(epoch from '2026-07-28 16:27: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'), 47422, 'SRID=4674;POINT (-39.02813 -3.395862)', '2026-07-28 16:27:22', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028132 -3.395848)'), GeomFromEWKT('SRID=4674;POINT (-39.02813 -3.395862)'))) / (select extract(epoch from '2026-07-28 16:27:22'::timestamp) - extract(epoch from '2026-07-28 16:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028132 -3.395848)'), GeomFromEWKT('SRID=4674;POINT (-39.02813 -3.395862)'))) / (select extract(epoch from '2026-07-28 16:27:22'::timestamp) - extract(epoch from '2026-07-28 16:27: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'), 47422, 'SRID=4674;POINT (-39.028117 -3.395913)', '2026-07-28 16:27:26', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02813 -3.395862)'), GeomFromEWKT('SRID=4674;POINT (-39.028117 -3.395913)'))) / (select extract(epoch from '2026-07-28 16:27:26'::timestamp) - extract(epoch from '2026-07-28 16:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02813 -3.395862)'), GeomFromEWKT('SRID=4674;POINT (-39.028117 -3.395913)'))) / (select extract(epoch from '2026-07-28 16:27:26'::timestamp) - extract(epoch from '2026-07-28 16:27: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'), 47422, 'SRID=4674;POINT (-39.028102 -3.395966)', '2026-07-28 16:27:30', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028117 -3.395913)'), GeomFromEWKT('SRID=4674;POINT (-39.028102 -3.395966)'))) / (select extract(epoch from '2026-07-28 16:27:30'::timestamp) - extract(epoch from '2026-07-28 16:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028117 -3.395913)'), GeomFromEWKT('SRID=4674;POINT (-39.028102 -3.395966)'))) / (select extract(epoch from '2026-07-28 16:27:30'::timestamp) - extract(epoch from '2026-07-28 16:27: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'), 47422, 'SRID=4674;POINT (-39.028088 -3.395987)', '2026-07-28 16:27:32', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028102 -3.395966)'), GeomFromEWKT('SRID=4674;POINT (-39.028088 -3.395987)'))) / (select extract(epoch from '2026-07-28 16:27:32'::timestamp) - extract(epoch from '2026-07-28 16:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028102 -3.395966)'), GeomFromEWKT('SRID=4674;POINT (-39.028088 -3.395987)'))) / (select extract(epoch from '2026-07-28 16:27:32'::timestamp) - extract(epoch from '2026-07-28 16:27: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'), 47422, 'SRID=4674;POINT (-39.028079 -3.396042)', '2026-07-28 16:27:36', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028088 -3.395987)'), GeomFromEWKT('SRID=4674;POINT (-39.028079 -3.396042)'))) / (select extract(epoch from '2026-07-28 16:27:36'::timestamp) - extract(epoch from '2026-07-28 16:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028088 -3.395987)'), GeomFromEWKT('SRID=4674;POINT (-39.028079 -3.396042)'))) / (select extract(epoch from '2026-07-28 16:27:36'::timestamp) - extract(epoch from '2026-07-28 16:27: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'), 47422, 'SRID=4674;POINT (-39.028073 -3.396053)', '2026-07-28 16:27:37', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028079 -3.396042)'), GeomFromEWKT('SRID=4674;POINT (-39.028073 -3.396053)'))) / (select extract(epoch from '2026-07-28 16:27:37'::timestamp) - extract(epoch from '2026-07-28 16:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028079 -3.396042)'), GeomFromEWKT('SRID=4674;POINT (-39.028073 -3.396053)'))) / (select extract(epoch from '2026-07-28 16:27:37'::timestamp) - extract(epoch from '2026-07-28 16:27: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'), 47422, 'SRID=4674;POINT (-39.028047 -3.396147)', '2026-07-28 16:27:45', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028073 -3.396053)'), GeomFromEWKT('SRID=4674;POINT (-39.028047 -3.396147)'))) / (select extract(epoch from '2026-07-28 16:27:45'::timestamp) - extract(epoch from '2026-07-28 16:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028073 -3.396053)'), GeomFromEWKT('SRID=4674;POINT (-39.028047 -3.396147)'))) / (select extract(epoch from '2026-07-28 16:27:45'::timestamp) - extract(epoch from '2026-07-28 16:27: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'), 47422, 'SRID=4674;POINT (-39.028042 -3.396223)', '2026-07-28 16:27:51', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028047 -3.396147)'), GeomFromEWKT('SRID=4674;POINT (-39.028042 -3.396223)'))) / (select extract(epoch from '2026-07-28 16:27:51'::timestamp) - extract(epoch from '2026-07-28 16:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028047 -3.396147)'), GeomFromEWKT('SRID=4674;POINT (-39.028042 -3.396223)'))) / (select extract(epoch from '2026-07-28 16:27:51'::timestamp) - extract(epoch from '2026-07-28 16:27: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'), 47422, 'SRID=4674;POINT (-39.028045 -3.396293)', '2026-07-28 16:27:56', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028042 -3.396223)'), GeomFromEWKT('SRID=4674;POINT (-39.028045 -3.396293)'))) / (select extract(epoch from '2026-07-28 16:27:56'::timestamp) - extract(epoch from '2026-07-28 16:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028042 -3.396223)'), GeomFromEWKT('SRID=4674;POINT (-39.028045 -3.396293)'))) / (select extract(epoch from '2026-07-28 16:27:56'::timestamp) - extract(epoch from '2026-07-28 16:27: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'), 47422, 'SRID=4674;POINT (-39.028048 -3.39632)', '2026-07-28 16:27:58', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028045 -3.396293)'), GeomFromEWKT('SRID=4674;POINT (-39.028048 -3.39632)'))) / (select extract(epoch from '2026-07-28 16:27:58'::timestamp) - extract(epoch from '2026-07-28 16:27:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028045 -3.396293)'), GeomFromEWKT('SRID=4674;POINT (-39.028048 -3.39632)'))) / (select extract(epoch from '2026-07-28 16:27:58'::timestamp) - extract(epoch from '2026-07-28 16:27: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'), 47422, 'SRID=4674;POINT (-39.028041 -3.396395)', '2026-07-28 16:28:04', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028048 -3.39632)'), GeomFromEWKT('SRID=4674;POINT (-39.028041 -3.396395)'))) / (select extract(epoch from '2026-07-28 16:28:04'::timestamp) - extract(epoch from '2026-07-28 16:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028048 -3.39632)'), GeomFromEWKT('SRID=4674;POINT (-39.028041 -3.396395)'))) / (select extract(epoch from '2026-07-28 16:28:04'::timestamp) - extract(epoch from '2026-07-28 16:27: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'), 47422, 'SRID=4674;POINT (-39.02804 -3.396471)', '2026-07-28 16:28:10', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028041 -3.396395)'), GeomFromEWKT('SRID=4674;POINT (-39.02804 -3.396471)'))) / (select extract(epoch from '2026-07-28 16:28:10'::timestamp) - extract(epoch from '2026-07-28 16:28:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028041 -3.396395)'), GeomFromEWKT('SRID=4674;POINT (-39.02804 -3.396471)'))) / (select extract(epoch from '2026-07-28 16:28:10'::timestamp) - extract(epoch from '2026-07-28 16:28: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'), 47422, 'SRID=4674;POINT (-39.028032 -3.396553)', '2026-07-28 16:28:17', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02804 -3.396471)'), GeomFromEWKT('SRID=4674;POINT (-39.028032 -3.396553)'))) / (select extract(epoch from '2026-07-28 16:28:17'::timestamp) - extract(epoch from '2026-07-28 16:28:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02804 -3.396471)'), GeomFromEWKT('SRID=4674;POINT (-39.028032 -3.396553)'))) / (select extract(epoch from '2026-07-28 16:28:17'::timestamp) - extract(epoch from '2026-07-28 16:28: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'), 47422, 'SRID=4674;POINT (-39.028021 -3.396614)', '2026-07-28 16:28:22', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028032 -3.396553)'), GeomFromEWKT('SRID=4674;POINT (-39.028021 -3.396614)'))) / (select extract(epoch from '2026-07-28 16:28:22'::timestamp) - extract(epoch from '2026-07-28 16:28:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028032 -3.396553)'), GeomFromEWKT('SRID=4674;POINT (-39.028021 -3.396614)'))) / (select extract(epoch from '2026-07-28 16:28:22'::timestamp) - extract(epoch from '2026-07-28 16:28: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'), 47422, 'SRID=4674;POINT (-39.028002 -3.396712)', '2026-07-28 16:28:30', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028021 -3.396614)'), GeomFromEWKT('SRID=4674;POINT (-39.028002 -3.396712)'))) / (select extract(epoch from '2026-07-28 16:28:30'::timestamp) - extract(epoch from '2026-07-28 16:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028021 -3.396614)'), GeomFromEWKT('SRID=4674;POINT (-39.028002 -3.396712)'))) / (select extract(epoch from '2026-07-28 16:28:30'::timestamp) - extract(epoch from '2026-07-28 16:28: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'), 47422, 'SRID=4674;POINT (-39.02797 -3.396831)', '2026-07-28 16:28:39', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028002 -3.396712)'), GeomFromEWKT('SRID=4674;POINT (-39.02797 -3.396831)'))) / (select extract(epoch from '2026-07-28 16:28:39'::timestamp) - extract(epoch from '2026-07-28 16:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028002 -3.396712)'), GeomFromEWKT('SRID=4674;POINT (-39.02797 -3.396831)'))) / (select extract(epoch from '2026-07-28 16:28:39'::timestamp) - extract(epoch from '2026-07-28 16:28: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'), 47422, 'SRID=4674;POINT (-39.027939 -3.396925)', '2026-07-28 16:28:47', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02797 -3.396831)'), GeomFromEWKT('SRID=4674;POINT (-39.027939 -3.396925)'))) / (select extract(epoch from '2026-07-28 16:28:47'::timestamp) - extract(epoch from '2026-07-28 16:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02797 -3.396831)'), GeomFromEWKT('SRID=4674;POINT (-39.027939 -3.396925)'))) / (select extract(epoch from '2026-07-28 16:28:47'::timestamp) - extract(epoch from '2026-07-28 16:28: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'), 47422, 'SRID=4674;POINT (-39.027914 -3.397005)', '2026-07-28 16:28:54', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027939 -3.396925)'), GeomFromEWKT('SRID=4674;POINT (-39.027914 -3.397005)'))) / (select extract(epoch from '2026-07-28 16:28:54'::timestamp) - extract(epoch from '2026-07-28 16:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027939 -3.396925)'), GeomFromEWKT('SRID=4674;POINT (-39.027914 -3.397005)'))) / (select extract(epoch from '2026-07-28 16:28:54'::timestamp) - extract(epoch from '2026-07-28 16:28: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'), 47422, 'SRID=4674;POINT (-39.027912 -3.39702)', '2026-07-28 16:28:55', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027914 -3.397005)'), GeomFromEWKT('SRID=4674;POINT (-39.027912 -3.39702)'))) / (select extract(epoch from '2026-07-28 16:28:55'::timestamp) - extract(epoch from '2026-07-28 16:28:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027914 -3.397005)'), GeomFromEWKT('SRID=4674;POINT (-39.027912 -3.39702)'))) / (select extract(epoch from '2026-07-28 16:28:55'::timestamp) - extract(epoch from '2026-07-28 16:28: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'), 47422, 'SRID=4674;POINT (-39.027888 -3.397104)', '2026-07-28 16:29:02', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027912 -3.39702)'), GeomFromEWKT('SRID=4674;POINT (-39.027888 -3.397104)'))) / (select extract(epoch from '2026-07-28 16:29:02'::timestamp) - extract(epoch from '2026-07-28 16:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027912 -3.39702)'), GeomFromEWKT('SRID=4674;POINT (-39.027888 -3.397104)'))) / (select extract(epoch from '2026-07-28 16:29:02'::timestamp) - extract(epoch from '2026-07-28 16:28: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'), 47422, 'SRID=4674;POINT (-39.027853 -3.39719)', '2026-07-28 16:29:10', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027888 -3.397104)'), GeomFromEWKT('SRID=4674;POINT (-39.027853 -3.39719)'))) / (select extract(epoch from '2026-07-28 16:29:10'::timestamp) - extract(epoch from '2026-07-28 16:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027888 -3.397104)'), GeomFromEWKT('SRID=4674;POINT (-39.027853 -3.39719)'))) / (select extract(epoch from '2026-07-28 16:29:10'::timestamp) - extract(epoch from '2026-07-28 16:29: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'), 47422, 'SRID=4674;POINT (-39.027833 -3.397271)', '2026-07-28 16:29:17', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027853 -3.39719)'), GeomFromEWKT('SRID=4674;POINT (-39.027833 -3.397271)'))) / (select extract(epoch from '2026-07-28 16:29:17'::timestamp) - extract(epoch from '2026-07-28 16:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027853 -3.39719)'), GeomFromEWKT('SRID=4674;POINT (-39.027833 -3.397271)'))) / (select extract(epoch from '2026-07-28 16:29:17'::timestamp) - extract(epoch from '2026-07-28 16:29: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'), 47422, 'SRID=4674;POINT (-39.0278 -3.397364)', '2026-07-28 16:29:25', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027833 -3.397271)'), GeomFromEWKT('SRID=4674;POINT (-39.0278 -3.397364)'))) / (select extract(epoch from '2026-07-28 16:29:25'::timestamp) - extract(epoch from '2026-07-28 16:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027833 -3.397271)'), GeomFromEWKT('SRID=4674;POINT (-39.0278 -3.397364)'))) / (select extract(epoch from '2026-07-28 16:29:25'::timestamp) - extract(epoch from '2026-07-28 16:29: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'), 47422, 'SRID=4674;POINT (-39.027794 -3.397409)', '2026-07-28 16:29:29', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0278 -3.397364)'), GeomFromEWKT('SRID=4674;POINT (-39.027794 -3.397409)'))) / (select extract(epoch from '2026-07-28 16:29:29'::timestamp) - extract(epoch from '2026-07-28 16:29:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0278 -3.397364)'), GeomFromEWKT('SRID=4674;POINT (-39.027794 -3.397409)'))) / (select extract(epoch from '2026-07-28 16:29:29'::timestamp) - extract(epoch from '2026-07-28 16:29: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'), 47422, 'SRID=4674;POINT (-39.027785 -3.397446)', '2026-07-28 16:29:32', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027794 -3.397409)'), GeomFromEWKT('SRID=4674;POINT (-39.027785 -3.397446)'))) / (select extract(epoch from '2026-07-28 16:29:32'::timestamp) - extract(epoch from '2026-07-28 16:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027794 -3.397409)'), GeomFromEWKT('SRID=4674;POINT (-39.027785 -3.397446)'))) / (select extract(epoch from '2026-07-28 16:29:32'::timestamp) - extract(epoch from '2026-07-28 16:29: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'), 47422, 'SRID=4674;POINT (-39.027775 -3.397518)', '2026-07-28 16:29:38', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027785 -3.397446)'), GeomFromEWKT('SRID=4674;POINT (-39.027775 -3.397518)'))) / (select extract(epoch from '2026-07-28 16:29:38'::timestamp) - extract(epoch from '2026-07-28 16:29:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027785 -3.397446)'), GeomFromEWKT('SRID=4674;POINT (-39.027775 -3.397518)'))) / (select extract(epoch from '2026-07-28 16:29:38'::timestamp) - extract(epoch from '2026-07-28 16:29: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'), 47422, 'SRID=4674;POINT (-39.027761 -3.397621)', '2026-07-28 16:29:46', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027775 -3.397518)'), GeomFromEWKT('SRID=4674;POINT (-39.027761 -3.397621)'))) / (select extract(epoch from '2026-07-28 16:29:46'::timestamp) - extract(epoch from '2026-07-28 16:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027775 -3.397518)'), GeomFromEWKT('SRID=4674;POINT (-39.027761 -3.397621)'))) / (select extract(epoch from '2026-07-28 16:29:46'::timestamp) - extract(epoch from '2026-07-28 16:29: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'), 47422, 'SRID=4674;POINT (-39.027736 -3.397714)', '2026-07-28 16:29:53', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027761 -3.397621)'), GeomFromEWKT('SRID=4674;POINT (-39.027736 -3.397714)'))) / (select extract(epoch from '2026-07-28 16:29:53'::timestamp) - extract(epoch from '2026-07-28 16:29:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027761 -3.397621)'), GeomFromEWKT('SRID=4674;POINT (-39.027736 -3.397714)'))) / (select extract(epoch from '2026-07-28 16:29:53'::timestamp) - extract(epoch from '2026-07-28 16:29: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'), 47422, 'SRID=4674;POINT (-39.027703 -3.397813)', '2026-07-28 16:30:01', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027736 -3.397714)'), GeomFromEWKT('SRID=4674;POINT (-39.027703 -3.397813)'))) / (select extract(epoch from '2026-07-28 16:30:01'::timestamp) - extract(epoch from '2026-07-28 16:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027736 -3.397714)'), GeomFromEWKT('SRID=4674;POINT (-39.027703 -3.397813)'))) / (select extract(epoch from '2026-07-28 16:30:01'::timestamp) - extract(epoch from '2026-07-28 16:29: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'), 47422, 'SRID=4674;POINT (-39.027674 -3.397927)', '2026-07-28 16:30:10', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027703 -3.397813)'), GeomFromEWKT('SRID=4674;POINT (-39.027674 -3.397927)'))) / (select extract(epoch from '2026-07-28 16:30:10'::timestamp) - extract(epoch from '2026-07-28 16:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027703 -3.397813)'), GeomFromEWKT('SRID=4674;POINT (-39.027674 -3.397927)'))) / (select extract(epoch from '2026-07-28 16:30:10'::timestamp) - extract(epoch from '2026-07-28 16:30: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'), 47422, 'SRID=4674;POINT (-39.027655 -3.398034)', '2026-07-28 16:30:18', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027674 -3.397927)'), GeomFromEWKT('SRID=4674;POINT (-39.027655 -3.398034)'))) / (select extract(epoch from '2026-07-28 16:30:18'::timestamp) - extract(epoch from '2026-07-28 16:30:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027674 -3.397927)'), GeomFromEWKT('SRID=4674;POINT (-39.027655 -3.398034)'))) / (select extract(epoch from '2026-07-28 16:30:18'::timestamp) - extract(epoch from '2026-07-28 16:30: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'), 47422, 'SRID=4674;POINT (-39.027635 -3.398133)', '2026-07-28 16:30:26', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027655 -3.398034)'), GeomFromEWKT('SRID=4674;POINT (-39.027635 -3.398133)'))) / (select extract(epoch from '2026-07-28 16:30:26'::timestamp) - extract(epoch from '2026-07-28 16:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027655 -3.398034)'), GeomFromEWKT('SRID=4674;POINT (-39.027635 -3.398133)'))) / (select extract(epoch from '2026-07-28 16:30:26'::timestamp) - extract(epoch from '2026-07-28 16:30: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'), 47422, 'SRID=4674;POINT (-39.027623 -3.398223)', '2026-07-28 16:30:33', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027635 -3.398133)'), GeomFromEWKT('SRID=4674;POINT (-39.027623 -3.398223)'))) / (select extract(epoch from '2026-07-28 16:30:33'::timestamp) - extract(epoch from '2026-07-28 16:30:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027635 -3.398133)'), GeomFromEWKT('SRID=4674;POINT (-39.027623 -3.398223)'))) / (select extract(epoch from '2026-07-28 16:30:33'::timestamp) - extract(epoch from '2026-07-28 16:30: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'), 47422, 'SRID=4674;POINT (-39.027605 -3.398317)', '2026-07-28 16:30:40', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027623 -3.398223)'), GeomFromEWKT('SRID=4674;POINT (-39.027605 -3.398317)'))) / (select extract(epoch from '2026-07-28 16:30:40'::timestamp) - extract(epoch from '2026-07-28 16:30:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027623 -3.398223)'), GeomFromEWKT('SRID=4674;POINT (-39.027605 -3.398317)'))) / (select extract(epoch from '2026-07-28 16:30:40'::timestamp) - extract(epoch from '2026-07-28 16:30: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'), 47422, 'SRID=4674;POINT (-39.027583 -3.398425)', '2026-07-28 16:30:48', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027605 -3.398317)'), GeomFromEWKT('SRID=4674;POINT (-39.027583 -3.398425)'))) / (select extract(epoch from '2026-07-28 16:30:48'::timestamp) - extract(epoch from '2026-07-28 16:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027605 -3.398317)'), GeomFromEWKT('SRID=4674;POINT (-39.027583 -3.398425)'))) / (select extract(epoch from '2026-07-28 16:30:48'::timestamp) - extract(epoch from '2026-07-28 16:30: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'), 47422, 'SRID=4674;POINT (-39.027544 -3.398532)', '2026-07-28 16:30:57', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027583 -3.398425)'), GeomFromEWKT('SRID=4674;POINT (-39.027544 -3.398532)'))) / (select extract(epoch from '2026-07-28 16:30:57'::timestamp) - extract(epoch from '2026-07-28 16:30:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027583 -3.398425)'), GeomFromEWKT('SRID=4674;POINT (-39.027544 -3.398532)'))) / (select extract(epoch from '2026-07-28 16:30:57'::timestamp) - extract(epoch from '2026-07-28 16:30: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'), 47422, 'SRID=4674;POINT (-39.027525 -3.398609)', '2026-07-28 16:31:03', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027544 -3.398532)'), GeomFromEWKT('SRID=4674;POINT (-39.027525 -3.398609)'))) / (select extract(epoch from '2026-07-28 16:31:03'::timestamp) - extract(epoch from '2026-07-28 16:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027544 -3.398532)'), GeomFromEWKT('SRID=4674;POINT (-39.027525 -3.398609)'))) / (select extract(epoch from '2026-07-28 16:31:03'::timestamp) - extract(epoch from '2026-07-28 16:30: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'), 47422, 'SRID=4674;POINT (-39.02751 -3.398725)', '2026-07-28 16:31:12', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027525 -3.398609)'), GeomFromEWKT('SRID=4674;POINT (-39.02751 -3.398725)'))) / (select extract(epoch from '2026-07-28 16:31:12'::timestamp) - extract(epoch from '2026-07-28 16:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027525 -3.398609)'), GeomFromEWKT('SRID=4674;POINT (-39.02751 -3.398725)'))) / (select extract(epoch from '2026-07-28 16:31:12'::timestamp) - extract(epoch from '2026-07-28 16:31: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'), 47422, 'SRID=4674;POINT (-39.027494 -3.398832)', '2026-07-28 16:31:20', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02751 -3.398725)'), GeomFromEWKT('SRID=4674;POINT (-39.027494 -3.398832)'))) / (select extract(epoch from '2026-07-28 16:31:20'::timestamp) - extract(epoch from '2026-07-28 16:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02751 -3.398725)'), GeomFromEWKT('SRID=4674;POINT (-39.027494 -3.398832)'))) / (select extract(epoch from '2026-07-28 16:31:20'::timestamp) - extract(epoch from '2026-07-28 16:31: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'), 47422, 'SRID=4674;POINT (-39.027479 -3.398905)', '2026-07-28 16:31:26', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027494 -3.398832)'), GeomFromEWKT('SRID=4674;POINT (-39.027479 -3.398905)'))) / (select extract(epoch from '2026-07-28 16:31:26'::timestamp) - extract(epoch from '2026-07-28 16:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027494 -3.398832)'), GeomFromEWKT('SRID=4674;POINT (-39.027479 -3.398905)'))) / (select extract(epoch from '2026-07-28 16:31:26'::timestamp) - extract(epoch from '2026-07-28 16:31: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'), 47422, 'SRID=4674;POINT (-39.027468 -3.398996)', '2026-07-28 16:31:33', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027479 -3.398905)'), GeomFromEWKT('SRID=4674;POINT (-39.027468 -3.398996)'))) / (select extract(epoch from '2026-07-28 16:31:33'::timestamp) - extract(epoch from '2026-07-28 16:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027479 -3.398905)'), GeomFromEWKT('SRID=4674;POINT (-39.027468 -3.398996)'))) / (select extract(epoch from '2026-07-28 16:31:33'::timestamp) - extract(epoch from '2026-07-28 16:31:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027457 -3.399099)', '2026-07-28 16:31:41', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027468 -3.398996)'), GeomFromEWKT('SRID=4674;POINT (-39.027457 -3.399099)'))) / (select extract(epoch from '2026-07-28 16:31:41'::timestamp) - extract(epoch from '2026-07-28 16:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027468 -3.398996)'), GeomFromEWKT('SRID=4674;POINT (-39.027457 -3.399099)'))) / (select extract(epoch from '2026-07-28 16:31:41'::timestamp) - extract(epoch from '2026-07-28 16:31:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027447 -3.399167)', '2026-07-28 16:31:46', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027457 -3.399099)'), GeomFromEWKT('SRID=4674;POINT (-39.027447 -3.399167)'))) / (select extract(epoch from '2026-07-28 16:31:46'::timestamp) - extract(epoch from '2026-07-28 16:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027457 -3.399099)'), GeomFromEWKT('SRID=4674;POINT (-39.027447 -3.399167)'))) / (select extract(epoch from '2026-07-28 16:31:46'::timestamp) - extract(epoch from '2026-07-28 16:31:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027437 -3.399194)', '2026-07-28 16:31:48', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027447 -3.399167)'), GeomFromEWKT('SRID=4674;POINT (-39.027437 -3.399194)'))) / (select extract(epoch from '2026-07-28 16:31:48'::timestamp) - extract(epoch from '2026-07-28 16:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027447 -3.399167)'), GeomFromEWKT('SRID=4674;POINT (-39.027437 -3.399194)'))) / (select extract(epoch from '2026-07-28 16:31:48'::timestamp) - extract(epoch from '2026-07-28 16:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027422 -3.399266)', '2026-07-28 16:31:54', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027437 -3.399194)'), GeomFromEWKT('SRID=4674;POINT (-39.027422 -3.399266)'))) / (select extract(epoch from '2026-07-28 16:31:54'::timestamp) - extract(epoch from '2026-07-28 16:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027437 -3.399194)'), GeomFromEWKT('SRID=4674;POINT (-39.027422 -3.399266)'))) / (select extract(epoch from '2026-07-28 16:31:54'::timestamp) - extract(epoch from '2026-07-28 16:31:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027415 -3.399347)', '2026-07-28 16:32:00', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027422 -3.399266)'), GeomFromEWKT('SRID=4674;POINT (-39.027415 -3.399347)'))) / (select extract(epoch from '2026-07-28 16:32:00'::timestamp) - extract(epoch from '2026-07-28 16:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027422 -3.399266)'), GeomFromEWKT('SRID=4674;POINT (-39.027415 -3.399347)'))) / (select extract(epoch from '2026-07-28 16:32:00'::timestamp) - extract(epoch from '2026-07-28 16:31:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027418 -3.399388)', '2026-07-28 16:32:03', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027415 -3.399347)'), GeomFromEWKT('SRID=4674;POINT (-39.027418 -3.399388)'))) / (select extract(epoch from '2026-07-28 16:32:03'::timestamp) - extract(epoch from '2026-07-28 16:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027415 -3.399347)'), GeomFromEWKT('SRID=4674;POINT (-39.027418 -3.399388)'))) / (select extract(epoch from '2026-07-28 16:32:03'::timestamp) - extract(epoch from '2026-07-28 16:32:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027412 -3.399428)', '2026-07-28 16:32:06', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027418 -3.399388)'), GeomFromEWKT('SRID=4674;POINT (-39.027412 -3.399428)'))) / (select extract(epoch from '2026-07-28 16:32:06'::timestamp) - extract(epoch from '2026-07-28 16:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027418 -3.399388)'), GeomFromEWKT('SRID=4674;POINT (-39.027412 -3.399428)'))) / (select extract(epoch from '2026-07-28 16:32:06'::timestamp) - extract(epoch from '2026-07-28 16:32:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027401 -3.39952)', '2026-07-28 16:32:13', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027412 -3.399428)'), GeomFromEWKT('SRID=4674;POINT (-39.027401 -3.39952)'))) / (select extract(epoch from '2026-07-28 16:32:13'::timestamp) - extract(epoch from '2026-07-28 16:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027412 -3.399428)'), GeomFromEWKT('SRID=4674;POINT (-39.027401 -3.39952)'))) / (select extract(epoch from '2026-07-28 16:32:13'::timestamp) - extract(epoch from '2026-07-28 16:32:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027402 -3.399573)', '2026-07-28 16:32:17', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027401 -3.39952)'), GeomFromEWKT('SRID=4674;POINT (-39.027402 -3.399573)'))) / (select extract(epoch from '2026-07-28 16:32:17'::timestamp) - extract(epoch from '2026-07-28 16:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027401 -3.39952)'), GeomFromEWKT('SRID=4674;POINT (-39.027402 -3.399573)'))) / (select extract(epoch from '2026-07-28 16:32:17'::timestamp) - extract(epoch from '2026-07-28 16:32:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027395 -3.399597)', '2026-07-28 16:32:19', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027402 -3.399573)'), GeomFromEWKT('SRID=4674;POINT (-39.027395 -3.399597)'))) / (select extract(epoch from '2026-07-28 16:32:19'::timestamp) - extract(epoch from '2026-07-28 16:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027402 -3.399573)'), GeomFromEWKT('SRID=4674;POINT (-39.027395 -3.399597)'))) / (select extract(epoch from '2026-07-28 16:32:19'::timestamp) - extract(epoch from '2026-07-28 16:32:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027386 -3.399689)', '2026-07-28 16:32:26', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027395 -3.399597)'), GeomFromEWKT('SRID=4674;POINT (-39.027386 -3.399689)'))) / (select extract(epoch from '2026-07-28 16:32:26'::timestamp) - extract(epoch from '2026-07-28 16:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027395 -3.399597)'), GeomFromEWKT('SRID=4674;POINT (-39.027386 -3.399689)'))) / (select extract(epoch from '2026-07-28 16:32:26'::timestamp) - extract(epoch from '2026-07-28 16:32:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027371 -3.399777)', '2026-07-28 16:32:33', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027386 -3.399689)'), GeomFromEWKT('SRID=4674;POINT (-39.027371 -3.399777)'))) / (select extract(epoch from '2026-07-28 16:32:33'::timestamp) - extract(epoch from '2026-07-28 16:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027386 -3.399689)'), GeomFromEWKT('SRID=4674;POINT (-39.027371 -3.399777)'))) / (select extract(epoch from '2026-07-28 16:32:33'::timestamp) - extract(epoch from '2026-07-28 16:32:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027372 -3.399791)', '2026-07-28 16:32:34', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027371 -3.399777)'), GeomFromEWKT('SRID=4674;POINT (-39.027372 -3.399791)'))) / (select extract(epoch from '2026-07-28 16:32:34'::timestamp) - extract(epoch from '2026-07-28 16:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027371 -3.399777)'), GeomFromEWKT('SRID=4674;POINT (-39.027372 -3.399791)'))) / (select extract(epoch from '2026-07-28 16:32:34'::timestamp) - extract(epoch from '2026-07-28 16:32:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027373 -3.399817)', '2026-07-28 16:32:36', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027372 -3.399791)'), GeomFromEWKT('SRID=4674;POINT (-39.027373 -3.399817)'))) / (select extract(epoch from '2026-07-28 16:32:36'::timestamp) - extract(epoch from '2026-07-28 16:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027372 -3.399791)'), GeomFromEWKT('SRID=4674;POINT (-39.027373 -3.399817)'))) / (select extract(epoch from '2026-07-28 16:32:36'::timestamp) - extract(epoch from '2026-07-28 16:32:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027368 -3.399841)', '2026-07-28 16:32:38', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027373 -3.399817)'), GeomFromEWKT('SRID=4674;POINT (-39.027368 -3.399841)'))) / (select extract(epoch from '2026-07-28 16:32:38'::timestamp) - extract(epoch from '2026-07-28 16:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027373 -3.399817)'), GeomFromEWKT('SRID=4674;POINT (-39.027368 -3.399841)'))) / (select extract(epoch from '2026-07-28 16:32:38'::timestamp) - extract(epoch from '2026-07-28 16:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.02737 -3.399869)', '2026-07-28 16:32:40', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027368 -3.399841)'), GeomFromEWKT('SRID=4674;POINT (-39.02737 -3.399869)'))) / (select extract(epoch from '2026-07-28 16:32:40'::timestamp) - extract(epoch from '2026-07-28 16:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027368 -3.399841)'), GeomFromEWKT('SRID=4674;POINT (-39.02737 -3.399869)'))) / (select extract(epoch from '2026-07-28 16:32:40'::timestamp) - extract(epoch from '2026-07-28 16:32:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027361 -3.399961)', '2026-07-28 16:32:47', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02737 -3.399869)'), GeomFromEWKT('SRID=4674;POINT (-39.027361 -3.399961)'))) / (select extract(epoch from '2026-07-28 16:32:47'::timestamp) - extract(epoch from '2026-07-28 16:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02737 -3.399869)'), GeomFromEWKT('SRID=4674;POINT (-39.027361 -3.399961)'))) / (select extract(epoch from '2026-07-28 16:32:47'::timestamp) - extract(epoch from '2026-07-28 16:32:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.02735 -3.400036)', '2026-07-28 16:32:53', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027361 -3.399961)'), GeomFromEWKT('SRID=4674;POINT (-39.02735 -3.400036)'))) / (select extract(epoch from '2026-07-28 16:32:53'::timestamp) - extract(epoch from '2026-07-28 16:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027361 -3.399961)'), GeomFromEWKT('SRID=4674;POINT (-39.02735 -3.400036)'))) / (select extract(epoch from '2026-07-28 16:32:53'::timestamp) - extract(epoch from '2026-07-28 16:32:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027349 -3.400113)', '2026-07-28 16:32:59', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02735 -3.400036)'), GeomFromEWKT('SRID=4674;POINT (-39.027349 -3.400113)'))) / (select extract(epoch from '2026-07-28 16:32:59'::timestamp) - extract(epoch from '2026-07-28 16:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02735 -3.400036)'), GeomFromEWKT('SRID=4674;POINT (-39.027349 -3.400113)'))) / (select extract(epoch from '2026-07-28 16:32:59'::timestamp) - extract(epoch from '2026-07-28 16:32:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47422, 'SRID=4674;POINT (-39.027338 -3.40022)', '2026-07-28 16:33:08', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027349 -3.400113)'), GeomFromEWKT('SRID=4674;POINT (-39.027338 -3.40022)'))) / (select extract(epoch from '2026-07-28 16:33:08'::timestamp) - extract(epoch from '2026-07-28 16:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027349 -3.400113)'), GeomFromEWKT('SRID=4674;POINT (-39.027338 -3.40022)'))) / (select extract(epoch from '2026-07-28 16:33:08'::timestamp) - extract(epoch from '2026-07-28 16:32: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'), 47422, 'SRID=4674;POINT (-39.027312 -3.400312)', '2026-07-28 16:33:16', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027338 -3.40022)'), GeomFromEWKT('SRID=4674;POINT (-39.027312 -3.400312)'))) / (select extract(epoch from '2026-07-28 16:33:16'::timestamp) - extract(epoch from '2026-07-28 16:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027338 -3.40022)'), GeomFromEWKT('SRID=4674;POINT (-39.027312 -3.400312)'))) / (select extract(epoch from '2026-07-28 16:33:16'::timestamp) - extract(epoch from '2026-07-28 16: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'), 47422, 'SRID=4674;POINT (-39.027283 -3.400416)', '2026-07-28 16:33:25', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027312 -3.400312)'), GeomFromEWKT('SRID=4674;POINT (-39.027283 -3.400416)'))) / (select extract(epoch from '2026-07-28 16:33:25'::timestamp) - extract(epoch from '2026-07-28 16:33:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027312 -3.400312)'), GeomFromEWKT('SRID=4674;POINT (-39.027283 -3.400416)'))) / (select extract(epoch from '2026-07-28 16:33:25'::timestamp) - extract(epoch from '2026-07-28 16:33: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'), 47422, 'SRID=4674;POINT (-39.027253 -3.400514)', '2026-07-28 16:33:33', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027283 -3.400416)'), GeomFromEWKT('SRID=4674;POINT (-39.027253 -3.400514)'))) / (select extract(epoch from '2026-07-28 16:33:33'::timestamp) - extract(epoch from '2026-07-28 16:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027283 -3.400416)'), GeomFromEWKT('SRID=4674;POINT (-39.027253 -3.400514)'))) / (select extract(epoch from '2026-07-28 16:33:33'::timestamp) - extract(epoch from '2026-07-28 16: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'), 47422, 'SRID=4674;POINT (-39.027223 -3.400644)', '2026-07-28 16:33:43', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027253 -3.400514)'), GeomFromEWKT('SRID=4674;POINT (-39.027223 -3.400644)'))) / (select extract(epoch from '2026-07-28 16:33:43'::timestamp) - extract(epoch from '2026-07-28 16:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027253 -3.400514)'), GeomFromEWKT('SRID=4674;POINT (-39.027223 -3.400644)'))) / (select extract(epoch from '2026-07-28 16:33:43'::timestamp) - extract(epoch from '2026-07-28 16: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'), 47422, 'SRID=4674;POINT (-39.027208 -3.400755)', '2026-07-28 16:33:52', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027223 -3.400644)'), GeomFromEWKT('SRID=4674;POINT (-39.027208 -3.400755)'))) / (select extract(epoch from '2026-07-28 16:33:52'::timestamp) - extract(epoch from '2026-07-28 16:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027223 -3.400644)'), GeomFromEWKT('SRID=4674;POINT (-39.027208 -3.400755)'))) / (select extract(epoch from '2026-07-28 16:33:52'::timestamp) - extract(epoch from '2026-07-28 16: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'), 47422, 'SRID=4674;POINT (-39.027198 -3.400846)', '2026-07-28 16:34:00', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027208 -3.400755)'), GeomFromEWKT('SRID=4674;POINT (-39.027198 -3.400846)'))) / (select extract(epoch from '2026-07-28 16:34:00'::timestamp) - extract(epoch from '2026-07-28 16:33:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027208 -3.400755)'), GeomFromEWKT('SRID=4674;POINT (-39.027198 -3.400846)'))) / (select extract(epoch from '2026-07-28 16:34:00'::timestamp) - extract(epoch from '2026-07-28 16: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'), 47422, 'SRID=4674;POINT (-39.027171 -3.400919)', '2026-07-28 16:34:07', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027198 -3.400846)'), GeomFromEWKT('SRID=4674;POINT (-39.027171 -3.400919)'))) / (select extract(epoch from '2026-07-28 16:34:07'::timestamp) - extract(epoch from '2026-07-28 16:34:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027198 -3.400846)'), GeomFromEWKT('SRID=4674;POINT (-39.027171 -3.400919)'))) / (select extract(epoch from '2026-07-28 16:34:07'::timestamp) - extract(epoch from '2026-07-28 16:34: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'), 47422, 'SRID=4674;POINT (-39.027122 -3.401034)', '2026-07-28 16:34:17', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027171 -3.400919)'), GeomFromEWKT('SRID=4674;POINT (-39.027122 -3.401034)'))) / (select extract(epoch from '2026-07-28 16:34:17'::timestamp) - extract(epoch from '2026-07-28 16:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027171 -3.400919)'), GeomFromEWKT('SRID=4674;POINT (-39.027122 -3.401034)'))) / (select extract(epoch from '2026-07-28 16:34:17'::timestamp) - extract(epoch from '2026-07-28 16:34: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'), 47422, 'SRID=4674;POINT (-39.027081 -3.401108)', '2026-07-28 16:34:24', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027122 -3.401034)'), GeomFromEWKT('SRID=4674;POINT (-39.027081 -3.401108)'))) / (select extract(epoch from '2026-07-28 16:34:24'::timestamp) - extract(epoch from '2026-07-28 16:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027122 -3.401034)'), GeomFromEWKT('SRID=4674;POINT (-39.027081 -3.401108)'))) / (select extract(epoch from '2026-07-28 16:34:24'::timestamp) - extract(epoch from '2026-07-28 16:34: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'), 47422, 'SRID=4674;POINT (-39.027031 -3.401209)', '2026-07-28 16:34:33', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027081 -3.401108)'), GeomFromEWKT('SRID=4674;POINT (-39.027031 -3.401209)'))) / (select extract(epoch from '2026-07-28 16:34:33'::timestamp) - extract(epoch from '2026-07-28 16:34:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027081 -3.401108)'), GeomFromEWKT('SRID=4674;POINT (-39.027031 -3.401209)'))) / (select extract(epoch from '2026-07-28 16:34:33'::timestamp) - extract(epoch from '2026-07-28 16:34:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
