 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.374807 -3.108304)', '2026-08-04 17:06:39', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374772 -3.108161)'), GeomFromEWKT('SRID=4674;POINT (-39.374807 -3.108304)'))) / (select extract(epoch from '2026-08-04 17:06:39'::timestamp) - extract(epoch from '2026-08-04 17:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374772 -3.108161)'), GeomFromEWKT('SRID=4674;POINT (-39.374807 -3.108304)'))) / (select extract(epoch from '2026-08-04 17:06:39'::timestamp) - extract(epoch from '2026-08-04 17:06: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'), 48166, 'SRID=4674;POINT (-39.374834 -3.10845)', '2026-08-04 17:06:45', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374807 -3.108304)'), GeomFromEWKT('SRID=4674;POINT (-39.374834 -3.10845)'))) / (select extract(epoch from '2026-08-04 17:06:45'::timestamp) - extract(epoch from '2026-08-04 17:06:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374807 -3.108304)'), GeomFromEWKT('SRID=4674;POINT (-39.374834 -3.10845)'))) / (select extract(epoch from '2026-08-04 17:06:45'::timestamp) - extract(epoch from '2026-08-04 17:06:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.374854 -3.108562)', '2026-08-04 17:06:50', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374834 -3.10845)'), GeomFromEWKT('SRID=4674;POINT (-39.374854 -3.108562)'))) / (select extract(epoch from '2026-08-04 17:06:50'::timestamp) - extract(epoch from '2026-08-04 17:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374834 -3.10845)'), GeomFromEWKT('SRID=4674;POINT (-39.374854 -3.108562)'))) / (select extract(epoch from '2026-08-04 17:06:50'::timestamp) - extract(epoch from '2026-08-04 17:06:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.374864 -3.108584)', '2026-08-04 17:06:51', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374854 -3.108562)'), GeomFromEWKT('SRID=4674;POINT (-39.374864 -3.108584)'))) / (select extract(epoch from '2026-08-04 17:06:51'::timestamp) - extract(epoch from '2026-08-04 17:06:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374854 -3.108562)'), GeomFromEWKT('SRID=4674;POINT (-39.374864 -3.108584)'))) / (select extract(epoch from '2026-08-04 17:06:51'::timestamp) - extract(epoch from '2026-08-04 17:06: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'), 48166, 'SRID=4674;POINT (-39.374895 -3.108708)', '2026-08-04 17:06:56', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374864 -3.108584)'), GeomFromEWKT('SRID=4674;POINT (-39.374895 -3.108708)'))) / (select extract(epoch from '2026-08-04 17:06:56'::timestamp) - extract(epoch from '2026-08-04 17:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374864 -3.108584)'), GeomFromEWKT('SRID=4674;POINT (-39.374895 -3.108708)'))) / (select extract(epoch from '2026-08-04 17:06:56'::timestamp) - extract(epoch from '2026-08-04 17:06:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.374937 -3.108853)', '2026-08-04 17:07:02', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374895 -3.108708)'), GeomFromEWKT('SRID=4674;POINT (-39.374937 -3.108853)'))) / (select extract(epoch from '2026-08-04 17:07:02'::timestamp) - extract(epoch from '2026-08-04 17:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374895 -3.108708)'), GeomFromEWKT('SRID=4674;POINT (-39.374937 -3.108853)'))) / (select extract(epoch from '2026-08-04 17:07:02'::timestamp) - extract(epoch from '2026-08-04 17:06: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'), 48166, 'SRID=4674;POINT (-39.374986 -3.109011)', '2026-08-04 17:07:09', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374937 -3.108853)'), GeomFromEWKT('SRID=4674;POINT (-39.374986 -3.109011)'))) / (select extract(epoch from '2026-08-04 17:07:09'::timestamp) - extract(epoch from '2026-08-04 17:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374937 -3.108853)'), GeomFromEWKT('SRID=4674;POINT (-39.374986 -3.109011)'))) / (select extract(epoch from '2026-08-04 17:07:09'::timestamp) - extract(epoch from '2026-08-04 17:07:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.375017 -3.109128)', '2026-08-04 17:07:14', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374986 -3.109011)'), GeomFromEWKT('SRID=4674;POINT (-39.375017 -3.109128)'))) / (select extract(epoch from '2026-08-04 17:07:14'::timestamp) - extract(epoch from '2026-08-04 17:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374986 -3.109011)'), GeomFromEWKT('SRID=4674;POINT (-39.375017 -3.109128)'))) / (select extract(epoch from '2026-08-04 17:07:14'::timestamp) - extract(epoch from '2026-08-04 17:07: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'), 48166, 'SRID=4674;POINT (-39.375043 -3.109259)', '2026-08-04 17:07:20', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375017 -3.109128)'), GeomFromEWKT('SRID=4674;POINT (-39.375043 -3.109259)'))) / (select extract(epoch from '2026-08-04 17:07:20'::timestamp) - extract(epoch from '2026-08-04 17:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375017 -3.109128)'), GeomFromEWKT('SRID=4674;POINT (-39.375043 -3.109259)'))) / (select extract(epoch from '2026-08-04 17:07:20'::timestamp) - extract(epoch from '2026-08-04 17:07: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'), 48166, 'SRID=4674;POINT (-39.375083 -3.109427)', '2026-08-04 17:07:27', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375043 -3.109259)'), GeomFromEWKT('SRID=4674;POINT (-39.375083 -3.109427)'))) / (select extract(epoch from '2026-08-04 17:07:27'::timestamp) - extract(epoch from '2026-08-04 17:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375043 -3.109259)'), GeomFromEWKT('SRID=4674;POINT (-39.375083 -3.109427)'))) / (select extract(epoch from '2026-08-04 17:07:27'::timestamp) - extract(epoch from '2026-08-04 17:07: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'), 48166, 'SRID=4674;POINT (-39.375082 -3.109517)', '2026-08-04 17:07:31', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375083 -3.109427)'), GeomFromEWKT('SRID=4674;POINT (-39.375082 -3.109517)'))) / (select extract(epoch from '2026-08-04 17:07:31'::timestamp) - extract(epoch from '2026-08-04 17:07:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375083 -3.109427)'), GeomFromEWKT('SRID=4674;POINT (-39.375082 -3.109517)'))) / (select extract(epoch from '2026-08-04 17:07:31'::timestamp) - extract(epoch from '2026-08-04 17:07: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'), 48166, 'SRID=4674;POINT (-39.375113 -3.10964)', '2026-08-04 17:07:36', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375082 -3.109517)'), GeomFromEWKT('SRID=4674;POINT (-39.375113 -3.10964)'))) / (select extract(epoch from '2026-08-04 17:07:36'::timestamp) - extract(epoch from '2026-08-04 17:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375082 -3.109517)'), GeomFromEWKT('SRID=4674;POINT (-39.375113 -3.10964)'))) / (select extract(epoch from '2026-08-04 17:07:36'::timestamp) - extract(epoch from '2026-08-04 17:07:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.375141 -3.109764)', '2026-08-04 17:07:41', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375113 -3.10964)'), GeomFromEWKT('SRID=4674;POINT (-39.375141 -3.109764)'))) / (select extract(epoch from '2026-08-04 17:07:41'::timestamp) - extract(epoch from '2026-08-04 17:07:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375113 -3.10964)'), GeomFromEWKT('SRID=4674;POINT (-39.375141 -3.109764)'))) / (select extract(epoch from '2026-08-04 17:07:41'::timestamp) - extract(epoch from '2026-08-04 17:07: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'), 48166, 'SRID=4674;POINT (-39.375171 -3.109926)', '2026-08-04 17:07:48', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375141 -3.109764)'), GeomFromEWKT('SRID=4674;POINT (-39.375171 -3.109926)'))) / (select extract(epoch from '2026-08-04 17:07:48'::timestamp) - extract(epoch from '2026-08-04 17:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375141 -3.109764)'), GeomFromEWKT('SRID=4674;POINT (-39.375171 -3.109926)'))) / (select extract(epoch from '2026-08-04 17:07:48'::timestamp) - extract(epoch from '2026-08-04 17:07:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.375196 -3.110047)', '2026-08-04 17:07:53', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375171 -3.109926)'), GeomFromEWKT('SRID=4674;POINT (-39.375196 -3.110047)'))) / (select extract(epoch from '2026-08-04 17:07:53'::timestamp) - extract(epoch from '2026-08-04 17:07:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375171 -3.109926)'), GeomFromEWKT('SRID=4674;POINT (-39.375196 -3.110047)'))) / (select extract(epoch from '2026-08-04 17:07:53'::timestamp) - extract(epoch from '2026-08-04 17:07: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'), 48166, 'SRID=4674;POINT (-39.375215 -3.110163)', '2026-08-04 17:07:58', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375196 -3.110047)'), GeomFromEWKT('SRID=4674;POINT (-39.375215 -3.110163)'))) / (select extract(epoch from '2026-08-04 17:07:58'::timestamp) - extract(epoch from '2026-08-04 17:07:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375196 -3.110047)'), GeomFromEWKT('SRID=4674;POINT (-39.375215 -3.110163)'))) / (select extract(epoch from '2026-08-04 17:07:58'::timestamp) - extract(epoch from '2026-08-04 17:07: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'), 48166, 'SRID=4674;POINT (-39.375242 -3.110303)', '2026-08-04 17:08:04', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375215 -3.110163)'), GeomFromEWKT('SRID=4674;POINT (-39.375242 -3.110303)'))) / (select extract(epoch from '2026-08-04 17:08:04'::timestamp) - extract(epoch from '2026-08-04 17:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375215 -3.110163)'), GeomFromEWKT('SRID=4674;POINT (-39.375242 -3.110303)'))) / (select extract(epoch from '2026-08-04 17:08:04'::timestamp) - extract(epoch from '2026-08-04 17:07:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.375267 -3.110468)', '2026-08-04 17:08:11', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375242 -3.110303)'), GeomFromEWKT('SRID=4674;POINT (-39.375267 -3.110468)'))) / (select extract(epoch from '2026-08-04 17:08:11'::timestamp) - extract(epoch from '2026-08-04 17:08:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375242 -3.110303)'), GeomFromEWKT('SRID=4674;POINT (-39.375267 -3.110468)'))) / (select extract(epoch from '2026-08-04 17:08:11'::timestamp) - extract(epoch from '2026-08-04 17:08:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.375296 -3.110614)', '2026-08-04 17:08:17', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375267 -3.110468)'), GeomFromEWKT('SRID=4674;POINT (-39.375296 -3.110614)'))) / (select extract(epoch from '2026-08-04 17:08:17'::timestamp) - extract(epoch from '2026-08-04 17:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375267 -3.110468)'), GeomFromEWKT('SRID=4674;POINT (-39.375296 -3.110614)'))) / (select extract(epoch from '2026-08-04 17:08:17'::timestamp) - extract(epoch from '2026-08-04 17:08: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'), 48166, 'SRID=4674;POINT (-39.375337 -3.110789)', '2026-08-04 17:08:24', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375296 -3.110614)'), GeomFromEWKT('SRID=4674;POINT (-39.375337 -3.110789)'))) / (select extract(epoch from '2026-08-04 17:08:24'::timestamp) - extract(epoch from '2026-08-04 17:08:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375296 -3.110614)'), GeomFromEWKT('SRID=4674;POINT (-39.375337 -3.110789)'))) / (select extract(epoch from '2026-08-04 17:08:24'::timestamp) - extract(epoch from '2026-08-04 17:08: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'), 48166, 'SRID=4674;POINT (-39.375361 -3.110918)', '2026-08-04 17:08:29', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375337 -3.110789)'), GeomFromEWKT('SRID=4674;POINT (-39.375361 -3.110918)'))) / (select extract(epoch from '2026-08-04 17:08:29'::timestamp) - extract(epoch from '2026-08-04 17:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375337 -3.110789)'), GeomFromEWKT('SRID=4674;POINT (-39.375361 -3.110918)'))) / (select extract(epoch from '2026-08-04 17:08:29'::timestamp) - extract(epoch from '2026-08-04 17:08: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'), 48166, 'SRID=4674;POINT (-39.375383 -3.111067)', '2026-08-04 17:08:35', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375361 -3.110918)'), GeomFromEWKT('SRID=4674;POINT (-39.375383 -3.111067)'))) / (select extract(epoch from '2026-08-04 17:08:35'::timestamp) - extract(epoch from '2026-08-04 17:08:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375361 -3.110918)'), GeomFromEWKT('SRID=4674;POINT (-39.375383 -3.111067)'))) / (select extract(epoch from '2026-08-04 17:08:35'::timestamp) - extract(epoch from '2026-08-04 17:08:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.375409 -3.111184)', '2026-08-04 17:08:40', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375383 -3.111067)'), GeomFromEWKT('SRID=4674;POINT (-39.375409 -3.111184)'))) / (select extract(epoch from '2026-08-04 17:08:40'::timestamp) - extract(epoch from '2026-08-04 17:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375383 -3.111067)'), GeomFromEWKT('SRID=4674;POINT (-39.375409 -3.111184)'))) / (select extract(epoch from '2026-08-04 17:08:40'::timestamp) - extract(epoch from '2026-08-04 17:08:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.375429 -3.111301)', '2026-08-04 17:08:45', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375409 -3.111184)'), GeomFromEWKT('SRID=4674;POINT (-39.375429 -3.111301)'))) / (select extract(epoch from '2026-08-04 17:08:45'::timestamp) - extract(epoch from '2026-08-04 17:08:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375409 -3.111184)'), GeomFromEWKT('SRID=4674;POINT (-39.375429 -3.111301)'))) / (select extract(epoch from '2026-08-04 17:08:45'::timestamp) - extract(epoch from '2026-08-04 17:08: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'), 48166, 'SRID=4674;POINT (-39.375468 -3.111446)', '2026-08-04 17:08:51', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375429 -3.111301)'), GeomFromEWKT('SRID=4674;POINT (-39.375468 -3.111446)'))) / (select extract(epoch from '2026-08-04 17:08:51'::timestamp) - extract(epoch from '2026-08-04 17:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375429 -3.111301)'), GeomFromEWKT('SRID=4674;POINT (-39.375468 -3.111446)'))) / (select extract(epoch from '2026-08-04 17:08:51'::timestamp) - extract(epoch from '2026-08-04 17:08: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'), 48166, 'SRID=4674;POINT (-39.37551 -3.1116)', '2026-08-04 17:08:57', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375468 -3.111446)'), GeomFromEWKT('SRID=4674;POINT (-39.37551 -3.1116)'))) / (select extract(epoch from '2026-08-04 17:08:57'::timestamp) - extract(epoch from '2026-08-04 17:08:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375468 -3.111446)'), GeomFromEWKT('SRID=4674;POINT (-39.37551 -3.1116)'))) / (select extract(epoch from '2026-08-04 17:08:57'::timestamp) - extract(epoch from '2026-08-04 17:08: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'), 48166, 'SRID=4674;POINT (-39.375546 -3.111717)', '2026-08-04 17:09:02', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37551 -3.1116)'), GeomFromEWKT('SRID=4674;POINT (-39.375546 -3.111717)'))) / (select extract(epoch from '2026-08-04 17:09:02'::timestamp) - extract(epoch from '2026-08-04 17:08:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37551 -3.1116)'), GeomFromEWKT('SRID=4674;POINT (-39.375546 -3.111717)'))) / (select extract(epoch from '2026-08-04 17:09:02'::timestamp) - extract(epoch from '2026-08-04 17:08: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'), 48166, 'SRID=4674;POINT (-39.375566 -3.111869)', '2026-08-04 17:09:08', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375546 -3.111717)'), GeomFromEWKT('SRID=4674;POINT (-39.375566 -3.111869)'))) / (select extract(epoch from '2026-08-04 17:09:08'::timestamp) - extract(epoch from '2026-08-04 17:09:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375546 -3.111717)'), GeomFromEWKT('SRID=4674;POINT (-39.375566 -3.111869)'))) / (select extract(epoch from '2026-08-04 17:09:08'::timestamp) - extract(epoch from '2026-08-04 17:09: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'), 48166, 'SRID=4674;POINT (-39.375598 -3.111985)', '2026-08-04 17:09:13', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375566 -3.111869)'), GeomFromEWKT('SRID=4674;POINT (-39.375598 -3.111985)'))) / (select extract(epoch from '2026-08-04 17:09:13'::timestamp) - extract(epoch from '2026-08-04 17:09:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375566 -3.111869)'), GeomFromEWKT('SRID=4674;POINT (-39.375598 -3.111985)'))) / (select extract(epoch from '2026-08-04 17:09:13'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.375623 -3.112127)', '2026-08-04 17:09:19', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375598 -3.111985)'), GeomFromEWKT('SRID=4674;POINT (-39.375623 -3.112127)'))) / (select extract(epoch from '2026-08-04 17:09:19'::timestamp) - extract(epoch from '2026-08-04 17:09:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375598 -3.111985)'), GeomFromEWKT('SRID=4674;POINT (-39.375623 -3.112127)'))) / (select extract(epoch from '2026-08-04 17:09:19'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.375664 -3.112275)', '2026-08-04 17:09:25', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375623 -3.112127)'), GeomFromEWKT('SRID=4674;POINT (-39.375664 -3.112275)'))) / (select extract(epoch from '2026-08-04 17:09:25'::timestamp) - extract(epoch from '2026-08-04 17:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375623 -3.112127)'), GeomFromEWKT('SRID=4674;POINT (-39.375664 -3.112275)'))) / (select extract(epoch from '2026-08-04 17:09:25'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.37568 -3.112407)', '2026-08-04 17:09:30', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375664 -3.112275)'), GeomFromEWKT('SRID=4674;POINT (-39.37568 -3.112407)'))) / (select extract(epoch from '2026-08-04 17:09:30'::timestamp) - extract(epoch from '2026-08-04 17:09:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375664 -3.112275)'), GeomFromEWKT('SRID=4674;POINT (-39.37568 -3.112407)'))) / (select extract(epoch from '2026-08-04 17:09:30'::timestamp) - extract(epoch from '2026-08-04 17:09: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'), 48166, 'SRID=4674;POINT (-39.375699 -3.112547)', '2026-08-04 17:09:36', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37568 -3.112407)'), GeomFromEWKT('SRID=4674;POINT (-39.375699 -3.112547)'))) / (select extract(epoch from '2026-08-04 17:09:36'::timestamp) - extract(epoch from '2026-08-04 17:09:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37568 -3.112407)'), GeomFromEWKT('SRID=4674;POINT (-39.375699 -3.112547)'))) / (select extract(epoch from '2026-08-04 17:09:36'::timestamp) - extract(epoch from '2026-08-04 17:09:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.375724 -3.112694)', '2026-08-04 17:09:42', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375699 -3.112547)'), GeomFromEWKT('SRID=4674;POINT (-39.375724 -3.112694)'))) / (select extract(epoch from '2026-08-04 17:09:42'::timestamp) - extract(epoch from '2026-08-04 17:09:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375699 -3.112547)'), GeomFromEWKT('SRID=4674;POINT (-39.375724 -3.112694)'))) / (select extract(epoch from '2026-08-04 17:09:42'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.375761 -3.11286)', '2026-08-04 17:09:49', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375724 -3.112694)'), GeomFromEWKT('SRID=4674;POINT (-39.375761 -3.11286)'))) / (select extract(epoch from '2026-08-04 17:09:49'::timestamp) - extract(epoch from '2026-08-04 17:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375724 -3.112694)'), GeomFromEWKT('SRID=4674;POINT (-39.375761 -3.11286)'))) / (select extract(epoch from '2026-08-04 17:09:49'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.375796 -3.113033)', '2026-08-04 17:09:56', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375761 -3.11286)'), GeomFromEWKT('SRID=4674;POINT (-39.375796 -3.113033)'))) / (select extract(epoch from '2026-08-04 17:09:56'::timestamp) - extract(epoch from '2026-08-04 17:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375761 -3.11286)'), GeomFromEWKT('SRID=4674;POINT (-39.375796 -3.113033)'))) / (select extract(epoch from '2026-08-04 17:09:56'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.375826 -3.113166)', '2026-08-04 17:10:01', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375796 -3.113033)'), GeomFromEWKT('SRID=4674;POINT (-39.375826 -3.113166)'))) / (select extract(epoch from '2026-08-04 17:10:01'::timestamp) - extract(epoch from '2026-08-04 17:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375796 -3.113033)'), GeomFromEWKT('SRID=4674;POINT (-39.375826 -3.113166)'))) / (select extract(epoch from '2026-08-04 17:10:01'::timestamp) - extract(epoch from '2026-08-04 17:09:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.375854 -3.113317)', '2026-08-04 17:10:07', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375826 -3.113166)'), GeomFromEWKT('SRID=4674;POINT (-39.375854 -3.113317)'))) / (select extract(epoch from '2026-08-04 17:10:07'::timestamp) - extract(epoch from '2026-08-04 17:10:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375826 -3.113166)'), GeomFromEWKT('SRID=4674;POINT (-39.375854 -3.113317)'))) / (select extract(epoch from '2026-08-04 17:10:07'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.375864 -3.113415)', '2026-08-04 17:10:11', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375854 -3.113317)'), GeomFromEWKT('SRID=4674;POINT (-39.375864 -3.113415)'))) / (select extract(epoch from '2026-08-04 17:10:11'::timestamp) - extract(epoch from '2026-08-04 17:10:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375854 -3.113317)'), GeomFromEWKT('SRID=4674;POINT (-39.375864 -3.113415)'))) / (select extract(epoch from '2026-08-04 17:10:11'::timestamp) - extract(epoch from '2026-08-04 17:10: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'), 48166, 'SRID=4674;POINT (-39.375869 -3.11344)', '2026-08-04 17:10:12', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375864 -3.113415)'), GeomFromEWKT('SRID=4674;POINT (-39.375869 -3.11344)'))) / (select extract(epoch from '2026-08-04 17:10:12'::timestamp) - extract(epoch from '2026-08-04 17:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375864 -3.113415)'), GeomFromEWKT('SRID=4674;POINT (-39.375869 -3.11344)'))) / (select extract(epoch from '2026-08-04 17:10:12'::timestamp) - extract(epoch from '2026-08-04 17:10:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.375896 -3.113501)', '2026-08-04 17:10:14', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375869 -3.11344)'), GeomFromEWKT('SRID=4674;POINT (-39.375896 -3.113501)'))) / (select extract(epoch from '2026-08-04 17:10:14'::timestamp) - extract(epoch from '2026-08-04 17:10:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375869 -3.11344)'), GeomFromEWKT('SRID=4674;POINT (-39.375896 -3.113501)'))) / (select extract(epoch from '2026-08-04 17:10:14'::timestamp) - extract(epoch from '2026-08-04 17:10: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'), 48166, 'SRID=4674;POINT (-39.375906 -3.113593)', '2026-08-04 17:10:18', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375896 -3.113501)'), GeomFromEWKT('SRID=4674;POINT (-39.375906 -3.113593)'))) / (select extract(epoch from '2026-08-04 17:10:18'::timestamp) - extract(epoch from '2026-08-04 17:10:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375896 -3.113501)'), GeomFromEWKT('SRID=4674;POINT (-39.375906 -3.113593)'))) / (select extract(epoch from '2026-08-04 17:10:18'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.375953 -3.113752)', '2026-08-04 17:10:25', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375906 -3.113593)'), GeomFromEWKT('SRID=4674;POINT (-39.375953 -3.113752)'))) / (select extract(epoch from '2026-08-04 17:10:25'::timestamp) - extract(epoch from '2026-08-04 17:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375906 -3.113593)'), GeomFromEWKT('SRID=4674;POINT (-39.375953 -3.113752)'))) / (select extract(epoch from '2026-08-04 17:10:25'::timestamp) - extract(epoch from '2026-08-04 17:10: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'), 48166, 'SRID=4674;POINT (-39.375965 -3.11387)', '2026-08-04 17:10:30', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375953 -3.113752)'), GeomFromEWKT('SRID=4674;POINT (-39.375965 -3.11387)'))) / (select extract(epoch from '2026-08-04 17:10:30'::timestamp) - extract(epoch from '2026-08-04 17:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375953 -3.113752)'), GeomFromEWKT('SRID=4674;POINT (-39.375965 -3.11387)'))) / (select extract(epoch from '2026-08-04 17:10:30'::timestamp) - extract(epoch from '2026-08-04 17:10: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'), 48166, 'SRID=4674;POINT (-39.37599 -3.113989)', '2026-08-04 17:10:35', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375965 -3.11387)'), GeomFromEWKT('SRID=4674;POINT (-39.37599 -3.113989)'))) / (select extract(epoch from '2026-08-04 17:10:35'::timestamp) - extract(epoch from '2026-08-04 17:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375965 -3.11387)'), GeomFromEWKT('SRID=4674;POINT (-39.37599 -3.113989)'))) / (select extract(epoch from '2026-08-04 17:10:35'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.376007 -3.114074)', '2026-08-04 17:10:39', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37599 -3.113989)'), GeomFromEWKT('SRID=4674;POINT (-39.376007 -3.114074)'))) / (select extract(epoch from '2026-08-04 17:10:39'::timestamp) - extract(epoch from '2026-08-04 17:10:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37599 -3.113989)'), GeomFromEWKT('SRID=4674;POINT (-39.376007 -3.114074)'))) / (select extract(epoch from '2026-08-04 17:10:39'::timestamp) - extract(epoch from '2026-08-04 17:10:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.376053 -3.114251)', '2026-08-04 17:10:47', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376007 -3.114074)'), GeomFromEWKT('SRID=4674;POINT (-39.376053 -3.114251)'))) / (select extract(epoch from '2026-08-04 17:10:47'::timestamp) - extract(epoch from '2026-08-04 17:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376007 -3.114074)'), GeomFromEWKT('SRID=4674;POINT (-39.376053 -3.114251)'))) / (select extract(epoch from '2026-08-04 17:10:47'::timestamp) - extract(epoch from '2026-08-04 17:10:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.376086 -3.11439)', '2026-08-04 17:10:53', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376053 -3.114251)'), GeomFromEWKT('SRID=4674;POINT (-39.376086 -3.11439)'))) / (select extract(epoch from '2026-08-04 17:10:53'::timestamp) - extract(epoch from '2026-08-04 17:10:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376053 -3.114251)'), GeomFromEWKT('SRID=4674;POINT (-39.376086 -3.11439)'))) / (select extract(epoch from '2026-08-04 17:10:53'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.376113 -3.114534)', '2026-08-04 17:10:59', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376086 -3.11439)'), GeomFromEWKT('SRID=4674;POINT (-39.376113 -3.114534)'))) / (select extract(epoch from '2026-08-04 17:10:59'::timestamp) - extract(epoch from '2026-08-04 17:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376086 -3.11439)'), GeomFromEWKT('SRID=4674;POINT (-39.376113 -3.114534)'))) / (select extract(epoch from '2026-08-04 17:10:59'::timestamp) - extract(epoch from '2026-08-04 17:10: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'), 48166, 'SRID=4674;POINT (-39.376123 -3.114578)', '2026-08-04 17:11:01', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376113 -3.114534)'), GeomFromEWKT('SRID=4674;POINT (-39.376123 -3.114578)'))) / (select extract(epoch from '2026-08-04 17:11:01'::timestamp) - extract(epoch from '2026-08-04 17:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376113 -3.114534)'), GeomFromEWKT('SRID=4674;POINT (-39.376123 -3.114578)'))) / (select extract(epoch from '2026-08-04 17:11:01'::timestamp) - extract(epoch from '2026-08-04 17:10:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.376156 -3.114648)', '2026-08-04 17:11:04', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376123 -3.114578)'), GeomFromEWKT('SRID=4674;POINT (-39.376156 -3.114648)'))) / (select extract(epoch from '2026-08-04 17:11:04'::timestamp) - extract(epoch from '2026-08-04 17:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376123 -3.114578)'), GeomFromEWKT('SRID=4674;POINT (-39.376156 -3.114648)'))) / (select extract(epoch from '2026-08-04 17:11:04'::timestamp) - extract(epoch from '2026-08-04 17:11: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'), 48166, 'SRID=4674;POINT (-39.376189 -3.114777)', '2026-08-04 17:11:10', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376156 -3.114648)'), GeomFromEWKT('SRID=4674;POINT (-39.376189 -3.114777)'))) / (select extract(epoch from '2026-08-04 17:11:10'::timestamp) - extract(epoch from '2026-08-04 17:11:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376156 -3.114648)'), GeomFromEWKT('SRID=4674;POINT (-39.376189 -3.114777)'))) / (select extract(epoch from '2026-08-04 17:11:10'::timestamp) - extract(epoch from '2026-08-04 17:11: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'), 48166, 'SRID=4674;POINT (-39.376224 -3.114902)', '2026-08-04 17:11:15', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376189 -3.114777)'), GeomFromEWKT('SRID=4674;POINT (-39.376224 -3.114902)'))) / (select extract(epoch from '2026-08-04 17:11:15'::timestamp) - extract(epoch from '2026-08-04 17:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376189 -3.114777)'), GeomFromEWKT('SRID=4674;POINT (-39.376224 -3.114902)'))) / (select extract(epoch from '2026-08-04 17:11:15'::timestamp) - extract(epoch from '2026-08-04 17:11:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.37627 -3.114988)', '2026-08-04 17:11:19', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376224 -3.114902)'), GeomFromEWKT('SRID=4674;POINT (-39.37627 -3.114988)'))) / (select extract(epoch from '2026-08-04 17:11:19'::timestamp) - extract(epoch from '2026-08-04 17:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376224 -3.114902)'), GeomFromEWKT('SRID=4674;POINT (-39.37627 -3.114988)'))) / (select extract(epoch from '2026-08-04 17:11:19'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.376307 -3.115083)', '2026-08-04 17:11:24', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37627 -3.114988)'), GeomFromEWKT('SRID=4674;POINT (-39.376307 -3.115083)'))) / (select extract(epoch from '2026-08-04 17:11:24'::timestamp) - extract(epoch from '2026-08-04 17:11:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37627 -3.114988)'), GeomFromEWKT('SRID=4674;POINT (-39.376307 -3.115083)'))) / (select extract(epoch from '2026-08-04 17:11:24'::timestamp) - extract(epoch from '2026-08-04 17:11: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'), 48166, 'SRID=4674;POINT (-39.376351 -3.115209)', '2026-08-04 17:11:30', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376307 -3.115083)'), GeomFromEWKT('SRID=4674;POINT (-39.376351 -3.115209)'))) / (select extract(epoch from '2026-08-04 17:11:30'::timestamp) - extract(epoch from '2026-08-04 17:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376307 -3.115083)'), GeomFromEWKT('SRID=4674;POINT (-39.376351 -3.115209)'))) / (select extract(epoch from '2026-08-04 17:11:30'::timestamp) - extract(epoch from '2026-08-04 17:11:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.376383 -3.115356)', '2026-08-04 17:11:36', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376351 -3.115209)'), GeomFromEWKT('SRID=4674;POINT (-39.376383 -3.115356)'))) / (select extract(epoch from '2026-08-04 17:11:36'::timestamp) - extract(epoch from '2026-08-04 17:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376351 -3.115209)'), GeomFromEWKT('SRID=4674;POINT (-39.376383 -3.115356)'))) / (select extract(epoch from '2026-08-04 17:11:36'::timestamp) - extract(epoch from '2026-08-04 17:11: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'), 48166, 'SRID=4674;POINT (-39.376428 -3.115503)', '2026-08-04 17:11:42', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376383 -3.115356)'), GeomFromEWKT('SRID=4674;POINT (-39.376428 -3.115503)'))) / (select extract(epoch from '2026-08-04 17:11:42'::timestamp) - extract(epoch from '2026-08-04 17:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376383 -3.115356)'), GeomFromEWKT('SRID=4674;POINT (-39.376428 -3.115503)'))) / (select extract(epoch from '2026-08-04 17:11:42'::timestamp) - extract(epoch from '2026-08-04 17:11:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.376443 -3.11561)', '2026-08-04 17:11:47', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376428 -3.115503)'), GeomFromEWKT('SRID=4674;POINT (-39.376443 -3.11561)'))) / (select extract(epoch from '2026-08-04 17:11:47'::timestamp) - extract(epoch from '2026-08-04 17:11:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376428 -3.115503)'), GeomFromEWKT('SRID=4674;POINT (-39.376443 -3.11561)'))) / (select extract(epoch from '2026-08-04 17:11:47'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.37647 -3.115749)', '2026-08-04 17:11:53', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376443 -3.11561)'), GeomFromEWKT('SRID=4674;POINT (-39.37647 -3.115749)'))) / (select extract(epoch from '2026-08-04 17:11:53'::timestamp) - extract(epoch from '2026-08-04 17:11:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376443 -3.11561)'), GeomFromEWKT('SRID=4674;POINT (-39.37647 -3.115749)'))) / (select extract(epoch from '2026-08-04 17:11:53'::timestamp) - extract(epoch from '2026-08-04 17:11: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'), 48166, 'SRID=4674;POINT (-39.376503 -3.115884)', '2026-08-04 17:11:59', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37647 -3.115749)'), GeomFromEWKT('SRID=4674;POINT (-39.376503 -3.115884)'))) / (select extract(epoch from '2026-08-04 17:11:59'::timestamp) - extract(epoch from '2026-08-04 17:11:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37647 -3.115749)'), GeomFromEWKT('SRID=4674;POINT (-39.376503 -3.115884)'))) / (select extract(epoch from '2026-08-04 17:11:59'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.37653 -3.116018)', '2026-08-04 17:12:05', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376503 -3.115884)'), GeomFromEWKT('SRID=4674;POINT (-39.37653 -3.116018)'))) / (select extract(epoch from '2026-08-04 17:12:05'::timestamp) - extract(epoch from '2026-08-04 17:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376503 -3.115884)'), GeomFromEWKT('SRID=4674;POINT (-39.37653 -3.116018)'))) / (select extract(epoch from '2026-08-04 17:12:05'::timestamp) - extract(epoch from '2026-08-04 17:11: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'), 48166, 'SRID=4674;POINT (-39.376551 -3.116152)', '2026-08-04 17:12:11', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37653 -3.116018)'), GeomFromEWKT('SRID=4674;POINT (-39.376551 -3.116152)'))) / (select extract(epoch from '2026-08-04 17:12:11'::timestamp) - extract(epoch from '2026-08-04 17:12:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37653 -3.116018)'), GeomFromEWKT('SRID=4674;POINT (-39.376551 -3.116152)'))) / (select extract(epoch from '2026-08-04 17:12:11'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.376572 -3.1162)', '2026-08-04 17:12:13', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376551 -3.116152)'), GeomFromEWKT('SRID=4674;POINT (-39.376572 -3.1162)'))) / (select extract(epoch from '2026-08-04 17:12:13'::timestamp) - extract(epoch from '2026-08-04 17:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376551 -3.116152)'), GeomFromEWKT('SRID=4674;POINT (-39.376572 -3.1162)'))) / (select extract(epoch from '2026-08-04 17:12:13'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.376585 -3.116269)', '2026-08-04 17:12:16', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376572 -3.1162)'), GeomFromEWKT('SRID=4674;POINT (-39.376585 -3.116269)'))) / (select extract(epoch from '2026-08-04 17:12:16'::timestamp) - extract(epoch from '2026-08-04 17:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376572 -3.1162)'), GeomFromEWKT('SRID=4674;POINT (-39.376585 -3.116269)'))) / (select extract(epoch from '2026-08-04 17:12:16'::timestamp) - extract(epoch from '2026-08-04 17:12:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.376605 -3.116377)', '2026-08-04 17:12:21', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376585 -3.116269)'), GeomFromEWKT('SRID=4674;POINT (-39.376605 -3.116377)'))) / (select extract(epoch from '2026-08-04 17:12:21'::timestamp) - extract(epoch from '2026-08-04 17:12:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376585 -3.116269)'), GeomFromEWKT('SRID=4674;POINT (-39.376605 -3.116377)'))) / (select extract(epoch from '2026-08-04 17:12:21'::timestamp) - extract(epoch from '2026-08-04 17:12: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'), 48166, 'SRID=4674;POINT (-39.376637 -3.116535)', '2026-08-04 17:12:28', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376605 -3.116377)'), GeomFromEWKT('SRID=4674;POINT (-39.376637 -3.116535)'))) / (select extract(epoch from '2026-08-04 17:12:28'::timestamp) - extract(epoch from '2026-08-04 17:12:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376605 -3.116377)'), GeomFromEWKT('SRID=4674;POINT (-39.376637 -3.116535)'))) / (select extract(epoch from '2026-08-04 17:12:28'::timestamp) - extract(epoch from '2026-08-04 17:12:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.376647 -3.116703)', '2026-08-04 17:12:35', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376637 -3.116535)'), GeomFromEWKT('SRID=4674;POINT (-39.376647 -3.116703)'))) / (select extract(epoch from '2026-08-04 17:12:35'::timestamp) - extract(epoch from '2026-08-04 17:12:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376637 -3.116535)'), GeomFromEWKT('SRID=4674;POINT (-39.376647 -3.116703)'))) / (select extract(epoch from '2026-08-04 17:12:35'::timestamp) - extract(epoch from '2026-08-04 17:12: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'), 48166, 'SRID=4674;POINT (-39.376654 -3.116731)', '2026-08-04 17:12:36', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376647 -3.116703)'), GeomFromEWKT('SRID=4674;POINT (-39.376654 -3.116731)'))) / (select extract(epoch from '2026-08-04 17:12:36'::timestamp) - extract(epoch from '2026-08-04 17:12:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376647 -3.116703)'), GeomFromEWKT('SRID=4674;POINT (-39.376654 -3.116731)'))) / (select extract(epoch from '2026-08-04 17:12:36'::timestamp) - extract(epoch from '2026-08-04 17:12: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'), 48166, 'SRID=4674;POINT (-39.376671 -3.116812)', '2026-08-04 17:12:39', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376654 -3.116731)'), GeomFromEWKT('SRID=4674;POINT (-39.376671 -3.116812)'))) / (select extract(epoch from '2026-08-04 17:12:39'::timestamp) - extract(epoch from '2026-08-04 17:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376654 -3.116731)'), GeomFromEWKT('SRID=4674;POINT (-39.376671 -3.116812)'))) / (select extract(epoch from '2026-08-04 17:12:39'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.37669 -3.116919)', '2026-08-04 17:12:44', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376671 -3.116812)'), GeomFromEWKT('SRID=4674;POINT (-39.37669 -3.116919)'))) / (select extract(epoch from '2026-08-04 17:12:44'::timestamp) - extract(epoch from '2026-08-04 17:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376671 -3.116812)'), GeomFromEWKT('SRID=4674;POINT (-39.37669 -3.116919)'))) / (select extract(epoch from '2026-08-04 17:12:44'::timestamp) - extract(epoch from '2026-08-04 17:12: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'), 48166, 'SRID=4674;POINT (-39.376707 -3.11709)', '2026-08-04 17:12:51', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37669 -3.116919)'), GeomFromEWKT('SRID=4674;POINT (-39.376707 -3.11709)'))) / (select extract(epoch from '2026-08-04 17:12:51'::timestamp) - extract(epoch from '2026-08-04 17:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37669 -3.116919)'), GeomFromEWKT('SRID=4674;POINT (-39.376707 -3.11709)'))) / (select extract(epoch from '2026-08-04 17:12:51'::timestamp) - extract(epoch from '2026-08-04 17:12:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.376726 -3.117207)', '2026-08-04 17:12:56', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376707 -3.11709)'), GeomFromEWKT('SRID=4674;POINT (-39.376726 -3.117207)'))) / (select extract(epoch from '2026-08-04 17:12:56'::timestamp) - extract(epoch from '2026-08-04 17:12:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376707 -3.11709)'), GeomFromEWKT('SRID=4674;POINT (-39.376726 -3.117207)'))) / (select extract(epoch from '2026-08-04 17:12:56'::timestamp) - extract(epoch from '2026-08-04 17:12: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'), 48166, 'SRID=4674;POINT (-39.376764 -3.117329)', '2026-08-04 17:13:01', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376726 -3.117207)'), GeomFromEWKT('SRID=4674;POINT (-39.376764 -3.117329)'))) / (select extract(epoch from '2026-08-04 17:13:01'::timestamp) - extract(epoch from '2026-08-04 17:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376726 -3.117207)'), GeomFromEWKT('SRID=4674;POINT (-39.376764 -3.117329)'))) / (select extract(epoch from '2026-08-04 17:13:01'::timestamp) - extract(epoch from '2026-08-04 17:12:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.37676 -3.11735)', '2026-08-04 17:13:02', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376764 -3.117329)'), GeomFromEWKT('SRID=4674;POINT (-39.37676 -3.11735)'))) / (select extract(epoch from '2026-08-04 17:13:02'::timestamp) - extract(epoch from '2026-08-04 17:13:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376764 -3.117329)'), GeomFromEWKT('SRID=4674;POINT (-39.37676 -3.11735)'))) / (select extract(epoch from '2026-08-04 17:13:02'::timestamp) - extract(epoch from '2026-08-04 17:13: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'), 48166, 'SRID=4674;POINT (-39.376764 -3.117415)', '2026-08-04 17:13:05', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37676 -3.11735)'), GeomFromEWKT('SRID=4674;POINT (-39.376764 -3.117415)'))) / (select extract(epoch from '2026-08-04 17:13:05'::timestamp) - extract(epoch from '2026-08-04 17:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37676 -3.11735)'), GeomFromEWKT('SRID=4674;POINT (-39.376764 -3.117415)'))) / (select extract(epoch from '2026-08-04 17:13:05'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.376776 -3.11753)', '2026-08-04 17:13:10', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376764 -3.117415)'), GeomFromEWKT('SRID=4674;POINT (-39.376776 -3.11753)'))) / (select extract(epoch from '2026-08-04 17:13:10'::timestamp) - extract(epoch from '2026-08-04 17:13:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376764 -3.117415)'), GeomFromEWKT('SRID=4674;POINT (-39.376776 -3.11753)'))) / (select extract(epoch from '2026-08-04 17:13:10'::timestamp) - extract(epoch from '2026-08-04 17:13:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.376809 -3.117648)', '2026-08-04 17:13:15', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376776 -3.11753)'), GeomFromEWKT('SRID=4674;POINT (-39.376809 -3.117648)'))) / (select extract(epoch from '2026-08-04 17:13:15'::timestamp) - extract(epoch from '2026-08-04 17:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376776 -3.11753)'), GeomFromEWKT('SRID=4674;POINT (-39.376809 -3.117648)'))) / (select extract(epoch from '2026-08-04 17:13:15'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.376821 -3.11774)', '2026-08-04 17:13:19', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376809 -3.117648)'), GeomFromEWKT('SRID=4674;POINT (-39.376821 -3.11774)'))) / (select extract(epoch from '2026-08-04 17:13:19'::timestamp) - extract(epoch from '2026-08-04 17:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376809 -3.117648)'), GeomFromEWKT('SRID=4674;POINT (-39.376821 -3.11774)'))) / (select extract(epoch from '2026-08-04 17:13:19'::timestamp) - extract(epoch from '2026-08-04 17:13: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'), 48166, 'SRID=4674;POINT (-39.376836 -3.117838)', '2026-08-04 17:13:23', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376821 -3.11774)'), GeomFromEWKT('SRID=4674;POINT (-39.376836 -3.117838)'))) / (select extract(epoch from '2026-08-04 17:13:23'::timestamp) - extract(epoch from '2026-08-04 17:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376821 -3.11774)'), GeomFromEWKT('SRID=4674;POINT (-39.376836 -3.117838)'))) / (select extract(epoch from '2026-08-04 17:13:23'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.376874 -3.117934)', '2026-08-04 17:13:27', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376836 -3.117838)'), GeomFromEWKT('SRID=4674;POINT (-39.376874 -3.117934)'))) / (select extract(epoch from '2026-08-04 17:13:27'::timestamp) - extract(epoch from '2026-08-04 17:13:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376836 -3.117838)'), GeomFromEWKT('SRID=4674;POINT (-39.376874 -3.117934)'))) / (select extract(epoch from '2026-08-04 17:13:27'::timestamp) - extract(epoch from '2026-08-04 17:13: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'), 48166, 'SRID=4674;POINT (-39.376916 -3.118086)', '2026-08-04 17:13:33', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376874 -3.117934)'), GeomFromEWKT('SRID=4674;POINT (-39.376916 -3.118086)'))) / (select extract(epoch from '2026-08-04 17:13:33'::timestamp) - extract(epoch from '2026-08-04 17:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376874 -3.117934)'), GeomFromEWKT('SRID=4674;POINT (-39.376916 -3.118086)'))) / (select extract(epoch from '2026-08-04 17:13:33'::timestamp) - extract(epoch from '2026-08-04 17:13: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'), 48166, 'SRID=4674;POINT (-39.376926 -3.118262)', '2026-08-04 17:13:40', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376916 -3.118086)'), GeomFromEWKT('SRID=4674;POINT (-39.376926 -3.118262)'))) / (select extract(epoch from '2026-08-04 17:13:40'::timestamp) - extract(epoch from '2026-08-04 17:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376916 -3.118086)'), GeomFromEWKT('SRID=4674;POINT (-39.376926 -3.118262)'))) / (select extract(epoch from '2026-08-04 17:13:40'::timestamp) - extract(epoch from '2026-08-04 17:13: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'), 48166, 'SRID=4674;POINT (-39.376952 -3.118402)', '2026-08-04 17:13:46', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376926 -3.118262)'), GeomFromEWKT('SRID=4674;POINT (-39.376952 -3.118402)'))) / (select extract(epoch from '2026-08-04 17:13:46'::timestamp) - extract(epoch from '2026-08-04 17:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376926 -3.118262)'), GeomFromEWKT('SRID=4674;POINT (-39.376952 -3.118402)'))) / (select extract(epoch from '2026-08-04 17:13:46'::timestamp) - extract(epoch from '2026-08-04 17:13:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.376984 -3.118517)', '2026-08-04 17:13:51', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376952 -3.118402)'), GeomFromEWKT('SRID=4674;POINT (-39.376984 -3.118517)'))) / (select extract(epoch from '2026-08-04 17:13:51'::timestamp) - extract(epoch from '2026-08-04 17:13:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376952 -3.118402)'), GeomFromEWKT('SRID=4674;POINT (-39.376984 -3.118517)'))) / (select extract(epoch from '2026-08-04 17:13:51'::timestamp) - extract(epoch from '2026-08-04 17:13: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'), 48166, 'SRID=4674;POINT (-39.377013 -3.11866)', '2026-08-04 17:13:57', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376984 -3.118517)'), GeomFromEWKT('SRID=4674;POINT (-39.377013 -3.11866)'))) / (select extract(epoch from '2026-08-04 17:13:57'::timestamp) - extract(epoch from '2026-08-04 17:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376984 -3.118517)'), GeomFromEWKT('SRID=4674;POINT (-39.377013 -3.11866)'))) / (select extract(epoch from '2026-08-04 17:13:57'::timestamp) - extract(epoch from '2026-08-04 17:13:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.377045 -3.118807)', '2026-08-04 17:14:03', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377013 -3.11866)'), GeomFromEWKT('SRID=4674;POINT (-39.377045 -3.118807)'))) / (select extract(epoch from '2026-08-04 17:14:03'::timestamp) - extract(epoch from '2026-08-04 17:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377013 -3.11866)'), GeomFromEWKT('SRID=4674;POINT (-39.377045 -3.118807)'))) / (select extract(epoch from '2026-08-04 17:14:03'::timestamp) - extract(epoch from '2026-08-04 17:13:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.377059 -3.118926)', '2026-08-04 17:14:08', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377045 -3.118807)'), GeomFromEWKT('SRID=4674;POINT (-39.377059 -3.118926)'))) / (select extract(epoch from '2026-08-04 17:14:08'::timestamp) - extract(epoch from '2026-08-04 17:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377045 -3.118807)'), GeomFromEWKT('SRID=4674;POINT (-39.377059 -3.118926)'))) / (select extract(epoch from '2026-08-04 17:14:08'::timestamp) - extract(epoch from '2026-08-04 17:14: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'), 48166, 'SRID=4674;POINT (-39.377085 -3.11903)', '2026-08-04 17:14:12', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377059 -3.118926)'), GeomFromEWKT('SRID=4674;POINT (-39.377085 -3.11903)'))) / (select extract(epoch from '2026-08-04 17:14:12'::timestamp) - extract(epoch from '2026-08-04 17:14:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377059 -3.118926)'), GeomFromEWKT('SRID=4674;POINT (-39.377085 -3.11903)'))) / (select extract(epoch from '2026-08-04 17:14:12'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.377101 -3.119139)', '2026-08-04 17:14:17', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377085 -3.11903)'), GeomFromEWKT('SRID=4674;POINT (-39.377101 -3.119139)'))) / (select extract(epoch from '2026-08-04 17:14:17'::timestamp) - extract(epoch from '2026-08-04 17:14:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377085 -3.11903)'), GeomFromEWKT('SRID=4674;POINT (-39.377101 -3.119139)'))) / (select extract(epoch from '2026-08-04 17:14:17'::timestamp) - extract(epoch from '2026-08-04 17:14: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'), 48166, 'SRID=4674;POINT (-39.377125 -3.119251)', '2026-08-04 17:14:22', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377101 -3.119139)'), GeomFromEWKT('SRID=4674;POINT (-39.377125 -3.119251)'))) / (select extract(epoch from '2026-08-04 17:14:22'::timestamp) - extract(epoch from '2026-08-04 17:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377101 -3.119139)'), GeomFromEWKT('SRID=4674;POINT (-39.377125 -3.119251)'))) / (select extract(epoch from '2026-08-04 17:14:22'::timestamp) - extract(epoch from '2026-08-04 17:14: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'), 48166, 'SRID=4674;POINT (-39.37716 -3.119407)', '2026-08-04 17:14:29', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377125 -3.119251)'), GeomFromEWKT('SRID=4674;POINT (-39.37716 -3.119407)'))) / (select extract(epoch from '2026-08-04 17:14:29'::timestamp) - extract(epoch from '2026-08-04 17:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377125 -3.119251)'), GeomFromEWKT('SRID=4674;POINT (-39.37716 -3.119407)'))) / (select extract(epoch from '2026-08-04 17:14:29'::timestamp) - extract(epoch from '2026-08-04 17:14:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.377164 -3.119528)', '2026-08-04 17:14:34', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37716 -3.119407)'), GeomFromEWKT('SRID=4674;POINT (-39.377164 -3.119528)'))) / (select extract(epoch from '2026-08-04 17:14:34'::timestamp) - extract(epoch from '2026-08-04 17:14:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37716 -3.119407)'), GeomFromEWKT('SRID=4674;POINT (-39.377164 -3.119528)'))) / (select extract(epoch from '2026-08-04 17:14:34'::timestamp) - extract(epoch from '2026-08-04 17:14:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.377183 -3.119671)', '2026-08-04 17:14:40', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377164 -3.119528)'), GeomFromEWKT('SRID=4674;POINT (-39.377183 -3.119671)'))) / (select extract(epoch from '2026-08-04 17:14:40'::timestamp) - extract(epoch from '2026-08-04 17:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377164 -3.119528)'), GeomFromEWKT('SRID=4674;POINT (-39.377183 -3.119671)'))) / (select extract(epoch from '2026-08-04 17:14:40'::timestamp) - extract(epoch from '2026-08-04 17:14:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.377207 -3.119788)', '2026-08-04 17:14:45', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377183 -3.119671)'), GeomFromEWKT('SRID=4674;POINT (-39.377207 -3.119788)'))) / (select extract(epoch from '2026-08-04 17:14:45'::timestamp) - extract(epoch from '2026-08-04 17:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377183 -3.119671)'), GeomFromEWKT('SRID=4674;POINT (-39.377207 -3.119788)'))) / (select extract(epoch from '2026-08-04 17:14:45'::timestamp) - extract(epoch from '2026-08-04 17:14:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.377238 -3.119926)', '2026-08-04 17:14:51', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377207 -3.119788)'), GeomFromEWKT('SRID=4674;POINT (-39.377238 -3.119926)'))) / (select extract(epoch from '2026-08-04 17:14:51'::timestamp) - extract(epoch from '2026-08-04 17:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377207 -3.119788)'), GeomFromEWKT('SRID=4674;POINT (-39.377238 -3.119926)'))) / (select extract(epoch from '2026-08-04 17:14:51'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.377284 -3.120062)', '2026-08-04 17:14:57', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377238 -3.119926)'), GeomFromEWKT('SRID=4674;POINT (-39.377284 -3.120062)'))) / (select extract(epoch from '2026-08-04 17:14:57'::timestamp) - extract(epoch from '2026-08-04 17:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377238 -3.119926)'), GeomFromEWKT('SRID=4674;POINT (-39.377284 -3.120062)'))) / (select extract(epoch from '2026-08-04 17:14:57'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.377312 -3.120167)', '2026-08-04 17:15:02', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377284 -3.120062)'), GeomFromEWKT('SRID=4674;POINT (-39.377312 -3.120167)'))) / (select extract(epoch from '2026-08-04 17:15:02'::timestamp) - extract(epoch from '2026-08-04 17:14:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377284 -3.120062)'), GeomFromEWKT('SRID=4674;POINT (-39.377312 -3.120167)'))) / (select extract(epoch from '2026-08-04 17:15:02'::timestamp) - extract(epoch from '2026-08-04 17:14: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'), 48166, 'SRID=4674;POINT (-39.377342 -3.120301)', '2026-08-04 17:15:08', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377312 -3.120167)'), GeomFromEWKT('SRID=4674;POINT (-39.377342 -3.120301)'))) / (select extract(epoch from '2026-08-04 17:15:08'::timestamp) - extract(epoch from '2026-08-04 17:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377312 -3.120167)'), GeomFromEWKT('SRID=4674;POINT (-39.377342 -3.120301)'))) / (select extract(epoch from '2026-08-04 17:15:08'::timestamp) - extract(epoch from '2026-08-04 17:15: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'), 48166, 'SRID=4674;POINT (-39.377367 -3.120423)', '2026-08-04 17:15:13', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377342 -3.120301)'), GeomFromEWKT('SRID=4674;POINT (-39.377367 -3.120423)'))) / (select extract(epoch from '2026-08-04 17:15:13'::timestamp) - extract(epoch from '2026-08-04 17:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377342 -3.120301)'), GeomFromEWKT('SRID=4674;POINT (-39.377367 -3.120423)'))) / (select extract(epoch from '2026-08-04 17:15:13'::timestamp) - extract(epoch from '2026-08-04 17:15:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.377383 -3.120539)', '2026-08-04 17:15:18', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377367 -3.120423)'), GeomFromEWKT('SRID=4674;POINT (-39.377383 -3.120539)'))) / (select extract(epoch from '2026-08-04 17:15:18'::timestamp) - extract(epoch from '2026-08-04 17:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377367 -3.120423)'), GeomFromEWKT('SRID=4674;POINT (-39.377383 -3.120539)'))) / (select extract(epoch from '2026-08-04 17:15:18'::timestamp) - extract(epoch from '2026-08-04 17:15: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'), 48166, 'SRID=4674;POINT (-39.377409 -3.120686)', '2026-08-04 17:15:24', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377383 -3.120539)'), GeomFromEWKT('SRID=4674;POINT (-39.377409 -3.120686)'))) / (select extract(epoch from '2026-08-04 17:15:24'::timestamp) - extract(epoch from '2026-08-04 17:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377383 -3.120539)'), GeomFromEWKT('SRID=4674;POINT (-39.377409 -3.120686)'))) / (select extract(epoch from '2026-08-04 17:15:24'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.377429 -3.120793)', '2026-08-04 17:15:29', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377409 -3.120686)'), GeomFromEWKT('SRID=4674;POINT (-39.377429 -3.120793)'))) / (select extract(epoch from '2026-08-04 17:15:29'::timestamp) - extract(epoch from '2026-08-04 17:15:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377409 -3.120686)'), GeomFromEWKT('SRID=4674;POINT (-39.377429 -3.120793)'))) / (select extract(epoch from '2026-08-04 17:15:29'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.377448 -3.120909)', '2026-08-04 17:15:34', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377429 -3.120793)'), GeomFromEWKT('SRID=4674;POINT (-39.377448 -3.120909)'))) / (select extract(epoch from '2026-08-04 17:15:34'::timestamp) - extract(epoch from '2026-08-04 17:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377429 -3.120793)'), GeomFromEWKT('SRID=4674;POINT (-39.377448 -3.120909)'))) / (select extract(epoch from '2026-08-04 17:15:34'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.377453 -3.120932)', '2026-08-04 17:15:35', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377448 -3.120909)'), GeomFromEWKT('SRID=4674;POINT (-39.377453 -3.120932)'))) / (select extract(epoch from '2026-08-04 17:15:35'::timestamp) - extract(epoch from '2026-08-04 17:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377448 -3.120909)'), GeomFromEWKT('SRID=4674;POINT (-39.377453 -3.120932)'))) / (select extract(epoch from '2026-08-04 17:15:35'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.377473 -3.121)', '2026-08-04 17:15:38', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377453 -3.120932)'), GeomFromEWKT('SRID=4674;POINT (-39.377473 -3.121)'))) / (select extract(epoch from '2026-08-04 17:15:38'::timestamp) - extract(epoch from '2026-08-04 17:15:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377453 -3.120932)'), GeomFromEWKT('SRID=4674;POINT (-39.377473 -3.121)'))) / (select extract(epoch from '2026-08-04 17:15:38'::timestamp) - extract(epoch from '2026-08-04 17:15:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.377506 -3.12112)', '2026-08-04 17:15:43', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377473 -3.121)'), GeomFromEWKT('SRID=4674;POINT (-39.377506 -3.12112)'))) / (select extract(epoch from '2026-08-04 17:15:43'::timestamp) - extract(epoch from '2026-08-04 17:15:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377473 -3.121)'), GeomFromEWKT('SRID=4674;POINT (-39.377506 -3.12112)'))) / (select extract(epoch from '2026-08-04 17:15:43'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.37752 -3.121257)', '2026-08-04 17:15:49', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377506 -3.12112)'), GeomFromEWKT('SRID=4674;POINT (-39.37752 -3.121257)'))) / (select extract(epoch from '2026-08-04 17:15:49'::timestamp) - extract(epoch from '2026-08-04 17:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377506 -3.12112)'), GeomFromEWKT('SRID=4674;POINT (-39.37752 -3.121257)'))) / (select extract(epoch from '2026-08-04 17:15:49'::timestamp) - extract(epoch from '2026-08-04 17:15: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'), 48166, 'SRID=4674;POINT (-39.377551 -3.121406)', '2026-08-04 17:15:55', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37752 -3.121257)'), GeomFromEWKT('SRID=4674;POINT (-39.377551 -3.121406)'))) / (select extract(epoch from '2026-08-04 17:15:55'::timestamp) - extract(epoch from '2026-08-04 17:15:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37752 -3.121257)'), GeomFromEWKT('SRID=4674;POINT (-39.377551 -3.121406)'))) / (select extract(epoch from '2026-08-04 17:15:55'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.377578 -3.121556)', '2026-08-04 17:16:01', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377551 -3.121406)'), GeomFromEWKT('SRID=4674;POINT (-39.377578 -3.121556)'))) / (select extract(epoch from '2026-08-04 17:16:01'::timestamp) - extract(epoch from '2026-08-04 17:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377551 -3.121406)'), GeomFromEWKT('SRID=4674;POINT (-39.377578 -3.121556)'))) / (select extract(epoch from '2026-08-04 17:16:01'::timestamp) - extract(epoch from '2026-08-04 17:15: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'), 48166, 'SRID=4674;POINT (-39.377589 -3.121663)', '2026-08-04 17:16:06', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377578 -3.121556)'), GeomFromEWKT('SRID=4674;POINT (-39.377589 -3.121663)'))) / (select extract(epoch from '2026-08-04 17:16:06'::timestamp) - extract(epoch from '2026-08-04 17:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377578 -3.121556)'), GeomFromEWKT('SRID=4674;POINT (-39.377589 -3.121663)'))) / (select extract(epoch from '2026-08-04 17:16:06'::timestamp) - extract(epoch from '2026-08-04 17:16:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.37759 -3.121823)', '2026-08-04 17:16:13', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377589 -3.121663)'), GeomFromEWKT('SRID=4674;POINT (-39.37759 -3.121823)'))) / (select extract(epoch from '2026-08-04 17:16:13'::timestamp) - extract(epoch from '2026-08-04 17:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377589 -3.121663)'), GeomFromEWKT('SRID=4674;POINT (-39.37759 -3.121823)'))) / (select extract(epoch from '2026-08-04 17:16:13'::timestamp) - extract(epoch from '2026-08-04 17:16: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'), 48166, 'SRID=4674;POINT (-39.377591 -3.121944)', '2026-08-04 17:16:18', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37759 -3.121823)'), GeomFromEWKT('SRID=4674;POINT (-39.377591 -3.121944)'))) / (select extract(epoch from '2026-08-04 17:16:18'::timestamp) - extract(epoch from '2026-08-04 17:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37759 -3.121823)'), GeomFromEWKT('SRID=4674;POINT (-39.377591 -3.121944)'))) / (select extract(epoch from '2026-08-04 17:16:18'::timestamp) - extract(epoch from '2026-08-04 17:16: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'), 48166, 'SRID=4674;POINT (-39.377629 -3.122097)', '2026-08-04 17:16:24', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377591 -3.121944)'), GeomFromEWKT('SRID=4674;POINT (-39.377629 -3.122097)'))) / (select extract(epoch from '2026-08-04 17:16:24'::timestamp) - extract(epoch from '2026-08-04 17:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377591 -3.121944)'), GeomFromEWKT('SRID=4674;POINT (-39.377629 -3.122097)'))) / (select extract(epoch from '2026-08-04 17:16:24'::timestamp) - extract(epoch from '2026-08-04 17:16:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.377648 -3.122195)', '2026-08-04 17:16:28', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377629 -3.122097)'), GeomFromEWKT('SRID=4674;POINT (-39.377648 -3.122195)'))) / (select extract(epoch from '2026-08-04 17:16:28'::timestamp) - extract(epoch from '2026-08-04 17:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377629 -3.122097)'), GeomFromEWKT('SRID=4674;POINT (-39.377648 -3.122195)'))) / (select extract(epoch from '2026-08-04 17:16:28'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.377679 -3.122337)', '2026-08-04 17:16:34', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377648 -3.122195)'), GeomFromEWKT('SRID=4674;POINT (-39.377679 -3.122337)'))) / (select extract(epoch from '2026-08-04 17:16:34'::timestamp) - extract(epoch from '2026-08-04 17:16:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377648 -3.122195)'), GeomFromEWKT('SRID=4674;POINT (-39.377679 -3.122337)'))) / (select extract(epoch from '2026-08-04 17:16:34'::timestamp) - extract(epoch from '2026-08-04 17:16: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'), 48166, 'SRID=4674;POINT (-39.377716 -3.122545)', '2026-08-04 17:16:43', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377679 -3.122337)'), GeomFromEWKT('SRID=4674;POINT (-39.377716 -3.122545)'))) / (select extract(epoch from '2026-08-04 17:16:43'::timestamp) - extract(epoch from '2026-08-04 17:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377679 -3.122337)'), GeomFromEWKT('SRID=4674;POINT (-39.377716 -3.122545)'))) / (select extract(epoch from '2026-08-04 17:16:43'::timestamp) - extract(epoch from '2026-08-04 17:16: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'), 48166, 'SRID=4674;POINT (-39.377758 -3.122687)', '2026-08-04 17:16:49', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377716 -3.122545)'), GeomFromEWKT('SRID=4674;POINT (-39.377758 -3.122687)'))) / (select extract(epoch from '2026-08-04 17:16:49'::timestamp) - extract(epoch from '2026-08-04 17:16:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377716 -3.122545)'), GeomFromEWKT('SRID=4674;POINT (-39.377758 -3.122687)'))) / (select extract(epoch from '2026-08-04 17:16:49'::timestamp) - extract(epoch from '2026-08-04 17:16: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'), 48166, 'SRID=4674;POINT (-39.377787 -3.122816)', '2026-08-04 17:16:54', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377758 -3.122687)'), GeomFromEWKT('SRID=4674;POINT (-39.377787 -3.122816)'))) / (select extract(epoch from '2026-08-04 17:16:54'::timestamp) - extract(epoch from '2026-08-04 17:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377758 -3.122687)'), GeomFromEWKT('SRID=4674;POINT (-39.377787 -3.122816)'))) / (select extract(epoch from '2026-08-04 17:16:54'::timestamp) - extract(epoch from '2026-08-04 17:16:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.377824 -3.122956)', '2026-08-04 17:17:00', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377787 -3.122816)'), GeomFromEWKT('SRID=4674;POINT (-39.377824 -3.122956)'))) / (select extract(epoch from '2026-08-04 17:17:00'::timestamp) - extract(epoch from '2026-08-04 17:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377787 -3.122816)'), GeomFromEWKT('SRID=4674;POINT (-39.377824 -3.122956)'))) / (select extract(epoch from '2026-08-04 17:17:00'::timestamp) - extract(epoch from '2026-08-04 17:16: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'), 48166, 'SRID=4674;POINT (-39.377863 -3.12309)', '2026-08-04 17:17:06', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377824 -3.122956)'), GeomFromEWKT('SRID=4674;POINT (-39.377863 -3.12309)'))) / (select extract(epoch from '2026-08-04 17:17:06'::timestamp) - extract(epoch from '2026-08-04 17:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377824 -3.122956)'), GeomFromEWKT('SRID=4674;POINT (-39.377863 -3.12309)'))) / (select extract(epoch from '2026-08-04 17:17:06'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.377883 -3.1232)', '2026-08-04 17:17:11', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377863 -3.12309)'), GeomFromEWKT('SRID=4674;POINT (-39.377883 -3.1232)'))) / (select extract(epoch from '2026-08-04 17:17:11'::timestamp) - extract(epoch from '2026-08-04 17:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377863 -3.12309)'), GeomFromEWKT('SRID=4674;POINT (-39.377883 -3.1232)'))) / (select extract(epoch from '2026-08-04 17:17:11'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.3779 -3.123323)', '2026-08-04 17:17:16', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377883 -3.1232)'), GeomFromEWKT('SRID=4674;POINT (-39.3779 -3.123323)'))) / (select extract(epoch from '2026-08-04 17:17:16'::timestamp) - extract(epoch from '2026-08-04 17:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377883 -3.1232)'), GeomFromEWKT('SRID=4674;POINT (-39.3779 -3.123323)'))) / (select extract(epoch from '2026-08-04 17:17:16'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.377905 -3.123369)', '2026-08-04 17:17:17', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3779 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.377905 -3.123369)'))) / (select extract(epoch from '2026-08-04 17:17:17'::timestamp) - extract(epoch from '2026-08-04 17:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3779 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.377905 -3.123369)'))) / (select extract(epoch from '2026-08-04 17:17:17'::timestamp) - extract(epoch from '2026-08-04 17:17:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.377912 -3.12342)', '2026-08-04 17:17:20', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377905 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.377912 -3.12342)'))) / (select extract(epoch from '2026-08-04 17:17:20'::timestamp) - extract(epoch from '2026-08-04 17:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377905 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.377912 -3.12342)'))) / (select extract(epoch from '2026-08-04 17:17:20'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.377929 -3.123567)', '2026-08-04 17:17:26', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377912 -3.12342)'), GeomFromEWKT('SRID=4674;POINT (-39.377929 -3.123567)'))) / (select extract(epoch from '2026-08-04 17:17:26'::timestamp) - extract(epoch from '2026-08-04 17:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377912 -3.12342)'), GeomFromEWKT('SRID=4674;POINT (-39.377929 -3.123567)'))) / (select extract(epoch from '2026-08-04 17:17:26'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.377953 -3.123687)', '2026-08-04 17:17:31', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377929 -3.123567)'), GeomFromEWKT('SRID=4674;POINT (-39.377953 -3.123687)'))) / (select extract(epoch from '2026-08-04 17:17:31'::timestamp) - extract(epoch from '2026-08-04 17:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377929 -3.123567)'), GeomFromEWKT('SRID=4674;POINT (-39.377953 -3.123687)'))) / (select extract(epoch from '2026-08-04 17:17:31'::timestamp) - extract(epoch from '2026-08-04 17:17:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.377976 -3.123828)', '2026-08-04 17:17:37', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377953 -3.123687)'), GeomFromEWKT('SRID=4674;POINT (-39.377976 -3.123828)'))) / (select extract(epoch from '2026-08-04 17:17:37'::timestamp) - extract(epoch from '2026-08-04 17:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377953 -3.123687)'), GeomFromEWKT('SRID=4674;POINT (-39.377976 -3.123828)'))) / (select extract(epoch from '2026-08-04 17:17:37'::timestamp) - extract(epoch from '2026-08-04 17:17:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.378006 -3.123985)', '2026-08-04 17:17:44', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377976 -3.123828)'), GeomFromEWKT('SRID=4674;POINT (-39.378006 -3.123985)'))) / (select extract(epoch from '2026-08-04 17:17:44'::timestamp) - extract(epoch from '2026-08-04 17:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377976 -3.123828)'), GeomFromEWKT('SRID=4674;POINT (-39.378006 -3.123985)'))) / (select extract(epoch from '2026-08-04 17:17:44'::timestamp) - extract(epoch from '2026-08-04 17:17:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.378037 -3.12413)', '2026-08-04 17:17:50', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378006 -3.123985)'), GeomFromEWKT('SRID=4674;POINT (-39.378037 -3.12413)'))) / (select extract(epoch from '2026-08-04 17:17:50'::timestamp) - extract(epoch from '2026-08-04 17:17:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378006 -3.123985)'), GeomFromEWKT('SRID=4674;POINT (-39.378037 -3.12413)'))) / (select extract(epoch from '2026-08-04 17:17:50'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.378065 -3.124251)', '2026-08-04 17:17:55', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378037 -3.12413)'), GeomFromEWKT('SRID=4674;POINT (-39.378065 -3.124251)'))) / (select extract(epoch from '2026-08-04 17:17:55'::timestamp) - extract(epoch from '2026-08-04 17:17:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378037 -3.12413)'), GeomFromEWKT('SRID=4674;POINT (-39.378065 -3.124251)'))) / (select extract(epoch from '2026-08-04 17:17:55'::timestamp) - extract(epoch from '2026-08-04 17:17:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.378088 -3.12441)', '2026-08-04 17:18:02', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378065 -3.124251)'), GeomFromEWKT('SRID=4674;POINT (-39.378088 -3.12441)'))) / (select extract(epoch from '2026-08-04 17:18:02'::timestamp) - extract(epoch from '2026-08-04 17:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378065 -3.124251)'), GeomFromEWKT('SRID=4674;POINT (-39.378088 -3.12441)'))) / (select extract(epoch from '2026-08-04 17:18:02'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.378122 -3.124527)', '2026-08-04 17:18:07', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378088 -3.12441)'), GeomFromEWKT('SRID=4674;POINT (-39.378122 -3.124527)'))) / (select extract(epoch from '2026-08-04 17:18:07'::timestamp) - extract(epoch from '2026-08-04 17:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378088 -3.12441)'), GeomFromEWKT('SRID=4674;POINT (-39.378122 -3.124527)'))) / (select extract(epoch from '2026-08-04 17:18:07'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.378152 -3.124668)', '2026-08-04 17:18:13', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378122 -3.124527)'), GeomFromEWKT('SRID=4674;POINT (-39.378152 -3.124668)'))) / (select extract(epoch from '2026-08-04 17:18:13'::timestamp) - extract(epoch from '2026-08-04 17:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378122 -3.124527)'), GeomFromEWKT('SRID=4674;POINT (-39.378152 -3.124668)'))) / (select extract(epoch from '2026-08-04 17:18:13'::timestamp) - extract(epoch from '2026-08-04 17:18: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'), 48166, 'SRID=4674;POINT (-39.378166 -3.124782)', '2026-08-04 17:18:18', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378152 -3.124668)'), GeomFromEWKT('SRID=4674;POINT (-39.378166 -3.124782)'))) / (select extract(epoch from '2026-08-04 17:18:18'::timestamp) - extract(epoch from '2026-08-04 17:18:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378152 -3.124668)'), GeomFromEWKT('SRID=4674;POINT (-39.378166 -3.124782)'))) / (select extract(epoch from '2026-08-04 17:18:18'::timestamp) - extract(epoch from '2026-08-04 17:18: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'), 48166, 'SRID=4674;POINT (-39.378191 -3.124903)', '2026-08-04 17:18:23', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378166 -3.124782)'), GeomFromEWKT('SRID=4674;POINT (-39.378191 -3.124903)'))) / (select extract(epoch from '2026-08-04 17:18:23'::timestamp) - extract(epoch from '2026-08-04 17:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378166 -3.124782)'), GeomFromEWKT('SRID=4674;POINT (-39.378191 -3.124903)'))) / (select extract(epoch from '2026-08-04 17:18:23'::timestamp) - extract(epoch from '2026-08-04 17:18:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.378218 -3.125017)', '2026-08-04 17:18:28', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378191 -3.124903)'), GeomFromEWKT('SRID=4674;POINT (-39.378218 -3.125017)'))) / (select extract(epoch from '2026-08-04 17:18:28'::timestamp) - extract(epoch from '2026-08-04 17:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378191 -3.124903)'), GeomFromEWKT('SRID=4674;POINT (-39.378218 -3.125017)'))) / (select extract(epoch from '2026-08-04 17:18:28'::timestamp) - extract(epoch from '2026-08-04 17:18: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'), 48166, 'SRID=4674;POINT (-39.378233 -3.125158)', '2026-08-04 17:18:34', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378218 -3.125017)'), GeomFromEWKT('SRID=4674;POINT (-39.378233 -3.125158)'))) / (select extract(epoch from '2026-08-04 17:18:34'::timestamp) - extract(epoch from '2026-08-04 17:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378218 -3.125017)'), GeomFromEWKT('SRID=4674;POINT (-39.378233 -3.125158)'))) / (select extract(epoch from '2026-08-04 17:18:34'::timestamp) - extract(epoch from '2026-08-04 17:18: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'), 48166, 'SRID=4674;POINT (-39.378264 -3.12532)', '2026-08-04 17:18:41', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378233 -3.125158)'), GeomFromEWKT('SRID=4674;POINT (-39.378264 -3.12532)'))) / (select extract(epoch from '2026-08-04 17:18:41'::timestamp) - extract(epoch from '2026-08-04 17:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378233 -3.125158)'), GeomFromEWKT('SRID=4674;POINT (-39.378264 -3.12532)'))) / (select extract(epoch from '2026-08-04 17:18:41'::timestamp) - extract(epoch from '2026-08-04 17:18: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'), 48166, 'SRID=4674;POINT (-39.378284 -3.125461)', '2026-08-04 17:18:47', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378264 -3.12532)'), GeomFromEWKT('SRID=4674;POINT (-39.378284 -3.125461)'))) / (select extract(epoch from '2026-08-04 17:18:47'::timestamp) - extract(epoch from '2026-08-04 17:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378264 -3.12532)'), GeomFromEWKT('SRID=4674;POINT (-39.378284 -3.125461)'))) / (select extract(epoch from '2026-08-04 17:18:47'::timestamp) - extract(epoch from '2026-08-04 17:18: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'), 48166, 'SRID=4674;POINT (-39.378317 -3.125589)', '2026-08-04 17:18:53', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378284 -3.125461)'), GeomFromEWKT('SRID=4674;POINT (-39.378317 -3.125589)'))) / (select extract(epoch from '2026-08-04 17:18:53'::timestamp) - extract(epoch from '2026-08-04 17:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378284 -3.125461)'), GeomFromEWKT('SRID=4674;POINT (-39.378317 -3.125589)'))) / (select extract(epoch from '2026-08-04 17:18:53'::timestamp) - extract(epoch from '2026-08-04 17:18:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.378342 -3.125682)', '2026-08-04 17:18:57', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378317 -3.125589)'), GeomFromEWKT('SRID=4674;POINT (-39.378342 -3.125682)'))) / (select extract(epoch from '2026-08-04 17:18:57'::timestamp) - extract(epoch from '2026-08-04 17:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378317 -3.125589)'), GeomFromEWKT('SRID=4674;POINT (-39.378342 -3.125682)'))) / (select extract(epoch from '2026-08-04 17:18:57'::timestamp) - extract(epoch from '2026-08-04 17:18:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.378367 -3.125778)', '2026-08-04 17:19:01', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378342 -3.125682)'), GeomFromEWKT('SRID=4674;POINT (-39.378367 -3.125778)'))) / (select extract(epoch from '2026-08-04 17:19:01'::timestamp) - extract(epoch from '2026-08-04 17:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378342 -3.125682)'), GeomFromEWKT('SRID=4674;POINT (-39.378367 -3.125778)'))) / (select extract(epoch from '2026-08-04 17:19:01'::timestamp) - extract(epoch from '2026-08-04 17:18:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.378382 -3.125885)', '2026-08-04 17:19:06', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378367 -3.125778)'), GeomFromEWKT('SRID=4674;POINT (-39.378382 -3.125885)'))) / (select extract(epoch from '2026-08-04 17:19:06'::timestamp) - extract(epoch from '2026-08-04 17:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378367 -3.125778)'), GeomFromEWKT('SRID=4674;POINT (-39.378382 -3.125885)'))) / (select extract(epoch from '2026-08-04 17:19:06'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.378399 -3.126006)', '2026-08-04 17:19:12', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378382 -3.125885)'), GeomFromEWKT('SRID=4674;POINT (-39.378399 -3.126006)'))) / (select extract(epoch from '2026-08-04 17:19:12'::timestamp) - extract(epoch from '2026-08-04 17:19:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378382 -3.125885)'), GeomFromEWKT('SRID=4674;POINT (-39.378399 -3.126006)'))) / (select extract(epoch from '2026-08-04 17:19:12'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.378413 -3.126145)', '2026-08-04 17:19:18', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378399 -3.126006)'), GeomFromEWKT('SRID=4674;POINT (-39.378413 -3.126145)'))) / (select extract(epoch from '2026-08-04 17:19:18'::timestamp) - extract(epoch from '2026-08-04 17:19:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378399 -3.126006)'), GeomFromEWKT('SRID=4674;POINT (-39.378413 -3.126145)'))) / (select extract(epoch from '2026-08-04 17:19:18'::timestamp) - extract(epoch from '2026-08-04 17:19: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'), 48166, 'SRID=4674;POINT (-39.378447 -3.126301)', '2026-08-04 17:19:25', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378413 -3.126145)'), GeomFromEWKT('SRID=4674;POINT (-39.378447 -3.126301)'))) / (select extract(epoch from '2026-08-04 17:19:25'::timestamp) - extract(epoch from '2026-08-04 17:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378413 -3.126145)'), GeomFromEWKT('SRID=4674;POINT (-39.378447 -3.126301)'))) / (select extract(epoch from '2026-08-04 17:19:25'::timestamp) - extract(epoch from '2026-08-04 17:19: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'), 48166, 'SRID=4674;POINT (-39.378488 -3.126471)', '2026-08-04 17:19:32', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378447 -3.126301)'), GeomFromEWKT('SRID=4674;POINT (-39.378488 -3.126471)'))) / (select extract(epoch from '2026-08-04 17:19:32'::timestamp) - extract(epoch from '2026-08-04 17:19:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378447 -3.126301)'), GeomFromEWKT('SRID=4674;POINT (-39.378488 -3.126471)'))) / (select extract(epoch from '2026-08-04 17:19:32'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.378513 -3.126617)', '2026-08-04 17:19:38', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378488 -3.126471)'), GeomFromEWKT('SRID=4674;POINT (-39.378513 -3.126617)'))) / (select extract(epoch from '2026-08-04 17:19:38'::timestamp) - extract(epoch from '2026-08-04 17:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378488 -3.126471)'), GeomFromEWKT('SRID=4674;POINT (-39.378513 -3.126617)'))) / (select extract(epoch from '2026-08-04 17:19:38'::timestamp) - extract(epoch from '2026-08-04 17:19:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.378543 -3.126757)', '2026-08-04 17:19:44', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378513 -3.126617)'), GeomFromEWKT('SRID=4674;POINT (-39.378543 -3.126757)'))) / (select extract(epoch from '2026-08-04 17:19:44'::timestamp) - extract(epoch from '2026-08-04 17:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378513 -3.126617)'), GeomFromEWKT('SRID=4674;POINT (-39.378543 -3.126757)'))) / (select extract(epoch from '2026-08-04 17:19:44'::timestamp) - extract(epoch from '2026-08-04 17:19:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.378569 -3.126873)', '2026-08-04 17:19:49', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378543 -3.126757)'), GeomFromEWKT('SRID=4674;POINT (-39.378569 -3.126873)'))) / (select extract(epoch from '2026-08-04 17:19:49'::timestamp) - extract(epoch from '2026-08-04 17:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378543 -3.126757)'), GeomFromEWKT('SRID=4674;POINT (-39.378569 -3.126873)'))) / (select extract(epoch from '2026-08-04 17:19:49'::timestamp) - extract(epoch from '2026-08-04 17:19: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'), 48166, 'SRID=4674;POINT (-39.378598 -3.127048)', '2026-08-04 17:19:57', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378569 -3.126873)'), GeomFromEWKT('SRID=4674;POINT (-39.378598 -3.127048)'))) / (select extract(epoch from '2026-08-04 17:19:57'::timestamp) - extract(epoch from '2026-08-04 17:19:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378569 -3.126873)'), GeomFromEWKT('SRID=4674;POINT (-39.378598 -3.127048)'))) / (select extract(epoch from '2026-08-04 17:19:57'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.378621 -3.127199)', '2026-08-04 17:20:03', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378598 -3.127048)'), GeomFromEWKT('SRID=4674;POINT (-39.378621 -3.127199)'))) / (select extract(epoch from '2026-08-04 17:20:03'::timestamp) - extract(epoch from '2026-08-04 17:19:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378598 -3.127048)'), GeomFromEWKT('SRID=4674;POINT (-39.378621 -3.127199)'))) / (select extract(epoch from '2026-08-04 17:20:03'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.37863 -3.127318)', '2026-08-04 17:20:08', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378621 -3.127199)'), GeomFromEWKT('SRID=4674;POINT (-39.37863 -3.127318)'))) / (select extract(epoch from '2026-08-04 17:20:08'::timestamp) - extract(epoch from '2026-08-04 17:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378621 -3.127199)'), GeomFromEWKT('SRID=4674;POINT (-39.37863 -3.127318)'))) / (select extract(epoch from '2026-08-04 17:20:08'::timestamp) - extract(epoch from '2026-08-04 17:20: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'), 48166, 'SRID=4674;POINT (-39.378654 -3.12744)', '2026-08-04 17:20:13', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37863 -3.127318)'), GeomFromEWKT('SRID=4674;POINT (-39.378654 -3.12744)'))) / (select extract(epoch from '2026-08-04 17:20:13'::timestamp) - extract(epoch from '2026-08-04 17:20:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37863 -3.127318)'), GeomFromEWKT('SRID=4674;POINT (-39.378654 -3.12744)'))) / (select extract(epoch from '2026-08-04 17:20:13'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.378698 -3.127569)', '2026-08-04 17:20:19', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378654 -3.12744)'), GeomFromEWKT('SRID=4674;POINT (-39.378698 -3.127569)'))) / (select extract(epoch from '2026-08-04 17:20:19'::timestamp) - extract(epoch from '2026-08-04 17:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378654 -3.12744)'), GeomFromEWKT('SRID=4674;POINT (-39.378698 -3.127569)'))) / (select extract(epoch from '2026-08-04 17:20:19'::timestamp) - extract(epoch from '2026-08-04 17:20: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'), 48166, 'SRID=4674;POINT (-39.37873 -3.12771)', '2026-08-04 17:20:25', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378698 -3.127569)'), GeomFromEWKT('SRID=4674;POINT (-39.37873 -3.12771)'))) / (select extract(epoch from '2026-08-04 17:20:25'::timestamp) - extract(epoch from '2026-08-04 17:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378698 -3.127569)'), GeomFromEWKT('SRID=4674;POINT (-39.37873 -3.12771)'))) / (select extract(epoch from '2026-08-04 17:20:25'::timestamp) - extract(epoch from '2026-08-04 17:20: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'), 48166, 'SRID=4674;POINT (-39.378734 -3.127855)', '2026-08-04 17:20:31', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37873 -3.12771)'), GeomFromEWKT('SRID=4674;POINT (-39.378734 -3.127855)'))) / (select extract(epoch from '2026-08-04 17:20:31'::timestamp) - extract(epoch from '2026-08-04 17:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37873 -3.12771)'), GeomFromEWKT('SRID=4674;POINT (-39.378734 -3.127855)'))) / (select extract(epoch from '2026-08-04 17:20:31'::timestamp) - extract(epoch from '2026-08-04 17:20: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'), 48166, 'SRID=4674;POINT (-39.378753 -3.128041)', '2026-08-04 17:20:39', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378734 -3.127855)'), GeomFromEWKT('SRID=4674;POINT (-39.378753 -3.128041)'))) / (select extract(epoch from '2026-08-04 17:20:39'::timestamp) - extract(epoch from '2026-08-04 17:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378734 -3.127855)'), GeomFromEWKT('SRID=4674;POINT (-39.378753 -3.128041)'))) / (select extract(epoch from '2026-08-04 17:20:39'::timestamp) - extract(epoch from '2026-08-04 17:20: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'), 48166, 'SRID=4674;POINT (-39.378783 -3.128169)', '2026-08-04 17:20:45', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378753 -3.128041)'), GeomFromEWKT('SRID=4674;POINT (-39.378783 -3.128169)'))) / (select extract(epoch from '2026-08-04 17:20:45'::timestamp) - extract(epoch from '2026-08-04 17:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378753 -3.128041)'), GeomFromEWKT('SRID=4674;POINT (-39.378783 -3.128169)'))) / (select extract(epoch from '2026-08-04 17:20:45'::timestamp) - extract(epoch from '2026-08-04 17:20:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.378809 -3.128299)', '2026-08-04 17:20:51', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378783 -3.128169)'), GeomFromEWKT('SRID=4674;POINT (-39.378809 -3.128299)'))) / (select extract(epoch from '2026-08-04 17:20:51'::timestamp) - extract(epoch from '2026-08-04 17:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378783 -3.128169)'), GeomFromEWKT('SRID=4674;POINT (-39.378809 -3.128299)'))) / (select extract(epoch from '2026-08-04 17:20:51'::timestamp) - extract(epoch from '2026-08-04 17:20:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.378845 -3.128446)', '2026-08-04 17:20:57', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378809 -3.128299)'), GeomFromEWKT('SRID=4674;POINT (-39.378845 -3.128446)'))) / (select extract(epoch from '2026-08-04 17:20:57'::timestamp) - extract(epoch from '2026-08-04 17:20:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378809 -3.128299)'), GeomFromEWKT('SRID=4674;POINT (-39.378845 -3.128446)'))) / (select extract(epoch from '2026-08-04 17:20:57'::timestamp) - extract(epoch from '2026-08-04 17:20:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.378862 -3.128588)', '2026-08-04 17:21:03', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378845 -3.128446)'), GeomFromEWKT('SRID=4674;POINT (-39.378862 -3.128588)'))) / (select extract(epoch from '2026-08-04 17:21:03'::timestamp) - extract(epoch from '2026-08-04 17:20:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378845 -3.128446)'), GeomFromEWKT('SRID=4674;POINT (-39.378862 -3.128588)'))) / (select extract(epoch from '2026-08-04 17:21:03'::timestamp) - extract(epoch from '2026-08-04 17:20:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.378891 -3.128732)', '2026-08-04 17:21:09', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378862 -3.128588)'), GeomFromEWKT('SRID=4674;POINT (-39.378891 -3.128732)'))) / (select extract(epoch from '2026-08-04 17:21:09'::timestamp) - extract(epoch from '2026-08-04 17:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378862 -3.128588)'), GeomFromEWKT('SRID=4674;POINT (-39.378891 -3.128732)'))) / (select extract(epoch from '2026-08-04 17:21:09'::timestamp) - extract(epoch from '2026-08-04 17:21:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.378911 -3.128847)', '2026-08-04 17:21:14', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378891 -3.128732)'), GeomFromEWKT('SRID=4674;POINT (-39.378911 -3.128847)'))) / (select extract(epoch from '2026-08-04 17:21:14'::timestamp) - extract(epoch from '2026-08-04 17:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378891 -3.128732)'), GeomFromEWKT('SRID=4674;POINT (-39.378911 -3.128847)'))) / (select extract(epoch from '2026-08-04 17:21:14'::timestamp) - extract(epoch from '2026-08-04 17:21:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.378928 -3.128965)', '2026-08-04 17:21:19', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378911 -3.128847)'), GeomFromEWKT('SRID=4674;POINT (-39.378928 -3.128965)'))) / (select extract(epoch from '2026-08-04 17:21:19'::timestamp) - extract(epoch from '2026-08-04 17:21:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378911 -3.128847)'), GeomFromEWKT('SRID=4674;POINT (-39.378928 -3.128965)'))) / (select extract(epoch from '2026-08-04 17:21:19'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.378946 -3.129102)', '2026-08-04 17:21:25', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378928 -3.128965)'), GeomFromEWKT('SRID=4674;POINT (-39.378946 -3.129102)'))) / (select extract(epoch from '2026-08-04 17:21:25'::timestamp) - extract(epoch from '2026-08-04 17:21:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378928 -3.128965)'), GeomFromEWKT('SRID=4674;POINT (-39.378946 -3.129102)'))) / (select extract(epoch from '2026-08-04 17:21:25'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.378958 -3.129228)', '2026-08-04 17:21:30', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378946 -3.129102)'), GeomFromEWKT('SRID=4674;POINT (-39.378958 -3.129228)'))) / (select extract(epoch from '2026-08-04 17:21:30'::timestamp) - extract(epoch from '2026-08-04 17:21:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378946 -3.129102)'), GeomFromEWKT('SRID=4674;POINT (-39.378958 -3.129228)'))) / (select extract(epoch from '2026-08-04 17:21:30'::timestamp) - extract(epoch from '2026-08-04 17:21:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.378965 -3.12937)', '2026-08-04 17:21:36', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378958 -3.129228)'), GeomFromEWKT('SRID=4674;POINT (-39.378965 -3.12937)'))) / (select extract(epoch from '2026-08-04 17:21:36'::timestamp) - extract(epoch from '2026-08-04 17:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378958 -3.129228)'), GeomFromEWKT('SRID=4674;POINT (-39.378965 -3.12937)'))) / (select extract(epoch from '2026-08-04 17:21:36'::timestamp) - extract(epoch from '2026-08-04 17:21: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'), 48166, 'SRID=4674;POINT (-39.378973 -3.129491)', '2026-08-04 17:21:41', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378965 -3.12937)'), GeomFromEWKT('SRID=4674;POINT (-39.378973 -3.129491)'))) / (select extract(epoch from '2026-08-04 17:21:41'::timestamp) - extract(epoch from '2026-08-04 17:21:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378965 -3.12937)'), GeomFromEWKT('SRID=4674;POINT (-39.378973 -3.129491)'))) / (select extract(epoch from '2026-08-04 17:21:41'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.379014 -3.129636)', '2026-08-04 17:21:47', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378973 -3.129491)'), GeomFromEWKT('SRID=4674;POINT (-39.379014 -3.129636)'))) / (select extract(epoch from '2026-08-04 17:21:47'::timestamp) - extract(epoch from '2026-08-04 17:21:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378973 -3.129491)'), GeomFromEWKT('SRID=4674;POINT (-39.379014 -3.129636)'))) / (select extract(epoch from '2026-08-04 17:21:47'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.379044 -3.129753)', '2026-08-04 17:21:52', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379014 -3.129636)'), GeomFromEWKT('SRID=4674;POINT (-39.379044 -3.129753)'))) / (select extract(epoch from '2026-08-04 17:21:52'::timestamp) - extract(epoch from '2026-08-04 17:21:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379014 -3.129636)'), GeomFromEWKT('SRID=4674;POINT (-39.379044 -3.129753)'))) / (select extract(epoch from '2026-08-04 17:21:52'::timestamp) - extract(epoch from '2026-08-04 17:21: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'), 48166, 'SRID=4674;POINT (-39.379081 -3.129865)', '2026-08-04 17:21:57', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379044 -3.129753)'), GeomFromEWKT('SRID=4674;POINT (-39.379081 -3.129865)'))) / (select extract(epoch from '2026-08-04 17:21:57'::timestamp) - extract(epoch from '2026-08-04 17:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379044 -3.129753)'), GeomFromEWKT('SRID=4674;POINT (-39.379081 -3.129865)'))) / (select extract(epoch from '2026-08-04 17:21:57'::timestamp) - extract(epoch from '2026-08-04 17:21:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.379098 -3.129979)', '2026-08-04 17:22:02', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379081 -3.129865)'), GeomFromEWKT('SRID=4674;POINT (-39.379098 -3.129979)'))) / (select extract(epoch from '2026-08-04 17:22:02'::timestamp) - extract(epoch from '2026-08-04 17:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379081 -3.129865)'), GeomFromEWKT('SRID=4674;POINT (-39.379098 -3.129979)'))) / (select extract(epoch from '2026-08-04 17:22:02'::timestamp) - extract(epoch from '2026-08-04 17:21:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.379116 -3.130089)', '2026-08-04 17:22:07', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379098 -3.129979)'), GeomFromEWKT('SRID=4674;POINT (-39.379116 -3.130089)'))) / (select extract(epoch from '2026-08-04 17:22:07'::timestamp) - extract(epoch from '2026-08-04 17:22:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379098 -3.129979)'), GeomFromEWKT('SRID=4674;POINT (-39.379116 -3.130089)'))) / (select extract(epoch from '2026-08-04 17:22:07'::timestamp) - extract(epoch from '2026-08-04 17:22: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'), 48166, 'SRID=4674;POINT (-39.37914 -3.130198)', '2026-08-04 17:22:12', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379116 -3.130089)'), GeomFromEWKT('SRID=4674;POINT (-39.37914 -3.130198)'))) / (select extract(epoch from '2026-08-04 17:22:12'::timestamp) - extract(epoch from '2026-08-04 17:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379116 -3.130089)'), GeomFromEWKT('SRID=4674;POINT (-39.37914 -3.130198)'))) / (select extract(epoch from '2026-08-04 17:22:12'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.379157 -3.130384)', '2026-08-04 17:22:20', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37914 -3.130198)'), GeomFromEWKT('SRID=4674;POINT (-39.379157 -3.130384)'))) / (select extract(epoch from '2026-08-04 17:22:20'::timestamp) - extract(epoch from '2026-08-04 17:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37914 -3.130198)'), GeomFromEWKT('SRID=4674;POINT (-39.379157 -3.130384)'))) / (select extract(epoch from '2026-08-04 17:22:20'::timestamp) - extract(epoch from '2026-08-04 17:22: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'), 48166, 'SRID=4674;POINT (-39.379179 -3.130551)', '2026-08-04 17:22:27', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379157 -3.130384)'), GeomFromEWKT('SRID=4674;POINT (-39.379179 -3.130551)'))) / (select extract(epoch from '2026-08-04 17:22:27'::timestamp) - extract(epoch from '2026-08-04 17:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379157 -3.130384)'), GeomFromEWKT('SRID=4674;POINT (-39.379179 -3.130551)'))) / (select extract(epoch from '2026-08-04 17:22:27'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.379222 -3.130699)', '2026-08-04 17:22:33', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379179 -3.130551)'), GeomFromEWKT('SRID=4674;POINT (-39.379222 -3.130699)'))) / (select extract(epoch from '2026-08-04 17:22:33'::timestamp) - extract(epoch from '2026-08-04 17:22:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379179 -3.130551)'), GeomFromEWKT('SRID=4674;POINT (-39.379222 -3.130699)'))) / (select extract(epoch from '2026-08-04 17:22:33'::timestamp) - extract(epoch from '2026-08-04 17:22: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'), 48166, 'SRID=4674;POINT (-39.379252 -3.130839)', '2026-08-04 17:22:39', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379222 -3.130699)'), GeomFromEWKT('SRID=4674;POINT (-39.379252 -3.130839)'))) / (select extract(epoch from '2026-08-04 17:22:39'::timestamp) - extract(epoch from '2026-08-04 17:22:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379222 -3.130699)'), GeomFromEWKT('SRID=4674;POINT (-39.379252 -3.130839)'))) / (select extract(epoch from '2026-08-04 17:22:39'::timestamp) - extract(epoch from '2026-08-04 17:22: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'), 48166, 'SRID=4674;POINT (-39.379253 -3.13091)', '2026-08-04 17:22:42', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379252 -3.130839)'), GeomFromEWKT('SRID=4674;POINT (-39.379253 -3.13091)'))) / (select extract(epoch from '2026-08-04 17:22:42'::timestamp) - extract(epoch from '2026-08-04 17:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379252 -3.130839)'), GeomFromEWKT('SRID=4674;POINT (-39.379253 -3.13091)'))) / (select extract(epoch from '2026-08-04 17:22:42'::timestamp) - extract(epoch from '2026-08-04 17:22: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'), 48166, 'SRID=4674;POINT (-39.379257 -3.130934)', '2026-08-04 17:22:43', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379253 -3.13091)'), GeomFromEWKT('SRID=4674;POINT (-39.379257 -3.130934)'))) / (select extract(epoch from '2026-08-04 17:22:43'::timestamp) - extract(epoch from '2026-08-04 17:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379253 -3.13091)'), GeomFromEWKT('SRID=4674;POINT (-39.379257 -3.130934)'))) / (select extract(epoch from '2026-08-04 17:22:43'::timestamp) - extract(epoch from '2026-08-04 17:22:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.379281 -3.131079)', '2026-08-04 17:22:49', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379257 -3.130934)'), GeomFromEWKT('SRID=4674;POINT (-39.379281 -3.131079)'))) / (select extract(epoch from '2026-08-04 17:22:49'::timestamp) - extract(epoch from '2026-08-04 17:22:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379257 -3.130934)'), GeomFromEWKT('SRID=4674;POINT (-39.379281 -3.131079)'))) / (select extract(epoch from '2026-08-04 17:22:49'::timestamp) - extract(epoch from '2026-08-04 17:22:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.37929 -3.131169)', '2026-08-04 17:22:53', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379281 -3.131079)'), GeomFromEWKT('SRID=4674;POINT (-39.37929 -3.131169)'))) / (select extract(epoch from '2026-08-04 17:22:53'::timestamp) - extract(epoch from '2026-08-04 17:22:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379281 -3.131079)'), GeomFromEWKT('SRID=4674;POINT (-39.37929 -3.131169)'))) / (select extract(epoch from '2026-08-04 17:22:53'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.379312 -3.131216)', '2026-08-04 17:22:54', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37929 -3.131169)'), GeomFromEWKT('SRID=4674;POINT (-39.379312 -3.131216)'))) / (select extract(epoch from '2026-08-04 17:22:54'::timestamp) - extract(epoch from '2026-08-04 17:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37929 -3.131169)'), GeomFromEWKT('SRID=4674;POINT (-39.379312 -3.131216)'))) / (select extract(epoch from '2026-08-04 17:22:54'::timestamp) - extract(epoch from '2026-08-04 17:22: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'), 48166, 'SRID=4674;POINT (-39.379324 -3.131305)', '2026-08-04 17:22:59', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379312 -3.131216)'), GeomFromEWKT('SRID=4674;POINT (-39.379324 -3.131305)'))) / (select extract(epoch from '2026-08-04 17:22:59'::timestamp) - extract(epoch from '2026-08-04 17:22:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379312 -3.131216)'), GeomFromEWKT('SRID=4674;POINT (-39.379324 -3.131305)'))) / (select extract(epoch from '2026-08-04 17:22:59'::timestamp) - extract(epoch from '2026-08-04 17:22: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'), 48166, 'SRID=4674;POINT (-39.379321 -3.131452)', '2026-08-04 17:23:05', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379324 -3.131305)'), GeomFromEWKT('SRID=4674;POINT (-39.379321 -3.131452)'))) / (select extract(epoch from '2026-08-04 17:23:05'::timestamp) - extract(epoch from '2026-08-04 17:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379324 -3.131305)'), GeomFromEWKT('SRID=4674;POINT (-39.379321 -3.131452)'))) / (select extract(epoch from '2026-08-04 17:23:05'::timestamp) - extract(epoch from '2026-08-04 17:22: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'), 48166, 'SRID=4674;POINT (-39.379332 -3.131569)', '2026-08-04 17:23:10', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379321 -3.131452)'), GeomFromEWKT('SRID=4674;POINT (-39.379332 -3.131569)'))) / (select extract(epoch from '2026-08-04 17:23:10'::timestamp) - extract(epoch from '2026-08-04 17:23:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379321 -3.131452)'), GeomFromEWKT('SRID=4674;POINT (-39.379332 -3.131569)'))) / (select extract(epoch from '2026-08-04 17:23:10'::timestamp) - extract(epoch from '2026-08-04 17:23: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'), 48166, 'SRID=4674;POINT (-39.379353 -3.131669)', '2026-08-04 17:23:14', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379332 -3.131569)'), GeomFromEWKT('SRID=4674;POINT (-39.379353 -3.131669)'))) / (select extract(epoch from '2026-08-04 17:23:14'::timestamp) - extract(epoch from '2026-08-04 17:23:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379332 -3.131569)'), GeomFromEWKT('SRID=4674;POINT (-39.379353 -3.131669)'))) / (select extract(epoch from '2026-08-04 17:23:14'::timestamp) - extract(epoch from '2026-08-04 17:23:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.379359 -3.131791)', '2026-08-04 17:23:19', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379353 -3.131669)'), GeomFromEWKT('SRID=4674;POINT (-39.379359 -3.131791)'))) / (select extract(epoch from '2026-08-04 17:23:19'::timestamp) - extract(epoch from '2026-08-04 17:23:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379353 -3.131669)'), GeomFromEWKT('SRID=4674;POINT (-39.379359 -3.131791)'))) / (select extract(epoch from '2026-08-04 17:23:19'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.379371 -3.131985)', '2026-08-04 17:23:27', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379359 -3.131791)'), GeomFromEWKT('SRID=4674;POINT (-39.379371 -3.131985)'))) / (select extract(epoch from '2026-08-04 17:23:27'::timestamp) - extract(epoch from '2026-08-04 17:23:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379359 -3.131791)'), GeomFromEWKT('SRID=4674;POINT (-39.379371 -3.131985)'))) / (select extract(epoch from '2026-08-04 17:23:27'::timestamp) - extract(epoch from '2026-08-04 17:23:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.37938 -3.132138)', '2026-08-04 17:23:33', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379371 -3.131985)'), GeomFromEWKT('SRID=4674;POINT (-39.37938 -3.132138)'))) / (select extract(epoch from '2026-08-04 17:23:33'::timestamp) - extract(epoch from '2026-08-04 17:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379371 -3.131985)'), GeomFromEWKT('SRID=4674;POINT (-39.37938 -3.132138)'))) / (select extract(epoch from '2026-08-04 17:23:33'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.379397 -3.132255)', '2026-08-04 17:23:38', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37938 -3.132138)'), GeomFromEWKT('SRID=4674;POINT (-39.379397 -3.132255)'))) / (select extract(epoch from '2026-08-04 17:23:38'::timestamp) - extract(epoch from '2026-08-04 17:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37938 -3.132138)'), GeomFromEWKT('SRID=4674;POINT (-39.379397 -3.132255)'))) / (select extract(epoch from '2026-08-04 17:23:38'::timestamp) - extract(epoch from '2026-08-04 17:23:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.379413 -3.132369)', '2026-08-04 17:23:43', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379397 -3.132255)'), GeomFromEWKT('SRID=4674;POINT (-39.379413 -3.132369)'))) / (select extract(epoch from '2026-08-04 17:23:43'::timestamp) - extract(epoch from '2026-08-04 17:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379397 -3.132255)'), GeomFromEWKT('SRID=4674;POINT (-39.379413 -3.132369)'))) / (select extract(epoch from '2026-08-04 17:23:43'::timestamp) - extract(epoch from '2026-08-04 17:23: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'), 48166, 'SRID=4674;POINT (-39.379447 -3.132477)', '2026-08-04 17:23:48', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379413 -3.132369)'), GeomFromEWKT('SRID=4674;POINT (-39.379447 -3.132477)'))) / (select extract(epoch from '2026-08-04 17:23:48'::timestamp) - extract(epoch from '2026-08-04 17:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379413 -3.132369)'), GeomFromEWKT('SRID=4674;POINT (-39.379447 -3.132477)'))) / (select extract(epoch from '2026-08-04 17:23:48'::timestamp) - extract(epoch from '2026-08-04 17:23: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'), 48166, 'SRID=4674;POINT (-39.379472 -3.132616)', '2026-08-04 17:23:54', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379447 -3.132477)'), GeomFromEWKT('SRID=4674;POINT (-39.379472 -3.132616)'))) / (select extract(epoch from '2026-08-04 17:23:54'::timestamp) - extract(epoch from '2026-08-04 17:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379447 -3.132477)'), GeomFromEWKT('SRID=4674;POINT (-39.379472 -3.132616)'))) / (select extract(epoch from '2026-08-04 17:23:54'::timestamp) - extract(epoch from '2026-08-04 17:23: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'), 48166, 'SRID=4674;POINT (-39.379498 -3.132784)', '2026-08-04 17:24:01', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379472 -3.132616)'), GeomFromEWKT('SRID=4674;POINT (-39.379498 -3.132784)'))) / (select extract(epoch from '2026-08-04 17:24:01'::timestamp) - extract(epoch from '2026-08-04 17:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379472 -3.132616)'), GeomFromEWKT('SRID=4674;POINT (-39.379498 -3.132784)'))) / (select extract(epoch from '2026-08-04 17:24:01'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.37952 -3.132899)', '2026-08-04 17:24:06', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379498 -3.132784)'), GeomFromEWKT('SRID=4674;POINT (-39.37952 -3.132899)'))) / (select extract(epoch from '2026-08-04 17:24:06'::timestamp) - extract(epoch from '2026-08-04 17:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379498 -3.132784)'), GeomFromEWKT('SRID=4674;POINT (-39.37952 -3.132899)'))) / (select extract(epoch from '2026-08-04 17:24:06'::timestamp) - extract(epoch from '2026-08-04 17:24: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'), 48166, 'SRID=4674;POINT (-39.379536 -3.132996)', '2026-08-04 17:24:10', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37952 -3.132899)'), GeomFromEWKT('SRID=4674;POINT (-39.379536 -3.132996)'))) / (select extract(epoch from '2026-08-04 17:24:10'::timestamp) - extract(epoch from '2026-08-04 17:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37952 -3.132899)'), GeomFromEWKT('SRID=4674;POINT (-39.379536 -3.132996)'))) / (select extract(epoch from '2026-08-04 17:24:10'::timestamp) - extract(epoch from '2026-08-04 17:24: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'), 48166, 'SRID=4674;POINT (-39.379549 -3.133092)', '2026-08-04 17:24:14', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379536 -3.132996)'), GeomFromEWKT('SRID=4674;POINT (-39.379549 -3.133092)'))) / (select extract(epoch from '2026-08-04 17:24:14'::timestamp) - extract(epoch from '2026-08-04 17:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379536 -3.132996)'), GeomFromEWKT('SRID=4674;POINT (-39.379549 -3.133092)'))) / (select extract(epoch from '2026-08-04 17:24:14'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.379548 -3.13323)', '2026-08-04 17:24:20', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379549 -3.133092)'), GeomFromEWKT('SRID=4674;POINT (-39.379548 -3.13323)'))) / (select extract(epoch from '2026-08-04 17:24:20'::timestamp) - extract(epoch from '2026-08-04 17:24:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379549 -3.133092)'), GeomFromEWKT('SRID=4674;POINT (-39.379548 -3.13323)'))) / (select extract(epoch from '2026-08-04 17:24:20'::timestamp) - extract(epoch from '2026-08-04 17:24: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'), 48166, 'SRID=4674;POINT (-39.379576 -3.133354)', '2026-08-04 17:24:25', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379548 -3.13323)'), GeomFromEWKT('SRID=4674;POINT (-39.379576 -3.133354)'))) / (select extract(epoch from '2026-08-04 17:24:25'::timestamp) - extract(epoch from '2026-08-04 17:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379548 -3.13323)'), GeomFromEWKT('SRID=4674;POINT (-39.379576 -3.133354)'))) / (select extract(epoch from '2026-08-04 17:24:25'::timestamp) - extract(epoch from '2026-08-04 17:24: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'), 48166, 'SRID=4674;POINT (-39.379586 -3.133442)', '2026-08-04 17:24:29', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379576 -3.133354)'), GeomFromEWKT('SRID=4674;POINT (-39.379586 -3.133442)'))) / (select extract(epoch from '2026-08-04 17:24:29'::timestamp) - extract(epoch from '2026-08-04 17:24:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379576 -3.133354)'), GeomFromEWKT('SRID=4674;POINT (-39.379586 -3.133442)'))) / (select extract(epoch from '2026-08-04 17:24:29'::timestamp) - extract(epoch from '2026-08-04 17:24: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'), 48166, 'SRID=4674;POINT (-39.379612 -3.133534)', '2026-08-04 17:24:33', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379586 -3.133442)'), GeomFromEWKT('SRID=4674;POINT (-39.379612 -3.133534)'))) / (select extract(epoch from '2026-08-04 17:24:33'::timestamp) - extract(epoch from '2026-08-04 17:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379586 -3.133442)'), GeomFromEWKT('SRID=4674;POINT (-39.379612 -3.133534)'))) / (select extract(epoch from '2026-08-04 17:24:33'::timestamp) - extract(epoch from '2026-08-04 17:24: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'), 48166, 'SRID=4674;POINT (-39.379616 -3.133557)', '2026-08-04 17:24:34', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379612 -3.133534)'), GeomFromEWKT('SRID=4674;POINT (-39.379616 -3.133557)'))) / (select extract(epoch from '2026-08-04 17:24:34'::timestamp) - extract(epoch from '2026-08-04 17:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379612 -3.133534)'), GeomFromEWKT('SRID=4674;POINT (-39.379616 -3.133557)'))) / (select extract(epoch from '2026-08-04 17:24:34'::timestamp) - extract(epoch from '2026-08-04 17:24: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'), 48166, 'SRID=4674;POINT (-39.379641 -3.133674)', '2026-08-04 17:24:39', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379616 -3.133557)'), GeomFromEWKT('SRID=4674;POINT (-39.379641 -3.133674)'))) / (select extract(epoch from '2026-08-04 17:24:39'::timestamp) - extract(epoch from '2026-08-04 17:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379616 -3.133557)'), GeomFromEWKT('SRID=4674;POINT (-39.379641 -3.133674)'))) / (select extract(epoch from '2026-08-04 17:24:39'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.379666 -3.133812)', '2026-08-04 17:24:45', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379641 -3.133674)'), GeomFromEWKT('SRID=4674;POINT (-39.379666 -3.133812)'))) / (select extract(epoch from '2026-08-04 17:24:45'::timestamp) - extract(epoch from '2026-08-04 17:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379641 -3.133674)'), GeomFromEWKT('SRID=4674;POINT (-39.379666 -3.133812)'))) / (select extract(epoch from '2026-08-04 17:24:45'::timestamp) - extract(epoch from '2026-08-04 17:24:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.379698 -3.133936)', '2026-08-04 17:24:50', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379666 -3.133812)'), GeomFromEWKT('SRID=4674;POINT (-39.379698 -3.133936)'))) / (select extract(epoch from '2026-08-04 17:24:50'::timestamp) - extract(epoch from '2026-08-04 17:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379666 -3.133812)'), GeomFromEWKT('SRID=4674;POINT (-39.379698 -3.133936)'))) / (select extract(epoch from '2026-08-04 17:24:50'::timestamp) - extract(epoch from '2026-08-04 17:24: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'), 48166, 'SRID=4674;POINT (-39.379722 -3.134065)', '2026-08-04 17:24:56', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379698 -3.133936)'), GeomFromEWKT('SRID=4674;POINT (-39.379722 -3.134065)'))) / (select extract(epoch from '2026-08-04 17:24:56'::timestamp) - extract(epoch from '2026-08-04 17:24:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379698 -3.133936)'), GeomFromEWKT('SRID=4674;POINT (-39.379722 -3.134065)'))) / (select extract(epoch from '2026-08-04 17:24:56'::timestamp) - extract(epoch from '2026-08-04 17:24: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'), 48166, 'SRID=4674;POINT (-39.37975 -3.13421)', '2026-08-04 17:25:02', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379722 -3.134065)'), GeomFromEWKT('SRID=4674;POINT (-39.37975 -3.13421)'))) / (select extract(epoch from '2026-08-04 17:25:02'::timestamp) - extract(epoch from '2026-08-04 17:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379722 -3.134065)'), GeomFromEWKT('SRID=4674;POINT (-39.37975 -3.13421)'))) / (select extract(epoch from '2026-08-04 17:25:02'::timestamp) - extract(epoch from '2026-08-04 17:24:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.379784 -3.134314)', '2026-08-04 17:25:07', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37975 -3.13421)'), GeomFromEWKT('SRID=4674;POINT (-39.379784 -3.134314)'))) / (select extract(epoch from '2026-08-04 17:25:07'::timestamp) - extract(epoch from '2026-08-04 17:25:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37975 -3.13421)'), GeomFromEWKT('SRID=4674;POINT (-39.379784 -3.134314)'))) / (select extract(epoch from '2026-08-04 17:25:07'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.3798 -3.134432)', '2026-08-04 17:25:12', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379784 -3.134314)'), GeomFromEWKT('SRID=4674;POINT (-39.3798 -3.134432)'))) / (select extract(epoch from '2026-08-04 17:25:12'::timestamp) - extract(epoch from '2026-08-04 17:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379784 -3.134314)'), GeomFromEWKT('SRID=4674;POINT (-39.3798 -3.134432)'))) / (select extract(epoch from '2026-08-04 17:25:12'::timestamp) - extract(epoch from '2026-08-04 17:25:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.379821 -3.134556)', '2026-08-04 17:25:17', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3798 -3.134432)'), GeomFromEWKT('SRID=4674;POINT (-39.379821 -3.134556)'))) / (select extract(epoch from '2026-08-04 17:25:17'::timestamp) - extract(epoch from '2026-08-04 17:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3798 -3.134432)'), GeomFromEWKT('SRID=4674;POINT (-39.379821 -3.134556)'))) / (select extract(epoch from '2026-08-04 17:25:17'::timestamp) - extract(epoch from '2026-08-04 17:25: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'), 48166, 'SRID=4674;POINT (-39.379854 -3.134696)', '2026-08-04 17:25:23', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379821 -3.134556)'), GeomFromEWKT('SRID=4674;POINT (-39.379854 -3.134696)'))) / (select extract(epoch from '2026-08-04 17:25:23'::timestamp) - extract(epoch from '2026-08-04 17:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379821 -3.134556)'), GeomFromEWKT('SRID=4674;POINT (-39.379854 -3.134696)'))) / (select extract(epoch from '2026-08-04 17:25:23'::timestamp) - extract(epoch from '2026-08-04 17:25:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.379892 -3.134821)', '2026-08-04 17:25:28', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379854 -3.134696)'), GeomFromEWKT('SRID=4674;POINT (-39.379892 -3.134821)'))) / (select extract(epoch from '2026-08-04 17:25:28'::timestamp) - extract(epoch from '2026-08-04 17:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379854 -3.134696)'), GeomFromEWKT('SRID=4674;POINT (-39.379892 -3.134821)'))) / (select extract(epoch from '2026-08-04 17:25:28'::timestamp) - extract(epoch from '2026-08-04 17:25:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.379917 -3.134992)', '2026-08-04 17:25:35', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379892 -3.134821)'), GeomFromEWKT('SRID=4674;POINT (-39.379917 -3.134992)'))) / (select extract(epoch from '2026-08-04 17:25:35'::timestamp) - extract(epoch from '2026-08-04 17:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379892 -3.134821)'), GeomFromEWKT('SRID=4674;POINT (-39.379917 -3.134992)'))) / (select extract(epoch from '2026-08-04 17:25:35'::timestamp) - extract(epoch from '2026-08-04 17:25: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'), 48166, 'SRID=4674;POINT (-39.379948 -3.13512)', '2026-08-04 17:25:40', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379917 -3.134992)'), GeomFromEWKT('SRID=4674;POINT (-39.379948 -3.13512)'))) / (select extract(epoch from '2026-08-04 17:25:40'::timestamp) - extract(epoch from '2026-08-04 17:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379917 -3.134992)'), GeomFromEWKT('SRID=4674;POINT (-39.379948 -3.13512)'))) / (select extract(epoch from '2026-08-04 17:25:40'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.379952 -3.135228)', '2026-08-04 17:25:45', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379948 -3.13512)'), GeomFromEWKT('SRID=4674;POINT (-39.379952 -3.135228)'))) / (select extract(epoch from '2026-08-04 17:25:45'::timestamp) - extract(epoch from '2026-08-04 17:25:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379948 -3.13512)'), GeomFromEWKT('SRID=4674;POINT (-39.379952 -3.135228)'))) / (select extract(epoch from '2026-08-04 17:25:45'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.379963 -3.13534)', '2026-08-04 17:25:50', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379952 -3.135228)'), GeomFromEWKT('SRID=4674;POINT (-39.379963 -3.13534)'))) / (select extract(epoch from '2026-08-04 17:25:50'::timestamp) - extract(epoch from '2026-08-04 17:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379952 -3.135228)'), GeomFromEWKT('SRID=4674;POINT (-39.379963 -3.13534)'))) / (select extract(epoch from '2026-08-04 17:25:50'::timestamp) - extract(epoch from '2026-08-04 17:25:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.379985 -3.135459)', '2026-08-04 17:25:55', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379963 -3.13534)'), GeomFromEWKT('SRID=4674;POINT (-39.379985 -3.135459)'))) / (select extract(epoch from '2026-08-04 17:25:55'::timestamp) - extract(epoch from '2026-08-04 17:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379963 -3.13534)'), GeomFromEWKT('SRID=4674;POINT (-39.379985 -3.135459)'))) / (select extract(epoch from '2026-08-04 17:25:55'::timestamp) - extract(epoch from '2026-08-04 17:25: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'), 48166, 'SRID=4674;POINT (-39.380001 -3.135579)', '2026-08-04 17:26:00', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379985 -3.135459)'), GeomFromEWKT('SRID=4674;POINT (-39.380001 -3.135579)'))) / (select extract(epoch from '2026-08-04 17:26:00'::timestamp) - extract(epoch from '2026-08-04 17:25:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379985 -3.135459)'), GeomFromEWKT('SRID=4674;POINT (-39.380001 -3.135579)'))) / (select extract(epoch from '2026-08-04 17:26:00'::timestamp) - extract(epoch from '2026-08-04 17:25: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'), 48166, 'SRID=4674;POINT (-39.380032 -3.135718)', '2026-08-04 17:26:06', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380001 -3.135579)'), GeomFromEWKT('SRID=4674;POINT (-39.380032 -3.135718)'))) / (select extract(epoch from '2026-08-04 17:26:06'::timestamp) - extract(epoch from '2026-08-04 17:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380001 -3.135579)'), GeomFromEWKT('SRID=4674;POINT (-39.380032 -3.135718)'))) / (select extract(epoch from '2026-08-04 17:26:06'::timestamp) - extract(epoch from '2026-08-04 17:26: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'), 48166, 'SRID=4674;POINT (-39.380069 -3.135835)', '2026-08-04 17:26:11', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380032 -3.135718)'), GeomFromEWKT('SRID=4674;POINT (-39.380069 -3.135835)'))) / (select extract(epoch from '2026-08-04 17:26:11'::timestamp) - extract(epoch from '2026-08-04 17:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380032 -3.135718)'), GeomFromEWKT('SRID=4674;POINT (-39.380069 -3.135835)'))) / (select extract(epoch from '2026-08-04 17:26:11'::timestamp) - extract(epoch from '2026-08-04 17:26:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.380082 -3.135958)', '2026-08-04 17:26:16', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380069 -3.135835)'), GeomFromEWKT('SRID=4674;POINT (-39.380082 -3.135958)'))) / (select extract(epoch from '2026-08-04 17:26:16'::timestamp) - extract(epoch from '2026-08-04 17:26:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380069 -3.135835)'), GeomFromEWKT('SRID=4674;POINT (-39.380082 -3.135958)'))) / (select extract(epoch from '2026-08-04 17:26:16'::timestamp) - extract(epoch from '2026-08-04 17:26: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'), 48166, 'SRID=4674;POINT (-39.380103 -3.136074)', '2026-08-04 17:26:21', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380082 -3.135958)'), GeomFromEWKT('SRID=4674;POINT (-39.380103 -3.136074)'))) / (select extract(epoch from '2026-08-04 17:26:21'::timestamp) - extract(epoch from '2026-08-04 17:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380082 -3.135958)'), GeomFromEWKT('SRID=4674;POINT (-39.380103 -3.136074)'))) / (select extract(epoch from '2026-08-04 17:26:21'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.38011 -3.136223)', '2026-08-04 17:26:27', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380103 -3.136074)'), GeomFromEWKT('SRID=4674;POINT (-39.38011 -3.136223)'))) / (select extract(epoch from '2026-08-04 17:26:27'::timestamp) - extract(epoch from '2026-08-04 17:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380103 -3.136074)'), GeomFromEWKT('SRID=4674;POINT (-39.38011 -3.136223)'))) / (select extract(epoch from '2026-08-04 17:26:27'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.380112 -3.136317)', '2026-08-04 17:26:31', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38011 -3.136223)'), GeomFromEWKT('SRID=4674;POINT (-39.380112 -3.136317)'))) / (select extract(epoch from '2026-08-04 17:26:31'::timestamp) - extract(epoch from '2026-08-04 17:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38011 -3.136223)'), GeomFromEWKT('SRID=4674;POINT (-39.380112 -3.136317)'))) / (select extract(epoch from '2026-08-04 17:26:31'::timestamp) - extract(epoch from '2026-08-04 17:26: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'), 48166, 'SRID=4674;POINT (-39.380123 -3.136345)', '2026-08-04 17:26:32', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380112 -3.136317)'), GeomFromEWKT('SRID=4674;POINT (-39.380123 -3.136345)'))) / (select extract(epoch from '2026-08-04 17:26:32'::timestamp) - extract(epoch from '2026-08-04 17:26:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380112 -3.136317)'), GeomFromEWKT('SRID=4674;POINT (-39.380123 -3.136345)'))) / (select extract(epoch from '2026-08-04 17:26:32'::timestamp) - extract(epoch from '2026-08-04 17:26: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'), 48166, 'SRID=4674;POINT (-39.380128 -3.136437)', '2026-08-04 17:26:36', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380123 -3.136345)'), GeomFromEWKT('SRID=4674;POINT (-39.380128 -3.136437)'))) / (select extract(epoch from '2026-08-04 17:26:36'::timestamp) - extract(epoch from '2026-08-04 17:26:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380123 -3.136345)'), GeomFromEWKT('SRID=4674;POINT (-39.380128 -3.136437)'))) / (select extract(epoch from '2026-08-04 17:26:36'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.380141 -3.136568)', '2026-08-04 17:26:41', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380128 -3.136437)'), GeomFromEWKT('SRID=4674;POINT (-39.380141 -3.136568)'))) / (select extract(epoch from '2026-08-04 17:26:41'::timestamp) - extract(epoch from '2026-08-04 17:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380128 -3.136437)'), GeomFromEWKT('SRID=4674;POINT (-39.380141 -3.136568)'))) / (select extract(epoch from '2026-08-04 17:26:41'::timestamp) - extract(epoch from '2026-08-04 17:26: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'), 48166, 'SRID=4674;POINT (-39.380159 -3.136693)', '2026-08-04 17:26:46', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380141 -3.136568)'), GeomFromEWKT('SRID=4674;POINT (-39.380159 -3.136693)'))) / (select extract(epoch from '2026-08-04 17:26:46'::timestamp) - extract(epoch from '2026-08-04 17:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380141 -3.136568)'), GeomFromEWKT('SRID=4674;POINT (-39.380159 -3.136693)'))) / (select extract(epoch from '2026-08-04 17:26:46'::timestamp) - extract(epoch from '2026-08-04 17:26: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'), 48166, 'SRID=4674;POINT (-39.380187 -3.136799)', '2026-08-04 17:26:51', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380159 -3.136693)'), GeomFromEWKT('SRID=4674;POINT (-39.380187 -3.136799)'))) / (select extract(epoch from '2026-08-04 17:26:51'::timestamp) - extract(epoch from '2026-08-04 17:26:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380159 -3.136693)'), GeomFromEWKT('SRID=4674;POINT (-39.380187 -3.136799)'))) / (select extract(epoch from '2026-08-04 17:26:51'::timestamp) - extract(epoch from '2026-08-04 17:26: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'), 48166, 'SRID=4674;POINT (-39.380227 -3.136888)', '2026-08-04 17:26:55', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380187 -3.136799)'), GeomFromEWKT('SRID=4674;POINT (-39.380227 -3.136888)'))) / (select extract(epoch from '2026-08-04 17:26:55'::timestamp) - extract(epoch from '2026-08-04 17:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380187 -3.136799)'), GeomFromEWKT('SRID=4674;POINT (-39.380227 -3.136888)'))) / (select extract(epoch from '2026-08-04 17:26:55'::timestamp) - extract(epoch from '2026-08-04 17:26: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'), 48166, 'SRID=4674;POINT (-39.380248 -3.136998)', '2026-08-04 17:27:00', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380227 -3.136888)'), GeomFromEWKT('SRID=4674;POINT (-39.380248 -3.136998)'))) / (select extract(epoch from '2026-08-04 17:27:00'::timestamp) - extract(epoch from '2026-08-04 17:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380227 -3.136888)'), GeomFromEWKT('SRID=4674;POINT (-39.380248 -3.136998)'))) / (select extract(epoch from '2026-08-04 17:27:00'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.380265 -3.13716)', '2026-08-04 17:27:07', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380248 -3.136998)'), GeomFromEWKT('SRID=4674;POINT (-39.380265 -3.13716)'))) / (select extract(epoch from '2026-08-04 17:27:07'::timestamp) - extract(epoch from '2026-08-04 17:27:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380248 -3.136998)'), GeomFromEWKT('SRID=4674;POINT (-39.380265 -3.13716)'))) / (select extract(epoch from '2026-08-04 17:27:07'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.380284 -3.1373)', '2026-08-04 17:27:13', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380265 -3.13716)'), GeomFromEWKT('SRID=4674;POINT (-39.380284 -3.1373)'))) / (select extract(epoch from '2026-08-04 17:27:13'::timestamp) - extract(epoch from '2026-08-04 17:27:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380265 -3.13716)'), GeomFromEWKT('SRID=4674;POINT (-39.380284 -3.1373)'))) / (select extract(epoch from '2026-08-04 17:27:13'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.380296 -3.137447)', '2026-08-04 17:27:19', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380284 -3.1373)'), GeomFromEWKT('SRID=4674;POINT (-39.380296 -3.137447)'))) / (select extract(epoch from '2026-08-04 17:27:19'::timestamp) - extract(epoch from '2026-08-04 17:27:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380284 -3.1373)'), GeomFromEWKT('SRID=4674;POINT (-39.380296 -3.137447)'))) / (select extract(epoch from '2026-08-04 17:27:19'::timestamp) - extract(epoch from '2026-08-04 17:27:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.380308 -3.137515)', '2026-08-04 17:27:22', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380296 -3.137447)'), GeomFromEWKT('SRID=4674;POINT (-39.380308 -3.137515)'))) / (select extract(epoch from '2026-08-04 17:27:22'::timestamp) - extract(epoch from '2026-08-04 17:27:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380296 -3.137447)'), GeomFromEWKT('SRID=4674;POINT (-39.380308 -3.137515)'))) / (select extract(epoch from '2026-08-04 17:27:22'::timestamp) - extract(epoch from '2026-08-04 17:27: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'), 48166, 'SRID=4674;POINT (-39.380303 -3.137538)', '2026-08-04 17:27:23', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380308 -3.137515)'), GeomFromEWKT('SRID=4674;POINT (-39.380303 -3.137538)'))) / (select extract(epoch from '2026-08-04 17:27:23'::timestamp) - extract(epoch from '2026-08-04 17:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380308 -3.137515)'), GeomFromEWKT('SRID=4674;POINT (-39.380303 -3.137538)'))) / (select extract(epoch from '2026-08-04 17:27:23'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.380304 -3.137563)', '2026-08-04 17:27:24', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380303 -3.137538)'), GeomFromEWKT('SRID=4674;POINT (-39.380304 -3.137563)'))) / (select extract(epoch from '2026-08-04 17:27:24'::timestamp) - extract(epoch from '2026-08-04 17:27:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380303 -3.137538)'), GeomFromEWKT('SRID=4674;POINT (-39.380304 -3.137563)'))) / (select extract(epoch from '2026-08-04 17:27:24'::timestamp) - extract(epoch from '2026-08-04 17:27:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.380314 -3.137642)', '2026-08-04 17:27:27', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380304 -3.137563)'), GeomFromEWKT('SRID=4674;POINT (-39.380314 -3.137642)'))) / (select extract(epoch from '2026-08-04 17:27:27'::timestamp) - extract(epoch from '2026-08-04 17:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380304 -3.137563)'), GeomFromEWKT('SRID=4674;POINT (-39.380314 -3.137642)'))) / (select extract(epoch from '2026-08-04 17:27:27'::timestamp) - extract(epoch from '2026-08-04 17:27: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'), 48166, 'SRID=4674;POINT (-39.380331 -3.13785)', '2026-08-04 17:27:35', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380314 -3.137642)'), GeomFromEWKT('SRID=4674;POINT (-39.380331 -3.13785)'))) / (select extract(epoch from '2026-08-04 17:27:35'::timestamp) - extract(epoch from '2026-08-04 17:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380314 -3.137642)'), GeomFromEWKT('SRID=4674;POINT (-39.380331 -3.13785)'))) / (select extract(epoch from '2026-08-04 17:27:35'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.380352 -3.138015)', '2026-08-04 17:27:42', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380331 -3.13785)'), GeomFromEWKT('SRID=4674;POINT (-39.380352 -3.138015)'))) / (select extract(epoch from '2026-08-04 17:27:42'::timestamp) - extract(epoch from '2026-08-04 17:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380331 -3.13785)'), GeomFromEWKT('SRID=4674;POINT (-39.380352 -3.138015)'))) / (select extract(epoch from '2026-08-04 17:27:42'::timestamp) - extract(epoch from '2026-08-04 17:27:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.380347 -3.13813)', '2026-08-04 17:27:47', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380352 -3.138015)'), GeomFromEWKT('SRID=4674;POINT (-39.380347 -3.13813)'))) / (select extract(epoch from '2026-08-04 17:27:47'::timestamp) - extract(epoch from '2026-08-04 17:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380352 -3.138015)'), GeomFromEWKT('SRID=4674;POINT (-39.380347 -3.13813)'))) / (select extract(epoch from '2026-08-04 17:27:47'::timestamp) - extract(epoch from '2026-08-04 17:27: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'), 48166, 'SRID=4674;POINT (-39.380376 -3.138259)', '2026-08-04 17:27:52', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380347 -3.13813)'), GeomFromEWKT('SRID=4674;POINT (-39.380376 -3.138259)'))) / (select extract(epoch from '2026-08-04 17:27:52'::timestamp) - extract(epoch from '2026-08-04 17:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380347 -3.13813)'), GeomFromEWKT('SRID=4674;POINT (-39.380376 -3.138259)'))) / (select extract(epoch from '2026-08-04 17:27:52'::timestamp) - extract(epoch from '2026-08-04 17:27: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'), 48166, 'SRID=4674;POINT (-39.380385 -3.138393)', '2026-08-04 17:27:58', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380376 -3.138259)'), GeomFromEWKT('SRID=4674;POINT (-39.380385 -3.138393)'))) / (select extract(epoch from '2026-08-04 17:27:58'::timestamp) - extract(epoch from '2026-08-04 17:27:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380376 -3.138259)'), GeomFromEWKT('SRID=4674;POINT (-39.380385 -3.138393)'))) / (select extract(epoch from '2026-08-04 17:27:58'::timestamp) - extract(epoch from '2026-08-04 17:27: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'), 48166, 'SRID=4674;POINT (-39.380396 -3.138541)', '2026-08-04 17:28:04', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380385 -3.138393)'), GeomFromEWKT('SRID=4674;POINT (-39.380396 -3.138541)'))) / (select extract(epoch from '2026-08-04 17:28:04'::timestamp) - extract(epoch from '2026-08-04 17:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380385 -3.138393)'), GeomFromEWKT('SRID=4674;POINT (-39.380396 -3.138541)'))) / (select extract(epoch from '2026-08-04 17:28:04'::timestamp) - extract(epoch from '2026-08-04 17:27:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.380419 -3.138659)', '2026-08-04 17:28:09', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380396 -3.138541)'), GeomFromEWKT('SRID=4674;POINT (-39.380419 -3.138659)'))) / (select extract(epoch from '2026-08-04 17:28:09'::timestamp) - extract(epoch from '2026-08-04 17:28:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380396 -3.138541)'), GeomFromEWKT('SRID=4674;POINT (-39.380419 -3.138659)'))) / (select extract(epoch from '2026-08-04 17:28:09'::timestamp) - extract(epoch from '2026-08-04 17:28:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.380446 -3.138821)', '2026-08-04 17:28:16', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380419 -3.138659)'), GeomFromEWKT('SRID=4674;POINT (-39.380446 -3.138821)'))) / (select extract(epoch from '2026-08-04 17:28:16'::timestamp) - extract(epoch from '2026-08-04 17:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380419 -3.138659)'), GeomFromEWKT('SRID=4674;POINT (-39.380446 -3.138821)'))) / (select extract(epoch from '2026-08-04 17:28:16'::timestamp) - extract(epoch from '2026-08-04 17:28: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'), 48166, 'SRID=4674;POINT (-39.380457 -3.138973)', '2026-08-04 17:28:22', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380446 -3.138821)'), GeomFromEWKT('SRID=4674;POINT (-39.380457 -3.138973)'))) / (select extract(epoch from '2026-08-04 17:28:22'::timestamp) - extract(epoch from '2026-08-04 17:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380446 -3.138821)'), GeomFromEWKT('SRID=4674;POINT (-39.380457 -3.138973)'))) / (select extract(epoch from '2026-08-04 17:28:22'::timestamp) - extract(epoch from '2026-08-04 17:28: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'), 48166, 'SRID=4674;POINT (-39.380498 -3.139054)', '2026-08-04 17:28:26', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380457 -3.138973)'), GeomFromEWKT('SRID=4674;POINT (-39.380498 -3.139054)'))) / (select extract(epoch from '2026-08-04 17:28:26'::timestamp) - extract(epoch from '2026-08-04 17:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380457 -3.138973)'), GeomFromEWKT('SRID=4674;POINT (-39.380498 -3.139054)'))) / (select extract(epoch from '2026-08-04 17:28:26'::timestamp) - extract(epoch from '2026-08-04 17:28:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.380564 -3.139189)', '2026-08-04 17:28:33', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380498 -3.139054)'), GeomFromEWKT('SRID=4674;POINT (-39.380564 -3.139189)'))) / (select extract(epoch from '2026-08-04 17:28:33'::timestamp) - extract(epoch from '2026-08-04 17:28:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380498 -3.139054)'), GeomFromEWKT('SRID=4674;POINT (-39.380564 -3.139189)'))) / (select extract(epoch from '2026-08-04 17:28:33'::timestamp) - extract(epoch from '2026-08-04 17:28: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'), 48166, 'SRID=4674;POINT (-39.380618 -3.139349)', '2026-08-04 17:28:40', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380564 -3.139189)'), GeomFromEWKT('SRID=4674;POINT (-39.380618 -3.139349)'))) / (select extract(epoch from '2026-08-04 17:28:40'::timestamp) - extract(epoch from '2026-08-04 17:28:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380564 -3.139189)'), GeomFromEWKT('SRID=4674;POINT (-39.380618 -3.139349)'))) / (select extract(epoch from '2026-08-04 17:28:40'::timestamp) - extract(epoch from '2026-08-04 17:28: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'), 48166, 'SRID=4674;POINT (-39.380663 -3.139485)', '2026-08-04 17:28:46', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380618 -3.139349)'), GeomFromEWKT('SRID=4674;POINT (-39.380663 -3.139485)'))) / (select extract(epoch from '2026-08-04 17:28:46'::timestamp) - extract(epoch from '2026-08-04 17:28:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380618 -3.139349)'), GeomFromEWKT('SRID=4674;POINT (-39.380663 -3.139485)'))) / (select extract(epoch from '2026-08-04 17:28:46'::timestamp) - extract(epoch from '2026-08-04 17:28:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.380681 -3.139617)', '2026-08-04 17:28:52', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380663 -3.139485)'), GeomFromEWKT('SRID=4674;POINT (-39.380681 -3.139617)'))) / (select extract(epoch from '2026-08-04 17:28:52'::timestamp) - extract(epoch from '2026-08-04 17:28:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380663 -3.139485)'), GeomFromEWKT('SRID=4674;POINT (-39.380681 -3.139617)'))) / (select extract(epoch from '2026-08-04 17:28:52'::timestamp) - extract(epoch from '2026-08-04 17:28: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'), 48166, 'SRID=4674;POINT (-39.380695 -3.139791)', '2026-08-04 17:28:59', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380681 -3.139617)'), GeomFromEWKT('SRID=4674;POINT (-39.380695 -3.139791)'))) / (select extract(epoch from '2026-08-04 17:28:59'::timestamp) - extract(epoch from '2026-08-04 17:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380681 -3.139617)'), GeomFromEWKT('SRID=4674;POINT (-39.380695 -3.139791)'))) / (select extract(epoch from '2026-08-04 17:28:59'::timestamp) - extract(epoch from '2026-08-04 17:28: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'), 48166, 'SRID=4674;POINT (-39.380689 -3.139926)', '2026-08-04 17:29:05', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380695 -3.139791)'), GeomFromEWKT('SRID=4674;POINT (-39.380689 -3.139926)'))) / (select extract(epoch from '2026-08-04 17:29:05'::timestamp) - extract(epoch from '2026-08-04 17:28:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380695 -3.139791)'), GeomFromEWKT('SRID=4674;POINT (-39.380689 -3.139926)'))) / (select extract(epoch from '2026-08-04 17:29:05'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.380684 -3.140068)', '2026-08-04 17:29:11', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380689 -3.139926)'), GeomFromEWKT('SRID=4674;POINT (-39.380684 -3.140068)'))) / (select extract(epoch from '2026-08-04 17:29:11'::timestamp) - extract(epoch from '2026-08-04 17:29:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380689 -3.139926)'), GeomFromEWKT('SRID=4674;POINT (-39.380684 -3.140068)'))) / (select extract(epoch from '2026-08-04 17:29:11'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.380681 -3.140191)', '2026-08-04 17:29:17', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380684 -3.140068)'), GeomFromEWKT('SRID=4674;POINT (-39.380681 -3.140191)'))) / (select extract(epoch from '2026-08-04 17:29:17'::timestamp) - extract(epoch from '2026-08-04 17:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380684 -3.140068)'), GeomFromEWKT('SRID=4674;POINT (-39.380681 -3.140191)'))) / (select extract(epoch from '2026-08-04 17:29:17'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.380712 -3.140323)', '2026-08-04 17:29:23', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380681 -3.140191)'), GeomFromEWKT('SRID=4674;POINT (-39.380712 -3.140323)'))) / (select extract(epoch from '2026-08-04 17:29:23'::timestamp) - extract(epoch from '2026-08-04 17:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380681 -3.140191)'), GeomFromEWKT('SRID=4674;POINT (-39.380712 -3.140323)'))) / (select extract(epoch from '2026-08-04 17:29:23'::timestamp) - extract(epoch from '2026-08-04 17:29:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.380719 -3.140479)', '2026-08-04 17:29:30', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380712 -3.140323)'), GeomFromEWKT('SRID=4674;POINT (-39.380719 -3.140479)'))) / (select extract(epoch from '2026-08-04 17:29:30'::timestamp) - extract(epoch from '2026-08-04 17:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380712 -3.140323)'), GeomFromEWKT('SRID=4674;POINT (-39.380719 -3.140479)'))) / (select extract(epoch from '2026-08-04 17:29:30'::timestamp) - extract(epoch from '2026-08-04 17:29: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'), 48166, 'SRID=4674;POINT (-39.38072 -3.14052)', '2026-08-04 17:29:32', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380719 -3.140479)'), GeomFromEWKT('SRID=4674;POINT (-39.38072 -3.14052)'))) / (select extract(epoch from '2026-08-04 17:29:32'::timestamp) - extract(epoch from '2026-08-04 17:29:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380719 -3.140479)'), GeomFromEWKT('SRID=4674;POINT (-39.38072 -3.14052)'))) / (select extract(epoch from '2026-08-04 17:29:32'::timestamp) - extract(epoch from '2026-08-04 17:29: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'), 48166, 'SRID=4674;POINT (-39.38073 -3.140593)', '2026-08-04 17:29:35', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38072 -3.14052)'), GeomFromEWKT('SRID=4674;POINT (-39.38073 -3.140593)'))) / (select extract(epoch from '2026-08-04 17:29:35'::timestamp) - extract(epoch from '2026-08-04 17:29:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38072 -3.14052)'), GeomFromEWKT('SRID=4674;POINT (-39.38073 -3.140593)'))) / (select extract(epoch from '2026-08-04 17:29:35'::timestamp) - extract(epoch from '2026-08-04 17:29:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.38074 -3.140712)', '2026-08-04 17:29:40', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38073 -3.140593)'), GeomFromEWKT('SRID=4674;POINT (-39.38074 -3.140712)'))) / (select extract(epoch from '2026-08-04 17:29:40'::timestamp) - extract(epoch from '2026-08-04 17:29:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38073 -3.140593)'), GeomFromEWKT('SRID=4674;POINT (-39.38074 -3.140712)'))) / (select extract(epoch from '2026-08-04 17:29:40'::timestamp) - extract(epoch from '2026-08-04 17:29:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.380741 -3.140736)', '2026-08-04 17:29:41', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38074 -3.140712)'), GeomFromEWKT('SRID=4674;POINT (-39.380741 -3.140736)'))) / (select extract(epoch from '2026-08-04 17:29:41'::timestamp) - extract(epoch from '2026-08-04 17:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38074 -3.140712)'), GeomFromEWKT('SRID=4674;POINT (-39.380741 -3.140736)'))) / (select extract(epoch from '2026-08-04 17:29:41'::timestamp) - extract(epoch from '2026-08-04 17:29:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.380737 -3.140802)', '2026-08-04 17:29:44', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380741 -3.140736)'), GeomFromEWKT('SRID=4674;POINT (-39.380737 -3.140802)'))) / (select extract(epoch from '2026-08-04 17:29:44'::timestamp) - extract(epoch from '2026-08-04 17:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380741 -3.140736)'), GeomFromEWKT('SRID=4674;POINT (-39.380737 -3.140802)'))) / (select extract(epoch from '2026-08-04 17:29:44'::timestamp) - extract(epoch from '2026-08-04 17:29: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'), 48166, 'SRID=4674;POINT (-39.380767 -3.14091)', '2026-08-04 17:29:49', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380737 -3.140802)'), GeomFromEWKT('SRID=4674;POINT (-39.380767 -3.14091)'))) / (select extract(epoch from '2026-08-04 17:29:49'::timestamp) - extract(epoch from '2026-08-04 17:29:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380737 -3.140802)'), GeomFromEWKT('SRID=4674;POINT (-39.380767 -3.14091)'))) / (select extract(epoch from '2026-08-04 17:29:49'::timestamp) - extract(epoch from '2026-08-04 17:29: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'), 48166, 'SRID=4674;POINT (-39.380793 -3.141023)', '2026-08-04 17:29:54', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380767 -3.14091)'), GeomFromEWKT('SRID=4674;POINT (-39.380793 -3.141023)'))) / (select extract(epoch from '2026-08-04 17:29:54'::timestamp) - extract(epoch from '2026-08-04 17:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380767 -3.14091)'), GeomFromEWKT('SRID=4674;POINT (-39.380793 -3.141023)'))) / (select extract(epoch from '2026-08-04 17:29:54'::timestamp) - extract(epoch from '2026-08-04 17:29: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'), 48166, 'SRID=4674;POINT (-39.38083 -3.141182)', '2026-08-04 17:30:01', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380793 -3.141023)'), GeomFromEWKT('SRID=4674;POINT (-39.38083 -3.141182)'))) / (select extract(epoch from '2026-08-04 17:30:01'::timestamp) - extract(epoch from '2026-08-04 17:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380793 -3.141023)'), GeomFromEWKT('SRID=4674;POINT (-39.38083 -3.141182)'))) / (select extract(epoch from '2026-08-04 17:30:01'::timestamp) - extract(epoch from '2026-08-04 17:29:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.380848 -3.141323)', '2026-08-04 17:30:07', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38083 -3.141182)'), GeomFromEWKT('SRID=4674;POINT (-39.380848 -3.141323)'))) / (select extract(epoch from '2026-08-04 17:30:07'::timestamp) - extract(epoch from '2026-08-04 17:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38083 -3.141182)'), GeomFromEWKT('SRID=4674;POINT (-39.380848 -3.141323)'))) / (select extract(epoch from '2026-08-04 17:30:07'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.380876 -3.141453)', '2026-08-04 17:30:13', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380848 -3.141323)'), GeomFromEWKT('SRID=4674;POINT (-39.380876 -3.141453)'))) / (select extract(epoch from '2026-08-04 17:30:13'::timestamp) - extract(epoch from '2026-08-04 17:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380848 -3.141323)'), GeomFromEWKT('SRID=4674;POINT (-39.380876 -3.141453)'))) / (select extract(epoch from '2026-08-04 17:30:13'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.380893 -3.141591)', '2026-08-04 17:30:19', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380876 -3.141453)'), GeomFromEWKT('SRID=4674;POINT (-39.380893 -3.141591)'))) / (select extract(epoch from '2026-08-04 17:30:19'::timestamp) - extract(epoch from '2026-08-04 17:30:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380876 -3.141453)'), GeomFromEWKT('SRID=4674;POINT (-39.380893 -3.141591)'))) / (select extract(epoch from '2026-08-04 17:30:19'::timestamp) - extract(epoch from '2026-08-04 17:30: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'), 48166, 'SRID=4674;POINT (-39.380912 -3.141708)', '2026-08-04 17:30:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380893 -3.141591)'), GeomFromEWKT('SRID=4674;POINT (-39.380912 -3.141708)'))) / (select extract(epoch from '2026-08-04 17:30:24'::timestamp) - extract(epoch from '2026-08-04 17:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380893 -3.141591)'), GeomFromEWKT('SRID=4674;POINT (-39.380912 -3.141708)'))) / (select extract(epoch from '2026-08-04 17:30:24'::timestamp) - extract(epoch from '2026-08-04 17:30:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.380931 -3.141832)', '2026-08-04 17:30:29', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380912 -3.141708)'), GeomFromEWKT('SRID=4674;POINT (-39.380931 -3.141832)'))) / (select extract(epoch from '2026-08-04 17:30:29'::timestamp) - extract(epoch from '2026-08-04 17:30:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380912 -3.141708)'), GeomFromEWKT('SRID=4674;POINT (-39.380931 -3.141832)'))) / (select extract(epoch from '2026-08-04 17:30:29'::timestamp) - extract(epoch from '2026-08-04 17:30: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'), 48166, 'SRID=4674;POINT (-39.380948 -3.141947)', '2026-08-04 17:30:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380931 -3.141832)'), GeomFromEWKT('SRID=4674;POINT (-39.380948 -3.141947)'))) / (select extract(epoch from '2026-08-04 17:30:34'::timestamp) - extract(epoch from '2026-08-04 17:30:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380931 -3.141832)'), GeomFromEWKT('SRID=4674;POINT (-39.380948 -3.141947)'))) / (select extract(epoch from '2026-08-04 17:30:34'::timestamp) - extract(epoch from '2026-08-04 17:30: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'), 48166, 'SRID=4674;POINT (-39.380987 -3.142091)', '2026-08-04 17:30:40', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380948 -3.141947)'), GeomFromEWKT('SRID=4674;POINT (-39.380987 -3.142091)'))) / (select extract(epoch from '2026-08-04 17:30:40'::timestamp) - extract(epoch from '2026-08-04 17:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380948 -3.141947)'), GeomFromEWKT('SRID=4674;POINT (-39.380987 -3.142091)'))) / (select extract(epoch from '2026-08-04 17:30:40'::timestamp) - extract(epoch from '2026-08-04 17:30: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'), 48166, 'SRID=4674;POINT (-39.381014 -3.142202)', '2026-08-04 17:30:45', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380987 -3.142091)'), GeomFromEWKT('SRID=4674;POINT (-39.381014 -3.142202)'))) / (select extract(epoch from '2026-08-04 17:30:45'::timestamp) - extract(epoch from '2026-08-04 17:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380987 -3.142091)'), GeomFromEWKT('SRID=4674;POINT (-39.381014 -3.142202)'))) / (select extract(epoch from '2026-08-04 17:30:45'::timestamp) - extract(epoch from '2026-08-04 17:30:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.381072 -3.142342)', '2026-08-04 17:30:51', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381014 -3.142202)'), GeomFromEWKT('SRID=4674;POINT (-39.381072 -3.142342)'))) / (select extract(epoch from '2026-08-04 17:30:51'::timestamp) - extract(epoch from '2026-08-04 17:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381014 -3.142202)'), GeomFromEWKT('SRID=4674;POINT (-39.381072 -3.142342)'))) / (select extract(epoch from '2026-08-04 17:30:51'::timestamp) - extract(epoch from '2026-08-04 17:30: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'), 48166, 'SRID=4674;POINT (-39.381097 -3.142483)', '2026-08-04 17:30:57', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381072 -3.142342)'), GeomFromEWKT('SRID=4674;POINT (-39.381097 -3.142483)'))) / (select extract(epoch from '2026-08-04 17:30:57'::timestamp) - extract(epoch from '2026-08-04 17:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381072 -3.142342)'), GeomFromEWKT('SRID=4674;POINT (-39.381097 -3.142483)'))) / (select extract(epoch from '2026-08-04 17:30:57'::timestamp) - extract(epoch from '2026-08-04 17:30:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.381115 -3.142602)', '2026-08-04 17:31:02', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381097 -3.142483)'), GeomFromEWKT('SRID=4674;POINT (-39.381115 -3.142602)'))) / (select extract(epoch from '2026-08-04 17:31:02'::timestamp) - extract(epoch from '2026-08-04 17:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381097 -3.142483)'), GeomFromEWKT('SRID=4674;POINT (-39.381115 -3.142602)'))) / (select extract(epoch from '2026-08-04 17:31:02'::timestamp) - extract(epoch from '2026-08-04 17:30:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.38114 -3.142739)', '2026-08-04 17:31:08', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381115 -3.142602)'), GeomFromEWKT('SRID=4674;POINT (-39.38114 -3.142739)'))) / (select extract(epoch from '2026-08-04 17:31:08'::timestamp) - extract(epoch from '2026-08-04 17:31:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381115 -3.142602)'), GeomFromEWKT('SRID=4674;POINT (-39.38114 -3.142739)'))) / (select extract(epoch from '2026-08-04 17:31:08'::timestamp) - extract(epoch from '2026-08-04 17:31:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.381161 -3.142811)', '2026-08-04 17:31:11', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38114 -3.142739)'), GeomFromEWKT('SRID=4674;POINT (-39.381161 -3.142811)'))) / (select extract(epoch from '2026-08-04 17:31:11'::timestamp) - extract(epoch from '2026-08-04 17:31:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38114 -3.142739)'), GeomFromEWKT('SRID=4674;POINT (-39.381161 -3.142811)'))) / (select extract(epoch from '2026-08-04 17:31:11'::timestamp) - extract(epoch from '2026-08-04 17:31: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'), 48166, 'SRID=4674;POINT (-39.381161 -3.142856)', '2026-08-04 17:31:13', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381161 -3.142811)'), GeomFromEWKT('SRID=4674;POINT (-39.381161 -3.142856)'))) / (select extract(epoch from '2026-08-04 17:31:13'::timestamp) - extract(epoch from '2026-08-04 17:31:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381161 -3.142811)'), GeomFromEWKT('SRID=4674;POINT (-39.381161 -3.142856)'))) / (select extract(epoch from '2026-08-04 17:31:13'::timestamp) - extract(epoch from '2026-08-04 17:31:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.381175 -3.142975)', '2026-08-04 17:31:18', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381161 -3.142856)'), GeomFromEWKT('SRID=4674;POINT (-39.381175 -3.142975)'))) / (select extract(epoch from '2026-08-04 17:31:18'::timestamp) - extract(epoch from '2026-08-04 17:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381161 -3.142856)'), GeomFromEWKT('SRID=4674;POINT (-39.381175 -3.142975)'))) / (select extract(epoch from '2026-08-04 17:31:18'::timestamp) - extract(epoch from '2026-08-04 17:31: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'), 48166, 'SRID=4674;POINT (-39.381194 -3.143092)', '2026-08-04 17:31:23', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381175 -3.142975)'), GeomFromEWKT('SRID=4674;POINT (-39.381194 -3.143092)'))) / (select extract(epoch from '2026-08-04 17:31:23'::timestamp) - extract(epoch from '2026-08-04 17:31:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381175 -3.142975)'), GeomFromEWKT('SRID=4674;POINT (-39.381194 -3.143092)'))) / (select extract(epoch from '2026-08-04 17:31:23'::timestamp) - extract(epoch from '2026-08-04 17:31: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'), 48166, 'SRID=4674;POINT (-39.381221 -3.143237)', '2026-08-04 17:31:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381194 -3.143092)'), GeomFromEWKT('SRID=4674;POINT (-39.381221 -3.143237)'))) / (select extract(epoch from '2026-08-04 17:31:29'::timestamp) - extract(epoch from '2026-08-04 17:31:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381194 -3.143092)'), GeomFromEWKT('SRID=4674;POINT (-39.381221 -3.143237)'))) / (select extract(epoch from '2026-08-04 17:31:29'::timestamp) - extract(epoch from '2026-08-04 17:31:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.381239 -3.143361)', '2026-08-04 17:31:34', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381221 -3.143237)'), GeomFromEWKT('SRID=4674;POINT (-39.381239 -3.143361)'))) / (select extract(epoch from '2026-08-04 17:31:34'::timestamp) - extract(epoch from '2026-08-04 17:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381221 -3.143237)'), GeomFromEWKT('SRID=4674;POINT (-39.381239 -3.143361)'))) / (select extract(epoch from '2026-08-04 17:31:34'::timestamp) - extract(epoch from '2026-08-04 17:31: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'), 48166, 'SRID=4674;POINT (-39.381262 -3.143474)', '2026-08-04 17:31:39', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381239 -3.143361)'), GeomFromEWKT('SRID=4674;POINT (-39.381262 -3.143474)'))) / (select extract(epoch from '2026-08-04 17:31:39'::timestamp) - extract(epoch from '2026-08-04 17:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381239 -3.143361)'), GeomFromEWKT('SRID=4674;POINT (-39.381262 -3.143474)'))) / (select extract(epoch from '2026-08-04 17:31:39'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.38127 -3.143571)', '2026-08-04 17:31:44', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381262 -3.143474)'), GeomFromEWKT('SRID=4674;POINT (-39.38127 -3.143571)'))) / (select extract(epoch from '2026-08-04 17:31:44'::timestamp) - extract(epoch from '2026-08-04 17:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381262 -3.143474)'), GeomFromEWKT('SRID=4674;POINT (-39.38127 -3.143571)'))) / (select extract(epoch from '2026-08-04 17:31:44'::timestamp) - extract(epoch from '2026-08-04 17:31:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.381278 -3.143614)', '2026-08-04 17:31:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38127 -3.143571)'), GeomFromEWKT('SRID=4674;POINT (-39.381278 -3.143614)'))) / (select extract(epoch from '2026-08-04 17:31:46'::timestamp) - extract(epoch from '2026-08-04 17:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38127 -3.143571)'), GeomFromEWKT('SRID=4674;POINT (-39.381278 -3.143614)'))) / (select extract(epoch from '2026-08-04 17:31:46'::timestamp) - extract(epoch from '2026-08-04 17:31:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.381289 -3.143634)', '2026-08-04 17:31:47', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381278 -3.143614)'), GeomFromEWKT('SRID=4674;POINT (-39.381289 -3.143634)'))) / (select extract(epoch from '2026-08-04 17:31:47'::timestamp) - extract(epoch from '2026-08-04 17:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381278 -3.143614)'), GeomFromEWKT('SRID=4674;POINT (-39.381289 -3.143634)'))) / (select extract(epoch from '2026-08-04 17:31:47'::timestamp) - extract(epoch from '2026-08-04 17:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.381297 -3.143718)', '2026-08-04 17:31:51', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381289 -3.143634)'), GeomFromEWKT('SRID=4674;POINT (-39.381297 -3.143718)'))) / (select extract(epoch from '2026-08-04 17:31:51'::timestamp) - extract(epoch from '2026-08-04 17:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381289 -3.143634)'), GeomFromEWKT('SRID=4674;POINT (-39.381297 -3.143718)'))) / (select extract(epoch from '2026-08-04 17:31:51'::timestamp) - extract(epoch from '2026-08-04 17:31: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'), 48166, 'SRID=4674;POINT (-39.381312 -3.143845)', '2026-08-04 17:31:57', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381297 -3.143718)'), GeomFromEWKT('SRID=4674;POINT (-39.381312 -3.143845)'))) / (select extract(epoch from '2026-08-04 17:31:57'::timestamp) - extract(epoch from '2026-08-04 17:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381297 -3.143718)'), GeomFromEWKT('SRID=4674;POINT (-39.381312 -3.143845)'))) / (select extract(epoch from '2026-08-04 17:31:57'::timestamp) - extract(epoch from '2026-08-04 17:31:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.381327 -3.143981)', '2026-08-04 17:32:03', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381312 -3.143845)'), GeomFromEWKT('SRID=4674;POINT (-39.381327 -3.143981)'))) / (select extract(epoch from '2026-08-04 17:32:03'::timestamp) - extract(epoch from '2026-08-04 17:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381312 -3.143845)'), GeomFromEWKT('SRID=4674;POINT (-39.381327 -3.143981)'))) / (select extract(epoch from '2026-08-04 17:32:03'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.381332 -3.14409)', '2026-08-04 17:32:08', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381327 -3.143981)'), GeomFromEWKT('SRID=4674;POINT (-39.381332 -3.14409)'))) / (select extract(epoch from '2026-08-04 17:32:08'::timestamp) - extract(epoch from '2026-08-04 17:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381327 -3.143981)'), GeomFromEWKT('SRID=4674;POINT (-39.381332 -3.14409)'))) / (select extract(epoch from '2026-08-04 17:32:08'::timestamp) - extract(epoch from '2026-08-04 17:32:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.381338 -3.144206)', '2026-08-04 17:32:13', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381332 -3.14409)'), GeomFromEWKT('SRID=4674;POINT (-39.381338 -3.144206)'))) / (select extract(epoch from '2026-08-04 17:32:13'::timestamp) - extract(epoch from '2026-08-04 17:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381332 -3.14409)'), GeomFromEWKT('SRID=4674;POINT (-39.381338 -3.144206)'))) / (select extract(epoch from '2026-08-04 17:32:13'::timestamp) - extract(epoch from '2026-08-04 17:32: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'), 48166, 'SRID=4674;POINT (-39.381354 -3.144317)', '2026-08-04 17:32:18', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381338 -3.144206)'), GeomFromEWKT('SRID=4674;POINT (-39.381354 -3.144317)'))) / (select extract(epoch from '2026-08-04 17:32:18'::timestamp) - extract(epoch from '2026-08-04 17:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381338 -3.144206)'), GeomFromEWKT('SRID=4674;POINT (-39.381354 -3.144317)'))) / (select extract(epoch from '2026-08-04 17:32:18'::timestamp) - extract(epoch from '2026-08-04 17:32:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.381357 -3.144376)', '2026-08-04 17:32:21', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381354 -3.144317)'), GeomFromEWKT('SRID=4674;POINT (-39.381357 -3.144376)'))) / (select extract(epoch from '2026-08-04 17:32:21'::timestamp) - extract(epoch from '2026-08-04 17:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381354 -3.144317)'), GeomFromEWKT('SRID=4674;POINT (-39.381357 -3.144376)'))) / (select extract(epoch from '2026-08-04 17:32:21'::timestamp) - extract(epoch from '2026-08-04 17:32: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'), 48166, 'SRID=4674;POINT (-39.381362 -3.144413)', '2026-08-04 17:32:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381357 -3.144376)'), GeomFromEWKT('SRID=4674;POINT (-39.381362 -3.144413)'))) / (select extract(epoch from '2026-08-04 17:32:23'::timestamp) - extract(epoch from '2026-08-04 17:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381357 -3.144376)'), GeomFromEWKT('SRID=4674;POINT (-39.381362 -3.144413)'))) / (select extract(epoch from '2026-08-04 17:32:23'::timestamp) - extract(epoch from '2026-08-04 17:32: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'), 48166, 'SRID=4674;POINT (-39.381357 -3.144425)', '2026-08-04 17:32:24', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381362 -3.144413)'), GeomFromEWKT('SRID=4674;POINT (-39.381357 -3.144425)'))) / (select extract(epoch from '2026-08-04 17:32:24'::timestamp) - extract(epoch from '2026-08-04 17:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381362 -3.144413)'), GeomFromEWKT('SRID=4674;POINT (-39.381357 -3.144425)'))) / (select extract(epoch from '2026-08-04 17:32:24'::timestamp) - extract(epoch from '2026-08-04 17:32:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.381368 -3.144495)', '2026-08-04 17:32:27', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381357 -3.144425)'), GeomFromEWKT('SRID=4674;POINT (-39.381368 -3.144495)'))) / (select extract(epoch from '2026-08-04 17:32:27'::timestamp) - extract(epoch from '2026-08-04 17:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381357 -3.144425)'), GeomFromEWKT('SRID=4674;POINT (-39.381368 -3.144495)'))) / (select extract(epoch from '2026-08-04 17:32:27'::timestamp) - extract(epoch from '2026-08-04 17:32: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'), 48166, 'SRID=4674;POINT (-39.381385 -3.144607)', '2026-08-04 17:32:32', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381368 -3.144495)'), GeomFromEWKT('SRID=4674;POINT (-39.381385 -3.144607)'))) / (select extract(epoch from '2026-08-04 17:32:32'::timestamp) - extract(epoch from '2026-08-04 17:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381368 -3.144495)'), GeomFromEWKT('SRID=4674;POINT (-39.381385 -3.144607)'))) / (select extract(epoch from '2026-08-04 17:32:32'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.381406 -3.144752)', '2026-08-04 17:32:38', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381385 -3.144607)'), GeomFromEWKT('SRID=4674;POINT (-39.381406 -3.144752)'))) / (select extract(epoch from '2026-08-04 17:32:38'::timestamp) - extract(epoch from '2026-08-04 17:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381385 -3.144607)'), GeomFromEWKT('SRID=4674;POINT (-39.381406 -3.144752)'))) / (select extract(epoch from '2026-08-04 17:32:38'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.381418 -3.1449)', '2026-08-04 17:32:44', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381406 -3.144752)'), GeomFromEWKT('SRID=4674;POINT (-39.381418 -3.1449)'))) / (select extract(epoch from '2026-08-04 17:32:44'::timestamp) - extract(epoch from '2026-08-04 17:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381406 -3.144752)'), GeomFromEWKT('SRID=4674;POINT (-39.381418 -3.1449)'))) / (select extract(epoch from '2026-08-04 17:32:44'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.381423 -3.145054)', '2026-08-04 17:32:51', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381418 -3.1449)'), GeomFromEWKT('SRID=4674;POINT (-39.381423 -3.145054)'))) / (select extract(epoch from '2026-08-04 17:32:51'::timestamp) - extract(epoch from '2026-08-04 17:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381418 -3.1449)'), GeomFromEWKT('SRID=4674;POINT (-39.381423 -3.145054)'))) / (select extract(epoch from '2026-08-04 17:32:51'::timestamp) - extract(epoch from '2026-08-04 17:32: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'), 48166, 'SRID=4674;POINT (-39.381421 -3.145196)', '2026-08-04 17:32:58', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381423 -3.145054)'), GeomFromEWKT('SRID=4674;POINT (-39.381421 -3.145196)'))) / (select extract(epoch from '2026-08-04 17:32:58'::timestamp) - extract(epoch from '2026-08-04 17:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381423 -3.145054)'), GeomFromEWKT('SRID=4674;POINT (-39.381421 -3.145196)'))) / (select extract(epoch from '2026-08-04 17:32:58'::timestamp) - extract(epoch from '2026-08-04 17:32: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'), 48166, 'SRID=4674;POINT (-39.381432 -3.145349)', '2026-08-04 17:33:05', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381421 -3.145196)'), GeomFromEWKT('SRID=4674;POINT (-39.381432 -3.145349)'))) / (select extract(epoch from '2026-08-04 17:33:05'::timestamp) - extract(epoch from '2026-08-04 17:32:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381421 -3.145196)'), GeomFromEWKT('SRID=4674;POINT (-39.381432 -3.145349)'))) / (select extract(epoch from '2026-08-04 17:33:05'::timestamp) - extract(epoch from '2026-08-04 17:32: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'), 48166, 'SRID=4674;POINT (-39.38144 -3.145514)', '2026-08-04 17:33:13', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381432 -3.145349)'), GeomFromEWKT('SRID=4674;POINT (-39.38144 -3.145514)'))) / (select extract(epoch from '2026-08-04 17:33:13'::timestamp) - extract(epoch from '2026-08-04 17:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381432 -3.145349)'), GeomFromEWKT('SRID=4674;POINT (-39.38144 -3.145514)'))) / (select extract(epoch from '2026-08-04 17:33:13'::timestamp) - extract(epoch from '2026-08-04 17:33: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'), 48166, 'SRID=4674;POINT (-39.381466 -3.145651)', '2026-08-04 17:33:19', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38144 -3.145514)'), GeomFromEWKT('SRID=4674;POINT (-39.381466 -3.145651)'))) / (select extract(epoch from '2026-08-04 17:33:19'::timestamp) - extract(epoch from '2026-08-04 17:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38144 -3.145514)'), GeomFromEWKT('SRID=4674;POINT (-39.381466 -3.145651)'))) / (select extract(epoch from '2026-08-04 17:33:19'::timestamp) - extract(epoch from '2026-08-04 17:33:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.381483 -3.145764)', '2026-08-04 17:33:24', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381466 -3.145651)'), GeomFromEWKT('SRID=4674;POINT (-39.381483 -3.145764)'))) / (select extract(epoch from '2026-08-04 17:33:24'::timestamp) - extract(epoch from '2026-08-04 17:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381466 -3.145651)'), GeomFromEWKT('SRID=4674;POINT (-39.381483 -3.145764)'))) / (select extract(epoch from '2026-08-04 17:33:24'::timestamp) - extract(epoch from '2026-08-04 17:33: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'), 48166, 'SRID=4674;POINT (-39.381521 -3.145904)', '2026-08-04 17:33:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381483 -3.145764)'), GeomFromEWKT('SRID=4674;POINT (-39.381521 -3.145904)'))) / (select extract(epoch from '2026-08-04 17:33:30'::timestamp) - extract(epoch from '2026-08-04 17:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381483 -3.145764)'), GeomFromEWKT('SRID=4674;POINT (-39.381521 -3.145904)'))) / (select extract(epoch from '2026-08-04 17:33:30'::timestamp) - extract(epoch from '2026-08-04 17:33: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'), 48166, 'SRID=4674;POINT (-39.381556 -3.146041)', '2026-08-04 17:33:36', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381521 -3.145904)'), GeomFromEWKT('SRID=4674;POINT (-39.381556 -3.146041)'))) / (select extract(epoch from '2026-08-04 17:33:36'::timestamp) - extract(epoch from '2026-08-04 17:33:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381521 -3.145904)'), GeomFromEWKT('SRID=4674;POINT (-39.381556 -3.146041)'))) / (select extract(epoch from '2026-08-04 17:33:36'::timestamp) - extract(epoch from '2026-08-04 17:33: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'), 48166, 'SRID=4674;POINT (-39.381584 -3.146172)', '2026-08-04 17:33:42', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381556 -3.146041)'), GeomFromEWKT('SRID=4674;POINT (-39.381584 -3.146172)'))) / (select extract(epoch from '2026-08-04 17:33:42'::timestamp) - extract(epoch from '2026-08-04 17:33:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381556 -3.146041)'), GeomFromEWKT('SRID=4674;POINT (-39.381584 -3.146172)'))) / (select extract(epoch from '2026-08-04 17:33:42'::timestamp) - extract(epoch from '2026-08-04 17:33: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'), 48166, 'SRID=4674;POINT (-39.381596 -3.146294)', '2026-08-04 17:33:47', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381584 -3.146172)'), GeomFromEWKT('SRID=4674;POINT (-39.381596 -3.146294)'))) / (select extract(epoch from '2026-08-04 17:33:47'::timestamp) - extract(epoch from '2026-08-04 17:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381584 -3.146172)'), GeomFromEWKT('SRID=4674;POINT (-39.381596 -3.146294)'))) / (select extract(epoch from '2026-08-04 17:33:47'::timestamp) - extract(epoch from '2026-08-04 17:33: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'), 48166, 'SRID=4674;POINT (-39.381614 -3.146425)', '2026-08-04 17:33:53', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381596 -3.146294)'), GeomFromEWKT('SRID=4674;POINT (-39.381614 -3.146425)'))) / (select extract(epoch from '2026-08-04 17:33:53'::timestamp) - extract(epoch from '2026-08-04 17:33:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381596 -3.146294)'), GeomFromEWKT('SRID=4674;POINT (-39.381614 -3.146425)'))) / (select extract(epoch from '2026-08-04 17:33:53'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.381637 -3.146586)', '2026-08-04 17:34:00', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381614 -3.146425)'), GeomFromEWKT('SRID=4674;POINT (-39.381637 -3.146586)'))) / (select extract(epoch from '2026-08-04 17:34:00'::timestamp) - extract(epoch from '2026-08-04 17:33:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381614 -3.146425)'), GeomFromEWKT('SRID=4674;POINT (-39.381637 -3.146586)'))) / (select extract(epoch from '2026-08-04 17:34:00'::timestamp) - extract(epoch from '2026-08-04 17:33: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'), 48166, 'SRID=4674;POINT (-39.381665 -3.146721)', '2026-08-04 17:34:06', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381637 -3.146586)'), GeomFromEWKT('SRID=4674;POINT (-39.381665 -3.146721)'))) / (select extract(epoch from '2026-08-04 17:34:06'::timestamp) - extract(epoch from '2026-08-04 17:34:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381637 -3.146586)'), GeomFromEWKT('SRID=4674;POINT (-39.381665 -3.146721)'))) / (select extract(epoch from '2026-08-04 17:34:06'::timestamp) - extract(epoch from '2026-08-04 17:34:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.38169 -3.14683)', '2026-08-04 17:34:11', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381665 -3.146721)'), GeomFromEWKT('SRID=4674;POINT (-39.38169 -3.14683)'))) / (select extract(epoch from '2026-08-04 17:34:11'::timestamp) - extract(epoch from '2026-08-04 17:34:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381665 -3.146721)'), GeomFromEWKT('SRID=4674;POINT (-39.38169 -3.14683)'))) / (select extract(epoch from '2026-08-04 17:34:11'::timestamp) - extract(epoch from '2026-08-04 17:34: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'), 48166, 'SRID=4674;POINT (-39.381707 -3.146938)', '2026-08-04 17:34:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38169 -3.14683)'), GeomFromEWKT('SRID=4674;POINT (-39.381707 -3.146938)'))) / (select extract(epoch from '2026-08-04 17:34:16'::timestamp) - extract(epoch from '2026-08-04 17:34:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38169 -3.14683)'), GeomFromEWKT('SRID=4674;POINT (-39.381707 -3.146938)'))) / (select extract(epoch from '2026-08-04 17:34:16'::timestamp) - extract(epoch from '2026-08-04 17:34:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.381719 -3.147079)', '2026-08-04 17:34:23', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381707 -3.146938)'), GeomFromEWKT('SRID=4674;POINT (-39.381719 -3.147079)'))) / (select extract(epoch from '2026-08-04 17:34:23'::timestamp) - extract(epoch from '2026-08-04 17:34:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381707 -3.146938)'), GeomFromEWKT('SRID=4674;POINT (-39.381719 -3.147079)'))) / (select extract(epoch from '2026-08-04 17:34:23'::timestamp) - extract(epoch from '2026-08-04 17:34:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.381736 -3.147199)', '2026-08-04 17:34:28', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381719 -3.147079)'), GeomFromEWKT('SRID=4674;POINT (-39.381736 -3.147199)'))) / (select extract(epoch from '2026-08-04 17:34:28'::timestamp) - extract(epoch from '2026-08-04 17:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381719 -3.147079)'), GeomFromEWKT('SRID=4674;POINT (-39.381736 -3.147199)'))) / (select extract(epoch from '2026-08-04 17:34:28'::timestamp) - extract(epoch from '2026-08-04 17:34:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.381758 -3.147315)', '2026-08-04 17:34:33', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381736 -3.147199)'), GeomFromEWKT('SRID=4674;POINT (-39.381758 -3.147315)'))) / (select extract(epoch from '2026-08-04 17:34:33'::timestamp) - extract(epoch from '2026-08-04 17:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381736 -3.147199)'), GeomFromEWKT('SRID=4674;POINT (-39.381758 -3.147315)'))) / (select extract(epoch from '2026-08-04 17:34:33'::timestamp) - extract(epoch from '2026-08-04 17:34: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'), 48166, 'SRID=4674;POINT (-39.381772 -3.147439)', '2026-08-04 17:34:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381758 -3.147315)'), GeomFromEWKT('SRID=4674;POINT (-39.381772 -3.147439)'))) / (select extract(epoch from '2026-08-04 17:34:39'::timestamp) - extract(epoch from '2026-08-04 17:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381758 -3.147315)'), GeomFromEWKT('SRID=4674;POINT (-39.381772 -3.147439)'))) / (select extract(epoch from '2026-08-04 17:34:39'::timestamp) - extract(epoch from '2026-08-04 17:34: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'), 48166, 'SRID=4674;POINT (-39.381789 -3.147546)', '2026-08-04 17:34:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381772 -3.147439)'), GeomFromEWKT('SRID=4674;POINT (-39.381789 -3.147546)'))) / (select extract(epoch from '2026-08-04 17:34:44'::timestamp) - extract(epoch from '2026-08-04 17:34:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381772 -3.147439)'), GeomFromEWKT('SRID=4674;POINT (-39.381789 -3.147546)'))) / (select extract(epoch from '2026-08-04 17:34:44'::timestamp) - extract(epoch from '2026-08-04 17:34: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'), 48166, 'SRID=4674;POINT (-39.381798 -3.14759)', '2026-08-04 17:34:46', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381789 -3.147546)'), GeomFromEWKT('SRID=4674;POINT (-39.381798 -3.14759)'))) / (select extract(epoch from '2026-08-04 17:34:46'::timestamp) - extract(epoch from '2026-08-04 17:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381789 -3.147546)'), GeomFromEWKT('SRID=4674;POINT (-39.381798 -3.14759)'))) / (select extract(epoch from '2026-08-04 17:34:46'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.381804 -3.147648)', '2026-08-04 17:34:49', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381798 -3.14759)'), GeomFromEWKT('SRID=4674;POINT (-39.381804 -3.147648)'))) / (select extract(epoch from '2026-08-04 17:34:49'::timestamp) - extract(epoch from '2026-08-04 17:34:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381798 -3.14759)'), GeomFromEWKT('SRID=4674;POINT (-39.381804 -3.147648)'))) / (select extract(epoch from '2026-08-04 17:34:49'::timestamp) - extract(epoch from '2026-08-04 17:34: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'), 48166, 'SRID=4674;POINT (-39.38182 -3.147762)', '2026-08-04 17:34:54', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381804 -3.147648)'), GeomFromEWKT('SRID=4674;POINT (-39.38182 -3.147762)'))) / (select extract(epoch from '2026-08-04 17:34:54'::timestamp) - extract(epoch from '2026-08-04 17:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381804 -3.147648)'), GeomFromEWKT('SRID=4674;POINT (-39.38182 -3.147762)'))) / (select extract(epoch from '2026-08-04 17:34:54'::timestamp) - extract(epoch from '2026-08-04 17:34: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'), 48166, 'SRID=4674;POINT (-39.381847 -3.147884)', '2026-08-04 17:34:59', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38182 -3.147762)'), GeomFromEWKT('SRID=4674;POINT (-39.381847 -3.147884)'))) / (select extract(epoch from '2026-08-04 17:34:59'::timestamp) - extract(epoch from '2026-08-04 17:34:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38182 -3.147762)'), GeomFromEWKT('SRID=4674;POINT (-39.381847 -3.147884)'))) / (select extract(epoch from '2026-08-04 17:34:59'::timestamp) - extract(epoch from '2026-08-04 17:34:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.381866 -3.148004)', '2026-08-04 17:35:04', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381847 -3.147884)'), GeomFromEWKT('SRID=4674;POINT (-39.381866 -3.148004)'))) / (select extract(epoch from '2026-08-04 17:35:04'::timestamp) - extract(epoch from '2026-08-04 17:34:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381847 -3.147884)'), GeomFromEWKT('SRID=4674;POINT (-39.381866 -3.148004)'))) / (select extract(epoch from '2026-08-04 17:35:04'::timestamp) - extract(epoch from '2026-08-04 17:34: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'), 48166, 'SRID=4674;POINT (-39.381884 -3.148087)', '2026-08-04 17:35:08', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381866 -3.148004)'), GeomFromEWKT('SRID=4674;POINT (-39.381884 -3.148087)'))) / (select extract(epoch from '2026-08-04 17:35:08'::timestamp) - extract(epoch from '2026-08-04 17:35:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381866 -3.148004)'), GeomFromEWKT('SRID=4674;POINT (-39.381884 -3.148087)'))) / (select extract(epoch from '2026-08-04 17:35:08'::timestamp) - extract(epoch from '2026-08-04 17:35: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'), 48166, 'SRID=4674;POINT (-39.381911 -3.148225)', '2026-08-04 17:35:14', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381884 -3.148087)'), GeomFromEWKT('SRID=4674;POINT (-39.381911 -3.148225)'))) / (select extract(epoch from '2026-08-04 17:35:14'::timestamp) - extract(epoch from '2026-08-04 17:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381884 -3.148087)'), GeomFromEWKT('SRID=4674;POINT (-39.381911 -3.148225)'))) / (select extract(epoch from '2026-08-04 17:35:14'::timestamp) - extract(epoch from '2026-08-04 17:35: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'), 48166, 'SRID=4674;POINT (-39.381926 -3.148345)', '2026-08-04 17:35:19', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381911 -3.148225)'), GeomFromEWKT('SRID=4674;POINT (-39.381926 -3.148345)'))) / (select extract(epoch from '2026-08-04 17:35:19'::timestamp) - extract(epoch from '2026-08-04 17:35:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381911 -3.148225)'), GeomFromEWKT('SRID=4674;POINT (-39.381926 -3.148345)'))) / (select extract(epoch from '2026-08-04 17:35:19'::timestamp) - extract(epoch from '2026-08-04 17:35: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'), 48166, 'SRID=4674;POINT (-39.381946 -3.148485)', '2026-08-04 17:35:25', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381926 -3.148345)'), GeomFromEWKT('SRID=4674;POINT (-39.381946 -3.148485)'))) / (select extract(epoch from '2026-08-04 17:35:25'::timestamp) - extract(epoch from '2026-08-04 17:35:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381926 -3.148345)'), GeomFromEWKT('SRID=4674;POINT (-39.381946 -3.148485)'))) / (select extract(epoch from '2026-08-04 17:35:25'::timestamp) - extract(epoch from '2026-08-04 17:35: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'), 48166, 'SRID=4674;POINT (-39.381955 -3.148615)', '2026-08-04 17:35:31', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381946 -3.148485)'), GeomFromEWKT('SRID=4674;POINT (-39.381955 -3.148615)'))) / (select extract(epoch from '2026-08-04 17:35:31'::timestamp) - extract(epoch from '2026-08-04 17:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381946 -3.148485)'), GeomFromEWKT('SRID=4674;POINT (-39.381955 -3.148615)'))) / (select extract(epoch from '2026-08-04 17:35:31'::timestamp) - extract(epoch from '2026-08-04 17:35: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'), 48166, 'SRID=4674;POINT (-39.381957 -3.148751)', '2026-08-04 17:35:37', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381955 -3.148615)'), GeomFromEWKT('SRID=4674;POINT (-39.381957 -3.148751)'))) / (select extract(epoch from '2026-08-04 17:35:37'::timestamp) - extract(epoch from '2026-08-04 17:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381955 -3.148615)'), GeomFromEWKT('SRID=4674;POINT (-39.381957 -3.148751)'))) / (select extract(epoch from '2026-08-04 17:35:37'::timestamp) - extract(epoch from '2026-08-04 17:35: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'), 48166, 'SRID=4674;POINT (-39.381956 -3.148774)', '2026-08-04 17:35:38', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381957 -3.148751)'), GeomFromEWKT('SRID=4674;POINT (-39.381956 -3.148774)'))) / (select extract(epoch from '2026-08-04 17:35:38'::timestamp) - extract(epoch from '2026-08-04 17:35:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381957 -3.148751)'), GeomFromEWKT('SRID=4674;POINT (-39.381956 -3.148774)'))) / (select extract(epoch from '2026-08-04 17:35:38'::timestamp) - extract(epoch from '2026-08-04 17:35:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.381958 -3.148855)', '2026-08-04 17:35:42', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381956 -3.148774)'), GeomFromEWKT('SRID=4674;POINT (-39.381958 -3.148855)'))) / (select extract(epoch from '2026-08-04 17:35:42'::timestamp) - extract(epoch from '2026-08-04 17:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381956 -3.148774)'), GeomFromEWKT('SRID=4674;POINT (-39.381958 -3.148855)'))) / (select extract(epoch from '2026-08-04 17:35:42'::timestamp) - extract(epoch from '2026-08-04 17:35: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'), 48166, 'SRID=4674;POINT (-39.381977 -3.14901)', '2026-08-04 17:35:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381958 -3.148855)'), GeomFromEWKT('SRID=4674;POINT (-39.381977 -3.14901)'))) / (select extract(epoch from '2026-08-04 17:35:49'::timestamp) - extract(epoch from '2026-08-04 17:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381958 -3.148855)'), GeomFromEWKT('SRID=4674;POINT (-39.381977 -3.14901)'))) / (select extract(epoch from '2026-08-04 17:35:49'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.381989 -3.149126)', '2026-08-04 17:35:54', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381977 -3.14901)'), GeomFromEWKT('SRID=4674;POINT (-39.381989 -3.149126)'))) / (select extract(epoch from '2026-08-04 17:35:54'::timestamp) - extract(epoch from '2026-08-04 17:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381977 -3.14901)'), GeomFromEWKT('SRID=4674;POINT (-39.381989 -3.149126)'))) / (select extract(epoch from '2026-08-04 17:35:54'::timestamp) - extract(epoch from '2026-08-04 17:35: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'), 48166, 'SRID=4674;POINT (-39.38203 -3.149288)', '2026-08-04 17:36:01', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381989 -3.149126)'), GeomFromEWKT('SRID=4674;POINT (-39.38203 -3.149288)'))) / (select extract(epoch from '2026-08-04 17:36:01'::timestamp) - extract(epoch from '2026-08-04 17:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381989 -3.149126)'), GeomFromEWKT('SRID=4674;POINT (-39.38203 -3.149288)'))) / (select extract(epoch from '2026-08-04 17:36:01'::timestamp) - extract(epoch from '2026-08-04 17:35:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382046 -3.149423)', '2026-08-04 17:36:07', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38203 -3.149288)'), GeomFromEWKT('SRID=4674;POINT (-39.382046 -3.149423)'))) / (select extract(epoch from '2026-08-04 17:36:07'::timestamp) - extract(epoch from '2026-08-04 17:36:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38203 -3.149288)'), GeomFromEWKT('SRID=4674;POINT (-39.382046 -3.149423)'))) / (select extract(epoch from '2026-08-04 17:36:07'::timestamp) - extract(epoch from '2026-08-04 17:36: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'), 48166, 'SRID=4674;POINT (-39.38205 -3.14956)', '2026-08-04 17:36:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382046 -3.149423)'), GeomFromEWKT('SRID=4674;POINT (-39.38205 -3.14956)'))) / (select extract(epoch from '2026-08-04 17:36:13'::timestamp) - extract(epoch from '2026-08-04 17:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382046 -3.149423)'), GeomFromEWKT('SRID=4674;POINT (-39.38205 -3.14956)'))) / (select extract(epoch from '2026-08-04 17:36:13'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.382072 -3.149656)', '2026-08-04 17:36:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38205 -3.14956)'), GeomFromEWKT('SRID=4674;POINT (-39.382072 -3.149656)'))) / (select extract(epoch from '2026-08-04 17:36:17'::timestamp) - extract(epoch from '2026-08-04 17:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38205 -3.14956)'), GeomFromEWKT('SRID=4674;POINT (-39.382072 -3.149656)'))) / (select extract(epoch from '2026-08-04 17:36:17'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.382078 -3.149766)', '2026-08-04 17:36:22', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382072 -3.149656)'), GeomFromEWKT('SRID=4674;POINT (-39.382078 -3.149766)'))) / (select extract(epoch from '2026-08-04 17:36:22'::timestamp) - extract(epoch from '2026-08-04 17:36:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382072 -3.149656)'), GeomFromEWKT('SRID=4674;POINT (-39.382078 -3.149766)'))) / (select extract(epoch from '2026-08-04 17:36:22'::timestamp) - extract(epoch from '2026-08-04 17:36: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'), 48166, 'SRID=4674;POINT (-39.382079 -3.14991)', '2026-08-04 17:36:28', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382078 -3.149766)'), GeomFromEWKT('SRID=4674;POINT (-39.382079 -3.14991)'))) / (select extract(epoch from '2026-08-04 17:36:28'::timestamp) - extract(epoch from '2026-08-04 17:36:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382078 -3.149766)'), GeomFromEWKT('SRID=4674;POINT (-39.382079 -3.14991)'))) / (select extract(epoch from '2026-08-04 17:36:28'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.382089 -3.150097)', '2026-08-04 17:36:36', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382079 -3.14991)'), GeomFromEWKT('SRID=4674;POINT (-39.382089 -3.150097)'))) / (select extract(epoch from '2026-08-04 17:36:36'::timestamp) - extract(epoch from '2026-08-04 17:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382079 -3.14991)'), GeomFromEWKT('SRID=4674;POINT (-39.382089 -3.150097)'))) / (select extract(epoch from '2026-08-04 17:36:36'::timestamp) - extract(epoch from '2026-08-04 17:36:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.3821 -3.15021)', '2026-08-04 17:36:41', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382089 -3.150097)'), GeomFromEWKT('SRID=4674;POINT (-39.3821 -3.15021)'))) / (select extract(epoch from '2026-08-04 17:36:41'::timestamp) - extract(epoch from '2026-08-04 17:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382089 -3.150097)'), GeomFromEWKT('SRID=4674;POINT (-39.3821 -3.15021)'))) / (select extract(epoch from '2026-08-04 17:36:41'::timestamp) - extract(epoch from '2026-08-04 17:36: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'), 48166, 'SRID=4674;POINT (-39.382118 -3.150341)', '2026-08-04 17:36:47', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3821 -3.15021)'), GeomFromEWKT('SRID=4674;POINT (-39.382118 -3.150341)'))) / (select extract(epoch from '2026-08-04 17:36:47'::timestamp) - extract(epoch from '2026-08-04 17:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3821 -3.15021)'), GeomFromEWKT('SRID=4674;POINT (-39.382118 -3.150341)'))) / (select extract(epoch from '2026-08-04 17:36:47'::timestamp) - extract(epoch from '2026-08-04 17:36: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'), 48166, 'SRID=4674;POINT (-39.382147 -3.150457)', '2026-08-04 17:36:52', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382118 -3.150341)'), GeomFromEWKT('SRID=4674;POINT (-39.382147 -3.150457)'))) / (select extract(epoch from '2026-08-04 17:36:52'::timestamp) - extract(epoch from '2026-08-04 17:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382118 -3.150341)'), GeomFromEWKT('SRID=4674;POINT (-39.382147 -3.150457)'))) / (select extract(epoch from '2026-08-04 17:36:52'::timestamp) - extract(epoch from '2026-08-04 17:36:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382167 -3.15059)', '2026-08-04 17:36:58', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382147 -3.150457)'), GeomFromEWKT('SRID=4674;POINT (-39.382167 -3.15059)'))) / (select extract(epoch from '2026-08-04 17:36:58'::timestamp) - extract(epoch from '2026-08-04 17:36:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382147 -3.150457)'), GeomFromEWKT('SRID=4674;POINT (-39.382167 -3.15059)'))) / (select extract(epoch from '2026-08-04 17:36:58'::timestamp) - extract(epoch from '2026-08-04 17:36: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'), 48166, 'SRID=4674;POINT (-39.38217 -3.150732)', '2026-08-04 17:37:04', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382167 -3.15059)'), GeomFromEWKT('SRID=4674;POINT (-39.38217 -3.150732)'))) / (select extract(epoch from '2026-08-04 17:37:04'::timestamp) - extract(epoch from '2026-08-04 17:36:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382167 -3.15059)'), GeomFromEWKT('SRID=4674;POINT (-39.38217 -3.150732)'))) / (select extract(epoch from '2026-08-04 17:37:04'::timestamp) - extract(epoch from '2026-08-04 17:36: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'), 48166, 'SRID=4674;POINT (-39.382171 -3.15087)', '2026-08-04 17:37:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38217 -3.150732)'), GeomFromEWKT('SRID=4674;POINT (-39.382171 -3.15087)'))) / (select extract(epoch from '2026-08-04 17:37:10'::timestamp) - extract(epoch from '2026-08-04 17:37:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38217 -3.150732)'), GeomFromEWKT('SRID=4674;POINT (-39.382171 -3.15087)'))) / (select extract(epoch from '2026-08-04 17:37:10'::timestamp) - extract(epoch from '2026-08-04 17:37:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382184 -3.150938)', '2026-08-04 17:37:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382171 -3.15087)'), GeomFromEWKT('SRID=4674;POINT (-39.382184 -3.150938)'))) / (select extract(epoch from '2026-08-04 17:37:13'::timestamp) - extract(epoch from '2026-08-04 17:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382171 -3.15087)'), GeomFromEWKT('SRID=4674;POINT (-39.382184 -3.150938)'))) / (select extract(epoch from '2026-08-04 17:37:13'::timestamp) - extract(epoch from '2026-08-04 17:37:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382185 -3.150981)', '2026-08-04 17:37:15', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382184 -3.150938)'), GeomFromEWKT('SRID=4674;POINT (-39.382185 -3.150981)'))) / (select extract(epoch from '2026-08-04 17:37:15'::timestamp) - extract(epoch from '2026-08-04 17:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382184 -3.150938)'), GeomFromEWKT('SRID=4674;POINT (-39.382185 -3.150981)'))) / (select extract(epoch from '2026-08-04 17:37:15'::timestamp) - extract(epoch from '2026-08-04 17:37: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'), 48166, 'SRID=4674;POINT (-39.382179 -3.151073)', '2026-08-04 17:37:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382185 -3.150981)'), GeomFromEWKT('SRID=4674;POINT (-39.382179 -3.151073)'))) / (select extract(epoch from '2026-08-04 17:37:19'::timestamp) - extract(epoch from '2026-08-04 17:37:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382185 -3.150981)'), GeomFromEWKT('SRID=4674;POINT (-39.382179 -3.151073)'))) / (select extract(epoch from '2026-08-04 17:37:19'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.382195 -3.151241)', '2026-08-04 17:37:26', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382179 -3.151073)'), GeomFromEWKT('SRID=4674;POINT (-39.382195 -3.151241)'))) / (select extract(epoch from '2026-08-04 17:37:26'::timestamp) - extract(epoch from '2026-08-04 17:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382179 -3.151073)'), GeomFromEWKT('SRID=4674;POINT (-39.382195 -3.151241)'))) / (select extract(epoch from '2026-08-04 17:37:26'::timestamp) - extract(epoch from '2026-08-04 17:37:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382195 -3.151361)', '2026-08-04 17:37:31', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382195 -3.151241)'), GeomFromEWKT('SRID=4674;POINT (-39.382195 -3.151361)'))) / (select extract(epoch from '2026-08-04 17:37:31'::timestamp) - extract(epoch from '2026-08-04 17:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382195 -3.151241)'), GeomFromEWKT('SRID=4674;POINT (-39.382195 -3.151361)'))) / (select extract(epoch from '2026-08-04 17:37:31'::timestamp) - extract(epoch from '2026-08-04 17:37:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382213 -3.151501)', '2026-08-04 17:37:37', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382195 -3.151361)'), GeomFromEWKT('SRID=4674;POINT (-39.382213 -3.151501)'))) / (select extract(epoch from '2026-08-04 17:37:37'::timestamp) - extract(epoch from '2026-08-04 17:37:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382195 -3.151361)'), GeomFromEWKT('SRID=4674;POINT (-39.382213 -3.151501)'))) / (select extract(epoch from '2026-08-04 17:37:37'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.382221 -3.151613)', '2026-08-04 17:37:42', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382213 -3.151501)'), GeomFromEWKT('SRID=4674;POINT (-39.382221 -3.151613)'))) / (select extract(epoch from '2026-08-04 17:37:42'::timestamp) - extract(epoch from '2026-08-04 17:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382213 -3.151501)'), GeomFromEWKT('SRID=4674;POINT (-39.382221 -3.151613)'))) / (select extract(epoch from '2026-08-04 17:37:42'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.382225 -3.151747)', '2026-08-04 17:37:48', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382221 -3.151613)'), GeomFromEWKT('SRID=4674;POINT (-39.382225 -3.151747)'))) / (select extract(epoch from '2026-08-04 17:37:48'::timestamp) - extract(epoch from '2026-08-04 17:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382221 -3.151613)'), GeomFromEWKT('SRID=4674;POINT (-39.382225 -3.151747)'))) / (select extract(epoch from '2026-08-04 17:37:48'::timestamp) - extract(epoch from '2026-08-04 17:37: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'), 48166, 'SRID=4674;POINT (-39.382224 -3.151832)', '2026-08-04 17:37:52', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382225 -3.151747)'), GeomFromEWKT('SRID=4674;POINT (-39.382224 -3.151832)'))) / (select extract(epoch from '2026-08-04 17:37:52'::timestamp) - extract(epoch from '2026-08-04 17:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382225 -3.151747)'), GeomFromEWKT('SRID=4674;POINT (-39.382224 -3.151832)'))) / (select extract(epoch from '2026-08-04 17:37:52'::timestamp) - extract(epoch from '2026-08-04 17:37:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382236 -3.151949)', '2026-08-04 17:37:57', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382224 -3.151832)'), GeomFromEWKT('SRID=4674;POINT (-39.382236 -3.151949)'))) / (select extract(epoch from '2026-08-04 17:37:57'::timestamp) - extract(epoch from '2026-08-04 17:37:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382224 -3.151832)'), GeomFromEWKT('SRID=4674;POINT (-39.382236 -3.151949)'))) / (select extract(epoch from '2026-08-04 17:37:57'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.382228 -3.151989)', '2026-08-04 17:37:59', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382236 -3.151949)'), GeomFromEWKT('SRID=4674;POINT (-39.382228 -3.151989)'))) / (select extract(epoch from '2026-08-04 17:37:59'::timestamp) - extract(epoch from '2026-08-04 17:37:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382236 -3.151949)'), GeomFromEWKT('SRID=4674;POINT (-39.382228 -3.151989)'))) / (select extract(epoch from '2026-08-04 17:37:59'::timestamp) - extract(epoch from '2026-08-04 17:37: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'), 48166, 'SRID=4674;POINT (-39.382241 -3.152068)', '2026-08-04 17:38:02', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382228 -3.151989)'), GeomFromEWKT('SRID=4674;POINT (-39.382241 -3.152068)'))) / (select extract(epoch from '2026-08-04 17:38:02'::timestamp) - extract(epoch from '2026-08-04 17:37:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382228 -3.151989)'), GeomFromEWKT('SRID=4674;POINT (-39.382241 -3.152068)'))) / (select extract(epoch from '2026-08-04 17:38:02'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.382236 -3.152086)', '2026-08-04 17:38:03', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382241 -3.152068)'), GeomFromEWKT('SRID=4674;POINT (-39.382236 -3.152086)'))) / (select extract(epoch from '2026-08-04 17:38:03'::timestamp) - extract(epoch from '2026-08-04 17:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382241 -3.152068)'), GeomFromEWKT('SRID=4674;POINT (-39.382236 -3.152086)'))) / (select extract(epoch from '2026-08-04 17:38:03'::timestamp) - extract(epoch from '2026-08-04 17:38: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'), 48166, 'SRID=4674;POINT (-39.382224 -3.152123)', '2026-08-04 17:38:05', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382236 -3.152086)'), GeomFromEWKT('SRID=4674;POINT (-39.382224 -3.152123)'))) / (select extract(epoch from '2026-08-04 17:38:05'::timestamp) - extract(epoch from '2026-08-04 17:38:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382236 -3.152086)'), GeomFromEWKT('SRID=4674;POINT (-39.382224 -3.152123)'))) / (select extract(epoch from '2026-08-04 17:38:05'::timestamp) - extract(epoch from '2026-08-04 17:38: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'), 48166, 'SRID=4674;POINT (-39.382226 -3.152149)', '2026-08-04 17:38:06', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382224 -3.152123)'), GeomFromEWKT('SRID=4674;POINT (-39.382226 -3.152149)'))) / (select extract(epoch from '2026-08-04 17:38:06'::timestamp) - extract(epoch from '2026-08-04 17:38:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382224 -3.152123)'), GeomFromEWKT('SRID=4674;POINT (-39.382226 -3.152149)'))) / (select extract(epoch from '2026-08-04 17:38:06'::timestamp) - extract(epoch from '2026-08-04 17:38: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'), 48166, 'SRID=4674;POINT (-39.382221 -3.152259)', '2026-08-04 17:38:11', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382226 -3.152149)'), GeomFromEWKT('SRID=4674;POINT (-39.382221 -3.152259)'))) / (select extract(epoch from '2026-08-04 17:38:11'::timestamp) - extract(epoch from '2026-08-04 17:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382226 -3.152149)'), GeomFromEWKT('SRID=4674;POINT (-39.382221 -3.152259)'))) / (select extract(epoch from '2026-08-04 17:38:11'::timestamp) - extract(epoch from '2026-08-04 17:38:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382228 -3.152375)', '2026-08-04 17:38:16', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382221 -3.152259)'), GeomFromEWKT('SRID=4674;POINT (-39.382228 -3.152375)'))) / (select extract(epoch from '2026-08-04 17:38:16'::timestamp) - extract(epoch from '2026-08-04 17:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382221 -3.152259)'), GeomFromEWKT('SRID=4674;POINT (-39.382228 -3.152375)'))) / (select extract(epoch from '2026-08-04 17:38:16'::timestamp) - extract(epoch from '2026-08-04 17:38:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382234 -3.152486)', '2026-08-04 17:38:21', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382228 -3.152375)'), GeomFromEWKT('SRID=4674;POINT (-39.382234 -3.152486)'))) / (select extract(epoch from '2026-08-04 17:38:21'::timestamp) - extract(epoch from '2026-08-04 17:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382228 -3.152375)'), GeomFromEWKT('SRID=4674;POINT (-39.382234 -3.152486)'))) / (select extract(epoch from '2026-08-04 17:38:21'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.382243 -3.152512)', '2026-08-04 17:38:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382234 -3.152486)'), GeomFromEWKT('SRID=4674;POINT (-39.382243 -3.152512)'))) / (select extract(epoch from '2026-08-04 17:38:22'::timestamp) - extract(epoch from '2026-08-04 17:38:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382234 -3.152486)'), GeomFromEWKT('SRID=4674;POINT (-39.382243 -3.152512)'))) / (select extract(epoch from '2026-08-04 17:38:22'::timestamp) - extract(epoch from '2026-08-04 17:38: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'), 48166, 'SRID=4674;POINT (-39.382251 -3.152618)', '2026-08-04 17:38:27', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382243 -3.152512)'), GeomFromEWKT('SRID=4674;POINT (-39.382251 -3.152618)'))) / (select extract(epoch from '2026-08-04 17:38:27'::timestamp) - extract(epoch from '2026-08-04 17:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382243 -3.152512)'), GeomFromEWKT('SRID=4674;POINT (-39.382251 -3.152618)'))) / (select extract(epoch from '2026-08-04 17:38:27'::timestamp) - extract(epoch from '2026-08-04 17:38: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'), 48166, 'SRID=4674;POINT (-39.382247 -3.152749)', '2026-08-04 17:38:33', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382251 -3.152618)'), GeomFromEWKT('SRID=4674;POINT (-39.382247 -3.152749)'))) / (select extract(epoch from '2026-08-04 17:38:33'::timestamp) - extract(epoch from '2026-08-04 17:38:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382251 -3.152618)'), GeomFromEWKT('SRID=4674;POINT (-39.382247 -3.152749)'))) / (select extract(epoch from '2026-08-04 17:38:33'::timestamp) - extract(epoch from '2026-08-04 17:38: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'), 48166, 'SRID=4674;POINT (-39.38225 -3.152877)', '2026-08-04 17:38:39', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382247 -3.152749)'), GeomFromEWKT('SRID=4674;POINT (-39.38225 -3.152877)'))) / (select extract(epoch from '2026-08-04 17:38:39'::timestamp) - extract(epoch from '2026-08-04 17:38:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382247 -3.152749)'), GeomFromEWKT('SRID=4674;POINT (-39.38225 -3.152877)'))) / (select extract(epoch from '2026-08-04 17:38:39'::timestamp) - extract(epoch from '2026-08-04 17:38: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'), 48166, 'SRID=4674;POINT (-39.382256 -3.153004)', '2026-08-04 17:38:45', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38225 -3.152877)'), GeomFromEWKT('SRID=4674;POINT (-39.382256 -3.153004)'))) / (select extract(epoch from '2026-08-04 17:38:45'::timestamp) - extract(epoch from '2026-08-04 17:38:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38225 -3.152877)'), GeomFromEWKT('SRID=4674;POINT (-39.382256 -3.153004)'))) / (select extract(epoch from '2026-08-04 17:38:45'::timestamp) - extract(epoch from '2026-08-04 17:38: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'), 48166, 'SRID=4674;POINT (-39.382259 -3.153153)', '2026-08-04 17:38:52', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382256 -3.153004)'), GeomFromEWKT('SRID=4674;POINT (-39.382259 -3.153153)'))) / (select extract(epoch from '2026-08-04 17:38:52'::timestamp) - extract(epoch from '2026-08-04 17:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382256 -3.153004)'), GeomFromEWKT('SRID=4674;POINT (-39.382259 -3.153153)'))) / (select extract(epoch from '2026-08-04 17:38:52'::timestamp) - extract(epoch from '2026-08-04 17:38: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'), 48166, 'SRID=4674;POINT (-39.382262 -3.153255)', '2026-08-04 17:38:57', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382259 -3.153153)'), GeomFromEWKT('SRID=4674;POINT (-39.382262 -3.153255)'))) / (select extract(epoch from '2026-08-04 17:38:57'::timestamp) - extract(epoch from '2026-08-04 17:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382259 -3.153153)'), GeomFromEWKT('SRID=4674;POINT (-39.382262 -3.153255)'))) / (select extract(epoch from '2026-08-04 17:38:57'::timestamp) - extract(epoch from '2026-08-04 17:38: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'), 48166, 'SRID=4674;POINT (-39.382267 -3.153341)', '2026-08-04 17:39:01', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382262 -3.153255)'), GeomFromEWKT('SRID=4674;POINT (-39.382267 -3.153341)'))) / (select extract(epoch from '2026-08-04 17:39:01'::timestamp) - extract(epoch from '2026-08-04 17:38:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382262 -3.153255)'), GeomFromEWKT('SRID=4674;POINT (-39.382267 -3.153341)'))) / (select extract(epoch from '2026-08-04 17:39:01'::timestamp) - extract(epoch from '2026-08-04 17:38:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382278 -3.153364)', '2026-08-04 17:39:02', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382267 -3.153341)'), GeomFromEWKT('SRID=4674;POINT (-39.382278 -3.153364)'))) / (select extract(epoch from '2026-08-04 17:39:02'::timestamp) - extract(epoch from '2026-08-04 17:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382267 -3.153341)'), GeomFromEWKT('SRID=4674;POINT (-39.382278 -3.153364)'))) / (select extract(epoch from '2026-08-04 17:39:02'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48166, 'SRID=4674;POINT (-39.382297 -3.153475)', '2026-08-04 17:39:07', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382278 -3.153364)'), GeomFromEWKT('SRID=4674;POINT (-39.382297 -3.153475)'))) / (select extract(epoch from '2026-08-04 17:39:07'::timestamp) - extract(epoch from '2026-08-04 17:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382278 -3.153364)'), GeomFromEWKT('SRID=4674;POINT (-39.382297 -3.153475)'))) / (select extract(epoch from '2026-08-04 17:39:07'::timestamp) - extract(epoch from '2026-08-04 17:39:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382301 -3.153571)', '2026-08-04 17:39:11', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382297 -3.153475)'), GeomFromEWKT('SRID=4674;POINT (-39.382301 -3.153571)'))) / (select extract(epoch from '2026-08-04 17:39:11'::timestamp) - extract(epoch from '2026-08-04 17:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382297 -3.153475)'), GeomFromEWKT('SRID=4674;POINT (-39.382301 -3.153571)'))) / (select extract(epoch from '2026-08-04 17:39:11'::timestamp) - extract(epoch from '2026-08-04 17:39:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382312 -3.153752)', '2026-08-04 17:39:19', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382301 -3.153571)'), GeomFromEWKT('SRID=4674;POINT (-39.382312 -3.153752)'))) / (select extract(epoch from '2026-08-04 17:39:19'::timestamp) - extract(epoch from '2026-08-04 17:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382301 -3.153571)'), GeomFromEWKT('SRID=4674;POINT (-39.382312 -3.153752)'))) / (select extract(epoch from '2026-08-04 17:39:19'::timestamp) - extract(epoch from '2026-08-04 17:39:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382323 -3.153908)', '2026-08-04 17:39:26', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382312 -3.153752)'), GeomFromEWKT('SRID=4674;POINT (-39.382323 -3.153908)'))) / (select extract(epoch from '2026-08-04 17:39:26'::timestamp) - extract(epoch from '2026-08-04 17:39:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382312 -3.153752)'), GeomFromEWKT('SRID=4674;POINT (-39.382323 -3.153908)'))) / (select extract(epoch from '2026-08-04 17:39:26'::timestamp) - extract(epoch from '2026-08-04 17:39:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382325 -3.154053)', '2026-08-04 17:39:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382323 -3.153908)'), GeomFromEWKT('SRID=4674;POINT (-39.382325 -3.154053)'))) / (select extract(epoch from '2026-08-04 17:39:32'::timestamp) - extract(epoch from '2026-08-04 17:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382323 -3.153908)'), GeomFromEWKT('SRID=4674;POINT (-39.382325 -3.154053)'))) / (select extract(epoch from '2026-08-04 17:39:32'::timestamp) - extract(epoch from '2026-08-04 17:39:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382338 -3.154202)', '2026-08-04 17:39:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382325 -3.154053)'), GeomFromEWKT('SRID=4674;POINT (-39.382338 -3.154202)'))) / (select extract(epoch from '2026-08-04 17:39:38'::timestamp) - extract(epoch from '2026-08-04 17:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382325 -3.154053)'), GeomFromEWKT('SRID=4674;POINT (-39.382338 -3.154202)'))) / (select extract(epoch from '2026-08-04 17:39:38'::timestamp) - extract(epoch from '2026-08-04 17:39:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382342 -3.154337)', '2026-08-04 17:39:44', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382338 -3.154202)'), GeomFromEWKT('SRID=4674;POINT (-39.382342 -3.154337)'))) / (select extract(epoch from '2026-08-04 17:39:44'::timestamp) - extract(epoch from '2026-08-04 17:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382338 -3.154202)'), GeomFromEWKT('SRID=4674;POINT (-39.382342 -3.154337)'))) / (select extract(epoch from '2026-08-04 17:39:44'::timestamp) - extract(epoch from '2026-08-04 17:39:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382348 -3.154454)', '2026-08-04 17:39:49', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382342 -3.154337)'), GeomFromEWKT('SRID=4674;POINT (-39.382348 -3.154454)'))) / (select extract(epoch from '2026-08-04 17:39:49'::timestamp) - extract(epoch from '2026-08-04 17:39:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382342 -3.154337)'), GeomFromEWKT('SRID=4674;POINT (-39.382348 -3.154454)'))) / (select extract(epoch from '2026-08-04 17:39:49'::timestamp) - extract(epoch from '2026-08-04 17:39:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382355 -3.154587)', '2026-08-04 17:39:55', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382348 -3.154454)'), GeomFromEWKT('SRID=4674;POINT (-39.382355 -3.154587)'))) / (select extract(epoch from '2026-08-04 17:39:55'::timestamp) - extract(epoch from '2026-08-04 17:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382348 -3.154454)'), GeomFromEWKT('SRID=4674;POINT (-39.382355 -3.154587)'))) / (select extract(epoch from '2026-08-04 17:39:55'::timestamp) - extract(epoch from '2026-08-04 17:39:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382365 -3.154707)', '2026-08-04 17:40:00', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382355 -3.154587)'), GeomFromEWKT('SRID=4674;POINT (-39.382365 -3.154707)'))) / (select extract(epoch from '2026-08-04 17:40:00'::timestamp) - extract(epoch from '2026-08-04 17:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382355 -3.154587)'), GeomFromEWKT('SRID=4674;POINT (-39.382365 -3.154707)'))) / (select extract(epoch from '2026-08-04 17:40:00'::timestamp) - extract(epoch from '2026-08-04 17:39:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382368 -3.154849)', '2026-08-04 17:40:06', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382365 -3.154707)'), GeomFromEWKT('SRID=4674;POINT (-39.382368 -3.154849)'))) / (select extract(epoch from '2026-08-04 17:40:06'::timestamp) - extract(epoch from '2026-08-04 17:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382365 -3.154707)'), GeomFromEWKT('SRID=4674;POINT (-39.382368 -3.154849)'))) / (select extract(epoch from '2026-08-04 17:40:06'::timestamp) - extract(epoch from '2026-08-04 17:40:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382371 -3.155011)', '2026-08-04 17:40:13', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382368 -3.154849)'), GeomFromEWKT('SRID=4674;POINT (-39.382371 -3.155011)'))) / (select extract(epoch from '2026-08-04 17:40:13'::timestamp) - extract(epoch from '2026-08-04 17:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382368 -3.154849)'), GeomFromEWKT('SRID=4674;POINT (-39.382371 -3.155011)'))) / (select extract(epoch from '2026-08-04 17:40:13'::timestamp) - extract(epoch from '2026-08-04 17:40:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382377 -3.155129)', '2026-08-04 17:40:18', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382371 -3.155011)'), GeomFromEWKT('SRID=4674;POINT (-39.382377 -3.155129)'))) / (select extract(epoch from '2026-08-04 17:40:18'::timestamp) - extract(epoch from '2026-08-04 17:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382371 -3.155011)'), GeomFromEWKT('SRID=4674;POINT (-39.382377 -3.155129)'))) / (select extract(epoch from '2026-08-04 17:40:18'::timestamp) - extract(epoch from '2026-08-04 17:40:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.3824 -3.15525)', '2026-08-04 17:40:23', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382377 -3.155129)'), GeomFromEWKT('SRID=4674;POINT (-39.3824 -3.15525)'))) / (select extract(epoch from '2026-08-04 17:40:23'::timestamp) - extract(epoch from '2026-08-04 17:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382377 -3.155129)'), GeomFromEWKT('SRID=4674;POINT (-39.3824 -3.15525)'))) / (select extract(epoch from '2026-08-04 17:40:23'::timestamp) - extract(epoch from '2026-08-04 17:40:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382408 -3.155392)', '2026-08-04 17:40:29', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3824 -3.15525)'), GeomFromEWKT('SRID=4674;POINT (-39.382408 -3.155392)'))) / (select extract(epoch from '2026-08-04 17:40:29'::timestamp) - extract(epoch from '2026-08-04 17:40:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3824 -3.15525)'), GeomFromEWKT('SRID=4674;POINT (-39.382408 -3.155392)'))) / (select extract(epoch from '2026-08-04 17:40:29'::timestamp) - extract(epoch from '2026-08-04 17:40:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382421 -3.155503)', '2026-08-04 17:40:34', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382408 -3.155392)'), GeomFromEWKT('SRID=4674;POINT (-39.382421 -3.155503)'))) / (select extract(epoch from '2026-08-04 17:40:34'::timestamp) - extract(epoch from '2026-08-04 17:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382408 -3.155392)'), GeomFromEWKT('SRID=4674;POINT (-39.382421 -3.155503)'))) / (select extract(epoch from '2026-08-04 17:40:34'::timestamp) - extract(epoch from '2026-08-04 17:40:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382425 -3.155661)', '2026-08-04 17:40:41', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382421 -3.155503)'), GeomFromEWKT('SRID=4674;POINT (-39.382425 -3.155661)'))) / (select extract(epoch from '2026-08-04 17:40:41'::timestamp) - extract(epoch from '2026-08-04 17:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382421 -3.155503)'), GeomFromEWKT('SRID=4674;POINT (-39.382425 -3.155661)'))) / (select extract(epoch from '2026-08-04 17:40:41'::timestamp) - extract(epoch from '2026-08-04 17:40:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382434 -3.155864)', '2026-08-04 17:40:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382425 -3.155661)'), GeomFromEWKT('SRID=4674;POINT (-39.382434 -3.155864)'))) / (select extract(epoch from '2026-08-04 17:40:50'::timestamp) - extract(epoch from '2026-08-04 17:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382425 -3.155661)'), GeomFromEWKT('SRID=4674;POINT (-39.382434 -3.155864)'))) / (select extract(epoch from '2026-08-04 17:40:50'::timestamp) - extract(epoch from '2026-08-04 17:40:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382442 -3.156035)', '2026-08-04 17:40:57', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382434 -3.155864)'), GeomFromEWKT('SRID=4674;POINT (-39.382442 -3.156035)'))) / (select extract(epoch from '2026-08-04 17:40:57'::timestamp) - extract(epoch from '2026-08-04 17:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382434 -3.155864)'), GeomFromEWKT('SRID=4674;POINT (-39.382442 -3.156035)'))) / (select extract(epoch from '2026-08-04 17:40:57'::timestamp) - extract(epoch from '2026-08-04 17:40:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382467 -3.156172)', '2026-08-04 17:41:03', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382442 -3.156035)'), GeomFromEWKT('SRID=4674;POINT (-39.382467 -3.156172)'))) / (select extract(epoch from '2026-08-04 17:41:03'::timestamp) - extract(epoch from '2026-08-04 17:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382442 -3.156035)'), GeomFromEWKT('SRID=4674;POINT (-39.382467 -3.156172)'))) / (select extract(epoch from '2026-08-04 17:41:03'::timestamp) - extract(epoch from '2026-08-04 17:40:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382475 -3.156304)', '2026-08-04 17:41:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382467 -3.156172)'), GeomFromEWKT('SRID=4674;POINT (-39.382475 -3.156304)'))) / (select extract(epoch from '2026-08-04 17:41:09'::timestamp) - extract(epoch from '2026-08-04 17:41:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382467 -3.156172)'), GeomFromEWKT('SRID=4674;POINT (-39.382475 -3.156304)'))) / (select extract(epoch from '2026-08-04 17:41:09'::timestamp) - extract(epoch from '2026-08-04 17:41:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382484 -3.156436)', '2026-08-04 17:41:15', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382475 -3.156304)'), GeomFromEWKT('SRID=4674;POINT (-39.382484 -3.156436)'))) / (select extract(epoch from '2026-08-04 17:41:15'::timestamp) - extract(epoch from '2026-08-04 17:41:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382475 -3.156304)'), GeomFromEWKT('SRID=4674;POINT (-39.382484 -3.156436)'))) / (select extract(epoch from '2026-08-04 17:41:15'::timestamp) - extract(epoch from '2026-08-04 17:41:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382484 -3.156542)', '2026-08-04 17:41:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382484 -3.156436)'), GeomFromEWKT('SRID=4674;POINT (-39.382484 -3.156542)'))) / (select extract(epoch from '2026-08-04 17:41:20'::timestamp) - extract(epoch from '2026-08-04 17:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382484 -3.156436)'), GeomFromEWKT('SRID=4674;POINT (-39.382484 -3.156542)'))) / (select extract(epoch from '2026-08-04 17:41:20'::timestamp) - extract(epoch from '2026-08-04 17:41:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382485 -3.156659)', '2026-08-04 17:41:25', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382484 -3.156542)'), GeomFromEWKT('SRID=4674;POINT (-39.382485 -3.156659)'))) / (select extract(epoch from '2026-08-04 17:41:25'::timestamp) - extract(epoch from '2026-08-04 17:41:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382484 -3.156542)'), GeomFromEWKT('SRID=4674;POINT (-39.382485 -3.156659)'))) / (select extract(epoch from '2026-08-04 17:41:25'::timestamp) - extract(epoch from '2026-08-04 17:41: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'), 48166, 'SRID=4674;POINT (-39.382478 -3.156716)', '2026-08-04 17:41:28', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382485 -3.156659)'), GeomFromEWKT('SRID=4674;POINT (-39.382478 -3.156716)'))) / (select extract(epoch from '2026-08-04 17:41:28'::timestamp) - extract(epoch from '2026-08-04 17:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382485 -3.156659)'), GeomFromEWKT('SRID=4674;POINT (-39.382478 -3.156716)'))) / (select extract(epoch from '2026-08-04 17:41:28'::timestamp) - extract(epoch from '2026-08-04 17:41:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382483 -3.156762)', '2026-08-04 17:41:30', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382478 -3.156716)'), GeomFromEWKT('SRID=4674;POINT (-39.382483 -3.156762)'))) / (select extract(epoch from '2026-08-04 17:41:30'::timestamp) - extract(epoch from '2026-08-04 17:41:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382478 -3.156716)'), GeomFromEWKT('SRID=4674;POINT (-39.382483 -3.156762)'))) / (select extract(epoch from '2026-08-04 17:41:30'::timestamp) - extract(epoch from '2026-08-04 17:41: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'), 48166, 'SRID=4674;POINT (-39.38249 -3.156884)', '2026-08-04 17:41:36', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382483 -3.156762)'), GeomFromEWKT('SRID=4674;POINT (-39.38249 -3.156884)'))) / (select extract(epoch from '2026-08-04 17:41:36'::timestamp) - extract(epoch from '2026-08-04 17:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382483 -3.156762)'), GeomFromEWKT('SRID=4674;POINT (-39.38249 -3.156884)'))) / (select extract(epoch from '2026-08-04 17:41:36'::timestamp) - extract(epoch from '2026-08-04 17:41: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'), 48166, 'SRID=4674;POINT (-39.382496 -3.157049)', '2026-08-04 17:41:43', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38249 -3.156884)'), GeomFromEWKT('SRID=4674;POINT (-39.382496 -3.157049)'))) / (select extract(epoch from '2026-08-04 17:41:43'::timestamp) - extract(epoch from '2026-08-04 17:41:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38249 -3.156884)'), GeomFromEWKT('SRID=4674;POINT (-39.382496 -3.157049)'))) / (select extract(epoch from '2026-08-04 17:41:43'::timestamp) - extract(epoch from '2026-08-04 17:41: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'), 48166, 'SRID=4674;POINT (-39.382504 -3.157183)', '2026-08-04 17:41:49', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382496 -3.157049)'), GeomFromEWKT('SRID=4674;POINT (-39.382504 -3.157183)'))) / (select extract(epoch from '2026-08-04 17:41:49'::timestamp) - extract(epoch from '2026-08-04 17:41:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382496 -3.157049)'), GeomFromEWKT('SRID=4674;POINT (-39.382504 -3.157183)'))) / (select extract(epoch from '2026-08-04 17:41:49'::timestamp) - extract(epoch from '2026-08-04 17:41:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382504 -3.157296)', '2026-08-04 17:41:54', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382504 -3.157183)'), GeomFromEWKT('SRID=4674;POINT (-39.382504 -3.157296)'))) / (select extract(epoch from '2026-08-04 17:41:54'::timestamp) - extract(epoch from '2026-08-04 17:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382504 -3.157183)'), GeomFromEWKT('SRID=4674;POINT (-39.382504 -3.157296)'))) / (select extract(epoch from '2026-08-04 17:41:54'::timestamp) - extract(epoch from '2026-08-04 17:41: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'), 48166, 'SRID=4674;POINT (-39.382495 -3.157434)', '2026-08-04 17:42:00', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382504 -3.157296)'), GeomFromEWKT('SRID=4674;POINT (-39.382495 -3.157434)'))) / (select extract(epoch from '2026-08-04 17:42:00'::timestamp) - extract(epoch from '2026-08-04 17:41:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382504 -3.157296)'), GeomFromEWKT('SRID=4674;POINT (-39.382495 -3.157434)'))) / (select extract(epoch from '2026-08-04 17:42:00'::timestamp) - extract(epoch from '2026-08-04 17:41: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'), 48166, 'SRID=4674;POINT (-39.38249 -3.157478)', '2026-08-04 17:42:02', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382495 -3.157434)'), GeomFromEWKT('SRID=4674;POINT (-39.38249 -3.157478)'))) / (select extract(epoch from '2026-08-04 17:42:02'::timestamp) - extract(epoch from '2026-08-04 17:42:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382495 -3.157434)'), GeomFromEWKT('SRID=4674;POINT (-39.38249 -3.157478)'))) / (select extract(epoch from '2026-08-04 17:42:02'::timestamp) - extract(epoch from '2026-08-04 17:42:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382506 -3.157529)', '2026-08-04 17:42:04', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38249 -3.157478)'), GeomFromEWKT('SRID=4674;POINT (-39.382506 -3.157529)'))) / (select extract(epoch from '2026-08-04 17:42:04'::timestamp) - extract(epoch from '2026-08-04 17:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38249 -3.157478)'), GeomFromEWKT('SRID=4674;POINT (-39.382506 -3.157529)'))) / (select extract(epoch from '2026-08-04 17:42:04'::timestamp) - extract(epoch from '2026-08-04 17:42: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'), 48166, 'SRID=4674;POINT (-39.382501 -3.157651)', '2026-08-04 17:42:09', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382506 -3.157529)'), GeomFromEWKT('SRID=4674;POINT (-39.382501 -3.157651)'))) / (select extract(epoch from '2026-08-04 17:42:09'::timestamp) - extract(epoch from '2026-08-04 17:42:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382506 -3.157529)'), GeomFromEWKT('SRID=4674;POINT (-39.382501 -3.157651)'))) / (select extract(epoch from '2026-08-04 17:42:09'::timestamp) - extract(epoch from '2026-08-04 17:42: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'), 48166, 'SRID=4674;POINT (-39.38251 -3.157768)', '2026-08-04 17:42:14', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382501 -3.157651)'), GeomFromEWKT('SRID=4674;POINT (-39.38251 -3.157768)'))) / (select extract(epoch from '2026-08-04 17:42:14'::timestamp) - extract(epoch from '2026-08-04 17:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382501 -3.157651)'), GeomFromEWKT('SRID=4674;POINT (-39.38251 -3.157768)'))) / (select extract(epoch from '2026-08-04 17:42:14'::timestamp) - extract(epoch from '2026-08-04 17:42: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'), 48166, 'SRID=4674;POINT (-39.382524 -3.157894)', '2026-08-04 17:42:19', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38251 -3.157768)'), GeomFromEWKT('SRID=4674;POINT (-39.382524 -3.157894)'))) / (select extract(epoch from '2026-08-04 17:42:19'::timestamp) - extract(epoch from '2026-08-04 17:42:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38251 -3.157768)'), GeomFromEWKT('SRID=4674;POINT (-39.382524 -3.157894)'))) / (select extract(epoch from '2026-08-04 17:42:19'::timestamp) - extract(epoch from '2026-08-04 17:42: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'), 48166, 'SRID=4674;POINT (-39.382538 -3.158041)', '2026-08-04 17:42:25', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382524 -3.157894)'), GeomFromEWKT('SRID=4674;POINT (-39.382538 -3.158041)'))) / (select extract(epoch from '2026-08-04 17:42:25'::timestamp) - extract(epoch from '2026-08-04 17:42:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382524 -3.157894)'), GeomFromEWKT('SRID=4674;POINT (-39.382538 -3.158041)'))) / (select extract(epoch from '2026-08-04 17:42:25'::timestamp) - extract(epoch from '2026-08-04 17:42: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'), 48166, 'SRID=4674;POINT (-39.382542 -3.15819)', '2026-08-04 17:42:31', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382538 -3.158041)'), GeomFromEWKT('SRID=4674;POINT (-39.382542 -3.15819)'))) / (select extract(epoch from '2026-08-04 17:42:31'::timestamp) - extract(epoch from '2026-08-04 17:42:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382538 -3.158041)'), GeomFromEWKT('SRID=4674;POINT (-39.382542 -3.15819)'))) / (select extract(epoch from '2026-08-04 17:42:31'::timestamp) - extract(epoch from '2026-08-04 17:42:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382569 -3.15833)', '2026-08-04 17:42:37', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382542 -3.15819)'), GeomFromEWKT('SRID=4674;POINT (-39.382569 -3.15833)'))) / (select extract(epoch from '2026-08-04 17:42:37'::timestamp) - extract(epoch from '2026-08-04 17:42:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382542 -3.15819)'), GeomFromEWKT('SRID=4674;POINT (-39.382569 -3.15833)'))) / (select extract(epoch from '2026-08-04 17:42:37'::timestamp) - extract(epoch from '2026-08-04 17:42: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'), 48166, 'SRID=4674;POINT (-39.382588 -3.158462)', '2026-08-04 17:42:43', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382569 -3.15833)'), GeomFromEWKT('SRID=4674;POINT (-39.382588 -3.158462)'))) / (select extract(epoch from '2026-08-04 17:42:43'::timestamp) - extract(epoch from '2026-08-04 17:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382569 -3.15833)'), GeomFromEWKT('SRID=4674;POINT (-39.382588 -3.158462)'))) / (select extract(epoch from '2026-08-04 17:42:43'::timestamp) - extract(epoch from '2026-08-04 17:42: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'), 48166, 'SRID=4674;POINT (-39.382596 -3.158567)', '2026-08-04 17:42:48', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382588 -3.158462)'), GeomFromEWKT('SRID=4674;POINT (-39.382596 -3.158567)'))) / (select extract(epoch from '2026-08-04 17:42:48'::timestamp) - extract(epoch from '2026-08-04 17:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382588 -3.158462)'), GeomFromEWKT('SRID=4674;POINT (-39.382596 -3.158567)'))) / (select extract(epoch from '2026-08-04 17:42:48'::timestamp) - extract(epoch from '2026-08-04 17:42: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'), 48166, 'SRID=4674;POINT (-39.382597 -3.158697)', '2026-08-04 17:42:54', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382596 -3.158567)'), GeomFromEWKT('SRID=4674;POINT (-39.382597 -3.158697)'))) / (select extract(epoch from '2026-08-04 17:42:54'::timestamp) - extract(epoch from '2026-08-04 17:42:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382596 -3.158567)'), GeomFromEWKT('SRID=4674;POINT (-39.382597 -3.158697)'))) / (select extract(epoch from '2026-08-04 17:42:54'::timestamp) - extract(epoch from '2026-08-04 17:42: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'), 48166, 'SRID=4674;POINT (-39.382606 -3.158817)', '2026-08-04 17:42:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382597 -3.158697)'), GeomFromEWKT('SRID=4674;POINT (-39.382606 -3.158817)'))) / (select extract(epoch from '2026-08-04 17:42:59'::timestamp) - extract(epoch from '2026-08-04 17:42:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382597 -3.158697)'), GeomFromEWKT('SRID=4674;POINT (-39.382606 -3.158817)'))) / (select extract(epoch from '2026-08-04 17:42:59'::timestamp) - extract(epoch from '2026-08-04 17:42: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'), 48166, 'SRID=4674;POINT (-39.382592 -3.158921)', '2026-08-04 17:43:04', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382606 -3.158817)'), GeomFromEWKT('SRID=4674;POINT (-39.382592 -3.158921)'))) / (select extract(epoch from '2026-08-04 17:43:04'::timestamp) - extract(epoch from '2026-08-04 17:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382606 -3.158817)'), GeomFromEWKT('SRID=4674;POINT (-39.382592 -3.158921)'))) / (select extract(epoch from '2026-08-04 17:43:04'::timestamp) - extract(epoch from '2026-08-04 17:42: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'), 48166, 'SRID=4674;POINT (-39.382602 -3.159056)', '2026-08-04 17:43:10', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382592 -3.158921)'), GeomFromEWKT('SRID=4674;POINT (-39.382602 -3.159056)'))) / (select extract(epoch from '2026-08-04 17:43:10'::timestamp) - extract(epoch from '2026-08-04 17:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382592 -3.158921)'), GeomFromEWKT('SRID=4674;POINT (-39.382602 -3.159056)'))) / (select extract(epoch from '2026-08-04 17:43:10'::timestamp) - extract(epoch from '2026-08-04 17:43: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'), 48166, 'SRID=4674;POINT (-39.382619 -3.159171)', '2026-08-04 17:43:15', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382602 -3.159056)'), GeomFromEWKT('SRID=4674;POINT (-39.382619 -3.159171)'))) / (select extract(epoch from '2026-08-04 17:43:15'::timestamp) - extract(epoch from '2026-08-04 17:43:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382602 -3.159056)'), GeomFromEWKT('SRID=4674;POINT (-39.382619 -3.159171)'))) / (select extract(epoch from '2026-08-04 17:43:15'::timestamp) - extract(epoch from '2026-08-04 17:43:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382631 -3.159307)', '2026-08-04 17:43:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382619 -3.159171)'), GeomFromEWKT('SRID=4674;POINT (-39.382631 -3.159307)'))) / (select extract(epoch from '2026-08-04 17:43:21'::timestamp) - extract(epoch from '2026-08-04 17:43:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382619 -3.159171)'), GeomFromEWKT('SRID=4674;POINT (-39.382631 -3.159307)'))) / (select extract(epoch from '2026-08-04 17:43:21'::timestamp) - extract(epoch from '2026-08-04 17:43: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'), 48166, 'SRID=4674;POINT (-39.38265 -3.15949)', '2026-08-04 17:43:29', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382631 -3.159307)'), GeomFromEWKT('SRID=4674;POINT (-39.38265 -3.15949)'))) / (select extract(epoch from '2026-08-04 17:43:29'::timestamp) - extract(epoch from '2026-08-04 17:43:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382631 -3.159307)'), GeomFromEWKT('SRID=4674;POINT (-39.38265 -3.15949)'))) / (select extract(epoch from '2026-08-04 17:43:29'::timestamp) - extract(epoch from '2026-08-04 17:43: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'), 48166, 'SRID=4674;POINT (-39.382658 -3.159634)', '2026-08-04 17:43:35', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38265 -3.15949)'), GeomFromEWKT('SRID=4674;POINT (-39.382658 -3.159634)'))) / (select extract(epoch from '2026-08-04 17:43:35'::timestamp) - extract(epoch from '2026-08-04 17:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38265 -3.15949)'), GeomFromEWKT('SRID=4674;POINT (-39.382658 -3.159634)'))) / (select extract(epoch from '2026-08-04 17:43:35'::timestamp) - extract(epoch from '2026-08-04 17:43:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382649 -3.159767)', '2026-08-04 17:43:41', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382658 -3.159634)'), GeomFromEWKT('SRID=4674;POINT (-39.382649 -3.159767)'))) / (select extract(epoch from '2026-08-04 17:43:41'::timestamp) - extract(epoch from '2026-08-04 17:43:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382658 -3.159634)'), GeomFromEWKT('SRID=4674;POINT (-39.382649 -3.159767)'))) / (select extract(epoch from '2026-08-04 17:43:41'::timestamp) - extract(epoch from '2026-08-04 17:43: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'), 48166, 'SRID=4674;POINT (-39.382649 -3.159881)', '2026-08-04 17:43:46', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382649 -3.159767)'), GeomFromEWKT('SRID=4674;POINT (-39.382649 -3.159881)'))) / (select extract(epoch from '2026-08-04 17:43:46'::timestamp) - extract(epoch from '2026-08-04 17:43:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382649 -3.159767)'), GeomFromEWKT('SRID=4674;POINT (-39.382649 -3.159881)'))) / (select extract(epoch from '2026-08-04 17:43:46'::timestamp) - extract(epoch from '2026-08-04 17:43: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'), 48166, 'SRID=4674;POINT (-39.382669 -3.160005)', '2026-08-04 17:43:51', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382649 -3.159881)'), GeomFromEWKT('SRID=4674;POINT (-39.382669 -3.160005)'))) / (select extract(epoch from '2026-08-04 17:43:51'::timestamp) - extract(epoch from '2026-08-04 17:43:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382649 -3.159881)'), GeomFromEWKT('SRID=4674;POINT (-39.382669 -3.160005)'))) / (select extract(epoch from '2026-08-04 17:43:51'::timestamp) - extract(epoch from '2026-08-04 17:43: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'), 48166, 'SRID=4674;POINT (-39.382676 -3.160144)', '2026-08-04 17:43:57', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382669 -3.160005)'), GeomFromEWKT('SRID=4674;POINT (-39.382676 -3.160144)'))) / (select extract(epoch from '2026-08-04 17:43:57'::timestamp) - extract(epoch from '2026-08-04 17:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382669 -3.160005)'), GeomFromEWKT('SRID=4674;POINT (-39.382676 -3.160144)'))) / (select extract(epoch from '2026-08-04 17:43:57'::timestamp) - extract(epoch from '2026-08-04 17:43: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'), 48166, 'SRID=4674;POINT (-39.382684 -3.160251)', '2026-08-04 17:44:02', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382676 -3.160144)'), GeomFromEWKT('SRID=4674;POINT (-39.382684 -3.160251)'))) / (select extract(epoch from '2026-08-04 17:44:02'::timestamp) - extract(epoch from '2026-08-04 17:43:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382676 -3.160144)'), GeomFromEWKT('SRID=4674;POINT (-39.382684 -3.160251)'))) / (select extract(epoch from '2026-08-04 17:44:02'::timestamp) - extract(epoch from '2026-08-04 17:43: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'), 48166, 'SRID=4674;POINT (-39.382693 -3.160402)', '2026-08-04 17:44:09', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382684 -3.160251)'), GeomFromEWKT('SRID=4674;POINT (-39.382693 -3.160402)'))) / (select extract(epoch from '2026-08-04 17:44:09'::timestamp) - extract(epoch from '2026-08-04 17:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382684 -3.160251)'), GeomFromEWKT('SRID=4674;POINT (-39.382693 -3.160402)'))) / (select extract(epoch from '2026-08-04 17:44:09'::timestamp) - extract(epoch from '2026-08-04 17:44: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'), 48166, 'SRID=4674;POINT (-39.382702 -3.160566)', '2026-08-04 17:44:16', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382693 -3.160402)'), GeomFromEWKT('SRID=4674;POINT (-39.382702 -3.160566)'))) / (select extract(epoch from '2026-08-04 17:44:16'::timestamp) - extract(epoch from '2026-08-04 17:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382693 -3.160402)'), GeomFromEWKT('SRID=4674;POINT (-39.382702 -3.160566)'))) / (select extract(epoch from '2026-08-04 17:44:16'::timestamp) - extract(epoch from '2026-08-04 17:44: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'), 48166, 'SRID=4674;POINT (-39.38272 -3.160734)', '2026-08-04 17:44:23', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382702 -3.160566)'), GeomFromEWKT('SRID=4674;POINT (-39.38272 -3.160734)'))) / (select extract(epoch from '2026-08-04 17:44:23'::timestamp) - extract(epoch from '2026-08-04 17:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382702 -3.160566)'), GeomFromEWKT('SRID=4674;POINT (-39.38272 -3.160734)'))) / (select extract(epoch from '2026-08-04 17:44:23'::timestamp) - extract(epoch from '2026-08-04 17:44:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382729 -3.160847)', '2026-08-04 17:44:28', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38272 -3.160734)'), GeomFromEWKT('SRID=4674;POINT (-39.382729 -3.160847)'))) / (select extract(epoch from '2026-08-04 17:44:28'::timestamp) - extract(epoch from '2026-08-04 17:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38272 -3.160734)'), GeomFromEWKT('SRID=4674;POINT (-39.382729 -3.160847)'))) / (select extract(epoch from '2026-08-04 17:44:28'::timestamp) - extract(epoch from '2026-08-04 17:44: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'), 48166, 'SRID=4674;POINT (-39.382728 -3.161002)', '2026-08-04 17:44:35', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382729 -3.160847)'), GeomFromEWKT('SRID=4674;POINT (-39.382728 -3.161002)'))) / (select extract(epoch from '2026-08-04 17:44:35'::timestamp) - extract(epoch from '2026-08-04 17:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382729 -3.160847)'), GeomFromEWKT('SRID=4674;POINT (-39.382728 -3.161002)'))) / (select extract(epoch from '2026-08-04 17:44:35'::timestamp) - extract(epoch from '2026-08-04 17:44: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'), 48166, 'SRID=4674;POINT (-39.382727 -3.161134)', '2026-08-04 17:44:41', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382728 -3.161002)'), GeomFromEWKT('SRID=4674;POINT (-39.382727 -3.161134)'))) / (select extract(epoch from '2026-08-04 17:44:41'::timestamp) - extract(epoch from '2026-08-04 17:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382728 -3.161002)'), GeomFromEWKT('SRID=4674;POINT (-39.382727 -3.161134)'))) / (select extract(epoch from '2026-08-04 17:44:41'::timestamp) - extract(epoch from '2026-08-04 17:44: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'), 48166, 'SRID=4674;POINT (-39.382732 -3.161285)', '2026-08-04 17:44:48', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382727 -3.161134)'), GeomFromEWKT('SRID=4674;POINT (-39.382732 -3.161285)'))) / (select extract(epoch from '2026-08-04 17:44:48'::timestamp) - extract(epoch from '2026-08-04 17:44:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382727 -3.161134)'), GeomFromEWKT('SRID=4674;POINT (-39.382732 -3.161285)'))) / (select extract(epoch from '2026-08-04 17:44:48'::timestamp) - extract(epoch from '2026-08-04 17:44:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382736 -3.16131)', '2026-08-04 17:44:49', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382732 -3.161285)'), GeomFromEWKT('SRID=4674;POINT (-39.382736 -3.16131)'))) / (select extract(epoch from '2026-08-04 17:44:49'::timestamp) - extract(epoch from '2026-08-04 17:44:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382732 -3.161285)'), GeomFromEWKT('SRID=4674;POINT (-39.382736 -3.16131)'))) / (select extract(epoch from '2026-08-04 17:44:49'::timestamp) - extract(epoch from '2026-08-04 17:44: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'), 48166, 'SRID=4674;POINT (-39.382722 -3.161372)', '2026-08-04 17:44:52', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382736 -3.16131)'), GeomFromEWKT('SRID=4674;POINT (-39.382722 -3.161372)'))) / (select extract(epoch from '2026-08-04 17:44:52'::timestamp) - extract(epoch from '2026-08-04 17:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382736 -3.16131)'), GeomFromEWKT('SRID=4674;POINT (-39.382722 -3.161372)'))) / (select extract(epoch from '2026-08-04 17:44:52'::timestamp) - extract(epoch from '2026-08-04 17:44: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'), 48166, 'SRID=4674;POINT (-39.382718 -3.161535)', '2026-08-04 17:44:59', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382722 -3.161372)'), GeomFromEWKT('SRID=4674;POINT (-39.382718 -3.161535)'))) / (select extract(epoch from '2026-08-04 17:44:59'::timestamp) - extract(epoch from '2026-08-04 17:44:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382722 -3.161372)'), GeomFromEWKT('SRID=4674;POINT (-39.382718 -3.161535)'))) / (select extract(epoch from '2026-08-04 17:44:59'::timestamp) - extract(epoch from '2026-08-04 17:44:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382717 -3.161669)', '2026-08-04 17:45:05', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382718 -3.161535)'), GeomFromEWKT('SRID=4674;POINT (-39.382717 -3.161669)'))) / (select extract(epoch from '2026-08-04 17:45:05'::timestamp) - extract(epoch from '2026-08-04 17:44:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382718 -3.161535)'), GeomFromEWKT('SRID=4674;POINT (-39.382717 -3.161669)'))) / (select extract(epoch from '2026-08-04 17:45:05'::timestamp) - extract(epoch from '2026-08-04 17:44: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'), 48166, 'SRID=4674;POINT (-39.382713 -3.161784)', '2026-08-04 17:45:10', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382717 -3.161669)'), GeomFromEWKT('SRID=4674;POINT (-39.382713 -3.161784)'))) / (select extract(epoch from '2026-08-04 17:45:10'::timestamp) - extract(epoch from '2026-08-04 17:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382717 -3.161669)'), GeomFromEWKT('SRID=4674;POINT (-39.382713 -3.161784)'))) / (select extract(epoch from '2026-08-04 17:45:10'::timestamp) - extract(epoch from '2026-08-04 17:45: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'), 48166, 'SRID=4674;POINT (-39.38272 -3.161895)', '2026-08-04 17:45:15', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382713 -3.161784)'), GeomFromEWKT('SRID=4674;POINT (-39.38272 -3.161895)'))) / (select extract(epoch from '2026-08-04 17:45:15'::timestamp) - extract(epoch from '2026-08-04 17:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382713 -3.161784)'), GeomFromEWKT('SRID=4674;POINT (-39.38272 -3.161895)'))) / (select extract(epoch from '2026-08-04 17:45:15'::timestamp) - extract(epoch from '2026-08-04 17:45: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'), 48166, 'SRID=4674;POINT (-39.382719 -3.162024)', '2026-08-04 17:45:21', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38272 -3.161895)'), GeomFromEWKT('SRID=4674;POINT (-39.382719 -3.162024)'))) / (select extract(epoch from '2026-08-04 17:45:21'::timestamp) - extract(epoch from '2026-08-04 17:45:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38272 -3.161895)'), GeomFromEWKT('SRID=4674;POINT (-39.382719 -3.162024)'))) / (select extract(epoch from '2026-08-04 17:45:21'::timestamp) - extract(epoch from '2026-08-04 17:45:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382717 -3.162152)', '2026-08-04 17:45:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382719 -3.162024)'), GeomFromEWKT('SRID=4674;POINT (-39.382717 -3.162152)'))) / (select extract(epoch from '2026-08-04 17:45:27'::timestamp) - extract(epoch from '2026-08-04 17:45:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382719 -3.162024)'), GeomFromEWKT('SRID=4674;POINT (-39.382717 -3.162152)'))) / (select extract(epoch from '2026-08-04 17:45:27'::timestamp) - extract(epoch from '2026-08-04 17:45: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'), 48166, 'SRID=4674;POINT (-39.382732 -3.162248)', '2026-08-04 17:45:31', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382717 -3.162152)'), GeomFromEWKT('SRID=4674;POINT (-39.382732 -3.162248)'))) / (select extract(epoch from '2026-08-04 17:45:31'::timestamp) - extract(epoch from '2026-08-04 17:45:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382717 -3.162152)'), GeomFromEWKT('SRID=4674;POINT (-39.382732 -3.162248)'))) / (select extract(epoch from '2026-08-04 17:45:31'::timestamp) - extract(epoch from '2026-08-04 17:45:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382741 -3.16239)', '2026-08-04 17:45:37', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382732 -3.162248)'), GeomFromEWKT('SRID=4674;POINT (-39.382741 -3.16239)'))) / (select extract(epoch from '2026-08-04 17:45:37'::timestamp) - extract(epoch from '2026-08-04 17:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382732 -3.162248)'), GeomFromEWKT('SRID=4674;POINT (-39.382741 -3.16239)'))) / (select extract(epoch from '2026-08-04 17:45:37'::timestamp) - extract(epoch from '2026-08-04 17:45: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'), 48166, 'SRID=4674;POINT (-39.382743 -3.162527)', '2026-08-04 17:45:43', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382741 -3.16239)'), GeomFromEWKT('SRID=4674;POINT (-39.382743 -3.162527)'))) / (select extract(epoch from '2026-08-04 17:45:43'::timestamp) - extract(epoch from '2026-08-04 17:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382741 -3.16239)'), GeomFromEWKT('SRID=4674;POINT (-39.382743 -3.162527)'))) / (select extract(epoch from '2026-08-04 17:45:43'::timestamp) - extract(epoch from '2026-08-04 17:45:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.38275 -3.162639)', '2026-08-04 17:45:48', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382743 -3.162527)'), GeomFromEWKT('SRID=4674;POINT (-39.38275 -3.162639)'))) / (select extract(epoch from '2026-08-04 17:45:48'::timestamp) - extract(epoch from '2026-08-04 17:45:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382743 -3.162527)'), GeomFromEWKT('SRID=4674;POINT (-39.38275 -3.162639)'))) / (select extract(epoch from '2026-08-04 17:45:48'::timestamp) - extract(epoch from '2026-08-04 17:45: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'), 48166, 'SRID=4674;POINT (-39.382766 -3.16279)', '2026-08-04 17:45:55', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38275 -3.162639)'), GeomFromEWKT('SRID=4674;POINT (-39.382766 -3.16279)'))) / (select extract(epoch from '2026-08-04 17:45:55'::timestamp) - extract(epoch from '2026-08-04 17:45:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38275 -3.162639)'), GeomFromEWKT('SRID=4674;POINT (-39.382766 -3.16279)'))) / (select extract(epoch from '2026-08-04 17:45:55'::timestamp) - extract(epoch from '2026-08-04 17:45: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'), 48166, 'SRID=4674;POINT (-39.382767 -3.162943)', '2026-08-04 17:46:02', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382766 -3.16279)'), GeomFromEWKT('SRID=4674;POINT (-39.382767 -3.162943)'))) / (select extract(epoch from '2026-08-04 17:46:02'::timestamp) - extract(epoch from '2026-08-04 17:45:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382766 -3.16279)'), GeomFromEWKT('SRID=4674;POINT (-39.382767 -3.162943)'))) / (select extract(epoch from '2026-08-04 17:46:02'::timestamp) - extract(epoch from '2026-08-04 17:45: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'), 48166, 'SRID=4674;POINT (-39.382777 -3.163101)', '2026-08-04 17:46:09', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382767 -3.162943)'), GeomFromEWKT('SRID=4674;POINT (-39.382777 -3.163101)'))) / (select extract(epoch from '2026-08-04 17:46:09'::timestamp) - extract(epoch from '2026-08-04 17:46:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382767 -3.162943)'), GeomFromEWKT('SRID=4674;POINT (-39.382777 -3.163101)'))) / (select extract(epoch from '2026-08-04 17:46:09'::timestamp) - extract(epoch from '2026-08-04 17:46: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'), 48166, 'SRID=4674;POINT (-39.382784 -3.163218)', '2026-08-04 17:46:14', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382777 -3.163101)'), GeomFromEWKT('SRID=4674;POINT (-39.382784 -3.163218)'))) / (select extract(epoch from '2026-08-04 17:46:14'::timestamp) - extract(epoch from '2026-08-04 17:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382777 -3.163101)'), GeomFromEWKT('SRID=4674;POINT (-39.382784 -3.163218)'))) / (select extract(epoch from '2026-08-04 17:46:14'::timestamp) - extract(epoch from '2026-08-04 17:46:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382787 -3.163361)', '2026-08-04 17:46:20', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382784 -3.163218)'), GeomFromEWKT('SRID=4674;POINT (-39.382787 -3.163361)'))) / (select extract(epoch from '2026-08-04 17:46:20'::timestamp) - extract(epoch from '2026-08-04 17:46:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382784 -3.163218)'), GeomFromEWKT('SRID=4674;POINT (-39.382787 -3.163361)'))) / (select extract(epoch from '2026-08-04 17:46:20'::timestamp) - extract(epoch from '2026-08-04 17:46: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'), 48166, 'SRID=4674;POINT (-39.38278 -3.163498)', '2026-08-04 17:46:26', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382787 -3.163361)'), GeomFromEWKT('SRID=4674;POINT (-39.38278 -3.163498)'))) / (select extract(epoch from '2026-08-04 17:46:26'::timestamp) - extract(epoch from '2026-08-04 17:46:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382787 -3.163361)'), GeomFromEWKT('SRID=4674;POINT (-39.38278 -3.163498)'))) / (select extract(epoch from '2026-08-04 17:46:26'::timestamp) - extract(epoch from '2026-08-04 17:46:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382788 -3.163701)', '2026-08-04 17:46:35', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38278 -3.163498)'), GeomFromEWKT('SRID=4674;POINT (-39.382788 -3.163701)'))) / (select extract(epoch from '2026-08-04 17:46:35'::timestamp) - extract(epoch from '2026-08-04 17:46:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38278 -3.163498)'), GeomFromEWKT('SRID=4674;POINT (-39.382788 -3.163701)'))) / (select extract(epoch from '2026-08-04 17:46:35'::timestamp) - extract(epoch from '2026-08-04 17:46: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'), 48166, 'SRID=4674;POINT (-39.382783 -3.16383)', '2026-08-04 17:46:41', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382788 -3.163701)'), GeomFromEWKT('SRID=4674;POINT (-39.382783 -3.16383)'))) / (select extract(epoch from '2026-08-04 17:46:41'::timestamp) - extract(epoch from '2026-08-04 17:46:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382788 -3.163701)'), GeomFromEWKT('SRID=4674;POINT (-39.382783 -3.16383)'))) / (select extract(epoch from '2026-08-04 17:46:41'::timestamp) - extract(epoch from '2026-08-04 17:46: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'), 48166, 'SRID=4674;POINT (-39.382773 -3.163974)', '2026-08-04 17:46:48', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382783 -3.16383)'), GeomFromEWKT('SRID=4674;POINT (-39.382773 -3.163974)'))) / (select extract(epoch from '2026-08-04 17:46:48'::timestamp) - extract(epoch from '2026-08-04 17:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382783 -3.16383)'), GeomFromEWKT('SRID=4674;POINT (-39.382773 -3.163974)'))) / (select extract(epoch from '2026-08-04 17:46:48'::timestamp) - extract(epoch from '2026-08-04 17:46: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'), 48166, 'SRID=4674;POINT (-39.382777 -3.164106)', '2026-08-04 17:46:54', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382773 -3.163974)'), GeomFromEWKT('SRID=4674;POINT (-39.382777 -3.164106)'))) / (select extract(epoch from '2026-08-04 17:46:54'::timestamp) - extract(epoch from '2026-08-04 17:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382773 -3.163974)'), GeomFromEWKT('SRID=4674;POINT (-39.382777 -3.164106)'))) / (select extract(epoch from '2026-08-04 17:46:54'::timestamp) - extract(epoch from '2026-08-04 17:46: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'), 48166, 'SRID=4674;POINT (-39.3828 -3.164246)', '2026-08-04 17:47:01', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382777 -3.164106)'), GeomFromEWKT('SRID=4674;POINT (-39.3828 -3.164246)'))) / (select extract(epoch from '2026-08-04 17:47:01'::timestamp) - extract(epoch from '2026-08-04 17:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382777 -3.164106)'), GeomFromEWKT('SRID=4674;POINT (-39.3828 -3.164246)'))) / (select extract(epoch from '2026-08-04 17:47:01'::timestamp) - extract(epoch from '2026-08-04 17:46: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'), 48166, 'SRID=4674;POINT (-39.3828 -3.164281)', '2026-08-04 17:47:03', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3828 -3.164246)'), GeomFromEWKT('SRID=4674;POINT (-39.3828 -3.164281)'))) / (select extract(epoch from '2026-08-04 17:47:03'::timestamp) - extract(epoch from '2026-08-04 17:47:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3828 -3.164246)'), GeomFromEWKT('SRID=4674;POINT (-39.3828 -3.164281)'))) / (select extract(epoch from '2026-08-04 17:47:03'::timestamp) - extract(epoch from '2026-08-04 17:47: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'), 48166, 'SRID=4674;POINT (-39.382813 -3.164344)', '2026-08-04 17:47:06', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3828 -3.164281)'), GeomFromEWKT('SRID=4674;POINT (-39.382813 -3.164344)'))) / (select extract(epoch from '2026-08-04 17:47:06'::timestamp) - extract(epoch from '2026-08-04 17:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3828 -3.164281)'), GeomFromEWKT('SRID=4674;POINT (-39.382813 -3.164344)'))) / (select extract(epoch from '2026-08-04 17:47:06'::timestamp) - extract(epoch from '2026-08-04 17:47: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'), 48166, 'SRID=4674;POINT (-39.382807 -3.164399)', '2026-08-04 17:47:09', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382813 -3.164344)'), GeomFromEWKT('SRID=4674;POINT (-39.382807 -3.164399)'))) / (select extract(epoch from '2026-08-04 17:47:09'::timestamp) - extract(epoch from '2026-08-04 17:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382813 -3.164344)'), GeomFromEWKT('SRID=4674;POINT (-39.382807 -3.164399)'))) / (select extract(epoch from '2026-08-04 17:47:09'::timestamp) - extract(epoch from '2026-08-04 17:47:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382817 -3.164445)', '2026-08-04 17:47:11', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382807 -3.164399)'), GeomFromEWKT('SRID=4674;POINT (-39.382817 -3.164445)'))) / (select extract(epoch from '2026-08-04 17:47:11'::timestamp) - extract(epoch from '2026-08-04 17:47:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382807 -3.164399)'), GeomFromEWKT('SRID=4674;POINT (-39.382817 -3.164445)'))) / (select extract(epoch from '2026-08-04 17:47:11'::timestamp) - extract(epoch from '2026-08-04 17:47: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'), 48166, 'SRID=4674;POINT (-39.382817 -3.164463)', '2026-08-04 17:47:12', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382817 -3.164445)'), GeomFromEWKT('SRID=4674;POINT (-39.382817 -3.164463)'))) / (select extract(epoch from '2026-08-04 17:47:12'::timestamp) - extract(epoch from '2026-08-04 17:47:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382817 -3.164445)'), GeomFromEWKT('SRID=4674;POINT (-39.382817 -3.164463)'))) / (select extract(epoch from '2026-08-04 17:47:12'::timestamp) - extract(epoch from '2026-08-04 17:47: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'), 48166, 'SRID=4674;POINT (-39.382823 -3.164527)', '2026-08-04 17:47:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382817 -3.164463)'), GeomFromEWKT('SRID=4674;POINT (-39.382823 -3.164527)'))) / (select extract(epoch from '2026-08-04 17:47:16'::timestamp) - extract(epoch from '2026-08-04 17:47:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382817 -3.164463)'), GeomFromEWKT('SRID=4674;POINT (-39.382823 -3.164527)'))) / (select extract(epoch from '2026-08-04 17:47:16'::timestamp) - extract(epoch from '2026-08-04 17:47: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'), 48166, 'SRID=4674;POINT (-39.382842 -3.164667)', '2026-08-04 17:47:23', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382823 -3.164527)'), GeomFromEWKT('SRID=4674;POINT (-39.382842 -3.164667)'))) / (select extract(epoch from '2026-08-04 17:47:23'::timestamp) - extract(epoch from '2026-08-04 17:47:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382823 -3.164527)'), GeomFromEWKT('SRID=4674;POINT (-39.382842 -3.164667)'))) / (select extract(epoch from '2026-08-04 17:47:23'::timestamp) - extract(epoch from '2026-08-04 17:47:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382849 -3.164821)', '2026-08-04 17:47:30', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382842 -3.164667)'), GeomFromEWKT('SRID=4674;POINT (-39.382849 -3.164821)'))) / (select extract(epoch from '2026-08-04 17:47:30'::timestamp) - extract(epoch from '2026-08-04 17:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382842 -3.164667)'), GeomFromEWKT('SRID=4674;POINT (-39.382849 -3.164821)'))) / (select extract(epoch from '2026-08-04 17:47:30'::timestamp) - extract(epoch from '2026-08-04 17:47:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382858 -3.16498)', '2026-08-04 17:47:37', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382849 -3.164821)'), GeomFromEWKT('SRID=4674;POINT (-39.382858 -3.16498)'))) / (select extract(epoch from '2026-08-04 17:47:37'::timestamp) - extract(epoch from '2026-08-04 17:47:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382849 -3.164821)'), GeomFromEWKT('SRID=4674;POINT (-39.382858 -3.16498)'))) / (select extract(epoch from '2026-08-04 17:47:37'::timestamp) - extract(epoch from '2026-08-04 17:47: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'), 48166, 'SRID=4674;POINT (-39.382847 -3.165079)', '2026-08-04 17:47:42', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382858 -3.16498)'), GeomFromEWKT('SRID=4674;POINT (-39.382847 -3.165079)'))) / (select extract(epoch from '2026-08-04 17:47:42'::timestamp) - extract(epoch from '2026-08-04 17:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382858 -3.16498)'), GeomFromEWKT('SRID=4674;POINT (-39.382847 -3.165079)'))) / (select extract(epoch from '2026-08-04 17:47:42'::timestamp) - extract(epoch from '2026-08-04 17:47:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382859 -3.165142)', '2026-08-04 17:47:45', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382847 -3.165079)'), GeomFromEWKT('SRID=4674;POINT (-39.382859 -3.165142)'))) / (select extract(epoch from '2026-08-04 17:47:45'::timestamp) - extract(epoch from '2026-08-04 17:47:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382847 -3.165079)'), GeomFromEWKT('SRID=4674;POINT (-39.382859 -3.165142)'))) / (select extract(epoch from '2026-08-04 17:47:45'::timestamp) - extract(epoch from '2026-08-04 17:47: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'), 48166, 'SRID=4674;POINT (-39.382847 -3.165183)', '2026-08-04 17:47:47', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382859 -3.165142)'), GeomFromEWKT('SRID=4674;POINT (-39.382847 -3.165183)'))) / (select extract(epoch from '2026-08-04 17:47:47'::timestamp) - extract(epoch from '2026-08-04 17:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382859 -3.165142)'), GeomFromEWKT('SRID=4674;POINT (-39.382847 -3.165183)'))) / (select extract(epoch from '2026-08-04 17:47:47'::timestamp) - extract(epoch from '2026-08-04 17:47: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'), 48166, 'SRID=4674;POINT (-39.382853 -3.16528)', '2026-08-04 17:47:51', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382847 -3.165183)'), GeomFromEWKT('SRID=4674;POINT (-39.382853 -3.16528)'))) / (select extract(epoch from '2026-08-04 17:47:51'::timestamp) - extract(epoch from '2026-08-04 17:47:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382847 -3.165183)'), GeomFromEWKT('SRID=4674;POINT (-39.382853 -3.16528)'))) / (select extract(epoch from '2026-08-04 17:47:51'::timestamp) - extract(epoch from '2026-08-04 17:47: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'), 48166, 'SRID=4674;POINT (-39.382854 -3.165393)', '2026-08-04 17:47:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382853 -3.16528)'), GeomFromEWKT('SRID=4674;POINT (-39.382854 -3.165393)'))) / (select extract(epoch from '2026-08-04 17:47:56'::timestamp) - extract(epoch from '2026-08-04 17:47:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382853 -3.16528)'), GeomFromEWKT('SRID=4674;POINT (-39.382854 -3.165393)'))) / (select extract(epoch from '2026-08-04 17:47:56'::timestamp) - extract(epoch from '2026-08-04 17:47: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'), 48166, 'SRID=4674;POINT (-39.38285 -3.165543)', '2026-08-04 17:48:03', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382854 -3.165393)'), GeomFromEWKT('SRID=4674;POINT (-39.38285 -3.165543)'))) / (select extract(epoch from '2026-08-04 17:48:03'::timestamp) - extract(epoch from '2026-08-04 17:47:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382854 -3.165393)'), GeomFromEWKT('SRID=4674;POINT (-39.38285 -3.165543)'))) / (select extract(epoch from '2026-08-04 17:48:03'::timestamp) - extract(epoch from '2026-08-04 17:47: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'), 48166, 'SRID=4674;POINT (-39.382849 -3.165653)', '2026-08-04 17:48:08', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38285 -3.165543)'), GeomFromEWKT('SRID=4674;POINT (-39.382849 -3.165653)'))) / (select extract(epoch from '2026-08-04 17:48:08'::timestamp) - extract(epoch from '2026-08-04 17:48:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38285 -3.165543)'), GeomFromEWKT('SRID=4674;POINT (-39.382849 -3.165653)'))) / (select extract(epoch from '2026-08-04 17:48:08'::timestamp) - extract(epoch from '2026-08-04 17:48: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'), 48166, 'SRID=4674;POINT (-39.382858 -3.165818)', '2026-08-04 17:48:16', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382849 -3.165653)'), GeomFromEWKT('SRID=4674;POINT (-39.382858 -3.165818)'))) / (select extract(epoch from '2026-08-04 17:48:16'::timestamp) - extract(epoch from '2026-08-04 17:48:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382849 -3.165653)'), GeomFromEWKT('SRID=4674;POINT (-39.382858 -3.165818)'))) / (select extract(epoch from '2026-08-04 17:48:16'::timestamp) - extract(epoch from '2026-08-04 17:48:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382857 -3.165961)', '2026-08-04 17:48:22', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382858 -3.165818)'), GeomFromEWKT('SRID=4674;POINT (-39.382857 -3.165961)'))) / (select extract(epoch from '2026-08-04 17:48:22'::timestamp) - extract(epoch from '2026-08-04 17:48:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382858 -3.165818)'), GeomFromEWKT('SRID=4674;POINT (-39.382857 -3.165961)'))) / (select extract(epoch from '2026-08-04 17:48:22'::timestamp) - extract(epoch from '2026-08-04 17:48: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'), 48166, 'SRID=4674;POINT (-39.382849 -3.166152)', '2026-08-04 17:48:30', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382857 -3.165961)'), GeomFromEWKT('SRID=4674;POINT (-39.382849 -3.166152)'))) / (select extract(epoch from '2026-08-04 17:48:30'::timestamp) - extract(epoch from '2026-08-04 17:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382857 -3.165961)'), GeomFromEWKT('SRID=4674;POINT (-39.382849 -3.166152)'))) / (select extract(epoch from '2026-08-04 17:48:30'::timestamp) - extract(epoch from '2026-08-04 17:48: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'), 48166, 'SRID=4674;POINT (-39.382842 -3.166293)', '2026-08-04 17:48:36', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382849 -3.166152)'), GeomFromEWKT('SRID=4674;POINT (-39.382842 -3.166293)'))) / (select extract(epoch from '2026-08-04 17:48:36'::timestamp) - extract(epoch from '2026-08-04 17:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382849 -3.166152)'), GeomFromEWKT('SRID=4674;POINT (-39.382842 -3.166293)'))) / (select extract(epoch from '2026-08-04 17:48:36'::timestamp) - extract(epoch from '2026-08-04 17:48: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'), 48166, 'SRID=4674;POINT (-39.382834 -3.16638)', '2026-08-04 17:48:40', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382842 -3.166293)'), GeomFromEWKT('SRID=4674;POINT (-39.382834 -3.16638)'))) / (select extract(epoch from '2026-08-04 17:48:40'::timestamp) - extract(epoch from '2026-08-04 17:48:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382842 -3.166293)'), GeomFromEWKT('SRID=4674;POINT (-39.382834 -3.16638)'))) / (select extract(epoch from '2026-08-04 17:48:40'::timestamp) - extract(epoch from '2026-08-04 17:48: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'), 48166, 'SRID=4674;POINT (-39.382824 -3.166485)', '2026-08-04 17:48:45', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382834 -3.16638)'), GeomFromEWKT('SRID=4674;POINT (-39.382824 -3.166485)'))) / (select extract(epoch from '2026-08-04 17:48:45'::timestamp) - extract(epoch from '2026-08-04 17:48:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382834 -3.16638)'), GeomFromEWKT('SRID=4674;POINT (-39.382824 -3.166485)'))) / (select extract(epoch from '2026-08-04 17:48:45'::timestamp) - extract(epoch from '2026-08-04 17:48: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'), 48166, 'SRID=4674;POINT (-39.382796 -3.166617)', '2026-08-04 17:48:52', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382824 -3.166485)'), GeomFromEWKT('SRID=4674;POINT (-39.382796 -3.166617)'))) / (select extract(epoch from '2026-08-04 17:48:52'::timestamp) - extract(epoch from '2026-08-04 17:48:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382824 -3.166485)'), GeomFromEWKT('SRID=4674;POINT (-39.382796 -3.166617)'))) / (select extract(epoch from '2026-08-04 17:48:52'::timestamp) - extract(epoch from '2026-08-04 17:48: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'), 48166, 'SRID=4674;POINT (-39.382781 -3.166772)', '2026-08-04 17:48:59', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382796 -3.166617)'), GeomFromEWKT('SRID=4674;POINT (-39.382781 -3.166772)'))) / (select extract(epoch from '2026-08-04 17:48:59'::timestamp) - extract(epoch from '2026-08-04 17:48:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382796 -3.166617)'), GeomFromEWKT('SRID=4674;POINT (-39.382781 -3.166772)'))) / (select extract(epoch from '2026-08-04 17:48:59'::timestamp) - extract(epoch from '2026-08-04 17:48: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'), 48166, 'SRID=4674;POINT (-39.382742 -3.167002)', '2026-08-04 17:49:09', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382781 -3.166772)'), GeomFromEWKT('SRID=4674;POINT (-39.382742 -3.167002)'))) / (select extract(epoch from '2026-08-04 17:49:09'::timestamp) - extract(epoch from '2026-08-04 17:48:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382781 -3.166772)'), GeomFromEWKT('SRID=4674;POINT (-39.382742 -3.167002)'))) / (select extract(epoch from '2026-08-04 17:49:09'::timestamp) - extract(epoch from '2026-08-04 17:48: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'), 48166, 'SRID=4674;POINT (-39.382725 -3.167145)', '2026-08-04 17:49:15', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382742 -3.167002)'), GeomFromEWKT('SRID=4674;POINT (-39.382725 -3.167145)'))) / (select extract(epoch from '2026-08-04 17:49:15'::timestamp) - extract(epoch from '2026-08-04 17:49:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382742 -3.167002)'), GeomFromEWKT('SRID=4674;POINT (-39.382725 -3.167145)'))) / (select extract(epoch from '2026-08-04 17:49:15'::timestamp) - extract(epoch from '2026-08-04 17:49: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'), 48166, 'SRID=4674;POINT (-39.382705 -3.167272)', '2026-08-04 17:49:21', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382725 -3.167145)'), GeomFromEWKT('SRID=4674;POINT (-39.382705 -3.167272)'))) / (select extract(epoch from '2026-08-04 17:49:21'::timestamp) - extract(epoch from '2026-08-04 17:49:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382725 -3.167145)'), GeomFromEWKT('SRID=4674;POINT (-39.382705 -3.167272)'))) / (select extract(epoch from '2026-08-04 17:49:21'::timestamp) - extract(epoch from '2026-08-04 17:49: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'), 48166, 'SRID=4674;POINT (-39.382678 -3.167405)', '2026-08-04 17:49:27', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382705 -3.167272)'), GeomFromEWKT('SRID=4674;POINT (-39.382678 -3.167405)'))) / (select extract(epoch from '2026-08-04 17:49:27'::timestamp) - extract(epoch from '2026-08-04 17:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382705 -3.167272)'), GeomFromEWKT('SRID=4674;POINT (-39.382678 -3.167405)'))) / (select extract(epoch from '2026-08-04 17:49:27'::timestamp) - extract(epoch from '2026-08-04 17:49: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'), 48166, 'SRID=4674;POINT (-39.382646 -3.167545)', '2026-08-04 17:49:33', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382678 -3.167405)'), GeomFromEWKT('SRID=4674;POINT (-39.382646 -3.167545)'))) / (select extract(epoch from '2026-08-04 17:49:33'::timestamp) - extract(epoch from '2026-08-04 17:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382678 -3.167405)'), GeomFromEWKT('SRID=4674;POINT (-39.382646 -3.167545)'))) / (select extract(epoch from '2026-08-04 17:49:33'::timestamp) - extract(epoch from '2026-08-04 17:49: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'), 48166, 'SRID=4674;POINT (-39.382616 -3.167762)', '2026-08-04 17:49:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382646 -3.167545)'), GeomFromEWKT('SRID=4674;POINT (-39.382616 -3.167762)'))) / (select extract(epoch from '2026-08-04 17:49:42'::timestamp) - extract(epoch from '2026-08-04 17:49:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382646 -3.167545)'), GeomFromEWKT('SRID=4674;POINT (-39.382616 -3.167762)'))) / (select extract(epoch from '2026-08-04 17:49:42'::timestamp) - extract(epoch from '2026-08-04 17:49: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'), 48166, 'SRID=4674;POINT (-39.3826 -3.167928)', '2026-08-04 17:49:49', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382616 -3.167762)'), GeomFromEWKT('SRID=4674;POINT (-39.3826 -3.167928)'))) / (select extract(epoch from '2026-08-04 17:49:49'::timestamp) - extract(epoch from '2026-08-04 17:49:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382616 -3.167762)'), GeomFromEWKT('SRID=4674;POINT (-39.3826 -3.167928)'))) / (select extract(epoch from '2026-08-04 17:49:49'::timestamp) - extract(epoch from '2026-08-04 17:49: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'), 48166, 'SRID=4674;POINT (-39.382602 -3.168046)', '2026-08-04 17:49:54', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3826 -3.167928)'), GeomFromEWKT('SRID=4674;POINT (-39.382602 -3.168046)'))) / (select extract(epoch from '2026-08-04 17:49:54'::timestamp) - extract(epoch from '2026-08-04 17:49:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3826 -3.167928)'), GeomFromEWKT('SRID=4674;POINT (-39.382602 -3.168046)'))) / (select extract(epoch from '2026-08-04 17:49:54'::timestamp) - extract(epoch from '2026-08-04 17:49: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'), 48166, 'SRID=4674;POINT (-39.38259 -3.168177)', '2026-08-04 17:50:00', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382602 -3.168046)'), GeomFromEWKT('SRID=4674;POINT (-39.38259 -3.168177)'))) / (select extract(epoch from '2026-08-04 17:50:00'::timestamp) - extract(epoch from '2026-08-04 17:49:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382602 -3.168046)'), GeomFromEWKT('SRID=4674;POINT (-39.38259 -3.168177)'))) / (select extract(epoch from '2026-08-04 17:50:00'::timestamp) - extract(epoch from '2026-08-04 17:49: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'), 48166, 'SRID=4674;POINT (-39.38257 -3.168305)', '2026-08-04 17:50:06', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38259 -3.168177)'), GeomFromEWKT('SRID=4674;POINT (-39.38257 -3.168305)'))) / (select extract(epoch from '2026-08-04 17:50:06'::timestamp) - extract(epoch from '2026-08-04 17:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38259 -3.168177)'), GeomFromEWKT('SRID=4674;POINT (-39.38257 -3.168305)'))) / (select extract(epoch from '2026-08-04 17:50:06'::timestamp) - extract(epoch from '2026-08-04 17:50: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'), 48166, 'SRID=4674;POINT (-39.382563 -3.168442)', '2026-08-04 17:50:12', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38257 -3.168305)'), GeomFromEWKT('SRID=4674;POINT (-39.382563 -3.168442)'))) / (select extract(epoch from '2026-08-04 17:50:12'::timestamp) - extract(epoch from '2026-08-04 17:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38257 -3.168305)'), GeomFromEWKT('SRID=4674;POINT (-39.382563 -3.168442)'))) / (select extract(epoch from '2026-08-04 17:50:12'::timestamp) - extract(epoch from '2026-08-04 17:50:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382565 -3.168587)', '2026-08-04 17:50:18', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382563 -3.168442)'), GeomFromEWKT('SRID=4674;POINT (-39.382565 -3.168587)'))) / (select extract(epoch from '2026-08-04 17:50:18'::timestamp) - extract(epoch from '2026-08-04 17:50:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382563 -3.168442)'), GeomFromEWKT('SRID=4674;POINT (-39.382565 -3.168587)'))) / (select extract(epoch from '2026-08-04 17:50:18'::timestamp) - extract(epoch from '2026-08-04 17:50: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'), 48166, 'SRID=4674;POINT (-39.382562 -3.168727)', '2026-08-04 17:50:24', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382565 -3.168587)'), GeomFromEWKT('SRID=4674;POINT (-39.382562 -3.168727)'))) / (select extract(epoch from '2026-08-04 17:50:24'::timestamp) - extract(epoch from '2026-08-04 17:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382565 -3.168587)'), GeomFromEWKT('SRID=4674;POINT (-39.382562 -3.168727)'))) / (select extract(epoch from '2026-08-04 17:50:24'::timestamp) - extract(epoch from '2026-08-04 17:50:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382551 -3.168832)', '2026-08-04 17:50:29', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382562 -3.168727)'), GeomFromEWKT('SRID=4674;POINT (-39.382551 -3.168832)'))) / (select extract(epoch from '2026-08-04 17:50:29'::timestamp) - extract(epoch from '2026-08-04 17:50:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382562 -3.168727)'), GeomFromEWKT('SRID=4674;POINT (-39.382551 -3.168832)'))) / (select extract(epoch from '2026-08-04 17:50:29'::timestamp) - extract(epoch from '2026-08-04 17:50: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'), 48166, 'SRID=4674;POINT (-39.382542 -3.168965)', '2026-08-04 17:50:35', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382551 -3.168832)'), GeomFromEWKT('SRID=4674;POINT (-39.382542 -3.168965)'))) / (select extract(epoch from '2026-08-04 17:50:35'::timestamp) - extract(epoch from '2026-08-04 17:50:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382551 -3.168832)'), GeomFromEWKT('SRID=4674;POINT (-39.382542 -3.168965)'))) / (select extract(epoch from '2026-08-04 17:50:35'::timestamp) - extract(epoch from '2026-08-04 17:50:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382536 -3.169082)', '2026-08-04 17:50:40', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382542 -3.168965)'), GeomFromEWKT('SRID=4674;POINT (-39.382536 -3.169082)'))) / (select extract(epoch from '2026-08-04 17:50:40'::timestamp) - extract(epoch from '2026-08-04 17:50:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382542 -3.168965)'), GeomFromEWKT('SRID=4674;POINT (-39.382536 -3.169082)'))) / (select extract(epoch from '2026-08-04 17:50:40'::timestamp) - extract(epoch from '2026-08-04 17:50:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382516 -3.169198)', '2026-08-04 17:50:45', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382536 -3.169082)'), GeomFromEWKT('SRID=4674;POINT (-39.382516 -3.169198)'))) / (select extract(epoch from '2026-08-04 17:50:45'::timestamp) - extract(epoch from '2026-08-04 17:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382536 -3.169082)'), GeomFromEWKT('SRID=4674;POINT (-39.382516 -3.169198)'))) / (select extract(epoch from '2026-08-04 17:50:45'::timestamp) - extract(epoch from '2026-08-04 17:50: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'), 48166, 'SRID=4674;POINT (-39.382494 -3.169311)', '2026-08-04 17:50:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382516 -3.169198)'), GeomFromEWKT('SRID=4674;POINT (-39.382494 -3.169311)'))) / (select extract(epoch from '2026-08-04 17:50:50'::timestamp) - extract(epoch from '2026-08-04 17:50:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382516 -3.169198)'), GeomFromEWKT('SRID=4674;POINT (-39.382494 -3.169311)'))) / (select extract(epoch from '2026-08-04 17:50:50'::timestamp) - extract(epoch from '2026-08-04 17:50: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'), 48166, 'SRID=4674;POINT (-39.38248 -3.169498)', '2026-08-04 17:50:58', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382494 -3.169311)'), GeomFromEWKT('SRID=4674;POINT (-39.38248 -3.169498)'))) / (select extract(epoch from '2026-08-04 17:50:58'::timestamp) - extract(epoch from '2026-08-04 17:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382494 -3.169311)'), GeomFromEWKT('SRID=4674;POINT (-39.38248 -3.169498)'))) / (select extract(epoch from '2026-08-04 17:50:58'::timestamp) - extract(epoch from '2026-08-04 17:50:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382475 -3.169646)', '2026-08-04 17:51:04', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38248 -3.169498)'), GeomFromEWKT('SRID=4674;POINT (-39.382475 -3.169646)'))) / (select extract(epoch from '2026-08-04 17:51:04'::timestamp) - extract(epoch from '2026-08-04 17:50:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38248 -3.169498)'), GeomFromEWKT('SRID=4674;POINT (-39.382475 -3.169646)'))) / (select extract(epoch from '2026-08-04 17:51:04'::timestamp) - extract(epoch from '2026-08-04 17:50:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382467 -3.169768)', '2026-08-04 17:51:09', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382475 -3.169646)'), GeomFromEWKT('SRID=4674;POINT (-39.382467 -3.169768)'))) / (select extract(epoch from '2026-08-04 17:51:09'::timestamp) - extract(epoch from '2026-08-04 17:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382475 -3.169646)'), GeomFromEWKT('SRID=4674;POINT (-39.382467 -3.169768)'))) / (select extract(epoch from '2026-08-04 17:51:09'::timestamp) - extract(epoch from '2026-08-04 17:51: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'), 48166, 'SRID=4674;POINT (-39.382469 -3.169931)', '2026-08-04 17:51:16', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382467 -3.169768)'), GeomFromEWKT('SRID=4674;POINT (-39.382469 -3.169931)'))) / (select extract(epoch from '2026-08-04 17:51:16'::timestamp) - extract(epoch from '2026-08-04 17:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382467 -3.169768)'), GeomFromEWKT('SRID=4674;POINT (-39.382469 -3.169931)'))) / (select extract(epoch from '2026-08-04 17:51:16'::timestamp) - extract(epoch from '2026-08-04 17:51: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'), 48166, 'SRID=4674;POINT (-39.382462 -3.170019)', '2026-08-04 17:51:20', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382469 -3.169931)'), GeomFromEWKT('SRID=4674;POINT (-39.382462 -3.170019)'))) / (select extract(epoch from '2026-08-04 17:51:20'::timestamp) - extract(epoch from '2026-08-04 17:51:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382469 -3.169931)'), GeomFromEWKT('SRID=4674;POINT (-39.382462 -3.170019)'))) / (select extract(epoch from '2026-08-04 17:51:20'::timestamp) - extract(epoch from '2026-08-04 17:51: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'), 48166, 'SRID=4674;POINT (-39.382454 -3.170144)', '2026-08-04 17:51:25', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382462 -3.170019)'), GeomFromEWKT('SRID=4674;POINT (-39.382454 -3.170144)'))) / (select extract(epoch from '2026-08-04 17:51:25'::timestamp) - extract(epoch from '2026-08-04 17:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382462 -3.170019)'), GeomFromEWKT('SRID=4674;POINT (-39.382454 -3.170144)'))) / (select extract(epoch from '2026-08-04 17:51:25'::timestamp) - extract(epoch from '2026-08-04 17:51: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'), 48166, 'SRID=4674;POINT (-39.38244 -3.170261)', '2026-08-04 17:51:30', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382454 -3.170144)'), GeomFromEWKT('SRID=4674;POINT (-39.38244 -3.170261)'))) / (select extract(epoch from '2026-08-04 17:51:30'::timestamp) - extract(epoch from '2026-08-04 17:51:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382454 -3.170144)'), GeomFromEWKT('SRID=4674;POINT (-39.38244 -3.170261)'))) / (select extract(epoch from '2026-08-04 17:51:30'::timestamp) - extract(epoch from '2026-08-04 17:51: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'), 48166, 'SRID=4674;POINT (-39.382435 -3.170398)', '2026-08-04 17:51:36', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38244 -3.170261)'), GeomFromEWKT('SRID=4674;POINT (-39.382435 -3.170398)'))) / (select extract(epoch from '2026-08-04 17:51:36'::timestamp) - extract(epoch from '2026-08-04 17:51:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38244 -3.170261)'), GeomFromEWKT('SRID=4674;POINT (-39.382435 -3.170398)'))) / (select extract(epoch from '2026-08-04 17:51:36'::timestamp) - extract(epoch from '2026-08-04 17:51: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'), 48166, 'SRID=4674;POINT (-39.382419 -3.17056)', '2026-08-04 17:51:43', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382435 -3.170398)'), GeomFromEWKT('SRID=4674;POINT (-39.382419 -3.17056)'))) / (select extract(epoch from '2026-08-04 17:51:43'::timestamp) - extract(epoch from '2026-08-04 17:51:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382435 -3.170398)'), GeomFromEWKT('SRID=4674;POINT (-39.382419 -3.17056)'))) / (select extract(epoch from '2026-08-04 17:51:43'::timestamp) - extract(epoch from '2026-08-04 17:51: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'), 48166, 'SRID=4674;POINT (-39.382407 -3.170678)', '2026-08-04 17:51:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382419 -3.17056)'), GeomFromEWKT('SRID=4674;POINT (-39.382407 -3.170678)'))) / (select extract(epoch from '2026-08-04 17:51:48'::timestamp) - extract(epoch from '2026-08-04 17:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382419 -3.17056)'), GeomFromEWKT('SRID=4674;POINT (-39.382407 -3.170678)'))) / (select extract(epoch from '2026-08-04 17:51:48'::timestamp) - extract(epoch from '2026-08-04 17:51: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'), 48166, 'SRID=4674;POINT (-39.382387 -3.1708)', '2026-08-04 17:51:54', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382407 -3.170678)'), GeomFromEWKT('SRID=4674;POINT (-39.382387 -3.1708)'))) / (select extract(epoch from '2026-08-04 17:51:54'::timestamp) - extract(epoch from '2026-08-04 17:51:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382407 -3.170678)'), GeomFromEWKT('SRID=4674;POINT (-39.382387 -3.1708)'))) / (select extract(epoch from '2026-08-04 17:51:54'::timestamp) - extract(epoch from '2026-08-04 17:51: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'), 48166, 'SRID=4674;POINT (-39.382363 -3.170931)', '2026-08-04 17:52:00', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382387 -3.1708)'), GeomFromEWKT('SRID=4674;POINT (-39.382363 -3.170931)'))) / (select extract(epoch from '2026-08-04 17:52:00'::timestamp) - extract(epoch from '2026-08-04 17:51:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382387 -3.1708)'), GeomFromEWKT('SRID=4674;POINT (-39.382363 -3.170931)'))) / (select extract(epoch from '2026-08-04 17:52:00'::timestamp) - extract(epoch from '2026-08-04 17:51: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'), 48166, 'SRID=4674;POINT (-39.382326 -3.171058)', '2026-08-04 17:52:06', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382363 -3.170931)'), GeomFromEWKT('SRID=4674;POINT (-39.382326 -3.171058)'))) / (select extract(epoch from '2026-08-04 17:52:06'::timestamp) - extract(epoch from '2026-08-04 17:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382363 -3.170931)'), GeomFromEWKT('SRID=4674;POINT (-39.382326 -3.171058)'))) / (select extract(epoch from '2026-08-04 17:52:06'::timestamp) - extract(epoch from '2026-08-04 17:52:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382299 -3.171182)', '2026-08-04 17:52:12', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382326 -3.171058)'), GeomFromEWKT('SRID=4674;POINT (-39.382299 -3.171182)'))) / (select extract(epoch from '2026-08-04 17:52:12'::timestamp) - extract(epoch from '2026-08-04 17:52:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382326 -3.171058)'), GeomFromEWKT('SRID=4674;POINT (-39.382299 -3.171182)'))) / (select extract(epoch from '2026-08-04 17:52:12'::timestamp) - extract(epoch from '2026-08-04 17:52: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'), 48166, 'SRID=4674;POINT (-39.382276 -3.171305)', '2026-08-04 17:52:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382299 -3.171182)'), GeomFromEWKT('SRID=4674;POINT (-39.382276 -3.171305)'))) / (select extract(epoch from '2026-08-04 17:52:18'::timestamp) - extract(epoch from '2026-08-04 17:52:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382299 -3.171182)'), GeomFromEWKT('SRID=4674;POINT (-39.382276 -3.171305)'))) / (select extract(epoch from '2026-08-04 17:52:18'::timestamp) - extract(epoch from '2026-08-04 17:52: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'), 48166, 'SRID=4674;POINT (-39.382254 -3.171465)', '2026-08-04 17:52:25', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382276 -3.171305)'), GeomFromEWKT('SRID=4674;POINT (-39.382254 -3.171465)'))) / (select extract(epoch from '2026-08-04 17:52:25'::timestamp) - extract(epoch from '2026-08-04 17:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382276 -3.171305)'), GeomFromEWKT('SRID=4674;POINT (-39.382254 -3.171465)'))) / (select extract(epoch from '2026-08-04 17:52:25'::timestamp) - extract(epoch from '2026-08-04 17:52:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382246 -3.171634)', '2026-08-04 17:52:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382254 -3.171465)'), GeomFromEWKT('SRID=4674;POINT (-39.382246 -3.171634)'))) / (select extract(epoch from '2026-08-04 17:52:32'::timestamp) - extract(epoch from '2026-08-04 17:52:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382254 -3.171465)'), GeomFromEWKT('SRID=4674;POINT (-39.382246 -3.171634)'))) / (select extract(epoch from '2026-08-04 17:52:32'::timestamp) - extract(epoch from '2026-08-04 17:52: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'), 48166, 'SRID=4674;POINT (-39.38223 -3.17183)', '2026-08-04 17:52:40', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382246 -3.171634)'), GeomFromEWKT('SRID=4674;POINT (-39.38223 -3.17183)'))) / (select extract(epoch from '2026-08-04 17:52:40'::timestamp) - extract(epoch from '2026-08-04 17:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382246 -3.171634)'), GeomFromEWKT('SRID=4674;POINT (-39.38223 -3.17183)'))) / (select extract(epoch from '2026-08-04 17:52:40'::timestamp) - extract(epoch from '2026-08-04 17:52: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'), 48166, 'SRID=4674;POINT (-39.382226 -3.171948)', '2026-08-04 17:52:45', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38223 -3.17183)'), GeomFromEWKT('SRID=4674;POINT (-39.382226 -3.171948)'))) / (select extract(epoch from '2026-08-04 17:52:45'::timestamp) - extract(epoch from '2026-08-04 17:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38223 -3.17183)'), GeomFromEWKT('SRID=4674;POINT (-39.382226 -3.171948)'))) / (select extract(epoch from '2026-08-04 17:52:45'::timestamp) - extract(epoch from '2026-08-04 17:52: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'), 48166, 'SRID=4674;POINT (-39.382232 -3.172077)', '2026-08-04 17:52:50', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382226 -3.171948)'), GeomFromEWKT('SRID=4674;POINT (-39.382232 -3.172077)'))) / (select extract(epoch from '2026-08-04 17:52:50'::timestamp) - extract(epoch from '2026-08-04 17:52:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382226 -3.171948)'), GeomFromEWKT('SRID=4674;POINT (-39.382232 -3.172077)'))) / (select extract(epoch from '2026-08-04 17:52:50'::timestamp) - extract(epoch from '2026-08-04 17:52:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382234 -3.172217)', '2026-08-04 17:52:56', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382232 -3.172077)'), GeomFromEWKT('SRID=4674;POINT (-39.382234 -3.172217)'))) / (select extract(epoch from '2026-08-04 17:52:56'::timestamp) - extract(epoch from '2026-08-04 17:52:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382232 -3.172077)'), GeomFromEWKT('SRID=4674;POINT (-39.382234 -3.172217)'))) / (select extract(epoch from '2026-08-04 17:52:56'::timestamp) - extract(epoch from '2026-08-04 17:52: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'), 48166, 'SRID=4674;POINT (-39.382228 -3.172355)', '2026-08-04 17:53:02', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382234 -3.172217)'), GeomFromEWKT('SRID=4674;POINT (-39.382228 -3.172355)'))) / (select extract(epoch from '2026-08-04 17:53:02'::timestamp) - extract(epoch from '2026-08-04 17:52:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382234 -3.172217)'), GeomFromEWKT('SRID=4674;POINT (-39.382228 -3.172355)'))) / (select extract(epoch from '2026-08-04 17:53:02'::timestamp) - extract(epoch from '2026-08-04 17:52: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'), 48166, 'SRID=4674;POINT (-39.382244 -3.172547)', '2026-08-04 17:53:10', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382228 -3.172355)'), GeomFromEWKT('SRID=4674;POINT (-39.382244 -3.172547)'))) / (select extract(epoch from '2026-08-04 17:53:10'::timestamp) - extract(epoch from '2026-08-04 17:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382228 -3.172355)'), GeomFromEWKT('SRID=4674;POINT (-39.382244 -3.172547)'))) / (select extract(epoch from '2026-08-04 17:53:10'::timestamp) - extract(epoch from '2026-08-04 17:53:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382236 -3.172738)', '2026-08-04 17:53:18', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382244 -3.172547)'), GeomFromEWKT('SRID=4674;POINT (-39.382236 -3.172738)'))) / (select extract(epoch from '2026-08-04 17:53:18'::timestamp) - extract(epoch from '2026-08-04 17:53:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382244 -3.172547)'), GeomFromEWKT('SRID=4674;POINT (-39.382236 -3.172738)'))) / (select extract(epoch from '2026-08-04 17:53:18'::timestamp) - extract(epoch from '2026-08-04 17:53: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'), 48166, 'SRID=4674;POINT (-39.382223 -3.172859)', '2026-08-04 17:53:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382236 -3.172738)'), GeomFromEWKT('SRID=4674;POINT (-39.382223 -3.172859)'))) / (select extract(epoch from '2026-08-04 17:53:23'::timestamp) - extract(epoch from '2026-08-04 17:53:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382236 -3.172738)'), GeomFromEWKT('SRID=4674;POINT (-39.382223 -3.172859)'))) / (select extract(epoch from '2026-08-04 17:53:23'::timestamp) - extract(epoch from '2026-08-04 17:53: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'), 48166, 'SRID=4674;POINT (-39.382211 -3.172989)', '2026-08-04 17:53:28', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382223 -3.172859)'), GeomFromEWKT('SRID=4674;POINT (-39.382211 -3.172989)'))) / (select extract(epoch from '2026-08-04 17:53:28'::timestamp) - extract(epoch from '2026-08-04 17:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382223 -3.172859)'), GeomFromEWKT('SRID=4674;POINT (-39.382211 -3.172989)'))) / (select extract(epoch from '2026-08-04 17:53:28'::timestamp) - extract(epoch from '2026-08-04 17:53: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'), 48166, 'SRID=4674;POINT (-39.382203 -3.173115)', '2026-08-04 17:53:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382211 -3.172989)'), GeomFromEWKT('SRID=4674;POINT (-39.382203 -3.173115)'))) / (select extract(epoch from '2026-08-04 17:53:33'::timestamp) - extract(epoch from '2026-08-04 17:53:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382211 -3.172989)'), GeomFromEWKT('SRID=4674;POINT (-39.382203 -3.173115)'))) / (select extract(epoch from '2026-08-04 17:53:33'::timestamp) - extract(epoch from '2026-08-04 17:53:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382207 -3.173312)', '2026-08-04 17:53:41', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382203 -3.173115)'), GeomFromEWKT('SRID=4674;POINT (-39.382207 -3.173312)'))) / (select extract(epoch from '2026-08-04 17:53:41'::timestamp) - extract(epoch from '2026-08-04 17:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382203 -3.173115)'), GeomFromEWKT('SRID=4674;POINT (-39.382207 -3.173312)'))) / (select extract(epoch from '2026-08-04 17:53:41'::timestamp) - extract(epoch from '2026-08-04 17:53: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'), 48166, 'SRID=4674;POINT (-39.382203 -3.173503)', '2026-08-04 17:53:49', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382207 -3.173312)'), GeomFromEWKT('SRID=4674;POINT (-39.382203 -3.173503)'))) / (select extract(epoch from '2026-08-04 17:53:49'::timestamp) - extract(epoch from '2026-08-04 17:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382207 -3.173312)'), GeomFromEWKT('SRID=4674;POINT (-39.382203 -3.173503)'))) / (select extract(epoch from '2026-08-04 17:53:49'::timestamp) - extract(epoch from '2026-08-04 17:53:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382206 -3.173656)', '2026-08-04 17:53:55', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382203 -3.173503)'), GeomFromEWKT('SRID=4674;POINT (-39.382206 -3.173656)'))) / (select extract(epoch from '2026-08-04 17:53:55'::timestamp) - extract(epoch from '2026-08-04 17:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382203 -3.173503)'), GeomFromEWKT('SRID=4674;POINT (-39.382206 -3.173656)'))) / (select extract(epoch from '2026-08-04 17:53:55'::timestamp) - extract(epoch from '2026-08-04 17:53:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382214 -3.173808)', '2026-08-04 17:54:01', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382206 -3.173656)'), GeomFromEWKT('SRID=4674;POINT (-39.382214 -3.173808)'))) / (select extract(epoch from '2026-08-04 17:54:01'::timestamp) - extract(epoch from '2026-08-04 17:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382206 -3.173656)'), GeomFromEWKT('SRID=4674;POINT (-39.382214 -3.173808)'))) / (select extract(epoch from '2026-08-04 17:54:01'::timestamp) - extract(epoch from '2026-08-04 17:53: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'), 48166, 'SRID=4674;POINT (-39.382213 -3.17399)', '2026-08-04 17:54:08', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382214 -3.173808)'), GeomFromEWKT('SRID=4674;POINT (-39.382213 -3.17399)'))) / (select extract(epoch from '2026-08-04 17:54:08'::timestamp) - extract(epoch from '2026-08-04 17:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382214 -3.173808)'), GeomFromEWKT('SRID=4674;POINT (-39.382213 -3.17399)'))) / (select extract(epoch from '2026-08-04 17:54:08'::timestamp) - extract(epoch from '2026-08-04 17:54:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382222 -3.1742)', '2026-08-04 17:54:16', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382213 -3.17399)'), GeomFromEWKT('SRID=4674;POINT (-39.382222 -3.1742)'))) / (select extract(epoch from '2026-08-04 17:54:16'::timestamp) - extract(epoch from '2026-08-04 17:54:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382213 -3.17399)'), GeomFromEWKT('SRID=4674;POINT (-39.382222 -3.1742)'))) / (select extract(epoch from '2026-08-04 17:54:16'::timestamp) - extract(epoch from '2026-08-04 17:54: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'), 48166, 'SRID=4674;POINT (-39.382235 -3.174354)', '2026-08-04 17:54:22', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382222 -3.1742)'), GeomFromEWKT('SRID=4674;POINT (-39.382235 -3.174354)'))) / (select extract(epoch from '2026-08-04 17:54:22'::timestamp) - extract(epoch from '2026-08-04 17:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382222 -3.1742)'), GeomFromEWKT('SRID=4674;POINT (-39.382235 -3.174354)'))) / (select extract(epoch from '2026-08-04 17:54:22'::timestamp) - extract(epoch from '2026-08-04 17:54: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'), 48166, 'SRID=4674;POINT (-39.382252 -3.174553)', '2026-08-04 17:54:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382235 -3.174354)'), GeomFromEWKT('SRID=4674;POINT (-39.382252 -3.174553)'))) / (select extract(epoch from '2026-08-04 17:54:30'::timestamp) - extract(epoch from '2026-08-04 17:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382235 -3.174354)'), GeomFromEWKT('SRID=4674;POINT (-39.382252 -3.174553)'))) / (select extract(epoch from '2026-08-04 17:54:30'::timestamp) - extract(epoch from '2026-08-04 17:54: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'), 48166, 'SRID=4674;POINT (-39.382271 -3.174707)', '2026-08-04 17:54:36', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382252 -3.174553)'), GeomFromEWKT('SRID=4674;POINT (-39.382271 -3.174707)'))) / (select extract(epoch from '2026-08-04 17:54:36'::timestamp) - extract(epoch from '2026-08-04 17:54:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382252 -3.174553)'), GeomFromEWKT('SRID=4674;POINT (-39.382271 -3.174707)'))) / (select extract(epoch from '2026-08-04 17:54:36'::timestamp) - extract(epoch from '2026-08-04 17:54: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'), 48166, 'SRID=4674;POINT (-39.382282 -3.17486)', '2026-08-04 17:54:42', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382271 -3.174707)'), GeomFromEWKT('SRID=4674;POINT (-39.382282 -3.17486)'))) / (select extract(epoch from '2026-08-04 17:54:42'::timestamp) - extract(epoch from '2026-08-04 17:54:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382271 -3.174707)'), GeomFromEWKT('SRID=4674;POINT (-39.382282 -3.17486)'))) / (select extract(epoch from '2026-08-04 17:54:42'::timestamp) - extract(epoch from '2026-08-04 17:54: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'), 48166, 'SRID=4674;POINT (-39.38228 -3.175029)', '2026-08-04 17:54:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382282 -3.17486)'), GeomFromEWKT('SRID=4674;POINT (-39.38228 -3.175029)'))) / (select extract(epoch from '2026-08-04 17:54:49'::timestamp) - extract(epoch from '2026-08-04 17:54:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382282 -3.17486)'), GeomFromEWKT('SRID=4674;POINT (-39.38228 -3.175029)'))) / (select extract(epoch from '2026-08-04 17:54:49'::timestamp) - extract(epoch from '2026-08-04 17:54:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382282 -3.175208)', '2026-08-04 17:54:56', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38228 -3.175029)'), GeomFromEWKT('SRID=4674;POINT (-39.382282 -3.175208)'))) / (select extract(epoch from '2026-08-04 17:54:56'::timestamp) - extract(epoch from '2026-08-04 17:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38228 -3.175029)'), GeomFromEWKT('SRID=4674;POINT (-39.382282 -3.175208)'))) / (select extract(epoch from '2026-08-04 17:54:56'::timestamp) - extract(epoch from '2026-08-04 17:54: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'), 48166, 'SRID=4674;POINT (-39.382291 -3.175451)', '2026-08-04 17:55:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382282 -3.175208)'), GeomFromEWKT('SRID=4674;POINT (-39.382291 -3.175451)'))) / (select extract(epoch from '2026-08-04 17:55:05'::timestamp) - extract(epoch from '2026-08-04 17:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382282 -3.175208)'), GeomFromEWKT('SRID=4674;POINT (-39.382291 -3.175451)'))) / (select extract(epoch from '2026-08-04 17:55:05'::timestamp) - extract(epoch from '2026-08-04 17:54:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382304 -3.175597)', '2026-08-04 17:55:11', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382291 -3.175451)'), GeomFromEWKT('SRID=4674;POINT (-39.382304 -3.175597)'))) / (select extract(epoch from '2026-08-04 17:55:11'::timestamp) - extract(epoch from '2026-08-04 17:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382291 -3.175451)'), GeomFromEWKT('SRID=4674;POINT (-39.382304 -3.175597)'))) / (select extract(epoch from '2026-08-04 17:55:11'::timestamp) - extract(epoch from '2026-08-04 17:55:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382323 -3.175772)', '2026-08-04 17:55:18', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382304 -3.175597)'), GeomFromEWKT('SRID=4674;POINT (-39.382323 -3.175772)'))) / (select extract(epoch from '2026-08-04 17:55:18'::timestamp) - extract(epoch from '2026-08-04 17:55:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382304 -3.175597)'), GeomFromEWKT('SRID=4674;POINT (-39.382323 -3.175772)'))) / (select extract(epoch from '2026-08-04 17:55:18'::timestamp) - extract(epoch from '2026-08-04 17:55: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'), 48166, 'SRID=4674;POINT (-39.382348 -3.175935)', '2026-08-04 17:55:25', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382323 -3.175772)'), GeomFromEWKT('SRID=4674;POINT (-39.382348 -3.175935)'))) / (select extract(epoch from '2026-08-04 17:55:25'::timestamp) - extract(epoch from '2026-08-04 17:55:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382323 -3.175772)'), GeomFromEWKT('SRID=4674;POINT (-39.382348 -3.175935)'))) / (select extract(epoch from '2026-08-04 17:55:25'::timestamp) - extract(epoch from '2026-08-04 17:55: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'), 48166, 'SRID=4674;POINT (-39.382349 -3.176131)', '2026-08-04 17:55:33', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382348 -3.175935)'), GeomFromEWKT('SRID=4674;POINT (-39.382349 -3.176131)'))) / (select extract(epoch from '2026-08-04 17:55:33'::timestamp) - extract(epoch from '2026-08-04 17:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382348 -3.175935)'), GeomFromEWKT('SRID=4674;POINT (-39.382349 -3.176131)'))) / (select extract(epoch from '2026-08-04 17:55:33'::timestamp) - extract(epoch from '2026-08-04 17:55:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.38235 -3.176296)', '2026-08-04 17:55:40', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382349 -3.176131)'), GeomFromEWKT('SRID=4674;POINT (-39.38235 -3.176296)'))) / (select extract(epoch from '2026-08-04 17:55:40'::timestamp) - extract(epoch from '2026-08-04 17:55:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382349 -3.176131)'), GeomFromEWKT('SRID=4674;POINT (-39.38235 -3.176296)'))) / (select extract(epoch from '2026-08-04 17:55:40'::timestamp) - extract(epoch from '2026-08-04 17:55: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'), 48166, 'SRID=4674;POINT (-39.382358 -3.176468)', '2026-08-04 17:55:47', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38235 -3.176296)'), GeomFromEWKT('SRID=4674;POINT (-39.382358 -3.176468)'))) / (select extract(epoch from '2026-08-04 17:55:47'::timestamp) - extract(epoch from '2026-08-04 17:55:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38235 -3.176296)'), GeomFromEWKT('SRID=4674;POINT (-39.382358 -3.176468)'))) / (select extract(epoch from '2026-08-04 17:55:47'::timestamp) - extract(epoch from '2026-08-04 17:55: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'), 48166, 'SRID=4674;POINT (-39.382389 -3.17664)', '2026-08-04 17:55:54', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382358 -3.176468)'), GeomFromEWKT('SRID=4674;POINT (-39.382389 -3.17664)'))) / (select extract(epoch from '2026-08-04 17:55:54'::timestamp) - extract(epoch from '2026-08-04 17:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382358 -3.176468)'), GeomFromEWKT('SRID=4674;POINT (-39.382389 -3.17664)'))) / (select extract(epoch from '2026-08-04 17:55:54'::timestamp) - extract(epoch from '2026-08-04 17:55: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'), 48166, 'SRID=4674;POINT (-39.382438 -3.176823)', '2026-08-04 17:56:01', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382389 -3.17664)'), GeomFromEWKT('SRID=4674;POINT (-39.382438 -3.176823)'))) / (select extract(epoch from '2026-08-04 17:56:01'::timestamp) - extract(epoch from '2026-08-04 17:55:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382389 -3.17664)'), GeomFromEWKT('SRID=4674;POINT (-39.382438 -3.176823)'))) / (select extract(epoch from '2026-08-04 17:56:01'::timestamp) - extract(epoch from '2026-08-04 17:55:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.38248 -3.176963)', '2026-08-04 17:56:07', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382438 -3.176823)'), GeomFromEWKT('SRID=4674;POINT (-39.38248 -3.176963)'))) / (select extract(epoch from '2026-08-04 17:56:07'::timestamp) - extract(epoch from '2026-08-04 17:56:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382438 -3.176823)'), GeomFromEWKT('SRID=4674;POINT (-39.38248 -3.176963)'))) / (select extract(epoch from '2026-08-04 17:56:07'::timestamp) - extract(epoch from '2026-08-04 17:56: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'), 48166, 'SRID=4674;POINT (-39.382542 -3.177133)', '2026-08-04 17:56:14', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38248 -3.176963)'), GeomFromEWKT('SRID=4674;POINT (-39.382542 -3.177133)'))) / (select extract(epoch from '2026-08-04 17:56:14'::timestamp) - extract(epoch from '2026-08-04 17:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38248 -3.176963)'), GeomFromEWKT('SRID=4674;POINT (-39.382542 -3.177133)'))) / (select extract(epoch from '2026-08-04 17:56:14'::timestamp) - extract(epoch from '2026-08-04 17:56:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382583 -3.17729)', '2026-08-04 17:56:20', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382542 -3.177133)'), GeomFromEWKT('SRID=4674;POINT (-39.382583 -3.17729)'))) / (select extract(epoch from '2026-08-04 17:56:20'::timestamp) - extract(epoch from '2026-08-04 17:56:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382542 -3.177133)'), GeomFromEWKT('SRID=4674;POINT (-39.382583 -3.17729)'))) / (select extract(epoch from '2026-08-04 17:56:20'::timestamp) - extract(epoch from '2026-08-04 17:56: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'), 48166, 'SRID=4674;POINT (-39.382651 -3.177457)', '2026-08-04 17:56:26', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382583 -3.17729)'), GeomFromEWKT('SRID=4674;POINT (-39.382651 -3.177457)'))) / (select extract(epoch from '2026-08-04 17:56:26'::timestamp) - extract(epoch from '2026-08-04 17:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382583 -3.17729)'), GeomFromEWKT('SRID=4674;POINT (-39.382651 -3.177457)'))) / (select extract(epoch from '2026-08-04 17:56:26'::timestamp) - extract(epoch from '2026-08-04 17:56: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'), 48166, 'SRID=4674;POINT (-39.38271 -3.17758)', '2026-08-04 17:56:32', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382651 -3.177457)'), GeomFromEWKT('SRID=4674;POINT (-39.38271 -3.17758)'))) / (select extract(epoch from '2026-08-04 17:56:32'::timestamp) - extract(epoch from '2026-08-04 17:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382651 -3.177457)'), GeomFromEWKT('SRID=4674;POINT (-39.38271 -3.17758)'))) / (select extract(epoch from '2026-08-04 17:56:32'::timestamp) - extract(epoch from '2026-08-04 17:56: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'), 48166, 'SRID=4674;POINT (-39.38275 -3.177776)', '2026-08-04 17:56:40', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38271 -3.17758)'), GeomFromEWKT('SRID=4674;POINT (-39.38275 -3.177776)'))) / (select extract(epoch from '2026-08-04 17:56:40'::timestamp) - extract(epoch from '2026-08-04 17:56:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38271 -3.17758)'), GeomFromEWKT('SRID=4674;POINT (-39.38275 -3.177776)'))) / (select extract(epoch from '2026-08-04 17:56:40'::timestamp) - extract(epoch from '2026-08-04 17:56: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'), 48166, 'SRID=4674;POINT (-39.382839 -3.177963)', '2026-08-04 17:56:46', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38275 -3.177776)'), GeomFromEWKT('SRID=4674;POINT (-39.382839 -3.177963)'))) / (select extract(epoch from '2026-08-04 17:56:46'::timestamp) - extract(epoch from '2026-08-04 17:56:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38275 -3.177776)'), GeomFromEWKT('SRID=4674;POINT (-39.382839 -3.177963)'))) / (select extract(epoch from '2026-08-04 17:56:46'::timestamp) - extract(epoch from '2026-08-04 17:56: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'), 48166, 'SRID=4674;POINT (-39.382859 -3.17808)', '2026-08-04 17:56:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382839 -3.177963)'), GeomFromEWKT('SRID=4674;POINT (-39.382859 -3.17808)'))) / (select extract(epoch from '2026-08-04 17:56:51'::timestamp) - extract(epoch from '2026-08-04 17:56:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382839 -3.177963)'), GeomFromEWKT('SRID=4674;POINT (-39.382859 -3.17808)'))) / (select extract(epoch from '2026-08-04 17:56:51'::timestamp) - extract(epoch from '2026-08-04 17:56:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382917 -3.178209)', '2026-08-04 17:56:57', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382859 -3.17808)'), GeomFromEWKT('SRID=4674;POINT (-39.382917 -3.178209)'))) / (select extract(epoch from '2026-08-04 17:56:57'::timestamp) - extract(epoch from '2026-08-04 17:56:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382859 -3.17808)'), GeomFromEWKT('SRID=4674;POINT (-39.382917 -3.178209)'))) / (select extract(epoch from '2026-08-04 17:56:57'::timestamp) - extract(epoch from '2026-08-04 17:56: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'), 48166, 'SRID=4674;POINT (-39.383001 -3.178399)', '2026-08-04 17:57:03', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382917 -3.178209)'), GeomFromEWKT('SRID=4674;POINT (-39.383001 -3.178399)'))) / (select extract(epoch from '2026-08-04 17:57:03'::timestamp) - extract(epoch from '2026-08-04 17:56:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382917 -3.178209)'), GeomFromEWKT('SRID=4674;POINT (-39.383001 -3.178399)'))) / (select extract(epoch from '2026-08-04 17:57:03'::timestamp) - extract(epoch from '2026-08-04 17:56: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'), 48166, 'SRID=4674;POINT (-39.383059 -3.178524)', '2026-08-04 17:57:09', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383001 -3.178399)'), GeomFromEWKT('SRID=4674;POINT (-39.383059 -3.178524)'))) / (select extract(epoch from '2026-08-04 17:57:09'::timestamp) - extract(epoch from '2026-08-04 17:57:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383001 -3.178399)'), GeomFromEWKT('SRID=4674;POINT (-39.383059 -3.178524)'))) / (select extract(epoch from '2026-08-04 17:57:09'::timestamp) - extract(epoch from '2026-08-04 17:57: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'), 48166, 'SRID=4674;POINT (-39.383158 -3.178656)', '2026-08-04 17:57:16', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383059 -3.178524)'), GeomFromEWKT('SRID=4674;POINT (-39.383158 -3.178656)'))) / (select extract(epoch from '2026-08-04 17:57:16'::timestamp) - extract(epoch from '2026-08-04 17:57:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383059 -3.178524)'), GeomFromEWKT('SRID=4674;POINT (-39.383158 -3.178656)'))) / (select extract(epoch from '2026-08-04 17:57:16'::timestamp) - extract(epoch from '2026-08-04 17:57: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'), 48166, 'SRID=4674;POINT (-39.383315 -3.17887)', '2026-08-04 17:57:24', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383158 -3.178656)'), GeomFromEWKT('SRID=4674;POINT (-39.383315 -3.17887)'))) / (select extract(epoch from '2026-08-04 17:57:24'::timestamp) - extract(epoch from '2026-08-04 17:57:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383158 -3.178656)'), GeomFromEWKT('SRID=4674;POINT (-39.383315 -3.17887)'))) / (select extract(epoch from '2026-08-04 17:57:24'::timestamp) - extract(epoch from '2026-08-04 17:57: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'), 48166, 'SRID=4674;POINT (-39.383404 -3.179021)', '2026-08-04 17:57:31', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383315 -3.17887)'), GeomFromEWKT('SRID=4674;POINT (-39.383404 -3.179021)'))) / (select extract(epoch from '2026-08-04 17:57:31'::timestamp) - extract(epoch from '2026-08-04 17:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383315 -3.17887)'), GeomFromEWKT('SRID=4674;POINT (-39.383404 -3.179021)'))) / (select extract(epoch from '2026-08-04 17:57:31'::timestamp) - extract(epoch from '2026-08-04 17:57: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'), 48166, 'SRID=4674;POINT (-39.383467 -3.179152)', '2026-08-04 17:57:37', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383404 -3.179021)'), GeomFromEWKT('SRID=4674;POINT (-39.383467 -3.179152)'))) / (select extract(epoch from '2026-08-04 17:57:37'::timestamp) - extract(epoch from '2026-08-04 17:57:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383404 -3.179021)'), GeomFromEWKT('SRID=4674;POINT (-39.383467 -3.179152)'))) / (select extract(epoch from '2026-08-04 17:57:37'::timestamp) - extract(epoch from '2026-08-04 17:57: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'), 48166, 'SRID=4674;POINT (-39.383524 -3.179369)', '2026-08-04 17:57:45', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383467 -3.179152)'), GeomFromEWKT('SRID=4674;POINT (-39.383524 -3.179369)'))) / (select extract(epoch from '2026-08-04 17:57:45'::timestamp) - extract(epoch from '2026-08-04 17:57:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383467 -3.179152)'), GeomFromEWKT('SRID=4674;POINT (-39.383524 -3.179369)'))) / (select extract(epoch from '2026-08-04 17:57:45'::timestamp) - extract(epoch from '2026-08-04 17:57: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'), 48166, 'SRID=4674;POINT (-39.383578 -3.179543)', '2026-08-04 17:57:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383524 -3.179369)'), GeomFromEWKT('SRID=4674;POINT (-39.383578 -3.179543)'))) / (select extract(epoch from '2026-08-04 17:57:54'::timestamp) - extract(epoch from '2026-08-04 17:57:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383524 -3.179369)'), GeomFromEWKT('SRID=4674;POINT (-39.383578 -3.179543)'))) / (select extract(epoch from '2026-08-04 17:57:54'::timestamp) - extract(epoch from '2026-08-04 17:57: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'), 48166, 'SRID=4674;POINT (-39.383657 -3.179763)', '2026-08-04 17:58:02', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383578 -3.179543)'), GeomFromEWKT('SRID=4674;POINT (-39.383657 -3.179763)'))) / (select extract(epoch from '2026-08-04 17:58:02'::timestamp) - extract(epoch from '2026-08-04 17:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383578 -3.179543)'), GeomFromEWKT('SRID=4674;POINT (-39.383657 -3.179763)'))) / (select extract(epoch from '2026-08-04 17:58:02'::timestamp) - extract(epoch from '2026-08-04 17:57: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'), 48166, 'SRID=4674;POINT (-39.383675 -3.179878)', '2026-08-04 17:58:07', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383657 -3.179763)'), GeomFromEWKT('SRID=4674;POINT (-39.383675 -3.179878)'))) / (select extract(epoch from '2026-08-04 17:58:07'::timestamp) - extract(epoch from '2026-08-04 17:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383657 -3.179763)'), GeomFromEWKT('SRID=4674;POINT (-39.383675 -3.179878)'))) / (select extract(epoch from '2026-08-04 17:58:07'::timestamp) - extract(epoch from '2026-08-04 17:58:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.383714 -3.180008)', '2026-08-04 17:58:12', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383675 -3.179878)'), GeomFromEWKT('SRID=4674;POINT (-39.383714 -3.180008)'))) / (select extract(epoch from '2026-08-04 17:58:12'::timestamp) - extract(epoch from '2026-08-04 17:58:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383675 -3.179878)'), GeomFromEWKT('SRID=4674;POINT (-39.383714 -3.180008)'))) / (select extract(epoch from '2026-08-04 17:58:12'::timestamp) - extract(epoch from '2026-08-04 17:58:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.383771 -3.180199)', '2026-08-04 17:58:19', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383714 -3.180008)'), GeomFromEWKT('SRID=4674;POINT (-39.383771 -3.180199)'))) / (select extract(epoch from '2026-08-04 17:58:19'::timestamp) - extract(epoch from '2026-08-04 17:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383714 -3.180008)'), GeomFromEWKT('SRID=4674;POINT (-39.383771 -3.180199)'))) / (select extract(epoch from '2026-08-04 17:58:19'::timestamp) - extract(epoch from '2026-08-04 17:58: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'), 48166, 'SRID=4674;POINT (-39.383803 -3.180406)', '2026-08-04 17:58:27', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383771 -3.180199)'), GeomFromEWKT('SRID=4674;POINT (-39.383803 -3.180406)'))) / (select extract(epoch from '2026-08-04 17:58:27'::timestamp) - extract(epoch from '2026-08-04 17:58:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383771 -3.180199)'), GeomFromEWKT('SRID=4674;POINT (-39.383803 -3.180406)'))) / (select extract(epoch from '2026-08-04 17:58:27'::timestamp) - extract(epoch from '2026-08-04 17:58: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'), 48166, 'SRID=4674;POINT (-39.383807 -3.180605)', '2026-08-04 17:58:35', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383803 -3.180406)'), GeomFromEWKT('SRID=4674;POINT (-39.383807 -3.180605)'))) / (select extract(epoch from '2026-08-04 17:58:35'::timestamp) - extract(epoch from '2026-08-04 17:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383803 -3.180406)'), GeomFromEWKT('SRID=4674;POINT (-39.383807 -3.180605)'))) / (select extract(epoch from '2026-08-04 17:58:35'::timestamp) - extract(epoch from '2026-08-04 17:58: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'), 48166, 'SRID=4674;POINT (-39.383804 -3.180757)', '2026-08-04 17:58:42', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383807 -3.180605)'), GeomFromEWKT('SRID=4674;POINT (-39.383804 -3.180757)'))) / (select extract(epoch from '2026-08-04 17:58:42'::timestamp) - extract(epoch from '2026-08-04 17:58:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383807 -3.180605)'), GeomFromEWKT('SRID=4674;POINT (-39.383804 -3.180757)'))) / (select extract(epoch from '2026-08-04 17:58:42'::timestamp) - extract(epoch from '2026-08-04 17:58: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'), 48166, 'SRID=4674;POINT (-39.383776 -3.180888)', '2026-08-04 17:58:48', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383804 -3.180757)'), GeomFromEWKT('SRID=4674;POINT (-39.383776 -3.180888)'))) / (select extract(epoch from '2026-08-04 17:58:48'::timestamp) - extract(epoch from '2026-08-04 17:58:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383804 -3.180757)'), GeomFromEWKT('SRID=4674;POINT (-39.383776 -3.180888)'))) / (select extract(epoch from '2026-08-04 17:58:48'::timestamp) - extract(epoch from '2026-08-04 17:58: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'), 48166, 'SRID=4674;POINT (-39.383757 -3.181027)', '2026-08-04 17:58:54', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383776 -3.180888)'), GeomFromEWKT('SRID=4674;POINT (-39.383757 -3.181027)'))) / (select extract(epoch from '2026-08-04 17:58:54'::timestamp) - extract(epoch from '2026-08-04 17:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383776 -3.180888)'), GeomFromEWKT('SRID=4674;POINT (-39.383757 -3.181027)'))) / (select extract(epoch from '2026-08-04 17:58:54'::timestamp) - extract(epoch from '2026-08-04 17:58: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'), 48166, 'SRID=4674;POINT (-39.383746 -3.181173)', '2026-08-04 17:59:01', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383757 -3.181027)'), GeomFromEWKT('SRID=4674;POINT (-39.383746 -3.181173)'))) / (select extract(epoch from '2026-08-04 17:59:01'::timestamp) - extract(epoch from '2026-08-04 17:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383757 -3.181027)'), GeomFromEWKT('SRID=4674;POINT (-39.383746 -3.181173)'))) / (select extract(epoch from '2026-08-04 17:59:01'::timestamp) - extract(epoch from '2026-08-04 17:58: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'), 48166, 'SRID=4674;POINT (-39.383687 -3.18136)', '2026-08-04 17:59:10', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383746 -3.181173)'), GeomFromEWKT('SRID=4674;POINT (-39.383687 -3.18136)'))) / (select extract(epoch from '2026-08-04 17:59:10'::timestamp) - extract(epoch from '2026-08-04 17:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383746 -3.181173)'), GeomFromEWKT('SRID=4674;POINT (-39.383687 -3.18136)'))) / (select extract(epoch from '2026-08-04 17:59:10'::timestamp) - extract(epoch from '2026-08-04 17:59: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'), 48166, 'SRID=4674;POINT (-39.383655 -3.181496)', '2026-08-04 17:59:16', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383687 -3.18136)'), GeomFromEWKT('SRID=4674;POINT (-39.383655 -3.181496)'))) / (select extract(epoch from '2026-08-04 17:59:16'::timestamp) - extract(epoch from '2026-08-04 17:59:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383687 -3.18136)'), GeomFromEWKT('SRID=4674;POINT (-39.383655 -3.181496)'))) / (select extract(epoch from '2026-08-04 17:59:16'::timestamp) - extract(epoch from '2026-08-04 17:59: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'), 48166, 'SRID=4674;POINT (-39.383613 -3.181618)', '2026-08-04 17:59:22', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383655 -3.181496)'), GeomFromEWKT('SRID=4674;POINT (-39.383613 -3.181618)'))) / (select extract(epoch from '2026-08-04 17:59:22'::timestamp) - extract(epoch from '2026-08-04 17:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383655 -3.181496)'), GeomFromEWKT('SRID=4674;POINT (-39.383613 -3.181618)'))) / (select extract(epoch from '2026-08-04 17:59:22'::timestamp) - extract(epoch from '2026-08-04 17:59: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'), 48166, 'SRID=4674;POINT (-39.383546 -3.18176)', '2026-08-04 17:59:30', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383613 -3.181618)'), GeomFromEWKT('SRID=4674;POINT (-39.383546 -3.18176)'))) / (select extract(epoch from '2026-08-04 17:59:30'::timestamp) - extract(epoch from '2026-08-04 17:59:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383613 -3.181618)'), GeomFromEWKT('SRID=4674;POINT (-39.383546 -3.18176)'))) / (select extract(epoch from '2026-08-04 17:59:30'::timestamp) - extract(epoch from '2026-08-04 17:59: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'), 48166, 'SRID=4674;POINT (-39.383494 -3.181838)', '2026-08-04 17:59:35', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383546 -3.18176)'), GeomFromEWKT('SRID=4674;POINT (-39.383494 -3.181838)'))) / (select extract(epoch from '2026-08-04 17:59:35'::timestamp) - extract(epoch from '2026-08-04 17:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383546 -3.18176)'), GeomFromEWKT('SRID=4674;POINT (-39.383494 -3.181838)'))) / (select extract(epoch from '2026-08-04 17:59:35'::timestamp) - extract(epoch from '2026-08-04 17:59:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.383434 -3.181931)', '2026-08-04 17:59:42', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383494 -3.181838)'), GeomFromEWKT('SRID=4674;POINT (-39.383434 -3.181931)'))) / (select extract(epoch from '2026-08-04 17:59:42'::timestamp) - extract(epoch from '2026-08-04 17:59:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383494 -3.181838)'), GeomFromEWKT('SRID=4674;POINT (-39.383434 -3.181931)'))) / (select extract(epoch from '2026-08-04 17:59:42'::timestamp) - extract(epoch from '2026-08-04 17:59:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
