 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.371275 -3.425787)', '2026-07-06 09:01:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37131 -3.425841)'), GeomFromEWKT('SRID=4674;POINT (-38.371275 -3.425787)'))) / (select extract(epoch from '2026-07-06 09:01:26'::timestamp) - extract(epoch from '2026-07-06 09:01:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37131 -3.425841)'), GeomFromEWKT('SRID=4674;POINT (-38.371275 -3.425787)'))) / (select extract(epoch from '2026-07-06 09:01:26'::timestamp) - extract(epoch from '2026-07-06 09:01: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'), 47390, 'SRID=4674;POINT (-38.371267 -3.425769)', '2026-07-06 09:01:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371275 -3.425787)'), GeomFromEWKT('SRID=4674;POINT (-38.371267 -3.425769)'))) / (select extract(epoch from '2026-07-06 09:01:28'::timestamp) - extract(epoch from '2026-07-06 09:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371275 -3.425787)'), GeomFromEWKT('SRID=4674;POINT (-38.371267 -3.425769)'))) / (select extract(epoch from '2026-07-06 09:01:28'::timestamp) - extract(epoch from '2026-07-06 09:01: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'), 47390, 'SRID=4674;POINT (-38.371259 -3.425759)', '2026-07-06 09:01:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371267 -3.425769)'), GeomFromEWKT('SRID=4674;POINT (-38.371259 -3.425759)'))) / (select extract(epoch from '2026-07-06 09:01:29'::timestamp) - extract(epoch from '2026-07-06 09:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371267 -3.425769)'), GeomFromEWKT('SRID=4674;POINT (-38.371259 -3.425759)'))) / (select extract(epoch from '2026-07-06 09:01:29'::timestamp) - extract(epoch from '2026-07-06 09:01: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'), 47390, 'SRID=4674;POINT (-38.371244 -3.425738)', '2026-07-06 09:01:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371259 -3.425759)'), GeomFromEWKT('SRID=4674;POINT (-38.371244 -3.425738)'))) / (select extract(epoch from '2026-07-06 09:01:31'::timestamp) - extract(epoch from '2026-07-06 09:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371259 -3.425759)'), GeomFromEWKT('SRID=4674;POINT (-38.371244 -3.425738)'))) / (select extract(epoch from '2026-07-06 09:01:31'::timestamp) - extract(epoch from '2026-07-06 09:01: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'), 47390, 'SRID=4674;POINT (-38.371232 -3.425722)', '2026-07-06 09:01:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371244 -3.425738)'), GeomFromEWKT('SRID=4674;POINT (-38.371232 -3.425722)'))) / (select extract(epoch from '2026-07-06 09:01:33'::timestamp) - extract(epoch from '2026-07-06 09:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371244 -3.425738)'), GeomFromEWKT('SRID=4674;POINT (-38.371232 -3.425722)'))) / (select extract(epoch from '2026-07-06 09:01:33'::timestamp) - extract(epoch from '2026-07-06 09:01: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'), 47390, 'SRID=4674;POINT (-38.371217 -3.425709)', '2026-07-06 09:01:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371232 -3.425722)'), GeomFromEWKT('SRID=4674;POINT (-38.371217 -3.425709)'))) / (select extract(epoch from '2026-07-06 09:01:35'::timestamp) - extract(epoch from '2026-07-06 09:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371232 -3.425722)'), GeomFromEWKT('SRID=4674;POINT (-38.371217 -3.425709)'))) / (select extract(epoch from '2026-07-06 09:01:35'::timestamp) - extract(epoch from '2026-07-06 09:01: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'), 47390, 'SRID=4674;POINT (-38.371194 -3.425692)', '2026-07-06 09:01:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371217 -3.425709)'), GeomFromEWKT('SRID=4674;POINT (-38.371194 -3.425692)'))) / (select extract(epoch from '2026-07-06 09:01:38'::timestamp) - extract(epoch from '2026-07-06 09:01:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371217 -3.425709)'), GeomFromEWKT('SRID=4674;POINT (-38.371194 -3.425692)'))) / (select extract(epoch from '2026-07-06 09:01:38'::timestamp) - extract(epoch from '2026-07-06 09:01: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'), 47390, 'SRID=4674;POINT (-38.371187 -3.425686)', '2026-07-06 09:01:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371194 -3.425692)'), GeomFromEWKT('SRID=4674;POINT (-38.371187 -3.425686)'))) / (select extract(epoch from '2026-07-06 09:01:39'::timestamp) - extract(epoch from '2026-07-06 09:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371194 -3.425692)'), GeomFromEWKT('SRID=4674;POINT (-38.371187 -3.425686)'))) / (select extract(epoch from '2026-07-06 09:01:39'::timestamp) - extract(epoch from '2026-07-06 09:01: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'), 47390, 'SRID=4674;POINT (-38.371167 -3.425676)', '2026-07-06 09:01:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371187 -3.425686)'), GeomFromEWKT('SRID=4674;POINT (-38.371167 -3.425676)'))) / (select extract(epoch from '2026-07-06 09:01:41'::timestamp) - extract(epoch from '2026-07-06 09:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371187 -3.425686)'), GeomFromEWKT('SRID=4674;POINT (-38.371167 -3.425676)'))) / (select extract(epoch from '2026-07-06 09:01:41'::timestamp) - extract(epoch from '2026-07-06 09:01: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'), 47390, 'SRID=4674;POINT (-38.371143 -3.42567)', '2026-07-06 09:01:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371167 -3.425676)'), GeomFromEWKT('SRID=4674;POINT (-38.371143 -3.42567)'))) / (select extract(epoch from '2026-07-06 09:01:43'::timestamp) - extract(epoch from '2026-07-06 09:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371167 -3.425676)'), GeomFromEWKT('SRID=4674;POINT (-38.371143 -3.42567)'))) / (select extract(epoch from '2026-07-06 09:01:43'::timestamp) - extract(epoch from '2026-07-06 09:01: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'), 47390, 'SRID=4674;POINT (-38.371133 -3.425666)', '2026-07-06 09:01:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371143 -3.42567)'), GeomFromEWKT('SRID=4674;POINT (-38.371133 -3.425666)'))) / (select extract(epoch from '2026-07-06 09:01:44'::timestamp) - extract(epoch from '2026-07-06 09:01:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371143 -3.42567)'), GeomFromEWKT('SRID=4674;POINT (-38.371133 -3.425666)'))) / (select extract(epoch from '2026-07-06 09:01:44'::timestamp) - extract(epoch from '2026-07-06 09:01:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.371095 -3.425659)', '2026-07-06 09:01:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371133 -3.425666)'), GeomFromEWKT('SRID=4674;POINT (-38.371095 -3.425659)'))) / (select extract(epoch from '2026-07-06 09:01:48'::timestamp) - extract(epoch from '2026-07-06 09:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371133 -3.425666)'), GeomFromEWKT('SRID=4674;POINT (-38.371095 -3.425659)'))) / (select extract(epoch from '2026-07-06 09:01:48'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47390, 'SRID=4674;POINT (-38.371045 -3.425673)', '2026-07-06 09:01:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371095 -3.425659)'), GeomFromEWKT('SRID=4674;POINT (-38.371045 -3.425673)'))) / (select extract(epoch from '2026-07-06 09:01:54'::timestamp) - extract(epoch from '2026-07-06 09:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371095 -3.425659)'), GeomFromEWKT('SRID=4674;POINT (-38.371045 -3.425673)'))) / (select extract(epoch from '2026-07-06 09:01:54'::timestamp) - extract(epoch from '2026-07-06 09:01: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'), 47390, 'SRID=4674;POINT (-38.371038 -3.425677)', '2026-07-06 09:01:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371045 -3.425673)'), GeomFromEWKT('SRID=4674;POINT (-38.371038 -3.425677)'))) / (select extract(epoch from '2026-07-06 09:01:55'::timestamp) - extract(epoch from '2026-07-06 09:01:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371045 -3.425673)'), GeomFromEWKT('SRID=4674;POINT (-38.371038 -3.425677)'))) / (select extract(epoch from '2026-07-06 09:01:55'::timestamp) - extract(epoch from '2026-07-06 09:01: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'), 47390, 'SRID=4674;POINT (-38.371024 -3.42569)', '2026-07-06 09:01:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371038 -3.425677)'), GeomFromEWKT('SRID=4674;POINT (-38.371024 -3.42569)'))) / (select extract(epoch from '2026-07-06 09:01:58'::timestamp) - extract(epoch from '2026-07-06 09:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371038 -3.425677)'), GeomFromEWKT('SRID=4674;POINT (-38.371024 -3.42569)'))) / (select extract(epoch from '2026-07-06 09:01:58'::timestamp) - extract(epoch from '2026-07-06 09:01: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'), 47390, 'SRID=4674;POINT (-38.37099 -3.425766)', '2026-07-06 09:02:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371024 -3.42569)'), GeomFromEWKT('SRID=4674;POINT (-38.37099 -3.425766)'))) / (select extract(epoch from '2026-07-06 09:02:08'::timestamp) - extract(epoch from '2026-07-06 09:01:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371024 -3.42569)'), GeomFromEWKT('SRID=4674;POINT (-38.37099 -3.425766)'))) / (select extract(epoch from '2026-07-06 09:02:08'::timestamp) - extract(epoch from '2026-07-06 09:01:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.370981 -3.425824)', '2026-07-06 09:02:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37099 -3.425766)'), GeomFromEWKT('SRID=4674;POINT (-38.370981 -3.425824)'))) / (select extract(epoch from '2026-07-06 09:02:14'::timestamp) - extract(epoch from '2026-07-06 09:02:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37099 -3.425766)'), GeomFromEWKT('SRID=4674;POINT (-38.370981 -3.425824)'))) / (select extract(epoch from '2026-07-06 09:02:14'::timestamp) - extract(epoch from '2026-07-06 09:02: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'), 47390, 'SRID=4674;POINT (-38.370976 -3.425879)', '2026-07-06 09:02:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370981 -3.425824)'), GeomFromEWKT('SRID=4674;POINT (-38.370976 -3.425879)'))) / (select extract(epoch from '2026-07-06 09:02:19'::timestamp) - extract(epoch from '2026-07-06 09:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370981 -3.425824)'), GeomFromEWKT('SRID=4674;POINT (-38.370976 -3.425879)'))) / (select extract(epoch from '2026-07-06 09:02:19'::timestamp) - extract(epoch from '2026-07-06 09:02: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'), 47390, 'SRID=4674;POINT (-38.370979 -3.425917)', '2026-07-06 09:02:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370976 -3.425879)'), GeomFromEWKT('SRID=4674;POINT (-38.370979 -3.425917)'))) / (select extract(epoch from '2026-07-06 09:02:22'::timestamp) - extract(epoch from '2026-07-06 09:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370976 -3.425879)'), GeomFromEWKT('SRID=4674;POINT (-38.370979 -3.425917)'))) / (select extract(epoch from '2026-07-06 09:02:22'::timestamp) - extract(epoch from '2026-07-06 09:02:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.370981 -3.425965)', '2026-07-06 09:02:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370979 -3.425917)'), GeomFromEWKT('SRID=4674;POINT (-38.370981 -3.425965)'))) / (select extract(epoch from '2026-07-06 09:02:26'::timestamp) - extract(epoch from '2026-07-06 09:02:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370979 -3.425917)'), GeomFromEWKT('SRID=4674;POINT (-38.370981 -3.425965)'))) / (select extract(epoch from '2026-07-06 09:02:26'::timestamp) - extract(epoch from '2026-07-06 09:02: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'), 47390, 'SRID=4674;POINT (-38.370978 -3.425988)', '2026-07-06 09:02:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370981 -3.425965)'), GeomFromEWKT('SRID=4674;POINT (-38.370978 -3.425988)'))) / (select extract(epoch from '2026-07-06 09:02:28'::timestamp) - extract(epoch from '2026-07-06 09:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370981 -3.425965)'), GeomFromEWKT('SRID=4674;POINT (-38.370978 -3.425988)'))) / (select extract(epoch from '2026-07-06 09:02:28'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47390, 'SRID=4674;POINT (-38.370985 -3.426064)', '2026-07-06 09:02:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370978 -3.425988)'), GeomFromEWKT('SRID=4674;POINT (-38.370985 -3.426064)'))) / (select extract(epoch from '2026-07-06 09:02:34'::timestamp) - extract(epoch from '2026-07-06 09:02:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370978 -3.425988)'), GeomFromEWKT('SRID=4674;POINT (-38.370985 -3.426064)'))) / (select extract(epoch from '2026-07-06 09:02:34'::timestamp) - extract(epoch from '2026-07-06 09:02: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'), 47390, 'SRID=4674;POINT (-38.370991 -3.426139)', '2026-07-06 09:02:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370985 -3.426064)'), GeomFromEWKT('SRID=4674;POINT (-38.370991 -3.426139)'))) / (select extract(epoch from '2026-07-06 09:02:41'::timestamp) - extract(epoch from '2026-07-06 09:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370985 -3.426064)'), GeomFromEWKT('SRID=4674;POINT (-38.370991 -3.426139)'))) / (select extract(epoch from '2026-07-06 09:02:41'::timestamp) - extract(epoch from '2026-07-06 09:02: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'), 47390, 'SRID=4674;POINT (-38.370984 -3.426203)', '2026-07-06 09:02:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370991 -3.426139)'), GeomFromEWKT('SRID=4674;POINT (-38.370984 -3.426203)'))) / (select extract(epoch from '2026-07-06 09:02:47'::timestamp) - extract(epoch from '2026-07-06 09:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370991 -3.426139)'), GeomFromEWKT('SRID=4674;POINT (-38.370984 -3.426203)'))) / (select extract(epoch from '2026-07-06 09:02:47'::timestamp) - extract(epoch from '2026-07-06 09:02: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'), 47390, 'SRID=4674;POINT (-38.370965 -3.426284)', '2026-07-06 09:02:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370984 -3.426203)'), GeomFromEWKT('SRID=4674;POINT (-38.370965 -3.426284)'))) / (select extract(epoch from '2026-07-06 09:02:55'::timestamp) - extract(epoch from '2026-07-06 09:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370984 -3.426203)'), GeomFromEWKT('SRID=4674;POINT (-38.370965 -3.426284)'))) / (select extract(epoch from '2026-07-06 09:02:55'::timestamp) - extract(epoch from '2026-07-06 09:02: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'), 47390, 'SRID=4674;POINT (-38.370939 -3.426361)', '2026-07-06 09:03:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370965 -3.426284)'), GeomFromEWKT('SRID=4674;POINT (-38.370939 -3.426361)'))) / (select extract(epoch from '2026-07-06 09:03:02'::timestamp) - extract(epoch from '2026-07-06 09:02:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370965 -3.426284)'), GeomFromEWKT('SRID=4674;POINT (-38.370939 -3.426361)'))) / (select extract(epoch from '2026-07-06 09:03:02'::timestamp) - extract(epoch from '2026-07-06 09:02:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.370937 -3.426424)', '2026-07-06 09:03:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370939 -3.426361)'), GeomFromEWKT('SRID=4674;POINT (-38.370937 -3.426424)'))) / (select extract(epoch from '2026-07-06 09:03:08'::timestamp) - extract(epoch from '2026-07-06 09:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370939 -3.426361)'), GeomFromEWKT('SRID=4674;POINT (-38.370937 -3.426424)'))) / (select extract(epoch from '2026-07-06 09:03:08'::timestamp) - extract(epoch from '2026-07-06 09:03: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'), 47390, 'SRID=4674;POINT (-38.370942 -3.426434)', '2026-07-06 09:03:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370937 -3.426424)'), GeomFromEWKT('SRID=4674;POINT (-38.370942 -3.426434)'))) / (select extract(epoch from '2026-07-06 09:03:09'::timestamp) - extract(epoch from '2026-07-06 09:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370937 -3.426424)'), GeomFromEWKT('SRID=4674;POINT (-38.370942 -3.426434)'))) / (select extract(epoch from '2026-07-06 09:03:09'::timestamp) - extract(epoch from '2026-07-06 09:03:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.370947 -3.426463)', '2026-07-06 09:03:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370942 -3.426434)'), GeomFromEWKT('SRID=4674;POINT (-38.370947 -3.426463)'))) / (select extract(epoch from '2026-07-06 09:03:15'::timestamp) - extract(epoch from '2026-07-06 09:03:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370942 -3.426434)'), GeomFromEWKT('SRID=4674;POINT (-38.370947 -3.426463)'))) / (select extract(epoch from '2026-07-06 09:03:15'::timestamp) - extract(epoch from '2026-07-06 09:03: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'), 47390, 'SRID=4674;POINT (-38.370984 -3.426482)', '2026-07-06 09:03:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370947 -3.426463)'), GeomFromEWKT('SRID=4674;POINT (-38.370984 -3.426482)'))) / (select extract(epoch from '2026-07-06 09:03:23'::timestamp) - extract(epoch from '2026-07-06 09:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370947 -3.426463)'), GeomFromEWKT('SRID=4674;POINT (-38.370984 -3.426482)'))) / (select extract(epoch from '2026-07-06 09:03:23'::timestamp) - extract(epoch from '2026-07-06 09:03: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'), 47390, 'SRID=4674;POINT (-38.371036 -3.426477)', '2026-07-06 09:03:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370984 -3.426482)'), GeomFromEWKT('SRID=4674;POINT (-38.371036 -3.426477)'))) / (select extract(epoch from '2026-07-06 09:03:32'::timestamp) - extract(epoch from '2026-07-06 09:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370984 -3.426482)'), GeomFromEWKT('SRID=4674;POINT (-38.371036 -3.426477)'))) / (select extract(epoch from '2026-07-06 09:03:32'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47390, 'SRID=4674;POINT (-38.371084 -3.426465)', '2026-07-06 09:03:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371036 -3.426477)'), GeomFromEWKT('SRID=4674;POINT (-38.371084 -3.426465)'))) / (select extract(epoch from '2026-07-06 09:03:40'::timestamp) - extract(epoch from '2026-07-06 09:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371036 -3.426477)'), GeomFromEWKT('SRID=4674;POINT (-38.371084 -3.426465)'))) / (select extract(epoch from '2026-07-06 09:03:40'::timestamp) - extract(epoch from '2026-07-06 09:03: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'), 47390, 'SRID=4674;POINT (-38.371126 -3.426454)', '2026-07-06 09:03:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371084 -3.426465)'), GeomFromEWKT('SRID=4674;POINT (-38.371126 -3.426454)'))) / (select extract(epoch from '2026-07-06 09:03:47'::timestamp) - extract(epoch from '2026-07-06 09:03:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371084 -3.426465)'), GeomFromEWKT('SRID=4674;POINT (-38.371126 -3.426454)'))) / (select extract(epoch from '2026-07-06 09:03:47'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47390, 'SRID=4674;POINT (-38.371185 -3.426434)', '2026-07-06 09:03:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371126 -3.426454)'), GeomFromEWKT('SRID=4674;POINT (-38.371185 -3.426434)'))) / (select extract(epoch from '2026-07-06 09:03:57'::timestamp) - extract(epoch from '2026-07-06 09:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371126 -3.426454)'), GeomFromEWKT('SRID=4674;POINT (-38.371185 -3.426434)'))) / (select extract(epoch from '2026-07-06 09:03:57'::timestamp) - extract(epoch from '2026-07-06 09:03: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'), 47390, 'SRID=4674;POINT (-38.371228 -3.426422)', '2026-07-06 09:04:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371185 -3.426434)'), GeomFromEWKT('SRID=4674;POINT (-38.371228 -3.426422)'))) / (select extract(epoch from '2026-07-06 09:04:03'::timestamp) - extract(epoch from '2026-07-06 09:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371185 -3.426434)'), GeomFromEWKT('SRID=4674;POINT (-38.371228 -3.426422)'))) / (select extract(epoch from '2026-07-06 09:04:03'::timestamp) - extract(epoch from '2026-07-06 09:03: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'), 47390, 'SRID=4674;POINT (-38.371299 -3.426399)', '2026-07-06 09:04:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371228 -3.426422)'), GeomFromEWKT('SRID=4674;POINT (-38.371299 -3.426399)'))) / (select extract(epoch from '2026-07-06 09:04:11'::timestamp) - extract(epoch from '2026-07-06 09:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371228 -3.426422)'), GeomFromEWKT('SRID=4674;POINT (-38.371299 -3.426399)'))) / (select extract(epoch from '2026-07-06 09:04:11'::timestamp) - extract(epoch from '2026-07-06 09:04:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.37138 -3.426375)', '2026-07-06 09:04:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371299 -3.426399)'), GeomFromEWKT('SRID=4674;POINT (-38.37138 -3.426375)'))) / (select extract(epoch from '2026-07-06 09:04:20'::timestamp) - extract(epoch from '2026-07-06 09:04:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371299 -3.426399)'), GeomFromEWKT('SRID=4674;POINT (-38.37138 -3.426375)'))) / (select extract(epoch from '2026-07-06 09:04:20'::timestamp) - extract(epoch from '2026-07-06 09:04: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'), 47390, 'SRID=4674;POINT (-38.371447 -3.426356)', '2026-07-06 09:04:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37138 -3.426375)'), GeomFromEWKT('SRID=4674;POINT (-38.371447 -3.426356)'))) / (select extract(epoch from '2026-07-06 09:04:27'::timestamp) - extract(epoch from '2026-07-06 09:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37138 -3.426375)'), GeomFromEWKT('SRID=4674;POINT (-38.371447 -3.426356)'))) / (select extract(epoch from '2026-07-06 09:04:27'::timestamp) - extract(epoch from '2026-07-06 09:04:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.371512 -3.426339)', '2026-07-06 09:04:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371447 -3.426356)'), GeomFromEWKT('SRID=4674;POINT (-38.371512 -3.426339)'))) / (select extract(epoch from '2026-07-06 09:04:35'::timestamp) - extract(epoch from '2026-07-06 09:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371447 -3.426356)'), GeomFromEWKT('SRID=4674;POINT (-38.371512 -3.426339)'))) / (select extract(epoch from '2026-07-06 09:04:35'::timestamp) - extract(epoch from '2026-07-06 09:04: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'), 47390, 'SRID=4674;POINT (-38.371579 -3.426322)', '2026-07-06 09:04:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371512 -3.426339)'), GeomFromEWKT('SRID=4674;POINT (-38.371579 -3.426322)'))) / (select extract(epoch from '2026-07-06 09:04:44'::timestamp) - extract(epoch from '2026-07-06 09:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371512 -3.426339)'), GeomFromEWKT('SRID=4674;POINT (-38.371579 -3.426322)'))) / (select extract(epoch from '2026-07-06 09:04:44'::timestamp) - extract(epoch from '2026-07-06 09:04:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.371629 -3.426309)', '2026-07-06 09:04:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371579 -3.426322)'), GeomFromEWKT('SRID=4674;POINT (-38.371629 -3.426309)'))) / (select extract(epoch from '2026-07-06 09:04:51'::timestamp) - extract(epoch from '2026-07-06 09:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371579 -3.426322)'), GeomFromEWKT('SRID=4674;POINT (-38.371629 -3.426309)'))) / (select extract(epoch from '2026-07-06 09:04:51'::timestamp) - extract(epoch from '2026-07-06 09:04:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.371698 -3.426292)', '2026-07-06 09:05:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371629 -3.426309)'), GeomFromEWKT('SRID=4674;POINT (-38.371698 -3.426292)'))) / (select extract(epoch from '2026-07-06 09:05:00'::timestamp) - extract(epoch from '2026-07-06 09:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371629 -3.426309)'), GeomFromEWKT('SRID=4674;POINT (-38.371698 -3.426292)'))) / (select extract(epoch from '2026-07-06 09:05:00'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47390, 'SRID=4674;POINT (-38.371738 -3.426275)', '2026-07-06 09:05:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371698 -3.426292)'), GeomFromEWKT('SRID=4674;POINT (-38.371738 -3.426275)'))) / (select extract(epoch from '2026-07-06 09:05:07'::timestamp) - extract(epoch from '2026-07-06 09:05:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371698 -3.426292)'), GeomFromEWKT('SRID=4674;POINT (-38.371738 -3.426275)'))) / (select extract(epoch from '2026-07-06 09:05:07'::timestamp) - extract(epoch from '2026-07-06 09:05:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.371787 -3.42626)', '2026-07-06 09:05:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371738 -3.426275)'), GeomFromEWKT('SRID=4674;POINT (-38.371787 -3.42626)'))) / (select extract(epoch from '2026-07-06 09:05:13'::timestamp) - extract(epoch from '2026-07-06 09:05:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371738 -3.426275)'), GeomFromEWKT('SRID=4674;POINT (-38.371787 -3.42626)'))) / (select extract(epoch from '2026-07-06 09:05:13'::timestamp) - extract(epoch from '2026-07-06 09:05: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'), 47390, 'SRID=4674;POINT (-38.371851 -3.426234)', '2026-07-06 09:05:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371787 -3.42626)'), GeomFromEWKT('SRID=4674;POINT (-38.371851 -3.426234)'))) / (select extract(epoch from '2026-07-06 09:05:21'::timestamp) - extract(epoch from '2026-07-06 09:05:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371787 -3.42626)'), GeomFromEWKT('SRID=4674;POINT (-38.371851 -3.426234)'))) / (select extract(epoch from '2026-07-06 09:05:21'::timestamp) - extract(epoch from '2026-07-06 09:05:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.371925 -3.426211)', '2026-07-06 09:05:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371851 -3.426234)'), GeomFromEWKT('SRID=4674;POINT (-38.371925 -3.426211)'))) / (select extract(epoch from '2026-07-06 09:05:30'::timestamp) - extract(epoch from '2026-07-06 09:05:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371851 -3.426234)'), GeomFromEWKT('SRID=4674;POINT (-38.371925 -3.426211)'))) / (select extract(epoch from '2026-07-06 09:05:30'::timestamp) - extract(epoch from '2026-07-06 09:05: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'), 47390, 'SRID=4674;POINT (-38.371995 -3.426183)', '2026-07-06 09:05:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371925 -3.426211)'), GeomFromEWKT('SRID=4674;POINT (-38.371995 -3.426183)'))) / (select extract(epoch from '2026-07-06 09:05:40'::timestamp) - extract(epoch from '2026-07-06 09:05:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371925 -3.426211)'), GeomFromEWKT('SRID=4674;POINT (-38.371995 -3.426183)'))) / (select extract(epoch from '2026-07-06 09:05:40'::timestamp) - extract(epoch from '2026-07-06 09:05: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'), 47390, 'SRID=4674;POINT (-38.372061 -3.42614)', '2026-07-06 09:05:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371995 -3.426183)'), GeomFromEWKT('SRID=4674;POINT (-38.372061 -3.42614)'))) / (select extract(epoch from '2026-07-06 09:05:50'::timestamp) - extract(epoch from '2026-07-06 09:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371995 -3.426183)'), GeomFromEWKT('SRID=4674;POINT (-38.372061 -3.42614)'))) / (select extract(epoch from '2026-07-06 09:05:50'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47390, 'SRID=4674;POINT (-38.372114 -3.426109)', '2026-07-06 09:05:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372061 -3.42614)'), GeomFromEWKT('SRID=4674;POINT (-38.372114 -3.426109)'))) / (select extract(epoch from '2026-07-06 09:05:57'::timestamp) - extract(epoch from '2026-07-06 09:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372061 -3.42614)'), GeomFromEWKT('SRID=4674;POINT (-38.372114 -3.426109)'))) / (select extract(epoch from '2026-07-06 09:05:57'::timestamp) - extract(epoch from '2026-07-06 09:05: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'), 47390, 'SRID=4674;POINT (-38.372155 -3.426087)', '2026-07-06 09:06:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372114 -3.426109)'), GeomFromEWKT('SRID=4674;POINT (-38.372155 -3.426087)'))) / (select extract(epoch from '2026-07-06 09:06:03'::timestamp) - extract(epoch from '2026-07-06 09:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372114 -3.426109)'), GeomFromEWKT('SRID=4674;POINT (-38.372155 -3.426087)'))) / (select extract(epoch from '2026-07-06 09:06:03'::timestamp) - extract(epoch from '2026-07-06 09:05: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'), 47390, 'SRID=4674;POINT (-38.372165 -3.426084)', '2026-07-06 09:06:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372155 -3.426087)'), GeomFromEWKT('SRID=4674;POINT (-38.372165 -3.426084)'))) / (select extract(epoch from '2026-07-06 09:06:04'::timestamp) - extract(epoch from '2026-07-06 09:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372155 -3.426087)'), GeomFromEWKT('SRID=4674;POINT (-38.372165 -3.426084)'))) / (select extract(epoch from '2026-07-06 09:06:04'::timestamp) - extract(epoch from '2026-07-06 09:06: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'), 47390, 'SRID=4674;POINT (-38.372198 -3.42607)', '2026-07-06 09:06:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372165 -3.426084)'), GeomFromEWKT('SRID=4674;POINT (-38.372198 -3.42607)'))) / (select extract(epoch from '2026-07-06 09:06:09'::timestamp) - extract(epoch from '2026-07-06 09:06:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372165 -3.426084)'), GeomFromEWKT('SRID=4674;POINT (-38.372198 -3.42607)'))) / (select extract(epoch from '2026-07-06 09:06:09'::timestamp) - extract(epoch from '2026-07-06 09:06: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'), 47390, 'SRID=4674;POINT (-38.372234 -3.426052)', '2026-07-06 09:06:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372198 -3.42607)'), GeomFromEWKT('SRID=4674;POINT (-38.372234 -3.426052)'))) / (select extract(epoch from '2026-07-06 09:06:15'::timestamp) - extract(epoch from '2026-07-06 09:06:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372198 -3.42607)'), GeomFromEWKT('SRID=4674;POINT (-38.372234 -3.426052)'))) / (select extract(epoch from '2026-07-06 09:06:15'::timestamp) - extract(epoch from '2026-07-06 09:06: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'), 47390, 'SRID=4674;POINT (-38.37228 -3.426023)', '2026-07-06 09:06:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372234 -3.426052)'), GeomFromEWKT('SRID=4674;POINT (-38.37228 -3.426023)'))) / (select extract(epoch from '2026-07-06 09:06:23'::timestamp) - extract(epoch from '2026-07-06 09:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372234 -3.426052)'), GeomFromEWKT('SRID=4674;POINT (-38.37228 -3.426023)'))) / (select extract(epoch from '2026-07-06 09:06:23'::timestamp) - extract(epoch from '2026-07-06 09:06:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.372295 -3.426011)', '2026-07-06 09:06:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37228 -3.426023)'), GeomFromEWKT('SRID=4674;POINT (-38.372295 -3.426011)'))) / (select extract(epoch from '2026-07-06 09:06:26'::timestamp) - extract(epoch from '2026-07-06 09:06:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37228 -3.426023)'), GeomFromEWKT('SRID=4674;POINT (-38.372295 -3.426011)'))) / (select extract(epoch from '2026-07-06 09:06:26'::timestamp) - extract(epoch from '2026-07-06 09:06: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'), 47390, 'SRID=4674;POINT (-38.37231 -3.426)', '2026-07-06 09:06:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372295 -3.426011)'), GeomFromEWKT('SRID=4674;POINT (-38.37231 -3.426)'))) / (select extract(epoch from '2026-07-06 09:06:29'::timestamp) - extract(epoch from '2026-07-06 09:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372295 -3.426011)'), GeomFromEWKT('SRID=4674;POINT (-38.37231 -3.426)'))) / (select extract(epoch from '2026-07-06 09:06:29'::timestamp) - extract(epoch from '2026-07-06 09:06:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.372351 -3.425969)', '2026-07-06 09:06:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37231 -3.426)'), GeomFromEWKT('SRID=4674;POINT (-38.372351 -3.425969)'))) / (select extract(epoch from '2026-07-06 09:06:37'::timestamp) - extract(epoch from '2026-07-06 09:06:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37231 -3.426)'), GeomFromEWKT('SRID=4674;POINT (-38.372351 -3.425969)'))) / (select extract(epoch from '2026-07-06 09:06:37'::timestamp) - extract(epoch from '2026-07-06 09:06:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.372391 -3.425929)', '2026-07-06 09:06:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372351 -3.425969)'), GeomFromEWKT('SRID=4674;POINT (-38.372391 -3.425929)'))) / (select extract(epoch from '2026-07-06 09:06:49'::timestamp) - extract(epoch from '2026-07-06 09:06:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372351 -3.425969)'), GeomFromEWKT('SRID=4674;POINT (-38.372391 -3.425929)'))) / (select extract(epoch from '2026-07-06 09:06:49'::timestamp) - extract(epoch from '2026-07-06 09:06:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.372396 -3.425908)', '2026-07-06 09:06:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372391 -3.425929)'), GeomFromEWKT('SRID=4674;POINT (-38.372396 -3.425908)'))) / (select extract(epoch from '2026-07-06 09:06:55'::timestamp) - extract(epoch from '2026-07-06 09:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372391 -3.425929)'), GeomFromEWKT('SRID=4674;POINT (-38.372396 -3.425908)'))) / (select extract(epoch from '2026-07-06 09:06:55'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47390, 'SRID=4674;POINT (-38.372398 -3.425893)', '2026-07-06 09:07:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372396 -3.425908)'), GeomFromEWKT('SRID=4674;POINT (-38.372398 -3.425893)'))) / (select extract(epoch from '2026-07-06 09:07:04'::timestamp) - extract(epoch from '2026-07-06 09:06:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372396 -3.425908)'), GeomFromEWKT('SRID=4674;POINT (-38.372398 -3.425893)'))) / (select extract(epoch from '2026-07-06 09:07:04'::timestamp) - extract(epoch from '2026-07-06 09:06: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'), 47390, 'SRID=4674;POINT (-38.372397 -3.425891)', '2026-07-06 09:07:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372398 -3.425893)'), GeomFromEWKT('SRID=4674;POINT (-38.372397 -3.425891)'))) / (select extract(epoch from '2026-07-06 09:07:16'::timestamp) - extract(epoch from '2026-07-06 09:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372398 -3.425893)'), GeomFromEWKT('SRID=4674;POINT (-38.372397 -3.425891)'))) / (select extract(epoch from '2026-07-06 09:07:16'::timestamp) - extract(epoch from '2026-07-06 09:07:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.372408 -3.425881)', '2026-07-06 09:07:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372397 -3.425891)'), GeomFromEWKT('SRID=4674;POINT (-38.372408 -3.425881)'))) / (select extract(epoch from '2026-07-06 09:07:25'::timestamp) - extract(epoch from '2026-07-06 09:07:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372397 -3.425891)'), GeomFromEWKT('SRID=4674;POINT (-38.372408 -3.425881)'))) / (select extract(epoch from '2026-07-06 09:07:25'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47390, 'SRID=4674;POINT (-38.372416 -3.425872)', '2026-07-06 09:07:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372408 -3.425881)'), GeomFromEWKT('SRID=4674;POINT (-38.372416 -3.425872)'))) / (select extract(epoch from '2026-07-06 09:07:31'::timestamp) - extract(epoch from '2026-07-06 09:07:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372408 -3.425881)'), GeomFromEWKT('SRID=4674;POINT (-38.372416 -3.425872)'))) / (select extract(epoch from '2026-07-06 09:07:31'::timestamp) - extract(epoch from '2026-07-06 09:07: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'), 47390, 'SRID=4674;POINT (-38.37244 -3.425853)', '2026-07-06 09:07:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372416 -3.425872)'), GeomFromEWKT('SRID=4674;POINT (-38.37244 -3.425853)'))) / (select extract(epoch from '2026-07-06 09:07:39'::timestamp) - extract(epoch from '2026-07-06 09:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372416 -3.425872)'), GeomFromEWKT('SRID=4674;POINT (-38.37244 -3.425853)'))) / (select extract(epoch from '2026-07-06 09:07:39'::timestamp) - extract(epoch from '2026-07-06 09:07:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.372475 -3.425829)', '2026-07-06 09:07:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37244 -3.425853)'), GeomFromEWKT('SRID=4674;POINT (-38.372475 -3.425829)'))) / (select extract(epoch from '2026-07-06 09:07:46'::timestamp) - extract(epoch from '2026-07-06 09:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37244 -3.425853)'), GeomFromEWKT('SRID=4674;POINT (-38.372475 -3.425829)'))) / (select extract(epoch from '2026-07-06 09:07:46'::timestamp) - extract(epoch from '2026-07-06 09:07: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'), 47390, 'SRID=4674;POINT (-38.372503 -3.425808)', '2026-07-06 09:07:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372475 -3.425829)'), GeomFromEWKT('SRID=4674;POINT (-38.372503 -3.425808)'))) / (select extract(epoch from '2026-07-06 09:07:52'::timestamp) - extract(epoch from '2026-07-06 09:07:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372475 -3.425829)'), GeomFromEWKT('SRID=4674;POINT (-38.372503 -3.425808)'))) / (select extract(epoch from '2026-07-06 09:07:52'::timestamp) - extract(epoch from '2026-07-06 09:07: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'), 47390, 'SRID=4674;POINT (-38.372549 -3.425772)', '2026-07-06 09:08:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372503 -3.425808)'), GeomFromEWKT('SRID=4674;POINT (-38.372549 -3.425772)'))) / (select extract(epoch from '2026-07-06 09:08:01'::timestamp) - extract(epoch from '2026-07-06 09:07:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372503 -3.425808)'), GeomFromEWKT('SRID=4674;POINT (-38.372549 -3.425772)'))) / (select extract(epoch from '2026-07-06 09:08:01'::timestamp) - extract(epoch from '2026-07-06 09:07: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'), 47390, 'SRID=4674;POINT (-38.372586 -3.425748)', '2026-07-06 09:08:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372549 -3.425772)'), GeomFromEWKT('SRID=4674;POINT (-38.372586 -3.425748)'))) / (select extract(epoch from '2026-07-06 09:08:08'::timestamp) - extract(epoch from '2026-07-06 09:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372549 -3.425772)'), GeomFromEWKT('SRID=4674;POINT (-38.372586 -3.425748)'))) / (select extract(epoch from '2026-07-06 09:08:08'::timestamp) - extract(epoch from '2026-07-06 09:08: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'), 47390, 'SRID=4674;POINT (-38.372618 -3.425723)', '2026-07-06 09:08:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372586 -3.425748)'), GeomFromEWKT('SRID=4674;POINT (-38.372618 -3.425723)'))) / (select extract(epoch from '2026-07-06 09:08:15'::timestamp) - extract(epoch from '2026-07-06 09:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372586 -3.425748)'), GeomFromEWKT('SRID=4674;POINT (-38.372618 -3.425723)'))) / (select extract(epoch from '2026-07-06 09:08:15'::timestamp) - extract(epoch from '2026-07-06 09:08: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'), 47390, 'SRID=4674;POINT (-38.372655 -3.42569)', '2026-07-06 09:08:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372618 -3.425723)'), GeomFromEWKT('SRID=4674;POINT (-38.372655 -3.42569)'))) / (select extract(epoch from '2026-07-06 09:08:25'::timestamp) - extract(epoch from '2026-07-06 09:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372618 -3.425723)'), GeomFromEWKT('SRID=4674;POINT (-38.372655 -3.42569)'))) / (select extract(epoch from '2026-07-06 09:08:25'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47390, 'SRID=4674;POINT (-38.37268 -3.425664)', '2026-07-06 09:08:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372655 -3.42569)'), GeomFromEWKT('SRID=4674;POINT (-38.37268 -3.425664)'))) / (select extract(epoch from '2026-07-06 09:08:33'::timestamp) - extract(epoch from '2026-07-06 09:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372655 -3.42569)'), GeomFromEWKT('SRID=4674;POINT (-38.37268 -3.425664)'))) / (select extract(epoch from '2026-07-06 09:08:33'::timestamp) - extract(epoch from '2026-07-06 09:08: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'), 47390, 'SRID=4674;POINT (-38.372701 -3.425646)', '2026-07-06 09:08:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37268 -3.425664)'), GeomFromEWKT('SRID=4674;POINT (-38.372701 -3.425646)'))) / (select extract(epoch from '2026-07-06 09:08:39'::timestamp) - extract(epoch from '2026-07-06 09:08:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37268 -3.425664)'), GeomFromEWKT('SRID=4674;POINT (-38.372701 -3.425646)'))) / (select extract(epoch from '2026-07-06 09:08:39'::timestamp) - extract(epoch from '2026-07-06 09:08: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'), 47390, 'SRID=4674;POINT (-38.372733 -3.425621)', '2026-07-06 09:08:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372701 -3.425646)'), GeomFromEWKT('SRID=4674;POINT (-38.372733 -3.425621)'))) / (select extract(epoch from '2026-07-06 09:08:46'::timestamp) - extract(epoch from '2026-07-06 09:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372701 -3.425646)'), GeomFromEWKT('SRID=4674;POINT (-38.372733 -3.425621)'))) / (select extract(epoch from '2026-07-06 09:08:46'::timestamp) - extract(epoch from '2026-07-06 09:08:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.372758 -3.425601)', '2026-07-06 09:08:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372733 -3.425621)'), GeomFromEWKT('SRID=4674;POINT (-38.372758 -3.425601)'))) / (select extract(epoch from '2026-07-06 09:08:52'::timestamp) - extract(epoch from '2026-07-06 09:08:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372733 -3.425621)'), GeomFromEWKT('SRID=4674;POINT (-38.372758 -3.425601)'))) / (select extract(epoch from '2026-07-06 09:08:52'::timestamp) - extract(epoch from '2026-07-06 09:08: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'), 47390, 'SRID=4674;POINT (-38.372777 -3.42558)', '2026-07-06 09:09:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372758 -3.425601)'), GeomFromEWKT('SRID=4674;POINT (-38.372777 -3.42558)'))) / (select extract(epoch from '2026-07-06 09:09:00'::timestamp) - extract(epoch from '2026-07-06 09:08:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372758 -3.425601)'), GeomFromEWKT('SRID=4674;POINT (-38.372777 -3.42558)'))) / (select extract(epoch from '2026-07-06 09:09:00'::timestamp) - extract(epoch from '2026-07-06 09:08:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.372798 -3.42556)', '2026-07-06 09:09:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372777 -3.42558)'), GeomFromEWKT('SRID=4674;POINT (-38.372798 -3.42556)'))) / (select extract(epoch from '2026-07-06 09:09:07'::timestamp) - extract(epoch from '2026-07-06 09:09:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372777 -3.42558)'), GeomFromEWKT('SRID=4674;POINT (-38.372798 -3.42556)'))) / (select extract(epoch from '2026-07-06 09:09:07'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47390, 'SRID=4674;POINT (-38.372785 -3.425551)', '2026-07-06 09:09:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372798 -3.42556)'), GeomFromEWKT('SRID=4674;POINT (-38.372785 -3.425551)'))) / (select extract(epoch from '2026-07-06 09:09:19'::timestamp) - extract(epoch from '2026-07-06 09:09:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372798 -3.42556)'), GeomFromEWKT('SRID=4674;POINT (-38.372785 -3.425551)'))) / (select extract(epoch from '2026-07-06 09:09:19'::timestamp) - extract(epoch from '2026-07-06 09:09: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'), 47390, 'SRID=4674;POINT (-38.372793 -3.425549)', '2026-07-06 09:09:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372785 -3.425551)'), GeomFromEWKT('SRID=4674;POINT (-38.372793 -3.425549)'))) / (select extract(epoch from '2026-07-06 09:09:41'::timestamp) - extract(epoch from '2026-07-06 09:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372785 -3.425551)'), GeomFromEWKT('SRID=4674;POINT (-38.372793 -3.425549)'))) / (select extract(epoch from '2026-07-06 09:09:41'::timestamp) - extract(epoch from '2026-07-06 09:09: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'), 47390, 'SRID=4674;POINT (-38.37278 -3.425546)', '2026-07-06 09:09:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372793 -3.425549)'), GeomFromEWKT('SRID=4674;POINT (-38.37278 -3.425546)'))) / (select extract(epoch from '2026-07-06 09:09:49'::timestamp) - extract(epoch from '2026-07-06 09:09:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372793 -3.425549)'), GeomFromEWKT('SRID=4674;POINT (-38.37278 -3.425546)'))) / (select extract(epoch from '2026-07-06 09:09:49'::timestamp) - extract(epoch from '2026-07-06 09:09: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'), 47390, 'SRID=4674;POINT (-38.372781 -3.425539)', '2026-07-06 09:09:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37278 -3.425546)'), GeomFromEWKT('SRID=4674;POINT (-38.372781 -3.425539)'))) / (select extract(epoch from '2026-07-06 09:09:58'::timestamp) - extract(epoch from '2026-07-06 09:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37278 -3.425546)'), GeomFromEWKT('SRID=4674;POINT (-38.372781 -3.425539)'))) / (select extract(epoch from '2026-07-06 09:09:58'::timestamp) - extract(epoch from '2026-07-06 09:09: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'), 47390, 'SRID=4674;POINT (-38.372777 -3.425528)', '2026-07-06 09:10:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372781 -3.425539)'), GeomFromEWKT('SRID=4674;POINT (-38.372777 -3.425528)'))) / (select extract(epoch from '2026-07-06 09:10:10'::timestamp) - extract(epoch from '2026-07-06 09:09:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372781 -3.425539)'), GeomFromEWKT('SRID=4674;POINT (-38.372777 -3.425528)'))) / (select extract(epoch from '2026-07-06 09:10:10'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47390, 'SRID=4674;POINT (-38.372777 -3.42552)', '2026-07-06 09:10:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372777 -3.425528)'), GeomFromEWKT('SRID=4674;POINT (-38.372777 -3.42552)'))) / (select extract(epoch from '2026-07-06 09:10:21'::timestamp) - extract(epoch from '2026-07-06 09:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372777 -3.425528)'), GeomFromEWKT('SRID=4674;POINT (-38.372777 -3.42552)'))) / (select extract(epoch from '2026-07-06 09:10:21'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47390, 'SRID=4674;POINT (-38.372779 -3.425518)', '2026-07-06 09:10:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372777 -3.42552)'), GeomFromEWKT('SRID=4674;POINT (-38.372779 -3.425518)'))) / (select extract(epoch from '2026-07-06 09:10:32'::timestamp) - extract(epoch from '2026-07-06 09:10:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372777 -3.42552)'), GeomFromEWKT('SRID=4674;POINT (-38.372779 -3.425518)'))) / (select extract(epoch from '2026-07-06 09:10:32'::timestamp) - extract(epoch from '2026-07-06 09:10: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'), 47390, 'SRID=4674;POINT (-38.372781 -3.425513)', '2026-07-06 09:10:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372779 -3.425518)'), GeomFromEWKT('SRID=4674;POINT (-38.372781 -3.425513)'))) / (select extract(epoch from '2026-07-06 09:10:39'::timestamp) - extract(epoch from '2026-07-06 09:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372779 -3.425518)'), GeomFromEWKT('SRID=4674;POINT (-38.372781 -3.425513)'))) / (select extract(epoch from '2026-07-06 09:10:39'::timestamp) - extract(epoch from '2026-07-06 09:10:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.372782 -3.425493)', '2026-07-06 09:10:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372781 -3.425513)'), GeomFromEWKT('SRID=4674;POINT (-38.372782 -3.425493)'))) / (select extract(epoch from '2026-07-06 09:10:54'::timestamp) - extract(epoch from '2026-07-06 09:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372781 -3.425513)'), GeomFromEWKT('SRID=4674;POINT (-38.372782 -3.425493)'))) / (select extract(epoch from '2026-07-06 09:10:54'::timestamp) - extract(epoch from '2026-07-06 09:10: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'), 47390, 'SRID=4674;POINT (-38.372808 -3.425476)', '2026-07-06 09:11:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372782 -3.425493)'), GeomFromEWKT('SRID=4674;POINT (-38.372808 -3.425476)'))) / (select extract(epoch from '2026-07-06 09:11:02'::timestamp) - extract(epoch from '2026-07-06 09:10:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372782 -3.425493)'), GeomFromEWKT('SRID=4674;POINT (-38.372808 -3.425476)'))) / (select extract(epoch from '2026-07-06 09:11:02'::timestamp) - extract(epoch from '2026-07-06 09:10: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'), 47390, 'SRID=4674;POINT (-38.372861 -3.425444)', '2026-07-06 09:11:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372808 -3.425476)'), GeomFromEWKT('SRID=4674;POINT (-38.372861 -3.425444)'))) / (select extract(epoch from '2026-07-06 09:11:13'::timestamp) - extract(epoch from '2026-07-06 09:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372808 -3.425476)'), GeomFromEWKT('SRID=4674;POINT (-38.372861 -3.425444)'))) / (select extract(epoch from '2026-07-06 09:11:13'::timestamp) - extract(epoch from '2026-07-06 09:11: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'), 47390, 'SRID=4674;POINT (-38.372855 -3.425425)', '2026-07-06 09:11:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372861 -3.425444)'), GeomFromEWKT('SRID=4674;POINT (-38.372855 -3.425425)'))) / (select extract(epoch from '2026-07-06 09:11:23'::timestamp) - extract(epoch from '2026-07-06 09:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372861 -3.425444)'), GeomFromEWKT('SRID=4674;POINT (-38.372855 -3.425425)'))) / (select extract(epoch from '2026-07-06 09:11:23'::timestamp) - extract(epoch from '2026-07-06 09:11: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'), 47390, 'SRID=4674;POINT (-38.372846 -3.425433)', '2026-07-06 09:11:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372855 -3.425425)'), GeomFromEWKT('SRID=4674;POINT (-38.372846 -3.425433)'))) / (select extract(epoch from '2026-07-06 09:11:38'::timestamp) - extract(epoch from '2026-07-06 09:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372855 -3.425425)'), GeomFromEWKT('SRID=4674;POINT (-38.372846 -3.425433)'))) / (select extract(epoch from '2026-07-06 09:11:38'::timestamp) - extract(epoch from '2026-07-06 09:11:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.372842 -3.42542)', '2026-07-06 09:11:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372846 -3.425433)'), GeomFromEWKT('SRID=4674;POINT (-38.372842 -3.42542)'))) / (select extract(epoch from '2026-07-06 09:11:50'::timestamp) - extract(epoch from '2026-07-06 09:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372846 -3.425433)'), GeomFromEWKT('SRID=4674;POINT (-38.372842 -3.42542)'))) / (select extract(epoch from '2026-07-06 09:11:50'::timestamp) - extract(epoch from '2026-07-06 09:11:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.372836 -3.42541)', '2026-07-06 09:11:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372842 -3.42542)'), GeomFromEWKT('SRID=4674;POINT (-38.372836 -3.42541)'))) / (select extract(epoch from '2026-07-06 09:11:58'::timestamp) - extract(epoch from '2026-07-06 09:11:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372842 -3.42542)'), GeomFromEWKT('SRID=4674;POINT (-38.372836 -3.42541)'))) / (select extract(epoch from '2026-07-06 09:11:58'::timestamp) - extract(epoch from '2026-07-06 09:11:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.37284 -3.425397)', '2026-07-06 09:12:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372836 -3.42541)'), GeomFromEWKT('SRID=4674;POINT (-38.37284 -3.425397)'))) / (select extract(epoch from '2026-07-06 09:12:06'::timestamp) - extract(epoch from '2026-07-06 09:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372836 -3.42541)'), GeomFromEWKT('SRID=4674;POINT (-38.37284 -3.425397)'))) / (select extract(epoch from '2026-07-06 09:12:06'::timestamp) - extract(epoch from '2026-07-06 09:11:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.372833 -3.425396)', '2026-07-06 09:12:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37284 -3.425397)'), GeomFromEWKT('SRID=4674;POINT (-38.372833 -3.425396)'))) / (select extract(epoch from '2026-07-06 09:12:14'::timestamp) - extract(epoch from '2026-07-06 09:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37284 -3.425397)'), GeomFromEWKT('SRID=4674;POINT (-38.372833 -3.425396)'))) / (select extract(epoch from '2026-07-06 09:12:14'::timestamp) - extract(epoch from '2026-07-06 09:12:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.372843 -3.425387)', '2026-07-06 09:12:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372833 -3.425396)'), GeomFromEWKT('SRID=4674;POINT (-38.372843 -3.425387)'))) / (select extract(epoch from '2026-07-06 09:12:23'::timestamp) - extract(epoch from '2026-07-06 09:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372833 -3.425396)'), GeomFromEWKT('SRID=4674;POINT (-38.372843 -3.425387)'))) / (select extract(epoch from '2026-07-06 09:12:23'::timestamp) - extract(epoch from '2026-07-06 09:12: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'), 47390, 'SRID=4674;POINT (-38.372832 -3.425392)', '2026-07-06 09:12:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372843 -3.425387)'), GeomFromEWKT('SRID=4674;POINT (-38.372832 -3.425392)'))) / (select extract(epoch from '2026-07-06 09:12:36'::timestamp) - extract(epoch from '2026-07-06 09:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372843 -3.425387)'), GeomFromEWKT('SRID=4674;POINT (-38.372832 -3.425392)'))) / (select extract(epoch from '2026-07-06 09:12:36'::timestamp) - extract(epoch from '2026-07-06 09:12: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'), 47390, 'SRID=4674;POINT (-38.372839 -3.425389)', '2026-07-06 09:12:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372832 -3.425392)'), GeomFromEWKT('SRID=4674;POINT (-38.372839 -3.425389)'))) / (select extract(epoch from '2026-07-06 09:12:44'::timestamp) - extract(epoch from '2026-07-06 09:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372832 -3.425392)'), GeomFromEWKT('SRID=4674;POINT (-38.372839 -3.425389)'))) / (select extract(epoch from '2026-07-06 09:12:44'::timestamp) - extract(epoch from '2026-07-06 09:12:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.372837 -3.425389)', '2026-07-06 09:12:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372839 -3.425389)'), GeomFromEWKT('SRID=4674;POINT (-38.372837 -3.425389)'))) / (select extract(epoch from '2026-07-06 09:12:56'::timestamp) - extract(epoch from '2026-07-06 09:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372839 -3.425389)'), GeomFromEWKT('SRID=4674;POINT (-38.372837 -3.425389)'))) / (select extract(epoch from '2026-07-06 09:12:56'::timestamp) - extract(epoch from '2026-07-06 09:12:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.372838 -3.425374)', '2026-07-06 09:13:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372837 -3.425389)'), GeomFromEWKT('SRID=4674;POINT (-38.372838 -3.425374)'))) / (select extract(epoch from '2026-07-06 09:13:06'::timestamp) - extract(epoch from '2026-07-06 09:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372837 -3.425389)'), GeomFromEWKT('SRID=4674;POINT (-38.372838 -3.425374)'))) / (select extract(epoch from '2026-07-06 09:13:06'::timestamp) - extract(epoch from '2026-07-06 09:12: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'), 47390, 'SRID=4674;POINT (-38.372827 -3.425371)', '2026-07-06 09:13:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372838 -3.425374)'), GeomFromEWKT('SRID=4674;POINT (-38.372827 -3.425371)'))) / (select extract(epoch from '2026-07-06 09:13:17'::timestamp) - extract(epoch from '2026-07-06 09:13:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372838 -3.425374)'), GeomFromEWKT('SRID=4674;POINT (-38.372827 -3.425371)'))) / (select extract(epoch from '2026-07-06 09:13:17'::timestamp) - extract(epoch from '2026-07-06 09:13: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'), 47390, 'SRID=4674;POINT (-38.372829 -3.425369)', '2026-07-06 09:13:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372827 -3.425371)'), GeomFromEWKT('SRID=4674;POINT (-38.372829 -3.425369)'))) / (select extract(epoch from '2026-07-06 09:13:24'::timestamp) - extract(epoch from '2026-07-06 09:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372827 -3.425371)'), GeomFromEWKT('SRID=4674;POINT (-38.372829 -3.425369)'))) / (select extract(epoch from '2026-07-06 09:13:24'::timestamp) - extract(epoch from '2026-07-06 09:13: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'), 47390, 'SRID=4674;POINT (-38.372831 -3.42536)', '2026-07-06 09:13:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372829 -3.425369)'), GeomFromEWKT('SRID=4674;POINT (-38.372831 -3.42536)'))) / (select extract(epoch from '2026-07-06 09:13:37'::timestamp) - extract(epoch from '2026-07-06 09:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372829 -3.425369)'), GeomFromEWKT('SRID=4674;POINT (-38.372831 -3.42536)'))) / (select extract(epoch from '2026-07-06 09:13:37'::timestamp) - extract(epoch from '2026-07-06 09:13: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'), 47390, 'SRID=4674;POINT (-38.372835 -3.425357)', '2026-07-06 09:13:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372831 -3.42536)'), GeomFromEWKT('SRID=4674;POINT (-38.372835 -3.425357)'))) / (select extract(epoch from '2026-07-06 09:13:45'::timestamp) - extract(epoch from '2026-07-06 09:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372831 -3.42536)'), GeomFromEWKT('SRID=4674;POINT (-38.372835 -3.425357)'))) / (select extract(epoch from '2026-07-06 09:13:45'::timestamp) - extract(epoch from '2026-07-06 09:13: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'), 47390, 'SRID=4674;POINT (-38.372827 -3.425368)', '2026-07-06 09:13:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372835 -3.425357)'), GeomFromEWKT('SRID=4674;POINT (-38.372827 -3.425368)'))) / (select extract(epoch from '2026-07-06 09:13:56'::timestamp) - extract(epoch from '2026-07-06 09:13:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372835 -3.425357)'), GeomFromEWKT('SRID=4674;POINT (-38.372827 -3.425368)'))) / (select extract(epoch from '2026-07-06 09:13:56'::timestamp) - extract(epoch from '2026-07-06 09:13: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'), 47390, 'SRID=4674;POINT (-38.372831 -3.425378)', '2026-07-06 09:14:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372827 -3.425368)'), GeomFromEWKT('SRID=4674;POINT (-38.372831 -3.425378)'))) / (select extract(epoch from '2026-07-06 09:14:04'::timestamp) - extract(epoch from '2026-07-06 09:13:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372827 -3.425368)'), GeomFromEWKT('SRID=4674;POINT (-38.372831 -3.425378)'))) / (select extract(epoch from '2026-07-06 09:14:04'::timestamp) - extract(epoch from '2026-07-06 09:13: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'), 47390, 'SRID=4674;POINT (-38.372828 -3.425373)', '2026-07-06 09:14:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372831 -3.425378)'), GeomFromEWKT('SRID=4674;POINT (-38.372828 -3.425373)'))) / (select extract(epoch from '2026-07-06 09:14:18'::timestamp) - extract(epoch from '2026-07-06 09:14:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372831 -3.425378)'), GeomFromEWKT('SRID=4674;POINT (-38.372828 -3.425373)'))) / (select extract(epoch from '2026-07-06 09:14:18'::timestamp) - extract(epoch from '2026-07-06 09:14: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'), 47390, 'SRID=4674;POINT (-38.372837 -3.425375)', '2026-07-06 09:14:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372828 -3.425373)'), GeomFromEWKT('SRID=4674;POINT (-38.372837 -3.425375)'))) / (select extract(epoch from '2026-07-06 09:14:27'::timestamp) - extract(epoch from '2026-07-06 09:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372828 -3.425373)'), GeomFromEWKT('SRID=4674;POINT (-38.372837 -3.425375)'))) / (select extract(epoch from '2026-07-06 09:14:27'::timestamp) - extract(epoch from '2026-07-06 09:14: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'), 47390, 'SRID=4674;POINT (-38.372834 -3.425384)', '2026-07-06 09:14:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372837 -3.425375)'), GeomFromEWKT('SRID=4674;POINT (-38.372834 -3.425384)'))) / (select extract(epoch from '2026-07-06 09:14:40'::timestamp) - extract(epoch from '2026-07-06 09:14:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372837 -3.425375)'), GeomFromEWKT('SRID=4674;POINT (-38.372834 -3.425384)'))) / (select extract(epoch from '2026-07-06 09:14:40'::timestamp) - extract(epoch from '2026-07-06 09:14: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'), 47390, 'SRID=4674;POINT (-38.372839 -3.425378)', '2026-07-06 09:14:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372834 -3.425384)'), GeomFromEWKT('SRID=4674;POINT (-38.372839 -3.425378)'))) / (select extract(epoch from '2026-07-06 09:14:45'::timestamp) - extract(epoch from '2026-07-06 09:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372834 -3.425384)'), GeomFromEWKT('SRID=4674;POINT (-38.372839 -3.425378)'))) / (select extract(epoch from '2026-07-06 09:14:45'::timestamp) - extract(epoch from '2026-07-06 09:14: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'), 47390, 'SRID=4674;POINT (-38.372834 -3.425387)', '2026-07-06 09:14:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372839 -3.425378)'), GeomFromEWKT('SRID=4674;POINT (-38.372834 -3.425387)'))) / (select extract(epoch from '2026-07-06 09:14:53'::timestamp) - extract(epoch from '2026-07-06 09:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372839 -3.425378)'), GeomFromEWKT('SRID=4674;POINT (-38.372834 -3.425387)'))) / (select extract(epoch from '2026-07-06 09:14:53'::timestamp) - extract(epoch from '2026-07-06 09:14: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'), 47390, 'SRID=4674;POINT (-38.372821 -3.425388)', '2026-07-06 09:15:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372834 -3.425387)'), GeomFromEWKT('SRID=4674;POINT (-38.372821 -3.425388)'))) / (select extract(epoch from '2026-07-06 09:15:03'::timestamp) - extract(epoch from '2026-07-06 09:14:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372834 -3.425387)'), GeomFromEWKT('SRID=4674;POINT (-38.372821 -3.425388)'))) / (select extract(epoch from '2026-07-06 09:15:03'::timestamp) - extract(epoch from '2026-07-06 09:14: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'), 47390, 'SRID=4674;POINT (-38.372829 -3.425397)', '2026-07-06 09:15:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372821 -3.425388)'), GeomFromEWKT('SRID=4674;POINT (-38.372829 -3.425397)'))) / (select extract(epoch from '2026-07-06 09:15:12'::timestamp) - extract(epoch from '2026-07-06 09:15:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372821 -3.425388)'), GeomFromEWKT('SRID=4674;POINT (-38.372829 -3.425397)'))) / (select extract(epoch from '2026-07-06 09:15:12'::timestamp) - extract(epoch from '2026-07-06 09:15: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'), 47390, 'SRID=4674;POINT (-38.372818 -3.425396)', '2026-07-06 09:15:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372829 -3.425397)'), GeomFromEWKT('SRID=4674;POINT (-38.372818 -3.425396)'))) / (select extract(epoch from '2026-07-06 09:15:24'::timestamp) - extract(epoch from '2026-07-06 09:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372829 -3.425397)'), GeomFromEWKT('SRID=4674;POINT (-38.372818 -3.425396)'))) / (select extract(epoch from '2026-07-06 09:15:24'::timestamp) - extract(epoch from '2026-07-06 09:15: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'), 47390, 'SRID=4674;POINT (-38.372822 -3.425402)', '2026-07-06 09:15:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372818 -3.425396)'), GeomFromEWKT('SRID=4674;POINT (-38.372822 -3.425402)'))) / (select extract(epoch from '2026-07-06 09:15:33'::timestamp) - extract(epoch from '2026-07-06 09:15:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372818 -3.425396)'), GeomFromEWKT('SRID=4674;POINT (-38.372822 -3.425402)'))) / (select extract(epoch from '2026-07-06 09:15:33'::timestamp) - extract(epoch from '2026-07-06 09:15:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.37283 -3.425391)', '2026-07-06 09:15:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372822 -3.425402)'), GeomFromEWKT('SRID=4674;POINT (-38.37283 -3.425391)'))) / (select extract(epoch from '2026-07-06 09:15:42'::timestamp) - extract(epoch from '2026-07-06 09:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372822 -3.425402)'), GeomFromEWKT('SRID=4674;POINT (-38.37283 -3.425391)'))) / (select extract(epoch from '2026-07-06 09:15:42'::timestamp) - extract(epoch from '2026-07-06 09:15:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.372836 -3.425382)', '2026-07-06 09:15:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37283 -3.425391)'), GeomFromEWKT('SRID=4674;POINT (-38.372836 -3.425382)'))) / (select extract(epoch from '2026-07-06 09:15:48'::timestamp) - extract(epoch from '2026-07-06 09:15:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37283 -3.425391)'), GeomFromEWKT('SRID=4674;POINT (-38.372836 -3.425382)'))) / (select extract(epoch from '2026-07-06 09:15:48'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47390, 'SRID=4674;POINT (-38.372821 -3.425389)', '2026-07-06 09:15:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372836 -3.425382)'), GeomFromEWKT('SRID=4674;POINT (-38.372821 -3.425389)'))) / (select extract(epoch from '2026-07-06 09:15:56'::timestamp) - extract(epoch from '2026-07-06 09:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372836 -3.425382)'), GeomFromEWKT('SRID=4674;POINT (-38.372821 -3.425389)'))) / (select extract(epoch from '2026-07-06 09:15:56'::timestamp) - extract(epoch from '2026-07-06 09:15: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'), 47390, 'SRID=4674;POINT (-38.372816 -3.425389)', '2026-07-06 09:15:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372821 -3.425389)'), GeomFromEWKT('SRID=4674;POINT (-38.372816 -3.425389)'))) / (select extract(epoch from '2026-07-06 09:15:58'::timestamp) - extract(epoch from '2026-07-06 09:15:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372821 -3.425389)'), GeomFromEWKT('SRID=4674;POINT (-38.372816 -3.425389)'))) / (select extract(epoch from '2026-07-06 09:15:58'::timestamp) - extract(epoch from '2026-07-06 09:15:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.376921 -3.428443)', '2026-07-06 16:05:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372816 -3.425389)'), GeomFromEWKT('SRID=4674;POINT (-38.376921 -3.428443)'))) / (select extract(epoch from '2026-07-06 16:05:58'::timestamp) - extract(epoch from '2026-07-06 09:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372816 -3.425389)'), GeomFromEWKT('SRID=4674;POINT (-38.376921 -3.428443)'))) / (select extract(epoch from '2026-07-06 16:05:58'::timestamp) - extract(epoch from '2026-07-06 09:15: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'), 47390, 'SRID=4674;POINT (-38.377006 -3.42862)', '2026-07-06 16:06:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376921 -3.428443)'), GeomFromEWKT('SRID=4674;POINT (-38.377006 -3.42862)'))) / (select extract(epoch from '2026-07-06 16:06:05'::timestamp) - extract(epoch from '2026-07-06 16:05:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376921 -3.428443)'), GeomFromEWKT('SRID=4674;POINT (-38.377006 -3.42862)'))) / (select extract(epoch from '2026-07-06 16:06:05'::timestamp) - extract(epoch from '2026-07-06 16:05: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'), 47390, 'SRID=4674;POINT (-38.377077 -3.42874)', '2026-07-06 16:06:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377006 -3.42862)'), GeomFromEWKT('SRID=4674;POINT (-38.377077 -3.42874)'))) / (select extract(epoch from '2026-07-06 16:06:11'::timestamp) - extract(epoch from '2026-07-06 16:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377006 -3.42862)'), GeomFromEWKT('SRID=4674;POINT (-38.377077 -3.42874)'))) / (select extract(epoch from '2026-07-06 16:06:11'::timestamp) - extract(epoch from '2026-07-06 16:06:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.377142 -3.428853)', '2026-07-06 16:06:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377077 -3.42874)'), GeomFromEWKT('SRID=4674;POINT (-38.377142 -3.428853)'))) / (select extract(epoch from '2026-07-06 16:06:17'::timestamp) - extract(epoch from '2026-07-06 16:06:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377077 -3.42874)'), GeomFromEWKT('SRID=4674;POINT (-38.377142 -3.428853)'))) / (select extract(epoch from '2026-07-06 16:06:17'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.377246 -3.428964)', '2026-07-06 16:06:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377142 -3.428853)'), GeomFromEWKT('SRID=4674;POINT (-38.377246 -3.428964)'))) / (select extract(epoch from '2026-07-06 16:06:24'::timestamp) - extract(epoch from '2026-07-06 16:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377142 -3.428853)'), GeomFromEWKT('SRID=4674;POINT (-38.377246 -3.428964)'))) / (select extract(epoch from '2026-07-06 16:06:24'::timestamp) - extract(epoch from '2026-07-06 16:06:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.377253 -3.428963)', '2026-07-06 16:06:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377246 -3.428964)'), GeomFromEWKT('SRID=4674;POINT (-38.377253 -3.428963)'))) / (select extract(epoch from '2026-07-06 16:06:27'::timestamp) - extract(epoch from '2026-07-06 16:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377246 -3.428964)'), GeomFromEWKT('SRID=4674;POINT (-38.377253 -3.428963)'))) / (select extract(epoch from '2026-07-06 16:06:27'::timestamp) - extract(epoch from '2026-07-06 16:06: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'), 47390, 'SRID=4674;POINT (-38.377257 -3.428973)', '2026-07-06 16:06:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377253 -3.428963)'), GeomFromEWKT('SRID=4674;POINT (-38.377257 -3.428973)'))) / (select extract(epoch from '2026-07-06 16:06:28'::timestamp) - extract(epoch from '2026-07-06 16:06:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377253 -3.428963)'), GeomFromEWKT('SRID=4674;POINT (-38.377257 -3.428973)'))) / (select extract(epoch from '2026-07-06 16:06:28'::timestamp) - extract(epoch from '2026-07-06 16:06: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'), 47390, 'SRID=4674;POINT (-38.377301 -3.429034)', '2026-07-06 16:06:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377257 -3.428973)'), GeomFromEWKT('SRID=4674;POINT (-38.377301 -3.429034)'))) / (select extract(epoch from '2026-07-06 16:06:32'::timestamp) - extract(epoch from '2026-07-06 16:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377257 -3.428973)'), GeomFromEWKT('SRID=4674;POINT (-38.377301 -3.429034)'))) / (select extract(epoch from '2026-07-06 16:06:32'::timestamp) - extract(epoch from '2026-07-06 16:06: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'), 47390, 'SRID=4674;POINT (-38.377321 -3.429106)', '2026-07-06 16:06:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377301 -3.429034)'), GeomFromEWKT('SRID=4674;POINT (-38.377321 -3.429106)'))) / (select extract(epoch from '2026-07-06 16:06:37'::timestamp) - extract(epoch from '2026-07-06 16:06:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377301 -3.429034)'), GeomFromEWKT('SRID=4674;POINT (-38.377321 -3.429106)'))) / (select extract(epoch from '2026-07-06 16:06:37'::timestamp) - extract(epoch from '2026-07-06 16:06: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'), 47390, 'SRID=4674;POINT (-38.377342 -3.429195)', '2026-07-06 16:06:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377321 -3.429106)'), GeomFromEWKT('SRID=4674;POINT (-38.377342 -3.429195)'))) / (select extract(epoch from '2026-07-06 16:06:43'::timestamp) - extract(epoch from '2026-07-06 16:06:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377321 -3.429106)'), GeomFromEWKT('SRID=4674;POINT (-38.377342 -3.429195)'))) / (select extract(epoch from '2026-07-06 16:06:43'::timestamp) - extract(epoch from '2026-07-06 16:06:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.377367 -3.429267)', '2026-07-06 16:06:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377342 -3.429195)'), GeomFromEWKT('SRID=4674;POINT (-38.377367 -3.429267)'))) / (select extract(epoch from '2026-07-06 16:06:48'::timestamp) - extract(epoch from '2026-07-06 16:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377342 -3.429195)'), GeomFromEWKT('SRID=4674;POINT (-38.377367 -3.429267)'))) / (select extract(epoch from '2026-07-06 16:06:48'::timestamp) - extract(epoch from '2026-07-06 16:06: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'), 47390, 'SRID=4674;POINT (-38.37742 -3.429348)', '2026-07-06 16:06:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377367 -3.429267)'), GeomFromEWKT('SRID=4674;POINT (-38.37742 -3.429348)'))) / (select extract(epoch from '2026-07-06 16:06:54'::timestamp) - extract(epoch from '2026-07-06 16:06:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377367 -3.429267)'), GeomFromEWKT('SRID=4674;POINT (-38.37742 -3.429348)'))) / (select extract(epoch from '2026-07-06 16:06:54'::timestamp) - extract(epoch from '2026-07-06 16:06: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'), 47390, 'SRID=4674;POINT (-38.377495 -3.429441)', '2026-07-06 16:07:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37742 -3.429348)'), GeomFromEWKT('SRID=4674;POINT (-38.377495 -3.429441)'))) / (select extract(epoch from '2026-07-06 16:07:02'::timestamp) - extract(epoch from '2026-07-06 16:06:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37742 -3.429348)'), GeomFromEWKT('SRID=4674;POINT (-38.377495 -3.429441)'))) / (select extract(epoch from '2026-07-06 16:07:02'::timestamp) - extract(epoch from '2026-07-06 16:06: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'), 47390, 'SRID=4674;POINT (-38.377536 -3.42949)', '2026-07-06 16:07:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377495 -3.429441)'), GeomFromEWKT('SRID=4674;POINT (-38.377536 -3.42949)'))) / (select extract(epoch from '2026-07-06 16:07:06'::timestamp) - extract(epoch from '2026-07-06 16:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377495 -3.429441)'), GeomFromEWKT('SRID=4674;POINT (-38.377536 -3.42949)'))) / (select extract(epoch from '2026-07-06 16:07:06'::timestamp) - extract(epoch from '2026-07-06 16:07: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'), 47390, 'SRID=4674;POINT (-38.377551 -3.429517)', '2026-07-06 16:07:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377536 -3.42949)'), GeomFromEWKT('SRID=4674;POINT (-38.377551 -3.429517)'))) / (select extract(epoch from '2026-07-06 16:07:08'::timestamp) - extract(epoch from '2026-07-06 16:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377536 -3.42949)'), GeomFromEWKT('SRID=4674;POINT (-38.377551 -3.429517)'))) / (select extract(epoch from '2026-07-06 16:07:08'::timestamp) - extract(epoch from '2026-07-06 16:07:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.377607 -3.429626)', '2026-07-06 16:07:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377551 -3.429517)'), GeomFromEWKT('SRID=4674;POINT (-38.377607 -3.429626)'))) / (select extract(epoch from '2026-07-06 16:07:15'::timestamp) - extract(epoch from '2026-07-06 16:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377551 -3.429517)'), GeomFromEWKT('SRID=4674;POINT (-38.377607 -3.429626)'))) / (select extract(epoch from '2026-07-06 16:07:15'::timestamp) - extract(epoch from '2026-07-06 16:07: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'), 47390, 'SRID=4674;POINT (-38.377666 -3.429743)', '2026-07-06 16:07:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377607 -3.429626)'), GeomFromEWKT('SRID=4674;POINT (-38.377666 -3.429743)'))) / (select extract(epoch from '2026-07-06 16:07:22'::timestamp) - extract(epoch from '2026-07-06 16:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377607 -3.429626)'), GeomFromEWKT('SRID=4674;POINT (-38.377666 -3.429743)'))) / (select extract(epoch from '2026-07-06 16:07:22'::timestamp) - extract(epoch from '2026-07-06 16:07: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'), 47390, 'SRID=4674;POINT (-38.377712 -3.429846)', '2026-07-06 16:07:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377666 -3.429743)'), GeomFromEWKT('SRID=4674;POINT (-38.377712 -3.429846)'))) / (select extract(epoch from '2026-07-06 16:07:28'::timestamp) - extract(epoch from '2026-07-06 16:07:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377666 -3.429743)'), GeomFromEWKT('SRID=4674;POINT (-38.377712 -3.429846)'))) / (select extract(epoch from '2026-07-06 16:07:28'::timestamp) - extract(epoch from '2026-07-06 16:07: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'), 47390, 'SRID=4674;POINT (-38.377767 -3.429964)', '2026-07-06 16:07:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377712 -3.429846)'), GeomFromEWKT('SRID=4674;POINT (-38.377767 -3.429964)'))) / (select extract(epoch from '2026-07-06 16:07:35'::timestamp) - extract(epoch from '2026-07-06 16:07:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377712 -3.429846)'), GeomFromEWKT('SRID=4674;POINT (-38.377767 -3.429964)'))) / (select extract(epoch from '2026-07-06 16:07:35'::timestamp) - extract(epoch from '2026-07-06 16:07: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'), 47390, 'SRID=4674;POINT (-38.377817 -3.430067)', '2026-07-06 16:07:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377767 -3.429964)'), GeomFromEWKT('SRID=4674;POINT (-38.377817 -3.430067)'))) / (select extract(epoch from '2026-07-06 16:07:41'::timestamp) - extract(epoch from '2026-07-06 16:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377767 -3.429964)'), GeomFromEWKT('SRID=4674;POINT (-38.377817 -3.430067)'))) / (select extract(epoch from '2026-07-06 16:07:41'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.377877 -3.430168)', '2026-07-06 16:07:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377817 -3.430067)'), GeomFromEWKT('SRID=4674;POINT (-38.377877 -3.430168)'))) / (select extract(epoch from '2026-07-06 16:07:47'::timestamp) - extract(epoch from '2026-07-06 16:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377817 -3.430067)'), GeomFromEWKT('SRID=4674;POINT (-38.377877 -3.430168)'))) / (select extract(epoch from '2026-07-06 16:07:47'::timestamp) - extract(epoch from '2026-07-06 16:07: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'), 47390, 'SRID=4674;POINT (-38.377945 -3.430295)', '2026-07-06 16:07:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377877 -3.430168)'), GeomFromEWKT('SRID=4674;POINT (-38.377945 -3.430295)'))) / (select extract(epoch from '2026-07-06 16:07:54'::timestamp) - extract(epoch from '2026-07-06 16:07:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377877 -3.430168)'), GeomFromEWKT('SRID=4674;POINT (-38.377945 -3.430295)'))) / (select extract(epoch from '2026-07-06 16:07:54'::timestamp) - extract(epoch from '2026-07-06 16:07: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'), 47390, 'SRID=4674;POINT (-38.377991 -3.430398)', '2026-07-06 16:08:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377945 -3.430295)'), GeomFromEWKT('SRID=4674;POINT (-38.377991 -3.430398)'))) / (select extract(epoch from '2026-07-06 16:08:00'::timestamp) - extract(epoch from '2026-07-06 16:07:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377945 -3.430295)'), GeomFromEWKT('SRID=4674;POINT (-38.377991 -3.430398)'))) / (select extract(epoch from '2026-07-06 16:08:00'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.378023 -3.430497)', '2026-07-06 16:08:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377991 -3.430398)'), GeomFromEWKT('SRID=4674;POINT (-38.378023 -3.430497)'))) / (select extract(epoch from '2026-07-06 16:08:06'::timestamp) - extract(epoch from '2026-07-06 16:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377991 -3.430398)'), GeomFromEWKT('SRID=4674;POINT (-38.378023 -3.430497)'))) / (select extract(epoch from '2026-07-06 16:08:06'::timestamp) - extract(epoch from '2026-07-06 16:08: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'), 47390, 'SRID=4674;POINT (-38.378038 -3.430531)', '2026-07-06 16:08:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378023 -3.430497)'), GeomFromEWKT('SRID=4674;POINT (-38.378038 -3.430531)'))) / (select extract(epoch from '2026-07-06 16:08:08'::timestamp) - extract(epoch from '2026-07-06 16:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378023 -3.430497)'), GeomFromEWKT('SRID=4674;POINT (-38.378038 -3.430531)'))) / (select extract(epoch from '2026-07-06 16:08:08'::timestamp) - extract(epoch from '2026-07-06 16:08: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'), 47390, 'SRID=4674;POINT (-38.378051 -3.430564)', '2026-07-06 16:08:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378038 -3.430531)'), GeomFromEWKT('SRID=4674;POINT (-38.378051 -3.430564)'))) / (select extract(epoch from '2026-07-06 16:08:10'::timestamp) - extract(epoch from '2026-07-06 16:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378038 -3.430531)'), GeomFromEWKT('SRID=4674;POINT (-38.378051 -3.430564)'))) / (select extract(epoch from '2026-07-06 16:08:10'::timestamp) - extract(epoch from '2026-07-06 16:08: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'), 47390, 'SRID=4674;POINT (-38.378097 -3.430661)', '2026-07-06 16:08:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378051 -3.430564)'), GeomFromEWKT('SRID=4674;POINT (-38.378097 -3.430661)'))) / (select extract(epoch from '2026-07-06 16:08:16'::timestamp) - extract(epoch from '2026-07-06 16:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378051 -3.430564)'), GeomFromEWKT('SRID=4674;POINT (-38.378097 -3.430661)'))) / (select extract(epoch from '2026-07-06 16:08:16'::timestamp) - extract(epoch from '2026-07-06 16:08: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'), 47390, 'SRID=4674;POINT (-38.378151 -3.430755)', '2026-07-06 16:08:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378097 -3.430661)'), GeomFromEWKT('SRID=4674;POINT (-38.378151 -3.430755)'))) / (select extract(epoch from '2026-07-06 16:08:22'::timestamp) - extract(epoch from '2026-07-06 16:08:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378097 -3.430661)'), GeomFromEWKT('SRID=4674;POINT (-38.378151 -3.430755)'))) / (select extract(epoch from '2026-07-06 16:08:22'::timestamp) - extract(epoch from '2026-07-06 16:08: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'), 47390, 'SRID=4674;POINT (-38.378215 -3.430853)', '2026-07-06 16:08:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378151 -3.430755)'), GeomFromEWKT('SRID=4674;POINT (-38.378215 -3.430853)'))) / (select extract(epoch from '2026-07-06 16:08:28'::timestamp) - extract(epoch from '2026-07-06 16:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378151 -3.430755)'), GeomFromEWKT('SRID=4674;POINT (-38.378215 -3.430853)'))) / (select extract(epoch from '2026-07-06 16:08:28'::timestamp) - extract(epoch from '2026-07-06 16:08: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'), 47390, 'SRID=4674;POINT (-38.37827 -3.430965)', '2026-07-06 16:08:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378215 -3.430853)'), GeomFromEWKT('SRID=4674;POINT (-38.37827 -3.430965)'))) / (select extract(epoch from '2026-07-06 16:08:35'::timestamp) - extract(epoch from '2026-07-06 16:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378215 -3.430853)'), GeomFromEWKT('SRID=4674;POINT (-38.37827 -3.430965)'))) / (select extract(epoch from '2026-07-06 16:08:35'::timestamp) - extract(epoch from '2026-07-06 16:08: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'), 47390, 'SRID=4674;POINT (-38.378336 -3.431095)', '2026-07-06 16:08:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37827 -3.430965)'), GeomFromEWKT('SRID=4674;POINT (-38.378336 -3.431095)'))) / (select extract(epoch from '2026-07-06 16:08:43'::timestamp) - extract(epoch from '2026-07-06 16:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37827 -3.430965)'), GeomFromEWKT('SRID=4674;POINT (-38.378336 -3.431095)'))) / (select extract(epoch from '2026-07-06 16:08:43'::timestamp) - extract(epoch from '2026-07-06 16:08: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'), 47390, 'SRID=4674;POINT (-38.378412 -3.431212)', '2026-07-06 16:08:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378336 -3.431095)'), GeomFromEWKT('SRID=4674;POINT (-38.378412 -3.431212)'))) / (select extract(epoch from '2026-07-06 16:08:50'::timestamp) - extract(epoch from '2026-07-06 16:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378336 -3.431095)'), GeomFromEWKT('SRID=4674;POINT (-38.378412 -3.431212)'))) / (select extract(epoch from '2026-07-06 16:08:50'::timestamp) - extract(epoch from '2026-07-06 16:08: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'), 47390, 'SRID=4674;POINT (-38.378464 -3.431298)', '2026-07-06 16:08:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378412 -3.431212)'), GeomFromEWKT('SRID=4674;POINT (-38.378464 -3.431298)'))) / (select extract(epoch from '2026-07-06 16:08:55'::timestamp) - extract(epoch from '2026-07-06 16:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378412 -3.431212)'), GeomFromEWKT('SRID=4674;POINT (-38.378464 -3.431298)'))) / (select extract(epoch from '2026-07-06 16:08:55'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.378513 -3.431403)', '2026-07-06 16:09:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378464 -3.431298)'), GeomFromEWKT('SRID=4674;POINT (-38.378513 -3.431403)'))) / (select extract(epoch from '2026-07-06 16:09:01'::timestamp) - extract(epoch from '2026-07-06 16:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378464 -3.431298)'), GeomFromEWKT('SRID=4674;POINT (-38.378513 -3.431403)'))) / (select extract(epoch from '2026-07-06 16:09:01'::timestamp) - extract(epoch from '2026-07-06 16:08: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'), 47390, 'SRID=4674;POINT (-38.378557 -3.431522)', '2026-07-06 16:09:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378513 -3.431403)'), GeomFromEWKT('SRID=4674;POINT (-38.378557 -3.431522)'))) / (select extract(epoch from '2026-07-06 16:09:08'::timestamp) - extract(epoch from '2026-07-06 16:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378513 -3.431403)'), GeomFromEWKT('SRID=4674;POINT (-38.378557 -3.431522)'))) / (select extract(epoch from '2026-07-06 16:09:08'::timestamp) - extract(epoch from '2026-07-06 16:09: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'), 47390, 'SRID=4674;POINT (-38.378625 -3.431658)', '2026-07-06 16:09:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378557 -3.431522)'), GeomFromEWKT('SRID=4674;POINT (-38.378625 -3.431658)'))) / (select extract(epoch from '2026-07-06 16:09:16'::timestamp) - extract(epoch from '2026-07-06 16:09:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378557 -3.431522)'), GeomFromEWKT('SRID=4674;POINT (-38.378625 -3.431658)'))) / (select extract(epoch from '2026-07-06 16:09:16'::timestamp) - extract(epoch from '2026-07-06 16:09: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'), 47390, 'SRID=4674;POINT (-38.378683 -3.431765)', '2026-07-06 16:09:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378625 -3.431658)'), GeomFromEWKT('SRID=4674;POINT (-38.378683 -3.431765)'))) / (select extract(epoch from '2026-07-06 16:09:22'::timestamp) - extract(epoch from '2026-07-06 16:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378625 -3.431658)'), GeomFromEWKT('SRID=4674;POINT (-38.378683 -3.431765)'))) / (select extract(epoch from '2026-07-06 16:09:22'::timestamp) - extract(epoch from '2026-07-06 16:09: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'), 47390, 'SRID=4674;POINT (-38.378748 -3.431886)', '2026-07-06 16:09:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378683 -3.431765)'), GeomFromEWKT('SRID=4674;POINT (-38.378748 -3.431886)'))) / (select extract(epoch from '2026-07-06 16:09:29'::timestamp) - extract(epoch from '2026-07-06 16:09:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378683 -3.431765)'), GeomFromEWKT('SRID=4674;POINT (-38.378748 -3.431886)'))) / (select extract(epoch from '2026-07-06 16:09:29'::timestamp) - extract(epoch from '2026-07-06 16:09: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'), 47390, 'SRID=4674;POINT (-38.378797 -3.431993)', '2026-07-06 16:09:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378748 -3.431886)'), GeomFromEWKT('SRID=4674;POINT (-38.378797 -3.431993)'))) / (select extract(epoch from '2026-07-06 16:09:35'::timestamp) - extract(epoch from '2026-07-06 16:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378748 -3.431886)'), GeomFromEWKT('SRID=4674;POINT (-38.378797 -3.431993)'))) / (select extract(epoch from '2026-07-06 16:09:35'::timestamp) - extract(epoch from '2026-07-06 16:09:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.378846 -3.432107)', '2026-07-06 16:09:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378797 -3.431993)'), GeomFromEWKT('SRID=4674;POINT (-38.378846 -3.432107)'))) / (select extract(epoch from '2026-07-06 16:09:41'::timestamp) - extract(epoch from '2026-07-06 16:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378797 -3.431993)'), GeomFromEWKT('SRID=4674;POINT (-38.378846 -3.432107)'))) / (select extract(epoch from '2026-07-06 16:09:41'::timestamp) - extract(epoch from '2026-07-06 16:09: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'), 47390, 'SRID=4674;POINT (-38.378882 -3.432198)', '2026-07-06 16:09:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378846 -3.432107)'), GeomFromEWKT('SRID=4674;POINT (-38.378882 -3.432198)'))) / (select extract(epoch from '2026-07-06 16:09:46'::timestamp) - extract(epoch from '2026-07-06 16:09:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378846 -3.432107)'), GeomFromEWKT('SRID=4674;POINT (-38.378882 -3.432198)'))) / (select extract(epoch from '2026-07-06 16:09:46'::timestamp) - extract(epoch from '2026-07-06 16:09: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'), 47390, 'SRID=4674;POINT (-38.378907 -3.432286)', '2026-07-06 16:09:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378882 -3.432198)'), GeomFromEWKT('SRID=4674;POINT (-38.378907 -3.432286)'))) / (select extract(epoch from '2026-07-06 16:09:51'::timestamp) - extract(epoch from '2026-07-06 16:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378882 -3.432198)'), GeomFromEWKT('SRID=4674;POINT (-38.378907 -3.432286)'))) / (select extract(epoch from '2026-07-06 16:09:51'::timestamp) - extract(epoch from '2026-07-06 16:09: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'), 47390, 'SRID=4674;POINT (-38.378948 -3.432373)', '2026-07-06 16:09:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378907 -3.432286)'), GeomFromEWKT('SRID=4674;POINT (-38.378948 -3.432373)'))) / (select extract(epoch from '2026-07-06 16:09:56'::timestamp) - extract(epoch from '2026-07-06 16:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378907 -3.432286)'), GeomFromEWKT('SRID=4674;POINT (-38.378948 -3.432373)'))) / (select extract(epoch from '2026-07-06 16:09:56'::timestamp) - extract(epoch from '2026-07-06 16:09: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'), 47390, 'SRID=4674;POINT (-38.378953 -3.43239)', '2026-07-06 16:09:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378948 -3.432373)'), GeomFromEWKT('SRID=4674;POINT (-38.378953 -3.43239)'))) / (select extract(epoch from '2026-07-06 16:09:57'::timestamp) - extract(epoch from '2026-07-06 16:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378948 -3.432373)'), GeomFromEWKT('SRID=4674;POINT (-38.378953 -3.43239)'))) / (select extract(epoch from '2026-07-06 16:09:57'::timestamp) - extract(epoch from '2026-07-06 16:09: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'), 47390, 'SRID=4674;POINT (-38.379006 -3.432481)', '2026-07-06 16:10:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378953 -3.43239)'), GeomFromEWKT('SRID=4674;POINT (-38.379006 -3.432481)'))) / (select extract(epoch from '2026-07-06 16:10:02'::timestamp) - extract(epoch from '2026-07-06 16:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378953 -3.43239)'), GeomFromEWKT('SRID=4674;POINT (-38.379006 -3.432481)'))) / (select extract(epoch from '2026-07-06 16:10:02'::timestamp) - extract(epoch from '2026-07-06 16:09: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'), 47390, 'SRID=4674;POINT (-38.379059 -3.432587)', '2026-07-06 16:10:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379006 -3.432481)'), GeomFromEWKT('SRID=4674;POINT (-38.379059 -3.432587)'))) / (select extract(epoch from '2026-07-06 16:10:08'::timestamp) - extract(epoch from '2026-07-06 16:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379006 -3.432481)'), GeomFromEWKT('SRID=4674;POINT (-38.379059 -3.432587)'))) / (select extract(epoch from '2026-07-06 16:10:08'::timestamp) - extract(epoch from '2026-07-06 16:10: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'), 47390, 'SRID=4674;POINT (-38.379121 -3.432723)', '2026-07-06 16:10:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379059 -3.432587)'), GeomFromEWKT('SRID=4674;POINT (-38.379121 -3.432723)'))) / (select extract(epoch from '2026-07-06 16:10:16'::timestamp) - extract(epoch from '2026-07-06 16:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379059 -3.432587)'), GeomFromEWKT('SRID=4674;POINT (-38.379121 -3.432723)'))) / (select extract(epoch from '2026-07-06 16:10:16'::timestamp) - extract(epoch from '2026-07-06 16:10: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'), 47390, 'SRID=4674;POINT (-38.37917 -3.432834)', '2026-07-06 16:10:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379121 -3.432723)'), GeomFromEWKT('SRID=4674;POINT (-38.37917 -3.432834)'))) / (select extract(epoch from '2026-07-06 16:10:22'::timestamp) - extract(epoch from '2026-07-06 16:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379121 -3.432723)'), GeomFromEWKT('SRID=4674;POINT (-38.37917 -3.432834)'))) / (select extract(epoch from '2026-07-06 16:10:22'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.37921 -3.432918)', '2026-07-06 16:10:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37917 -3.432834)'), GeomFromEWKT('SRID=4674;POINT (-38.37921 -3.432918)'))) / (select extract(epoch from '2026-07-06 16:10:27'::timestamp) - extract(epoch from '2026-07-06 16:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37917 -3.432834)'), GeomFromEWKT('SRID=4674;POINT (-38.37921 -3.432918)'))) / (select extract(epoch from '2026-07-06 16:10:27'::timestamp) - extract(epoch from '2026-07-06 16:10: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'), 47390, 'SRID=4674;POINT (-38.379219 -3.432933)', '2026-07-06 16:10:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37921 -3.432918)'), GeomFromEWKT('SRID=4674;POINT (-38.379219 -3.432933)'))) / (select extract(epoch from '2026-07-06 16:10:28'::timestamp) - extract(epoch from '2026-07-06 16:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37921 -3.432918)'), GeomFromEWKT('SRID=4674;POINT (-38.379219 -3.432933)'))) / (select extract(epoch from '2026-07-06 16:10:28'::timestamp) - extract(epoch from '2026-07-06 16:10: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'), 47390, 'SRID=4674;POINT (-38.379245 -3.432986)', '2026-07-06 16:10:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379219 -3.432933)'), GeomFromEWKT('SRID=4674;POINT (-38.379245 -3.432986)'))) / (select extract(epoch from '2026-07-06 16:10:31'::timestamp) - extract(epoch from '2026-07-06 16:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379219 -3.432933)'), GeomFromEWKT('SRID=4674;POINT (-38.379245 -3.432986)'))) / (select extract(epoch from '2026-07-06 16:10:31'::timestamp) - extract(epoch from '2026-07-06 16:10: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'), 47390, 'SRID=4674;POINT (-38.379307 -3.43307)', '2026-07-06 16:10:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379245 -3.432986)'), GeomFromEWKT('SRID=4674;POINT (-38.379307 -3.43307)'))) / (select extract(epoch from '2026-07-06 16:10:36'::timestamp) - extract(epoch from '2026-07-06 16:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379245 -3.432986)'), GeomFromEWKT('SRID=4674;POINT (-38.379307 -3.43307)'))) / (select extract(epoch from '2026-07-06 16:10:36'::timestamp) - extract(epoch from '2026-07-06 16:10: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'), 47390, 'SRID=4674;POINT (-38.379369 -3.433165)', '2026-07-06 16:10:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379307 -3.43307)'), GeomFromEWKT('SRID=4674;POINT (-38.379369 -3.433165)'))) / (select extract(epoch from '2026-07-06 16:10:42'::timestamp) - extract(epoch from '2026-07-06 16:10:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379307 -3.43307)'), GeomFromEWKT('SRID=4674;POINT (-38.379369 -3.433165)'))) / (select extract(epoch from '2026-07-06 16:10:42'::timestamp) - extract(epoch from '2026-07-06 16:10:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.37944 -3.433276)', '2026-07-06 16:10:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379369 -3.433165)'), GeomFromEWKT('SRID=4674;POINT (-38.37944 -3.433276)'))) / (select extract(epoch from '2026-07-06 16:10:49'::timestamp) - extract(epoch from '2026-07-06 16:10:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379369 -3.433165)'), GeomFromEWKT('SRID=4674;POINT (-38.37944 -3.433276)'))) / (select extract(epoch from '2026-07-06 16:10:49'::timestamp) - extract(epoch from '2026-07-06 16:10: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'), 47390, 'SRID=4674;POINT (-38.379483 -3.43338)', '2026-07-06 16:10:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37944 -3.433276)'), GeomFromEWKT('SRID=4674;POINT (-38.379483 -3.43338)'))) / (select extract(epoch from '2026-07-06 16:10:55'::timestamp) - extract(epoch from '2026-07-06 16:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37944 -3.433276)'), GeomFromEWKT('SRID=4674;POINT (-38.379483 -3.43338)'))) / (select extract(epoch from '2026-07-06 16:10:55'::timestamp) - extract(epoch from '2026-07-06 16:10: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'), 47390, 'SRID=4674;POINT (-38.379536 -3.433496)', '2026-07-06 16:11:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379483 -3.43338)'), GeomFromEWKT('SRID=4674;POINT (-38.379536 -3.433496)'))) / (select extract(epoch from '2026-07-06 16:11:02'::timestamp) - extract(epoch from '2026-07-06 16:10:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379483 -3.43338)'), GeomFromEWKT('SRID=4674;POINT (-38.379536 -3.433496)'))) / (select extract(epoch from '2026-07-06 16:11:02'::timestamp) - extract(epoch from '2026-07-06 16:10:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.379601 -3.433606)', '2026-07-06 16:11:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379536 -3.433496)'), GeomFromEWKT('SRID=4674;POINT (-38.379601 -3.433606)'))) / (select extract(epoch from '2026-07-06 16:11:09'::timestamp) - extract(epoch from '2026-07-06 16:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379536 -3.433496)'), GeomFromEWKT('SRID=4674;POINT (-38.379601 -3.433606)'))) / (select extract(epoch from '2026-07-06 16:11:09'::timestamp) - extract(epoch from '2026-07-06 16:11: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'), 47390, 'SRID=4674;POINT (-38.37965 -3.433687)', '2026-07-06 16:11:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379601 -3.433606)'), GeomFromEWKT('SRID=4674;POINT (-38.37965 -3.433687)'))) / (select extract(epoch from '2026-07-06 16:11:14'::timestamp) - extract(epoch from '2026-07-06 16:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379601 -3.433606)'), GeomFromEWKT('SRID=4674;POINT (-38.37965 -3.433687)'))) / (select extract(epoch from '2026-07-06 16:11:14'::timestamp) - extract(epoch from '2026-07-06 16:11: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'), 47390, 'SRID=4674;POINT (-38.37972 -3.433783)', '2026-07-06 16:11:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37965 -3.433687)'), GeomFromEWKT('SRID=4674;POINT (-38.37972 -3.433783)'))) / (select extract(epoch from '2026-07-06 16:11:20'::timestamp) - extract(epoch from '2026-07-06 16:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37965 -3.433687)'), GeomFromEWKT('SRID=4674;POINT (-38.37972 -3.433783)'))) / (select extract(epoch from '2026-07-06 16:11:20'::timestamp) - extract(epoch from '2026-07-06 16:11: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'), 47390, 'SRID=4674;POINT (-38.379782 -3.433877)', '2026-07-06 16:11:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37972 -3.433783)'), GeomFromEWKT('SRID=4674;POINT (-38.379782 -3.433877)'))) / (select extract(epoch from '2026-07-06 16:11:26'::timestamp) - extract(epoch from '2026-07-06 16:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37972 -3.433783)'), GeomFromEWKT('SRID=4674;POINT (-38.379782 -3.433877)'))) / (select extract(epoch from '2026-07-06 16:11:26'::timestamp) - extract(epoch from '2026-07-06 16:11: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'), 47390, 'SRID=4674;POINT (-38.379825 -3.433959)', '2026-07-06 16:11:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379782 -3.433877)'), GeomFromEWKT('SRID=4674;POINT (-38.379825 -3.433959)'))) / (select extract(epoch from '2026-07-06 16:11:31'::timestamp) - extract(epoch from '2026-07-06 16:11:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379782 -3.433877)'), GeomFromEWKT('SRID=4674;POINT (-38.379825 -3.433959)'))) / (select extract(epoch from '2026-07-06 16:11:31'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.379831 -3.433977)', '2026-07-06 16:11:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379825 -3.433959)'), GeomFromEWKT('SRID=4674;POINT (-38.379831 -3.433977)'))) / (select extract(epoch from '2026-07-06 16:11:32'::timestamp) - extract(epoch from '2026-07-06 16:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379825 -3.433959)'), GeomFromEWKT('SRID=4674;POINT (-38.379831 -3.433977)'))) / (select extract(epoch from '2026-07-06 16:11:32'::timestamp) - extract(epoch from '2026-07-06 16:11: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'), 47390, 'SRID=4674;POINT (-38.379851 -3.434011)', '2026-07-06 16:11:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379831 -3.433977)'), GeomFromEWKT('SRID=4674;POINT (-38.379851 -3.434011)'))) / (select extract(epoch from '2026-07-06 16:11:34'::timestamp) - extract(epoch from '2026-07-06 16:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379831 -3.433977)'), GeomFromEWKT('SRID=4674;POINT (-38.379851 -3.434011)'))) / (select extract(epoch from '2026-07-06 16:11:34'::timestamp) - extract(epoch from '2026-07-06 16:11: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'), 47390, 'SRID=4674;POINT (-38.379875 -3.43404)', '2026-07-06 16:11:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379851 -3.434011)'), GeomFromEWKT('SRID=4674;POINT (-38.379875 -3.43404)'))) / (select extract(epoch from '2026-07-06 16:11:36'::timestamp) - extract(epoch from '2026-07-06 16:11:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379851 -3.434011)'), GeomFromEWKT('SRID=4674;POINT (-38.379875 -3.43404)'))) / (select extract(epoch from '2026-07-06 16:11:36'::timestamp) - extract(epoch from '2026-07-06 16:11: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'), 47390, 'SRID=4674;POINT (-38.379938 -3.434122)', '2026-07-06 16:11:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379875 -3.43404)'), GeomFromEWKT('SRID=4674;POINT (-38.379938 -3.434122)'))) / (select extract(epoch from '2026-07-06 16:11:42'::timestamp) - extract(epoch from '2026-07-06 16:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379875 -3.43404)'), GeomFromEWKT('SRID=4674;POINT (-38.379938 -3.434122)'))) / (select extract(epoch from '2026-07-06 16:11:42'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.37999 -3.434212)', '2026-07-06 16:11:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379938 -3.434122)'), GeomFromEWKT('SRID=4674;POINT (-38.37999 -3.434212)'))) / (select extract(epoch from '2026-07-06 16:11:48'::timestamp) - extract(epoch from '2026-07-06 16:11:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379938 -3.434122)'), GeomFromEWKT('SRID=4674;POINT (-38.37999 -3.434212)'))) / (select extract(epoch from '2026-07-06 16:11:48'::timestamp) - extract(epoch from '2026-07-06 16:11: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'), 47390, 'SRID=4674;POINT (-38.380051 -3.434319)', '2026-07-06 16:11:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37999 -3.434212)'), GeomFromEWKT('SRID=4674;POINT (-38.380051 -3.434319)'))) / (select extract(epoch from '2026-07-06 16:11:55'::timestamp) - extract(epoch from '2026-07-06 16:11:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37999 -3.434212)'), GeomFromEWKT('SRID=4674;POINT (-38.380051 -3.434319)'))) / (select extract(epoch from '2026-07-06 16:11:55'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.380105 -3.434404)', '2026-07-06 16:12:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380051 -3.434319)'), GeomFromEWKT('SRID=4674;POINT (-38.380105 -3.434404)'))) / (select extract(epoch from '2026-07-06 16:12:01'::timestamp) - extract(epoch from '2026-07-06 16:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380051 -3.434319)'), GeomFromEWKT('SRID=4674;POINT (-38.380105 -3.434404)'))) / (select extract(epoch from '2026-07-06 16:12:01'::timestamp) - extract(epoch from '2026-07-06 16:11: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'), 47390, 'SRID=4674;POINT (-38.380194 -3.434529)', '2026-07-06 16:12:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380105 -3.434404)'), GeomFromEWKT('SRID=4674;POINT (-38.380194 -3.434529)'))) / (select extract(epoch from '2026-07-06 16:12:09'::timestamp) - extract(epoch from '2026-07-06 16:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380105 -3.434404)'), GeomFromEWKT('SRID=4674;POINT (-38.380194 -3.434529)'))) / (select extract(epoch from '2026-07-06 16:12:09'::timestamp) - extract(epoch from '2026-07-06 16:12: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'), 47390, 'SRID=4674;POINT (-38.380243 -3.434616)', '2026-07-06 16:12:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380194 -3.434529)'), GeomFromEWKT('SRID=4674;POINT (-38.380243 -3.434616)'))) / (select extract(epoch from '2026-07-06 16:12:15'::timestamp) - extract(epoch from '2026-07-06 16:12:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380194 -3.434529)'), GeomFromEWKT('SRID=4674;POINT (-38.380243 -3.434616)'))) / (select extract(epoch from '2026-07-06 16:12:15'::timestamp) - extract(epoch from '2026-07-06 16:12: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'), 47390, 'SRID=4674;POINT (-38.380321 -3.434751)', '2026-07-06 16:12:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380243 -3.434616)'), GeomFromEWKT('SRID=4674;POINT (-38.380321 -3.434751)'))) / (select extract(epoch from '2026-07-06 16:12:24'::timestamp) - extract(epoch from '2026-07-06 16:12:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380243 -3.434616)'), GeomFromEWKT('SRID=4674;POINT (-38.380321 -3.434751)'))) / (select extract(epoch from '2026-07-06 16:12:24'::timestamp) - extract(epoch from '2026-07-06 16:12:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.38039 -3.434856)', '2026-07-06 16:12:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380321 -3.434751)'), GeomFromEWKT('SRID=4674;POINT (-38.38039 -3.434856)'))) / (select extract(epoch from '2026-07-06 16:12:31'::timestamp) - extract(epoch from '2026-07-06 16:12:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380321 -3.434751)'), GeomFromEWKT('SRID=4674;POINT (-38.38039 -3.434856)'))) / (select extract(epoch from '2026-07-06 16:12:31'::timestamp) - extract(epoch from '2026-07-06 16:12: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'), 47390, 'SRID=4674;POINT (-38.3804 -3.434883)', '2026-07-06 16:12:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38039 -3.434856)'), GeomFromEWKT('SRID=4674;POINT (-38.3804 -3.434883)'))) / (select extract(epoch from '2026-07-06 16:12:33'::timestamp) - extract(epoch from '2026-07-06 16:12:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38039 -3.434856)'), GeomFromEWKT('SRID=4674;POINT (-38.3804 -3.434883)'))) / (select extract(epoch from '2026-07-06 16:12:33'::timestamp) - extract(epoch from '2026-07-06 16:12: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'), 47390, 'SRID=4674;POINT (-38.380438 -3.434946)', '2026-07-06 16:12:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3804 -3.434883)'), GeomFromEWKT('SRID=4674;POINT (-38.380438 -3.434946)'))) / (select extract(epoch from '2026-07-06 16:12:37'::timestamp) - extract(epoch from '2026-07-06 16:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3804 -3.434883)'), GeomFromEWKT('SRID=4674;POINT (-38.380438 -3.434946)'))) / (select extract(epoch from '2026-07-06 16:12:37'::timestamp) - extract(epoch from '2026-07-06 16:12: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'), 47390, 'SRID=4674;POINT (-38.380487 -3.435042)', '2026-07-06 16:12:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380438 -3.434946)'), GeomFromEWKT('SRID=4674;POINT (-38.380487 -3.435042)'))) / (select extract(epoch from '2026-07-06 16:12:43'::timestamp) - extract(epoch from '2026-07-06 16:12:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380438 -3.434946)'), GeomFromEWKT('SRID=4674;POINT (-38.380487 -3.435042)'))) / (select extract(epoch from '2026-07-06 16:12:43'::timestamp) - extract(epoch from '2026-07-06 16:12: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'), 47390, 'SRID=4674;POINT (-38.38057 -3.435147)', '2026-07-06 16:12:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380487 -3.435042)'), GeomFromEWKT('SRID=4674;POINT (-38.38057 -3.435147)'))) / (select extract(epoch from '2026-07-06 16:12:50'::timestamp) - extract(epoch from '2026-07-06 16:12:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380487 -3.435042)'), GeomFromEWKT('SRID=4674;POINT (-38.38057 -3.435147)'))) / (select extract(epoch from '2026-07-06 16:12:50'::timestamp) - extract(epoch from '2026-07-06 16:12: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'), 47390, 'SRID=4674;POINT (-38.380632 -3.435254)', '2026-07-06 16:12:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38057 -3.435147)'), GeomFromEWKT('SRID=4674;POINT (-38.380632 -3.435254)'))) / (select extract(epoch from '2026-07-06 16:12:57'::timestamp) - extract(epoch from '2026-07-06 16:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38057 -3.435147)'), GeomFromEWKT('SRID=4674;POINT (-38.380632 -3.435254)'))) / (select extract(epoch from '2026-07-06 16:12:57'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.380692 -3.435394)', '2026-07-06 16:13:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380632 -3.435254)'), GeomFromEWKT('SRID=4674;POINT (-38.380692 -3.435394)'))) / (select extract(epoch from '2026-07-06 16:13:05'::timestamp) - extract(epoch from '2026-07-06 16:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380632 -3.435254)'), GeomFromEWKT('SRID=4674;POINT (-38.380692 -3.435394)'))) / (select extract(epoch from '2026-07-06 16:13:05'::timestamp) - extract(epoch from '2026-07-06 16:12: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'), 47390, 'SRID=4674;POINT (-38.380759 -3.435515)', '2026-07-06 16:13:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380692 -3.435394)'), GeomFromEWKT('SRID=4674;POINT (-38.380759 -3.435515)'))) / (select extract(epoch from '2026-07-06 16:13:12'::timestamp) - extract(epoch from '2026-07-06 16:13:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380692 -3.435394)'), GeomFromEWKT('SRID=4674;POINT (-38.380759 -3.435515)'))) / (select extract(epoch from '2026-07-06 16:13:12'::timestamp) - extract(epoch from '2026-07-06 16:13: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'), 47390, 'SRID=4674;POINT (-38.380815 -3.435608)', '2026-07-06 16:13:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380759 -3.435515)'), GeomFromEWKT('SRID=4674;POINT (-38.380815 -3.435608)'))) / (select extract(epoch from '2026-07-06 16:13:17'::timestamp) - extract(epoch from '2026-07-06 16:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380759 -3.435515)'), GeomFromEWKT('SRID=4674;POINT (-38.380815 -3.435608)'))) / (select extract(epoch from '2026-07-06 16:13:17'::timestamp) - extract(epoch from '2026-07-06 16:13: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'), 47390, 'SRID=4674;POINT (-38.38086 -3.435688)', '2026-07-06 16:13:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380815 -3.435608)'), GeomFromEWKT('SRID=4674;POINT (-38.38086 -3.435688)'))) / (select extract(epoch from '2026-07-06 16:13:22'::timestamp) - extract(epoch from '2026-07-06 16:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380815 -3.435608)'), GeomFromEWKT('SRID=4674;POINT (-38.38086 -3.435688)'))) / (select extract(epoch from '2026-07-06 16:13:22'::timestamp) - extract(epoch from '2026-07-06 16:13: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'), 47390, 'SRID=4674;POINT (-38.380918 -3.435793)', '2026-07-06 16:13:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38086 -3.435688)'), GeomFromEWKT('SRID=4674;POINT (-38.380918 -3.435793)'))) / (select extract(epoch from '2026-07-06 16:13:28'::timestamp) - extract(epoch from '2026-07-06 16:13:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38086 -3.435688)'), GeomFromEWKT('SRID=4674;POINT (-38.380918 -3.435793)'))) / (select extract(epoch from '2026-07-06 16:13:28'::timestamp) - extract(epoch from '2026-07-06 16:13: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'), 47390, 'SRID=4674;POINT (-38.380976 -3.435881)', '2026-07-06 16:13:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380918 -3.435793)'), GeomFromEWKT('SRID=4674;POINT (-38.380976 -3.435881)'))) / (select extract(epoch from '2026-07-06 16:13:34'::timestamp) - extract(epoch from '2026-07-06 16:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380918 -3.435793)'), GeomFromEWKT('SRID=4674;POINT (-38.380976 -3.435881)'))) / (select extract(epoch from '2026-07-06 16:13:34'::timestamp) - extract(epoch from '2026-07-06 16:13: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'), 47390, 'SRID=4674;POINT (-38.381039 -3.436013)', '2026-07-06 16:13:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380976 -3.435881)'), GeomFromEWKT('SRID=4674;POINT (-38.381039 -3.436013)'))) / (select extract(epoch from '2026-07-06 16:13:42'::timestamp) - extract(epoch from '2026-07-06 16:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380976 -3.435881)'), GeomFromEWKT('SRID=4674;POINT (-38.381039 -3.436013)'))) / (select extract(epoch from '2026-07-06 16:13:42'::timestamp) - extract(epoch from '2026-07-06 16:13: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'), 47390, 'SRID=4674;POINT (-38.381076 -3.436133)', '2026-07-06 16:13:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381039 -3.436013)'), GeomFromEWKT('SRID=4674;POINT (-38.381076 -3.436133)'))) / (select extract(epoch from '2026-07-06 16:13:49'::timestamp) - extract(epoch from '2026-07-06 16:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381039 -3.436013)'), GeomFromEWKT('SRID=4674;POINT (-38.381076 -3.436133)'))) / (select extract(epoch from '2026-07-06 16:13:49'::timestamp) - extract(epoch from '2026-07-06 16:13: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'), 47390, 'SRID=4674;POINT (-38.381107 -3.436214)', '2026-07-06 16:13:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381076 -3.436133)'), GeomFromEWKT('SRID=4674;POINT (-38.381107 -3.436214)'))) / (select extract(epoch from '2026-07-06 16:13:54'::timestamp) - extract(epoch from '2026-07-06 16:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381076 -3.436133)'), GeomFromEWKT('SRID=4674;POINT (-38.381107 -3.436214)'))) / (select extract(epoch from '2026-07-06 16:13:54'::timestamp) - extract(epoch from '2026-07-06 16:13:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.38115 -3.436336)', '2026-07-06 16:14:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381107 -3.436214)'), GeomFromEWKT('SRID=4674;POINT (-38.38115 -3.436336)'))) / (select extract(epoch from '2026-07-06 16:14:01'::timestamp) - extract(epoch from '2026-07-06 16:13:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381107 -3.436214)'), GeomFromEWKT('SRID=4674;POINT (-38.38115 -3.436336)'))) / (select extract(epoch from '2026-07-06 16:14:01'::timestamp) - extract(epoch from '2026-07-06 16:13: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'), 47390, 'SRID=4674;POINT (-38.381178 -3.43649)', '2026-07-06 16:14:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38115 -3.436336)'), GeomFromEWKT('SRID=4674;POINT (-38.381178 -3.43649)'))) / (select extract(epoch from '2026-07-06 16:14:10'::timestamp) - extract(epoch from '2026-07-06 16:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38115 -3.436336)'), GeomFromEWKT('SRID=4674;POINT (-38.381178 -3.43649)'))) / (select extract(epoch from '2026-07-06 16:14:10'::timestamp) - extract(epoch from '2026-07-06 16:14: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'), 47390, 'SRID=4674;POINT (-38.381226 -3.436617)', '2026-07-06 16:14:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381178 -3.43649)'), GeomFromEWKT('SRID=4674;POINT (-38.381226 -3.436617)'))) / (select extract(epoch from '2026-07-06 16:14:18'::timestamp) - extract(epoch from '2026-07-06 16:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381178 -3.43649)'), GeomFromEWKT('SRID=4674;POINT (-38.381226 -3.436617)'))) / (select extract(epoch from '2026-07-06 16:14:18'::timestamp) - extract(epoch from '2026-07-06 16:14: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'), 47390, 'SRID=4674;POINT (-38.381272 -3.436719)', '2026-07-06 16:14:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381226 -3.436617)'), GeomFromEWKT('SRID=4674;POINT (-38.381272 -3.436719)'))) / (select extract(epoch from '2026-07-06 16:14:24'::timestamp) - extract(epoch from '2026-07-06 16:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381226 -3.436617)'), GeomFromEWKT('SRID=4674;POINT (-38.381272 -3.436719)'))) / (select extract(epoch from '2026-07-06 16:14:24'::timestamp) - extract(epoch from '2026-07-06 16:14: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'), 47390, 'SRID=4674;POINT (-38.381313 -3.436808)', '2026-07-06 16:14:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381272 -3.436719)'), GeomFromEWKT('SRID=4674;POINT (-38.381313 -3.436808)'))) / (select extract(epoch from '2026-07-06 16:14:29'::timestamp) - extract(epoch from '2026-07-06 16:14:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381272 -3.436719)'), GeomFromEWKT('SRID=4674;POINT (-38.381313 -3.436808)'))) / (select extract(epoch from '2026-07-06 16:14:29'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.381376 -3.436914)', '2026-07-06 16:14:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381313 -3.436808)'), GeomFromEWKT('SRID=4674;POINT (-38.381376 -3.436914)'))) / (select extract(epoch from '2026-07-06 16:14:36'::timestamp) - extract(epoch from '2026-07-06 16:14:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381313 -3.436808)'), GeomFromEWKT('SRID=4674;POINT (-38.381376 -3.436914)'))) / (select extract(epoch from '2026-07-06 16:14:36'::timestamp) - extract(epoch from '2026-07-06 16:14: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'), 47390, 'SRID=4674;POINT (-38.381424 -3.437008)', '2026-07-06 16:14:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381376 -3.436914)'), GeomFromEWKT('SRID=4674;POINT (-38.381424 -3.437008)'))) / (select extract(epoch from '2026-07-06 16:14:42'::timestamp) - extract(epoch from '2026-07-06 16:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381376 -3.436914)'), GeomFromEWKT('SRID=4674;POINT (-38.381424 -3.437008)'))) / (select extract(epoch from '2026-07-06 16:14:42'::timestamp) - extract(epoch from '2026-07-06 16:14: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'), 47390, 'SRID=4674;POINT (-38.381478 -3.437096)', '2026-07-06 16:14:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381424 -3.437008)'), GeomFromEWKT('SRID=4674;POINT (-38.381478 -3.437096)'))) / (select extract(epoch from '2026-07-06 16:14:48'::timestamp) - extract(epoch from '2026-07-06 16:14:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381424 -3.437008)'), GeomFromEWKT('SRID=4674;POINT (-38.381478 -3.437096)'))) / (select extract(epoch from '2026-07-06 16:14:48'::timestamp) - extract(epoch from '2026-07-06 16:14: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'), 47390, 'SRID=4674;POINT (-38.381523 -3.437181)', '2026-07-06 16:14:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381478 -3.437096)'), GeomFromEWKT('SRID=4674;POINT (-38.381523 -3.437181)'))) / (select extract(epoch from '2026-07-06 16:14:54'::timestamp) - extract(epoch from '2026-07-06 16:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381478 -3.437096)'), GeomFromEWKT('SRID=4674;POINT (-38.381523 -3.437181)'))) / (select extract(epoch from '2026-07-06 16:14:54'::timestamp) - extract(epoch from '2026-07-06 16:14: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'), 47390, 'SRID=4674;POINT (-38.381581 -3.437279)', '2026-07-06 16:15:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381523 -3.437181)'), GeomFromEWKT('SRID=4674;POINT (-38.381581 -3.437279)'))) / (select extract(epoch from '2026-07-06 16:15:01'::timestamp) - extract(epoch from '2026-07-06 16:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381523 -3.437181)'), GeomFromEWKT('SRID=4674;POINT (-38.381581 -3.437279)'))) / (select extract(epoch from '2026-07-06 16:15:01'::timestamp) - extract(epoch from '2026-07-06 16:14: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'), 47390, 'SRID=4674;POINT (-38.381642 -3.437386)', '2026-07-06 16:15:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381581 -3.437279)'), GeomFromEWKT('SRID=4674;POINT (-38.381642 -3.437386)'))) / (select extract(epoch from '2026-07-06 16:15:08'::timestamp) - extract(epoch from '2026-07-06 16:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381581 -3.437279)'), GeomFromEWKT('SRID=4674;POINT (-38.381642 -3.437386)'))) / (select extract(epoch from '2026-07-06 16:15:08'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.381724 -3.437539)', '2026-07-06 16:15:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381642 -3.437386)'), GeomFromEWKT('SRID=4674;POINT (-38.381724 -3.437539)'))) / (select extract(epoch from '2026-07-06 16:15:17'::timestamp) - extract(epoch from '2026-07-06 16:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381642 -3.437386)'), GeomFromEWKT('SRID=4674;POINT (-38.381724 -3.437539)'))) / (select extract(epoch from '2026-07-06 16:15:17'::timestamp) - extract(epoch from '2026-07-06 16:15: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'), 47390, 'SRID=4674;POINT (-38.381778 -3.437634)', '2026-07-06 16:15:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381724 -3.437539)'), GeomFromEWKT('SRID=4674;POINT (-38.381778 -3.437634)'))) / (select extract(epoch from '2026-07-06 16:15:23'::timestamp) - extract(epoch from '2026-07-06 16:15:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381724 -3.437539)'), GeomFromEWKT('SRID=4674;POINT (-38.381778 -3.437634)'))) / (select extract(epoch from '2026-07-06 16:15:23'::timestamp) - extract(epoch from '2026-07-06 16:15: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'), 47390, 'SRID=4674;POINT (-38.38183 -3.437742)', '2026-07-06 16:15:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381778 -3.437634)'), GeomFromEWKT('SRID=4674;POINT (-38.38183 -3.437742)'))) / (select extract(epoch from '2026-07-06 16:15:29'::timestamp) - extract(epoch from '2026-07-06 16:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381778 -3.437634)'), GeomFromEWKT('SRID=4674;POINT (-38.38183 -3.437742)'))) / (select extract(epoch from '2026-07-06 16:15:29'::timestamp) - extract(epoch from '2026-07-06 16:15: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'), 47390, 'SRID=4674;POINT (-38.381878 -3.437828)', '2026-07-06 16:15:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38183 -3.437742)'), GeomFromEWKT('SRID=4674;POINT (-38.381878 -3.437828)'))) / (select extract(epoch from '2026-07-06 16:15:34'::timestamp) - extract(epoch from '2026-07-06 16:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38183 -3.437742)'), GeomFromEWKT('SRID=4674;POINT (-38.381878 -3.437828)'))) / (select extract(epoch from '2026-07-06 16:15:34'::timestamp) - extract(epoch from '2026-07-06 16:15: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'), 47390, 'SRID=4674;POINT (-38.381931 -3.43794)', '2026-07-06 16:15:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381878 -3.437828)'), GeomFromEWKT('SRID=4674;POINT (-38.381931 -3.43794)'))) / (select extract(epoch from '2026-07-06 16:15:40'::timestamp) - extract(epoch from '2026-07-06 16:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381878 -3.437828)'), GeomFromEWKT('SRID=4674;POINT (-38.381931 -3.43794)'))) / (select extract(epoch from '2026-07-06 16:15:40'::timestamp) - extract(epoch from '2026-07-06 16:15: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'), 47390, 'SRID=4674;POINT (-38.381986 -3.438048)', '2026-07-06 16:15:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381931 -3.43794)'), GeomFromEWKT('SRID=4674;POINT (-38.381986 -3.438048)'))) / (select extract(epoch from '2026-07-06 16:15:46'::timestamp) - extract(epoch from '2026-07-06 16:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381931 -3.43794)'), GeomFromEWKT('SRID=4674;POINT (-38.381986 -3.438048)'))) / (select extract(epoch from '2026-07-06 16:15:46'::timestamp) - extract(epoch from '2026-07-06 16:15: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'), 47390, 'SRID=4674;POINT (-38.38203 -3.43814)', '2026-07-06 16:15:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381986 -3.438048)'), GeomFromEWKT('SRID=4674;POINT (-38.38203 -3.43814)'))) / (select extract(epoch from '2026-07-06 16:15:51'::timestamp) - extract(epoch from '2026-07-06 16:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381986 -3.438048)'), GeomFromEWKT('SRID=4674;POINT (-38.38203 -3.43814)'))) / (select extract(epoch from '2026-07-06 16:15:51'::timestamp) - extract(epoch from '2026-07-06 16:15: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'), 47390, 'SRID=4674;POINT (-38.382093 -3.438244)', '2026-07-06 16:15:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38203 -3.43814)'), GeomFromEWKT('SRID=4674;POINT (-38.382093 -3.438244)'))) / (select extract(epoch from '2026-07-06 16:15:57'::timestamp) - extract(epoch from '2026-07-06 16:15:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38203 -3.43814)'), GeomFromEWKT('SRID=4674;POINT (-38.382093 -3.438244)'))) / (select extract(epoch from '2026-07-06 16:15:57'::timestamp) - extract(epoch from '2026-07-06 16:15:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.382139 -3.438333)', '2026-07-06 16:16:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382093 -3.438244)'), GeomFromEWKT('SRID=4674;POINT (-38.382139 -3.438333)'))) / (select extract(epoch from '2026-07-06 16:16:02'::timestamp) - extract(epoch from '2026-07-06 16:15:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382093 -3.438244)'), GeomFromEWKT('SRID=4674;POINT (-38.382139 -3.438333)'))) / (select extract(epoch from '2026-07-06 16:16:02'::timestamp) - extract(epoch from '2026-07-06 16:15:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.3822 -3.438429)', '2026-07-06 16:16:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382139 -3.438333)'), GeomFromEWKT('SRID=4674;POINT (-38.3822 -3.438429)'))) / (select extract(epoch from '2026-07-06 16:16:08'::timestamp) - extract(epoch from '2026-07-06 16:16:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382139 -3.438333)'), GeomFromEWKT('SRID=4674;POINT (-38.3822 -3.438429)'))) / (select extract(epoch from '2026-07-06 16:16:08'::timestamp) - extract(epoch from '2026-07-06 16:16: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'), 47390, 'SRID=4674;POINT (-38.382268 -3.438549)', '2026-07-06 16:16:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3822 -3.438429)'), GeomFromEWKT('SRID=4674;POINT (-38.382268 -3.438549)'))) / (select extract(epoch from '2026-07-06 16:16:15'::timestamp) - extract(epoch from '2026-07-06 16:16:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3822 -3.438429)'), GeomFromEWKT('SRID=4674;POINT (-38.382268 -3.438549)'))) / (select extract(epoch from '2026-07-06 16:16:15'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.382329 -3.438667)', '2026-07-06 16:16:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382268 -3.438549)'), GeomFromEWKT('SRID=4674;POINT (-38.382329 -3.438667)'))) / (select extract(epoch from '2026-07-06 16:16:23'::timestamp) - extract(epoch from '2026-07-06 16:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382268 -3.438549)'), GeomFromEWKT('SRID=4674;POINT (-38.382329 -3.438667)'))) / (select extract(epoch from '2026-07-06 16:16:23'::timestamp) - extract(epoch from '2026-07-06 16:16: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'), 47390, 'SRID=4674;POINT (-38.382363 -3.438788)', '2026-07-06 16:16:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382329 -3.438667)'), GeomFromEWKT('SRID=4674;POINT (-38.382363 -3.438788)'))) / (select extract(epoch from '2026-07-06 16:16:30'::timestamp) - extract(epoch from '2026-07-06 16:16:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382329 -3.438667)'), GeomFromEWKT('SRID=4674;POINT (-38.382363 -3.438788)'))) / (select extract(epoch from '2026-07-06 16:16:30'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.382379 -3.438879)', '2026-07-06 16:16:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382363 -3.438788)'), GeomFromEWKT('SRID=4674;POINT (-38.382379 -3.438879)'))) / (select extract(epoch from '2026-07-06 16:16:36'::timestamp) - extract(epoch from '2026-07-06 16:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382363 -3.438788)'), GeomFromEWKT('SRID=4674;POINT (-38.382379 -3.438879)'))) / (select extract(epoch from '2026-07-06 16:16:36'::timestamp) - extract(epoch from '2026-07-06 16:16: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'), 47390, 'SRID=4674;POINT (-38.382384 -3.438965)', '2026-07-06 16:16:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382379 -3.438879)'), GeomFromEWKT('SRID=4674;POINT (-38.382384 -3.438965)'))) / (select extract(epoch from '2026-07-06 16:16:42'::timestamp) - extract(epoch from '2026-07-06 16:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382379 -3.438879)'), GeomFromEWKT('SRID=4674;POINT (-38.382384 -3.438965)'))) / (select extract(epoch from '2026-07-06 16:16:42'::timestamp) - extract(epoch from '2026-07-06 16:16: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'), 47390, 'SRID=4674;POINT (-38.382392 -3.439055)', '2026-07-06 16:16:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382384 -3.438965)'), GeomFromEWKT('SRID=4674;POINT (-38.382392 -3.439055)'))) / (select extract(epoch from '2026-07-06 16:16:49'::timestamp) - extract(epoch from '2026-07-06 16:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382384 -3.438965)'), GeomFromEWKT('SRID=4674;POINT (-38.382392 -3.439055)'))) / (select extract(epoch from '2026-07-06 16:16:49'::timestamp) - extract(epoch from '2026-07-06 16:16: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'), 47390, 'SRID=4674;POINT (-38.382427 -3.439176)', '2026-07-06 16:16:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382392 -3.439055)'), GeomFromEWKT('SRID=4674;POINT (-38.382427 -3.439176)'))) / (select extract(epoch from '2026-07-06 16:16:57'::timestamp) - extract(epoch from '2026-07-06 16:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382392 -3.439055)'), GeomFromEWKT('SRID=4674;POINT (-38.382427 -3.439176)'))) / (select extract(epoch from '2026-07-06 16:16:57'::timestamp) - extract(epoch from '2026-07-06 16:16: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'), 47390, 'SRID=4674;POINT (-38.382466 -3.439271)', '2026-07-06 16:17:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382427 -3.439176)'), GeomFromEWKT('SRID=4674;POINT (-38.382466 -3.439271)'))) / (select extract(epoch from '2026-07-06 16:17:03'::timestamp) - extract(epoch from '2026-07-06 16:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382427 -3.439176)'), GeomFromEWKT('SRID=4674;POINT (-38.382466 -3.439271)'))) / (select extract(epoch from '2026-07-06 16:17:03'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.3825 -3.439374)', '2026-07-06 16:17:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382466 -3.439271)'), GeomFromEWKT('SRID=4674;POINT (-38.3825 -3.439374)'))) / (select extract(epoch from '2026-07-06 16:17:09'::timestamp) - extract(epoch from '2026-07-06 16:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382466 -3.439271)'), GeomFromEWKT('SRID=4674;POINT (-38.3825 -3.439374)'))) / (select extract(epoch from '2026-07-06 16:17:09'::timestamp) - extract(epoch from '2026-07-06 16:17: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'), 47390, 'SRID=4674;POINT (-38.382551 -3.439468)', '2026-07-06 16:17:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3825 -3.439374)'), GeomFromEWKT('SRID=4674;POINT (-38.382551 -3.439468)'))) / (select extract(epoch from '2026-07-06 16:17:15'::timestamp) - extract(epoch from '2026-07-06 16:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3825 -3.439374)'), GeomFromEWKT('SRID=4674;POINT (-38.382551 -3.439468)'))) / (select extract(epoch from '2026-07-06 16:17:15'::timestamp) - extract(epoch from '2026-07-06 16:17:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.382588 -3.439548)', '2026-07-06 16:17:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382551 -3.439468)'), GeomFromEWKT('SRID=4674;POINT (-38.382588 -3.439548)'))) / (select extract(epoch from '2026-07-06 16:17:20'::timestamp) - extract(epoch from '2026-07-06 16:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382551 -3.439468)'), GeomFromEWKT('SRID=4674;POINT (-38.382588 -3.439548)'))) / (select extract(epoch from '2026-07-06 16:17:20'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.382636 -3.439633)', '2026-07-06 16:17:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382588 -3.439548)'), GeomFromEWKT('SRID=4674;POINT (-38.382636 -3.439633)'))) / (select extract(epoch from '2026-07-06 16:17:26'::timestamp) - extract(epoch from '2026-07-06 16:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382588 -3.439548)'), GeomFromEWKT('SRID=4674;POINT (-38.382636 -3.439633)'))) / (select extract(epoch from '2026-07-06 16:17:26'::timestamp) - extract(epoch from '2026-07-06 16:17: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'), 47390, 'SRID=4674;POINT (-38.382692 -3.439735)', '2026-07-06 16:17:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382636 -3.439633)'), GeomFromEWKT('SRID=4674;POINT (-38.382692 -3.439735)'))) / (select extract(epoch from '2026-07-06 16:17:33'::timestamp) - extract(epoch from '2026-07-06 16:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382636 -3.439633)'), GeomFromEWKT('SRID=4674;POINT (-38.382692 -3.439735)'))) / (select extract(epoch from '2026-07-06 16:17:33'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.382738 -3.43983)', '2026-07-06 16:17:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382692 -3.439735)'), GeomFromEWKT('SRID=4674;POINT (-38.382738 -3.43983)'))) / (select extract(epoch from '2026-07-06 16:17:39'::timestamp) - extract(epoch from '2026-07-06 16:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382692 -3.439735)'), GeomFromEWKT('SRID=4674;POINT (-38.382738 -3.43983)'))) / (select extract(epoch from '2026-07-06 16:17:39'::timestamp) - extract(epoch from '2026-07-06 16:17:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.382792 -3.439946)', '2026-07-06 16:17:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382738 -3.43983)'), GeomFromEWKT('SRID=4674;POINT (-38.382792 -3.439946)'))) / (select extract(epoch from '2026-07-06 16:17:46'::timestamp) - extract(epoch from '2026-07-06 16:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382738 -3.43983)'), GeomFromEWKT('SRID=4674;POINT (-38.382792 -3.439946)'))) / (select extract(epoch from '2026-07-06 16:17:46'::timestamp) - extract(epoch from '2026-07-06 16:17:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.382839 -3.440045)', '2026-07-06 16:17:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382792 -3.439946)'), GeomFromEWKT('SRID=4674;POINT (-38.382839 -3.440045)'))) / (select extract(epoch from '2026-07-06 16:17:52'::timestamp) - extract(epoch from '2026-07-06 16:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382792 -3.439946)'), GeomFromEWKT('SRID=4674;POINT (-38.382839 -3.440045)'))) / (select extract(epoch from '2026-07-06 16:17:52'::timestamp) - extract(epoch from '2026-07-06 16:17:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.382905 -3.440136)', '2026-07-06 16:17:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382839 -3.440045)'), GeomFromEWKT('SRID=4674;POINT (-38.382905 -3.440136)'))) / (select extract(epoch from '2026-07-06 16:17:58'::timestamp) - extract(epoch from '2026-07-06 16:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382839 -3.440045)'), GeomFromEWKT('SRID=4674;POINT (-38.382905 -3.440136)'))) / (select extract(epoch from '2026-07-06 16:17:58'::timestamp) - extract(epoch from '2026-07-06 16:17: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'), 47390, 'SRID=4674;POINT (-38.382949 -3.44025)', '2026-07-06 16:18:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382905 -3.440136)'), GeomFromEWKT('SRID=4674;POINT (-38.382949 -3.44025)'))) / (select extract(epoch from '2026-07-06 16:18:05'::timestamp) - extract(epoch from '2026-07-06 16:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382905 -3.440136)'), GeomFromEWKT('SRID=4674;POINT (-38.382949 -3.44025)'))) / (select extract(epoch from '2026-07-06 16:18:05'::timestamp) - extract(epoch from '2026-07-06 16:17: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'), 47390, 'SRID=4674;POINT (-38.382998 -3.440371)', '2026-07-06 16:18:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382949 -3.44025)'), GeomFromEWKT('SRID=4674;POINT (-38.382998 -3.440371)'))) / (select extract(epoch from '2026-07-06 16:18:12'::timestamp) - extract(epoch from '2026-07-06 16:18:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382949 -3.44025)'), GeomFromEWKT('SRID=4674;POINT (-38.382998 -3.440371)'))) / (select extract(epoch from '2026-07-06 16:18:12'::timestamp) - extract(epoch from '2026-07-06 16:18: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'), 47390, 'SRID=4674;POINT (-38.383032 -3.440457)', '2026-07-06 16:18:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382998 -3.440371)'), GeomFromEWKT('SRID=4674;POINT (-38.383032 -3.440457)'))) / (select extract(epoch from '2026-07-06 16:18:17'::timestamp) - extract(epoch from '2026-07-06 16:18:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382998 -3.440371)'), GeomFromEWKT('SRID=4674;POINT (-38.383032 -3.440457)'))) / (select extract(epoch from '2026-07-06 16:18:17'::timestamp) - extract(epoch from '2026-07-06 16:18: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'), 47390, 'SRID=4674;POINT (-38.383078 -3.440572)', '2026-07-06 16:18:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383032 -3.440457)'), GeomFromEWKT('SRID=4674;POINT (-38.383078 -3.440572)'))) / (select extract(epoch from '2026-07-06 16:18:24'::timestamp) - extract(epoch from '2026-07-06 16:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383032 -3.440457)'), GeomFromEWKT('SRID=4674;POINT (-38.383078 -3.440572)'))) / (select extract(epoch from '2026-07-06 16:18:24'::timestamp) - extract(epoch from '2026-07-06 16:18:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.383126 -3.440722)', '2026-07-06 16:18:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383078 -3.440572)'), GeomFromEWKT('SRID=4674;POINT (-38.383126 -3.440722)'))) / (select extract(epoch from '2026-07-06 16:18:32'::timestamp) - extract(epoch from '2026-07-06 16:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383078 -3.440572)'), GeomFromEWKT('SRID=4674;POINT (-38.383126 -3.440722)'))) / (select extract(epoch from '2026-07-06 16:18:32'::timestamp) - extract(epoch from '2026-07-06 16:18: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'), 47390, 'SRID=4674;POINT (-38.383174 -3.44087)', '2026-07-06 16:18:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383126 -3.440722)'), GeomFromEWKT('SRID=4674;POINT (-38.383174 -3.44087)'))) / (select extract(epoch from '2026-07-06 16:18:40'::timestamp) - extract(epoch from '2026-07-06 16:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383126 -3.440722)'), GeomFromEWKT('SRID=4674;POINT (-38.383174 -3.44087)'))) / (select extract(epoch from '2026-07-06 16:18:40'::timestamp) - extract(epoch from '2026-07-06 16:18: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'), 47390, 'SRID=4674;POINT (-38.383208 -3.440991)', '2026-07-06 16:18:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383174 -3.44087)'), GeomFromEWKT('SRID=4674;POINT (-38.383208 -3.440991)'))) / (select extract(epoch from '2026-07-06 16:18:47'::timestamp) - extract(epoch from '2026-07-06 16:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383174 -3.44087)'), GeomFromEWKT('SRID=4674;POINT (-38.383208 -3.440991)'))) / (select extract(epoch from '2026-07-06 16:18:47'::timestamp) - extract(epoch from '2026-07-06 16:18: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'), 47390, 'SRID=4674;POINT (-38.383245 -3.441086)', '2026-07-06 16:18:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383208 -3.440991)'), GeomFromEWKT('SRID=4674;POINT (-38.383245 -3.441086)'))) / (select extract(epoch from '2026-07-06 16:18:53'::timestamp) - extract(epoch from '2026-07-06 16:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383208 -3.440991)'), GeomFromEWKT('SRID=4674;POINT (-38.383245 -3.441086)'))) / (select extract(epoch from '2026-07-06 16:18:53'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.383253 -3.441102)', '2026-07-06 16:18:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383245 -3.441086)'), GeomFromEWKT('SRID=4674;POINT (-38.383253 -3.441102)'))) / (select extract(epoch from '2026-07-06 16:18:54'::timestamp) - extract(epoch from '2026-07-06 16:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383245 -3.441086)'), GeomFromEWKT('SRID=4674;POINT (-38.383253 -3.441102)'))) / (select extract(epoch from '2026-07-06 16:18:54'::timestamp) - extract(epoch from '2026-07-06 16:18: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'), 47390, 'SRID=4674;POINT (-38.383272 -3.441153)', '2026-07-06 16:18:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383253 -3.441102)'), GeomFromEWKT('SRID=4674;POINT (-38.383272 -3.441153)'))) / (select extract(epoch from '2026-07-06 16:18:57'::timestamp) - extract(epoch from '2026-07-06 16:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383253 -3.441102)'), GeomFromEWKT('SRID=4674;POINT (-38.383272 -3.441153)'))) / (select extract(epoch from '2026-07-06 16:18:57'::timestamp) - extract(epoch from '2026-07-06 16:18: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'), 47390, 'SRID=4674;POINT (-38.383316 -3.441257)', '2026-07-06 16:19:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383272 -3.441153)'), GeomFromEWKT('SRID=4674;POINT (-38.383316 -3.441257)'))) / (select extract(epoch from '2026-07-06 16:19:03'::timestamp) - extract(epoch from '2026-07-06 16:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383272 -3.441153)'), GeomFromEWKT('SRID=4674;POINT (-38.383316 -3.441257)'))) / (select extract(epoch from '2026-07-06 16:19:03'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.383357 -3.441383)', '2026-07-06 16:19:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383316 -3.441257)'), GeomFromEWKT('SRID=4674;POINT (-38.383357 -3.441383)'))) / (select extract(epoch from '2026-07-06 16:19:10'::timestamp) - extract(epoch from '2026-07-06 16:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383316 -3.441257)'), GeomFromEWKT('SRID=4674;POINT (-38.383357 -3.441383)'))) / (select extract(epoch from '2026-07-06 16:19:10'::timestamp) - extract(epoch from '2026-07-06 16:19: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'), 47390, 'SRID=4674;POINT (-38.38339 -3.441499)', '2026-07-06 16:19:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383357 -3.441383)'), GeomFromEWKT('SRID=4674;POINT (-38.38339 -3.441499)'))) / (select extract(epoch from '2026-07-06 16:19:16'::timestamp) - extract(epoch from '2026-07-06 16:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383357 -3.441383)'), GeomFromEWKT('SRID=4674;POINT (-38.38339 -3.441499)'))) / (select extract(epoch from '2026-07-06 16:19:16'::timestamp) - extract(epoch from '2026-07-06 16:19: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'), 47390, 'SRID=4674;POINT (-38.383446 -3.441641)', '2026-07-06 16:19:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38339 -3.441499)'), GeomFromEWKT('SRID=4674;POINT (-38.383446 -3.441641)'))) / (select extract(epoch from '2026-07-06 16:19:24'::timestamp) - extract(epoch from '2026-07-06 16:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38339 -3.441499)'), GeomFromEWKT('SRID=4674;POINT (-38.383446 -3.441641)'))) / (select extract(epoch from '2026-07-06 16:19:24'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.383498 -3.441783)', '2026-07-06 16:19:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383446 -3.441641)'), GeomFromEWKT('SRID=4674;POINT (-38.383498 -3.441783)'))) / (select extract(epoch from '2026-07-06 16:19:32'::timestamp) - extract(epoch from '2026-07-06 16:19:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383446 -3.441641)'), GeomFromEWKT('SRID=4674;POINT (-38.383498 -3.441783)'))) / (select extract(epoch from '2026-07-06 16:19:32'::timestamp) - extract(epoch from '2026-07-06 16:19: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'), 47390, 'SRID=4674;POINT (-38.383543 -3.441885)', '2026-07-06 16:19:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383498 -3.441783)'), GeomFromEWKT('SRID=4674;POINT (-38.383543 -3.441885)'))) / (select extract(epoch from '2026-07-06 16:19:38'::timestamp) - extract(epoch from '2026-07-06 16:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383498 -3.441783)'), GeomFromEWKT('SRID=4674;POINT (-38.383543 -3.441885)'))) / (select extract(epoch from '2026-07-06 16:19:38'::timestamp) - extract(epoch from '2026-07-06 16:19: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'), 47390, 'SRID=4674;POINT (-38.383604 -3.441992)', '2026-07-06 16:19:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383543 -3.441885)'), GeomFromEWKT('SRID=4674;POINT (-38.383604 -3.441992)'))) / (select extract(epoch from '2026-07-06 16:19:45'::timestamp) - extract(epoch from '2026-07-06 16:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383543 -3.441885)'), GeomFromEWKT('SRID=4674;POINT (-38.383604 -3.441992)'))) / (select extract(epoch from '2026-07-06 16:19:45'::timestamp) - extract(epoch from '2026-07-06 16:19: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'), 47390, 'SRID=4674;POINT (-38.383645 -3.442085)', '2026-07-06 16:19:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383604 -3.441992)'), GeomFromEWKT('SRID=4674;POINT (-38.383645 -3.442085)'))) / (select extract(epoch from '2026-07-06 16:19:51'::timestamp) - extract(epoch from '2026-07-06 16:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383604 -3.441992)'), GeomFromEWKT('SRID=4674;POINT (-38.383645 -3.442085)'))) / (select extract(epoch from '2026-07-06 16:19:51'::timestamp) - extract(epoch from '2026-07-06 16:19: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'), 47390, 'SRID=4674;POINT (-38.383709 -3.44221)', '2026-07-06 16:19:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383645 -3.442085)'), GeomFromEWKT('SRID=4674;POINT (-38.383709 -3.44221)'))) / (select extract(epoch from '2026-07-06 16:19:59'::timestamp) - extract(epoch from '2026-07-06 16:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383645 -3.442085)'), GeomFromEWKT('SRID=4674;POINT (-38.383709 -3.44221)'))) / (select extract(epoch from '2026-07-06 16:19:59'::timestamp) - extract(epoch from '2026-07-06 16:19: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'), 47390, 'SRID=4674;POINT (-38.383772 -3.442309)', '2026-07-06 16:20:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383709 -3.44221)'), GeomFromEWKT('SRID=4674;POINT (-38.383772 -3.442309)'))) / (select extract(epoch from '2026-07-06 16:20:06'::timestamp) - extract(epoch from '2026-07-06 16:19:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383709 -3.44221)'), GeomFromEWKT('SRID=4674;POINT (-38.383772 -3.442309)'))) / (select extract(epoch from '2026-07-06 16:20:06'::timestamp) - extract(epoch from '2026-07-06 16:19: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'), 47390, 'SRID=4674;POINT (-38.38382 -3.442399)', '2026-07-06 16:20:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383772 -3.442309)'), GeomFromEWKT('SRID=4674;POINT (-38.38382 -3.442399)'))) / (select extract(epoch from '2026-07-06 16:20:12'::timestamp) - extract(epoch from '2026-07-06 16:20:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383772 -3.442309)'), GeomFromEWKT('SRID=4674;POINT (-38.38382 -3.442399)'))) / (select extract(epoch from '2026-07-06 16:20:12'::timestamp) - extract(epoch from '2026-07-06 16:20: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'), 47390, 'SRID=4674;POINT (-38.383841 -3.44244)', '2026-07-06 16:20:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38382 -3.442399)'), GeomFromEWKT('SRID=4674;POINT (-38.383841 -3.44244)'))) / (select extract(epoch from '2026-07-06 16:20:15'::timestamp) - extract(epoch from '2026-07-06 16:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38382 -3.442399)'), GeomFromEWKT('SRID=4674;POINT (-38.383841 -3.44244)'))) / (select extract(epoch from '2026-07-06 16:20:15'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.38385 -3.442454)', '2026-07-06 16:20:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383841 -3.44244)'), GeomFromEWKT('SRID=4674;POINT (-38.38385 -3.442454)'))) / (select extract(epoch from '2026-07-06 16:20:16'::timestamp) - extract(epoch from '2026-07-06 16:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383841 -3.44244)'), GeomFromEWKT('SRID=4674;POINT (-38.38385 -3.442454)'))) / (select extract(epoch from '2026-07-06 16:20:16'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.383891 -3.442551)', '2026-07-06 16:20:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38385 -3.442454)'), GeomFromEWKT('SRID=4674;POINT (-38.383891 -3.442551)'))) / (select extract(epoch from '2026-07-06 16:20:22'::timestamp) - extract(epoch from '2026-07-06 16:20:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38385 -3.442454)'), GeomFromEWKT('SRID=4674;POINT (-38.383891 -3.442551)'))) / (select extract(epoch from '2026-07-06 16:20:22'::timestamp) - extract(epoch from '2026-07-06 16:20: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'), 47390, 'SRID=4674;POINT (-38.38393 -3.442647)', '2026-07-06 16:20:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383891 -3.442551)'), GeomFromEWKT('SRID=4674;POINT (-38.38393 -3.442647)'))) / (select extract(epoch from '2026-07-06 16:20:28'::timestamp) - extract(epoch from '2026-07-06 16:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383891 -3.442551)'), GeomFromEWKT('SRID=4674;POINT (-38.38393 -3.442647)'))) / (select extract(epoch from '2026-07-06 16:20:28'::timestamp) - extract(epoch from '2026-07-06 16:20: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'), 47390, 'SRID=4674;POINT (-38.383981 -3.442763)', '2026-07-06 16:20:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38393 -3.442647)'), GeomFromEWKT('SRID=4674;POINT (-38.383981 -3.442763)'))) / (select extract(epoch from '2026-07-06 16:20:35'::timestamp) - extract(epoch from '2026-07-06 16:20:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38393 -3.442647)'), GeomFromEWKT('SRID=4674;POINT (-38.383981 -3.442763)'))) / (select extract(epoch from '2026-07-06 16:20:35'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.384037 -3.442886)', '2026-07-06 16:20:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383981 -3.442763)'), GeomFromEWKT('SRID=4674;POINT (-38.384037 -3.442886)'))) / (select extract(epoch from '2026-07-06 16:20:42'::timestamp) - extract(epoch from '2026-07-06 16:20:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383981 -3.442763)'), GeomFromEWKT('SRID=4674;POINT (-38.384037 -3.442886)'))) / (select extract(epoch from '2026-07-06 16:20:42'::timestamp) - extract(epoch from '2026-07-06 16:20: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'), 47390, 'SRID=4674;POINT (-38.384105 -3.443013)', '2026-07-06 16:20:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384037 -3.442886)'), GeomFromEWKT('SRID=4674;POINT (-38.384105 -3.443013)'))) / (select extract(epoch from '2026-07-06 16:20:49'::timestamp) - extract(epoch from '2026-07-06 16:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384037 -3.442886)'), GeomFromEWKT('SRID=4674;POINT (-38.384105 -3.443013)'))) / (select extract(epoch from '2026-07-06 16:20:49'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.384167 -3.443146)', '2026-07-06 16:20:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384105 -3.443013)'), GeomFromEWKT('SRID=4674;POINT (-38.384167 -3.443146)'))) / (select extract(epoch from '2026-07-06 16:20:56'::timestamp) - extract(epoch from '2026-07-06 16:20:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384105 -3.443013)'), GeomFromEWKT('SRID=4674;POINT (-38.384167 -3.443146)'))) / (select extract(epoch from '2026-07-06 16:20:56'::timestamp) - extract(epoch from '2026-07-06 16:20: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'), 47390, 'SRID=4674;POINT (-38.384215 -3.443255)', '2026-07-06 16:21:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384167 -3.443146)'), GeomFromEWKT('SRID=4674;POINT (-38.384215 -3.443255)'))) / (select extract(epoch from '2026-07-06 16:21:02'::timestamp) - extract(epoch from '2026-07-06 16:20:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384167 -3.443146)'), GeomFromEWKT('SRID=4674;POINT (-38.384215 -3.443255)'))) / (select extract(epoch from '2026-07-06 16:21:02'::timestamp) - extract(epoch from '2026-07-06 16:20: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'), 47390, 'SRID=4674;POINT (-38.384265 -3.443371)', '2026-07-06 16:21:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384215 -3.443255)'), GeomFromEWKT('SRID=4674;POINT (-38.384265 -3.443371)'))) / (select extract(epoch from '2026-07-06 16:21:09'::timestamp) - extract(epoch from '2026-07-06 16:21:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384215 -3.443255)'), GeomFromEWKT('SRID=4674;POINT (-38.384265 -3.443371)'))) / (select extract(epoch from '2026-07-06 16:21:09'::timestamp) - extract(epoch from '2026-07-06 16:21: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'), 47390, 'SRID=4674;POINT (-38.384311 -3.443466)', '2026-07-06 16:21:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384265 -3.443371)'), GeomFromEWKT('SRID=4674;POINT (-38.384311 -3.443466)'))) / (select extract(epoch from '2026-07-06 16:21:15'::timestamp) - extract(epoch from '2026-07-06 16:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384265 -3.443371)'), GeomFromEWKT('SRID=4674;POINT (-38.384311 -3.443466)'))) / (select extract(epoch from '2026-07-06 16:21:15'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.384325 -3.443509)', '2026-07-06 16:21:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384311 -3.443466)'), GeomFromEWKT('SRID=4674;POINT (-38.384325 -3.443509)'))) / (select extract(epoch from '2026-07-06 16:21:18'::timestamp) - extract(epoch from '2026-07-06 16:21:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384311 -3.443466)'), GeomFromEWKT('SRID=4674;POINT (-38.384325 -3.443509)'))) / (select extract(epoch from '2026-07-06 16:21:18'::timestamp) - extract(epoch from '2026-07-06 16:21: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'), 47390, 'SRID=4674;POINT (-38.384338 -3.443542)', '2026-07-06 16:21:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384325 -3.443509)'), GeomFromEWKT('SRID=4674;POINT (-38.384338 -3.443542)'))) / (select extract(epoch from '2026-07-06 16:21:20'::timestamp) - extract(epoch from '2026-07-06 16:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384325 -3.443509)'), GeomFromEWKT('SRID=4674;POINT (-38.384338 -3.443542)'))) / (select extract(epoch from '2026-07-06 16:21:20'::timestamp) - extract(epoch from '2026-07-06 16:21: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'), 47390, 'SRID=4674;POINT (-38.384406 -3.443694)', '2026-07-06 16:21:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384338 -3.443542)'), GeomFromEWKT('SRID=4674;POINT (-38.384406 -3.443694)'))) / (select extract(epoch from '2026-07-06 16:21:29'::timestamp) - extract(epoch from '2026-07-06 16:21:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384338 -3.443542)'), GeomFromEWKT('SRID=4674;POINT (-38.384406 -3.443694)'))) / (select extract(epoch from '2026-07-06 16:21:29'::timestamp) - extract(epoch from '2026-07-06 16:21: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'), 47390, 'SRID=4674;POINT (-38.384486 -3.443881)', '2026-07-06 16:21:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384406 -3.443694)'), GeomFromEWKT('SRID=4674;POINT (-38.384486 -3.443881)'))) / (select extract(epoch from '2026-07-06 16:21:39'::timestamp) - extract(epoch from '2026-07-06 16:21:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384406 -3.443694)'), GeomFromEWKT('SRID=4674;POINT (-38.384486 -3.443881)'))) / (select extract(epoch from '2026-07-06 16:21:39'::timestamp) - extract(epoch from '2026-07-06 16:21: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'), 47390, 'SRID=4674;POINT (-38.384531 -3.443989)', '2026-07-06 16:21:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384486 -3.443881)'), GeomFromEWKT('SRID=4674;POINT (-38.384531 -3.443989)'))) / (select extract(epoch from '2026-07-06 16:21:45'::timestamp) - extract(epoch from '2026-07-06 16:21:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384486 -3.443881)'), GeomFromEWKT('SRID=4674;POINT (-38.384531 -3.443989)'))) / (select extract(epoch from '2026-07-06 16:21:45'::timestamp) - extract(epoch from '2026-07-06 16:21: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'), 47390, 'SRID=4674;POINT (-38.384594 -3.444106)', '2026-07-06 16:21:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384531 -3.443989)'), GeomFromEWKT('SRID=4674;POINT (-38.384594 -3.444106)'))) / (select extract(epoch from '2026-07-06 16:21:52'::timestamp) - extract(epoch from '2026-07-06 16:21:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384531 -3.443989)'), GeomFromEWKT('SRID=4674;POINT (-38.384594 -3.444106)'))) / (select extract(epoch from '2026-07-06 16:21:52'::timestamp) - extract(epoch from '2026-07-06 16:21: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'), 47390, 'SRID=4674;POINT (-38.384644 -3.444214)', '2026-07-06 16:21:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384594 -3.444106)'), GeomFromEWKT('SRID=4674;POINT (-38.384644 -3.444214)'))) / (select extract(epoch from '2026-07-06 16:21:58'::timestamp) - extract(epoch from '2026-07-06 16:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384594 -3.444106)'), GeomFromEWKT('SRID=4674;POINT (-38.384644 -3.444214)'))) / (select extract(epoch from '2026-07-06 16:21:58'::timestamp) - extract(epoch from '2026-07-06 16:21: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'), 47390, 'SRID=4674;POINT (-38.384687 -3.444302)', '2026-07-06 16:22:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384644 -3.444214)'), GeomFromEWKT('SRID=4674;POINT (-38.384687 -3.444302)'))) / (select extract(epoch from '2026-07-06 16:22:03'::timestamp) - extract(epoch from '2026-07-06 16:21:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384644 -3.444214)'), GeomFromEWKT('SRID=4674;POINT (-38.384687 -3.444302)'))) / (select extract(epoch from '2026-07-06 16:22:03'::timestamp) - extract(epoch from '2026-07-06 16:21: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'), 47390, 'SRID=4674;POINT (-38.384734 -3.444409)', '2026-07-06 16:22:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384687 -3.444302)'), GeomFromEWKT('SRID=4674;POINT (-38.384734 -3.444409)'))) / (select extract(epoch from '2026-07-06 16:22:09'::timestamp) - extract(epoch from '2026-07-06 16:22:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384687 -3.444302)'), GeomFromEWKT('SRID=4674;POINT (-38.384734 -3.444409)'))) / (select extract(epoch from '2026-07-06 16:22:09'::timestamp) - extract(epoch from '2026-07-06 16:22: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'), 47390, 'SRID=4674;POINT (-38.384777 -3.444515)', '2026-07-06 16:22:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384734 -3.444409)'), GeomFromEWKT('SRID=4674;POINT (-38.384777 -3.444515)'))) / (select extract(epoch from '2026-07-06 16:22:15'::timestamp) - extract(epoch from '2026-07-06 16:22:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384734 -3.444409)'), GeomFromEWKT('SRID=4674;POINT (-38.384777 -3.444515)'))) / (select extract(epoch from '2026-07-06 16:22:15'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.384825 -3.444616)', '2026-07-06 16:22:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384777 -3.444515)'), GeomFromEWKT('SRID=4674;POINT (-38.384825 -3.444616)'))) / (select extract(epoch from '2026-07-06 16:22:21'::timestamp) - extract(epoch from '2026-07-06 16:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384777 -3.444515)'), GeomFromEWKT('SRID=4674;POINT (-38.384825 -3.444616)'))) / (select extract(epoch from '2026-07-06 16:22:21'::timestamp) - extract(epoch from '2026-07-06 16:22: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'), 47390, 'SRID=4674;POINT (-38.384887 -3.444743)', '2026-07-06 16:22:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384825 -3.444616)'), GeomFromEWKT('SRID=4674;POINT (-38.384887 -3.444743)'))) / (select extract(epoch from '2026-07-06 16:22:28'::timestamp) - extract(epoch from '2026-07-06 16:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384825 -3.444616)'), GeomFromEWKT('SRID=4674;POINT (-38.384887 -3.444743)'))) / (select extract(epoch from '2026-07-06 16:22:28'::timestamp) - extract(epoch from '2026-07-06 16:22: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'), 47390, 'SRID=4674;POINT (-38.384952 -3.444886)', '2026-07-06 16:22:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384887 -3.444743)'), GeomFromEWKT('SRID=4674;POINT (-38.384952 -3.444886)'))) / (select extract(epoch from '2026-07-06 16:22:36'::timestamp) - extract(epoch from '2026-07-06 16:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384887 -3.444743)'), GeomFromEWKT('SRID=4674;POINT (-38.384952 -3.444886)'))) / (select extract(epoch from '2026-07-06 16:22:36'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.385018 -3.445028)', '2026-07-06 16:22:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384952 -3.444886)'), GeomFromEWKT('SRID=4674;POINT (-38.385018 -3.445028)'))) / (select extract(epoch from '2026-07-06 16:22:44'::timestamp) - extract(epoch from '2026-07-06 16:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384952 -3.444886)'), GeomFromEWKT('SRID=4674;POINT (-38.385018 -3.445028)'))) / (select extract(epoch from '2026-07-06 16:22:44'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.385068 -3.44512)', '2026-07-06 16:22:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385018 -3.445028)'), GeomFromEWKT('SRID=4674;POINT (-38.385068 -3.44512)'))) / (select extract(epoch from '2026-07-06 16:22:50'::timestamp) - extract(epoch from '2026-07-06 16:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385018 -3.445028)'), GeomFromEWKT('SRID=4674;POINT (-38.385068 -3.44512)'))) / (select extract(epoch from '2026-07-06 16:22:50'::timestamp) - extract(epoch from '2026-07-06 16:22: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'), 47390, 'SRID=4674;POINT (-38.385127 -3.445226)', '2026-07-06 16:22:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385068 -3.44512)'), GeomFromEWKT('SRID=4674;POINT (-38.385127 -3.445226)'))) / (select extract(epoch from '2026-07-06 16:22:56'::timestamp) - extract(epoch from '2026-07-06 16:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385068 -3.44512)'), GeomFromEWKT('SRID=4674;POINT (-38.385127 -3.445226)'))) / (select extract(epoch from '2026-07-06 16:22:56'::timestamp) - extract(epoch from '2026-07-06 16:22: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'), 47390, 'SRID=4674;POINT (-38.385194 -3.445345)', '2026-07-06 16:23:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385127 -3.445226)'), GeomFromEWKT('SRID=4674;POINT (-38.385194 -3.445345)'))) / (select extract(epoch from '2026-07-06 16:23:03'::timestamp) - extract(epoch from '2026-07-06 16:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385127 -3.445226)'), GeomFromEWKT('SRID=4674;POINT (-38.385194 -3.445345)'))) / (select extract(epoch from '2026-07-06 16:23:03'::timestamp) - extract(epoch from '2026-07-06 16:22: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'), 47390, 'SRID=4674;POINT (-38.385238 -3.445441)', '2026-07-06 16:23:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385194 -3.445345)'), GeomFromEWKT('SRID=4674;POINT (-38.385238 -3.445441)'))) / (select extract(epoch from '2026-07-06 16:23:09'::timestamp) - extract(epoch from '2026-07-06 16:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385194 -3.445345)'), GeomFromEWKT('SRID=4674;POINT (-38.385238 -3.445441)'))) / (select extract(epoch from '2026-07-06 16:23:09'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.385299 -3.445553)', '2026-07-06 16:23:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385238 -3.445441)'), GeomFromEWKT('SRID=4674;POINT (-38.385299 -3.445553)'))) / (select extract(epoch from '2026-07-06 16:23:15'::timestamp) - extract(epoch from '2026-07-06 16:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385238 -3.445441)'), GeomFromEWKT('SRID=4674;POINT (-38.385299 -3.445553)'))) / (select extract(epoch from '2026-07-06 16:23:15'::timestamp) - extract(epoch from '2026-07-06 16:23: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'), 47390, 'SRID=4674;POINT (-38.385354 -3.445652)', '2026-07-06 16:23:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385299 -3.445553)'), GeomFromEWKT('SRID=4674;POINT (-38.385354 -3.445652)'))) / (select extract(epoch from '2026-07-06 16:23:21'::timestamp) - extract(epoch from '2026-07-06 16:23:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385299 -3.445553)'), GeomFromEWKT('SRID=4674;POINT (-38.385354 -3.445652)'))) / (select extract(epoch from '2026-07-06 16:23:21'::timestamp) - extract(epoch from '2026-07-06 16:23: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'), 47390, 'SRID=4674;POINT (-38.3854 -3.445745)', '2026-07-06 16:23:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385354 -3.445652)'), GeomFromEWKT('SRID=4674;POINT (-38.3854 -3.445745)'))) / (select extract(epoch from '2026-07-06 16:23:26'::timestamp) - extract(epoch from '2026-07-06 16:23:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385354 -3.445652)'), GeomFromEWKT('SRID=4674;POINT (-38.3854 -3.445745)'))) / (select extract(epoch from '2026-07-06 16:23:26'::timestamp) - extract(epoch from '2026-07-06 16:23: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'), 47390, 'SRID=4674;POINT (-38.385469 -3.445855)', '2026-07-06 16:23:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3854 -3.445745)'), GeomFromEWKT('SRID=4674;POINT (-38.385469 -3.445855)'))) / (select extract(epoch from '2026-07-06 16:23:33'::timestamp) - extract(epoch from '2026-07-06 16:23:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3854 -3.445745)'), GeomFromEWKT('SRID=4674;POINT (-38.385469 -3.445855)'))) / (select extract(epoch from '2026-07-06 16:23:33'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.385533 -3.44597)', '2026-07-06 16:23:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385469 -3.445855)'), GeomFromEWKT('SRID=4674;POINT (-38.385533 -3.44597)'))) / (select extract(epoch from '2026-07-06 16:23:40'::timestamp) - extract(epoch from '2026-07-06 16:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385469 -3.445855)'), GeomFromEWKT('SRID=4674;POINT (-38.385533 -3.44597)'))) / (select extract(epoch from '2026-07-06 16:23:40'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.385577 -3.446049)', '2026-07-06 16:23:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385533 -3.44597)'), GeomFromEWKT('SRID=4674;POINT (-38.385577 -3.446049)'))) / (select extract(epoch from '2026-07-06 16:23:45'::timestamp) - extract(epoch from '2026-07-06 16:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385533 -3.44597)'), GeomFromEWKT('SRID=4674;POINT (-38.385577 -3.446049)'))) / (select extract(epoch from '2026-07-06 16:23:45'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.38563 -3.446133)', '2026-07-06 16:23:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385577 -3.446049)'), GeomFromEWKT('SRID=4674;POINT (-38.38563 -3.446133)'))) / (select extract(epoch from '2026-07-06 16:23:50'::timestamp) - extract(epoch from '2026-07-06 16:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385577 -3.446049)'), GeomFromEWKT('SRID=4674;POINT (-38.38563 -3.446133)'))) / (select extract(epoch from '2026-07-06 16:23:50'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.385694 -3.446247)', '2026-07-06 16:23:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38563 -3.446133)'), GeomFromEWKT('SRID=4674;POINT (-38.385694 -3.446247)'))) / (select extract(epoch from '2026-07-06 16:23:57'::timestamp) - extract(epoch from '2026-07-06 16:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38563 -3.446133)'), GeomFromEWKT('SRID=4674;POINT (-38.385694 -3.446247)'))) / (select extract(epoch from '2026-07-06 16:23:57'::timestamp) - extract(epoch from '2026-07-06 16:23: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'), 47390, 'SRID=4674;POINT (-38.385757 -3.446353)', '2026-07-06 16:24:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385694 -3.446247)'), GeomFromEWKT('SRID=4674;POINT (-38.385757 -3.446353)'))) / (select extract(epoch from '2026-07-06 16:24:04'::timestamp) - extract(epoch from '2026-07-06 16:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385694 -3.446247)'), GeomFromEWKT('SRID=4674;POINT (-38.385757 -3.446353)'))) / (select extract(epoch from '2026-07-06 16:24:04'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.385812 -3.44646)', '2026-07-06 16:24:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385757 -3.446353)'), GeomFromEWKT('SRID=4674;POINT (-38.385812 -3.44646)'))) / (select extract(epoch from '2026-07-06 16:24:11'::timestamp) - extract(epoch from '2026-07-06 16:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385757 -3.446353)'), GeomFromEWKT('SRID=4674;POINT (-38.385812 -3.44646)'))) / (select extract(epoch from '2026-07-06 16:24:11'::timestamp) - extract(epoch from '2026-07-06 16:24: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'), 47390, 'SRID=4674;POINT (-38.385859 -3.446574)', '2026-07-06 16:24:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385812 -3.44646)'), GeomFromEWKT('SRID=4674;POINT (-38.385859 -3.446574)'))) / (select extract(epoch from '2026-07-06 16:24:18'::timestamp) - extract(epoch from '2026-07-06 16:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385812 -3.44646)'), GeomFromEWKT('SRID=4674;POINT (-38.385859 -3.446574)'))) / (select extract(epoch from '2026-07-06 16:24:18'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.385936 -3.446722)', '2026-07-06 16:24:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385859 -3.446574)'), GeomFromEWKT('SRID=4674;POINT (-38.385936 -3.446722)'))) / (select extract(epoch from '2026-07-06 16:24:27'::timestamp) - extract(epoch from '2026-07-06 16:24:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385859 -3.446574)'), GeomFromEWKT('SRID=4674;POINT (-38.385936 -3.446722)'))) / (select extract(epoch from '2026-07-06 16:24:27'::timestamp) - extract(epoch from '2026-07-06 16:24: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'), 47390, 'SRID=4674;POINT (-38.385987 -3.446837)', '2026-07-06 16:24:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385936 -3.446722)'), GeomFromEWKT('SRID=4674;POINT (-38.385987 -3.446837)'))) / (select extract(epoch from '2026-07-06 16:24:34'::timestamp) - extract(epoch from '2026-07-06 16:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385936 -3.446722)'), GeomFromEWKT('SRID=4674;POINT (-38.385987 -3.446837)'))) / (select extract(epoch from '2026-07-06 16:24:34'::timestamp) - extract(epoch from '2026-07-06 16:24: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'), 47390, 'SRID=4674;POINT (-38.386021 -3.446918)', '2026-07-06 16:24:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385987 -3.446837)'), GeomFromEWKT('SRID=4674;POINT (-38.386021 -3.446918)'))) / (select extract(epoch from '2026-07-06 16:24:39'::timestamp) - extract(epoch from '2026-07-06 16:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385987 -3.446837)'), GeomFromEWKT('SRID=4674;POINT (-38.386021 -3.446918)'))) / (select extract(epoch from '2026-07-06 16:24:39'::timestamp) - extract(epoch from '2026-07-06 16:24: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'), 47390, 'SRID=4674;POINT (-38.386058 -3.447057)', '2026-07-06 16:24:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386021 -3.446918)'), GeomFromEWKT('SRID=4674;POINT (-38.386058 -3.447057)'))) / (select extract(epoch from '2026-07-06 16:24:47'::timestamp) - extract(epoch from '2026-07-06 16:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386021 -3.446918)'), GeomFromEWKT('SRID=4674;POINT (-38.386058 -3.447057)'))) / (select extract(epoch from '2026-07-06 16:24:47'::timestamp) - extract(epoch from '2026-07-06 16:24: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'), 47390, 'SRID=4674;POINT (-38.386093 -3.447204)', '2026-07-06 16:24:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386058 -3.447057)'), GeomFromEWKT('SRID=4674;POINT (-38.386093 -3.447204)'))) / (select extract(epoch from '2026-07-06 16:24:56'::timestamp) - extract(epoch from '2026-07-06 16:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386058 -3.447057)'), GeomFromEWKT('SRID=4674;POINT (-38.386093 -3.447204)'))) / (select extract(epoch from '2026-07-06 16:24:56'::timestamp) - extract(epoch from '2026-07-06 16:24: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'), 47390, 'SRID=4674;POINT (-38.386137 -3.447332)', '2026-07-06 16:25:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386093 -3.447204)'), GeomFromEWKT('SRID=4674;POINT (-38.386137 -3.447332)'))) / (select extract(epoch from '2026-07-06 16:25:04'::timestamp) - extract(epoch from '2026-07-06 16:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386093 -3.447204)'), GeomFromEWKT('SRID=4674;POINT (-38.386137 -3.447332)'))) / (select extract(epoch from '2026-07-06 16:25:04'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.386187 -3.447441)', '2026-07-06 16:25:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386137 -3.447332)'), GeomFromEWKT('SRID=4674;POINT (-38.386187 -3.447441)'))) / (select extract(epoch from '2026-07-06 16:25:11'::timestamp) - extract(epoch from '2026-07-06 16:25:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386137 -3.447332)'), GeomFromEWKT('SRID=4674;POINT (-38.386187 -3.447441)'))) / (select extract(epoch from '2026-07-06 16:25:11'::timestamp) - extract(epoch from '2026-07-06 16:25: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'), 47390, 'SRID=4674;POINT (-38.386228 -3.447544)', '2026-07-06 16:25:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386187 -3.447441)'), GeomFromEWKT('SRID=4674;POINT (-38.386228 -3.447544)'))) / (select extract(epoch from '2026-07-06 16:25:17'::timestamp) - extract(epoch from '2026-07-06 16:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386187 -3.447441)'), GeomFromEWKT('SRID=4674;POINT (-38.386228 -3.447544)'))) / (select extract(epoch from '2026-07-06 16:25:17'::timestamp) - extract(epoch from '2026-07-06 16:25: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'), 47390, 'SRID=4674;POINT (-38.386286 -3.447639)', '2026-07-06 16:25:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386228 -3.447544)'), GeomFromEWKT('SRID=4674;POINT (-38.386286 -3.447639)'))) / (select extract(epoch from '2026-07-06 16:25:23'::timestamp) - extract(epoch from '2026-07-06 16:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386228 -3.447544)'), GeomFromEWKT('SRID=4674;POINT (-38.386286 -3.447639)'))) / (select extract(epoch from '2026-07-06 16:25:23'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.386326 -3.447754)', '2026-07-06 16:25:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386286 -3.447639)'), GeomFromEWKT('SRID=4674;POINT (-38.386326 -3.447754)'))) / (select extract(epoch from '2026-07-06 16:25:30'::timestamp) - extract(epoch from '2026-07-06 16:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386286 -3.447639)'), GeomFromEWKT('SRID=4674;POINT (-38.386326 -3.447754)'))) / (select extract(epoch from '2026-07-06 16:25:30'::timestamp) - extract(epoch from '2026-07-06 16:25: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'), 47390, 'SRID=4674;POINT (-38.386384 -3.447886)', '2026-07-06 16:25:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386326 -3.447754)'), GeomFromEWKT('SRID=4674;POINT (-38.386384 -3.447886)'))) / (select extract(epoch from '2026-07-06 16:25:38'::timestamp) - extract(epoch from '2026-07-06 16:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386326 -3.447754)'), GeomFromEWKT('SRID=4674;POINT (-38.386384 -3.447886)'))) / (select extract(epoch from '2026-07-06 16:25:38'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.386443 -3.448017)', '2026-07-06 16:25:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386384 -3.447886)'), GeomFromEWKT('SRID=4674;POINT (-38.386443 -3.448017)'))) / (select extract(epoch from '2026-07-06 16:25:45'::timestamp) - extract(epoch from '2026-07-06 16:25:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386384 -3.447886)'), GeomFromEWKT('SRID=4674;POINT (-38.386443 -3.448017)'))) / (select extract(epoch from '2026-07-06 16:25:45'::timestamp) - extract(epoch from '2026-07-06 16:25: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'), 47390, 'SRID=4674;POINT (-38.386501 -3.448131)', '2026-07-06 16:25:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386443 -3.448017)'), GeomFromEWKT('SRID=4674;POINT (-38.386501 -3.448131)'))) / (select extract(epoch from '2026-07-06 16:25:51'::timestamp) - extract(epoch from '2026-07-06 16:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386443 -3.448017)'), GeomFromEWKT('SRID=4674;POINT (-38.386501 -3.448131)'))) / (select extract(epoch from '2026-07-06 16:25:51'::timestamp) - extract(epoch from '2026-07-06 16:25: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'), 47390, 'SRID=4674;POINT (-38.386557 -3.448253)', '2026-07-06 16:25:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386501 -3.448131)'), GeomFromEWKT('SRID=4674;POINT (-38.386557 -3.448253)'))) / (select extract(epoch from '2026-07-06 16:25:57'::timestamp) - extract(epoch from '2026-07-06 16:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386501 -3.448131)'), GeomFromEWKT('SRID=4674;POINT (-38.386557 -3.448253)'))) / (select extract(epoch from '2026-07-06 16:25:57'::timestamp) - extract(epoch from '2026-07-06 16:25: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'), 47390, 'SRID=4674;POINT (-38.386617 -3.448384)', '2026-07-06 16:26:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386557 -3.448253)'), GeomFromEWKT('SRID=4674;POINT (-38.386617 -3.448384)'))) / (select extract(epoch from '2026-07-06 16:26:04'::timestamp) - extract(epoch from '2026-07-06 16:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386557 -3.448253)'), GeomFromEWKT('SRID=4674;POINT (-38.386617 -3.448384)'))) / (select extract(epoch from '2026-07-06 16:26:04'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.386655 -3.448471)', '2026-07-06 16:26:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386617 -3.448384)'), GeomFromEWKT('SRID=4674;POINT (-38.386655 -3.448471)'))) / (select extract(epoch from '2026-07-06 16:26:09'::timestamp) - extract(epoch from '2026-07-06 16:26:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386617 -3.448384)'), GeomFromEWKT('SRID=4674;POINT (-38.386655 -3.448471)'))) / (select extract(epoch from '2026-07-06 16:26:09'::timestamp) - extract(epoch from '2026-07-06 16:26: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'), 47390, 'SRID=4674;POINT (-38.386705 -3.448588)', '2026-07-06 16:26:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386655 -3.448471)'), GeomFromEWKT('SRID=4674;POINT (-38.386705 -3.448588)'))) / (select extract(epoch from '2026-07-06 16:26:16'::timestamp) - extract(epoch from '2026-07-06 16:26:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386655 -3.448471)'), GeomFromEWKT('SRID=4674;POINT (-38.386705 -3.448588)'))) / (select extract(epoch from '2026-07-06 16:26:16'::timestamp) - extract(epoch from '2026-07-06 16:26: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'), 47390, 'SRID=4674;POINT (-38.386759 -3.448672)', '2026-07-06 16:26:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386705 -3.448588)'), GeomFromEWKT('SRID=4674;POINT (-38.386759 -3.448672)'))) / (select extract(epoch from '2026-07-06 16:26:21'::timestamp) - extract(epoch from '2026-07-06 16:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386705 -3.448588)'), GeomFromEWKT('SRID=4674;POINT (-38.386759 -3.448672)'))) / (select extract(epoch from '2026-07-06 16:26:21'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.386819 -3.4488)', '2026-07-06 16:26:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386759 -3.448672)'), GeomFromEWKT('SRID=4674;POINT (-38.386819 -3.4488)'))) / (select extract(epoch from '2026-07-06 16:26:29'::timestamp) - extract(epoch from '2026-07-06 16:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386759 -3.448672)'), GeomFromEWKT('SRID=4674;POINT (-38.386819 -3.4488)'))) / (select extract(epoch from '2026-07-06 16:26:29'::timestamp) - extract(epoch from '2026-07-06 16:26: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'), 47390, 'SRID=4674;POINT (-38.386872 -3.448931)', '2026-07-06 16:26:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386819 -3.4488)'), GeomFromEWKT('SRID=4674;POINT (-38.386872 -3.448931)'))) / (select extract(epoch from '2026-07-06 16:26:37'::timestamp) - extract(epoch from '2026-07-06 16:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386819 -3.4488)'), GeomFromEWKT('SRID=4674;POINT (-38.386872 -3.448931)'))) / (select extract(epoch from '2026-07-06 16:26:37'::timestamp) - extract(epoch from '2026-07-06 16:26: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'), 47390, 'SRID=4674;POINT (-38.386934 -3.449027)', '2026-07-06 16:26:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386872 -3.448931)'), GeomFromEWKT('SRID=4674;POINT (-38.386934 -3.449027)'))) / (select extract(epoch from '2026-07-06 16:26:43'::timestamp) - extract(epoch from '2026-07-06 16:26:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386872 -3.448931)'), GeomFromEWKT('SRID=4674;POINT (-38.386934 -3.449027)'))) / (select extract(epoch from '2026-07-06 16:26:43'::timestamp) - extract(epoch from '2026-07-06 16:26: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'), 47390, 'SRID=4674;POINT (-38.38699 -3.449123)', '2026-07-06 16:26:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386934 -3.449027)'), GeomFromEWKT('SRID=4674;POINT (-38.38699 -3.449123)'))) / (select extract(epoch from '2026-07-06 16:26:50'::timestamp) - extract(epoch from '2026-07-06 16:26:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386934 -3.449027)'), GeomFromEWKT('SRID=4674;POINT (-38.38699 -3.449123)'))) / (select extract(epoch from '2026-07-06 16:26:50'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.387046 -3.449212)', '2026-07-06 16:26:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38699 -3.449123)'), GeomFromEWKT('SRID=4674;POINT (-38.387046 -3.449212)'))) / (select extract(epoch from '2026-07-06 16:26:56'::timestamp) - extract(epoch from '2026-07-06 16:26:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38699 -3.449123)'), GeomFromEWKT('SRID=4674;POINT (-38.387046 -3.449212)'))) / (select extract(epoch from '2026-07-06 16:26:56'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.387059 -3.449238)', '2026-07-06 16:26:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387046 -3.449212)'), GeomFromEWKT('SRID=4674;POINT (-38.387059 -3.449238)'))) / (select extract(epoch from '2026-07-06 16:26:58'::timestamp) - extract(epoch from '2026-07-06 16:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387046 -3.449212)'), GeomFromEWKT('SRID=4674;POINT (-38.387059 -3.449238)'))) / (select extract(epoch from '2026-07-06 16:26:58'::timestamp) - extract(epoch from '2026-07-06 16:26: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'), 47390, 'SRID=4674;POINT (-38.387096 -3.449279)', '2026-07-06 16:27:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387059 -3.449238)'), GeomFromEWKT('SRID=4674;POINT (-38.387096 -3.449279)'))) / (select extract(epoch from '2026-07-06 16:27:01'::timestamp) - extract(epoch from '2026-07-06 16:26:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387059 -3.449238)'), GeomFromEWKT('SRID=4674;POINT (-38.387096 -3.449279)'))) / (select extract(epoch from '2026-07-06 16:27:01'::timestamp) - extract(epoch from '2026-07-06 16:26: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'), 47390, 'SRID=4674;POINT (-38.387176 -3.449408)', '2026-07-06 16:27:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387096 -3.449279)'), GeomFromEWKT('SRID=4674;POINT (-38.387176 -3.449408)'))) / (select extract(epoch from '2026-07-06 16:27:09'::timestamp) - extract(epoch from '2026-07-06 16:27:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387096 -3.449279)'), GeomFromEWKT('SRID=4674;POINT (-38.387176 -3.449408)'))) / (select extract(epoch from '2026-07-06 16:27:09'::timestamp) - extract(epoch from '2026-07-06 16:27: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'), 47390, 'SRID=4674;POINT (-38.387248 -3.449523)', '2026-07-06 16:27:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387176 -3.449408)'), GeomFromEWKT('SRID=4674;POINT (-38.387248 -3.449523)'))) / (select extract(epoch from '2026-07-06 16:27:16'::timestamp) - extract(epoch from '2026-07-06 16:27:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387176 -3.449408)'), GeomFromEWKT('SRID=4674;POINT (-38.387248 -3.449523)'))) / (select extract(epoch from '2026-07-06 16:27:16'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.387295 -3.4496)', '2026-07-06 16:27:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387248 -3.449523)'), GeomFromEWKT('SRID=4674;POINT (-38.387295 -3.4496)'))) / (select extract(epoch from '2026-07-06 16:27:21'::timestamp) - extract(epoch from '2026-07-06 16:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387248 -3.449523)'), GeomFromEWKT('SRID=4674;POINT (-38.387295 -3.4496)'))) / (select extract(epoch from '2026-07-06 16:27:21'::timestamp) - extract(epoch from '2026-07-06 16:27: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'), 47390, 'SRID=4674;POINT (-38.387309 -3.44963)', '2026-07-06 16:27:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387295 -3.4496)'), GeomFromEWKT('SRID=4674;POINT (-38.387309 -3.44963)'))) / (select extract(epoch from '2026-07-06 16:27:23'::timestamp) - extract(epoch from '2026-07-06 16:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387295 -3.4496)'), GeomFromEWKT('SRID=4674;POINT (-38.387309 -3.44963)'))) / (select extract(epoch from '2026-07-06 16:27:23'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.387344 -3.449676)', '2026-07-06 16:27:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387309 -3.44963)'), GeomFromEWKT('SRID=4674;POINT (-38.387344 -3.449676)'))) / (select extract(epoch from '2026-07-06 16:27:26'::timestamp) - extract(epoch from '2026-07-06 16:27:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387309 -3.44963)'), GeomFromEWKT('SRID=4674;POINT (-38.387344 -3.449676)'))) / (select extract(epoch from '2026-07-06 16:27:26'::timestamp) - extract(epoch from '2026-07-06 16:27: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'), 47390, 'SRID=4674;POINT (-38.387366 -3.449728)', '2026-07-06 16:27:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387344 -3.449676)'), GeomFromEWKT('SRID=4674;POINT (-38.387366 -3.449728)'))) / (select extract(epoch from '2026-07-06 16:27:29'::timestamp) - extract(epoch from '2026-07-06 16:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387344 -3.449676)'), GeomFromEWKT('SRID=4674;POINT (-38.387366 -3.449728)'))) / (select extract(epoch from '2026-07-06 16:27:29'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.387391 -3.449762)', '2026-07-06 16:27:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387366 -3.449728)'), GeomFromEWKT('SRID=4674;POINT (-38.387391 -3.449762)'))) / (select extract(epoch from '2026-07-06 16:27:31'::timestamp) - extract(epoch from '2026-07-06 16:27:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387366 -3.449728)'), GeomFromEWKT('SRID=4674;POINT (-38.387391 -3.449762)'))) / (select extract(epoch from '2026-07-06 16:27:31'::timestamp) - extract(epoch from '2026-07-06 16:27: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'), 47390, 'SRID=4674;POINT (-38.387445 -3.449871)', '2026-07-06 16:27:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387391 -3.449762)'), GeomFromEWKT('SRID=4674;POINT (-38.387445 -3.449871)'))) / (select extract(epoch from '2026-07-06 16:27:38'::timestamp) - extract(epoch from '2026-07-06 16:27:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387391 -3.449762)'), GeomFromEWKT('SRID=4674;POINT (-38.387445 -3.449871)'))) / (select extract(epoch from '2026-07-06 16:27:38'::timestamp) - extract(epoch from '2026-07-06 16:27: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'), 47390, 'SRID=4674;POINT (-38.387507 -3.449988)', '2026-07-06 16:27:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387445 -3.449871)'), GeomFromEWKT('SRID=4674;POINT (-38.387507 -3.449988)'))) / (select extract(epoch from '2026-07-06 16:27:45'::timestamp) - extract(epoch from '2026-07-06 16:27:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387445 -3.449871)'), GeomFromEWKT('SRID=4674;POINT (-38.387507 -3.449988)'))) / (select extract(epoch from '2026-07-06 16:27:45'::timestamp) - extract(epoch from '2026-07-06 16:27: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'), 47390, 'SRID=4674;POINT (-38.387559 -3.450102)', '2026-07-06 16:27:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387507 -3.449988)'), GeomFromEWKT('SRID=4674;POINT (-38.387559 -3.450102)'))) / (select extract(epoch from '2026-07-06 16:27:51'::timestamp) - extract(epoch from '2026-07-06 16:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387507 -3.449988)'), GeomFromEWKT('SRID=4674;POINT (-38.387559 -3.450102)'))) / (select extract(epoch from '2026-07-06 16:27:51'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.387628 -3.45025)', '2026-07-06 16:27:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387559 -3.450102)'), GeomFromEWKT('SRID=4674;POINT (-38.387628 -3.45025)'))) / (select extract(epoch from '2026-07-06 16:27:59'::timestamp) - extract(epoch from '2026-07-06 16:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387559 -3.450102)'), GeomFromEWKT('SRID=4674;POINT (-38.387628 -3.45025)'))) / (select extract(epoch from '2026-07-06 16:27:59'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.3877 -3.450391)', '2026-07-06 16:28:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387628 -3.45025)'), GeomFromEWKT('SRID=4674;POINT (-38.3877 -3.450391)'))) / (select extract(epoch from '2026-07-06 16:28:07'::timestamp) - extract(epoch from '2026-07-06 16:27:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387628 -3.45025)'), GeomFromEWKT('SRID=4674;POINT (-38.3877 -3.450391)'))) / (select extract(epoch from '2026-07-06 16:28:07'::timestamp) - extract(epoch from '2026-07-06 16:27: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'), 47390, 'SRID=4674;POINT (-38.387755 -3.450472)', '2026-07-06 16:28:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3877 -3.450391)'), GeomFromEWKT('SRID=4674;POINT (-38.387755 -3.450472)'))) / (select extract(epoch from '2026-07-06 16:28:12'::timestamp) - extract(epoch from '2026-07-06 16:28:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3877 -3.450391)'), GeomFromEWKT('SRID=4674;POINT (-38.387755 -3.450472)'))) / (select extract(epoch from '2026-07-06 16:28:12'::timestamp) - extract(epoch from '2026-07-06 16:28: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'), 47390, 'SRID=4674;POINT (-38.387804 -3.450579)', '2026-07-06 16:28:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387755 -3.450472)'), GeomFromEWKT('SRID=4674;POINT (-38.387804 -3.450579)'))) / (select extract(epoch from '2026-07-06 16:28:18'::timestamp) - extract(epoch from '2026-07-06 16:28:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387755 -3.450472)'), GeomFromEWKT('SRID=4674;POINT (-38.387804 -3.450579)'))) / (select extract(epoch from '2026-07-06 16:28:18'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.387858 -3.450693)', '2026-07-06 16:28:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387804 -3.450579)'), GeomFromEWKT('SRID=4674;POINT (-38.387858 -3.450693)'))) / (select extract(epoch from '2026-07-06 16:28:25'::timestamp) - extract(epoch from '2026-07-06 16:28:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387804 -3.450579)'), GeomFromEWKT('SRID=4674;POINT (-38.387858 -3.450693)'))) / (select extract(epoch from '2026-07-06 16:28:25'::timestamp) - extract(epoch from '2026-07-06 16:28: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'), 47390, 'SRID=4674;POINT (-38.387907 -3.450776)', '2026-07-06 16:28:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387858 -3.450693)'), GeomFromEWKT('SRID=4674;POINT (-38.387907 -3.450776)'))) / (select extract(epoch from '2026-07-06 16:28:31'::timestamp) - extract(epoch from '2026-07-06 16:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387858 -3.450693)'), GeomFromEWKT('SRID=4674;POINT (-38.387907 -3.450776)'))) / (select extract(epoch from '2026-07-06 16:28:31'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.387976 -3.450906)', '2026-07-06 16:28:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387907 -3.450776)'), GeomFromEWKT('SRID=4674;POINT (-38.387976 -3.450906)'))) / (select extract(epoch from '2026-07-06 16:28:40'::timestamp) - extract(epoch from '2026-07-06 16:28:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387907 -3.450776)'), GeomFromEWKT('SRID=4674;POINT (-38.387976 -3.450906)'))) / (select extract(epoch from '2026-07-06 16:28:40'::timestamp) - extract(epoch from '2026-07-06 16:28: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'), 47390, 'SRID=4674;POINT (-38.388042 -3.45101)', '2026-07-06 16:28:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387976 -3.450906)'), GeomFromEWKT('SRID=4674;POINT (-38.388042 -3.45101)'))) / (select extract(epoch from '2026-07-06 16:28:47'::timestamp) - extract(epoch from '2026-07-06 16:28:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387976 -3.450906)'), GeomFromEWKT('SRID=4674;POINT (-38.388042 -3.45101)'))) / (select extract(epoch from '2026-07-06 16:28:47'::timestamp) - extract(epoch from '2026-07-06 16:28: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'), 47390, 'SRID=4674;POINT (-38.388125 -3.451133)', '2026-07-06 16:28:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388042 -3.45101)'), GeomFromEWKT('SRID=4674;POINT (-38.388125 -3.451133)'))) / (select extract(epoch from '2026-07-06 16:28:55'::timestamp) - extract(epoch from '2026-07-06 16:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388042 -3.45101)'), GeomFromEWKT('SRID=4674;POINT (-38.388125 -3.451133)'))) / (select extract(epoch from '2026-07-06 16:28:55'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.388188 -3.451234)', '2026-07-06 16:29:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388125 -3.451133)'), GeomFromEWKT('SRID=4674;POINT (-38.388188 -3.451234)'))) / (select extract(epoch from '2026-07-06 16:29:02'::timestamp) - extract(epoch from '2026-07-06 16:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388125 -3.451133)'), GeomFromEWKT('SRID=4674;POINT (-38.388188 -3.451234)'))) / (select extract(epoch from '2026-07-06 16:29:02'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.388231 -3.451311)', '2026-07-06 16:29:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388188 -3.451234)'), GeomFromEWKT('SRID=4674;POINT (-38.388231 -3.451311)'))) / (select extract(epoch from '2026-07-06 16:29:07'::timestamp) - extract(epoch from '2026-07-06 16:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388188 -3.451234)'), GeomFromEWKT('SRID=4674;POINT (-38.388231 -3.451311)'))) / (select extract(epoch from '2026-07-06 16:29:07'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.388288 -3.451414)', '2026-07-06 16:29:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388231 -3.451311)'), GeomFromEWKT('SRID=4674;POINT (-38.388288 -3.451414)'))) / (select extract(epoch from '2026-07-06 16:29:14'::timestamp) - extract(epoch from '2026-07-06 16:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388231 -3.451311)'), GeomFromEWKT('SRID=4674;POINT (-38.388288 -3.451414)'))) / (select extract(epoch from '2026-07-06 16:29:14'::timestamp) - extract(epoch from '2026-07-06 16:29: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'), 47390, 'SRID=4674;POINT (-38.388351 -3.451511)', '2026-07-06 16:29:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388288 -3.451414)'), GeomFromEWKT('SRID=4674;POINT (-38.388351 -3.451511)'))) / (select extract(epoch from '2026-07-06 16:29:21'::timestamp) - extract(epoch from '2026-07-06 16:29:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388288 -3.451414)'), GeomFromEWKT('SRID=4674;POINT (-38.388351 -3.451511)'))) / (select extract(epoch from '2026-07-06 16:29:21'::timestamp) - extract(epoch from '2026-07-06 16:29: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'), 47390, 'SRID=4674;POINT (-38.388414 -3.451616)', '2026-07-06 16:29:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388351 -3.451511)'), GeomFromEWKT('SRID=4674;POINT (-38.388414 -3.451616)'))) / (select extract(epoch from '2026-07-06 16:29:28'::timestamp) - extract(epoch from '2026-07-06 16:29:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388351 -3.451511)'), GeomFromEWKT('SRID=4674;POINT (-38.388414 -3.451616)'))) / (select extract(epoch from '2026-07-06 16:29:28'::timestamp) - extract(epoch from '2026-07-06 16:29: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'), 47390, 'SRID=4674;POINT (-38.38847 -3.451722)', '2026-07-06 16:29:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388414 -3.451616)'), GeomFromEWKT('SRID=4674;POINT (-38.38847 -3.451722)'))) / (select extract(epoch from '2026-07-06 16:29:35'::timestamp) - extract(epoch from '2026-07-06 16:29:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388414 -3.451616)'), GeomFromEWKT('SRID=4674;POINT (-38.38847 -3.451722)'))) / (select extract(epoch from '2026-07-06 16:29:35'::timestamp) - extract(epoch from '2026-07-06 16:29: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'), 47390, 'SRID=4674;POINT (-38.388522 -3.45183)', '2026-07-06 16:29:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38847 -3.451722)'), GeomFromEWKT('SRID=4674;POINT (-38.388522 -3.45183)'))) / (select extract(epoch from '2026-07-06 16:29:42'::timestamp) - extract(epoch from '2026-07-06 16:29:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38847 -3.451722)'), GeomFromEWKT('SRID=4674;POINT (-38.388522 -3.45183)'))) / (select extract(epoch from '2026-07-06 16:29:42'::timestamp) - extract(epoch from '2026-07-06 16:29: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'), 47390, 'SRID=4674;POINT (-38.388599 -3.451972)', '2026-07-06 16:29:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388522 -3.45183)'), GeomFromEWKT('SRID=4674;POINT (-38.388599 -3.451972)'))) / (select extract(epoch from '2026-07-06 16:29:51'::timestamp) - extract(epoch from '2026-07-06 16:29:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388522 -3.45183)'), GeomFromEWKT('SRID=4674;POINT (-38.388599 -3.451972)'))) / (select extract(epoch from '2026-07-06 16:29:51'::timestamp) - extract(epoch from '2026-07-06 16:29: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'), 47390, 'SRID=4674;POINT (-38.388661 -3.452087)', '2026-07-06 16:29:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388599 -3.451972)'), GeomFromEWKT('SRID=4674;POINT (-38.388661 -3.452087)'))) / (select extract(epoch from '2026-07-06 16:29:58'::timestamp) - extract(epoch from '2026-07-06 16:29:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388599 -3.451972)'), GeomFromEWKT('SRID=4674;POINT (-38.388661 -3.452087)'))) / (select extract(epoch from '2026-07-06 16:29:58'::timestamp) - extract(epoch from '2026-07-06 16:29: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'), 47390, 'SRID=4674;POINT (-38.388711 -3.452186)', '2026-07-06 16:30:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388661 -3.452087)'), GeomFromEWKT('SRID=4674;POINT (-38.388711 -3.452186)'))) / (select extract(epoch from '2026-07-06 16:30:05'::timestamp) - extract(epoch from '2026-07-06 16:29:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388661 -3.452087)'), GeomFromEWKT('SRID=4674;POINT (-38.388711 -3.452186)'))) / (select extract(epoch from '2026-07-06 16:30:05'::timestamp) - extract(epoch from '2026-07-06 16:29: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'), 47390, 'SRID=4674;POINT (-38.388721 -3.452216)', '2026-07-06 16:30:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388711 -3.452186)'), GeomFromEWKT('SRID=4674;POINT (-38.388721 -3.452216)'))) / (select extract(epoch from '2026-07-06 16:30:07'::timestamp) - extract(epoch from '2026-07-06 16:30:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388711 -3.452186)'), GeomFromEWKT('SRID=4674;POINT (-38.388721 -3.452216)'))) / (select extract(epoch from '2026-07-06 16:30:07'::timestamp) - extract(epoch from '2026-07-06 16:30: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'), 47390, 'SRID=4674;POINT (-38.388759 -3.452276)', '2026-07-06 16:30:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388721 -3.452216)'), GeomFromEWKT('SRID=4674;POINT (-38.388759 -3.452276)'))) / (select extract(epoch from '2026-07-06 16:30:11'::timestamp) - extract(epoch from '2026-07-06 16:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388721 -3.452216)'), GeomFromEWKT('SRID=4674;POINT (-38.388759 -3.452276)'))) / (select extract(epoch from '2026-07-06 16:30:11'::timestamp) - extract(epoch from '2026-07-06 16:30: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'), 47390, 'SRID=4674;POINT (-38.388835 -3.452402)', '2026-07-06 16:30:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388759 -3.452276)'), GeomFromEWKT('SRID=4674;POINT (-38.388835 -3.452402)'))) / (select extract(epoch from '2026-07-06 16:30:19'::timestamp) - extract(epoch from '2026-07-06 16:30:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388759 -3.452276)'), GeomFromEWKT('SRID=4674;POINT (-38.388835 -3.452402)'))) / (select extract(epoch from '2026-07-06 16:30:19'::timestamp) - extract(epoch from '2026-07-06 16:30: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'), 47390, 'SRID=4674;POINT (-38.388892 -3.452499)', '2026-07-06 16:30:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388835 -3.452402)'), GeomFromEWKT('SRID=4674;POINT (-38.388892 -3.452499)'))) / (select extract(epoch from '2026-07-06 16:30:25'::timestamp) - extract(epoch from '2026-07-06 16:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388835 -3.452402)'), GeomFromEWKT('SRID=4674;POINT (-38.388892 -3.452499)'))) / (select extract(epoch from '2026-07-06 16:30:25'::timestamp) - extract(epoch from '2026-07-06 16:30: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'), 47390, 'SRID=4674;POINT (-38.388961 -3.452602)', '2026-07-06 16:30:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388892 -3.452499)'), GeomFromEWKT('SRID=4674;POINT (-38.388961 -3.452602)'))) / (select extract(epoch from '2026-07-06 16:30:31'::timestamp) - extract(epoch from '2026-07-06 16:30:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388892 -3.452499)'), GeomFromEWKT('SRID=4674;POINT (-38.388961 -3.452602)'))) / (select extract(epoch from '2026-07-06 16:30:31'::timestamp) - extract(epoch from '2026-07-06 16:30: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'), 47390, 'SRID=4674;POINT (-38.389012 -3.452698)', '2026-07-06 16:30:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388961 -3.452602)'), GeomFromEWKT('SRID=4674;POINT (-38.389012 -3.452698)'))) / (select extract(epoch from '2026-07-06 16:30:37'::timestamp) - extract(epoch from '2026-07-06 16:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388961 -3.452602)'), GeomFromEWKT('SRID=4674;POINT (-38.389012 -3.452698)'))) / (select extract(epoch from '2026-07-06 16:30:37'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.389077 -3.452821)', '2026-07-06 16:30:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389012 -3.452698)'), GeomFromEWKT('SRID=4674;POINT (-38.389077 -3.452821)'))) / (select extract(epoch from '2026-07-06 16:30:44'::timestamp) - extract(epoch from '2026-07-06 16:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389012 -3.452698)'), GeomFromEWKT('SRID=4674;POINT (-38.389077 -3.452821)'))) / (select extract(epoch from '2026-07-06 16:30:44'::timestamp) - extract(epoch from '2026-07-06 16:30: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'), 47390, 'SRID=4674;POINT (-38.389151 -3.452939)', '2026-07-06 16:30:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389077 -3.452821)'), GeomFromEWKT('SRID=4674;POINT (-38.389151 -3.452939)'))) / (select extract(epoch from '2026-07-06 16:30:51'::timestamp) - extract(epoch from '2026-07-06 16:30:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389077 -3.452821)'), GeomFromEWKT('SRID=4674;POINT (-38.389151 -3.452939)'))) / (select extract(epoch from '2026-07-06 16:30:51'::timestamp) - extract(epoch from '2026-07-06 16:30: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'), 47390, 'SRID=4674;POINT (-38.389216 -3.453034)', '2026-07-06 16:30:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389151 -3.452939)'), GeomFromEWKT('SRID=4674;POINT (-38.389216 -3.453034)'))) / (select extract(epoch from '2026-07-06 16:30:57'::timestamp) - extract(epoch from '2026-07-06 16:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389151 -3.452939)'), GeomFromEWKT('SRID=4674;POINT (-38.389216 -3.453034)'))) / (select extract(epoch from '2026-07-06 16:30:57'::timestamp) - extract(epoch from '2026-07-06 16:30: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'), 47390, 'SRID=4674;POINT (-38.389264 -3.453121)', '2026-07-06 16:31:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389216 -3.453034)'), GeomFromEWKT('SRID=4674;POINT (-38.389264 -3.453121)'))) / (select extract(epoch from '2026-07-06 16:31:02'::timestamp) - extract(epoch from '2026-07-06 16:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389216 -3.453034)'), GeomFromEWKT('SRID=4674;POINT (-38.389264 -3.453121)'))) / (select extract(epoch from '2026-07-06 16:31:02'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.389312 -3.453202)', '2026-07-06 16:31:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389264 -3.453121)'), GeomFromEWKT('SRID=4674;POINT (-38.389312 -3.453202)'))) / (select extract(epoch from '2026-07-06 16:31:07'::timestamp) - extract(epoch from '2026-07-06 16:31:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389264 -3.453121)'), GeomFromEWKT('SRID=4674;POINT (-38.389312 -3.453202)'))) / (select extract(epoch from '2026-07-06 16:31:07'::timestamp) - extract(epoch from '2026-07-06 16:31: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'), 47390, 'SRID=4674;POINT (-38.389357 -3.453316)', '2026-07-06 16:31:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389312 -3.453202)'), GeomFromEWKT('SRID=4674;POINT (-38.389357 -3.453316)'))) / (select extract(epoch from '2026-07-06 16:31:14'::timestamp) - extract(epoch from '2026-07-06 16:31:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389312 -3.453202)'), GeomFromEWKT('SRID=4674;POINT (-38.389357 -3.453316)'))) / (select extract(epoch from '2026-07-06 16:31:14'::timestamp) - extract(epoch from '2026-07-06 16:31:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.389433 -3.453455)', '2026-07-06 16:31:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389357 -3.453316)'), GeomFromEWKT('SRID=4674;POINT (-38.389433 -3.453455)'))) / (select extract(epoch from '2026-07-06 16:31:23'::timestamp) - extract(epoch from '2026-07-06 16:31:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389357 -3.453316)'), GeomFromEWKT('SRID=4674;POINT (-38.389433 -3.453455)'))) / (select extract(epoch from '2026-07-06 16:31:23'::timestamp) - extract(epoch from '2026-07-06 16:31:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.389497 -3.453561)', '2026-07-06 16:31:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389433 -3.453455)'), GeomFromEWKT('SRID=4674;POINT (-38.389497 -3.453561)'))) / (select extract(epoch from '2026-07-06 16:31:30'::timestamp) - extract(epoch from '2026-07-06 16:31:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389433 -3.453455)'), GeomFromEWKT('SRID=4674;POINT (-38.389497 -3.453561)'))) / (select extract(epoch from '2026-07-06 16:31:30'::timestamp) - extract(epoch from '2026-07-06 16:31: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'), 47390, 'SRID=4674;POINT (-38.389551 -3.453667)', '2026-07-06 16:31:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389497 -3.453561)'), GeomFromEWKT('SRID=4674;POINT (-38.389551 -3.453667)'))) / (select extract(epoch from '2026-07-06 16:31:37'::timestamp) - extract(epoch from '2026-07-06 16:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389497 -3.453561)'), GeomFromEWKT('SRID=4674;POINT (-38.389551 -3.453667)'))) / (select extract(epoch from '2026-07-06 16:31:37'::timestamp) - extract(epoch from '2026-07-06 16:31:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.389609 -3.453753)', '2026-07-06 16:31:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389551 -3.453667)'), GeomFromEWKT('SRID=4674;POINT (-38.389609 -3.453753)'))) / (select extract(epoch from '2026-07-06 16:31:43'::timestamp) - extract(epoch from '2026-07-06 16:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389551 -3.453667)'), GeomFromEWKT('SRID=4674;POINT (-38.389609 -3.453753)'))) / (select extract(epoch from '2026-07-06 16:31:43'::timestamp) - extract(epoch from '2026-07-06 16:31:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.389617 -3.453768)', '2026-07-06 16:31:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389609 -3.453753)'), GeomFromEWKT('SRID=4674;POINT (-38.389617 -3.453768)'))) / (select extract(epoch from '2026-07-06 16:31:44'::timestamp) - extract(epoch from '2026-07-06 16:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389609 -3.453753)'), GeomFromEWKT('SRID=4674;POINT (-38.389617 -3.453768)'))) / (select extract(epoch from '2026-07-06 16:31:44'::timestamp) - extract(epoch from '2026-07-06 16:31:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.389631 -3.453794)', '2026-07-06 16:31:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389617 -3.453768)'), GeomFromEWKT('SRID=4674;POINT (-38.389631 -3.453794)'))) / (select extract(epoch from '2026-07-06 16:31:46'::timestamp) - extract(epoch from '2026-07-06 16:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389617 -3.453768)'), GeomFromEWKT('SRID=4674;POINT (-38.389631 -3.453794)'))) / (select extract(epoch from '2026-07-06 16:31:46'::timestamp) - extract(epoch from '2026-07-06 16:31:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.389654 -3.453823)', '2026-07-06 16:31:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389631 -3.453794)'), GeomFromEWKT('SRID=4674;POINT (-38.389654 -3.453823)'))) / (select extract(epoch from '2026-07-06 16:31:48'::timestamp) - extract(epoch from '2026-07-06 16:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389631 -3.453794)'), GeomFromEWKT('SRID=4674;POINT (-38.389654 -3.453823)'))) / (select extract(epoch from '2026-07-06 16:31:48'::timestamp) - extract(epoch from '2026-07-06 16:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.389707 -3.453921)', '2026-07-06 16:31:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389654 -3.453823)'), GeomFromEWKT('SRID=4674;POINT (-38.389707 -3.453921)'))) / (select extract(epoch from '2026-07-06 16:31:54'::timestamp) - extract(epoch from '2026-07-06 16:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389654 -3.453823)'), GeomFromEWKT('SRID=4674;POINT (-38.389707 -3.453921)'))) / (select extract(epoch from '2026-07-06 16:31:54'::timestamp) - extract(epoch from '2026-07-06 16:31:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.389757 -3.454021)', '2026-07-06 16:32:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389707 -3.453921)'), GeomFromEWKT('SRID=4674;POINT (-38.389757 -3.454021)'))) / (select extract(epoch from '2026-07-06 16:32:01'::timestamp) - extract(epoch from '2026-07-06 16:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389707 -3.453921)'), GeomFromEWKT('SRID=4674;POINT (-38.389757 -3.454021)'))) / (select extract(epoch from '2026-07-06 16:32:01'::timestamp) - extract(epoch from '2026-07-06 16:31:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.389814 -3.454115)', '2026-07-06 16:32:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389757 -3.454021)'), GeomFromEWKT('SRID=4674;POINT (-38.389814 -3.454115)'))) / (select extract(epoch from '2026-07-06 16:32:07'::timestamp) - extract(epoch from '2026-07-06 16:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389757 -3.454021)'), GeomFromEWKT('SRID=4674;POINT (-38.389814 -3.454115)'))) / (select extract(epoch from '2026-07-06 16:32:07'::timestamp) - extract(epoch from '2026-07-06 16:32: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'), 47390, 'SRID=4674;POINT (-38.389874 -3.454217)', '2026-07-06 16:32:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389814 -3.454115)'), GeomFromEWKT('SRID=4674;POINT (-38.389874 -3.454217)'))) / (select extract(epoch from '2026-07-06 16:32:13'::timestamp) - extract(epoch from '2026-07-06 16:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389814 -3.454115)'), GeomFromEWKT('SRID=4674;POINT (-38.389874 -3.454217)'))) / (select extract(epoch from '2026-07-06 16:32:13'::timestamp) - extract(epoch from '2026-07-06 16:32:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.389936 -3.454321)', '2026-07-06 16:32:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389874 -3.454217)'), GeomFromEWKT('SRID=4674;POINT (-38.389936 -3.454321)'))) / (select extract(epoch from '2026-07-06 16:32:19'::timestamp) - extract(epoch from '2026-07-06 16:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389874 -3.454217)'), GeomFromEWKT('SRID=4674;POINT (-38.389936 -3.454321)'))) / (select extract(epoch from '2026-07-06 16:32:19'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.389996 -3.454426)', '2026-07-06 16:32:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389936 -3.454321)'), GeomFromEWKT('SRID=4674;POINT (-38.389996 -3.454426)'))) / (select extract(epoch from '2026-07-06 16:32:25'::timestamp) - extract(epoch from '2026-07-06 16:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389936 -3.454321)'), GeomFromEWKT('SRID=4674;POINT (-38.389996 -3.454426)'))) / (select extract(epoch from '2026-07-06 16:32:25'::timestamp) - extract(epoch from '2026-07-06 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'), 47390, 'SRID=4674;POINT (-38.39006 -3.454527)', '2026-07-06 16:32:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389996 -3.454426)'), GeomFromEWKT('SRID=4674;POINT (-38.39006 -3.454527)'))) / (select extract(epoch from '2026-07-06 16:32:31'::timestamp) - extract(epoch from '2026-07-06 16:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389996 -3.454426)'), GeomFromEWKT('SRID=4674;POINT (-38.39006 -3.454527)'))) / (select extract(epoch from '2026-07-06 16:32:31'::timestamp) - extract(epoch from '2026-07-06 16:32:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.390139 -3.454672)', '2026-07-06 16:32:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39006 -3.454527)'), GeomFromEWKT('SRID=4674;POINT (-38.390139 -3.454672)'))) / (select extract(epoch from '2026-07-06 16:32:39'::timestamp) - extract(epoch from '2026-07-06 16:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39006 -3.454527)'), GeomFromEWKT('SRID=4674;POINT (-38.390139 -3.454672)'))) / (select extract(epoch from '2026-07-06 16:32:39'::timestamp) - extract(epoch from '2026-07-06 16:32:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.390214 -3.454824)', '2026-07-06 16:32:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390139 -3.454672)'), GeomFromEWKT('SRID=4674;POINT (-38.390214 -3.454824)'))) / (select extract(epoch from '2026-07-06 16:32:48'::timestamp) - extract(epoch from '2026-07-06 16:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390139 -3.454672)'), GeomFromEWKT('SRID=4674;POINT (-38.390214 -3.454824)'))) / (select extract(epoch from '2026-07-06 16:32:48'::timestamp) - extract(epoch from '2026-07-06 16:32:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.390261 -3.454922)', '2026-07-06 16:32:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390214 -3.454824)'), GeomFromEWKT('SRID=4674;POINT (-38.390261 -3.454922)'))) / (select extract(epoch from '2026-07-06 16:32:54'::timestamp) - extract(epoch from '2026-07-06 16:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390214 -3.454824)'), GeomFromEWKT('SRID=4674;POINT (-38.390261 -3.454922)'))) / (select extract(epoch from '2026-07-06 16:32:54'::timestamp) - extract(epoch from '2026-07-06 16:32:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.390318 -3.455035)', '2026-07-06 16:33:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390261 -3.454922)'), GeomFromEWKT('SRID=4674;POINT (-38.390318 -3.455035)'))) / (select extract(epoch from '2026-07-06 16:33:01'::timestamp) - extract(epoch from '2026-07-06 16:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390261 -3.454922)'), GeomFromEWKT('SRID=4674;POINT (-38.390318 -3.455035)'))) / (select extract(epoch from '2026-07-06 16:33:01'::timestamp) - extract(epoch from '2026-07-06 16:32:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.390385 -3.45513)', '2026-07-06 16:33:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390318 -3.455035)'), GeomFromEWKT('SRID=4674;POINT (-38.390385 -3.45513)'))) / (select extract(epoch from '2026-07-06 16:33:07'::timestamp) - extract(epoch from '2026-07-06 16:33:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390318 -3.455035)'), GeomFromEWKT('SRID=4674;POINT (-38.390385 -3.45513)'))) / (select extract(epoch from '2026-07-06 16:33:07'::timestamp) - extract(epoch from '2026-07-06 16:33: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'), 47390, 'SRID=4674;POINT (-38.390441 -3.455218)', '2026-07-06 16:33:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390385 -3.45513)'), GeomFromEWKT('SRID=4674;POINT (-38.390441 -3.455218)'))) / (select extract(epoch from '2026-07-06 16:33:13'::timestamp) - extract(epoch from '2026-07-06 16:33:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390385 -3.45513)'), GeomFromEWKT('SRID=4674;POINT (-38.390441 -3.455218)'))) / (select extract(epoch from '2026-07-06 16:33:13'::timestamp) - extract(epoch from '2026-07-06 16:33: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'), 47390, 'SRID=4674;POINT (-38.390519 -3.45536)', '2026-07-06 16:33:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390441 -3.455218)'), GeomFromEWKT('SRID=4674;POINT (-38.390519 -3.45536)'))) / (select extract(epoch from '2026-07-06 16:33:21'::timestamp) - extract(epoch from '2026-07-06 16:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390441 -3.455218)'), GeomFromEWKT('SRID=4674;POINT (-38.390519 -3.45536)'))) / (select extract(epoch from '2026-07-06 16:33:21'::timestamp) - extract(epoch from '2026-07-06 16:33: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'), 47390, 'SRID=4674;POINT (-38.390593 -3.455484)', '2026-07-06 16:33:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390519 -3.45536)'), GeomFromEWKT('SRID=4674;POINT (-38.390593 -3.455484)'))) / (select extract(epoch from '2026-07-06 16:33:28'::timestamp) - extract(epoch from '2026-07-06 16:33:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390519 -3.45536)'), GeomFromEWKT('SRID=4674;POINT (-38.390593 -3.455484)'))) / (select extract(epoch from '2026-07-06 16:33:28'::timestamp) - extract(epoch from '2026-07-06 16:33: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'), 47390, 'SRID=4674;POINT (-38.390643 -3.455593)', '2026-07-06 16:33:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390593 -3.455484)'), GeomFromEWKT('SRID=4674;POINT (-38.390643 -3.455593)'))) / (select extract(epoch from '2026-07-06 16:33:34'::timestamp) - extract(epoch from '2026-07-06 16:33:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390593 -3.455484)'), GeomFromEWKT('SRID=4674;POINT (-38.390643 -3.455593)'))) / (select extract(epoch from '2026-07-06 16:33:34'::timestamp) - extract(epoch from '2026-07-06 16:33: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'), 47390, 'SRID=4674;POINT (-38.390699 -3.455682)', '2026-07-06 16:33:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390643 -3.455593)'), GeomFromEWKT('SRID=4674;POINT (-38.390699 -3.455682)'))) / (select extract(epoch from '2026-07-06 16:33:39'::timestamp) - extract(epoch from '2026-07-06 16:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390643 -3.455593)'), GeomFromEWKT('SRID=4674;POINT (-38.390699 -3.455682)'))) / (select extract(epoch from '2026-07-06 16:33:39'::timestamp) - extract(epoch from '2026-07-06 16:33: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'), 47390, 'SRID=4674;POINT (-38.390742 -3.455777)', '2026-07-06 16:33:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390699 -3.455682)'), GeomFromEWKT('SRID=4674;POINT (-38.390742 -3.455777)'))) / (select extract(epoch from '2026-07-06 16:33:44'::timestamp) - extract(epoch from '2026-07-06 16:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390699 -3.455682)'), GeomFromEWKT('SRID=4674;POINT (-38.390742 -3.455777)'))) / (select extract(epoch from '2026-07-06 16:33:44'::timestamp) - extract(epoch from '2026-07-06 16:33: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'), 47390, 'SRID=4674;POINT (-38.390786 -3.455882)', '2026-07-06 16:33:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390742 -3.455777)'), GeomFromEWKT('SRID=4674;POINT (-38.390786 -3.455882)'))) / (select extract(epoch from '2026-07-06 16:33:50'::timestamp) - extract(epoch from '2026-07-06 16:33:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390742 -3.455777)'), GeomFromEWKT('SRID=4674;POINT (-38.390786 -3.455882)'))) / (select extract(epoch from '2026-07-06 16:33:50'::timestamp) - extract(epoch from '2026-07-06 16:33: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'), 47390, 'SRID=4674;POINT (-38.390855 -3.456037)', '2026-07-06 16:33:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390786 -3.455882)'), GeomFromEWKT('SRID=4674;POINT (-38.390855 -3.456037)'))) / (select extract(epoch from '2026-07-06 16:33:58'::timestamp) - extract(epoch from '2026-07-06 16:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390786 -3.455882)'), GeomFromEWKT('SRID=4674;POINT (-38.390855 -3.456037)'))) / (select extract(epoch from '2026-07-06 16:33:58'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.390889 -3.456088)', '2026-07-06 16:34:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390855 -3.456037)'), GeomFromEWKT('SRID=4674;POINT (-38.390889 -3.456088)'))) / (select extract(epoch from '2026-07-06 16:34:01'::timestamp) - extract(epoch from '2026-07-06 16:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390855 -3.456037)'), GeomFromEWKT('SRID=4674;POINT (-38.390889 -3.456088)'))) / (select extract(epoch from '2026-07-06 16:34:01'::timestamp) - extract(epoch from '2026-07-06 16:33: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'), 47390, 'SRID=4674;POINT (-38.390899 -3.456123)', '2026-07-06 16:34:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390889 -3.456088)'), GeomFromEWKT('SRID=4674;POINT (-38.390899 -3.456123)'))) / (select extract(epoch from '2026-07-06 16:34:03'::timestamp) - extract(epoch from '2026-07-06 16:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390889 -3.456088)'), GeomFromEWKT('SRID=4674;POINT (-38.390899 -3.456123)'))) / (select extract(epoch from '2026-07-06 16:34:03'::timestamp) - extract(epoch from '2026-07-06 16:34:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.390952 -3.456262)', '2026-07-06 16:34:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390899 -3.456123)'), GeomFromEWKT('SRID=4674;POINT (-38.390952 -3.456262)'))) / (select extract(epoch from '2026-07-06 16:34:11'::timestamp) - extract(epoch from '2026-07-06 16:34:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390899 -3.456123)'), GeomFromEWKT('SRID=4674;POINT (-38.390952 -3.456262)'))) / (select extract(epoch from '2026-07-06 16:34:11'::timestamp) - extract(epoch from '2026-07-06 16:34: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'), 47390, 'SRID=4674;POINT (-38.39099 -3.456357)', '2026-07-06 16:34:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390952 -3.456262)'), GeomFromEWKT('SRID=4674;POINT (-38.39099 -3.456357)'))) / (select extract(epoch from '2026-07-06 16:34:16'::timestamp) - extract(epoch from '2026-07-06 16:34:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390952 -3.456262)'), GeomFromEWKT('SRID=4674;POINT (-38.39099 -3.456357)'))) / (select extract(epoch from '2026-07-06 16:34:16'::timestamp) - extract(epoch from '2026-07-06 16:34: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'), 47390, 'SRID=4674;POINT (-38.39104 -3.456482)', '2026-07-06 16:34:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39099 -3.456357)'), GeomFromEWKT('SRID=4674;POINT (-38.39104 -3.456482)'))) / (select extract(epoch from '2026-07-06 16:34:23'::timestamp) - extract(epoch from '2026-07-06 16:34:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39099 -3.456357)'), GeomFromEWKT('SRID=4674;POINT (-38.39104 -3.456482)'))) / (select extract(epoch from '2026-07-06 16:34:23'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.39109 -3.456618)', '2026-07-06 16:34:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39104 -3.456482)'), GeomFromEWKT('SRID=4674;POINT (-38.39109 -3.456618)'))) / (select extract(epoch from '2026-07-06 16:34:30'::timestamp) - extract(epoch from '2026-07-06 16:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39104 -3.456482)'), GeomFromEWKT('SRID=4674;POINT (-38.39109 -3.456618)'))) / (select extract(epoch from '2026-07-06 16:34:30'::timestamp) - extract(epoch from '2026-07-06 16:34: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'), 47390, 'SRID=4674;POINT (-38.391132 -3.456723)', '2026-07-06 16:34:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39109 -3.456618)'), GeomFromEWKT('SRID=4674;POINT (-38.391132 -3.456723)'))) / (select extract(epoch from '2026-07-06 16:34:36'::timestamp) - extract(epoch from '2026-07-06 16:34:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39109 -3.456618)'), GeomFromEWKT('SRID=4674;POINT (-38.391132 -3.456723)'))) / (select extract(epoch from '2026-07-06 16:34:36'::timestamp) - extract(epoch from '2026-07-06 16:34: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'), 47390, 'SRID=4674;POINT (-38.391159 -3.456789)', '2026-07-06 16:34:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391132 -3.456723)'), GeomFromEWKT('SRID=4674;POINT (-38.391159 -3.456789)'))) / (select extract(epoch from '2026-07-06 16:34:40'::timestamp) - extract(epoch from '2026-07-06 16:34:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391132 -3.456723)'), GeomFromEWKT('SRID=4674;POINT (-38.391159 -3.456789)'))) / (select extract(epoch from '2026-07-06 16:34:40'::timestamp) - extract(epoch from '2026-07-06 16:34: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'), 47390, 'SRID=4674;POINT (-38.391173 -3.456804)', '2026-07-06 16:34:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391159 -3.456789)'), GeomFromEWKT('SRID=4674;POINT (-38.391173 -3.456804)'))) / (select extract(epoch from '2026-07-06 16:34:41'::timestamp) - extract(epoch from '2026-07-06 16:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391159 -3.456789)'), GeomFromEWKT('SRID=4674;POINT (-38.391173 -3.456804)'))) / (select extract(epoch from '2026-07-06 16:34:41'::timestamp) - extract(epoch from '2026-07-06 16:34: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'), 47390, 'SRID=4674;POINT (-38.391198 -3.456873)', '2026-07-06 16:34:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391173 -3.456804)'), GeomFromEWKT('SRID=4674;POINT (-38.391198 -3.456873)'))) / (select extract(epoch from '2026-07-06 16:34:45'::timestamp) - extract(epoch from '2026-07-06 16:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391173 -3.456804)'), GeomFromEWKT('SRID=4674;POINT (-38.391198 -3.456873)'))) / (select extract(epoch from '2026-07-06 16:34:45'::timestamp) - extract(epoch from '2026-07-06 16:34: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'), 47390, 'SRID=4674;POINT (-38.391248 -3.456968)', '2026-07-06 16:34:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391198 -3.456873)'), GeomFromEWKT('SRID=4674;POINT (-38.391248 -3.456968)'))) / (select extract(epoch from '2026-07-06 16:34:51'::timestamp) - extract(epoch from '2026-07-06 16:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391198 -3.456873)'), GeomFromEWKT('SRID=4674;POINT (-38.391248 -3.456968)'))) / (select extract(epoch from '2026-07-06 16:34:51'::timestamp) - extract(epoch from '2026-07-06 16:34: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'), 47390, 'SRID=4674;POINT (-38.391298 -3.457073)', '2026-07-06 16:34:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391248 -3.456968)'), GeomFromEWKT('SRID=4674;POINT (-38.391298 -3.457073)'))) / (select extract(epoch from '2026-07-06 16:34:58'::timestamp) - extract(epoch from '2026-07-06 16:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391248 -3.456968)'), GeomFromEWKT('SRID=4674;POINT (-38.391298 -3.457073)'))) / (select extract(epoch from '2026-07-06 16:34:58'::timestamp) - extract(epoch from '2026-07-06 16:34:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.391346 -3.457183)', '2026-07-06 16:35:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391298 -3.457073)'), GeomFromEWKT('SRID=4674;POINT (-38.391346 -3.457183)'))) / (select extract(epoch from '2026-07-06 16:35:05'::timestamp) - extract(epoch from '2026-07-06 16:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391298 -3.457073)'), GeomFromEWKT('SRID=4674;POINT (-38.391346 -3.457183)'))) / (select extract(epoch from '2026-07-06 16:35:05'::timestamp) - extract(epoch from '2026-07-06 16:34: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'), 47390, 'SRID=4674;POINT (-38.391415 -3.457299)', '2026-07-06 16:35:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391346 -3.457183)'), GeomFromEWKT('SRID=4674;POINT (-38.391415 -3.457299)'))) / (select extract(epoch from '2026-07-06 16:35:12'::timestamp) - extract(epoch from '2026-07-06 16:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391346 -3.457183)'), GeomFromEWKT('SRID=4674;POINT (-38.391415 -3.457299)'))) / (select extract(epoch from '2026-07-06 16:35:12'::timestamp) - extract(epoch from '2026-07-06 16:35: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'), 47390, 'SRID=4674;POINT (-38.391468 -3.457404)', '2026-07-06 16:35:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391415 -3.457299)'), GeomFromEWKT('SRID=4674;POINT (-38.391468 -3.457404)'))) / (select extract(epoch from '2026-07-06 16:35:18'::timestamp) - extract(epoch from '2026-07-06 16:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391415 -3.457299)'), GeomFromEWKT('SRID=4674;POINT (-38.391468 -3.457404)'))) / (select extract(epoch from '2026-07-06 16:35:18'::timestamp) - extract(epoch from '2026-07-06 16:35: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'), 47390, 'SRID=4674;POINT (-38.391522 -3.457516)', '2026-07-06 16:35:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391468 -3.457404)'), GeomFromEWKT('SRID=4674;POINT (-38.391522 -3.457516)'))) / (select extract(epoch from '2026-07-06 16:35:24'::timestamp) - extract(epoch from '2026-07-06 16:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391468 -3.457404)'), GeomFromEWKT('SRID=4674;POINT (-38.391522 -3.457516)'))) / (select extract(epoch from '2026-07-06 16:35:24'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.39158 -3.457624)', '2026-07-06 16:35:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391522 -3.457516)'), GeomFromEWKT('SRID=4674;POINT (-38.39158 -3.457624)'))) / (select extract(epoch from '2026-07-06 16:35:30'::timestamp) - extract(epoch from '2026-07-06 16:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391522 -3.457516)'), GeomFromEWKT('SRID=4674;POINT (-38.39158 -3.457624)'))) / (select extract(epoch from '2026-07-06 16:35:30'::timestamp) - extract(epoch from '2026-07-06 16:35: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'), 47390, 'SRID=4674;POINT (-38.391613 -3.457723)', '2026-07-06 16:35:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39158 -3.457624)'), GeomFromEWKT('SRID=4674;POINT (-38.391613 -3.457723)'))) / (select extract(epoch from '2026-07-06 16:35:35'::timestamp) - extract(epoch from '2026-07-06 16:35:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39158 -3.457624)'), GeomFromEWKT('SRID=4674;POINT (-38.391613 -3.457723)'))) / (select extract(epoch from '2026-07-06 16:35:35'::timestamp) - extract(epoch from '2026-07-06 16:35: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'), 47390, 'SRID=4674;POINT (-38.391666 -3.457835)', '2026-07-06 16:35:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391613 -3.457723)'), GeomFromEWKT('SRID=4674;POINT (-38.391666 -3.457835)'))) / (select extract(epoch from '2026-07-06 16:35:41'::timestamp) - extract(epoch from '2026-07-06 16:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391613 -3.457723)'), GeomFromEWKT('SRID=4674;POINT (-38.391666 -3.457835)'))) / (select extract(epoch from '2026-07-06 16:35:41'::timestamp) - extract(epoch from '2026-07-06 16:35: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'), 47390, 'SRID=4674;POINT (-38.391708 -3.457941)', '2026-07-06 16:35:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391666 -3.457835)'), GeomFromEWKT('SRID=4674;POINT (-38.391708 -3.457941)'))) / (select extract(epoch from '2026-07-06 16:35:47'::timestamp) - extract(epoch from '2026-07-06 16:35:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391666 -3.457835)'), GeomFromEWKT('SRID=4674;POINT (-38.391708 -3.457941)'))) / (select extract(epoch from '2026-07-06 16:35:47'::timestamp) - extract(epoch from '2026-07-06 16:35: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'), 47390, 'SRID=4674;POINT (-38.391756 -3.45806)', '2026-07-06 16:35:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391708 -3.457941)'), GeomFromEWKT('SRID=4674;POINT (-38.391756 -3.45806)'))) / (select extract(epoch from '2026-07-06 16:35:54'::timestamp) - extract(epoch from '2026-07-06 16:35:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391708 -3.457941)'), GeomFromEWKT('SRID=4674;POINT (-38.391756 -3.45806)'))) / (select extract(epoch from '2026-07-06 16:35:54'::timestamp) - extract(epoch from '2026-07-06 16:35: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'), 47390, 'SRID=4674;POINT (-38.391817 -3.458167)', '2026-07-06 16:36:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391756 -3.45806)'), GeomFromEWKT('SRID=4674;POINT (-38.391817 -3.458167)'))) / (select extract(epoch from '2026-07-06 16:36:00'::timestamp) - extract(epoch from '2026-07-06 16:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391756 -3.45806)'), GeomFromEWKT('SRID=4674;POINT (-38.391817 -3.458167)'))) / (select extract(epoch from '2026-07-06 16:36:00'::timestamp) - extract(epoch from '2026-07-06 16:35: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'), 47390, 'SRID=4674;POINT (-38.391892 -3.458308)', '2026-07-06 16:36:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391817 -3.458167)'), GeomFromEWKT('SRID=4674;POINT (-38.391892 -3.458308)'))) / (select extract(epoch from '2026-07-06 16:36:08'::timestamp) - extract(epoch from '2026-07-06 16:36:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391817 -3.458167)'), GeomFromEWKT('SRID=4674;POINT (-38.391892 -3.458308)'))) / (select extract(epoch from '2026-07-06 16:36:08'::timestamp) - extract(epoch from '2026-07-06 16:36: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'), 47390, 'SRID=4674;POINT (-38.391961 -3.458443)', '2026-07-06 16:36:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391892 -3.458308)'), GeomFromEWKT('SRID=4674;POINT (-38.391961 -3.458443)'))) / (select extract(epoch from '2026-07-06 16:36:16'::timestamp) - extract(epoch from '2026-07-06 16:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391892 -3.458308)'), GeomFromEWKT('SRID=4674;POINT (-38.391961 -3.458443)'))) / (select extract(epoch from '2026-07-06 16:36:16'::timestamp) - extract(epoch from '2026-07-06 16:36: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'), 47390, 'SRID=4674;POINT (-38.392023 -3.458581)', '2026-07-06 16:36:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391961 -3.458443)'), GeomFromEWKT('SRID=4674;POINT (-38.392023 -3.458581)'))) / (select extract(epoch from '2026-07-06 16:36:24'::timestamp) - extract(epoch from '2026-07-06 16:36:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391961 -3.458443)'), GeomFromEWKT('SRID=4674;POINT (-38.392023 -3.458581)'))) / (select extract(epoch from '2026-07-06 16:36:24'::timestamp) - extract(epoch from '2026-07-06 16:36: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'), 47390, 'SRID=4674;POINT (-38.39209 -3.458707)', '2026-07-06 16:36:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392023 -3.458581)'), GeomFromEWKT('SRID=4674;POINT (-38.39209 -3.458707)'))) / (select extract(epoch from '2026-07-06 16:36:31'::timestamp) - extract(epoch from '2026-07-06 16:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392023 -3.458581)'), GeomFromEWKT('SRID=4674;POINT (-38.39209 -3.458707)'))) / (select extract(epoch from '2026-07-06 16:36:31'::timestamp) - extract(epoch from '2026-07-06 16:36: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'), 47390, 'SRID=4674;POINT (-38.39215 -3.458803)', '2026-07-06 16:36:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39209 -3.458707)'), GeomFromEWKT('SRID=4674;POINT (-38.39215 -3.458803)'))) / (select extract(epoch from '2026-07-06 16:36:37'::timestamp) - extract(epoch from '2026-07-06 16:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39209 -3.458707)'), GeomFromEWKT('SRID=4674;POINT (-38.39215 -3.458803)'))) / (select extract(epoch from '2026-07-06 16:36:37'::timestamp) - extract(epoch from '2026-07-06 16:36: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'), 47390, 'SRID=4674;POINT (-38.392204 -3.458917)', '2026-07-06 16:36:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39215 -3.458803)'), GeomFromEWKT('SRID=4674;POINT (-38.392204 -3.458917)'))) / (select extract(epoch from '2026-07-06 16:36:44'::timestamp) - extract(epoch from '2026-07-06 16:36:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39215 -3.458803)'), GeomFromEWKT('SRID=4674;POINT (-38.392204 -3.458917)'))) / (select extract(epoch from '2026-07-06 16:36:44'::timestamp) - extract(epoch from '2026-07-06 16:36: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'), 47390, 'SRID=4674;POINT (-38.392257 -3.459026)', '2026-07-06 16:36:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392204 -3.458917)'), GeomFromEWKT('SRID=4674;POINT (-38.392257 -3.459026)'))) / (select extract(epoch from '2026-07-06 16:36:51'::timestamp) - extract(epoch from '2026-07-06 16:36:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392204 -3.458917)'), GeomFromEWKT('SRID=4674;POINT (-38.392257 -3.459026)'))) / (select extract(epoch from '2026-07-06 16:36:51'::timestamp) - extract(epoch from '2026-07-06 16:36: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'), 47390, 'SRID=4674;POINT (-38.392315 -3.459125)', '2026-07-06 16:36:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392257 -3.459026)'), GeomFromEWKT('SRID=4674;POINT (-38.392315 -3.459125)'))) / (select extract(epoch from '2026-07-06 16:36:57'::timestamp) - extract(epoch from '2026-07-06 16:36:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392257 -3.459026)'), GeomFromEWKT('SRID=4674;POINT (-38.392315 -3.459125)'))) / (select extract(epoch from '2026-07-06 16:36:57'::timestamp) - extract(epoch from '2026-07-06 16:36: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'), 47390, 'SRID=4674;POINT (-38.392368 -3.459239)', '2026-07-06 16:37:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392315 -3.459125)'), GeomFromEWKT('SRID=4674;POINT (-38.392368 -3.459239)'))) / (select extract(epoch from '2026-07-06 16:37:04'::timestamp) - extract(epoch from '2026-07-06 16:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392315 -3.459125)'), GeomFromEWKT('SRID=4674;POINT (-38.392368 -3.459239)'))) / (select extract(epoch from '2026-07-06 16:37:04'::timestamp) - extract(epoch from '2026-07-06 16:36: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'), 47390, 'SRID=4674;POINT (-38.39242 -3.459337)', '2026-07-06 16:37:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392368 -3.459239)'), GeomFromEWKT('SRID=4674;POINT (-38.39242 -3.459337)'))) / (select extract(epoch from '2026-07-06 16:37:10'::timestamp) - extract(epoch from '2026-07-06 16:37:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392368 -3.459239)'), GeomFromEWKT('SRID=4674;POINT (-38.39242 -3.459337)'))) / (select extract(epoch from '2026-07-06 16:37:10'::timestamp) - extract(epoch from '2026-07-06 16:37: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'), 47390, 'SRID=4674;POINT (-38.392478 -3.459452)', '2026-07-06 16:37:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39242 -3.459337)'), GeomFromEWKT('SRID=4674;POINT (-38.392478 -3.459452)'))) / (select extract(epoch from '2026-07-06 16:37:17'::timestamp) - extract(epoch from '2026-07-06 16:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39242 -3.459337)'), GeomFromEWKT('SRID=4674;POINT (-38.392478 -3.459452)'))) / (select extract(epoch from '2026-07-06 16:37:17'::timestamp) - extract(epoch from '2026-07-06 16:37: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'), 47390, 'SRID=4674;POINT (-38.392536 -3.45957)', '2026-07-06 16:37:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392478 -3.459452)'), GeomFromEWKT('SRID=4674;POINT (-38.392536 -3.45957)'))) / (select extract(epoch from '2026-07-06 16:37:24'::timestamp) - extract(epoch from '2026-07-06 16:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392478 -3.459452)'), GeomFromEWKT('SRID=4674;POINT (-38.392536 -3.45957)'))) / (select extract(epoch from '2026-07-06 16:37:24'::timestamp) - extract(epoch from '2026-07-06 16:37: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'), 47390, 'SRID=4674;POINT (-38.392611 -3.459716)', '2026-07-06 16:37:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392536 -3.45957)'), GeomFromEWKT('SRID=4674;POINT (-38.392611 -3.459716)'))) / (select extract(epoch from '2026-07-06 16:37:33'::timestamp) - extract(epoch from '2026-07-06 16:37:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392536 -3.45957)'), GeomFromEWKT('SRID=4674;POINT (-38.392611 -3.459716)'))) / (select extract(epoch from '2026-07-06 16:37:33'::timestamp) - extract(epoch from '2026-07-06 16:37: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'), 47390, 'SRID=4674;POINT (-38.39267 -3.459818)', '2026-07-06 16:37:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392611 -3.459716)'), GeomFromEWKT('SRID=4674;POINT (-38.39267 -3.459818)'))) / (select extract(epoch from '2026-07-06 16:37:39'::timestamp) - extract(epoch from '2026-07-06 16:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392611 -3.459716)'), GeomFromEWKT('SRID=4674;POINT (-38.39267 -3.459818)'))) / (select extract(epoch from '2026-07-06 16:37:39'::timestamp) - extract(epoch from '2026-07-06 16:37: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'), 47390, 'SRID=4674;POINT (-38.392734 -3.459929)', '2026-07-06 16:37:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39267 -3.459818)'), GeomFromEWKT('SRID=4674;POINT (-38.392734 -3.459929)'))) / (select extract(epoch from '2026-07-06 16:37:46'::timestamp) - extract(epoch from '2026-07-06 16:37:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39267 -3.459818)'), GeomFromEWKT('SRID=4674;POINT (-38.392734 -3.459929)'))) / (select extract(epoch from '2026-07-06 16:37:46'::timestamp) - extract(epoch from '2026-07-06 16:37:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.392782 -3.460033)', '2026-07-06 16:37:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392734 -3.459929)'), GeomFromEWKT('SRID=4674;POINT (-38.392782 -3.460033)'))) / (select extract(epoch from '2026-07-06 16:37:53'::timestamp) - extract(epoch from '2026-07-06 16:37:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392734 -3.459929)'), GeomFromEWKT('SRID=4674;POINT (-38.392782 -3.460033)'))) / (select extract(epoch from '2026-07-06 16:37:53'::timestamp) - extract(epoch from '2026-07-06 16:37: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'), 47390, 'SRID=4674;POINT (-38.392837 -3.460142)', '2026-07-06 16:38:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392782 -3.460033)'), GeomFromEWKT('SRID=4674;POINT (-38.392837 -3.460142)'))) / (select extract(epoch from '2026-07-06 16:38:00'::timestamp) - extract(epoch from '2026-07-06 16:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392782 -3.460033)'), GeomFromEWKT('SRID=4674;POINT (-38.392837 -3.460142)'))) / (select extract(epoch from '2026-07-06 16:38:00'::timestamp) - extract(epoch from '2026-07-06 16:37: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'), 47390, 'SRID=4674;POINT (-38.392889 -3.460243)', '2026-07-06 16:38:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392837 -3.460142)'), GeomFromEWKT('SRID=4674;POINT (-38.392889 -3.460243)'))) / (select extract(epoch from '2026-07-06 16:38:06'::timestamp) - extract(epoch from '2026-07-06 16:38:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392837 -3.460142)'), GeomFromEWKT('SRID=4674;POINT (-38.392889 -3.460243)'))) / (select extract(epoch from '2026-07-06 16:38:06'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.39292 -3.460305)', '2026-07-06 16:38:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392889 -3.460243)'), GeomFromEWKT('SRID=4674;POINT (-38.39292 -3.460305)'))) / (select extract(epoch from '2026-07-06 16:38:10'::timestamp) - extract(epoch from '2026-07-06 16:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392889 -3.460243)'), GeomFromEWKT('SRID=4674;POINT (-38.39292 -3.460305)'))) / (select extract(epoch from '2026-07-06 16:38:10'::timestamp) - extract(epoch from '2026-07-06 16:38: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'), 47390, 'SRID=4674;POINT (-38.392948 -3.460332)', '2026-07-06 16:38:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39292 -3.460305)'), GeomFromEWKT('SRID=4674;POINT (-38.392948 -3.460332)'))) / (select extract(epoch from '2026-07-06 16:38:12'::timestamp) - extract(epoch from '2026-07-06 16:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39292 -3.460305)'), GeomFromEWKT('SRID=4674;POINT (-38.392948 -3.460332)'))) / (select extract(epoch from '2026-07-06 16:38:12'::timestamp) - extract(epoch from '2026-07-06 16:38: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'), 47390, 'SRID=4674;POINT (-38.393004 -3.460419)', '2026-07-06 16:38:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392948 -3.460332)'), GeomFromEWKT('SRID=4674;POINT (-38.393004 -3.460419)'))) / (select extract(epoch from '2026-07-06 16:38:18'::timestamp) - extract(epoch from '2026-07-06 16:38:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392948 -3.460332)'), GeomFromEWKT('SRID=4674;POINT (-38.393004 -3.460419)'))) / (select extract(epoch from '2026-07-06 16:38:18'::timestamp) - extract(epoch from '2026-07-06 16:38: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'), 47390, 'SRID=4674;POINT (-38.39307 -3.460554)', '2026-07-06 16:38:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393004 -3.460419)'), GeomFromEWKT('SRID=4674;POINT (-38.39307 -3.460554)'))) / (select extract(epoch from '2026-07-06 16:38:26'::timestamp) - extract(epoch from '2026-07-06 16:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393004 -3.460419)'), GeomFromEWKT('SRID=4674;POINT (-38.39307 -3.460554)'))) / (select extract(epoch from '2026-07-06 16:38:26'::timestamp) - extract(epoch from '2026-07-06 16:38: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'), 47390, 'SRID=4674;POINT (-38.393128 -3.460675)', '2026-07-06 16:38:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39307 -3.460554)'), GeomFromEWKT('SRID=4674;POINT (-38.393128 -3.460675)'))) / (select extract(epoch from '2026-07-06 16:38:34'::timestamp) - extract(epoch from '2026-07-06 16:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39307 -3.460554)'), GeomFromEWKT('SRID=4674;POINT (-38.393128 -3.460675)'))) / (select extract(epoch from '2026-07-06 16:38:34'::timestamp) - extract(epoch from '2026-07-06 16:38: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'), 47390, 'SRID=4674;POINT (-38.393198 -3.460795)', '2026-07-06 16:38:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393128 -3.460675)'), GeomFromEWKT('SRID=4674;POINT (-38.393198 -3.460795)'))) / (select extract(epoch from '2026-07-06 16:38:42'::timestamp) - extract(epoch from '2026-07-06 16:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393128 -3.460675)'), GeomFromEWKT('SRID=4674;POINT (-38.393198 -3.460795)'))) / (select extract(epoch from '2026-07-06 16:38:42'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.393242 -3.460877)', '2026-07-06 16:38:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393198 -3.460795)'), GeomFromEWKT('SRID=4674;POINT (-38.393242 -3.460877)'))) / (select extract(epoch from '2026-07-06 16:38:47'::timestamp) - extract(epoch from '2026-07-06 16:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393198 -3.460795)'), GeomFromEWKT('SRID=4674;POINT (-38.393242 -3.460877)'))) / (select extract(epoch from '2026-07-06 16:38:47'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.393306 -3.460986)', '2026-07-06 16:38:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393242 -3.460877)'), GeomFromEWKT('SRID=4674;POINT (-38.393306 -3.460986)'))) / (select extract(epoch from '2026-07-06 16:38:54'::timestamp) - extract(epoch from '2026-07-06 16:38:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393242 -3.460877)'), GeomFromEWKT('SRID=4674;POINT (-38.393306 -3.460986)'))) / (select extract(epoch from '2026-07-06 16:38:54'::timestamp) - extract(epoch from '2026-07-06 16:38: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'), 47390, 'SRID=4674;POINT (-38.393369 -3.461104)', '2026-07-06 16:39:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393306 -3.460986)'), GeomFromEWKT('SRID=4674;POINT (-38.393369 -3.461104)'))) / (select extract(epoch from '2026-07-06 16:39:01'::timestamp) - extract(epoch from '2026-07-06 16:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393306 -3.460986)'), GeomFromEWKT('SRID=4674;POINT (-38.393369 -3.461104)'))) / (select extract(epoch from '2026-07-06 16:39:01'::timestamp) - extract(epoch from '2026-07-06 16:38: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'), 47390, 'SRID=4674;POINT (-38.393428 -3.46121)', '2026-07-06 16:39:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393369 -3.461104)'), GeomFromEWKT('SRID=4674;POINT (-38.393428 -3.46121)'))) / (select extract(epoch from '2026-07-06 16:39:08'::timestamp) - extract(epoch from '2026-07-06 16:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393369 -3.461104)'), GeomFromEWKT('SRID=4674;POINT (-38.393428 -3.46121)'))) / (select extract(epoch from '2026-07-06 16:39:08'::timestamp) - extract(epoch from '2026-07-06 16:39:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.393494 -3.461334)', '2026-07-06 16:39:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393428 -3.46121)'), GeomFromEWKT('SRID=4674;POINT (-38.393494 -3.461334)'))) / (select extract(epoch from '2026-07-06 16:39:15'::timestamp) - extract(epoch from '2026-07-06 16:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393428 -3.46121)'), GeomFromEWKT('SRID=4674;POINT (-38.393494 -3.461334)'))) / (select extract(epoch from '2026-07-06 16:39:15'::timestamp) - extract(epoch from '2026-07-06 16:39:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.39355 -3.461445)', '2026-07-06 16:39:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393494 -3.461334)'), GeomFromEWKT('SRID=4674;POINT (-38.39355 -3.461445)'))) / (select extract(epoch from '2026-07-06 16:39:21'::timestamp) - extract(epoch from '2026-07-06 16:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393494 -3.461334)'), GeomFromEWKT('SRID=4674;POINT (-38.39355 -3.461445)'))) / (select extract(epoch from '2026-07-06 16:39:21'::timestamp) - extract(epoch from '2026-07-06 16:39:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.393613 -3.461565)', '2026-07-06 16:39:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39355 -3.461445)'), GeomFromEWKT('SRID=4674;POINT (-38.393613 -3.461565)'))) / (select extract(epoch from '2026-07-06 16:39:27'::timestamp) - extract(epoch from '2026-07-06 16:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39355 -3.461445)'), GeomFromEWKT('SRID=4674;POINT (-38.393613 -3.461565)'))) / (select extract(epoch from '2026-07-06 16:39:27'::timestamp) - extract(epoch from '2026-07-06 16:39:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.393668 -3.461672)', '2026-07-06 16:39:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393613 -3.461565)'), GeomFromEWKT('SRID=4674;POINT (-38.393668 -3.461672)'))) / (select extract(epoch from '2026-07-06 16:39:33'::timestamp) - extract(epoch from '2026-07-06 16:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393613 -3.461565)'), GeomFromEWKT('SRID=4674;POINT (-38.393668 -3.461672)'))) / (select extract(epoch from '2026-07-06 16:39:33'::timestamp) - extract(epoch from '2026-07-06 16:39:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.39373 -3.461795)', '2026-07-06 16:39:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393668 -3.461672)'), GeomFromEWKT('SRID=4674;POINT (-38.39373 -3.461795)'))) / (select extract(epoch from '2026-07-06 16:39:40'::timestamp) - extract(epoch from '2026-07-06 16:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393668 -3.461672)'), GeomFromEWKT('SRID=4674;POINT (-38.39373 -3.461795)'))) / (select extract(epoch from '2026-07-06 16:39:40'::timestamp) - extract(epoch from '2026-07-06 16:39:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.393784 -3.461889)', '2026-07-06 16:39:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39373 -3.461795)'), GeomFromEWKT('SRID=4674;POINT (-38.393784 -3.461889)'))) / (select extract(epoch from '2026-07-06 16:39:45'::timestamp) - extract(epoch from '2026-07-06 16:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39373 -3.461795)'), GeomFromEWKT('SRID=4674;POINT (-38.393784 -3.461889)'))) / (select extract(epoch from '2026-07-06 16:39:45'::timestamp) - extract(epoch from '2026-07-06 16:39:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.393834 -3.462015)', '2026-07-06 16:39:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393784 -3.461889)'), GeomFromEWKT('SRID=4674;POINT (-38.393834 -3.462015)'))) / (select extract(epoch from '2026-07-06 16:39:52'::timestamp) - extract(epoch from '2026-07-06 16:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393784 -3.461889)'), GeomFromEWKT('SRID=4674;POINT (-38.393834 -3.462015)'))) / (select extract(epoch from '2026-07-06 16:39:52'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.3939 -3.462133)', '2026-07-06 16:39:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393834 -3.462015)'), GeomFromEWKT('SRID=4674;POINT (-38.3939 -3.462133)'))) / (select extract(epoch from '2026-07-06 16:39:59'::timestamp) - extract(epoch from '2026-07-06 16:39:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393834 -3.462015)'), GeomFromEWKT('SRID=4674;POINT (-38.3939 -3.462133)'))) / (select extract(epoch from '2026-07-06 16:39:59'::timestamp) - extract(epoch from '2026-07-06 16:39:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.393953 -3.462234)', '2026-07-06 16:40:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3939 -3.462133)'), GeomFromEWKT('SRID=4674;POINT (-38.393953 -3.462234)'))) / (select extract(epoch from '2026-07-06 16:40:05'::timestamp) - extract(epoch from '2026-07-06 16:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3939 -3.462133)'), GeomFromEWKT('SRID=4674;POINT (-38.393953 -3.462234)'))) / (select extract(epoch from '2026-07-06 16:40:05'::timestamp) - extract(epoch from '2026-07-06 16:39:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.394016 -3.462343)', '2026-07-06 16:40:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393953 -3.462234)'), GeomFromEWKT('SRID=4674;POINT (-38.394016 -3.462343)'))) / (select extract(epoch from '2026-07-06 16:40:12'::timestamp) - extract(epoch from '2026-07-06 16:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393953 -3.462234)'), GeomFromEWKT('SRID=4674;POINT (-38.394016 -3.462343)'))) / (select extract(epoch from '2026-07-06 16:40:12'::timestamp) - extract(epoch from '2026-07-06 16:40:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.394072 -3.462446)', '2026-07-06 16:40:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394016 -3.462343)'), GeomFromEWKT('SRID=4674;POINT (-38.394072 -3.462446)'))) / (select extract(epoch from '2026-07-06 16:40:19'::timestamp) - extract(epoch from '2026-07-06 16:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394016 -3.462343)'), GeomFromEWKT('SRID=4674;POINT (-38.394072 -3.462446)'))) / (select extract(epoch from '2026-07-06 16:40:19'::timestamp) - extract(epoch from '2026-07-06 16:40:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.394133 -3.462563)', '2026-07-06 16:40:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394072 -3.462446)'), GeomFromEWKT('SRID=4674;POINT (-38.394133 -3.462563)'))) / (select extract(epoch from '2026-07-06 16:40:26'::timestamp) - extract(epoch from '2026-07-06 16:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394072 -3.462446)'), GeomFromEWKT('SRID=4674;POINT (-38.394133 -3.462563)'))) / (select extract(epoch from '2026-07-06 16:40:26'::timestamp) - extract(epoch from '2026-07-06 16:40:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.394167 -3.462644)', '2026-07-06 16:40:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394133 -3.462563)'), GeomFromEWKT('SRID=4674;POINT (-38.394167 -3.462644)'))) / (select extract(epoch from '2026-07-06 16:40:31'::timestamp) - extract(epoch from '2026-07-06 16:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394133 -3.462563)'), GeomFromEWKT('SRID=4674;POINT (-38.394167 -3.462644)'))) / (select extract(epoch from '2026-07-06 16:40:31'::timestamp) - extract(epoch from '2026-07-06 16:40:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.394229 -3.462753)', '2026-07-06 16:40:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394167 -3.462644)'), GeomFromEWKT('SRID=4674;POINT (-38.394229 -3.462753)'))) / (select extract(epoch from '2026-07-06 16:40:38'::timestamp) - extract(epoch from '2026-07-06 16:40:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394167 -3.462644)'), GeomFromEWKT('SRID=4674;POINT (-38.394229 -3.462753)'))) / (select extract(epoch from '2026-07-06 16:40:38'::timestamp) - extract(epoch from '2026-07-06 16: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'), 47390, 'SRID=4674;POINT (-38.394284 -3.462829)', '2026-07-06 16:40:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394229 -3.462753)'), GeomFromEWKT('SRID=4674;POINT (-38.394284 -3.462829)'))) / (select extract(epoch from '2026-07-06 16:40:43'::timestamp) - extract(epoch from '2026-07-06 16:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394229 -3.462753)'), GeomFromEWKT('SRID=4674;POINT (-38.394284 -3.462829)'))) / (select extract(epoch from '2026-07-06 16:40:43'::timestamp) - extract(epoch from '2026-07-06 16:40:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.394334 -3.462928)', '2026-07-06 16:40:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394284 -3.462829)'), GeomFromEWKT('SRID=4674;POINT (-38.394334 -3.462928)'))) / (select extract(epoch from '2026-07-06 16:40:49'::timestamp) - extract(epoch from '2026-07-06 16:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394284 -3.462829)'), GeomFromEWKT('SRID=4674;POINT (-38.394334 -3.462928)'))) / (select extract(epoch from '2026-07-06 16:40:49'::timestamp) - extract(epoch from '2026-07-06 16:40:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.394386 -3.463023)', '2026-07-06 16:40:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394334 -3.462928)'), GeomFromEWKT('SRID=4674;POINT (-38.394386 -3.463023)'))) / (select extract(epoch from '2026-07-06 16:40:55'::timestamp) - extract(epoch from '2026-07-06 16:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394334 -3.462928)'), GeomFromEWKT('SRID=4674;POINT (-38.394386 -3.463023)'))) / (select extract(epoch from '2026-07-06 16:40:55'::timestamp) - extract(epoch from '2026-07-06 16:40:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.39445 -3.463125)', '2026-07-06 16:41:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394386 -3.463023)'), GeomFromEWKT('SRID=4674;POINT (-38.39445 -3.463125)'))) / (select extract(epoch from '2026-07-06 16:41:02'::timestamp) - extract(epoch from '2026-07-06 16:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394386 -3.463023)'), GeomFromEWKT('SRID=4674;POINT (-38.39445 -3.463125)'))) / (select extract(epoch from '2026-07-06 16:41:02'::timestamp) - extract(epoch from '2026-07-06 16:40:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.394508 -3.463231)', '2026-07-06 16:41:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39445 -3.463125)'), GeomFromEWKT('SRID=4674;POINT (-38.394508 -3.463231)'))) / (select extract(epoch from '2026-07-06 16:41:10'::timestamp) - extract(epoch from '2026-07-06 16:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39445 -3.463125)'), GeomFromEWKT('SRID=4674;POINT (-38.394508 -3.463231)'))) / (select extract(epoch from '2026-07-06 16:41:10'::timestamp) - extract(epoch from '2026-07-06 16:41:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.394555 -3.463311)', '2026-07-06 16:41:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394508 -3.463231)'), GeomFromEWKT('SRID=4674;POINT (-38.394555 -3.463311)'))) / (select extract(epoch from '2026-07-06 16:41:16'::timestamp) - extract(epoch from '2026-07-06 16:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394508 -3.463231)'), GeomFromEWKT('SRID=4674;POINT (-38.394555 -3.463311)'))) / (select extract(epoch from '2026-07-06 16:41:16'::timestamp) - extract(epoch from '2026-07-06 16:41:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.394617 -3.463405)', '2026-07-06 16:41:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394555 -3.463311)'), GeomFromEWKT('SRID=4674;POINT (-38.394617 -3.463405)'))) / (select extract(epoch from '2026-07-06 16:41:22'::timestamp) - extract(epoch from '2026-07-06 16:41:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394555 -3.463311)'), GeomFromEWKT('SRID=4674;POINT (-38.394617 -3.463405)'))) / (select extract(epoch from '2026-07-06 16:41:22'::timestamp) - extract(epoch from '2026-07-06 16:41:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.394629 -3.463434)', '2026-07-06 16:41:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394617 -3.463405)'), GeomFromEWKT('SRID=4674;POINT (-38.394629 -3.463434)'))) / (select extract(epoch from '2026-07-06 16:41:24'::timestamp) - extract(epoch from '2026-07-06 16:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394617 -3.463405)'), GeomFromEWKT('SRID=4674;POINT (-38.394629 -3.463434)'))) / (select extract(epoch from '2026-07-06 16:41:24'::timestamp) - extract(epoch from '2026-07-06 16:41: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'), 47390, 'SRID=4674;POINT (-38.394662 -3.463487)', '2026-07-06 16:41:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394629 -3.463434)'), GeomFromEWKT('SRID=4674;POINT (-38.394662 -3.463487)'))) / (select extract(epoch from '2026-07-06 16:41:27'::timestamp) - extract(epoch from '2026-07-06 16:41:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394629 -3.463434)'), GeomFromEWKT('SRID=4674;POINT (-38.394662 -3.463487)'))) / (select extract(epoch from '2026-07-06 16:41:27'::timestamp) - extract(epoch from '2026-07-06 16:41: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'), 47390, 'SRID=4674;POINT (-38.394701 -3.463575)', '2026-07-06 16:41:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394662 -3.463487)'), GeomFromEWKT('SRID=4674;POINT (-38.394701 -3.463575)'))) / (select extract(epoch from '2026-07-06 16:41:32'::timestamp) - extract(epoch from '2026-07-06 16:41:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394662 -3.463487)'), GeomFromEWKT('SRID=4674;POINT (-38.394701 -3.463575)'))) / (select extract(epoch from '2026-07-06 16:41:32'::timestamp) - extract(epoch from '2026-07-06 16:41: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'), 47390, 'SRID=4674;POINT (-38.394741 -3.463682)', '2026-07-06 16:41:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394701 -3.463575)'), GeomFromEWKT('SRID=4674;POINT (-38.394741 -3.463682)'))) / (select extract(epoch from '2026-07-06 16:41:38'::timestamp) - extract(epoch from '2026-07-06 16:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394701 -3.463575)'), GeomFromEWKT('SRID=4674;POINT (-38.394741 -3.463682)'))) / (select extract(epoch from '2026-07-06 16:41:38'::timestamp) - extract(epoch from '2026-07-06 16:41: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'), 47390, 'SRID=4674;POINT (-38.394802 -3.463817)', '2026-07-06 16:41:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394741 -3.463682)'), GeomFromEWKT('SRID=4674;POINT (-38.394802 -3.463817)'))) / (select extract(epoch from '2026-07-06 16:41:46'::timestamp) - extract(epoch from '2026-07-06 16:41:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394741 -3.463682)'), GeomFromEWKT('SRID=4674;POINT (-38.394802 -3.463817)'))) / (select extract(epoch from '2026-07-06 16:41:46'::timestamp) - extract(epoch from '2026-07-06 16:41: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'), 47390, 'SRID=4674;POINT (-38.394856 -3.463933)', '2026-07-06 16:41:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394802 -3.463817)'), GeomFromEWKT('SRID=4674;POINT (-38.394856 -3.463933)'))) / (select extract(epoch from '2026-07-06 16:41:53'::timestamp) - extract(epoch from '2026-07-06 16:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394802 -3.463817)'), GeomFromEWKT('SRID=4674;POINT (-38.394856 -3.463933)'))) / (select extract(epoch from '2026-07-06 16:41:53'::timestamp) - extract(epoch from '2026-07-06 16:41: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'), 47390, 'SRID=4674;POINT (-38.394886 -3.464015)', '2026-07-06 16:41:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394856 -3.463933)'), GeomFromEWKT('SRID=4674;POINT (-38.394886 -3.464015)'))) / (select extract(epoch from '2026-07-06 16:41:58'::timestamp) - extract(epoch from '2026-07-06 16:41:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394856 -3.463933)'), GeomFromEWKT('SRID=4674;POINT (-38.394886 -3.464015)'))) / (select extract(epoch from '2026-07-06 16:41:58'::timestamp) - extract(epoch from '2026-07-06 16:41:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
