BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.985757 -3.369684)', '2026-08-16 07:08:43', 10, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.985764 -3.369696)', '2026-08-16 07:08:44', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.985757 -3.369684)'), GeomFromEWKT('SRID=4674;POINT (-38.985764 -3.369696)'))) / (select extract(epoch from '2026-08-16 07:08:44'::timestamp) - extract(epoch from '2026-08-16 07:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.985757 -3.369684)'), GeomFromEWKT('SRID=4674;POINT (-38.985764 -3.369696)'))) / (select extract(epoch from '2026-08-16 07:08:44'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.985779 -3.369724)', '2026-08-16 07:08:46', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.985764 -3.369696)'), GeomFromEWKT('SRID=4674;POINT (-38.985779 -3.369724)'))) / (select extract(epoch from '2026-08-16 07:08:46'::timestamp) - extract(epoch from '2026-08-16 07:08:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.985764 -3.369696)'), GeomFromEWKT('SRID=4674;POINT (-38.985779 -3.369724)'))) / (select extract(epoch from '2026-08-16 07:08:46'::timestamp) - extract(epoch from '2026-08-16 07:08: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'), 48145, 'SRID=4674;POINT (-38.985799 -3.369736)', '2026-08-16 07:08:47', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.985779 -3.369724)'), GeomFromEWKT('SRID=4674;POINT (-38.985799 -3.369736)'))) / (select extract(epoch from '2026-08-16 07:08:47'::timestamp) - extract(epoch from '2026-08-16 07:08:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.985779 -3.369724)'), GeomFromEWKT('SRID=4674;POINT (-38.985799 -3.369736)'))) / (select extract(epoch from '2026-08-16 07:08:47'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.985901 -3.369832)', '2026-08-16 07:08:53', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.985799 -3.369736)'), GeomFromEWKT('SRID=4674;POINT (-38.985901 -3.369832)'))) / (select extract(epoch from '2026-08-16 07:08:53'::timestamp) - extract(epoch from '2026-08-16 07:08:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.985799 -3.369736)'), GeomFromEWKT('SRID=4674;POINT (-38.985901 -3.369832)'))) / (select extract(epoch from '2026-08-16 07:08:53'::timestamp) - extract(epoch from '2026-08-16 07:08:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.985972 -3.369885)', '2026-08-16 07:08:58', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.985901 -3.369832)'), GeomFromEWKT('SRID=4674;POINT (-38.985972 -3.369885)'))) / (select extract(epoch from '2026-08-16 07:08:58'::timestamp) - extract(epoch from '2026-08-16 07:08:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.985901 -3.369832)'), GeomFromEWKT('SRID=4674;POINT (-38.985972 -3.369885)'))) / (select extract(epoch from '2026-08-16 07:08:58'::timestamp) - extract(epoch from '2026-08-16 07:08: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'), 48145, 'SRID=4674;POINT (-38.986078 -3.369967)', '2026-08-16 07:09:04', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.985972 -3.369885)'), GeomFromEWKT('SRID=4674;POINT (-38.986078 -3.369967)'))) / (select extract(epoch from '2026-08-16 07:09:04'::timestamp) - extract(epoch from '2026-08-16 07:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.985972 -3.369885)'), GeomFromEWKT('SRID=4674;POINT (-38.986078 -3.369967)'))) / (select extract(epoch from '2026-08-16 07:09:04'::timestamp) - extract(epoch from '2026-08-16 07:08:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.986144 -3.370018)', '2026-08-16 07:09:08', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986078 -3.369967)'), GeomFromEWKT('SRID=4674;POINT (-38.986144 -3.370018)'))) / (select extract(epoch from '2026-08-16 07:09:08'::timestamp) - extract(epoch from '2026-08-16 07:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986078 -3.369967)'), GeomFromEWKT('SRID=4674;POINT (-38.986144 -3.370018)'))) / (select extract(epoch from '2026-08-16 07:09:08'::timestamp) - extract(epoch from '2026-08-16 07:09: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'), 48145, 'SRID=4674;POINT (-38.986214 -3.37008)', '2026-08-16 07:09:13', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986144 -3.370018)'), GeomFromEWKT('SRID=4674;POINT (-38.986214 -3.37008)'))) / (select extract(epoch from '2026-08-16 07:09:13'::timestamp) - extract(epoch from '2026-08-16 07:09:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986144 -3.370018)'), GeomFromEWKT('SRID=4674;POINT (-38.986214 -3.37008)'))) / (select extract(epoch from '2026-08-16 07:09:13'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.986317 -3.37017)', '2026-08-16 07:09:19', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986214 -3.37008)'), GeomFromEWKT('SRID=4674;POINT (-38.986317 -3.37017)'))) / (select extract(epoch from '2026-08-16 07:09:19'::timestamp) - extract(epoch from '2026-08-16 07:09:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986214 -3.37008)'), GeomFromEWKT('SRID=4674;POINT (-38.986317 -3.37017)'))) / (select extract(epoch from '2026-08-16 07:09:19'::timestamp) - extract(epoch from '2026-08-16 07:09: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'), 48145, 'SRID=4674;POINT (-38.986348 -3.370202)', '2026-08-16 07:09:21', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986317 -3.37017)'), GeomFromEWKT('SRID=4674;POINT (-38.986348 -3.370202)'))) / (select extract(epoch from '2026-08-16 07:09:21'::timestamp) - extract(epoch from '2026-08-16 07:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986317 -3.37017)'), GeomFromEWKT('SRID=4674;POINT (-38.986348 -3.370202)'))) / (select extract(epoch from '2026-08-16 07:09:21'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.98638 -3.370247)', '2026-08-16 07:09:23', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986348 -3.370202)'), GeomFromEWKT('SRID=4674;POINT (-38.98638 -3.370247)'))) / (select extract(epoch from '2026-08-16 07:09:23'::timestamp) - extract(epoch from '2026-08-16 07:09:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986348 -3.370202)'), GeomFromEWKT('SRID=4674;POINT (-38.98638 -3.370247)'))) / (select extract(epoch from '2026-08-16 07:09:23'::timestamp) - extract(epoch from '2026-08-16 07:09:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.986474 -3.37035)', '2026-08-16 07:09:29', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98638 -3.370247)'), GeomFromEWKT('SRID=4674;POINT (-38.986474 -3.37035)'))) / (select extract(epoch from '2026-08-16 07:09:29'::timestamp) - extract(epoch from '2026-08-16 07:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98638 -3.370247)'), GeomFromEWKT('SRID=4674;POINT (-38.986474 -3.37035)'))) / (select extract(epoch from '2026-08-16 07:09:29'::timestamp) - extract(epoch from '2026-08-16 07:09: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'), 48145, 'SRID=4674;POINT (-38.986568 -3.370458)', '2026-08-16 07:09:36', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986474 -3.37035)'), GeomFromEWKT('SRID=4674;POINT (-38.986568 -3.370458)'))) / (select extract(epoch from '2026-08-16 07:09:36'::timestamp) - extract(epoch from '2026-08-16 07:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986474 -3.37035)'), GeomFromEWKT('SRID=4674;POINT (-38.986568 -3.370458)'))) / (select extract(epoch from '2026-08-16 07:09:36'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.986657 -3.37055)', '2026-08-16 07:09:42', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986568 -3.370458)'), GeomFromEWKT('SRID=4674;POINT (-38.986657 -3.37055)'))) / (select extract(epoch from '2026-08-16 07:09:42'::timestamp) - extract(epoch from '2026-08-16 07:09:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986568 -3.370458)'), GeomFromEWKT('SRID=4674;POINT (-38.986657 -3.37055)'))) / (select extract(epoch from '2026-08-16 07:09:42'::timestamp) - extract(epoch from '2026-08-16 07:09:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.986786 -3.370634)', '2026-08-16 07:09:49', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986657 -3.37055)'), GeomFromEWKT('SRID=4674;POINT (-38.986786 -3.370634)'))) / (select extract(epoch from '2026-08-16 07:09:49'::timestamp) - extract(epoch from '2026-08-16 07:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986657 -3.37055)'), GeomFromEWKT('SRID=4674;POINT (-38.986786 -3.370634)'))) / (select extract(epoch from '2026-08-16 07:09:49'::timestamp) - extract(epoch from '2026-08-16 07:09: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'), 48145, 'SRID=4674;POINT (-38.986883 -3.370726)', '2026-08-16 07:09:55', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986786 -3.370634)'), GeomFromEWKT('SRID=4674;POINT (-38.986883 -3.370726)'))) / (select extract(epoch from '2026-08-16 07:09:55'::timestamp) - extract(epoch from '2026-08-16 07:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986786 -3.370634)'), GeomFromEWKT('SRID=4674;POINT (-38.986883 -3.370726)'))) / (select extract(epoch from '2026-08-16 07:09:55'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.98697 -3.370804)', '2026-08-16 07:10:01', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986883 -3.370726)'), GeomFromEWKT('SRID=4674;POINT (-38.98697 -3.370804)'))) / (select extract(epoch from '2026-08-16 07:10:01'::timestamp) - extract(epoch from '2026-08-16 07:09:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986883 -3.370726)'), GeomFromEWKT('SRID=4674;POINT (-38.98697 -3.370804)'))) / (select extract(epoch from '2026-08-16 07:10:01'::timestamp) - extract(epoch from '2026-08-16 07:09: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'), 48145, 'SRID=4674;POINT (-38.987065 -3.370914)', '2026-08-16 07:10:08', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98697 -3.370804)'), GeomFromEWKT('SRID=4674;POINT (-38.987065 -3.370914)'))) / (select extract(epoch from '2026-08-16 07:10:08'::timestamp) - extract(epoch from '2026-08-16 07:10:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98697 -3.370804)'), GeomFromEWKT('SRID=4674;POINT (-38.987065 -3.370914)'))) / (select extract(epoch from '2026-08-16 07:10:08'::timestamp) - extract(epoch from '2026-08-16 07:10: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'), 48145, 'SRID=4674;POINT (-38.987149 -3.371009)', '2026-08-16 07:10:14', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.987065 -3.370914)'), GeomFromEWKT('SRID=4674;POINT (-38.987149 -3.371009)'))) / (select extract(epoch from '2026-08-16 07:10:14'::timestamp) - extract(epoch from '2026-08-16 07:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.987065 -3.370914)'), GeomFromEWKT('SRID=4674;POINT (-38.987149 -3.371009)'))) / (select extract(epoch from '2026-08-16 07:10:14'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.987243 -3.371105)', '2026-08-16 07:10:20', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.987149 -3.371009)'), GeomFromEWKT('SRID=4674;POINT (-38.987243 -3.371105)'))) / (select extract(epoch from '2026-08-16 07:10:20'::timestamp) - extract(epoch from '2026-08-16 07:10:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.987149 -3.371009)'), GeomFromEWKT('SRID=4674;POINT (-38.987243 -3.371105)'))) / (select extract(epoch from '2026-08-16 07:10:20'::timestamp) - extract(epoch from '2026-08-16 07:10: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'), 48145, 'SRID=4674;POINT (-38.987328 -3.371167)', '2026-08-16 07:10:24', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.987243 -3.371105)'), GeomFromEWKT('SRID=4674;POINT (-38.987328 -3.371167)'))) / (select extract(epoch from '2026-08-16 07:10:24'::timestamp) - extract(epoch from '2026-08-16 07:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.987243 -3.371105)'), GeomFromEWKT('SRID=4674;POINT (-38.987328 -3.371167)'))) / (select extract(epoch from '2026-08-16 07:10:24'::timestamp) - extract(epoch from '2026-08-16 07:10:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.987423 -3.371235)', '2026-08-16 07:10:30', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.987328 -3.371167)'), GeomFromEWKT('SRID=4674;POINT (-38.987423 -3.371235)'))) / (select extract(epoch from '2026-08-16 07:10:30'::timestamp) - extract(epoch from '2026-08-16 07:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.987328 -3.371167)'), GeomFromEWKT('SRID=4674;POINT (-38.987423 -3.371235)'))) / (select extract(epoch from '2026-08-16 07:10:30'::timestamp) - extract(epoch from '2026-08-16 07:10:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.987521 -3.371329)', '2026-08-16 07:10:36', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.987423 -3.371235)'), GeomFromEWKT('SRID=4674;POINT (-38.987521 -3.371329)'))) / (select extract(epoch from '2026-08-16 07:10:36'::timestamp) - extract(epoch from '2026-08-16 07:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.987423 -3.371235)'), GeomFromEWKT('SRID=4674;POINT (-38.987521 -3.371329)'))) / (select extract(epoch from '2026-08-16 07:10:36'::timestamp) - extract(epoch from '2026-08-16 07:10: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'), 48145, 'SRID=4674;POINT (-38.987598 -3.37141)', '2026-08-16 07:10:41', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.987521 -3.371329)'), GeomFromEWKT('SRID=4674;POINT (-38.987598 -3.37141)'))) / (select extract(epoch from '2026-08-16 07:10:41'::timestamp) - extract(epoch from '2026-08-16 07:10:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.987521 -3.371329)'), GeomFromEWKT('SRID=4674;POINT (-38.987598 -3.37141)'))) / (select extract(epoch from '2026-08-16 07:10:41'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.987688 -3.371508)', '2026-08-16 07:10:47', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.987598 -3.37141)'), GeomFromEWKT('SRID=4674;POINT (-38.987688 -3.371508)'))) / (select extract(epoch from '2026-08-16 07:10:47'::timestamp) - extract(epoch from '2026-08-16 07:10:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.987598 -3.37141)'), GeomFromEWKT('SRID=4674;POINT (-38.987688 -3.371508)'))) / (select extract(epoch from '2026-08-16 07:10:47'::timestamp) - extract(epoch from '2026-08-16 07:10:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.987816 -3.371646)', '2026-08-16 07:10:56', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.987688 -3.371508)'), GeomFromEWKT('SRID=4674;POINT (-38.987816 -3.371646)'))) / (select extract(epoch from '2026-08-16 07:10:56'::timestamp) - extract(epoch from '2026-08-16 07:10:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.987688 -3.371508)'), GeomFromEWKT('SRID=4674;POINT (-38.987816 -3.371646)'))) / (select extract(epoch from '2026-08-16 07:10:56'::timestamp) - extract(epoch from '2026-08-16 07:10: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'), 48145, 'SRID=4674;POINT (-38.987913 -3.371735)', '2026-08-16 07:11:02', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.987816 -3.371646)'), GeomFromEWKT('SRID=4674;POINT (-38.987913 -3.371735)'))) / (select extract(epoch from '2026-08-16 07:11:02'::timestamp) - extract(epoch from '2026-08-16 07:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.987816 -3.371646)'), GeomFromEWKT('SRID=4674;POINT (-38.987913 -3.371735)'))) / (select extract(epoch from '2026-08-16 07:11:02'::timestamp) - extract(epoch from '2026-08-16 07:10:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.988014 -3.371796)', '2026-08-16 07:11:08', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.987913 -3.371735)'), GeomFromEWKT('SRID=4674;POINT (-38.988014 -3.371796)'))) / (select extract(epoch from '2026-08-16 07:11:08'::timestamp) - extract(epoch from '2026-08-16 07:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.987913 -3.371735)'), GeomFromEWKT('SRID=4674;POINT (-38.988014 -3.371796)'))) / (select extract(epoch from '2026-08-16 07:11:08'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.988117 -3.371908)', '2026-08-16 07:11:15', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.988014 -3.371796)'), GeomFromEWKT('SRID=4674;POINT (-38.988117 -3.371908)'))) / (select extract(epoch from '2026-08-16 07:11:15'::timestamp) - extract(epoch from '2026-08-16 07:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.988014 -3.371796)'), GeomFromEWKT('SRID=4674;POINT (-38.988117 -3.371908)'))) / (select extract(epoch from '2026-08-16 07:11:15'::timestamp) - extract(epoch from '2026-08-16 07:11: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'), 48145, 'SRID=4674;POINT (-38.988199 -3.372)', '2026-08-16 07:11:20', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.988117 -3.371908)'), GeomFromEWKT('SRID=4674;POINT (-38.988199 -3.372)'))) / (select extract(epoch from '2026-08-16 07:11:20'::timestamp) - extract(epoch from '2026-08-16 07:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.988117 -3.371908)'), GeomFromEWKT('SRID=4674;POINT (-38.988199 -3.372)'))) / (select extract(epoch from '2026-08-16 07:11:20'::timestamp) - extract(epoch from '2026-08-16 07:11: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'), 48145, 'SRID=4674;POINT (-38.988269 -3.37207)', '2026-08-16 07:11:25', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.988199 -3.372)'), GeomFromEWKT('SRID=4674;POINT (-38.988269 -3.37207)'))) / (select extract(epoch from '2026-08-16 07:11:25'::timestamp) - extract(epoch from '2026-08-16 07:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.988199 -3.372)'), GeomFromEWKT('SRID=4674;POINT (-38.988269 -3.37207)'))) / (select extract(epoch from '2026-08-16 07:11:25'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.988385 -3.37218)', '2026-08-16 07:11:32', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.988269 -3.37207)'), GeomFromEWKT('SRID=4674;POINT (-38.988385 -3.37218)'))) / (select extract(epoch from '2026-08-16 07:11:32'::timestamp) - extract(epoch from '2026-08-16 07:11:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.988269 -3.37207)'), GeomFromEWKT('SRID=4674;POINT (-38.988385 -3.37218)'))) / (select extract(epoch from '2026-08-16 07:11:32'::timestamp) - extract(epoch from '2026-08-16 07:11: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'), 48145, 'SRID=4674;POINT (-38.988469 -3.372248)', '2026-08-16 07:11:37', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.988385 -3.37218)'), GeomFromEWKT('SRID=4674;POINT (-38.988469 -3.372248)'))) / (select extract(epoch from '2026-08-16 07:11:37'::timestamp) - extract(epoch from '2026-08-16 07:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.988385 -3.37218)'), GeomFromEWKT('SRID=4674;POINT (-38.988469 -3.372248)'))) / (select extract(epoch from '2026-08-16 07:11:37'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.988546 -3.372343)', '2026-08-16 07:11:42', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.988469 -3.372248)'), GeomFromEWKT('SRID=4674;POINT (-38.988546 -3.372343)'))) / (select extract(epoch from '2026-08-16 07:11:42'::timestamp) - extract(epoch from '2026-08-16 07:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.988469 -3.372248)'), GeomFromEWKT('SRID=4674;POINT (-38.988546 -3.372343)'))) / (select extract(epoch from '2026-08-16 07:11:42'::timestamp) - extract(epoch from '2026-08-16 07:11: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'), 48145, 'SRID=4674;POINT (-38.988664 -3.372445)', '2026-08-16 07:11:49', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.988546 -3.372343)'), GeomFromEWKT('SRID=4674;POINT (-38.988664 -3.372445)'))) / (select extract(epoch from '2026-08-16 07:11:49'::timestamp) - extract(epoch from '2026-08-16 07:11:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.988546 -3.372343)'), GeomFromEWKT('SRID=4674;POINT (-38.988664 -3.372445)'))) / (select extract(epoch from '2026-08-16 07:11:49'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.988756 -3.372506)', '2026-08-16 07:11:53', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.988664 -3.372445)'), GeomFromEWKT('SRID=4674;POINT (-38.988756 -3.372506)'))) / (select extract(epoch from '2026-08-16 07:11:53'::timestamp) - extract(epoch from '2026-08-16 07:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.988664 -3.372445)'), GeomFromEWKT('SRID=4674;POINT (-38.988756 -3.372506)'))) / (select extract(epoch from '2026-08-16 07:11:53'::timestamp) - extract(epoch from '2026-08-16 07:11: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'), 48145, 'SRID=4674;POINT (-38.98882 -3.372539)', '2026-08-16 07:11:57', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.988756 -3.372506)'), GeomFromEWKT('SRID=4674;POINT (-38.98882 -3.372539)'))) / (select extract(epoch from '2026-08-16 07:11:57'::timestamp) - extract(epoch from '2026-08-16 07:11:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.988756 -3.372506)'), GeomFromEWKT('SRID=4674;POINT (-38.98882 -3.372539)'))) / (select extract(epoch from '2026-08-16 07:11:57'::timestamp) - extract(epoch from '2026-08-16 07:11: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'), 48145, 'SRID=4674;POINT (-38.988894 -3.372596)', '2026-08-16 07:12:01', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98882 -3.372539)'), GeomFromEWKT('SRID=4674;POINT (-38.988894 -3.372596)'))) / (select extract(epoch from '2026-08-16 07:12:01'::timestamp) - extract(epoch from '2026-08-16 07:11:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98882 -3.372539)'), GeomFromEWKT('SRID=4674;POINT (-38.988894 -3.372596)'))) / (select extract(epoch from '2026-08-16 07:12:01'::timestamp) - extract(epoch from '2026-08-16 07:11: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'), 48145, 'SRID=4674;POINT (-38.988979 -3.372655)', '2026-08-16 07:12:05', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.988894 -3.372596)'), GeomFromEWKT('SRID=4674;POINT (-38.988979 -3.372655)'))) / (select extract(epoch from '2026-08-16 07:12:05'::timestamp) - extract(epoch from '2026-08-16 07:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.988894 -3.372596)'), GeomFromEWKT('SRID=4674;POINT (-38.988979 -3.372655)'))) / (select extract(epoch from '2026-08-16 07:12:05'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.989014 -3.372681)', '2026-08-16 07:12:08', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.988979 -3.372655)'), GeomFromEWKT('SRID=4674;POINT (-38.989014 -3.372681)'))) / (select extract(epoch from '2026-08-16 07:12:08'::timestamp) - extract(epoch from '2026-08-16 07:12:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.988979 -3.372655)'), GeomFromEWKT('SRID=4674;POINT (-38.989014 -3.372681)'))) / (select extract(epoch from '2026-08-16 07:12:08'::timestamp) - extract(epoch from '2026-08-16 07:12:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.989076 -3.372733)', '2026-08-16 07:12:11', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989014 -3.372681)'), GeomFromEWKT('SRID=4674;POINT (-38.989076 -3.372733)'))) / (select extract(epoch from '2026-08-16 07:12:11'::timestamp) - extract(epoch from '2026-08-16 07:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989014 -3.372681)'), GeomFromEWKT('SRID=4674;POINT (-38.989076 -3.372733)'))) / (select extract(epoch from '2026-08-16 07:12:11'::timestamp) - extract(epoch from '2026-08-16 07:12:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.989142 -3.372793)', '2026-08-16 07:12:15', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989076 -3.372733)'), GeomFromEWKT('SRID=4674;POINT (-38.989142 -3.372793)'))) / (select extract(epoch from '2026-08-16 07:12:15'::timestamp) - extract(epoch from '2026-08-16 07:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989076 -3.372733)'), GeomFromEWKT('SRID=4674;POINT (-38.989142 -3.372793)'))) / (select extract(epoch from '2026-08-16 07:12:15'::timestamp) - extract(epoch from '2026-08-16 07:12:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.989238 -3.372864)', '2026-08-16 07:12:20', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989142 -3.372793)'), GeomFromEWKT('SRID=4674;POINT (-38.989238 -3.372864)'))) / (select extract(epoch from '2026-08-16 07:12:20'::timestamp) - extract(epoch from '2026-08-16 07:12:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989142 -3.372793)'), GeomFromEWKT('SRID=4674;POINT (-38.989238 -3.372864)'))) / (select extract(epoch from '2026-08-16 07:12:20'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.989334 -3.372928)', '2026-08-16 07:12:26', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989238 -3.372864)'), GeomFromEWKT('SRID=4674;POINT (-38.989334 -3.372928)'))) / (select extract(epoch from '2026-08-16 07:12:26'::timestamp) - extract(epoch from '2026-08-16 07:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989238 -3.372864)'), GeomFromEWKT('SRID=4674;POINT (-38.989334 -3.372928)'))) / (select extract(epoch from '2026-08-16 07:12:26'::timestamp) - extract(epoch from '2026-08-16 07:12: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'), 48145, 'SRID=4674;POINT (-38.989414 -3.372988)', '2026-08-16 07:12:30', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989334 -3.372928)'), GeomFromEWKT('SRID=4674;POINT (-38.989414 -3.372988)'))) / (select extract(epoch from '2026-08-16 07:12:30'::timestamp) - extract(epoch from '2026-08-16 07:12:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989334 -3.372928)'), GeomFromEWKT('SRID=4674;POINT (-38.989414 -3.372988)'))) / (select extract(epoch from '2026-08-16 07:12:30'::timestamp) - extract(epoch from '2026-08-16 07:12: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'), 48145, 'SRID=4674;POINT (-38.989453 -3.373027)', '2026-08-16 07:12:33', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989414 -3.372988)'), GeomFromEWKT('SRID=4674;POINT (-38.989453 -3.373027)'))) / (select extract(epoch from '2026-08-16 07:12:33'::timestamp) - extract(epoch from '2026-08-16 07:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989414 -3.372988)'), GeomFromEWKT('SRID=4674;POINT (-38.989453 -3.373027)'))) / (select extract(epoch from '2026-08-16 07:12:33'::timestamp) - extract(epoch from '2026-08-16 07:12: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'), 48145, 'SRID=4674;POINT (-38.989475 -3.373041)', '2026-08-16 07:12:34', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989453 -3.373027)'), GeomFromEWKT('SRID=4674;POINT (-38.989475 -3.373041)'))) / (select extract(epoch from '2026-08-16 07:12:34'::timestamp) - extract(epoch from '2026-08-16 07:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989453 -3.373027)'), GeomFromEWKT('SRID=4674;POINT (-38.989475 -3.373041)'))) / (select extract(epoch from '2026-08-16 07:12:34'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.989512 -3.373068)', '2026-08-16 07:12:36', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989475 -3.373041)'), GeomFromEWKT('SRID=4674;POINT (-38.989512 -3.373068)'))) / (select extract(epoch from '2026-08-16 07:12:36'::timestamp) - extract(epoch from '2026-08-16 07:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989475 -3.373041)'), GeomFromEWKT('SRID=4674;POINT (-38.989512 -3.373068)'))) / (select extract(epoch from '2026-08-16 07:12:36'::timestamp) - extract(epoch from '2026-08-16 07:12: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'), 48145, 'SRID=4674;POINT (-38.989542 -3.3731)', '2026-08-16 07:12:38', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989512 -3.373068)'), GeomFromEWKT('SRID=4674;POINT (-38.989542 -3.3731)'))) / (select extract(epoch from '2026-08-16 07:12:38'::timestamp) - extract(epoch from '2026-08-16 07:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989512 -3.373068)'), GeomFromEWKT('SRID=4674;POINT (-38.989542 -3.3731)'))) / (select extract(epoch from '2026-08-16 07:12:38'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.98962 -3.373145)', '2026-08-16 07:12:42', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989542 -3.3731)'), GeomFromEWKT('SRID=4674;POINT (-38.98962 -3.373145)'))) / (select extract(epoch from '2026-08-16 07:12:42'::timestamp) - extract(epoch from '2026-08-16 07:12:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989542 -3.3731)'), GeomFromEWKT('SRID=4674;POINT (-38.98962 -3.373145)'))) / (select extract(epoch from '2026-08-16 07:12:42'::timestamp) - extract(epoch from '2026-08-16 07:12: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'), 48145, 'SRID=4674;POINT (-38.989629 -3.373161)', '2026-08-16 07:12:43', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98962 -3.373145)'), GeomFromEWKT('SRID=4674;POINT (-38.989629 -3.373161)'))) / (select extract(epoch from '2026-08-16 07:12:43'::timestamp) - extract(epoch from '2026-08-16 07:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98962 -3.373145)'), GeomFromEWKT('SRID=4674;POINT (-38.989629 -3.373161)'))) / (select extract(epoch from '2026-08-16 07:12:43'::timestamp) - extract(epoch from '2026-08-16 07:12: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'), 48145, 'SRID=4674;POINT (-38.989725 -3.373222)', '2026-08-16 07:12:48', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989629 -3.373161)'), GeomFromEWKT('SRID=4674;POINT (-38.989725 -3.373222)'))) / (select extract(epoch from '2026-08-16 07:12:48'::timestamp) - extract(epoch from '2026-08-16 07:12:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989629 -3.373161)'), GeomFromEWKT('SRID=4674;POINT (-38.989725 -3.373222)'))) / (select extract(epoch from '2026-08-16 07:12:48'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.98981 -3.373281)', '2026-08-16 07:12:53', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989725 -3.373222)'), GeomFromEWKT('SRID=4674;POINT (-38.98981 -3.373281)'))) / (select extract(epoch from '2026-08-16 07:12:53'::timestamp) - extract(epoch from '2026-08-16 07:12:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989725 -3.373222)'), GeomFromEWKT('SRID=4674;POINT (-38.98981 -3.373281)'))) / (select extract(epoch from '2026-08-16 07:12:53'::timestamp) - extract(epoch from '2026-08-16 07:12: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'), 48145, 'SRID=4674;POINT (-38.989918 -3.373333)', '2026-08-16 07:12:58', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98981 -3.373281)'), GeomFromEWKT('SRID=4674;POINT (-38.989918 -3.373333)'))) / (select extract(epoch from '2026-08-16 07:12:58'::timestamp) - extract(epoch from '2026-08-16 07:12:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98981 -3.373281)'), GeomFromEWKT('SRID=4674;POINT (-38.989918 -3.373333)'))) / (select extract(epoch from '2026-08-16 07:12:58'::timestamp) - extract(epoch from '2026-08-16 07:12:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.989987 -3.373381)', '2026-08-16 07:13:02', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989918 -3.373333)'), GeomFromEWKT('SRID=4674;POINT (-38.989987 -3.373381)'))) / (select extract(epoch from '2026-08-16 07:13:02'::timestamp) - extract(epoch from '2026-08-16 07:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989918 -3.373333)'), GeomFromEWKT('SRID=4674;POINT (-38.989987 -3.373381)'))) / (select extract(epoch from '2026-08-16 07:13:02'::timestamp) - extract(epoch from '2026-08-16 07:12:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.990005 -3.373399)', '2026-08-16 07:13:03', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989987 -3.373381)'), GeomFromEWKT('SRID=4674;POINT (-38.990005 -3.373399)'))) / (select extract(epoch from '2026-08-16 07:13:03'::timestamp) - extract(epoch from '2026-08-16 07:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989987 -3.373381)'), GeomFromEWKT('SRID=4674;POINT (-38.990005 -3.373399)'))) / (select extract(epoch from '2026-08-16 07:13:03'::timestamp) - extract(epoch from '2026-08-16 07:13: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'), 48145, 'SRID=4674;POINT (-38.99002 -3.373454)', '2026-08-16 07:13:06', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990005 -3.373399)'), GeomFromEWKT('SRID=4674;POINT (-38.99002 -3.373454)'))) / (select extract(epoch from '2026-08-16 07:13:06'::timestamp) - extract(epoch from '2026-08-16 07:13:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990005 -3.373399)'), GeomFromEWKT('SRID=4674;POINT (-38.99002 -3.373454)'))) / (select extract(epoch from '2026-08-16 07:13:06'::timestamp) - extract(epoch from '2026-08-16 07:13: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'), 48145, 'SRID=4674;POINT (-38.990026 -3.373471)', '2026-08-16 07:13:07', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99002 -3.373454)'), GeomFromEWKT('SRID=4674;POINT (-38.990026 -3.373471)'))) / (select extract(epoch from '2026-08-16 07:13:07'::timestamp) - extract(epoch from '2026-08-16 07:13:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99002 -3.373454)'), GeomFromEWKT('SRID=4674;POINT (-38.990026 -3.373471)'))) / (select extract(epoch from '2026-08-16 07:13:07'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.990077 -3.373531)', '2026-08-16 07:13:10', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990026 -3.373471)'), GeomFromEWKT('SRID=4674;POINT (-38.990077 -3.373531)'))) / (select extract(epoch from '2026-08-16 07:13:10'::timestamp) - extract(epoch from '2026-08-16 07:13:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990026 -3.373471)'), GeomFromEWKT('SRID=4674;POINT (-38.990077 -3.373531)'))) / (select extract(epoch from '2026-08-16 07:13:10'::timestamp) - extract(epoch from '2026-08-16 07:13:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.990124 -3.373591)', '2026-08-16 07:13:14', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990077 -3.373531)'), GeomFromEWKT('SRID=4674;POINT (-38.990124 -3.373591)'))) / (select extract(epoch from '2026-08-16 07:13:14'::timestamp) - extract(epoch from '2026-08-16 07:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990077 -3.373531)'), GeomFromEWKT('SRID=4674;POINT (-38.990124 -3.373591)'))) / (select extract(epoch from '2026-08-16 07:13:14'::timestamp) - extract(epoch from '2026-08-16 07:13: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'), 48145, 'SRID=4674;POINT (-38.990217 -3.373675)', '2026-08-16 07:13:19', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990124 -3.373591)'), GeomFromEWKT('SRID=4674;POINT (-38.990217 -3.373675)'))) / (select extract(epoch from '2026-08-16 07:13:19'::timestamp) - extract(epoch from '2026-08-16 07:13:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990124 -3.373591)'), GeomFromEWKT('SRID=4674;POINT (-38.990217 -3.373675)'))) / (select extract(epoch from '2026-08-16 07:13:19'::timestamp) - extract(epoch from '2026-08-16 07:13: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'), 48145, 'SRID=4674;POINT (-38.990282 -3.373748)', '2026-08-16 07:13:24', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990217 -3.373675)'), GeomFromEWKT('SRID=4674;POINT (-38.990282 -3.373748)'))) / (select extract(epoch from '2026-08-16 07:13:24'::timestamp) - extract(epoch from '2026-08-16 07:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990217 -3.373675)'), GeomFromEWKT('SRID=4674;POINT (-38.990282 -3.373748)'))) / (select extract(epoch from '2026-08-16 07:13:24'::timestamp) - extract(epoch from '2026-08-16 07:13:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.990368 -3.37382)', '2026-08-16 07:13:29', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990282 -3.373748)'), GeomFromEWKT('SRID=4674;POINT (-38.990368 -3.37382)'))) / (select extract(epoch from '2026-08-16 07:13:29'::timestamp) - extract(epoch from '2026-08-16 07:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990282 -3.373748)'), GeomFromEWKT('SRID=4674;POINT (-38.990368 -3.37382)'))) / (select extract(epoch from '2026-08-16 07:13:29'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.990454 -3.373893)', '2026-08-16 07:13:34', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990368 -3.37382)'), GeomFromEWKT('SRID=4674;POINT (-38.990454 -3.373893)'))) / (select extract(epoch from '2026-08-16 07:13:34'::timestamp) - extract(epoch from '2026-08-16 07:13:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990368 -3.37382)'), GeomFromEWKT('SRID=4674;POINT (-38.990454 -3.373893)'))) / (select extract(epoch from '2026-08-16 07:13:34'::timestamp) - extract(epoch from '2026-08-16 07:13: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'), 48145, 'SRID=4674;POINT (-38.990469 -3.373913)', '2026-08-16 07:13:35', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990454 -3.373893)'), GeomFromEWKT('SRID=4674;POINT (-38.990469 -3.373913)'))) / (select extract(epoch from '2026-08-16 07:13:35'::timestamp) - extract(epoch from '2026-08-16 07:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990454 -3.373893)'), GeomFromEWKT('SRID=4674;POINT (-38.990469 -3.373913)'))) / (select extract(epoch from '2026-08-16 07:13:35'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.990526 -3.373972)', '2026-08-16 07:13:39', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990469 -3.373913)'), GeomFromEWKT('SRID=4674;POINT (-38.990526 -3.373972)'))) / (select extract(epoch from '2026-08-16 07:13:39'::timestamp) - extract(epoch from '2026-08-16 07:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990469 -3.373913)'), GeomFromEWKT('SRID=4674;POINT (-38.990526 -3.373972)'))) / (select extract(epoch from '2026-08-16 07:13:39'::timestamp) - extract(epoch from '2026-08-16 07:13: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'), 48145, 'SRID=4674;POINT (-38.990615 -3.374072)', '2026-08-16 07:13:45', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990526 -3.373972)'), GeomFromEWKT('SRID=4674;POINT (-38.990615 -3.374072)'))) / (select extract(epoch from '2026-08-16 07:13:45'::timestamp) - extract(epoch from '2026-08-16 07:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990526 -3.373972)'), GeomFromEWKT('SRID=4674;POINT (-38.990615 -3.374072)'))) / (select extract(epoch from '2026-08-16 07:13:45'::timestamp) - extract(epoch from '2026-08-16 07:13:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.990687 -3.374152)', '2026-08-16 07:13:50', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990615 -3.374072)'), GeomFromEWKT('SRID=4674;POINT (-38.990687 -3.374152)'))) / (select extract(epoch from '2026-08-16 07:13:50'::timestamp) - extract(epoch from '2026-08-16 07:13:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990615 -3.374072)'), GeomFromEWKT('SRID=4674;POINT (-38.990687 -3.374152)'))) / (select extract(epoch from '2026-08-16 07:13:50'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.990795 -3.374233)', '2026-08-16 07:13:56', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990687 -3.374152)'), GeomFromEWKT('SRID=4674;POINT (-38.990795 -3.374233)'))) / (select extract(epoch from '2026-08-16 07:13:56'::timestamp) - extract(epoch from '2026-08-16 07:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990687 -3.374152)'), GeomFromEWKT('SRID=4674;POINT (-38.990795 -3.374233)'))) / (select extract(epoch from '2026-08-16 07:13:56'::timestamp) - extract(epoch from '2026-08-16 07:13: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'), 48145, 'SRID=4674;POINT (-38.990883 -3.374307)', '2026-08-16 07:14:01', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990795 -3.374233)'), GeomFromEWKT('SRID=4674;POINT (-38.990883 -3.374307)'))) / (select extract(epoch from '2026-08-16 07:14:01'::timestamp) - extract(epoch from '2026-08-16 07:13:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990795 -3.374233)'), GeomFromEWKT('SRID=4674;POINT (-38.990883 -3.374307)'))) / (select extract(epoch from '2026-08-16 07:14:01'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.99099 -3.374412)', '2026-08-16 07:14:08', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990883 -3.374307)'), GeomFromEWKT('SRID=4674;POINT (-38.99099 -3.374412)'))) / (select extract(epoch from '2026-08-16 07:14:08'::timestamp) - extract(epoch from '2026-08-16 07:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990883 -3.374307)'), GeomFromEWKT('SRID=4674;POINT (-38.99099 -3.374412)'))) / (select extract(epoch from '2026-08-16 07:14:08'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.991088 -3.374504)', '2026-08-16 07:14:14', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99099 -3.374412)'), GeomFromEWKT('SRID=4674;POINT (-38.991088 -3.374504)'))) / (select extract(epoch from '2026-08-16 07:14:14'::timestamp) - extract(epoch from '2026-08-16 07:14:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99099 -3.374412)'), GeomFromEWKT('SRID=4674;POINT (-38.991088 -3.374504)'))) / (select extract(epoch from '2026-08-16 07:14:14'::timestamp) - extract(epoch from '2026-08-16 07:14:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.991199 -3.374606)', '2026-08-16 07:14:21', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991088 -3.374504)'), GeomFromEWKT('SRID=4674;POINT (-38.991199 -3.374606)'))) / (select extract(epoch from '2026-08-16 07:14:21'::timestamp) - extract(epoch from '2026-08-16 07:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991088 -3.374504)'), GeomFromEWKT('SRID=4674;POINT (-38.991199 -3.374606)'))) / (select extract(epoch from '2026-08-16 07:14:21'::timestamp) - extract(epoch from '2026-08-16 07:14: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'), 48145, 'SRID=4674;POINT (-38.991304 -3.374714)', '2026-08-16 07:14:28', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991199 -3.374606)'), GeomFromEWKT('SRID=4674;POINT (-38.991304 -3.374714)'))) / (select extract(epoch from '2026-08-16 07:14:28'::timestamp) - extract(epoch from '2026-08-16 07:14:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991199 -3.374606)'), GeomFromEWKT('SRID=4674;POINT (-38.991304 -3.374714)'))) / (select extract(epoch from '2026-08-16 07:14:28'::timestamp) - extract(epoch from '2026-08-16 07:14: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'), 48145, 'SRID=4674;POINT (-38.991384 -3.374789)', '2026-08-16 07:14:33', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991304 -3.374714)'), GeomFromEWKT('SRID=4674;POINT (-38.991384 -3.374789)'))) / (select extract(epoch from '2026-08-16 07:14:33'::timestamp) - extract(epoch from '2026-08-16 07:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991304 -3.374714)'), GeomFromEWKT('SRID=4674;POINT (-38.991384 -3.374789)'))) / (select extract(epoch from '2026-08-16 07:14:33'::timestamp) - extract(epoch from '2026-08-16 07:14: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'), 48145, 'SRID=4674;POINT (-38.991474 -3.374886)', '2026-08-16 07:14:39', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991384 -3.374789)'), GeomFromEWKT('SRID=4674;POINT (-38.991474 -3.374886)'))) / (select extract(epoch from '2026-08-16 07:14:39'::timestamp) - extract(epoch from '2026-08-16 07:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991384 -3.374789)'), GeomFromEWKT('SRID=4674;POINT (-38.991474 -3.374886)'))) / (select extract(epoch from '2026-08-16 07:14:39'::timestamp) - extract(epoch from '2026-08-16 07:14:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.99157 -3.374965)', '2026-08-16 07:14:45', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991474 -3.374886)'), GeomFromEWKT('SRID=4674;POINT (-38.99157 -3.374965)'))) / (select extract(epoch from '2026-08-16 07:14:45'::timestamp) - extract(epoch from '2026-08-16 07:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991474 -3.374886)'), GeomFromEWKT('SRID=4674;POINT (-38.99157 -3.374965)'))) / (select extract(epoch from '2026-08-16 07:14:45'::timestamp) - extract(epoch from '2026-08-16 07:14: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'), 48145, 'SRID=4674;POINT (-38.991664 -3.375061)', '2026-08-16 07:14:51', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99157 -3.374965)'), GeomFromEWKT('SRID=4674;POINT (-38.991664 -3.375061)'))) / (select extract(epoch from '2026-08-16 07:14:51'::timestamp) - extract(epoch from '2026-08-16 07:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99157 -3.374965)'), GeomFromEWKT('SRID=4674;POINT (-38.991664 -3.375061)'))) / (select extract(epoch from '2026-08-16 07:14:51'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.991678 -3.375076)', '2026-08-16 07:14:52', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991664 -3.375061)'), GeomFromEWKT('SRID=4674;POINT (-38.991678 -3.375076)'))) / (select extract(epoch from '2026-08-16 07:14:52'::timestamp) - extract(epoch from '2026-08-16 07:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991664 -3.375061)'), GeomFromEWKT('SRID=4674;POINT (-38.991678 -3.375076)'))) / (select extract(epoch from '2026-08-16 07:14:52'::timestamp) - extract(epoch from '2026-08-16 07:14: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'), 48145, 'SRID=4674;POINT (-38.991751 -3.375141)', '2026-08-16 07:14:56', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991678 -3.375076)'), GeomFromEWKT('SRID=4674;POINT (-38.991751 -3.375141)'))) / (select extract(epoch from '2026-08-16 07:14:56'::timestamp) - extract(epoch from '2026-08-16 07:14:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991678 -3.375076)'), GeomFromEWKT('SRID=4674;POINT (-38.991751 -3.375141)'))) / (select extract(epoch from '2026-08-16 07:14:56'::timestamp) - extract(epoch from '2026-08-16 07:14:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.991776 -3.375168)', '2026-08-16 07:14:58', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991751 -3.375141)'), GeomFromEWKT('SRID=4674;POINT (-38.991776 -3.375168)'))) / (select extract(epoch from '2026-08-16 07:14:58'::timestamp) - extract(epoch from '2026-08-16 07:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991751 -3.375141)'), GeomFromEWKT('SRID=4674;POINT (-38.991776 -3.375168)'))) / (select extract(epoch from '2026-08-16 07:14:58'::timestamp) - extract(epoch from '2026-08-16 07:14: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'), 48145, 'SRID=4674;POINT (-38.991828 -3.3752)', '2026-08-16 07:15:01', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991776 -3.375168)'), GeomFromEWKT('SRID=4674;POINT (-38.991828 -3.3752)'))) / (select extract(epoch from '2026-08-16 07:15:01'::timestamp) - extract(epoch from '2026-08-16 07:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991776 -3.375168)'), GeomFromEWKT('SRID=4674;POINT (-38.991828 -3.3752)'))) / (select extract(epoch from '2026-08-16 07:15:01'::timestamp) - extract(epoch from '2026-08-16 07:14: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'), 48145, 'SRID=4674;POINT (-38.991927 -3.375272)', '2026-08-16 07:15:06', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991828 -3.3752)'), GeomFromEWKT('SRID=4674;POINT (-38.991927 -3.375272)'))) / (select extract(epoch from '2026-08-16 07:15:06'::timestamp) - extract(epoch from '2026-08-16 07:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991828 -3.3752)'), GeomFromEWKT('SRID=4674;POINT (-38.991927 -3.375272)'))) / (select extract(epoch from '2026-08-16 07:15:06'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.992029 -3.375353)', '2026-08-16 07:15:12', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991927 -3.375272)'), GeomFromEWKT('SRID=4674;POINT (-38.992029 -3.375353)'))) / (select extract(epoch from '2026-08-16 07:15:12'::timestamp) - extract(epoch from '2026-08-16 07:15:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991927 -3.375272)'), GeomFromEWKT('SRID=4674;POINT (-38.992029 -3.375353)'))) / (select extract(epoch from '2026-08-16 07:15:12'::timestamp) - extract(epoch from '2026-08-16 07:15:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.99212 -3.375451)', '2026-08-16 07:15:18', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992029 -3.375353)'), GeomFromEWKT('SRID=4674;POINT (-38.99212 -3.375451)'))) / (select extract(epoch from '2026-08-16 07:15:18'::timestamp) - extract(epoch from '2026-08-16 07:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992029 -3.375353)'), GeomFromEWKT('SRID=4674;POINT (-38.99212 -3.375451)'))) / (select extract(epoch from '2026-08-16 07:15:18'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.992199 -3.375539)', '2026-08-16 07:15:24', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99212 -3.375451)'), GeomFromEWKT('SRID=4674;POINT (-38.992199 -3.375539)'))) / (select extract(epoch from '2026-08-16 07:15:24'::timestamp) - extract(epoch from '2026-08-16 07:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99212 -3.375451)'), GeomFromEWKT('SRID=4674;POINT (-38.992199 -3.375539)'))) / (select extract(epoch from '2026-08-16 07:15:24'::timestamp) - extract(epoch from '2026-08-16 07:15: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'), 48145, 'SRID=4674;POINT (-38.992227 -3.375624)', '2026-08-16 07:15:29', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992199 -3.375539)'), GeomFromEWKT('SRID=4674;POINT (-38.992227 -3.375624)'))) / (select extract(epoch from '2026-08-16 07:15:29'::timestamp) - extract(epoch from '2026-08-16 07:15:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992199 -3.375539)'), GeomFromEWKT('SRID=4674;POINT (-38.992227 -3.375624)'))) / (select extract(epoch from '2026-08-16 07:15:29'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.992229 -3.375671)', '2026-08-16 07:15:32', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992227 -3.375624)'), GeomFromEWKT('SRID=4674;POINT (-38.992229 -3.375671)'))) / (select extract(epoch from '2026-08-16 07:15:32'::timestamp) - extract(epoch from '2026-08-16 07:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992227 -3.375624)'), GeomFromEWKT('SRID=4674;POINT (-38.992229 -3.375671)'))) / (select extract(epoch from '2026-08-16 07:15:32'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.992216 -3.375705)', '2026-08-16 07:15:34', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992229 -3.375671)'), GeomFromEWKT('SRID=4674;POINT (-38.992216 -3.375705)'))) / (select extract(epoch from '2026-08-16 07:15:34'::timestamp) - extract(epoch from '2026-08-16 07:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992229 -3.375671)'), GeomFromEWKT('SRID=4674;POINT (-38.992216 -3.375705)'))) / (select extract(epoch from '2026-08-16 07:15:34'::timestamp) - extract(epoch from '2026-08-16 07:15:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.992208 -3.375767)', '2026-08-16 07:15:38', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992216 -3.375705)'), GeomFromEWKT('SRID=4674;POINT (-38.992208 -3.375767)'))) / (select extract(epoch from '2026-08-16 07:15:38'::timestamp) - extract(epoch from '2026-08-16 07:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992216 -3.375705)'), GeomFromEWKT('SRID=4674;POINT (-38.992208 -3.375767)'))) / (select extract(epoch from '2026-08-16 07:15:38'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.992193 -3.375802)', '2026-08-16 07:15:40', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992208 -3.375767)'), GeomFromEWKT('SRID=4674;POINT (-38.992193 -3.375802)'))) / (select extract(epoch from '2026-08-16 07:15:40'::timestamp) - extract(epoch from '2026-08-16 07:15:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992208 -3.375767)'), GeomFromEWKT('SRID=4674;POINT (-38.992193 -3.375802)'))) / (select extract(epoch from '2026-08-16 07:15:40'::timestamp) - extract(epoch from '2026-08-16 07:15:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.992195 -3.375818)', '2026-08-16 07:15:41', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992193 -3.375802)'), GeomFromEWKT('SRID=4674;POINT (-38.992195 -3.375818)'))) / (select extract(epoch from '2026-08-16 07:15:41'::timestamp) - extract(epoch from '2026-08-16 07:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992193 -3.375802)'), GeomFromEWKT('SRID=4674;POINT (-38.992195 -3.375818)'))) / (select extract(epoch from '2026-08-16 07:15:41'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.992195 -3.37587)', '2026-08-16 07:15:44', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992195 -3.375818)'), GeomFromEWKT('SRID=4674;POINT (-38.992195 -3.37587)'))) / (select extract(epoch from '2026-08-16 07:15:44'::timestamp) - extract(epoch from '2026-08-16 07:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992195 -3.375818)'), GeomFromEWKT('SRID=4674;POINT (-38.992195 -3.37587)'))) / (select extract(epoch from '2026-08-16 07:15:44'::timestamp) - extract(epoch from '2026-08-16 07:15: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'), 48145, 'SRID=4674;POINT (-38.992193 -3.375935)', '2026-08-16 07:15:48', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992195 -3.37587)'), GeomFromEWKT('SRID=4674;POINT (-38.992193 -3.375935)'))) / (select extract(epoch from '2026-08-16 07:15:48'::timestamp) - extract(epoch from '2026-08-16 07:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992195 -3.37587)'), GeomFromEWKT('SRID=4674;POINT (-38.992193 -3.375935)'))) / (select extract(epoch from '2026-08-16 07:15:48'::timestamp) - extract(epoch from '2026-08-16 07:15:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.9922 -3.375952)', '2026-08-16 07:15:49', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992193 -3.375935)'), GeomFromEWKT('SRID=4674;POINT (-38.9922 -3.375952)'))) / (select extract(epoch from '2026-08-16 07:15:49'::timestamp) - extract(epoch from '2026-08-16 07:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992193 -3.375935)'), GeomFromEWKT('SRID=4674;POINT (-38.9922 -3.375952)'))) / (select extract(epoch from '2026-08-16 07:15:49'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.992198 -3.376033)', '2026-08-16 07:15:54', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.9922 -3.375952)'), GeomFromEWKT('SRID=4674;POINT (-38.992198 -3.376033)'))) / (select extract(epoch from '2026-08-16 07:15:54'::timestamp) - extract(epoch from '2026-08-16 07:15:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.9922 -3.375952)'), GeomFromEWKT('SRID=4674;POINT (-38.992198 -3.376033)'))) / (select extract(epoch from '2026-08-16 07:15:54'::timestamp) - extract(epoch from '2026-08-16 07:15: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'), 48145, 'SRID=4674;POINT (-38.992205 -3.376061)', '2026-08-16 07:15:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992198 -3.376033)'), GeomFromEWKT('SRID=4674;POINT (-38.992205 -3.376061)'))) / (select extract(epoch from '2026-08-16 07:15:56'::timestamp) - extract(epoch from '2026-08-16 07:15:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992198 -3.376033)'), GeomFromEWKT('SRID=4674;POINT (-38.992205 -3.376061)'))) / (select extract(epoch from '2026-08-16 07:15:56'::timestamp) - extract(epoch from '2026-08-16 07:15: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'), 48145, 'SRID=4674;POINT (-38.992212 -3.376112)', '2026-08-16 07:15:59', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992205 -3.376061)'), GeomFromEWKT('SRID=4674;POINT (-38.992212 -3.376112)'))) / (select extract(epoch from '2026-08-16 07:15:59'::timestamp) - extract(epoch from '2026-08-16 07:15:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992205 -3.376061)'), GeomFromEWKT('SRID=4674;POINT (-38.992212 -3.376112)'))) / (select extract(epoch from '2026-08-16 07:15:59'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.992198 -3.37615)', '2026-08-16 07:16:02', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992212 -3.376112)'), GeomFromEWKT('SRID=4674;POINT (-38.992198 -3.37615)'))) / (select extract(epoch from '2026-08-16 07:16:02'::timestamp) - extract(epoch from '2026-08-16 07:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992212 -3.376112)'), GeomFromEWKT('SRID=4674;POINT (-38.992198 -3.37615)'))) / (select extract(epoch from '2026-08-16 07:16:02'::timestamp) - extract(epoch from '2026-08-16 07:15: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'), 48145, 'SRID=4674;POINT (-38.99219 -3.376185)', '2026-08-16 07:16:04', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992198 -3.37615)'), GeomFromEWKT('SRID=4674;POINT (-38.99219 -3.376185)'))) / (select extract(epoch from '2026-08-16 07:16:04'::timestamp) - extract(epoch from '2026-08-16 07:16:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992198 -3.37615)'), GeomFromEWKT('SRID=4674;POINT (-38.99219 -3.376185)'))) / (select extract(epoch from '2026-08-16 07:16:04'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.992135 -3.376267)', '2026-08-16 07:16:10', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99219 -3.376185)'), GeomFromEWKT('SRID=4674;POINT (-38.992135 -3.376267)'))) / (select extract(epoch from '2026-08-16 07:16:10'::timestamp) - extract(epoch from '2026-08-16 07:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99219 -3.376185)'), GeomFromEWKT('SRID=4674;POINT (-38.992135 -3.376267)'))) / (select extract(epoch from '2026-08-16 07:16:10'::timestamp) - extract(epoch from '2026-08-16 07:16: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'), 48145, 'SRID=4674;POINT (-38.992132 -3.376284)', '2026-08-16 07:16:11', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992135 -3.376267)'), GeomFromEWKT('SRID=4674;POINT (-38.992132 -3.376284)'))) / (select extract(epoch from '2026-08-16 07:16:11'::timestamp) - extract(epoch from '2026-08-16 07:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992135 -3.376267)'), GeomFromEWKT('SRID=4674;POINT (-38.992132 -3.376284)'))) / (select extract(epoch from '2026-08-16 07:16:11'::timestamp) - extract(epoch from '2026-08-16 07:16: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'), 48145, 'SRID=4674;POINT (-38.992125 -3.376298)', '2026-08-16 07:16:12', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992132 -3.376284)'), GeomFromEWKT('SRID=4674;POINT (-38.992125 -3.376298)'))) / (select extract(epoch from '2026-08-16 07:16:12'::timestamp) - extract(epoch from '2026-08-16 07:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992132 -3.376284)'), GeomFromEWKT('SRID=4674;POINT (-38.992125 -3.376298)'))) / (select extract(epoch from '2026-08-16 07:16:12'::timestamp) - extract(epoch from '2026-08-16 07:16:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.992107 -3.376333)', '2026-08-16 07:16:15', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992125 -3.376298)'), GeomFromEWKT('SRID=4674;POINT (-38.992107 -3.376333)'))) / (select extract(epoch from '2026-08-16 07:16:15'::timestamp) - extract(epoch from '2026-08-16 07:16:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992125 -3.376298)'), GeomFromEWKT('SRID=4674;POINT (-38.992107 -3.376333)'))) / (select extract(epoch from '2026-08-16 07:16:15'::timestamp) - extract(epoch from '2026-08-16 07:16: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'), 48145, 'SRID=4674;POINT (-38.992033 -3.376444)', '2026-08-16 07:16:24', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992107 -3.376333)'), GeomFromEWKT('SRID=4674;POINT (-38.992033 -3.376444)'))) / (select extract(epoch from '2026-08-16 07:16:24'::timestamp) - extract(epoch from '2026-08-16 07:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992107 -3.376333)'), GeomFromEWKT('SRID=4674;POINT (-38.992033 -3.376444)'))) / (select extract(epoch from '2026-08-16 07:16:24'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.991982 -3.376505)', '2026-08-16 07:16:30', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992033 -3.376444)'), GeomFromEWKT('SRID=4674;POINT (-38.991982 -3.376505)'))) / (select extract(epoch from '2026-08-16 07:16:30'::timestamp) - extract(epoch from '2026-08-16 07:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992033 -3.376444)'), GeomFromEWKT('SRID=4674;POINT (-38.991982 -3.376505)'))) / (select extract(epoch from '2026-08-16 07:16:30'::timestamp) - extract(epoch from '2026-08-16 07:16: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'), 48145, 'SRID=4674;POINT (-38.991978 -3.376553)', '2026-08-16 07:16:33', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991982 -3.376505)'), GeomFromEWKT('SRID=4674;POINT (-38.991978 -3.376553)'))) / (select extract(epoch from '2026-08-16 07:16:33'::timestamp) - extract(epoch from '2026-08-16 07:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991982 -3.376505)'), GeomFromEWKT('SRID=4674;POINT (-38.991978 -3.376553)'))) / (select extract(epoch from '2026-08-16 07:16:33'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.99196 -3.376571)', '2026-08-16 07:16:35', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991978 -3.376553)'), GeomFromEWKT('SRID=4674;POINT (-38.99196 -3.376571)'))) / (select extract(epoch from '2026-08-16 07:16:35'::timestamp) - extract(epoch from '2026-08-16 07:16:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991978 -3.376553)'), GeomFromEWKT('SRID=4674;POINT (-38.99196 -3.376571)'))) / (select extract(epoch from '2026-08-16 07:16:35'::timestamp) - extract(epoch from '2026-08-16 07:16: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'), 48145, 'SRID=4674;POINT (-38.991935 -3.376633)', '2026-08-16 07:16:41', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99196 -3.376571)'), GeomFromEWKT('SRID=4674;POINT (-38.991935 -3.376633)'))) / (select extract(epoch from '2026-08-16 07:16:41'::timestamp) - extract(epoch from '2026-08-16 07:16:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99196 -3.376571)'), GeomFromEWKT('SRID=4674;POINT (-38.991935 -3.376633)'))) / (select extract(epoch from '2026-08-16 07:16:41'::timestamp) - extract(epoch from '2026-08-16 07:16: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'), 48145, 'SRID=4674;POINT (-38.991933 -3.376643)', '2026-08-16 07:16:42', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991935 -3.376633)'), GeomFromEWKT('SRID=4674;POINT (-38.991933 -3.376643)'))) / (select extract(epoch from '2026-08-16 07:16:42'::timestamp) - extract(epoch from '2026-08-16 07:16:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991935 -3.376633)'), GeomFromEWKT('SRID=4674;POINT (-38.991933 -3.376643)'))) / (select extract(epoch from '2026-08-16 07:16:42'::timestamp) - extract(epoch from '2026-08-16 07:16: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'), 48145, 'SRID=4674;POINT (-38.991948 -3.376677)', '2026-08-16 07:16:46', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991933 -3.376643)'), GeomFromEWKT('SRID=4674;POINT (-38.991948 -3.376677)'))) / (select extract(epoch from '2026-08-16 07:16:46'::timestamp) - extract(epoch from '2026-08-16 07:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991933 -3.376643)'), GeomFromEWKT('SRID=4674;POINT (-38.991948 -3.376677)'))) / (select extract(epoch from '2026-08-16 07:16:46'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.991967 -3.376693)', '2026-08-16 07:16:48', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991948 -3.376677)'), GeomFromEWKT('SRID=4674;POINT (-38.991967 -3.376693)'))) / (select extract(epoch from '2026-08-16 07:16:48'::timestamp) - extract(epoch from '2026-08-16 07:16:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991948 -3.376677)'), GeomFromEWKT('SRID=4674;POINT (-38.991967 -3.376693)'))) / (select extract(epoch from '2026-08-16 07:16:48'::timestamp) - extract(epoch from '2026-08-16 07:16:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.992006 -3.376695)', '2026-08-16 07:16:51', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991967 -3.376693)'), GeomFromEWKT('SRID=4674;POINT (-38.992006 -3.376695)'))) / (select extract(epoch from '2026-08-16 07:16:51'::timestamp) - extract(epoch from '2026-08-16 07:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991967 -3.376693)'), GeomFromEWKT('SRID=4674;POINT (-38.992006 -3.376695)'))) / (select extract(epoch from '2026-08-16 07:16:51'::timestamp) - extract(epoch from '2026-08-16 07:16: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'), 48145, 'SRID=4674;POINT (-38.99207 -3.376715)', '2026-08-16 07:16:55', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992006 -3.376695)'), GeomFromEWKT('SRID=4674;POINT (-38.99207 -3.376715)'))) / (select extract(epoch from '2026-08-16 07:16:55'::timestamp) - extract(epoch from '2026-08-16 07:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992006 -3.376695)'), GeomFromEWKT('SRID=4674;POINT (-38.99207 -3.376715)'))) / (select extract(epoch from '2026-08-16 07:16:55'::timestamp) - extract(epoch from '2026-08-16 07:16: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'), 48145, 'SRID=4674;POINT (-38.992134 -3.37674)', '2026-08-16 07:17:00', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99207 -3.376715)'), GeomFromEWKT('SRID=4674;POINT (-38.992134 -3.37674)'))) / (select extract(epoch from '2026-08-16 07:17:00'::timestamp) - extract(epoch from '2026-08-16 07:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99207 -3.376715)'), GeomFromEWKT('SRID=4674;POINT (-38.992134 -3.37674)'))) / (select extract(epoch from '2026-08-16 07:17:00'::timestamp) - extract(epoch from '2026-08-16 07:16: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'), 48145, 'SRID=4674;POINT (-38.992205 -3.376775)', '2026-08-16 07:17:06', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992134 -3.37674)'), GeomFromEWKT('SRID=4674;POINT (-38.992205 -3.376775)'))) / (select extract(epoch from '2026-08-16 07:17:06'::timestamp) - extract(epoch from '2026-08-16 07:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992134 -3.37674)'), GeomFromEWKT('SRID=4674;POINT (-38.992205 -3.376775)'))) / (select extract(epoch from '2026-08-16 07:17:06'::timestamp) - extract(epoch from '2026-08-16 07:17:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.992261 -3.376812)', '2026-08-16 07:17:11', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992205 -3.376775)'), GeomFromEWKT('SRID=4674;POINT (-38.992261 -3.376812)'))) / (select extract(epoch from '2026-08-16 07:17:11'::timestamp) - extract(epoch from '2026-08-16 07:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992205 -3.376775)'), GeomFromEWKT('SRID=4674;POINT (-38.992261 -3.376812)'))) / (select extract(epoch from '2026-08-16 07:17:11'::timestamp) - extract(epoch from '2026-08-16 07:17:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.992331 -3.376859)', '2026-08-16 07:17:17', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992261 -3.376812)'), GeomFromEWKT('SRID=4674;POINT (-38.992331 -3.376859)'))) / (select extract(epoch from '2026-08-16 07:17:17'::timestamp) - extract(epoch from '2026-08-16 07:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992261 -3.376812)'), GeomFromEWKT('SRID=4674;POINT (-38.992331 -3.376859)'))) / (select extract(epoch from '2026-08-16 07:17:17'::timestamp) - extract(epoch from '2026-08-16 07:17:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.99236 -3.376892)', '2026-08-16 07:17:20', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992331 -3.376859)'), GeomFromEWKT('SRID=4674;POINT (-38.99236 -3.376892)'))) / (select extract(epoch from '2026-08-16 07:17:20'::timestamp) - extract(epoch from '2026-08-16 07:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992331 -3.376859)'), GeomFromEWKT('SRID=4674;POINT (-38.99236 -3.376892)'))) / (select extract(epoch from '2026-08-16 07:17:20'::timestamp) - extract(epoch from '2026-08-16 07:17: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'), 48145, 'SRID=4674;POINT (-38.992395 -3.376899)', '2026-08-16 07:17:23', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99236 -3.376892)'), GeomFromEWKT('SRID=4674;POINT (-38.992395 -3.376899)'))) / (select extract(epoch from '2026-08-16 07:17:23'::timestamp) - extract(epoch from '2026-08-16 07:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99236 -3.376892)'), GeomFromEWKT('SRID=4674;POINT (-38.992395 -3.376899)'))) / (select extract(epoch from '2026-08-16 07:17:23'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.992413 -3.376911)', '2026-08-16 07:17:25', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992395 -3.376899)'), GeomFromEWKT('SRID=4674;POINT (-38.992413 -3.376911)'))) / (select extract(epoch from '2026-08-16 07:17:25'::timestamp) - extract(epoch from '2026-08-16 07:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992395 -3.376899)'), GeomFromEWKT('SRID=4674;POINT (-38.992413 -3.376911)'))) / (select extract(epoch from '2026-08-16 07:17:25'::timestamp) - extract(epoch from '2026-08-16 07:17: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'), 48145, 'SRID=4674;POINT (-38.99247 -3.376944)', '2026-08-16 07:17:29', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992413 -3.376911)'), GeomFromEWKT('SRID=4674;POINT (-38.99247 -3.376944)'))) / (select extract(epoch from '2026-08-16 07:17:29'::timestamp) - extract(epoch from '2026-08-16 07:17:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992413 -3.376911)'), GeomFromEWKT('SRID=4674;POINT (-38.99247 -3.376944)'))) / (select extract(epoch from '2026-08-16 07:17:29'::timestamp) - extract(epoch from '2026-08-16 07:17: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'), 48145, 'SRID=4674;POINT (-38.992512 -3.376981)', '2026-08-16 07:17:34', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99247 -3.376944)'), GeomFromEWKT('SRID=4674;POINT (-38.992512 -3.376981)'))) / (select extract(epoch from '2026-08-16 07:17:34'::timestamp) - extract(epoch from '2026-08-16 07:17:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99247 -3.376944)'), GeomFromEWKT('SRID=4674;POINT (-38.992512 -3.376981)'))) / (select extract(epoch from '2026-08-16 07:17:34'::timestamp) - extract(epoch from '2026-08-16 07:17: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'), 48145, 'SRID=4674;POINT (-38.992529 -3.376985)', '2026-08-16 07:17:36', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992512 -3.376981)'), GeomFromEWKT('SRID=4674;POINT (-38.992529 -3.376985)'))) / (select extract(epoch from '2026-08-16 07:17:36'::timestamp) - extract(epoch from '2026-08-16 07:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992512 -3.376981)'), GeomFromEWKT('SRID=4674;POINT (-38.992529 -3.376985)'))) / (select extract(epoch from '2026-08-16 07:17:36'::timestamp) - extract(epoch from '2026-08-16 07:17: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'), 48145, 'SRID=4674;POINT (-38.992561 -3.377001)', '2026-08-16 07:17:38', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992529 -3.376985)'), GeomFromEWKT('SRID=4674;POINT (-38.992561 -3.377001)'))) / (select extract(epoch from '2026-08-16 07:17:38'::timestamp) - extract(epoch from '2026-08-16 07:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992529 -3.376985)'), GeomFromEWKT('SRID=4674;POINT (-38.992561 -3.377001)'))) / (select extract(epoch from '2026-08-16 07:17:38'::timestamp) - extract(epoch from '2026-08-16 07:17: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'), 48145, 'SRID=4674;POINT (-38.99263 -3.377076)', '2026-08-16 07:17:44', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992561 -3.377001)'), GeomFromEWKT('SRID=4674;POINT (-38.99263 -3.377076)'))) / (select extract(epoch from '2026-08-16 07:17:44'::timestamp) - extract(epoch from '2026-08-16 07:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992561 -3.377001)'), GeomFromEWKT('SRID=4674;POINT (-38.99263 -3.377076)'))) / (select extract(epoch from '2026-08-16 07:17:44'::timestamp) - extract(epoch from '2026-08-16 07:17:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.992704 -3.377141)', '2026-08-16 07:17:48', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99263 -3.377076)'), GeomFromEWKT('SRID=4674;POINT (-38.992704 -3.377141)'))) / (select extract(epoch from '2026-08-16 07:17:48'::timestamp) - extract(epoch from '2026-08-16 07:17:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99263 -3.377076)'), GeomFromEWKT('SRID=4674;POINT (-38.992704 -3.377141)'))) / (select extract(epoch from '2026-08-16 07:17:48'::timestamp) - extract(epoch from '2026-08-16 07:17: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'), 48145, 'SRID=4674;POINT (-38.992783 -3.377248)', '2026-08-16 07:17:55', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992704 -3.377141)'), GeomFromEWKT('SRID=4674;POINT (-38.992783 -3.377248)'))) / (select extract(epoch from '2026-08-16 07:17:55'::timestamp) - extract(epoch from '2026-08-16 07:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992704 -3.377141)'), GeomFromEWKT('SRID=4674;POINT (-38.992783 -3.377248)'))) / (select extract(epoch from '2026-08-16 07:17:55'::timestamp) - extract(epoch from '2026-08-16 07:17: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'), 48145, 'SRID=4674;POINT (-38.992869 -3.377363)', '2026-08-16 07:18:02', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992783 -3.377248)'), GeomFromEWKT('SRID=4674;POINT (-38.992869 -3.377363)'))) / (select extract(epoch from '2026-08-16 07:18:02'::timestamp) - extract(epoch from '2026-08-16 07:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992783 -3.377248)'), GeomFromEWKT('SRID=4674;POINT (-38.992869 -3.377363)'))) / (select extract(epoch from '2026-08-16 07:18:02'::timestamp) - extract(epoch from '2026-08-16 07:17:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.992985 -3.377461)', '2026-08-16 07:18:09', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992869 -3.377363)'), GeomFromEWKT('SRID=4674;POINT (-38.992985 -3.377461)'))) / (select extract(epoch from '2026-08-16 07:18:09'::timestamp) - extract(epoch from '2026-08-16 07:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992869 -3.377363)'), GeomFromEWKT('SRID=4674;POINT (-38.992985 -3.377461)'))) / (select extract(epoch from '2026-08-16 07:18:09'::timestamp) - extract(epoch from '2026-08-16 07:18:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.993061 -3.377551)', '2026-08-16 07:18:15', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992985 -3.377461)'), GeomFromEWKT('SRID=4674;POINT (-38.993061 -3.377551)'))) / (select extract(epoch from '2026-08-16 07:18:15'::timestamp) - extract(epoch from '2026-08-16 07:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992985 -3.377461)'), GeomFromEWKT('SRID=4674;POINT (-38.993061 -3.377551)'))) / (select extract(epoch from '2026-08-16 07:18:15'::timestamp) - extract(epoch from '2026-08-16 07:18: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'), 48145, 'SRID=4674;POINT (-38.993153 -3.377634)', '2026-08-16 07:18:21', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.993061 -3.377551)'), GeomFromEWKT('SRID=4674;POINT (-38.993153 -3.377634)'))) / (select extract(epoch from '2026-08-16 07:18:21'::timestamp) - extract(epoch from '2026-08-16 07:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.993061 -3.377551)'), GeomFromEWKT('SRID=4674;POINT (-38.993153 -3.377634)'))) / (select extract(epoch from '2026-08-16 07:18:21'::timestamp) - extract(epoch from '2026-08-16 07:18: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'), 48145, 'SRID=4674;POINT (-38.993241 -3.377705)', '2026-08-16 07:18:26', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.993153 -3.377634)'), GeomFromEWKT('SRID=4674;POINT (-38.993241 -3.377705)'))) / (select extract(epoch from '2026-08-16 07:18:26'::timestamp) - extract(epoch from '2026-08-16 07:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.993153 -3.377634)'), GeomFromEWKT('SRID=4674;POINT (-38.993241 -3.377705)'))) / (select extract(epoch from '2026-08-16 07:18:26'::timestamp) - extract(epoch from '2026-08-16 07:18: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'), 48145, 'SRID=4674;POINT (-38.993364 -3.377803)', '2026-08-16 07:18:33', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.993241 -3.377705)'), GeomFromEWKT('SRID=4674;POINT (-38.993364 -3.377803)'))) / (select extract(epoch from '2026-08-16 07:18:33'::timestamp) - extract(epoch from '2026-08-16 07:18:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.993241 -3.377705)'), GeomFromEWKT('SRID=4674;POINT (-38.993364 -3.377803)'))) / (select extract(epoch from '2026-08-16 07:18:33'::timestamp) - extract(epoch from '2026-08-16 07:18:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.993463 -3.377878)', '2026-08-16 07:18:39', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.993364 -3.377803)'), GeomFromEWKT('SRID=4674;POINT (-38.993463 -3.377878)'))) / (select extract(epoch from '2026-08-16 07:18:39'::timestamp) - extract(epoch from '2026-08-16 07:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.993364 -3.377803)'), GeomFromEWKT('SRID=4674;POINT (-38.993463 -3.377878)'))) / (select extract(epoch from '2026-08-16 07:18:39'::timestamp) - extract(epoch from '2026-08-16 07:18:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.993575 -3.377969)', '2026-08-16 07:18:45', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.993463 -3.377878)'), GeomFromEWKT('SRID=4674;POINT (-38.993575 -3.377969)'))) / (select extract(epoch from '2026-08-16 07:18:45'::timestamp) - extract(epoch from '2026-08-16 07:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.993463 -3.377878)'), GeomFromEWKT('SRID=4674;POINT (-38.993575 -3.377969)'))) / (select extract(epoch from '2026-08-16 07:18:45'::timestamp) - extract(epoch from '2026-08-16 07:18:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.993652 -3.378041)', '2026-08-16 07:18:50', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.993575 -3.377969)'), GeomFromEWKT('SRID=4674;POINT (-38.993652 -3.378041)'))) / (select extract(epoch from '2026-08-16 07:18:50'::timestamp) - extract(epoch from '2026-08-16 07:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.993575 -3.377969)'), GeomFromEWKT('SRID=4674;POINT (-38.993652 -3.378041)'))) / (select extract(epoch from '2026-08-16 07:18:50'::timestamp) - extract(epoch from '2026-08-16 07:18: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'), 48145, 'SRID=4674;POINT (-38.993758 -3.378129)', '2026-08-16 07:18:56', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.993652 -3.378041)'), GeomFromEWKT('SRID=4674;POINT (-38.993758 -3.378129)'))) / (select extract(epoch from '2026-08-16 07:18:56'::timestamp) - extract(epoch from '2026-08-16 07:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.993652 -3.378041)'), GeomFromEWKT('SRID=4674;POINT (-38.993758 -3.378129)'))) / (select extract(epoch from '2026-08-16 07:18:56'::timestamp) - extract(epoch from '2026-08-16 07:18: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'), 48145, 'SRID=4674;POINT (-38.993855 -3.37819)', '2026-08-16 07:19:01', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.993758 -3.378129)'), GeomFromEWKT('SRID=4674;POINT (-38.993855 -3.37819)'))) / (select extract(epoch from '2026-08-16 07:19:01'::timestamp) - extract(epoch from '2026-08-16 07:18:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.993758 -3.378129)'), GeomFromEWKT('SRID=4674;POINT (-38.993855 -3.37819)'))) / (select extract(epoch from '2026-08-16 07:19:01'::timestamp) - extract(epoch from '2026-08-16 07:18: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'), 48145, 'SRID=4674;POINT (-38.993956 -3.378253)', '2026-08-16 07:19:06', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.993855 -3.37819)'), GeomFromEWKT('SRID=4674;POINT (-38.993956 -3.378253)'))) / (select extract(epoch from '2026-08-16 07:19:06'::timestamp) - extract(epoch from '2026-08-16 07:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.993855 -3.37819)'), GeomFromEWKT('SRID=4674;POINT (-38.993956 -3.378253)'))) / (select extract(epoch from '2026-08-16 07:19:06'::timestamp) - extract(epoch from '2026-08-16 07:19: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'), 48145, 'SRID=4674;POINT (-38.99409 -3.378353)', '2026-08-16 07:19:14', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.993956 -3.378253)'), GeomFromEWKT('SRID=4674;POINT (-38.99409 -3.378353)'))) / (select extract(epoch from '2026-08-16 07:19:14'::timestamp) - extract(epoch from '2026-08-16 07:19:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.993956 -3.378253)'), GeomFromEWKT('SRID=4674;POINT (-38.99409 -3.378353)'))) / (select extract(epoch from '2026-08-16 07:19:14'::timestamp) - extract(epoch from '2026-08-16 07:19: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'), 48145, 'SRID=4674;POINT (-38.994191 -3.378436)', '2026-08-16 07:19:20', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99409 -3.378353)'), GeomFromEWKT('SRID=4674;POINT (-38.994191 -3.378436)'))) / (select extract(epoch from '2026-08-16 07:19:20'::timestamp) - extract(epoch from '2026-08-16 07:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99409 -3.378353)'), GeomFromEWKT('SRID=4674;POINT (-38.994191 -3.378436)'))) / (select extract(epoch from '2026-08-16 07:19:20'::timestamp) - extract(epoch from '2026-08-16 07:19: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'), 48145, 'SRID=4674;POINT (-38.99427 -3.378504)', '2026-08-16 07:19:25', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.994191 -3.378436)'), GeomFromEWKT('SRID=4674;POINT (-38.99427 -3.378504)'))) / (select extract(epoch from '2026-08-16 07:19:25'::timestamp) - extract(epoch from '2026-08-16 07:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.994191 -3.378436)'), GeomFromEWKT('SRID=4674;POINT (-38.99427 -3.378504)'))) / (select extract(epoch from '2026-08-16 07:19:25'::timestamp) - extract(epoch from '2026-08-16 07:19: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'), 48145, 'SRID=4674;POINT (-38.994352 -3.378582)', '2026-08-16 07:19:30', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99427 -3.378504)'), GeomFromEWKT('SRID=4674;POINT (-38.994352 -3.378582)'))) / (select extract(epoch from '2026-08-16 07:19:30'::timestamp) - extract(epoch from '2026-08-16 07:19:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99427 -3.378504)'), GeomFromEWKT('SRID=4674;POINT (-38.994352 -3.378582)'))) / (select extract(epoch from '2026-08-16 07:19:30'::timestamp) - extract(epoch from '2026-08-16 07:19: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'), 48145, 'SRID=4674;POINT (-38.994455 -3.378669)', '2026-08-16 07:19:36', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.994352 -3.378582)'), GeomFromEWKT('SRID=4674;POINT (-38.994455 -3.378669)'))) / (select extract(epoch from '2026-08-16 07:19:36'::timestamp) - extract(epoch from '2026-08-16 07:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.994352 -3.378582)'), GeomFromEWKT('SRID=4674;POINT (-38.994455 -3.378669)'))) / (select extract(epoch from '2026-08-16 07:19:36'::timestamp) - extract(epoch from '2026-08-16 07:19: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'), 48145, 'SRID=4674;POINT (-38.994557 -3.378746)', '2026-08-16 07:19:42', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.994455 -3.378669)'), GeomFromEWKT('SRID=4674;POINT (-38.994557 -3.378746)'))) / (select extract(epoch from '2026-08-16 07:19:42'::timestamp) - extract(epoch from '2026-08-16 07:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.994455 -3.378669)'), GeomFromEWKT('SRID=4674;POINT (-38.994557 -3.378746)'))) / (select extract(epoch from '2026-08-16 07:19:42'::timestamp) - extract(epoch from '2026-08-16 07:19:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.994694 -3.378834)', '2026-08-16 07:19:49', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.994557 -3.378746)'), GeomFromEWKT('SRID=4674;POINT (-38.994694 -3.378834)'))) / (select extract(epoch from '2026-08-16 07:19:49'::timestamp) - extract(epoch from '2026-08-16 07:19:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.994557 -3.378746)'), GeomFromEWKT('SRID=4674;POINT (-38.994694 -3.378834)'))) / (select extract(epoch from '2026-08-16 07:19:49'::timestamp) - extract(epoch from '2026-08-16 07:19: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'), 48145, 'SRID=4674;POINT (-38.99483 -3.378938)', '2026-08-16 07:19:57', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.994694 -3.378834)'), GeomFromEWKT('SRID=4674;POINT (-38.99483 -3.378938)'))) / (select extract(epoch from '2026-08-16 07:19:57'::timestamp) - extract(epoch from '2026-08-16 07:19:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.994694 -3.378834)'), GeomFromEWKT('SRID=4674;POINT (-38.99483 -3.378938)'))) / (select extract(epoch from '2026-08-16 07:19:57'::timestamp) - extract(epoch from '2026-08-16 07:19: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'), 48145, 'SRID=4674;POINT (-38.994912 -3.379003)', '2026-08-16 07:20:02', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99483 -3.378938)'), GeomFromEWKT('SRID=4674;POINT (-38.994912 -3.379003)'))) / (select extract(epoch from '2026-08-16 07:20:02'::timestamp) - extract(epoch from '2026-08-16 07:19:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99483 -3.378938)'), GeomFromEWKT('SRID=4674;POINT (-38.994912 -3.379003)'))) / (select extract(epoch from '2026-08-16 07:20:02'::timestamp) - extract(epoch from '2026-08-16 07:19: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'), 48145, 'SRID=4674;POINT (-38.995019 -3.379078)', '2026-08-16 07:20:08', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.994912 -3.379003)'), GeomFromEWKT('SRID=4674;POINT (-38.995019 -3.379078)'))) / (select extract(epoch from '2026-08-16 07:20:08'::timestamp) - extract(epoch from '2026-08-16 07:20:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.994912 -3.379003)'), GeomFromEWKT('SRID=4674;POINT (-38.995019 -3.379078)'))) / (select extract(epoch from '2026-08-16 07:20:08'::timestamp) - extract(epoch from '2026-08-16 07:20:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.995118 -3.379156)', '2026-08-16 07:20:14', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.995019 -3.379078)'), GeomFromEWKT('SRID=4674;POINT (-38.995118 -3.379156)'))) / (select extract(epoch from '2026-08-16 07:20:14'::timestamp) - extract(epoch from '2026-08-16 07:20:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.995019 -3.379078)'), GeomFromEWKT('SRID=4674;POINT (-38.995118 -3.379156)'))) / (select extract(epoch from '2026-08-16 07:20:14'::timestamp) - extract(epoch from '2026-08-16 07:20: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'), 48145, 'SRID=4674;POINT (-38.995235 -3.379248)', '2026-08-16 07:20:21', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.995118 -3.379156)'), GeomFromEWKT('SRID=4674;POINT (-38.995235 -3.379248)'))) / (select extract(epoch from '2026-08-16 07:20:21'::timestamp) - extract(epoch from '2026-08-16 07:20:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.995118 -3.379156)'), GeomFromEWKT('SRID=4674;POINT (-38.995235 -3.379248)'))) / (select extract(epoch from '2026-08-16 07:20:21'::timestamp) - extract(epoch from '2026-08-16 07:20:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.995313 -3.379315)', '2026-08-16 07:20:26', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.995235 -3.379248)'), GeomFromEWKT('SRID=4674;POINT (-38.995313 -3.379315)'))) / (select extract(epoch from '2026-08-16 07:20:26'::timestamp) - extract(epoch from '2026-08-16 07:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.995235 -3.379248)'), GeomFromEWKT('SRID=4674;POINT (-38.995313 -3.379315)'))) / (select extract(epoch from '2026-08-16 07:20:26'::timestamp) - extract(epoch from '2026-08-16 07:20:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.995443 -3.37944)', '2026-08-16 07:20:34', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.995313 -3.379315)'), GeomFromEWKT('SRID=4674;POINT (-38.995443 -3.37944)'))) / (select extract(epoch from '2026-08-16 07:20:34'::timestamp) - extract(epoch from '2026-08-16 07:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.995313 -3.379315)'), GeomFromEWKT('SRID=4674;POINT (-38.995443 -3.37944)'))) / (select extract(epoch from '2026-08-16 07:20:34'::timestamp) - extract(epoch from '2026-08-16 07:20: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'), 48145, 'SRID=4674;POINT (-38.995523 -3.379487)', '2026-08-16 07:20:38', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.995443 -3.37944)'), GeomFromEWKT('SRID=4674;POINT (-38.995523 -3.379487)'))) / (select extract(epoch from '2026-08-16 07:20:38'::timestamp) - extract(epoch from '2026-08-16 07:20:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.995443 -3.37944)'), GeomFromEWKT('SRID=4674;POINT (-38.995523 -3.379487)'))) / (select extract(epoch from '2026-08-16 07:20:38'::timestamp) - extract(epoch from '2026-08-16 07:20:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.995603 -3.379554)', '2026-08-16 07:20:43', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.995523 -3.379487)'), GeomFromEWKT('SRID=4674;POINT (-38.995603 -3.379554)'))) / (select extract(epoch from '2026-08-16 07:20:43'::timestamp) - extract(epoch from '2026-08-16 07:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.995523 -3.379487)'), GeomFromEWKT('SRID=4674;POINT (-38.995603 -3.379554)'))) / (select extract(epoch from '2026-08-16 07:20:43'::timestamp) - extract(epoch from '2026-08-16 07:20: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'), 48145, 'SRID=4674;POINT (-38.995696 -3.379632)', '2026-08-16 07:20:48', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.995603 -3.379554)'), GeomFromEWKT('SRID=4674;POINT (-38.995696 -3.379632)'))) / (select extract(epoch from '2026-08-16 07:20:48'::timestamp) - extract(epoch from '2026-08-16 07:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.995603 -3.379554)'), GeomFromEWKT('SRID=4674;POINT (-38.995696 -3.379632)'))) / (select extract(epoch from '2026-08-16 07:20:48'::timestamp) - extract(epoch from '2026-08-16 07:20: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'), 48145, 'SRID=4674;POINT (-38.995806 -3.379728)', '2026-08-16 07:20:55', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.995696 -3.379632)'), GeomFromEWKT('SRID=4674;POINT (-38.995806 -3.379728)'))) / (select extract(epoch from '2026-08-16 07:20:55'::timestamp) - extract(epoch from '2026-08-16 07:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.995696 -3.379632)'), GeomFromEWKT('SRID=4674;POINT (-38.995806 -3.379728)'))) / (select extract(epoch from '2026-08-16 07:20:55'::timestamp) - extract(epoch from '2026-08-16 07:20: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'), 48145, 'SRID=4674;POINT (-38.995905 -3.37983)', '2026-08-16 07:21:02', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.995806 -3.379728)'), GeomFromEWKT('SRID=4674;POINT (-38.995905 -3.37983)'))) / (select extract(epoch from '2026-08-16 07:21:02'::timestamp) - extract(epoch from '2026-08-16 07:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.995806 -3.379728)'), GeomFromEWKT('SRID=4674;POINT (-38.995905 -3.37983)'))) / (select extract(epoch from '2026-08-16 07:21:02'::timestamp) - extract(epoch from '2026-08-16 07:20: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'), 48145, 'SRID=4674;POINT (-38.996011 -3.379918)', '2026-08-16 07:21:08', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.995905 -3.37983)'), GeomFromEWKT('SRID=4674;POINT (-38.996011 -3.379918)'))) / (select extract(epoch from '2026-08-16 07:21:08'::timestamp) - extract(epoch from '2026-08-16 07:21:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.995905 -3.37983)'), GeomFromEWKT('SRID=4674;POINT (-38.996011 -3.379918)'))) / (select extract(epoch from '2026-08-16 07:21:08'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.996117 -3.379977)', '2026-08-16 07:21:14', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.996011 -3.379918)'), GeomFromEWKT('SRID=4674;POINT (-38.996117 -3.379977)'))) / (select extract(epoch from '2026-08-16 07:21:14'::timestamp) - extract(epoch from '2026-08-16 07:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.996011 -3.379918)'), GeomFromEWKT('SRID=4674;POINT (-38.996117 -3.379977)'))) / (select extract(epoch from '2026-08-16 07:21:14'::timestamp) - extract(epoch from '2026-08-16 07:21: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'), 48145, 'SRID=4674;POINT (-38.996199 -3.380044)', '2026-08-16 07:21:19', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.996117 -3.379977)'), GeomFromEWKT('SRID=4674;POINT (-38.996199 -3.380044)'))) / (select extract(epoch from '2026-08-16 07:21:19'::timestamp) - extract(epoch from '2026-08-16 07:21:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.996117 -3.379977)'), GeomFromEWKT('SRID=4674;POINT (-38.996199 -3.380044)'))) / (select extract(epoch from '2026-08-16 07:21:19'::timestamp) - extract(epoch from '2026-08-16 07:21:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.996283 -3.380128)', '2026-08-16 07:21:24', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.996199 -3.380044)'), GeomFromEWKT('SRID=4674;POINT (-38.996283 -3.380128)'))) / (select extract(epoch from '2026-08-16 07:21:24'::timestamp) - extract(epoch from '2026-08-16 07:21:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.996199 -3.380044)'), GeomFromEWKT('SRID=4674;POINT (-38.996283 -3.380128)'))) / (select extract(epoch from '2026-08-16 07:21:24'::timestamp) - extract(epoch from '2026-08-16 07:21:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.996395 -3.380234)', '2026-08-16 07:21:31', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.996283 -3.380128)'), GeomFromEWKT('SRID=4674;POINT (-38.996395 -3.380234)'))) / (select extract(epoch from '2026-08-16 07:21:31'::timestamp) - extract(epoch from '2026-08-16 07:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.996283 -3.380128)'), GeomFromEWKT('SRID=4674;POINT (-38.996395 -3.380234)'))) / (select extract(epoch from '2026-08-16 07:21:31'::timestamp) - extract(epoch from '2026-08-16 07:21: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'), 48145, 'SRID=4674;POINT (-38.996474 -3.380299)', '2026-08-16 07:21:36', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.996395 -3.380234)'), GeomFromEWKT('SRID=4674;POINT (-38.996474 -3.380299)'))) / (select extract(epoch from '2026-08-16 07:21:36'::timestamp) - extract(epoch from '2026-08-16 07:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.996395 -3.380234)'), GeomFromEWKT('SRID=4674;POINT (-38.996474 -3.380299)'))) / (select extract(epoch from '2026-08-16 07:21:36'::timestamp) - extract(epoch from '2026-08-16 07:21:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.99657 -3.380374)', '2026-08-16 07:21:41', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.996474 -3.380299)'), GeomFromEWKT('SRID=4674;POINT (-38.99657 -3.380374)'))) / (select extract(epoch from '2026-08-16 07:21:41'::timestamp) - extract(epoch from '2026-08-16 07:21:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.996474 -3.380299)'), GeomFromEWKT('SRID=4674;POINT (-38.99657 -3.380374)'))) / (select extract(epoch from '2026-08-16 07:21:41'::timestamp) - extract(epoch from '2026-08-16 07:21: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'), 48145, 'SRID=4674;POINT (-38.996683 -3.380474)', '2026-08-16 07:21:48', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99657 -3.380374)'), GeomFromEWKT('SRID=4674;POINT (-38.996683 -3.380474)'))) / (select extract(epoch from '2026-08-16 07:21:48'::timestamp) - extract(epoch from '2026-08-16 07:21:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99657 -3.380374)'), GeomFromEWKT('SRID=4674;POINT (-38.996683 -3.380474)'))) / (select extract(epoch from '2026-08-16 07:21:48'::timestamp) - extract(epoch from '2026-08-16 07:21: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'), 48145, 'SRID=4674;POINT (-38.996759 -3.380539)', '2026-08-16 07:21:53', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.996683 -3.380474)'), GeomFromEWKT('SRID=4674;POINT (-38.996759 -3.380539)'))) / (select extract(epoch from '2026-08-16 07:21:53'::timestamp) - extract(epoch from '2026-08-16 07:21:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.996683 -3.380474)'), GeomFromEWKT('SRID=4674;POINT (-38.996759 -3.380539)'))) / (select extract(epoch from '2026-08-16 07:21:53'::timestamp) - extract(epoch from '2026-08-16 07:21:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.996899 -3.380648)', '2026-08-16 07:22:01', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.996759 -3.380539)'), GeomFromEWKT('SRID=4674;POINT (-38.996899 -3.380648)'))) / (select extract(epoch from '2026-08-16 07:22:01'::timestamp) - extract(epoch from '2026-08-16 07:21:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.996759 -3.380539)'), GeomFromEWKT('SRID=4674;POINT (-38.996899 -3.380648)'))) / (select extract(epoch from '2026-08-16 07:22:01'::timestamp) - extract(epoch from '2026-08-16 07:21: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'), 48145, 'SRID=4674;POINT (-38.996995 -3.380735)', '2026-08-16 07:22:07', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.996899 -3.380648)'), GeomFromEWKT('SRID=4674;POINT (-38.996995 -3.380735)'))) / (select extract(epoch from '2026-08-16 07:22:07'::timestamp) - extract(epoch from '2026-08-16 07:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.996899 -3.380648)'), GeomFromEWKT('SRID=4674;POINT (-38.996995 -3.380735)'))) / (select extract(epoch from '2026-08-16 07:22:07'::timestamp) - extract(epoch from '2026-08-16 07:22: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'), 48145, 'SRID=4674;POINT (-38.997121 -3.380845)', '2026-08-16 07:22:15', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.996995 -3.380735)'), GeomFromEWKT('SRID=4674;POINT (-38.997121 -3.380845)'))) / (select extract(epoch from '2026-08-16 07:22:15'::timestamp) - extract(epoch from '2026-08-16 07:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.996995 -3.380735)'), GeomFromEWKT('SRID=4674;POINT (-38.997121 -3.380845)'))) / (select extract(epoch from '2026-08-16 07:22:15'::timestamp) - extract(epoch from '2026-08-16 07:22: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'), 48145, 'SRID=4674;POINT (-38.997191 -3.380924)', '2026-08-16 07:22:20', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.997121 -3.380845)'), GeomFromEWKT('SRID=4674;POINT (-38.997191 -3.380924)'))) / (select extract(epoch from '2026-08-16 07:22:20'::timestamp) - extract(epoch from '2026-08-16 07:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.997121 -3.380845)'), GeomFromEWKT('SRID=4674;POINT (-38.997191 -3.380924)'))) / (select extract(epoch from '2026-08-16 07:22:20'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.997278 -3.381004)', '2026-08-16 07:22:25', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.997191 -3.380924)'), GeomFromEWKT('SRID=4674;POINT (-38.997278 -3.381004)'))) / (select extract(epoch from '2026-08-16 07:22:25'::timestamp) - extract(epoch from '2026-08-16 07:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.997191 -3.380924)'), GeomFromEWKT('SRID=4674;POINT (-38.997278 -3.381004)'))) / (select extract(epoch from '2026-08-16 07:22:25'::timestamp) - extract(epoch from '2026-08-16 07:22: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'), 48145, 'SRID=4674;POINT (-38.997395 -3.38111)', '2026-08-16 07:22:32', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.997278 -3.381004)'), GeomFromEWKT('SRID=4674;POINT (-38.997395 -3.38111)'))) / (select extract(epoch from '2026-08-16 07:22:32'::timestamp) - extract(epoch from '2026-08-16 07:22:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.997278 -3.381004)'), GeomFromEWKT('SRID=4674;POINT (-38.997395 -3.38111)'))) / (select extract(epoch from '2026-08-16 07:22:32'::timestamp) - extract(epoch from '2026-08-16 07:22: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'), 48145, 'SRID=4674;POINT (-38.997459 -3.381167)', '2026-08-16 07:22:36', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.997395 -3.38111)'), GeomFromEWKT('SRID=4674;POINT (-38.997459 -3.381167)'))) / (select extract(epoch from '2026-08-16 07:22:36'::timestamp) - extract(epoch from '2026-08-16 07:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.997395 -3.38111)'), GeomFromEWKT('SRID=4674;POINT (-38.997459 -3.381167)'))) / (select extract(epoch from '2026-08-16 07:22:36'::timestamp) - extract(epoch from '2026-08-16 07:22: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'), 48145, 'SRID=4674;POINT (-38.99759 -3.381285)', '2026-08-16 07:22:44', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.997459 -3.381167)'), GeomFromEWKT('SRID=4674;POINT (-38.99759 -3.381285)'))) / (select extract(epoch from '2026-08-16 07:22:44'::timestamp) - extract(epoch from '2026-08-16 07:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.997459 -3.381167)'), GeomFromEWKT('SRID=4674;POINT (-38.99759 -3.381285)'))) / (select extract(epoch from '2026-08-16 07:22:44'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.997657 -3.381354)', '2026-08-16 07:22:49', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99759 -3.381285)'), GeomFromEWKT('SRID=4674;POINT (-38.997657 -3.381354)'))) / (select extract(epoch from '2026-08-16 07:22:49'::timestamp) - extract(epoch from '2026-08-16 07:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99759 -3.381285)'), GeomFromEWKT('SRID=4674;POINT (-38.997657 -3.381354)'))) / (select extract(epoch from '2026-08-16 07:22:49'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.997758 -3.381445)', '2026-08-16 07:22:55', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.997657 -3.381354)'), GeomFromEWKT('SRID=4674;POINT (-38.997758 -3.381445)'))) / (select extract(epoch from '2026-08-16 07:22:55'::timestamp) - extract(epoch from '2026-08-16 07:22:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.997657 -3.381354)'), GeomFromEWKT('SRID=4674;POINT (-38.997758 -3.381445)'))) / (select extract(epoch from '2026-08-16 07:22:55'::timestamp) - extract(epoch from '2026-08-16 07:22: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'), 48145, 'SRID=4674;POINT (-38.997859 -3.381555)', '2026-08-16 07:23:02', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.997758 -3.381445)'), GeomFromEWKT('SRID=4674;POINT (-38.997859 -3.381555)'))) / (select extract(epoch from '2026-08-16 07:23:02'::timestamp) - extract(epoch from '2026-08-16 07:22:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.997758 -3.381445)'), GeomFromEWKT('SRID=4674;POINT (-38.997859 -3.381555)'))) / (select extract(epoch from '2026-08-16 07:23:02'::timestamp) - extract(epoch from '2026-08-16 07:22:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.997964 -3.381656)', '2026-08-16 07:23:09', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.997859 -3.381555)'), GeomFromEWKT('SRID=4674;POINT (-38.997964 -3.381656)'))) / (select extract(epoch from '2026-08-16 07:23:09'::timestamp) - extract(epoch from '2026-08-16 07:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.997859 -3.381555)'), GeomFromEWKT('SRID=4674;POINT (-38.997964 -3.381656)'))) / (select extract(epoch from '2026-08-16 07:23:09'::timestamp) - extract(epoch from '2026-08-16 07:23: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'), 48145, 'SRID=4674;POINT (-38.998034 -3.381736)', '2026-08-16 07:23:14', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.997964 -3.381656)'), GeomFromEWKT('SRID=4674;POINT (-38.998034 -3.381736)'))) / (select extract(epoch from '2026-08-16 07:23:14'::timestamp) - extract(epoch from '2026-08-16 07:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.997964 -3.381656)'), GeomFromEWKT('SRID=4674;POINT (-38.998034 -3.381736)'))) / (select extract(epoch from '2026-08-16 07:23:14'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.998144 -3.381848)', '2026-08-16 07:23:21', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998034 -3.381736)'), GeomFromEWKT('SRID=4674;POINT (-38.998144 -3.381848)'))) / (select extract(epoch from '2026-08-16 07:23:21'::timestamp) - extract(epoch from '2026-08-16 07:23:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998034 -3.381736)'), GeomFromEWKT('SRID=4674;POINT (-38.998144 -3.381848)'))) / (select extract(epoch from '2026-08-16 07:23:21'::timestamp) - extract(epoch from '2026-08-16 07:23: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'), 48145, 'SRID=4674;POINT (-38.998229 -3.381935)', '2026-08-16 07:23:27', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998144 -3.381848)'), GeomFromEWKT('SRID=4674;POINT (-38.998229 -3.381935)'))) / (select extract(epoch from '2026-08-16 07:23:27'::timestamp) - extract(epoch from '2026-08-16 07:23:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998144 -3.381848)'), GeomFromEWKT('SRID=4674;POINT (-38.998229 -3.381935)'))) / (select extract(epoch from '2026-08-16 07:23:27'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.998273 -3.381991)', '2026-08-16 07:23:30', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998229 -3.381935)'), GeomFromEWKT('SRID=4674;POINT (-38.998273 -3.381991)'))) / (select extract(epoch from '2026-08-16 07:23:30'::timestamp) - extract(epoch from '2026-08-16 07:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998229 -3.381935)'), GeomFromEWKT('SRID=4674;POINT (-38.998273 -3.381991)'))) / (select extract(epoch from '2026-08-16 07:23:30'::timestamp) - extract(epoch from '2026-08-16 07:23: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'), 48145, 'SRID=4674;POINT (-38.998313 -3.382022)', '2026-08-16 07:23:32', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998273 -3.381991)'), GeomFromEWKT('SRID=4674;POINT (-38.998313 -3.382022)'))) / (select extract(epoch from '2026-08-16 07:23:32'::timestamp) - extract(epoch from '2026-08-16 07:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998273 -3.381991)'), GeomFromEWKT('SRID=4674;POINT (-38.998313 -3.382022)'))) / (select extract(epoch from '2026-08-16 07:23:32'::timestamp) - extract(epoch from '2026-08-16 07:23: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'), 48145, 'SRID=4674;POINT (-38.998387 -3.382103)', '2026-08-16 07:23:37', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998313 -3.382022)'), GeomFromEWKT('SRID=4674;POINT (-38.998387 -3.382103)'))) / (select extract(epoch from '2026-08-16 07:23:37'::timestamp) - extract(epoch from '2026-08-16 07:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998313 -3.382022)'), GeomFromEWKT('SRID=4674;POINT (-38.998387 -3.382103)'))) / (select extract(epoch from '2026-08-16 07:23:37'::timestamp) - extract(epoch from '2026-08-16 07:23: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'), 48145, 'SRID=4674;POINT (-38.998451 -3.382171)', '2026-08-16 07:23:42', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998387 -3.382103)'), GeomFromEWKT('SRID=4674;POINT (-38.998451 -3.382171)'))) / (select extract(epoch from '2026-08-16 07:23:42'::timestamp) - extract(epoch from '2026-08-16 07:23:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998387 -3.382103)'), GeomFromEWKT('SRID=4674;POINT (-38.998451 -3.382171)'))) / (select extract(epoch from '2026-08-16 07:23:42'::timestamp) - extract(epoch from '2026-08-16 07:23: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'), 48145, 'SRID=4674;POINT (-38.998528 -3.382256)', '2026-08-16 07:23:47', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998451 -3.382171)'), GeomFromEWKT('SRID=4674;POINT (-38.998528 -3.382256)'))) / (select extract(epoch from '2026-08-16 07:23:47'::timestamp) - extract(epoch from '2026-08-16 07:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998451 -3.382171)'), GeomFromEWKT('SRID=4674;POINT (-38.998528 -3.382256)'))) / (select extract(epoch from '2026-08-16 07:23:47'::timestamp) - extract(epoch from '2026-08-16 07:23:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.99862 -3.382373)', '2026-08-16 07:23:54', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998528 -3.382256)'), GeomFromEWKT('SRID=4674;POINT (-38.99862 -3.382373)'))) / (select extract(epoch from '2026-08-16 07:23:54'::timestamp) - extract(epoch from '2026-08-16 07:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998528 -3.382256)'), GeomFromEWKT('SRID=4674;POINT (-38.99862 -3.382373)'))) / (select extract(epoch from '2026-08-16 07:23:54'::timestamp) - extract(epoch from '2026-08-16 07:23: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'), 48145, 'SRID=4674;POINT (-38.998708 -3.382457)', '2026-08-16 07:24:00', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99862 -3.382373)'), GeomFromEWKT('SRID=4674;POINT (-38.998708 -3.382457)'))) / (select extract(epoch from '2026-08-16 07:24:00'::timestamp) - extract(epoch from '2026-08-16 07:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99862 -3.382373)'), GeomFromEWKT('SRID=4674;POINT (-38.998708 -3.382457)'))) / (select extract(epoch from '2026-08-16 07:24:00'::timestamp) - extract(epoch from '2026-08-16 07:23: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'), 48145, 'SRID=4674;POINT (-38.99878 -3.38252)', '2026-08-16 07:24:04', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998708 -3.382457)'), GeomFromEWKT('SRID=4674;POINT (-38.99878 -3.38252)'))) / (select extract(epoch from '2026-08-16 07:24:04'::timestamp) - extract(epoch from '2026-08-16 07:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998708 -3.382457)'), GeomFromEWKT('SRID=4674;POINT (-38.99878 -3.38252)'))) / (select extract(epoch from '2026-08-16 07:24:04'::timestamp) - extract(epoch from '2026-08-16 07:24: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'), 48145, 'SRID=4674;POINT (-38.998881 -3.382608)', '2026-08-16 07:24:10', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99878 -3.38252)'), GeomFromEWKT('SRID=4674;POINT (-38.998881 -3.382608)'))) / (select extract(epoch from '2026-08-16 07:24:10'::timestamp) - extract(epoch from '2026-08-16 07:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99878 -3.38252)'), GeomFromEWKT('SRID=4674;POINT (-38.998881 -3.382608)'))) / (select extract(epoch from '2026-08-16 07:24:10'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.998983 -3.382706)', '2026-08-16 07:24:16', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998881 -3.382608)'), GeomFromEWKT('SRID=4674;POINT (-38.998983 -3.382706)'))) / (select extract(epoch from '2026-08-16 07:24:16'::timestamp) - extract(epoch from '2026-08-16 07:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998881 -3.382608)'), GeomFromEWKT('SRID=4674;POINT (-38.998983 -3.382706)'))) / (select extract(epoch from '2026-08-16 07:24:16'::timestamp) - extract(epoch from '2026-08-16 07:24: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'), 48145, 'SRID=4674;POINT (-38.999079 -3.382805)', '2026-08-16 07:24:22', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998983 -3.382706)'), GeomFromEWKT('SRID=4674;POINT (-38.999079 -3.382805)'))) / (select extract(epoch from '2026-08-16 07:24:22'::timestamp) - extract(epoch from '2026-08-16 07:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998983 -3.382706)'), GeomFromEWKT('SRID=4674;POINT (-38.999079 -3.382805)'))) / (select extract(epoch from '2026-08-16 07:24:22'::timestamp) - extract(epoch from '2026-08-16 07:24:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.999151 -3.382878)', '2026-08-16 07:24:27', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.999079 -3.382805)'), GeomFromEWKT('SRID=4674;POINT (-38.999151 -3.382878)'))) / (select extract(epoch from '2026-08-16 07:24:27'::timestamp) - extract(epoch from '2026-08-16 07:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.999079 -3.382805)'), GeomFromEWKT('SRID=4674;POINT (-38.999151 -3.382878)'))) / (select extract(epoch from '2026-08-16 07:24:27'::timestamp) - extract(epoch from '2026-08-16 07:24: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'), 48145, 'SRID=4674;POINT (-38.999249 -3.382992)', '2026-08-16 07:24:34', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.999151 -3.382878)'), GeomFromEWKT('SRID=4674;POINT (-38.999249 -3.382992)'))) / (select extract(epoch from '2026-08-16 07:24:34'::timestamp) - extract(epoch from '2026-08-16 07:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.999151 -3.382878)'), GeomFromEWKT('SRID=4674;POINT (-38.999249 -3.382992)'))) / (select extract(epoch from '2026-08-16 07:24:34'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.999351 -3.383114)', '2026-08-16 07:24:41', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.999249 -3.382992)'), GeomFromEWKT('SRID=4674;POINT (-38.999351 -3.383114)'))) / (select extract(epoch from '2026-08-16 07:24:41'::timestamp) - extract(epoch from '2026-08-16 07:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.999249 -3.382992)'), GeomFromEWKT('SRID=4674;POINT (-38.999351 -3.383114)'))) / (select extract(epoch from '2026-08-16 07:24:41'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-38.999471 -3.383246)', '2026-08-16 07:24:49', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.999351 -3.383114)'), GeomFromEWKT('SRID=4674;POINT (-38.999471 -3.383246)'))) / (select extract(epoch from '2026-08-16 07:24:49'::timestamp) - extract(epoch from '2026-08-16 07:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.999351 -3.383114)'), GeomFromEWKT('SRID=4674;POINT (-38.999471 -3.383246)'))) / (select extract(epoch from '2026-08-16 07:24:49'::timestamp) - extract(epoch from '2026-08-16 07:24: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'), 48145, 'SRID=4674;POINT (-38.999583 -3.383368)', '2026-08-16 07:24:57', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.999471 -3.383246)'), GeomFromEWKT('SRID=4674;POINT (-38.999583 -3.383368)'))) / (select extract(epoch from '2026-08-16 07:24:57'::timestamp) - extract(epoch from '2026-08-16 07:24:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.999471 -3.383246)'), GeomFromEWKT('SRID=4674;POINT (-38.999583 -3.383368)'))) / (select extract(epoch from '2026-08-16 07:24:57'::timestamp) - extract(epoch from '2026-08-16 07:24: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'), 48145, 'SRID=4674;POINT (-38.999669 -3.383449)', '2026-08-16 07:25:02', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.999583 -3.383368)'), GeomFromEWKT('SRID=4674;POINT (-38.999669 -3.383449)'))) / (select extract(epoch from '2026-08-16 07:25:02'::timestamp) - extract(epoch from '2026-08-16 07:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.999583 -3.383368)'), GeomFromEWKT('SRID=4674;POINT (-38.999669 -3.383449)'))) / (select extract(epoch from '2026-08-16 07:25:02'::timestamp) - extract(epoch from '2026-08-16 07:24: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'), 48145, 'SRID=4674;POINT (-38.999766 -3.383536)', '2026-08-16 07:25:08', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.999669 -3.383449)'), GeomFromEWKT('SRID=4674;POINT (-38.999766 -3.383536)'))) / (select extract(epoch from '2026-08-16 07:25:08'::timestamp) - extract(epoch from '2026-08-16 07:25:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.999669 -3.383449)'), GeomFromEWKT('SRID=4674;POINT (-38.999766 -3.383536)'))) / (select extract(epoch from '2026-08-16 07:25:08'::timestamp) - extract(epoch from '2026-08-16 07:25:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-38.999868 -3.383617)', '2026-08-16 07:25:14', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.999766 -3.383536)'), GeomFromEWKT('SRID=4674;POINT (-38.999868 -3.383617)'))) / (select extract(epoch from '2026-08-16 07:25:14'::timestamp) - extract(epoch from '2026-08-16 07:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.999766 -3.383536)'), GeomFromEWKT('SRID=4674;POINT (-38.999868 -3.383617)'))) / (select extract(epoch from '2026-08-16 07:25:14'::timestamp) - extract(epoch from '2026-08-16 07:25: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'), 48145, 'SRID=4674;POINT (-38.999973 -3.383698)', '2026-08-16 07:25:20', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.999868 -3.383617)'), GeomFromEWKT('SRID=4674;POINT (-38.999973 -3.383698)'))) / (select extract(epoch from '2026-08-16 07:25:20'::timestamp) - extract(epoch from '2026-08-16 07:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.999868 -3.383617)'), GeomFromEWKT('SRID=4674;POINT (-38.999973 -3.383698)'))) / (select extract(epoch from '2026-08-16 07:25:20'::timestamp) - extract(epoch from '2026-08-16 07:25: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'), 48145, 'SRID=4674;POINT (-39.000065 -3.383779)', '2026-08-16 07:25:25', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.999973 -3.383698)'), GeomFromEWKT('SRID=4674;POINT (-39.000065 -3.383779)'))) / (select extract(epoch from '2026-08-16 07:25:25'::timestamp) - extract(epoch from '2026-08-16 07:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.999973 -3.383698)'), GeomFromEWKT('SRID=4674;POINT (-39.000065 -3.383779)'))) / (select extract(epoch from '2026-08-16 07:25:25'::timestamp) - extract(epoch from '2026-08-16 07:25:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.000155 -3.383873)', '2026-08-16 07:25:31', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000065 -3.383779)'), GeomFromEWKT('SRID=4674;POINT (-39.000155 -3.383873)'))) / (select extract(epoch from '2026-08-16 07:25:31'::timestamp) - extract(epoch from '2026-08-16 07:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000065 -3.383779)'), GeomFromEWKT('SRID=4674;POINT (-39.000155 -3.383873)'))) / (select extract(epoch from '2026-08-16 07:25:31'::timestamp) - extract(epoch from '2026-08-16 07:25:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.000233 -3.383933)', '2026-08-16 07:25:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000155 -3.383873)'), GeomFromEWKT('SRID=4674;POINT (-39.000233 -3.383933)'))) / (select extract(epoch from '2026-08-16 07:25:35'::timestamp) - extract(epoch from '2026-08-16 07:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000155 -3.383873)'), GeomFromEWKT('SRID=4674;POINT (-39.000233 -3.383933)'))) / (select extract(epoch from '2026-08-16 07:25:35'::timestamp) - extract(epoch from '2026-08-16 07:25: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'), 48145, 'SRID=4674;POINT (-39.000316 -3.383995)', '2026-08-16 07:25:40', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000233 -3.383933)'), GeomFromEWKT('SRID=4674;POINT (-39.000316 -3.383995)'))) / (select extract(epoch from '2026-08-16 07:25:40'::timestamp) - extract(epoch from '2026-08-16 07:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000233 -3.383933)'), GeomFromEWKT('SRID=4674;POINT (-39.000316 -3.383995)'))) / (select extract(epoch from '2026-08-16 07:25:40'::timestamp) - extract(epoch from '2026-08-16 07:25: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'), 48145, 'SRID=4674;POINT (-39.000423 -3.384078)', '2026-08-16 07:25:46', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000316 -3.383995)'), GeomFromEWKT('SRID=4674;POINT (-39.000423 -3.384078)'))) / (select extract(epoch from '2026-08-16 07:25:46'::timestamp) - extract(epoch from '2026-08-16 07:25:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000316 -3.383995)'), GeomFromEWKT('SRID=4674;POINT (-39.000423 -3.384078)'))) / (select extract(epoch from '2026-08-16 07:25:46'::timestamp) - extract(epoch from '2026-08-16 07:25:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.000535 -3.384161)', '2026-08-16 07:25:52', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000423 -3.384078)'), GeomFromEWKT('SRID=4674;POINT (-39.000535 -3.384161)'))) / (select extract(epoch from '2026-08-16 07:25:52'::timestamp) - extract(epoch from '2026-08-16 07:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000423 -3.384078)'), GeomFromEWKT('SRID=4674;POINT (-39.000535 -3.384161)'))) / (select extract(epoch from '2026-08-16 07:25:52'::timestamp) - extract(epoch from '2026-08-16 07:25: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'), 48145, 'SRID=4674;POINT (-39.00065 -3.384234)', '2026-08-16 07:25:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000535 -3.384161)'), GeomFromEWKT('SRID=4674;POINT (-39.00065 -3.384234)'))) / (select extract(epoch from '2026-08-16 07:25:58'::timestamp) - extract(epoch from '2026-08-16 07:25:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000535 -3.384161)'), GeomFromEWKT('SRID=4674;POINT (-39.00065 -3.384234)'))) / (select extract(epoch from '2026-08-16 07:25:58'::timestamp) - extract(epoch from '2026-08-16 07:25: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'), 48145, 'SRID=4674;POINT (-39.000788 -3.384325)', '2026-08-16 07:26:05', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00065 -3.384234)'), GeomFromEWKT('SRID=4674;POINT (-39.000788 -3.384325)'))) / (select extract(epoch from '2026-08-16 07:26:05'::timestamp) - extract(epoch from '2026-08-16 07:25:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00065 -3.384234)'), GeomFromEWKT('SRID=4674;POINT (-39.000788 -3.384325)'))) / (select extract(epoch from '2026-08-16 07:26:05'::timestamp) - extract(epoch from '2026-08-16 07:25: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'), 48145, 'SRID=4674;POINT (-39.000872 -3.384397)', '2026-08-16 07:26:10', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000788 -3.384325)'), GeomFromEWKT('SRID=4674;POINT (-39.000872 -3.384397)'))) / (select extract(epoch from '2026-08-16 07:26:10'::timestamp) - extract(epoch from '2026-08-16 07:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000788 -3.384325)'), GeomFromEWKT('SRID=4674;POINT (-39.000872 -3.384397)'))) / (select extract(epoch from '2026-08-16 07:26:10'::timestamp) - extract(epoch from '2026-08-16 07:26: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'), 48145, 'SRID=4674;POINT (-39.000973 -3.384477)', '2026-08-16 07:26:16', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000872 -3.384397)'), GeomFromEWKT('SRID=4674;POINT (-39.000973 -3.384477)'))) / (select extract(epoch from '2026-08-16 07:26:16'::timestamp) - extract(epoch from '2026-08-16 07:26:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000872 -3.384397)'), GeomFromEWKT('SRID=4674;POINT (-39.000973 -3.384477)'))) / (select extract(epoch from '2026-08-16 07:26:16'::timestamp) - extract(epoch from '2026-08-16 07:26: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'), 48145, 'SRID=4674;POINT (-39.001066 -3.384541)', '2026-08-16 07:26:21', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000973 -3.384477)'), GeomFromEWKT('SRID=4674;POINT (-39.001066 -3.384541)'))) / (select extract(epoch from '2026-08-16 07:26:21'::timestamp) - extract(epoch from '2026-08-16 07:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000973 -3.384477)'), GeomFromEWKT('SRID=4674;POINT (-39.001066 -3.384541)'))) / (select extract(epoch from '2026-08-16 07:26:21'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-39.001159 -3.38461)', '2026-08-16 07:26:26', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.001066 -3.384541)'), GeomFromEWKT('SRID=4674;POINT (-39.001159 -3.38461)'))) / (select extract(epoch from '2026-08-16 07:26:26'::timestamp) - extract(epoch from '2026-08-16 07:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.001066 -3.384541)'), GeomFromEWKT('SRID=4674;POINT (-39.001159 -3.38461)'))) / (select extract(epoch from '2026-08-16 07:26:26'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-39.001262 -3.384695)', '2026-08-16 07:26:32', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.001159 -3.38461)'), GeomFromEWKT('SRID=4674;POINT (-39.001262 -3.384695)'))) / (select extract(epoch from '2026-08-16 07:26:32'::timestamp) - extract(epoch from '2026-08-16 07:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.001159 -3.38461)'), GeomFromEWKT('SRID=4674;POINT (-39.001262 -3.384695)'))) / (select extract(epoch from '2026-08-16 07:26:32'::timestamp) - extract(epoch from '2026-08-16 07:26:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.001341 -3.384765)', '2026-08-16 07:26:37', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.001262 -3.384695)'), GeomFromEWKT('SRID=4674;POINT (-39.001341 -3.384765)'))) / (select extract(epoch from '2026-08-16 07:26:37'::timestamp) - extract(epoch from '2026-08-16 07:26:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.001262 -3.384695)'), GeomFromEWKT('SRID=4674;POINT (-39.001341 -3.384765)'))) / (select extract(epoch from '2026-08-16 07:26:37'::timestamp) - extract(epoch from '2026-08-16 07:26: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'), 48145, 'SRID=4674;POINT (-39.001462 -3.384887)', '2026-08-16 07:26:45', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.001341 -3.384765)'), GeomFromEWKT('SRID=4674;POINT (-39.001462 -3.384887)'))) / (select extract(epoch from '2026-08-16 07:26:45'::timestamp) - extract(epoch from '2026-08-16 07:26:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.001341 -3.384765)'), GeomFromEWKT('SRID=4674;POINT (-39.001462 -3.384887)'))) / (select extract(epoch from '2026-08-16 07:26:45'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-39.00155 -3.384969)', '2026-08-16 07:26:50', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.001462 -3.384887)'), GeomFromEWKT('SRID=4674;POINT (-39.00155 -3.384969)'))) / (select extract(epoch from '2026-08-16 07:26:50'::timestamp) - extract(epoch from '2026-08-16 07:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.001462 -3.384887)'), GeomFromEWKT('SRID=4674;POINT (-39.00155 -3.384969)'))) / (select extract(epoch from '2026-08-16 07:26:50'::timestamp) - extract(epoch from '2026-08-16 07:26:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.001635 -3.385049)', '2026-08-16 07:26:55', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00155 -3.384969)'), GeomFromEWKT('SRID=4674;POINT (-39.001635 -3.385049)'))) / (select extract(epoch from '2026-08-16 07:26:55'::timestamp) - extract(epoch from '2026-08-16 07:26:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00155 -3.384969)'), GeomFromEWKT('SRID=4674;POINT (-39.001635 -3.385049)'))) / (select extract(epoch from '2026-08-16 07:26:55'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-39.001702 -3.38512)', '2026-08-16 07:27:00', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.001635 -3.385049)'), GeomFromEWKT('SRID=4674;POINT (-39.001702 -3.38512)'))) / (select extract(epoch from '2026-08-16 07:27:00'::timestamp) - extract(epoch from '2026-08-16 07:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.001635 -3.385049)'), GeomFromEWKT('SRID=4674;POINT (-39.001702 -3.38512)'))) / (select extract(epoch from '2026-08-16 07:27:00'::timestamp) - extract(epoch from '2026-08-16 07:26: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'), 48145, 'SRID=4674;POINT (-39.001825 -3.385228)', '2026-08-16 07:27:07', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.001702 -3.38512)'), GeomFromEWKT('SRID=4674;POINT (-39.001825 -3.385228)'))) / (select extract(epoch from '2026-08-16 07:27:07'::timestamp) - extract(epoch from '2026-08-16 07:27:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.001702 -3.38512)'), GeomFromEWKT('SRID=4674;POINT (-39.001825 -3.385228)'))) / (select extract(epoch from '2026-08-16 07:27:07'::timestamp) - extract(epoch from '2026-08-16 07:27: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'), 48145, 'SRID=4674;POINT (-39.001937 -3.385333)', '2026-08-16 07:27:14', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.001825 -3.385228)'), GeomFromEWKT('SRID=4674;POINT (-39.001937 -3.385333)'))) / (select extract(epoch from '2026-08-16 07:27:14'::timestamp) - extract(epoch from '2026-08-16 07:27:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.001825 -3.385228)'), GeomFromEWKT('SRID=4674;POINT (-39.001937 -3.385333)'))) / (select extract(epoch from '2026-08-16 07:27:14'::timestamp) - extract(epoch from '2026-08-16 07:27: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'), 48145, 'SRID=4674;POINT (-39.002068 -3.385453)', '2026-08-16 07:27:22', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.001937 -3.385333)'), GeomFromEWKT('SRID=4674;POINT (-39.002068 -3.385453)'))) / (select extract(epoch from '2026-08-16 07:27:22'::timestamp) - extract(epoch from '2026-08-16 07:27:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.001937 -3.385333)'), GeomFromEWKT('SRID=4674;POINT (-39.002068 -3.385453)'))) / (select extract(epoch from '2026-08-16 07:27:22'::timestamp) - extract(epoch from '2026-08-16 07:27: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'), 48145, 'SRID=4674;POINT (-39.002169 -3.385527)', '2026-08-16 07:27:27', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.002068 -3.385453)'), GeomFromEWKT('SRID=4674;POINT (-39.002169 -3.385527)'))) / (select extract(epoch from '2026-08-16 07:27:27'::timestamp) - extract(epoch from '2026-08-16 07:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.002068 -3.385453)'), GeomFromEWKT('SRID=4674;POINT (-39.002169 -3.385527)'))) / (select extract(epoch from '2026-08-16 07:27:27'::timestamp) - extract(epoch from '2026-08-16 07:27:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.002225 -3.385588)', '2026-08-16 07:27:31', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.002169 -3.385527)'), GeomFromEWKT('SRID=4674;POINT (-39.002225 -3.385588)'))) / (select extract(epoch from '2026-08-16 07:27:31'::timestamp) - extract(epoch from '2026-08-16 07:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.002169 -3.385527)'), GeomFromEWKT('SRID=4674;POINT (-39.002225 -3.385588)'))) / (select extract(epoch from '2026-08-16 07:27:31'::timestamp) - extract(epoch from '2026-08-16 07:27: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'), 48145, 'SRID=4674;POINT (-39.002327 -3.385667)', '2026-08-16 07:27:36', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.002225 -3.385588)'), GeomFromEWKT('SRID=4674;POINT (-39.002327 -3.385667)'))) / (select extract(epoch from '2026-08-16 07:27:36'::timestamp) - extract(epoch from '2026-08-16 07:27:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.002225 -3.385588)'), GeomFromEWKT('SRID=4674;POINT (-39.002327 -3.385667)'))) / (select extract(epoch from '2026-08-16 07:27:36'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-39.002432 -3.385776)', '2026-08-16 07:27:43', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.002327 -3.385667)'), GeomFromEWKT('SRID=4674;POINT (-39.002432 -3.385776)'))) / (select extract(epoch from '2026-08-16 07:27:43'::timestamp) - extract(epoch from '2026-08-16 07:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.002327 -3.385667)'), GeomFromEWKT('SRID=4674;POINT (-39.002432 -3.385776)'))) / (select extract(epoch from '2026-08-16 07:27:43'::timestamp) - extract(epoch from '2026-08-16 07:27:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.002501 -3.385854)', '2026-08-16 07:27:48', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.002432 -3.385776)'), GeomFromEWKT('SRID=4674;POINT (-39.002501 -3.385854)'))) / (select extract(epoch from '2026-08-16 07:27:48'::timestamp) - extract(epoch from '2026-08-16 07:27:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.002432 -3.385776)'), GeomFromEWKT('SRID=4674;POINT (-39.002501 -3.385854)'))) / (select extract(epoch from '2026-08-16 07:27:48'::timestamp) - extract(epoch from '2026-08-16 07:27: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'), 48145, 'SRID=4674;POINT (-39.002583 -3.385954)', '2026-08-16 07:27:54', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.002501 -3.385854)'), GeomFromEWKT('SRID=4674;POINT (-39.002583 -3.385954)'))) / (select extract(epoch from '2026-08-16 07:27:54'::timestamp) - extract(epoch from '2026-08-16 07:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.002501 -3.385854)'), GeomFromEWKT('SRID=4674;POINT (-39.002583 -3.385954)'))) / (select extract(epoch from '2026-08-16 07:27:54'::timestamp) - extract(epoch from '2026-08-16 07:27: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'), 48145, 'SRID=4674;POINT (-39.002683 -3.386055)', '2026-08-16 07:28:00', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.002583 -3.385954)'), GeomFromEWKT('SRID=4674;POINT (-39.002683 -3.386055)'))) / (select extract(epoch from '2026-08-16 07:28:00'::timestamp) - extract(epoch from '2026-08-16 07:27:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.002583 -3.385954)'), GeomFromEWKT('SRID=4674;POINT (-39.002683 -3.386055)'))) / (select extract(epoch from '2026-08-16 07:28:00'::timestamp) - extract(epoch from '2026-08-16 07:27: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'), 48145, 'SRID=4674;POINT (-39.002775 -3.386152)', '2026-08-16 07:28:06', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.002683 -3.386055)'), GeomFromEWKT('SRID=4674;POINT (-39.002775 -3.386152)'))) / (select extract(epoch from '2026-08-16 07:28:06'::timestamp) - extract(epoch from '2026-08-16 07:28:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.002683 -3.386055)'), GeomFromEWKT('SRID=4674;POINT (-39.002775 -3.386152)'))) / (select extract(epoch from '2026-08-16 07:28:06'::timestamp) - extract(epoch from '2026-08-16 07:28: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'), 48145, 'SRID=4674;POINT (-39.002904 -3.38625)', '2026-08-16 07:28:13', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.002775 -3.386152)'), GeomFromEWKT('SRID=4674;POINT (-39.002904 -3.38625)'))) / (select extract(epoch from '2026-08-16 07:28:13'::timestamp) - extract(epoch from '2026-08-16 07:28:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.002775 -3.386152)'), GeomFromEWKT('SRID=4674;POINT (-39.002904 -3.38625)'))) / (select extract(epoch from '2026-08-16 07:28:13'::timestamp) - extract(epoch from '2026-08-16 07:28: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'), 48145, 'SRID=4674;POINT (-39.003049 -3.386371)', '2026-08-16 07:28:21', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.002904 -3.38625)'), GeomFromEWKT('SRID=4674;POINT (-39.003049 -3.386371)'))) / (select extract(epoch from '2026-08-16 07:28:21'::timestamp) - extract(epoch from '2026-08-16 07:28:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.002904 -3.38625)'), GeomFromEWKT('SRID=4674;POINT (-39.003049 -3.386371)'))) / (select extract(epoch from '2026-08-16 07:28:21'::timestamp) - extract(epoch from '2026-08-16 07:28: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'), 48145, 'SRID=4674;POINT (-39.003158 -3.386453)', '2026-08-16 07:28:27', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.003049 -3.386371)'), GeomFromEWKT('SRID=4674;POINT (-39.003158 -3.386453)'))) / (select extract(epoch from '2026-08-16 07:28:27'::timestamp) - extract(epoch from '2026-08-16 07:28:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.003049 -3.386371)'), GeomFromEWKT('SRID=4674;POINT (-39.003158 -3.386453)'))) / (select extract(epoch from '2026-08-16 07:28:27'::timestamp) - extract(epoch from '2026-08-16 07:28: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'), 48145, 'SRID=4674;POINT (-39.003301 -3.386564)', '2026-08-16 07:28:35', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.003158 -3.386453)'), GeomFromEWKT('SRID=4674;POINT (-39.003301 -3.386564)'))) / (select extract(epoch from '2026-08-16 07:28:35'::timestamp) - extract(epoch from '2026-08-16 07:28:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.003158 -3.386453)'), GeomFromEWKT('SRID=4674;POINT (-39.003301 -3.386564)'))) / (select extract(epoch from '2026-08-16 07:28:35'::timestamp) - extract(epoch from '2026-08-16 07:28: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'), 48145, 'SRID=4674;POINT (-39.003431 -3.38666)', '2026-08-16 07:28:42', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.003301 -3.386564)'), GeomFromEWKT('SRID=4674;POINT (-39.003431 -3.38666)'))) / (select extract(epoch from '2026-08-16 07:28:42'::timestamp) - extract(epoch from '2026-08-16 07:28:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.003301 -3.386564)'), GeomFromEWKT('SRID=4674;POINT (-39.003431 -3.38666)'))) / (select extract(epoch from '2026-08-16 07:28:42'::timestamp) - extract(epoch from '2026-08-16 07:28: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'), 48145, 'SRID=4674;POINT (-39.003527 -3.386733)', '2026-08-16 07:28:48', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.003431 -3.38666)'), GeomFromEWKT('SRID=4674;POINT (-39.003527 -3.386733)'))) / (select extract(epoch from '2026-08-16 07:28:48'::timestamp) - extract(epoch from '2026-08-16 07:28:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.003431 -3.38666)'), GeomFromEWKT('SRID=4674;POINT (-39.003527 -3.386733)'))) / (select extract(epoch from '2026-08-16 07:28:48'::timestamp) - extract(epoch from '2026-08-16 07:28: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'), 48145, 'SRID=4674;POINT (-39.003637 -3.386822)', '2026-08-16 07:28:54', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.003527 -3.386733)'), GeomFromEWKT('SRID=4674;POINT (-39.003637 -3.386822)'))) / (select extract(epoch from '2026-08-16 07:28:54'::timestamp) - extract(epoch from '2026-08-16 07:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.003527 -3.386733)'), GeomFromEWKT('SRID=4674;POINT (-39.003637 -3.386822)'))) / (select extract(epoch from '2026-08-16 07:28:54'::timestamp) - extract(epoch from '2026-08-16 07:28: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'), 48145, 'SRID=4674;POINT (-39.00374 -3.386897)', '2026-08-16 07:28:59', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.003637 -3.386822)'), GeomFromEWKT('SRID=4674;POINT (-39.00374 -3.386897)'))) / (select extract(epoch from '2026-08-16 07:28:59'::timestamp) - extract(epoch from '2026-08-16 07:28:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.003637 -3.386822)'), GeomFromEWKT('SRID=4674;POINT (-39.00374 -3.386897)'))) / (select extract(epoch from '2026-08-16 07:28:59'::timestamp) - extract(epoch from '2026-08-16 07:28:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.003858 -3.386978)', '2026-08-16 07:29:05', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00374 -3.386897)'), GeomFromEWKT('SRID=4674;POINT (-39.003858 -3.386978)'))) / (select extract(epoch from '2026-08-16 07:29:05'::timestamp) - extract(epoch from '2026-08-16 07:28:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00374 -3.386897)'), GeomFromEWKT('SRID=4674;POINT (-39.003858 -3.386978)'))) / (select extract(epoch from '2026-08-16 07:29:05'::timestamp) - extract(epoch from '2026-08-16 07:28: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'), 48145, 'SRID=4674;POINT (-39.003957 -3.387059)', '2026-08-16 07:29:11', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.003858 -3.386978)'), GeomFromEWKT('SRID=4674;POINT (-39.003957 -3.387059)'))) / (select extract(epoch from '2026-08-16 07:29:11'::timestamp) - extract(epoch from '2026-08-16 07:29:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.003858 -3.386978)'), GeomFromEWKT('SRID=4674;POINT (-39.003957 -3.387059)'))) / (select extract(epoch from '2026-08-16 07:29:11'::timestamp) - extract(epoch from '2026-08-16 07:29: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'), 48145, 'SRID=4674;POINT (-39.004076 -3.38716)', '2026-08-16 07:29:18', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.003957 -3.387059)'), GeomFromEWKT('SRID=4674;POINT (-39.004076 -3.38716)'))) / (select extract(epoch from '2026-08-16 07:29:18'::timestamp) - extract(epoch from '2026-08-16 07:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.003957 -3.387059)'), GeomFromEWKT('SRID=4674;POINT (-39.004076 -3.38716)'))) / (select extract(epoch from '2026-08-16 07:29:18'::timestamp) - extract(epoch from '2026-08-16 07:29: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'), 48145, 'SRID=4674;POINT (-39.00419 -3.387253)', '2026-08-16 07:29:24', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.004076 -3.38716)'), GeomFromEWKT('SRID=4674;POINT (-39.00419 -3.387253)'))) / (select extract(epoch from '2026-08-16 07:29:24'::timestamp) - extract(epoch from '2026-08-16 07:29:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.004076 -3.38716)'), GeomFromEWKT('SRID=4674;POINT (-39.00419 -3.387253)'))) / (select extract(epoch from '2026-08-16 07:29:24'::timestamp) - extract(epoch from '2026-08-16 07:29: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'), 48145, 'SRID=4674;POINT (-39.004274 -3.387322)', '2026-08-16 07:29:29', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00419 -3.387253)'), GeomFromEWKT('SRID=4674;POINT (-39.004274 -3.387322)'))) / (select extract(epoch from '2026-08-16 07:29:29'::timestamp) - extract(epoch from '2026-08-16 07:29:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00419 -3.387253)'), GeomFromEWKT('SRID=4674;POINT (-39.004274 -3.387322)'))) / (select extract(epoch from '2026-08-16 07:29:29'::timestamp) - extract(epoch from '2026-08-16 07:29: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'), 48145, 'SRID=4674;POINT (-39.004359 -3.387411)', '2026-08-16 07:29:34', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.004274 -3.387322)'), GeomFromEWKT('SRID=4674;POINT (-39.004359 -3.387411)'))) / (select extract(epoch from '2026-08-16 07:29:34'::timestamp) - extract(epoch from '2026-08-16 07:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.004274 -3.387322)'), GeomFromEWKT('SRID=4674;POINT (-39.004359 -3.387411)'))) / (select extract(epoch from '2026-08-16 07:29:34'::timestamp) - extract(epoch from '2026-08-16 07:29:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.004438 -3.387484)', '2026-08-16 07:29:39', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.004359 -3.387411)'), GeomFromEWKT('SRID=4674;POINT (-39.004438 -3.387484)'))) / (select extract(epoch from '2026-08-16 07:29:39'::timestamp) - extract(epoch from '2026-08-16 07:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.004359 -3.387411)'), GeomFromEWKT('SRID=4674;POINT (-39.004438 -3.387484)'))) / (select extract(epoch from '2026-08-16 07:29:39'::timestamp) - extract(epoch from '2026-08-16 07:29: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'), 48145, 'SRID=4674;POINT (-39.004547 -3.387601)', '2026-08-16 07:29:46', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.004438 -3.387484)'), GeomFromEWKT('SRID=4674;POINT (-39.004547 -3.387601)'))) / (select extract(epoch from '2026-08-16 07:29:46'::timestamp) - extract(epoch from '2026-08-16 07:29:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.004438 -3.387484)'), GeomFromEWKT('SRID=4674;POINT (-39.004547 -3.387601)'))) / (select extract(epoch from '2026-08-16 07:29:46'::timestamp) - extract(epoch from '2026-08-16 07:29: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'), 48145, 'SRID=4674;POINT (-39.004651 -3.387705)', '2026-08-16 07:29:53', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.004547 -3.387601)'), GeomFromEWKT('SRID=4674;POINT (-39.004651 -3.387705)'))) / (select extract(epoch from '2026-08-16 07:29:53'::timestamp) - extract(epoch from '2026-08-16 07:29:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.004547 -3.387601)'), GeomFromEWKT('SRID=4674;POINT (-39.004651 -3.387705)'))) / (select extract(epoch from '2026-08-16 07:29:53'::timestamp) - extract(epoch from '2026-08-16 07:29:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.004774 -3.387838)', '2026-08-16 07:30:01', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.004651 -3.387705)'), GeomFromEWKT('SRID=4674;POINT (-39.004774 -3.387838)'))) / (select extract(epoch from '2026-08-16 07:30:01'::timestamp) - extract(epoch from '2026-08-16 07:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.004651 -3.387705)'), GeomFromEWKT('SRID=4674;POINT (-39.004774 -3.387838)'))) / (select extract(epoch from '2026-08-16 07:30:01'::timestamp) - extract(epoch from '2026-08-16 07:29:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.00479 -3.387858)', '2026-08-16 07:30:02', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.004774 -3.387838)'), GeomFromEWKT('SRID=4674;POINT (-39.00479 -3.387858)'))) / (select extract(epoch from '2026-08-16 07:30:02'::timestamp) - extract(epoch from '2026-08-16 07:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.004774 -3.387838)'), GeomFromEWKT('SRID=4674;POINT (-39.00479 -3.387858)'))) / (select extract(epoch from '2026-08-16 07:30:02'::timestamp) - extract(epoch from '2026-08-16 07:30:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.004862 -3.387936)', '2026-08-16 07:30:07', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00479 -3.387858)'), GeomFromEWKT('SRID=4674;POINT (-39.004862 -3.387936)'))) / (select extract(epoch from '2026-08-16 07:30:07'::timestamp) - extract(epoch from '2026-08-16 07:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00479 -3.387858)'), GeomFromEWKT('SRID=4674;POINT (-39.004862 -3.387936)'))) / (select extract(epoch from '2026-08-16 07:30:07'::timestamp) - extract(epoch from '2026-08-16 07:30:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.004984 -3.388047)', '2026-08-16 07:30:14', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.004862 -3.387936)'), GeomFromEWKT('SRID=4674;POINT (-39.004984 -3.388047)'))) / (select extract(epoch from '2026-08-16 07:30:14'::timestamp) - extract(epoch from '2026-08-16 07:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.004862 -3.387936)'), GeomFromEWKT('SRID=4674;POINT (-39.004984 -3.388047)'))) / (select extract(epoch from '2026-08-16 07:30:14'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-39.005076 -3.388133)', '2026-08-16 07:30:20', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.004984 -3.388047)'), GeomFromEWKT('SRID=4674;POINT (-39.005076 -3.388133)'))) / (select extract(epoch from '2026-08-16 07:30:20'::timestamp) - extract(epoch from '2026-08-16 07:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.004984 -3.388047)'), GeomFromEWKT('SRID=4674;POINT (-39.005076 -3.388133)'))) / (select extract(epoch from '2026-08-16 07:30:20'::timestamp) - extract(epoch from '2026-08-16 07:30: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'), 48145, 'SRID=4674;POINT (-39.005154 -3.388212)', '2026-08-16 07:30:25', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.005076 -3.388133)'), GeomFromEWKT('SRID=4674;POINT (-39.005154 -3.388212)'))) / (select extract(epoch from '2026-08-16 07:30:25'::timestamp) - extract(epoch from '2026-08-16 07:30:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.005076 -3.388133)'), GeomFromEWKT('SRID=4674;POINT (-39.005154 -3.388212)'))) / (select extract(epoch from '2026-08-16 07:30:25'::timestamp) - extract(epoch from '2026-08-16 07:30:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.005246 -3.388305)', '2026-08-16 07:30:31', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.005154 -3.388212)'), GeomFromEWKT('SRID=4674;POINT (-39.005246 -3.388305)'))) / (select extract(epoch from '2026-08-16 07:30:31'::timestamp) - extract(epoch from '2026-08-16 07:30:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.005154 -3.388212)'), GeomFromEWKT('SRID=4674;POINT (-39.005246 -3.388305)'))) / (select extract(epoch from '2026-08-16 07:30:31'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-39.005368 -3.3884)', '2026-08-16 07:30:38', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.005246 -3.388305)'), GeomFromEWKT('SRID=4674;POINT (-39.005368 -3.3884)'))) / (select extract(epoch from '2026-08-16 07:30:38'::timestamp) - extract(epoch from '2026-08-16 07:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.005246 -3.388305)'), GeomFromEWKT('SRID=4674;POINT (-39.005368 -3.3884)'))) / (select extract(epoch from '2026-08-16 07:30:38'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-39.005486 -3.388492)', '2026-08-16 07:30:44', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.005368 -3.3884)'), GeomFromEWKT('SRID=4674;POINT (-39.005486 -3.388492)'))) / (select extract(epoch from '2026-08-16 07:30:44'::timestamp) - extract(epoch from '2026-08-16 07:30:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.005368 -3.3884)'), GeomFromEWKT('SRID=4674;POINT (-39.005486 -3.388492)'))) / (select extract(epoch from '2026-08-16 07:30:44'::timestamp) - extract(epoch from '2026-08-16 07:30:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.005573 -3.388552)', '2026-08-16 07:30:49', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.005486 -3.388492)'), GeomFromEWKT('SRID=4674;POINT (-39.005573 -3.388552)'))) / (select extract(epoch from '2026-08-16 07:30:49'::timestamp) - extract(epoch from '2026-08-16 07:30:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.005486 -3.388492)'), GeomFromEWKT('SRID=4674;POINT (-39.005573 -3.388552)'))) / (select extract(epoch from '2026-08-16 07:30:49'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-39.005684 -3.388632)', '2026-08-16 07:30:55', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.005573 -3.388552)'), GeomFromEWKT('SRID=4674;POINT (-39.005684 -3.388632)'))) / (select extract(epoch from '2026-08-16 07:30:55'::timestamp) - extract(epoch from '2026-08-16 07:30:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.005573 -3.388552)'), GeomFromEWKT('SRID=4674;POINT (-39.005684 -3.388632)'))) / (select extract(epoch from '2026-08-16 07:30:55'::timestamp) - extract(epoch from '2026-08-16 07:30: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'), 48145, 'SRID=4674;POINT (-39.005836 -3.388734)', '2026-08-16 07:31:03', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.005684 -3.388632)'), GeomFromEWKT('SRID=4674;POINT (-39.005836 -3.388734)'))) / (select extract(epoch from '2026-08-16 07:31:03'::timestamp) - extract(epoch from '2026-08-16 07:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.005684 -3.388632)'), GeomFromEWKT('SRID=4674;POINT (-39.005836 -3.388734)'))) / (select extract(epoch from '2026-08-16 07:31:03'::timestamp) - extract(epoch from '2026-08-16 07:30: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'), 48145, 'SRID=4674;POINT (-39.005942 -3.388823)', '2026-08-16 07:31:09', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.005836 -3.388734)'), GeomFromEWKT('SRID=4674;POINT (-39.005942 -3.388823)'))) / (select extract(epoch from '2026-08-16 07:31:09'::timestamp) - extract(epoch from '2026-08-16 07:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.005836 -3.388734)'), GeomFromEWKT('SRID=4674;POINT (-39.005942 -3.388823)'))) / (select extract(epoch from '2026-08-16 07:31:09'::timestamp) - extract(epoch from '2026-08-16 07:31:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.00605 -3.388902)', '2026-08-16 07:31:15', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.005942 -3.388823)'), GeomFromEWKT('SRID=4674;POINT (-39.00605 -3.388902)'))) / (select extract(epoch from '2026-08-16 07:31:15'::timestamp) - extract(epoch from '2026-08-16 07:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.005942 -3.388823)'), GeomFromEWKT('SRID=4674;POINT (-39.00605 -3.388902)'))) / (select extract(epoch from '2026-08-16 07:31:15'::timestamp) - extract(epoch from '2026-08-16 07:31: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'), 48145, 'SRID=4674;POINT (-39.006165 -3.389)', '2026-08-16 07:31:21', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00605 -3.388902)'), GeomFromEWKT('SRID=4674;POINT (-39.006165 -3.389)'))) / (select extract(epoch from '2026-08-16 07:31:21'::timestamp) - extract(epoch from '2026-08-16 07:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00605 -3.388902)'), GeomFromEWKT('SRID=4674;POINT (-39.006165 -3.389)'))) / (select extract(epoch from '2026-08-16 07:31:21'::timestamp) - extract(epoch from '2026-08-16 07:31:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.006269 -3.38909)', '2026-08-16 07:31:27', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006165 -3.389)'), GeomFromEWKT('SRID=4674;POINT (-39.006269 -3.38909)'))) / (select extract(epoch from '2026-08-16 07:31:27'::timestamp) - extract(epoch from '2026-08-16 07:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006165 -3.389)'), GeomFromEWKT('SRID=4674;POINT (-39.006269 -3.38909)'))) / (select extract(epoch from '2026-08-16 07:31:27'::timestamp) - extract(epoch from '2026-08-16 07:31: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'), 48145, 'SRID=4674;POINT (-39.006387 -3.389199)', '2026-08-16 07:31:34', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006269 -3.38909)'), GeomFromEWKT('SRID=4674;POINT (-39.006387 -3.389199)'))) / (select extract(epoch from '2026-08-16 07:31:34'::timestamp) - extract(epoch from '2026-08-16 07:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006269 -3.38909)'), GeomFromEWKT('SRID=4674;POINT (-39.006387 -3.389199)'))) / (select extract(epoch from '2026-08-16 07:31:34'::timestamp) - extract(epoch from '2026-08-16 07:31: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'), 48145, 'SRID=4674;POINT (-39.006515 -3.389327)', '2026-08-16 07:31:42', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006387 -3.389199)'), GeomFromEWKT('SRID=4674;POINT (-39.006515 -3.389327)'))) / (select extract(epoch from '2026-08-16 07:31:42'::timestamp) - extract(epoch from '2026-08-16 07:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006387 -3.389199)'), GeomFromEWKT('SRID=4674;POINT (-39.006515 -3.389327)'))) / (select extract(epoch from '2026-08-16 07:31:42'::timestamp) - extract(epoch from '2026-08-16 07:31: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'), 48145, 'SRID=4674;POINT (-39.006623 -3.389437)', '2026-08-16 07:31:49', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006515 -3.389327)'), GeomFromEWKT('SRID=4674;POINT (-39.006623 -3.389437)'))) / (select extract(epoch from '2026-08-16 07:31:49'::timestamp) - extract(epoch from '2026-08-16 07:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006515 -3.389327)'), GeomFromEWKT('SRID=4674;POINT (-39.006623 -3.389437)'))) / (select extract(epoch from '2026-08-16 07:31:49'::timestamp) - extract(epoch from '2026-08-16 07:31: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'), 48145, 'SRID=4674;POINT (-39.006769 -3.389552)', '2026-08-16 07:31:57', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006623 -3.389437)'), GeomFromEWKT('SRID=4674;POINT (-39.006769 -3.389552)'))) / (select extract(epoch from '2026-08-16 07:31:57'::timestamp) - extract(epoch from '2026-08-16 07:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006623 -3.389437)'), GeomFromEWKT('SRID=4674;POINT (-39.006769 -3.389552)'))) / (select extract(epoch from '2026-08-16 07:31:57'::timestamp) - extract(epoch from '2026-08-16 07:31: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'), 48145, 'SRID=4674;POINT (-39.006828 -3.389599)', '2026-08-16 07:32:00', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006769 -3.389552)'), GeomFromEWKT('SRID=4674;POINT (-39.006828 -3.389599)'))) / (select extract(epoch from '2026-08-16 07:32:00'::timestamp) - extract(epoch from '2026-08-16 07:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006769 -3.389552)'), GeomFromEWKT('SRID=4674;POINT (-39.006828 -3.389599)'))) / (select extract(epoch from '2026-08-16 07:32:00'::timestamp) - extract(epoch from '2026-08-16 07:31: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'), 48145, 'SRID=4674;POINT (-39.006843 -3.389629)', '2026-08-16 07:32:02', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006828 -3.389599)'), GeomFromEWKT('SRID=4674;POINT (-39.006843 -3.389629)'))) / (select extract(epoch from '2026-08-16 07:32:02'::timestamp) - extract(epoch from '2026-08-16 07:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006828 -3.389599)'), GeomFromEWKT('SRID=4674;POINT (-39.006843 -3.389629)'))) / (select extract(epoch from '2026-08-16 07:32:02'::timestamp) - extract(epoch from '2026-08-16 07:32:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.00692 -3.389696)', '2026-08-16 07:32:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006843 -3.389629)'), GeomFromEWKT('SRID=4674;POINT (-39.00692 -3.389696)'))) / (select extract(epoch from '2026-08-16 07:32:06'::timestamp) - extract(epoch from '2026-08-16 07:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006843 -3.389629)'), GeomFromEWKT('SRID=4674;POINT (-39.00692 -3.389696)'))) / (select extract(epoch from '2026-08-16 07:32:06'::timestamp) - extract(epoch from '2026-08-16 07:32: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'), 48145, 'SRID=4674;POINT (-39.007014 -3.38978)', '2026-08-16 07:32:12', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00692 -3.389696)'), GeomFromEWKT('SRID=4674;POINT (-39.007014 -3.38978)'))) / (select extract(epoch from '2026-08-16 07:32:12'::timestamp) - extract(epoch from '2026-08-16 07:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00692 -3.389696)'), GeomFromEWKT('SRID=4674;POINT (-39.007014 -3.38978)'))) / (select extract(epoch from '2026-08-16 07:32:12'::timestamp) - extract(epoch from '2026-08-16 07:32:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.007155 -3.389899)', '2026-08-16 07:32:20', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007014 -3.38978)'), GeomFromEWKT('SRID=4674;POINT (-39.007155 -3.389899)'))) / (select extract(epoch from '2026-08-16 07:32:20'::timestamp) - extract(epoch from '2026-08-16 07:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007014 -3.38978)'), GeomFromEWKT('SRID=4674;POINT (-39.007155 -3.389899)'))) / (select extract(epoch from '2026-08-16 07:32:20'::timestamp) - extract(epoch from '2026-08-16 07:32: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'), 48145, 'SRID=4674;POINT (-39.007254 -3.390013)', '2026-08-16 07:32:27', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007155 -3.389899)'), GeomFromEWKT('SRID=4674;POINT (-39.007254 -3.390013)'))) / (select extract(epoch from '2026-08-16 07:32:27'::timestamp) - extract(epoch from '2026-08-16 07:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007155 -3.389899)'), GeomFromEWKT('SRID=4674;POINT (-39.007254 -3.390013)'))) / (select extract(epoch from '2026-08-16 07:32:27'::timestamp) - extract(epoch from '2026-08-16 07:32:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.00734 -3.3901)', '2026-08-16 07:32:32', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007254 -3.390013)'), GeomFromEWKT('SRID=4674;POINT (-39.00734 -3.3901)'))) / (select extract(epoch from '2026-08-16 07:32:32'::timestamp) - extract(epoch from '2026-08-16 07:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007254 -3.390013)'), GeomFromEWKT('SRID=4674;POINT (-39.00734 -3.3901)'))) / (select extract(epoch from '2026-08-16 07:32:32'::timestamp) - extract(epoch from '2026-08-16 07:32:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.007452 -3.390186)', '2026-08-16 07:32:38', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00734 -3.3901)'), GeomFromEWKT('SRID=4674;POINT (-39.007452 -3.390186)'))) / (select extract(epoch from '2026-08-16 07:32:38'::timestamp) - extract(epoch from '2026-08-16 07:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00734 -3.3901)'), GeomFromEWKT('SRID=4674;POINT (-39.007452 -3.390186)'))) / (select extract(epoch from '2026-08-16 07:32:38'::timestamp) - extract(epoch from '2026-08-16 07:32:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.007589 -3.390305)', '2026-08-16 07:32:46', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007452 -3.390186)'), GeomFromEWKT('SRID=4674;POINT (-39.007589 -3.390305)'))) / (select extract(epoch from '2026-08-16 07:32:46'::timestamp) - extract(epoch from '2026-08-16 07:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007452 -3.390186)'), GeomFromEWKT('SRID=4674;POINT (-39.007589 -3.390305)'))) / (select extract(epoch from '2026-08-16 07:32:46'::timestamp) - extract(epoch from '2026-08-16 07:32:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.007606 -3.390322)', '2026-08-16 07:32:47', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007589 -3.390305)'), GeomFromEWKT('SRID=4674;POINT (-39.007606 -3.390322)'))) / (select extract(epoch from '2026-08-16 07:32:47'::timestamp) - extract(epoch from '2026-08-16 07:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007589 -3.390305)'), GeomFromEWKT('SRID=4674;POINT (-39.007606 -3.390322)'))) / (select extract(epoch from '2026-08-16 07:32:47'::timestamp) - extract(epoch from '2026-08-16 07:32:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.007721 -3.390421)', '2026-08-16 07:32:54', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007606 -3.390322)'), GeomFromEWKT('SRID=4674;POINT (-39.007721 -3.390421)'))) / (select extract(epoch from '2026-08-16 07:32:54'::timestamp) - extract(epoch from '2026-08-16 07:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007606 -3.390322)'), GeomFromEWKT('SRID=4674;POINT (-39.007721 -3.390421)'))) / (select extract(epoch from '2026-08-16 07:32:54'::timestamp) - extract(epoch from '2026-08-16 07:32:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.007841 -3.390529)', '2026-08-16 07:33:01', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007721 -3.390421)'), GeomFromEWKT('SRID=4674;POINT (-39.007841 -3.390529)'))) / (select extract(epoch from '2026-08-16 07:33:01'::timestamp) - extract(epoch from '2026-08-16 07:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007721 -3.390421)'), GeomFromEWKT('SRID=4674;POINT (-39.007841 -3.390529)'))) / (select extract(epoch from '2026-08-16 07:33:01'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-39.007964 -3.390628)', '2026-08-16 07:33:08', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007841 -3.390529)'), GeomFromEWKT('SRID=4674;POINT (-39.007964 -3.390628)'))) / (select extract(epoch from '2026-08-16 07:33:08'::timestamp) - extract(epoch from '2026-08-16 07:33:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007841 -3.390529)'), GeomFromEWKT('SRID=4674;POINT (-39.007964 -3.390628)'))) / (select extract(epoch from '2026-08-16 07:33:08'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-39.008109 -3.390733)', '2026-08-16 07:33:16', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007964 -3.390628)'), GeomFromEWKT('SRID=4674;POINT (-39.008109 -3.390733)'))) / (select extract(epoch from '2026-08-16 07:33:16'::timestamp) - extract(epoch from '2026-08-16 07:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007964 -3.390628)'), GeomFromEWKT('SRID=4674;POINT (-39.008109 -3.390733)'))) / (select extract(epoch from '2026-08-16 07:33:16'::timestamp) - extract(epoch from '2026-08-16 07:33:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.00822 -3.390817)', '2026-08-16 07:33:22', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008109 -3.390733)'), GeomFromEWKT('SRID=4674;POINT (-39.00822 -3.390817)'))) / (select extract(epoch from '2026-08-16 07:33:22'::timestamp) - extract(epoch from '2026-08-16 07:33:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008109 -3.390733)'), GeomFromEWKT('SRID=4674;POINT (-39.00822 -3.390817)'))) / (select extract(epoch from '2026-08-16 07:33:22'::timestamp) - extract(epoch from '2026-08-16 07:33:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.008317 -3.390894)', '2026-08-16 07:33:27', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00822 -3.390817)'), GeomFromEWKT('SRID=4674;POINT (-39.008317 -3.390894)'))) / (select extract(epoch from '2026-08-16 07:33:27'::timestamp) - extract(epoch from '2026-08-16 07:33:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00822 -3.390817)'), GeomFromEWKT('SRID=4674;POINT (-39.008317 -3.390894)'))) / (select extract(epoch from '2026-08-16 07:33:27'::timestamp) - extract(epoch from '2026-08-16 07:33: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'), 48145, 'SRID=4674;POINT (-39.008434 -3.390975)', '2026-08-16 07:33:33', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008317 -3.390894)'), GeomFromEWKT('SRID=4674;POINT (-39.008434 -3.390975)'))) / (select extract(epoch from '2026-08-16 07:33:33'::timestamp) - extract(epoch from '2026-08-16 07:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008317 -3.390894)'), GeomFromEWKT('SRID=4674;POINT (-39.008434 -3.390975)'))) / (select extract(epoch from '2026-08-16 07:33:33'::timestamp) - extract(epoch from '2026-08-16 07:33:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.008565 -3.391056)', '2026-08-16 07:33:40', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008434 -3.390975)'), GeomFromEWKT('SRID=4674;POINT (-39.008565 -3.391056)'))) / (select extract(epoch from '2026-08-16 07:33:40'::timestamp) - extract(epoch from '2026-08-16 07:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008434 -3.390975)'), GeomFromEWKT('SRID=4674;POINT (-39.008565 -3.391056)'))) / (select extract(epoch from '2026-08-16 07:33:40'::timestamp) - extract(epoch from '2026-08-16 07:33:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.008692 -3.391141)', '2026-08-16 07:33:47', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008565 -3.391056)'), GeomFromEWKT('SRID=4674;POINT (-39.008692 -3.391141)'))) / (select extract(epoch from '2026-08-16 07:33:47'::timestamp) - extract(epoch from '2026-08-16 07:33:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008565 -3.391056)'), GeomFromEWKT('SRID=4674;POINT (-39.008692 -3.391141)'))) / (select extract(epoch from '2026-08-16 07:33:47'::timestamp) - extract(epoch from '2026-08-16 07:33: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'), 48145, 'SRID=4674;POINT (-39.008836 -3.391261)', '2026-08-16 07:33:55', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008692 -3.391141)'), GeomFromEWKT('SRID=4674;POINT (-39.008836 -3.391261)'))) / (select extract(epoch from '2026-08-16 07:33:55'::timestamp) - extract(epoch from '2026-08-16 07:33:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008692 -3.391141)'), GeomFromEWKT('SRID=4674;POINT (-39.008836 -3.391261)'))) / (select extract(epoch from '2026-08-16 07:33:55'::timestamp) - extract(epoch from '2026-08-16 07:33: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'), 48145, 'SRID=4674;POINT (-39.00895 -3.391358)', '2026-08-16 07:34:02', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008836 -3.391261)'), GeomFromEWKT('SRID=4674;POINT (-39.00895 -3.391358)'))) / (select extract(epoch from '2026-08-16 07:34:02'::timestamp) - extract(epoch from '2026-08-16 07:33:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008836 -3.391261)'), GeomFromEWKT('SRID=4674;POINT (-39.00895 -3.391358)'))) / (select extract(epoch from '2026-08-16 07:34:02'::timestamp) - extract(epoch from '2026-08-16 07:33: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'), 48145, 'SRID=4674;POINT (-39.009101 -3.391466)', '2026-08-16 07:34:10', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00895 -3.391358)'), GeomFromEWKT('SRID=4674;POINT (-39.009101 -3.391466)'))) / (select extract(epoch from '2026-08-16 07:34:10'::timestamp) - extract(epoch from '2026-08-16 07:34:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00895 -3.391358)'), GeomFromEWKT('SRID=4674;POINT (-39.009101 -3.391466)'))) / (select extract(epoch from '2026-08-16 07:34:10'::timestamp) - extract(epoch from '2026-08-16 07:34: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'), 48145, 'SRID=4674;POINT (-39.009231 -3.391553)', '2026-08-16 07:34:17', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009101 -3.391466)'), GeomFromEWKT('SRID=4674;POINT (-39.009231 -3.391553)'))) / (select extract(epoch from '2026-08-16 07:34:17'::timestamp) - extract(epoch from '2026-08-16 07:34:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009101 -3.391466)'), GeomFromEWKT('SRID=4674;POINT (-39.009231 -3.391553)'))) / (select extract(epoch from '2026-08-16 07:34:17'::timestamp) - extract(epoch from '2026-08-16 07:34: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'), 48145, 'SRID=4674;POINT (-39.009354 -3.391655)', '2026-08-16 07:34:24', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009231 -3.391553)'), GeomFromEWKT('SRID=4674;POINT (-39.009354 -3.391655)'))) / (select extract(epoch from '2026-08-16 07:34:24'::timestamp) - extract(epoch from '2026-08-16 07:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009231 -3.391553)'), GeomFromEWKT('SRID=4674;POINT (-39.009354 -3.391655)'))) / (select extract(epoch from '2026-08-16 07:34:24'::timestamp) - extract(epoch from '2026-08-16 07:34:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.009488 -3.391743)', '2026-08-16 07:34:31', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009354 -3.391655)'), GeomFromEWKT('SRID=4674;POINT (-39.009488 -3.391743)'))) / (select extract(epoch from '2026-08-16 07:34:31'::timestamp) - extract(epoch from '2026-08-16 07:34:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009354 -3.391655)'), GeomFromEWKT('SRID=4674;POINT (-39.009488 -3.391743)'))) / (select extract(epoch from '2026-08-16 07:34:31'::timestamp) - extract(epoch from '2026-08-16 07:34: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'), 48145, 'SRID=4674;POINT (-39.009604 -3.391824)', '2026-08-16 07:34:37', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009488 -3.391743)'), GeomFromEWKT('SRID=4674;POINT (-39.009604 -3.391824)'))) / (select extract(epoch from '2026-08-16 07:34:37'::timestamp) - extract(epoch from '2026-08-16 07:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009488 -3.391743)'), GeomFromEWKT('SRID=4674;POINT (-39.009604 -3.391824)'))) / (select extract(epoch from '2026-08-16 07:34:37'::timestamp) - extract(epoch from '2026-08-16 07:34: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'), 48145, 'SRID=4674;POINT (-39.00972 -3.391925)', '2026-08-16 07:34:44', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009604 -3.391824)'), GeomFromEWKT('SRID=4674;POINT (-39.00972 -3.391925)'))) / (select extract(epoch from '2026-08-16 07:34:44'::timestamp) - extract(epoch from '2026-08-16 07:34:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009604 -3.391824)'), GeomFromEWKT('SRID=4674;POINT (-39.00972 -3.391925)'))) / (select extract(epoch from '2026-08-16 07:34:44'::timestamp) - extract(epoch from '2026-08-16 07:34: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'), 48145, 'SRID=4674;POINT (-39.009833 -3.392015)', '2026-08-16 07:34:50', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00972 -3.391925)'), GeomFromEWKT('SRID=4674;POINT (-39.009833 -3.392015)'))) / (select extract(epoch from '2026-08-16 07:34:50'::timestamp) - extract(epoch from '2026-08-16 07:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00972 -3.391925)'), GeomFromEWKT('SRID=4674;POINT (-39.009833 -3.392015)'))) / (select extract(epoch from '2026-08-16 07:34:50'::timestamp) - extract(epoch from '2026-08-16 07:34: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'), 48145, 'SRID=4674;POINT (-39.009918 -3.392078)', '2026-08-16 07:34:55', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009833 -3.392015)'), GeomFromEWKT('SRID=4674;POINT (-39.009918 -3.392078)'))) / (select extract(epoch from '2026-08-16 07:34:55'::timestamp) - extract(epoch from '2026-08-16 07:34:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009833 -3.392015)'), GeomFromEWKT('SRID=4674;POINT (-39.009918 -3.392078)'))) / (select extract(epoch from '2026-08-16 07:34:55'::timestamp) - extract(epoch from '2026-08-16 07:34: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'), 48145, 'SRID=4674;POINT (-39.01004 -3.392181)', '2026-08-16 07:35:02', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009918 -3.392078)'), GeomFromEWKT('SRID=4674;POINT (-39.01004 -3.392181)'))) / (select extract(epoch from '2026-08-16 07:35:02'::timestamp) - extract(epoch from '2026-08-16 07:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009918 -3.392078)'), GeomFromEWKT('SRID=4674;POINT (-39.01004 -3.392181)'))) / (select extract(epoch from '2026-08-16 07:35:02'::timestamp) - extract(epoch from '2026-08-16 07:34: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'), 48145, 'SRID=4674;POINT (-39.010166 -3.392283)', '2026-08-16 07:35:09', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01004 -3.392181)'), GeomFromEWKT('SRID=4674;POINT (-39.010166 -3.392283)'))) / (select extract(epoch from '2026-08-16 07:35:09'::timestamp) - extract(epoch from '2026-08-16 07:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01004 -3.392181)'), GeomFromEWKT('SRID=4674;POINT (-39.010166 -3.392283)'))) / (select extract(epoch from '2026-08-16 07:35:09'::timestamp) - extract(epoch from '2026-08-16 07:35: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'), 48145, 'SRID=4674;POINT (-39.010293 -3.392377)', '2026-08-16 07:35:16', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010166 -3.392283)'), GeomFromEWKT('SRID=4674;POINT (-39.010293 -3.392377)'))) / (select extract(epoch from '2026-08-16 07:35:16'::timestamp) - extract(epoch from '2026-08-16 07:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010166 -3.392283)'), GeomFromEWKT('SRID=4674;POINT (-39.010293 -3.392377)'))) / (select extract(epoch from '2026-08-16 07:35:16'::timestamp) - extract(epoch from '2026-08-16 07:35: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'), 48145, 'SRID=4674;POINT (-39.010422 -3.392471)', '2026-08-16 07:35:23', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010293 -3.392377)'), GeomFromEWKT('SRID=4674;POINT (-39.010422 -3.392471)'))) / (select extract(epoch from '2026-08-16 07:35:23'::timestamp) - extract(epoch from '2026-08-16 07:35:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010293 -3.392377)'), GeomFromEWKT('SRID=4674;POINT (-39.010422 -3.392471)'))) / (select extract(epoch from '2026-08-16 07:35:23'::timestamp) - extract(epoch from '2026-08-16 07:35:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.010547 -3.392563)', '2026-08-16 07:35:30', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010422 -3.392471)'), GeomFromEWKT('SRID=4674;POINT (-39.010547 -3.392563)'))) / (select extract(epoch from '2026-08-16 07:35:30'::timestamp) - extract(epoch from '2026-08-16 07:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010422 -3.392471)'), GeomFromEWKT('SRID=4674;POINT (-39.010547 -3.392563)'))) / (select extract(epoch from '2026-08-16 07:35:30'::timestamp) - extract(epoch from '2026-08-16 07:35: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'), 48145, 'SRID=4674;POINT (-39.010658 -3.392644)', '2026-08-16 07:35:36', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010547 -3.392563)'), GeomFromEWKT('SRID=4674;POINT (-39.010658 -3.392644)'))) / (select extract(epoch from '2026-08-16 07:35:36'::timestamp) - extract(epoch from '2026-08-16 07:35:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010547 -3.392563)'), GeomFromEWKT('SRID=4674;POINT (-39.010658 -3.392644)'))) / (select extract(epoch from '2026-08-16 07:35:36'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-39.010758 -3.392726)', '2026-08-16 07:35:42', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010658 -3.392644)'), GeomFromEWKT('SRID=4674;POINT (-39.010758 -3.392726)'))) / (select extract(epoch from '2026-08-16 07:35:42'::timestamp) - extract(epoch from '2026-08-16 07:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010658 -3.392644)'), GeomFromEWKT('SRID=4674;POINT (-39.010758 -3.392726)'))) / (select extract(epoch from '2026-08-16 07:35:42'::timestamp) - extract(epoch from '2026-08-16 07:35:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.010897 -3.39284)', '2026-08-16 07:35:50', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010758 -3.392726)'), GeomFromEWKT('SRID=4674;POINT (-39.010897 -3.39284)'))) / (select extract(epoch from '2026-08-16 07:35:50'::timestamp) - extract(epoch from '2026-08-16 07:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010758 -3.392726)'), GeomFromEWKT('SRID=4674;POINT (-39.010897 -3.39284)'))) / (select extract(epoch from '2026-08-16 07:35:50'::timestamp) - extract(epoch from '2026-08-16 07:35: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'), 48145, 'SRID=4674;POINT (-39.011031 -3.392947)', '2026-08-16 07:35:58', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010897 -3.39284)'), GeomFromEWKT('SRID=4674;POINT (-39.011031 -3.392947)'))) / (select extract(epoch from '2026-08-16 07:35:58'::timestamp) - extract(epoch from '2026-08-16 07:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010897 -3.39284)'), GeomFromEWKT('SRID=4674;POINT (-39.011031 -3.392947)'))) / (select extract(epoch from '2026-08-16 07:35:58'::timestamp) - extract(epoch from '2026-08-16 07:35:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.011178 -3.393073)', '2026-08-16 07:36:07', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011031 -3.392947)'), GeomFromEWKT('SRID=4674;POINT (-39.011178 -3.393073)'))) / (select extract(epoch from '2026-08-16 07:36:07'::timestamp) - extract(epoch from '2026-08-16 07:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011031 -3.392947)'), GeomFromEWKT('SRID=4674;POINT (-39.011178 -3.393073)'))) / (select extract(epoch from '2026-08-16 07:36:07'::timestamp) - extract(epoch from '2026-08-16 07:35: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'), 48145, 'SRID=4674;POINT (-39.011279 -3.393154)', '2026-08-16 07:36:13', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011178 -3.393073)'), GeomFromEWKT('SRID=4674;POINT (-39.011279 -3.393154)'))) / (select extract(epoch from '2026-08-16 07:36:13'::timestamp) - extract(epoch from '2026-08-16 07:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011178 -3.393073)'), GeomFromEWKT('SRID=4674;POINT (-39.011279 -3.393154)'))) / (select extract(epoch from '2026-08-16 07:36:13'::timestamp) - extract(epoch from '2026-08-16 07:36: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'), 48145, 'SRID=4674;POINT (-39.011411 -3.393279)', '2026-08-16 07:36:21', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011279 -3.393154)'), GeomFromEWKT('SRID=4674;POINT (-39.011411 -3.393279)'))) / (select extract(epoch from '2026-08-16 07:36:21'::timestamp) - extract(epoch from '2026-08-16 07:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011279 -3.393154)'), GeomFromEWKT('SRID=4674;POINT (-39.011411 -3.393279)'))) / (select extract(epoch from '2026-08-16 07:36:21'::timestamp) - extract(epoch from '2026-08-16 07:36:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.011428 -3.393293)', '2026-08-16 07:36:22', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011411 -3.393279)'), GeomFromEWKT('SRID=4674;POINT (-39.011428 -3.393293)'))) / (select extract(epoch from '2026-08-16 07:36:22'::timestamp) - extract(epoch from '2026-08-16 07:36:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011411 -3.393279)'), GeomFromEWKT('SRID=4674;POINT (-39.011428 -3.393293)'))) / (select extract(epoch from '2026-08-16 07:36:22'::timestamp) - extract(epoch from '2026-08-16 07:36: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'), 48145, 'SRID=4674;POINT (-39.011578 -3.393401)', '2026-08-16 07:36:30', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011428 -3.393293)'), GeomFromEWKT('SRID=4674;POINT (-39.011578 -3.393401)'))) / (select extract(epoch from '2026-08-16 07:36:30'::timestamp) - extract(epoch from '2026-08-16 07:36:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011428 -3.393293)'), GeomFromEWKT('SRID=4674;POINT (-39.011578 -3.393401)'))) / (select extract(epoch from '2026-08-16 07:36:30'::timestamp) - extract(epoch from '2026-08-16 07:36: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'), 48145, 'SRID=4674;POINT (-39.011693 -3.393503)', '2026-08-16 07:36:37', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011578 -3.393401)'), GeomFromEWKT('SRID=4674;POINT (-39.011693 -3.393503)'))) / (select extract(epoch from '2026-08-16 07:36:37'::timestamp) - extract(epoch from '2026-08-16 07:36:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011578 -3.393401)'), GeomFromEWKT('SRID=4674;POINT (-39.011693 -3.393503)'))) / (select extract(epoch from '2026-08-16 07:36:37'::timestamp) - extract(epoch from '2026-08-16 07:36: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'), 48145, 'SRID=4674;POINT (-39.011825 -3.393593)', '2026-08-16 07:36:44', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011693 -3.393503)'), GeomFromEWKT('SRID=4674;POINT (-39.011825 -3.393593)'))) / (select extract(epoch from '2026-08-16 07:36:44'::timestamp) - extract(epoch from '2026-08-16 07:36:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011693 -3.393503)'), GeomFromEWKT('SRID=4674;POINT (-39.011825 -3.393593)'))) / (select extract(epoch from '2026-08-16 07:36:44'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-39.011938 -3.393675)', '2026-08-16 07:36:50', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011825 -3.393593)'), GeomFromEWKT('SRID=4674;POINT (-39.011938 -3.393675)'))) / (select extract(epoch from '2026-08-16 07:36:50'::timestamp) - extract(epoch from '2026-08-16 07:36:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011825 -3.393593)'), GeomFromEWKT('SRID=4674;POINT (-39.011938 -3.393675)'))) / (select extract(epoch from '2026-08-16 07:36:50'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-39.012019 -3.393724)', '2026-08-16 07:36:55', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011938 -3.393675)'), GeomFromEWKT('SRID=4674;POINT (-39.012019 -3.393724)'))) / (select extract(epoch from '2026-08-16 07:36:55'::timestamp) - extract(epoch from '2026-08-16 07:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011938 -3.393675)'), GeomFromEWKT('SRID=4674;POINT (-39.012019 -3.393724)'))) / (select extract(epoch from '2026-08-16 07:36:55'::timestamp) - extract(epoch from '2026-08-16 07:36: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'), 48145, 'SRID=4674;POINT (-39.012139 -3.393811)', '2026-08-16 07:37:02', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012019 -3.393724)'), GeomFromEWKT('SRID=4674;POINT (-39.012139 -3.393811)'))) / (select extract(epoch from '2026-08-16 07:37:02'::timestamp) - extract(epoch from '2026-08-16 07:36:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012019 -3.393724)'), GeomFromEWKT('SRID=4674;POINT (-39.012139 -3.393811)'))) / (select extract(epoch from '2026-08-16 07:37:02'::timestamp) - extract(epoch from '2026-08-16 07:36: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'), 48145, 'SRID=4674;POINT (-39.012247 -3.393901)', '2026-08-16 07:37:08', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012139 -3.393811)'), GeomFromEWKT('SRID=4674;POINT (-39.012247 -3.393901)'))) / (select extract(epoch from '2026-08-16 07:37:08'::timestamp) - extract(epoch from '2026-08-16 07:37:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012139 -3.393811)'), GeomFromEWKT('SRID=4674;POINT (-39.012247 -3.393901)'))) / (select extract(epoch from '2026-08-16 07:37:08'::timestamp) - extract(epoch from '2026-08-16 07:37: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'), 48145, 'SRID=4674;POINT (-39.012371 -3.393989)', '2026-08-16 07:37:15', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012247 -3.393901)'), GeomFromEWKT('SRID=4674;POINT (-39.012371 -3.393989)'))) / (select extract(epoch from '2026-08-16 07:37:15'::timestamp) - extract(epoch from '2026-08-16 07:37:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012247 -3.393901)'), GeomFromEWKT('SRID=4674;POINT (-39.012371 -3.393989)'))) / (select extract(epoch from '2026-08-16 07:37:15'::timestamp) - extract(epoch from '2026-08-16 07:37: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'), 48145, 'SRID=4674;POINT (-39.012525 -3.394115)', '2026-08-16 07:37:24', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012371 -3.393989)'), GeomFromEWKT('SRID=4674;POINT (-39.012525 -3.394115)'))) / (select extract(epoch from '2026-08-16 07:37:24'::timestamp) - extract(epoch from '2026-08-16 07:37:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012371 -3.393989)'), GeomFromEWKT('SRID=4674;POINT (-39.012525 -3.394115)'))) / (select extract(epoch from '2026-08-16 07:37:24'::timestamp) - extract(epoch from '2026-08-16 07:37: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'), 48145, 'SRID=4674;POINT (-39.012639 -3.394209)', '2026-08-16 07:37:31', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012525 -3.394115)'), GeomFromEWKT('SRID=4674;POINT (-39.012639 -3.394209)'))) / (select extract(epoch from '2026-08-16 07:37:31'::timestamp) - extract(epoch from '2026-08-16 07:37:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012525 -3.394115)'), GeomFromEWKT('SRID=4674;POINT (-39.012639 -3.394209)'))) / (select extract(epoch from '2026-08-16 07:37:31'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-39.012754 -3.394291)', '2026-08-16 07:37:37', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012639 -3.394209)'), GeomFromEWKT('SRID=4674;POINT (-39.012754 -3.394291)'))) / (select extract(epoch from '2026-08-16 07:37:37'::timestamp) - extract(epoch from '2026-08-16 07:37:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012639 -3.394209)'), GeomFromEWKT('SRID=4674;POINT (-39.012754 -3.394291)'))) / (select extract(epoch from '2026-08-16 07:37:37'::timestamp) - extract(epoch from '2026-08-16 07:37: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'), 48145, 'SRID=4674;POINT (-39.012899 -3.394395)', '2026-08-16 07:37:45', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012754 -3.394291)'), GeomFromEWKT('SRID=4674;POINT (-39.012899 -3.394395)'))) / (select extract(epoch from '2026-08-16 07:37:45'::timestamp) - extract(epoch from '2026-08-16 07:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012754 -3.394291)'), GeomFromEWKT('SRID=4674;POINT (-39.012899 -3.394395)'))) / (select extract(epoch from '2026-08-16 07:37:45'::timestamp) - extract(epoch from '2026-08-16 07:37:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.013022 -3.394489)', '2026-08-16 07:37:52', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012899 -3.394395)'), GeomFromEWKT('SRID=4674;POINT (-39.013022 -3.394489)'))) / (select extract(epoch from '2026-08-16 07:37:52'::timestamp) - extract(epoch from '2026-08-16 07:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012899 -3.394395)'), GeomFromEWKT('SRID=4674;POINT (-39.013022 -3.394489)'))) / (select extract(epoch from '2026-08-16 07:37:52'::timestamp) - extract(epoch from '2026-08-16 07:37: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'), 48145, 'SRID=4674;POINT (-39.013141 -3.394574)', '2026-08-16 07:37:59', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013022 -3.394489)'), GeomFromEWKT('SRID=4674;POINT (-39.013141 -3.394574)'))) / (select extract(epoch from '2026-08-16 07:37:59'::timestamp) - extract(epoch from '2026-08-16 07:37:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013022 -3.394489)'), GeomFromEWKT('SRID=4674;POINT (-39.013141 -3.394574)'))) / (select extract(epoch from '2026-08-16 07:37:59'::timestamp) - extract(epoch from '2026-08-16 07:37: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'), 48145, 'SRID=4674;POINT (-39.013288 -3.394681)', '2026-08-16 07:38:07', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013141 -3.394574)'), GeomFromEWKT('SRID=4674;POINT (-39.013288 -3.394681)'))) / (select extract(epoch from '2026-08-16 07:38:07'::timestamp) - extract(epoch from '2026-08-16 07:37:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013141 -3.394574)'), GeomFromEWKT('SRID=4674;POINT (-39.013288 -3.394681)'))) / (select extract(epoch from '2026-08-16 07:38:07'::timestamp) - extract(epoch from '2026-08-16 07:37: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'), 48145, 'SRID=4674;POINT (-39.013305 -3.394693)', '2026-08-16 07:38:08', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013288 -3.394681)'), GeomFromEWKT('SRID=4674;POINT (-39.013305 -3.394693)'))) / (select extract(epoch from '2026-08-16 07:38:08'::timestamp) - extract(epoch from '2026-08-16 07:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013288 -3.394681)'), GeomFromEWKT('SRID=4674;POINT (-39.013305 -3.394693)'))) / (select extract(epoch from '2026-08-16 07:38:08'::timestamp) - extract(epoch from '2026-08-16 07:38: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'), 48145, 'SRID=4674;POINT (-39.013461 -3.394799)', '2026-08-16 07:38:16', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013305 -3.394693)'), GeomFromEWKT('SRID=4674;POINT (-39.013461 -3.394799)'))) / (select extract(epoch from '2026-08-16 07:38:16'::timestamp) - extract(epoch from '2026-08-16 07:38:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013305 -3.394693)'), GeomFromEWKT('SRID=4674;POINT (-39.013461 -3.394799)'))) / (select extract(epoch from '2026-08-16 07:38:16'::timestamp) - extract(epoch from '2026-08-16 07:38:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.013599 -3.394919)', '2026-08-16 07:38:24', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013461 -3.394799)'), GeomFromEWKT('SRID=4674;POINT (-39.013599 -3.394919)'))) / (select extract(epoch from '2026-08-16 07:38:24'::timestamp) - extract(epoch from '2026-08-16 07:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013461 -3.394799)'), GeomFromEWKT('SRID=4674;POINT (-39.013599 -3.394919)'))) / (select extract(epoch from '2026-08-16 07:38:24'::timestamp) - extract(epoch from '2026-08-16 07:38: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'), 48145, 'SRID=4674;POINT (-39.013726 -3.395008)', '2026-08-16 07:38:31', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013599 -3.394919)'), GeomFromEWKT('SRID=4674;POINT (-39.013726 -3.395008)'))) / (select extract(epoch from '2026-08-16 07:38:31'::timestamp) - extract(epoch from '2026-08-16 07:38:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013599 -3.394919)'), GeomFromEWKT('SRID=4674;POINT (-39.013726 -3.395008)'))) / (select extract(epoch from '2026-08-16 07:38:31'::timestamp) - extract(epoch from '2026-08-16 07:38: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'), 48145, 'SRID=4674;POINT (-39.013845 -3.395109)', '2026-08-16 07:38:38', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013726 -3.395008)'), GeomFromEWKT('SRID=4674;POINT (-39.013845 -3.395109)'))) / (select extract(epoch from '2026-08-16 07:38:38'::timestamp) - extract(epoch from '2026-08-16 07:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013726 -3.395008)'), GeomFromEWKT('SRID=4674;POINT (-39.013845 -3.395109)'))) / (select extract(epoch from '2026-08-16 07:38:38'::timestamp) - extract(epoch from '2026-08-16 07:38: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'), 48145, 'SRID=4674;POINT (-39.013992 -3.395218)', '2026-08-16 07:38:46', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013845 -3.395109)'), GeomFromEWKT('SRID=4674;POINT (-39.013992 -3.395218)'))) / (select extract(epoch from '2026-08-16 07:38:46'::timestamp) - extract(epoch from '2026-08-16 07:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013845 -3.395109)'), GeomFromEWKT('SRID=4674;POINT (-39.013992 -3.395218)'))) / (select extract(epoch from '2026-08-16 07:38:46'::timestamp) - extract(epoch from '2026-08-16 07:38:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.014133 -3.395339)', '2026-08-16 07:38:54', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013992 -3.395218)'), GeomFromEWKT('SRID=4674;POINT (-39.014133 -3.395339)'))) / (select extract(epoch from '2026-08-16 07:38:54'::timestamp) - extract(epoch from '2026-08-16 07:38:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013992 -3.395218)'), GeomFromEWKT('SRID=4674;POINT (-39.014133 -3.395339)'))) / (select extract(epoch from '2026-08-16 07:38:54'::timestamp) - extract(epoch from '2026-08-16 07:38: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'), 48145, 'SRID=4674;POINT (-39.01426 -3.395428)', '2026-08-16 07:39:01', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014133 -3.395339)'), GeomFromEWKT('SRID=4674;POINT (-39.01426 -3.395428)'))) / (select extract(epoch from '2026-08-16 07:39:01'::timestamp) - extract(epoch from '2026-08-16 07:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014133 -3.395339)'), GeomFromEWKT('SRID=4674;POINT (-39.01426 -3.395428)'))) / (select extract(epoch from '2026-08-16 07:39:01'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-39.014392 -3.395521)', '2026-08-16 07:39:08', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01426 -3.395428)'), GeomFromEWKT('SRID=4674;POINT (-39.014392 -3.395521)'))) / (select extract(epoch from '2026-08-16 07:39:08'::timestamp) - extract(epoch from '2026-08-16 07:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01426 -3.395428)'), GeomFromEWKT('SRID=4674;POINT (-39.014392 -3.395521)'))) / (select extract(epoch from '2026-08-16 07:39:08'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-39.01454 -3.395625)', '2026-08-16 07:39:16', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014392 -3.395521)'), GeomFromEWKT('SRID=4674;POINT (-39.01454 -3.395625)'))) / (select extract(epoch from '2026-08-16 07:39:16'::timestamp) - extract(epoch from '2026-08-16 07:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014392 -3.395521)'), GeomFromEWKT('SRID=4674;POINT (-39.01454 -3.395625)'))) / (select extract(epoch from '2026-08-16 07:39:16'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-39.014683 -3.395744)', '2026-08-16 07:39:24', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01454 -3.395625)'), GeomFromEWKT('SRID=4674;POINT (-39.014683 -3.395744)'))) / (select extract(epoch from '2026-08-16 07:39:24'::timestamp) - extract(epoch from '2026-08-16 07:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01454 -3.395625)'), GeomFromEWKT('SRID=4674;POINT (-39.014683 -3.395744)'))) / (select extract(epoch from '2026-08-16 07:39:24'::timestamp) - extract(epoch from '2026-08-16 07:39:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.014802 -3.395815)', '2026-08-16 07:39:30', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014683 -3.395744)'), GeomFromEWKT('SRID=4674;POINT (-39.014802 -3.395815)'))) / (select extract(epoch from '2026-08-16 07:39:30'::timestamp) - extract(epoch from '2026-08-16 07:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014683 -3.395744)'), GeomFromEWKT('SRID=4674;POINT (-39.014802 -3.395815)'))) / (select extract(epoch from '2026-08-16 07:39:30'::timestamp) - extract(epoch from '2026-08-16 07:39:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.014906 -3.395892)', '2026-08-16 07:39:35', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014802 -3.395815)'), GeomFromEWKT('SRID=4674;POINT (-39.014906 -3.395892)'))) / (select extract(epoch from '2026-08-16 07:39:35'::timestamp) - extract(epoch from '2026-08-16 07:39:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014802 -3.395815)'), GeomFromEWKT('SRID=4674;POINT (-39.014906 -3.395892)'))) / (select extract(epoch from '2026-08-16 07:39:35'::timestamp) - extract(epoch from '2026-08-16 07:39:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.015017 -3.39598)', '2026-08-16 07:39:41', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014906 -3.395892)'), GeomFromEWKT('SRID=4674;POINT (-39.015017 -3.39598)'))) / (select extract(epoch from '2026-08-16 07:39:41'::timestamp) - extract(epoch from '2026-08-16 07:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014906 -3.395892)'), GeomFromEWKT('SRID=4674;POINT (-39.015017 -3.39598)'))) / (select extract(epoch from '2026-08-16 07:39:41'::timestamp) - extract(epoch from '2026-08-16 07:39:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.015129 -3.396062)', '2026-08-16 07:39:47', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015017 -3.39598)'), GeomFromEWKT('SRID=4674;POINT (-39.015129 -3.396062)'))) / (select extract(epoch from '2026-08-16 07:39:47'::timestamp) - extract(epoch from '2026-08-16 07:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015017 -3.39598)'), GeomFromEWKT('SRID=4674;POINT (-39.015129 -3.396062)'))) / (select extract(epoch from '2026-08-16 07:39:47'::timestamp) - extract(epoch from '2026-08-16 07:39:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.015266 -3.396153)', '2026-08-16 07:39:54', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015129 -3.396062)'), GeomFromEWKT('SRID=4674;POINT (-39.015266 -3.396153)'))) / (select extract(epoch from '2026-08-16 07:39:54'::timestamp) - extract(epoch from '2026-08-16 07:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015129 -3.396062)'), GeomFromEWKT('SRID=4674;POINT (-39.015266 -3.396153)'))) / (select extract(epoch from '2026-08-16 07:39:54'::timestamp) - extract(epoch from '2026-08-16 07:39:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.015385 -3.39624)', '2026-08-16 07:40:01', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015266 -3.396153)'), GeomFromEWKT('SRID=4674;POINT (-39.015385 -3.39624)'))) / (select extract(epoch from '2026-08-16 07:40:01'::timestamp) - extract(epoch from '2026-08-16 07:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015266 -3.396153)'), GeomFromEWKT('SRID=4674;POINT (-39.015385 -3.39624)'))) / (select extract(epoch from '2026-08-16 07:40:01'::timestamp) - extract(epoch from '2026-08-16 07:39:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.015508 -3.396333)', '2026-08-16 07:40:07', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015385 -3.39624)'), GeomFromEWKT('SRID=4674;POINT (-39.015508 -3.396333)'))) / (select extract(epoch from '2026-08-16 07:40:07'::timestamp) - extract(epoch from '2026-08-16 07:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015385 -3.39624)'), GeomFromEWKT('SRID=4674;POINT (-39.015508 -3.396333)'))) / (select extract(epoch from '2026-08-16 07:40:07'::timestamp) - extract(epoch from '2026-08-16 07:40:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.015624 -3.396396)', '2026-08-16 07:40:12', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015508 -3.396333)'), GeomFromEWKT('SRID=4674;POINT (-39.015624 -3.396396)'))) / (select extract(epoch from '2026-08-16 07:40:12'::timestamp) - extract(epoch from '2026-08-16 07:40:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015508 -3.396333)'), GeomFromEWKT('SRID=4674;POINT (-39.015624 -3.396396)'))) / (select extract(epoch from '2026-08-16 07:40:12'::timestamp) - extract(epoch from '2026-08-16 07:40:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.015717 -3.396429)', '2026-08-16 07:40:17', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015624 -3.396396)'), GeomFromEWKT('SRID=4674;POINT (-39.015717 -3.396429)'))) / (select extract(epoch from '2026-08-16 07:40:17'::timestamp) - extract(epoch from '2026-08-16 07:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015624 -3.396396)'), GeomFromEWKT('SRID=4674;POINT (-39.015717 -3.396429)'))) / (select extract(epoch from '2026-08-16 07:40:17'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-39.015873 -3.396532)', '2026-08-16 07:40:25', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015717 -3.396429)'), GeomFromEWKT('SRID=4674;POINT (-39.015873 -3.396532)'))) / (select extract(epoch from '2026-08-16 07:40:25'::timestamp) - extract(epoch from '2026-08-16 07:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015717 -3.396429)'), GeomFromEWKT('SRID=4674;POINT (-39.015873 -3.396532)'))) / (select extract(epoch from '2026-08-16 07:40:25'::timestamp) - extract(epoch from '2026-08-16 07:40:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.015986 -3.396579)', '2026-08-16 07:40:31', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015873 -3.396532)'), GeomFromEWKT('SRID=4674;POINT (-39.015986 -3.396579)'))) / (select extract(epoch from '2026-08-16 07:40:31'::timestamp) - extract(epoch from '2026-08-16 07:40:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015873 -3.396532)'), GeomFromEWKT('SRID=4674;POINT (-39.015986 -3.396579)'))) / (select extract(epoch from '2026-08-16 07:40:31'::timestamp) - extract(epoch from '2026-08-16 07:40:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48145, 'SRID=4674;POINT (-39.016112 -3.396664)', '2026-08-16 07:40:38', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015986 -3.396579)'), GeomFromEWKT('SRID=4674;POINT (-39.016112 -3.396664)'))) / (select extract(epoch from '2026-08-16 07:40:38'::timestamp) - extract(epoch from '2026-08-16 07:40:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015986 -3.396579)'), GeomFromEWKT('SRID=4674;POINT (-39.016112 -3.396664)'))) / (select extract(epoch from '2026-08-16 07:40:38'::timestamp) - extract(epoch from '2026-08-16 07: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'), 48145, 'SRID=4674;POINT (-39.016251 -3.396786)', '2026-08-16 07:40:45', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016112 -3.396664)'), GeomFromEWKT('SRID=4674;POINT (-39.016251 -3.396786)'))) / (select extract(epoch from '2026-08-16 07:40:45'::timestamp) - extract(epoch from '2026-08-16 07:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016112 -3.396664)'), GeomFromEWKT('SRID=4674;POINT (-39.016251 -3.396786)'))) / (select extract(epoch from '2026-08-16 07:40:45'::timestamp) - extract(epoch from '2026-08-16 07:40:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
