 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.501016 -3.060617)', '2026-07-17 21:02:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500977 -3.060553)'), GeomFromEWKT('SRID=4674;POINT (-39.501016 -3.060617)'))) / (select extract(epoch from '2026-07-17 21:02:21'::timestamp) - extract(epoch from '2026-07-17 21:02:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500977 -3.060553)'), GeomFromEWKT('SRID=4674;POINT (-39.501016 -3.060617)'))) / (select extract(epoch from '2026-07-17 21:02:21'::timestamp) - extract(epoch from '2026-07-17 21:02: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'), 47917, 'SRID=4674;POINT (-39.501059 -3.060677)', '2026-07-17 21:02:25', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501016 -3.060617)'), GeomFromEWKT('SRID=4674;POINT (-39.501059 -3.060677)'))) / (select extract(epoch from '2026-07-17 21:02:25'::timestamp) - extract(epoch from '2026-07-17 21:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501016 -3.060617)'), GeomFromEWKT('SRID=4674;POINT (-39.501059 -3.060677)'))) / (select extract(epoch from '2026-07-17 21:02:25'::timestamp) - extract(epoch from '2026-07-17 21:02: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'), 47917, 'SRID=4674;POINT (-39.501078 -3.060709)', '2026-07-17 21:02:27', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501059 -3.060677)'), GeomFromEWKT('SRID=4674;POINT (-39.501078 -3.060709)'))) / (select extract(epoch from '2026-07-17 21:02:27'::timestamp) - extract(epoch from '2026-07-17 21:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501059 -3.060677)'), GeomFromEWKT('SRID=4674;POINT (-39.501078 -3.060709)'))) / (select extract(epoch from '2026-07-17 21:02:27'::timestamp) - extract(epoch from '2026-07-17 21:02:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.501154 -3.060802)', '2026-07-17 21:02:34', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501078 -3.060709)'), GeomFromEWKT('SRID=4674;POINT (-39.501154 -3.060802)'))) / (select extract(epoch from '2026-07-17 21:02:34'::timestamp) - extract(epoch from '2026-07-17 21:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501078 -3.060709)'), GeomFromEWKT('SRID=4674;POINT (-39.501154 -3.060802)'))) / (select extract(epoch from '2026-07-17 21:02:34'::timestamp) - extract(epoch from '2026-07-17 21:02: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'), 47917, 'SRID=4674;POINT (-39.501218 -3.060858)', '2026-07-17 21:02:39', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501154 -3.060802)'), GeomFromEWKT('SRID=4674;POINT (-39.501218 -3.060858)'))) / (select extract(epoch from '2026-07-17 21:02:39'::timestamp) - extract(epoch from '2026-07-17 21:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501154 -3.060802)'), GeomFromEWKT('SRID=4674;POINT (-39.501218 -3.060858)'))) / (select extract(epoch from '2026-07-17 21:02:39'::timestamp) - extract(epoch from '2026-07-17 21:02:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.501298 -3.060932)', '2026-07-17 21:02:46', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501218 -3.060858)'), GeomFromEWKT('SRID=4674;POINT (-39.501298 -3.060932)'))) / (select extract(epoch from '2026-07-17 21:02:46'::timestamp) - extract(epoch from '2026-07-17 21:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501218 -3.060858)'), GeomFromEWKT('SRID=4674;POINT (-39.501298 -3.060932)'))) / (select extract(epoch from '2026-07-17 21:02:46'::timestamp) - extract(epoch from '2026-07-17 21:02: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'), 47917, 'SRID=4674;POINT (-39.501306 -3.060941)', '2026-07-17 21:02:47', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501298 -3.060932)'), GeomFromEWKT('SRID=4674;POINT (-39.501306 -3.060941)'))) / (select extract(epoch from '2026-07-17 21:02:47'::timestamp) - extract(epoch from '2026-07-17 21:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501298 -3.060932)'), GeomFromEWKT('SRID=4674;POINT (-39.501306 -3.060941)'))) / (select extract(epoch from '2026-07-17 21:02:47'::timestamp) - extract(epoch from '2026-07-17 21:02: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'), 47917, 'SRID=4674;POINT (-39.501357 -3.061007)', '2026-07-17 21:02:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501306 -3.060941)'), GeomFromEWKT('SRID=4674;POINT (-39.501357 -3.061007)'))) / (select extract(epoch from '2026-07-17 21:02:52'::timestamp) - extract(epoch from '2026-07-17 21:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501306 -3.060941)'), GeomFromEWKT('SRID=4674;POINT (-39.501357 -3.061007)'))) / (select extract(epoch from '2026-07-17 21:02:52'::timestamp) - extract(epoch from '2026-07-17 21:02:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.501392 -3.061056)', '2026-07-17 21:02:56', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501357 -3.061007)'), GeomFromEWKT('SRID=4674;POINT (-39.501392 -3.061056)'))) / (select extract(epoch from '2026-07-17 21:02:56'::timestamp) - extract(epoch from '2026-07-17 21:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501357 -3.061007)'), GeomFromEWKT('SRID=4674;POINT (-39.501392 -3.061056)'))) / (select extract(epoch from '2026-07-17 21:02:56'::timestamp) - extract(epoch from '2026-07-17 21:02: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'), 47917, 'SRID=4674;POINT (-39.501453 -3.061141)', '2026-07-17 21:03:02', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501392 -3.061056)'), GeomFromEWKT('SRID=4674;POINT (-39.501453 -3.061141)'))) / (select extract(epoch from '2026-07-17 21:03:02'::timestamp) - extract(epoch from '2026-07-17 21:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501392 -3.061056)'), GeomFromEWKT('SRID=4674;POINT (-39.501453 -3.061141)'))) / (select extract(epoch from '2026-07-17 21:03:02'::timestamp) - extract(epoch from '2026-07-17 21:02:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.501526 -3.061211)', '2026-07-17 21:03:08', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501453 -3.061141)'), GeomFromEWKT('SRID=4674;POINT (-39.501526 -3.061211)'))) / (select extract(epoch from '2026-07-17 21:03:08'::timestamp) - extract(epoch from '2026-07-17 21:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501453 -3.061141)'), GeomFromEWKT('SRID=4674;POINT (-39.501526 -3.061211)'))) / (select extract(epoch from '2026-07-17 21:03:08'::timestamp) - extract(epoch from '2026-07-17 21:03:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.501581 -3.061296)', '2026-07-17 21:03:14', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501526 -3.061211)'), GeomFromEWKT('SRID=4674;POINT (-39.501581 -3.061296)'))) / (select extract(epoch from '2026-07-17 21:03:14'::timestamp) - extract(epoch from '2026-07-17 21:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501526 -3.061211)'), GeomFromEWKT('SRID=4674;POINT (-39.501581 -3.061296)'))) / (select extract(epoch from '2026-07-17 21:03:14'::timestamp) - extract(epoch from '2026-07-17 21:03:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.501636 -3.061373)', '2026-07-17 21:03:19', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501581 -3.061296)'), GeomFromEWKT('SRID=4674;POINT (-39.501636 -3.061373)'))) / (select extract(epoch from '2026-07-17 21:03:19'::timestamp) - extract(epoch from '2026-07-17 21:03:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501581 -3.061296)'), GeomFromEWKT('SRID=4674;POINT (-39.501636 -3.061373)'))) / (select extract(epoch from '2026-07-17 21:03:19'::timestamp) - extract(epoch from '2026-07-17 21:03:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.501682 -3.061446)', '2026-07-17 21:03:24', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501636 -3.061373)'), GeomFromEWKT('SRID=4674;POINT (-39.501682 -3.061446)'))) / (select extract(epoch from '2026-07-17 21:03:24'::timestamp) - extract(epoch from '2026-07-17 21:03:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501636 -3.061373)'), GeomFromEWKT('SRID=4674;POINT (-39.501682 -3.061446)'))) / (select extract(epoch from '2026-07-17 21:03:24'::timestamp) - extract(epoch from '2026-07-17 21:03: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'), 47917, 'SRID=4674;POINT (-39.501733 -3.061537)', '2026-07-17 21:03:30', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501682 -3.061446)'), GeomFromEWKT('SRID=4674;POINT (-39.501733 -3.061537)'))) / (select extract(epoch from '2026-07-17 21:03:30'::timestamp) - extract(epoch from '2026-07-17 21:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501682 -3.061446)'), GeomFromEWKT('SRID=4674;POINT (-39.501733 -3.061537)'))) / (select extract(epoch from '2026-07-17 21:03:30'::timestamp) - extract(epoch from '2026-07-17 21:03: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'), 47917, 'SRID=4674;POINT (-39.501741 -3.06155)', '2026-07-17 21:03:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501733 -3.061537)'), GeomFromEWKT('SRID=4674;POINT (-39.501741 -3.06155)'))) / (select extract(epoch from '2026-07-17 21:03:31'::timestamp) - extract(epoch from '2026-07-17 21:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501733 -3.061537)'), GeomFromEWKT('SRID=4674;POINT (-39.501741 -3.06155)'))) / (select extract(epoch from '2026-07-17 21:03:31'::timestamp) - extract(epoch from '2026-07-17 21:03: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'), 47917, 'SRID=4674;POINT (-39.50178 -3.061588)', '2026-07-17 21:03:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501741 -3.06155)'), GeomFromEWKT('SRID=4674;POINT (-39.50178 -3.061588)'))) / (select extract(epoch from '2026-07-17 21:03:34'::timestamp) - extract(epoch from '2026-07-17 21:03:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501741 -3.06155)'), GeomFromEWKT('SRID=4674;POINT (-39.50178 -3.061588)'))) / (select extract(epoch from '2026-07-17 21:03:34'::timestamp) - extract(epoch from '2026-07-17 21:03:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.501831 -3.061663)', '2026-07-17 21:03:40', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50178 -3.061588)'), GeomFromEWKT('SRID=4674;POINT (-39.501831 -3.061663)'))) / (select extract(epoch from '2026-07-17 21:03:40'::timestamp) - extract(epoch from '2026-07-17 21:03:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50178 -3.061588)'), GeomFromEWKT('SRID=4674;POINT (-39.501831 -3.061663)'))) / (select extract(epoch from '2026-07-17 21:03:40'::timestamp) - extract(epoch from '2026-07-17 21:03: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'), 47917, 'SRID=4674;POINT (-39.501884 -3.061746)', '2026-07-17 21:03:46', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501831 -3.061663)'), GeomFromEWKT('SRID=4674;POINT (-39.501884 -3.061746)'))) / (select extract(epoch from '2026-07-17 21:03:46'::timestamp) - extract(epoch from '2026-07-17 21:03:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501831 -3.061663)'), GeomFromEWKT('SRID=4674;POINT (-39.501884 -3.061746)'))) / (select extract(epoch from '2026-07-17 21:03:46'::timestamp) - extract(epoch from '2026-07-17 21:03:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.501945 -3.061836)', '2026-07-17 21:03:52', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501884 -3.061746)'), GeomFromEWKT('SRID=4674;POINT (-39.501945 -3.061836)'))) / (select extract(epoch from '2026-07-17 21:03:52'::timestamp) - extract(epoch from '2026-07-17 21:03:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501884 -3.061746)'), GeomFromEWKT('SRID=4674;POINT (-39.501945 -3.061836)'))) / (select extract(epoch from '2026-07-17 21:03:52'::timestamp) - extract(epoch from '2026-07-17 21:03: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'), 47917, 'SRID=4674;POINT (-39.501989 -3.061899)', '2026-07-17 21:03:57', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501945 -3.061836)'), GeomFromEWKT('SRID=4674;POINT (-39.501989 -3.061899)'))) / (select extract(epoch from '2026-07-17 21:03:57'::timestamp) - extract(epoch from '2026-07-17 21:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501945 -3.061836)'), GeomFromEWKT('SRID=4674;POINT (-39.501989 -3.061899)'))) / (select extract(epoch from '2026-07-17 21:03:57'::timestamp) - extract(epoch from '2026-07-17 21:03:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.502044 -3.061974)', '2026-07-17 21:04:03', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501989 -3.061899)'), GeomFromEWKT('SRID=4674;POINT (-39.502044 -3.061974)'))) / (select extract(epoch from '2026-07-17 21:04:03'::timestamp) - extract(epoch from '2026-07-17 21:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501989 -3.061899)'), GeomFromEWKT('SRID=4674;POINT (-39.502044 -3.061974)'))) / (select extract(epoch from '2026-07-17 21:04:03'::timestamp) - extract(epoch from '2026-07-17 21:03:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.502101 -3.062035)', '2026-07-17 21:04:08', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502044 -3.061974)'), GeomFromEWKT('SRID=4674;POINT (-39.502101 -3.062035)'))) / (select extract(epoch from '2026-07-17 21:04:08'::timestamp) - extract(epoch from '2026-07-17 21:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502044 -3.061974)'), GeomFromEWKT('SRID=4674;POINT (-39.502101 -3.062035)'))) / (select extract(epoch from '2026-07-17 21:04:08'::timestamp) - extract(epoch from '2026-07-17 21:04:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.502164 -3.062116)', '2026-07-17 21:04:14', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502101 -3.062035)'), GeomFromEWKT('SRID=4674;POINT (-39.502164 -3.062116)'))) / (select extract(epoch from '2026-07-17 21:04:14'::timestamp) - extract(epoch from '2026-07-17 21:04:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502101 -3.062035)'), GeomFromEWKT('SRID=4674;POINT (-39.502164 -3.062116)'))) / (select extract(epoch from '2026-07-17 21:04:14'::timestamp) - extract(epoch from '2026-07-17 21:04: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'), 47917, 'SRID=4674;POINT (-39.502199 -3.062157)', '2026-07-17 21:04:17', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502164 -3.062116)'), GeomFromEWKT('SRID=4674;POINT (-39.502199 -3.062157)'))) / (select extract(epoch from '2026-07-17 21:04:17'::timestamp) - extract(epoch from '2026-07-17 21:04:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502164 -3.062116)'), GeomFromEWKT('SRID=4674;POINT (-39.502199 -3.062157)'))) / (select extract(epoch from '2026-07-17 21:04:17'::timestamp) - extract(epoch from '2026-07-17 21:04:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.502206 -3.062181)', '2026-07-17 21:04:19', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502199 -3.062157)'), GeomFromEWKT('SRID=4674;POINT (-39.502206 -3.062181)'))) / (select extract(epoch from '2026-07-17 21:04:19'::timestamp) - extract(epoch from '2026-07-17 21:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502199 -3.062157)'), GeomFromEWKT('SRID=4674;POINT (-39.502206 -3.062181)'))) / (select extract(epoch from '2026-07-17 21:04:19'::timestamp) - extract(epoch from '2026-07-17 21:04:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.502217 -3.062194)', '2026-07-17 21:04:20', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502206 -3.062181)'), GeomFromEWKT('SRID=4674;POINT (-39.502217 -3.062194)'))) / (select extract(epoch from '2026-07-17 21:04:20'::timestamp) - extract(epoch from '2026-07-17 21:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502206 -3.062181)'), GeomFromEWKT('SRID=4674;POINT (-39.502217 -3.062194)'))) / (select extract(epoch from '2026-07-17 21:04:20'::timestamp) - extract(epoch from '2026-07-17 21:04: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'), 47917, 'SRID=4674;POINT (-39.502257 -3.06224)', '2026-07-17 21:04:23', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502217 -3.062194)'), GeomFromEWKT('SRID=4674;POINT (-39.502257 -3.06224)'))) / (select extract(epoch from '2026-07-17 21:04:23'::timestamp) - extract(epoch from '2026-07-17 21:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502217 -3.062194)'), GeomFromEWKT('SRID=4674;POINT (-39.502257 -3.06224)'))) / (select extract(epoch from '2026-07-17 21:04:23'::timestamp) - extract(epoch from '2026-07-17 21:04:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.502261 -3.062256)', '2026-07-17 21:04:24', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502257 -3.06224)'), GeomFromEWKT('SRID=4674;POINT (-39.502261 -3.062256)'))) / (select extract(epoch from '2026-07-17 21:04:24'::timestamp) - extract(epoch from '2026-07-17 21:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502257 -3.06224)'), GeomFromEWKT('SRID=4674;POINT (-39.502261 -3.062256)'))) / (select extract(epoch from '2026-07-17 21:04:24'::timestamp) - extract(epoch from '2026-07-17 21:04: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'), 47917, 'SRID=4674;POINT (-39.502293 -3.062307)', '2026-07-17 21:04:28', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502261 -3.062256)'), GeomFromEWKT('SRID=4674;POINT (-39.502293 -3.062307)'))) / (select extract(epoch from '2026-07-17 21:04:28'::timestamp) - extract(epoch from '2026-07-17 21:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502261 -3.062256)'), GeomFromEWKT('SRID=4674;POINT (-39.502293 -3.062307)'))) / (select extract(epoch from '2026-07-17 21:04:28'::timestamp) - extract(epoch from '2026-07-17 21:04:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.502349 -3.062385)', '2026-07-17 21:04:34', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502293 -3.062307)'), GeomFromEWKT('SRID=4674;POINT (-39.502349 -3.062385)'))) / (select extract(epoch from '2026-07-17 21:04:34'::timestamp) - extract(epoch from '2026-07-17 21:04:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502293 -3.062307)'), GeomFromEWKT('SRID=4674;POINT (-39.502349 -3.062385)'))) / (select extract(epoch from '2026-07-17 21:04:34'::timestamp) - extract(epoch from '2026-07-17 21:04:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.50239 -3.062459)', '2026-07-17 21:04:39', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502349 -3.062385)'), GeomFromEWKT('SRID=4674;POINT (-39.50239 -3.062459)'))) / (select extract(epoch from '2026-07-17 21:04:39'::timestamp) - extract(epoch from '2026-07-17 21:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502349 -3.062385)'), GeomFromEWKT('SRID=4674;POINT (-39.50239 -3.062459)'))) / (select extract(epoch from '2026-07-17 21:04:39'::timestamp) - extract(epoch from '2026-07-17 21:04:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.502399 -3.062472)', '2026-07-17 21:04:40', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50239 -3.062459)'), GeomFromEWKT('SRID=4674;POINT (-39.502399 -3.062472)'))) / (select extract(epoch from '2026-07-17 21:04:40'::timestamp) - extract(epoch from '2026-07-17 21:04:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50239 -3.062459)'), GeomFromEWKT('SRID=4674;POINT (-39.502399 -3.062472)'))) / (select extract(epoch from '2026-07-17 21:04:40'::timestamp) - extract(epoch from '2026-07-17 21:04: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'), 47917, 'SRID=4674;POINT (-39.502437 -3.062524)', '2026-07-17 21:04:44', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502399 -3.062472)'), GeomFromEWKT('SRID=4674;POINT (-39.502437 -3.062524)'))) / (select extract(epoch from '2026-07-17 21:04:44'::timestamp) - extract(epoch from '2026-07-17 21:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502399 -3.062472)'), GeomFromEWKT('SRID=4674;POINT (-39.502437 -3.062524)'))) / (select extract(epoch from '2026-07-17 21:04:44'::timestamp) - extract(epoch from '2026-07-17 21:04: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'), 47917, 'SRID=4674;POINT (-39.502513 -3.062622)', '2026-07-17 21:04:52', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502437 -3.062524)'), GeomFromEWKT('SRID=4674;POINT (-39.502513 -3.062622)'))) / (select extract(epoch from '2026-07-17 21:04:52'::timestamp) - extract(epoch from '2026-07-17 21:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502437 -3.062524)'), GeomFromEWKT('SRID=4674;POINT (-39.502513 -3.062622)'))) / (select extract(epoch from '2026-07-17 21:04:52'::timestamp) - extract(epoch from '2026-07-17 21:04:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.502572 -3.062722)', '2026-07-17 21:04:59', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502513 -3.062622)'), GeomFromEWKT('SRID=4674;POINT (-39.502572 -3.062722)'))) / (select extract(epoch from '2026-07-17 21:04:59'::timestamp) - extract(epoch from '2026-07-17 21:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502513 -3.062622)'), GeomFromEWKT('SRID=4674;POINT (-39.502572 -3.062722)'))) / (select extract(epoch from '2026-07-17 21:04:59'::timestamp) - extract(epoch from '2026-07-17 21:04:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.502603 -3.062772)', '2026-07-17 21:05:03', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502572 -3.062722)'), GeomFromEWKT('SRID=4674;POINT (-39.502603 -3.062772)'))) / (select extract(epoch from '2026-07-17 21:05:03'::timestamp) - extract(epoch from '2026-07-17 21:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502572 -3.062722)'), GeomFromEWKT('SRID=4674;POINT (-39.502603 -3.062772)'))) / (select extract(epoch from '2026-07-17 21:05:03'::timestamp) - extract(epoch from '2026-07-17 21:04:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.502653 -3.062844)', '2026-07-17 21:05:08', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502603 -3.062772)'), GeomFromEWKT('SRID=4674;POINT (-39.502653 -3.062844)'))) / (select extract(epoch from '2026-07-17 21:05:08'::timestamp) - extract(epoch from '2026-07-17 21:05:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502603 -3.062772)'), GeomFromEWKT('SRID=4674;POINT (-39.502653 -3.062844)'))) / (select extract(epoch from '2026-07-17 21:05:08'::timestamp) - extract(epoch from '2026-07-17 21:05: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'), 47917, 'SRID=4674;POINT (-39.502701 -3.06291)', '2026-07-17 21:05:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502653 -3.062844)'), GeomFromEWKT('SRID=4674;POINT (-39.502701 -3.06291)'))) / (select extract(epoch from '2026-07-17 21:05:12'::timestamp) - extract(epoch from '2026-07-17 21:05:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502653 -3.062844)'), GeomFromEWKT('SRID=4674;POINT (-39.502701 -3.06291)'))) / (select extract(epoch from '2026-07-17 21:05:12'::timestamp) - extract(epoch from '2026-07-17 21:05:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.502754 -3.062981)', '2026-07-17 21:05:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502701 -3.06291)'), GeomFromEWKT('SRID=4674;POINT (-39.502754 -3.062981)'))) / (select extract(epoch from '2026-07-17 21:05:18'::timestamp) - extract(epoch from '2026-07-17 21:05:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502701 -3.06291)'), GeomFromEWKT('SRID=4674;POINT (-39.502754 -3.062981)'))) / (select extract(epoch from '2026-07-17 21:05:18'::timestamp) - extract(epoch from '2026-07-17 21:05: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'), 47917, 'SRID=4674;POINT (-39.5028 -3.063044)', '2026-07-17 21:05:23', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502754 -3.062981)'), GeomFromEWKT('SRID=4674;POINT (-39.5028 -3.063044)'))) / (select extract(epoch from '2026-07-17 21:05:23'::timestamp) - extract(epoch from '2026-07-17 21:05:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502754 -3.062981)'), GeomFromEWKT('SRID=4674;POINT (-39.5028 -3.063044)'))) / (select extract(epoch from '2026-07-17 21:05:23'::timestamp) - extract(epoch from '2026-07-17 21:05:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.502865 -3.06314)', '2026-07-17 21:05:30', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5028 -3.063044)'), GeomFromEWKT('SRID=4674;POINT (-39.502865 -3.06314)'))) / (select extract(epoch from '2026-07-17 21:05:30'::timestamp) - extract(epoch from '2026-07-17 21:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5028 -3.063044)'), GeomFromEWKT('SRID=4674;POINT (-39.502865 -3.06314)'))) / (select extract(epoch from '2026-07-17 21:05:30'::timestamp) - extract(epoch from '2026-07-17 21:05: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'), 47917, 'SRID=4674;POINT (-39.502873 -3.063151)', '2026-07-17 21:05:31', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502865 -3.06314)'), GeomFromEWKT('SRID=4674;POINT (-39.502873 -3.063151)'))) / (select extract(epoch from '2026-07-17 21:05:31'::timestamp) - extract(epoch from '2026-07-17 21:05:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502865 -3.06314)'), GeomFromEWKT('SRID=4674;POINT (-39.502873 -3.063151)'))) / (select extract(epoch from '2026-07-17 21:05:31'::timestamp) - extract(epoch from '2026-07-17 21:05:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.502886 -3.063172)', '2026-07-17 21:05:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502873 -3.063151)'), GeomFromEWKT('SRID=4674;POINT (-39.502886 -3.063172)'))) / (select extract(epoch from '2026-07-17 21:05:33'::timestamp) - extract(epoch from '2026-07-17 21:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502873 -3.063151)'), GeomFromEWKT('SRID=4674;POINT (-39.502886 -3.063172)'))) / (select extract(epoch from '2026-07-17 21:05:33'::timestamp) - extract(epoch from '2026-07-17 21:05: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'), 47917, 'SRID=4674;POINT (-39.502898 -3.063182)', '2026-07-17 21:05:34', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502886 -3.063172)'), GeomFromEWKT('SRID=4674;POINT (-39.502898 -3.063182)'))) / (select extract(epoch from '2026-07-17 21:05:34'::timestamp) - extract(epoch from '2026-07-17 21:05:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502886 -3.063172)'), GeomFromEWKT('SRID=4674;POINT (-39.502898 -3.063182)'))) / (select extract(epoch from '2026-07-17 21:05:34'::timestamp) - extract(epoch from '2026-07-17 21:05:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.50294 -3.063239)', '2026-07-17 21:05:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502898 -3.063182)'), GeomFromEWKT('SRID=4674;POINT (-39.50294 -3.063239)'))) / (select extract(epoch from '2026-07-17 21:05:38'::timestamp) - extract(epoch from '2026-07-17 21:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502898 -3.063182)'), GeomFromEWKT('SRID=4674;POINT (-39.50294 -3.063239)'))) / (select extract(epoch from '2026-07-17 21:05:38'::timestamp) - extract(epoch from '2026-07-17 21:05:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.502941 -3.063252)', '2026-07-17 21:05:39', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50294 -3.063239)'), GeomFromEWKT('SRID=4674;POINT (-39.502941 -3.063252)'))) / (select extract(epoch from '2026-07-17 21:05:39'::timestamp) - extract(epoch from '2026-07-17 21:05:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50294 -3.063239)'), GeomFromEWKT('SRID=4674;POINT (-39.502941 -3.063252)'))) / (select extract(epoch from '2026-07-17 21:05:39'::timestamp) - extract(epoch from '2026-07-17 21:05: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'), 47917, 'SRID=4674;POINT (-39.502947 -3.063263)', '2026-07-17 21:05:40', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502941 -3.063252)'), GeomFromEWKT('SRID=4674;POINT (-39.502947 -3.063263)'))) / (select extract(epoch from '2026-07-17 21:05:40'::timestamp) - extract(epoch from '2026-07-17 21:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502941 -3.063252)'), GeomFromEWKT('SRID=4674;POINT (-39.502947 -3.063263)'))) / (select extract(epoch from '2026-07-17 21:05:40'::timestamp) - extract(epoch from '2026-07-17 21:05: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'), 47917, 'SRID=4674;POINT (-39.502982 -3.063323)', '2026-07-17 21:05:44', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502947 -3.063263)'), GeomFromEWKT('SRID=4674;POINT (-39.502982 -3.063323)'))) / (select extract(epoch from '2026-07-17 21:05:44'::timestamp) - extract(epoch from '2026-07-17 21:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502947 -3.063263)'), GeomFromEWKT('SRID=4674;POINT (-39.502982 -3.063323)'))) / (select extract(epoch from '2026-07-17 21:05:44'::timestamp) - extract(epoch from '2026-07-17 21:05:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.503049 -3.063413)', '2026-07-17 21:05:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502982 -3.063323)'), GeomFromEWKT('SRID=4674;POINT (-39.503049 -3.063413)'))) / (select extract(epoch from '2026-07-17 21:05:51'::timestamp) - extract(epoch from '2026-07-17 21:05:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502982 -3.063323)'), GeomFromEWKT('SRID=4674;POINT (-39.503049 -3.063413)'))) / (select extract(epoch from '2026-07-17 21:05:51'::timestamp) - extract(epoch from '2026-07-17 21:05: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'), 47917, 'SRID=4674;POINT (-39.503093 -3.063478)', '2026-07-17 21:05:56', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503049 -3.063413)'), GeomFromEWKT('SRID=4674;POINT (-39.503093 -3.063478)'))) / (select extract(epoch from '2026-07-17 21:05:56'::timestamp) - extract(epoch from '2026-07-17 21:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503049 -3.063413)'), GeomFromEWKT('SRID=4674;POINT (-39.503093 -3.063478)'))) / (select extract(epoch from '2026-07-17 21:05:56'::timestamp) - extract(epoch from '2026-07-17 21:05: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'), 47917, 'SRID=4674;POINT (-39.503151 -3.063561)', '2026-07-17 21:06:02', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503093 -3.063478)'), GeomFromEWKT('SRID=4674;POINT (-39.503151 -3.063561)'))) / (select extract(epoch from '2026-07-17 21:06:02'::timestamp) - extract(epoch from '2026-07-17 21:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503093 -3.063478)'), GeomFromEWKT('SRID=4674;POINT (-39.503151 -3.063561)'))) / (select extract(epoch from '2026-07-17 21:06:02'::timestamp) - extract(epoch from '2026-07-17 21:05: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'), 47917, 'SRID=4674;POINT (-39.503205 -3.063634)', '2026-07-17 21:06:08', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503151 -3.063561)'), GeomFromEWKT('SRID=4674;POINT (-39.503205 -3.063634)'))) / (select extract(epoch from '2026-07-17 21:06:08'::timestamp) - extract(epoch from '2026-07-17 21:06:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503151 -3.063561)'), GeomFromEWKT('SRID=4674;POINT (-39.503205 -3.063634)'))) / (select extract(epoch from '2026-07-17 21:06:08'::timestamp) - extract(epoch from '2026-07-17 21:06:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.503255 -3.063739)', '2026-07-17 21:06:15', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503205 -3.063634)'), GeomFromEWKT('SRID=4674;POINT (-39.503255 -3.063739)'))) / (select extract(epoch from '2026-07-17 21:06:15'::timestamp) - extract(epoch from '2026-07-17 21:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503205 -3.063634)'), GeomFromEWKT('SRID=4674;POINT (-39.503255 -3.063739)'))) / (select extract(epoch from '2026-07-17 21:06:15'::timestamp) - extract(epoch from '2026-07-17 21:06: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'), 47917, 'SRID=4674;POINT (-39.503301 -3.063828)', '2026-07-17 21:06:21', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503255 -3.063739)'), GeomFromEWKT('SRID=4674;POINT (-39.503301 -3.063828)'))) / (select extract(epoch from '2026-07-17 21:06:21'::timestamp) - extract(epoch from '2026-07-17 21:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503255 -3.063739)'), GeomFromEWKT('SRID=4674;POINT (-39.503301 -3.063828)'))) / (select extract(epoch from '2026-07-17 21:06:21'::timestamp) - extract(epoch from '2026-07-17 21:06:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.503359 -3.063915)', '2026-07-17 21:06:27', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503301 -3.063828)'), GeomFromEWKT('SRID=4674;POINT (-39.503359 -3.063915)'))) / (select extract(epoch from '2026-07-17 21:06:27'::timestamp) - extract(epoch from '2026-07-17 21:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503301 -3.063828)'), GeomFromEWKT('SRID=4674;POINT (-39.503359 -3.063915)'))) / (select extract(epoch from '2026-07-17 21:06:27'::timestamp) - extract(epoch from '2026-07-17 21:06: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'), 47917, 'SRID=4674;POINT (-39.503411 -3.063997)', '2026-07-17 21:06:33', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503359 -3.063915)'), GeomFromEWKT('SRID=4674;POINT (-39.503411 -3.063997)'))) / (select extract(epoch from '2026-07-17 21:06:33'::timestamp) - extract(epoch from '2026-07-17 21:06:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503359 -3.063915)'), GeomFromEWKT('SRID=4674;POINT (-39.503411 -3.063997)'))) / (select extract(epoch from '2026-07-17 21:06:33'::timestamp) - extract(epoch from '2026-07-17 21:06:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.503485 -3.064106)', '2026-07-17 21:06:41', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503411 -3.063997)'), GeomFromEWKT('SRID=4674;POINT (-39.503485 -3.064106)'))) / (select extract(epoch from '2026-07-17 21:06:41'::timestamp) - extract(epoch from '2026-07-17 21:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503411 -3.063997)'), GeomFromEWKT('SRID=4674;POINT (-39.503485 -3.064106)'))) / (select extract(epoch from '2026-07-17 21:06:41'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.503519 -3.064172)', '2026-07-17 21:06:46', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503485 -3.064106)'), GeomFromEWKT('SRID=4674;POINT (-39.503519 -3.064172)'))) / (select extract(epoch from '2026-07-17 21:06:46'::timestamp) - extract(epoch from '2026-07-17 21:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503485 -3.064106)'), GeomFromEWKT('SRID=4674;POINT (-39.503519 -3.064172)'))) / (select extract(epoch from '2026-07-17 21:06:46'::timestamp) - extract(epoch from '2026-07-17 21:06: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'), 47917, 'SRID=4674;POINT (-39.503566 -3.064236)', '2026-07-17 21:06:50', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503519 -3.064172)'), GeomFromEWKT('SRID=4674;POINT (-39.503566 -3.064236)'))) / (select extract(epoch from '2026-07-17 21:06:50'::timestamp) - extract(epoch from '2026-07-17 21:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503519 -3.064172)'), GeomFromEWKT('SRID=4674;POINT (-39.503566 -3.064236)'))) / (select extract(epoch from '2026-07-17 21:06:50'::timestamp) - extract(epoch from '2026-07-17 21:06: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'), 47917, 'SRID=4674;POINT (-39.50362 -3.064303)', '2026-07-17 21:06:56', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503566 -3.064236)'), GeomFromEWKT('SRID=4674;POINT (-39.50362 -3.064303)'))) / (select extract(epoch from '2026-07-17 21:06:56'::timestamp) - extract(epoch from '2026-07-17 21:06:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503566 -3.064236)'), GeomFromEWKT('SRID=4674;POINT (-39.50362 -3.064303)'))) / (select extract(epoch from '2026-07-17 21:06:56'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.503684 -3.064403)', '2026-07-17 21:07:03', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50362 -3.064303)'), GeomFromEWKT('SRID=4674;POINT (-39.503684 -3.064403)'))) / (select extract(epoch from '2026-07-17 21:07:03'::timestamp) - extract(epoch from '2026-07-17 21:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50362 -3.064303)'), GeomFromEWKT('SRID=4674;POINT (-39.503684 -3.064403)'))) / (select extract(epoch from '2026-07-17 21:07:03'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.503739 -3.064479)', '2026-07-17 21:07:08', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503684 -3.064403)'), GeomFromEWKT('SRID=4674;POINT (-39.503739 -3.064479)'))) / (select extract(epoch from '2026-07-17 21:07:08'::timestamp) - extract(epoch from '2026-07-17 21:07:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503684 -3.064403)'), GeomFromEWKT('SRID=4674;POINT (-39.503739 -3.064479)'))) / (select extract(epoch from '2026-07-17 21:07:08'::timestamp) - extract(epoch from '2026-07-17 21:07: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'), 47917, 'SRID=4674;POINT (-39.503745 -3.064492)', '2026-07-17 21:07:09', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503739 -3.064479)'), GeomFromEWKT('SRID=4674;POINT (-39.503745 -3.064492)'))) / (select extract(epoch from '2026-07-17 21:07:09'::timestamp) - extract(epoch from '2026-07-17 21:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503739 -3.064479)'), GeomFromEWKT('SRID=4674;POINT (-39.503745 -3.064492)'))) / (select extract(epoch from '2026-07-17 21:07:09'::timestamp) - extract(epoch from '2026-07-17 21:07:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.503781 -3.064551)', '2026-07-17 21:07:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503745 -3.064492)'), GeomFromEWKT('SRID=4674;POINT (-39.503781 -3.064551)'))) / (select extract(epoch from '2026-07-17 21:07:13'::timestamp) - extract(epoch from '2026-07-17 21:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503745 -3.064492)'), GeomFromEWKT('SRID=4674;POINT (-39.503781 -3.064551)'))) / (select extract(epoch from '2026-07-17 21:07:13'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.503837 -3.064678)', '2026-07-17 21:07:21', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503781 -3.064551)'), GeomFromEWKT('SRID=4674;POINT (-39.503837 -3.064678)'))) / (select extract(epoch from '2026-07-17 21:07:21'::timestamp) - extract(epoch from '2026-07-17 21:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503781 -3.064551)'), GeomFromEWKT('SRID=4674;POINT (-39.503837 -3.064678)'))) / (select extract(epoch from '2026-07-17 21:07:21'::timestamp) - extract(epoch from '2026-07-17 21:07: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'), 47917, 'SRID=4674;POINT (-39.503872 -3.064746)', '2026-07-17 21:07:26', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503837 -3.064678)'), GeomFromEWKT('SRID=4674;POINT (-39.503872 -3.064746)'))) / (select extract(epoch from '2026-07-17 21:07:26'::timestamp) - extract(epoch from '2026-07-17 21:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503837 -3.064678)'), GeomFromEWKT('SRID=4674;POINT (-39.503872 -3.064746)'))) / (select extract(epoch from '2026-07-17 21:07:26'::timestamp) - extract(epoch from '2026-07-17 21:07:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.503908 -3.064815)', '2026-07-17 21:07:31', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503872 -3.064746)'), GeomFromEWKT('SRID=4674;POINT (-39.503908 -3.064815)'))) / (select extract(epoch from '2026-07-17 21:07:31'::timestamp) - extract(epoch from '2026-07-17 21:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503872 -3.064746)'), GeomFromEWKT('SRID=4674;POINT (-39.503908 -3.064815)'))) / (select extract(epoch from '2026-07-17 21:07:31'::timestamp) - extract(epoch from '2026-07-17 21:07: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'), 47917, 'SRID=4674;POINT (-39.503946 -3.064904)', '2026-07-17 21:07:37', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503908 -3.064815)'), GeomFromEWKT('SRID=4674;POINT (-39.503946 -3.064904)'))) / (select extract(epoch from '2026-07-17 21:07:37'::timestamp) - extract(epoch from '2026-07-17 21:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503908 -3.064815)'), GeomFromEWKT('SRID=4674;POINT (-39.503946 -3.064904)'))) / (select extract(epoch from '2026-07-17 21:07:37'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.504004 -3.064997)', '2026-07-17 21:07:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503946 -3.064904)'), GeomFromEWKT('SRID=4674;POINT (-39.504004 -3.064997)'))) / (select extract(epoch from '2026-07-17 21:07:44'::timestamp) - extract(epoch from '2026-07-17 21:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503946 -3.064904)'), GeomFromEWKT('SRID=4674;POINT (-39.504004 -3.064997)'))) / (select extract(epoch from '2026-07-17 21:07:44'::timestamp) - extract(epoch from '2026-07-17 21:07:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.504054 -3.065074)', '2026-07-17 21:07:49', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504004 -3.064997)'), GeomFromEWKT('SRID=4674;POINT (-39.504054 -3.065074)'))) / (select extract(epoch from '2026-07-17 21:07:49'::timestamp) - extract(epoch from '2026-07-17 21:07:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504004 -3.064997)'), GeomFromEWKT('SRID=4674;POINT (-39.504054 -3.065074)'))) / (select extract(epoch from '2026-07-17 21:07:49'::timestamp) - extract(epoch from '2026-07-17 21:07: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'), 47917, 'SRID=4674;POINT (-39.504089 -3.065147)', '2026-07-17 21:07:55', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504054 -3.065074)'), GeomFromEWKT('SRID=4674;POINT (-39.504089 -3.065147)'))) / (select extract(epoch from '2026-07-17 21:07:55'::timestamp) - extract(epoch from '2026-07-17 21:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504054 -3.065074)'), GeomFromEWKT('SRID=4674;POINT (-39.504089 -3.065147)'))) / (select extract(epoch from '2026-07-17 21:07:55'::timestamp) - extract(epoch from '2026-07-17 21:07: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'), 47917, 'SRID=4674;POINT (-39.504153 -3.065248)', '2026-07-17 21:08:03', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504089 -3.065147)'), GeomFromEWKT('SRID=4674;POINT (-39.504153 -3.065248)'))) / (select extract(epoch from '2026-07-17 21:08:03'::timestamp) - extract(epoch from '2026-07-17 21:07:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504089 -3.065147)'), GeomFromEWKT('SRID=4674;POINT (-39.504153 -3.065248)'))) / (select extract(epoch from '2026-07-17 21:08:03'::timestamp) - extract(epoch from '2026-07-17 21:07: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'), 47917, 'SRID=4674;POINT (-39.50421 -3.065348)', '2026-07-17 21:08:10', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504153 -3.065248)'), GeomFromEWKT('SRID=4674;POINT (-39.50421 -3.065348)'))) / (select extract(epoch from '2026-07-17 21:08:10'::timestamp) - extract(epoch from '2026-07-17 21:08:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504153 -3.065248)'), GeomFromEWKT('SRID=4674;POINT (-39.50421 -3.065348)'))) / (select extract(epoch from '2026-07-17 21:08:10'::timestamp) - extract(epoch from '2026-07-17 21:08: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'), 47917, 'SRID=4674;POINT (-39.504249 -3.065424)', '2026-07-17 21:08:15', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50421 -3.065348)'), GeomFromEWKT('SRID=4674;POINT (-39.504249 -3.065424)'))) / (select extract(epoch from '2026-07-17 21:08:15'::timestamp) - extract(epoch from '2026-07-17 21:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50421 -3.065348)'), GeomFromEWKT('SRID=4674;POINT (-39.504249 -3.065424)'))) / (select extract(epoch from '2026-07-17 21:08:15'::timestamp) - extract(epoch from '2026-07-17 21:08:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.504271 -3.065468)', '2026-07-17 21:08:18', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504249 -3.065424)'), GeomFromEWKT('SRID=4674;POINT (-39.504271 -3.065468)'))) / (select extract(epoch from '2026-07-17 21:08:18'::timestamp) - extract(epoch from '2026-07-17 21:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504249 -3.065424)'), GeomFromEWKT('SRID=4674;POINT (-39.504271 -3.065468)'))) / (select extract(epoch from '2026-07-17 21:08:18'::timestamp) - extract(epoch from '2026-07-17 21:08:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.504284 -3.065492)', '2026-07-17 21:08:20', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504271 -3.065468)'), GeomFromEWKT('SRID=4674;POINT (-39.504284 -3.065492)'))) / (select extract(epoch from '2026-07-17 21:08:20'::timestamp) - extract(epoch from '2026-07-17 21:08:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504271 -3.065468)'), GeomFromEWKT('SRID=4674;POINT (-39.504284 -3.065492)'))) / (select extract(epoch from '2026-07-17 21:08:20'::timestamp) - extract(epoch from '2026-07-17 21:08: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'), 47917, 'SRID=4674;POINT (-39.50432 -3.065573)', '2026-07-17 21:08:26', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504284 -3.065492)'), GeomFromEWKT('SRID=4674;POINT (-39.50432 -3.065573)'))) / (select extract(epoch from '2026-07-17 21:08:26'::timestamp) - extract(epoch from '2026-07-17 21:08:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504284 -3.065492)'), GeomFromEWKT('SRID=4674;POINT (-39.50432 -3.065573)'))) / (select extract(epoch from '2026-07-17 21:08:26'::timestamp) - extract(epoch from '2026-07-17 21:08: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'), 47917, 'SRID=4674;POINT (-39.504364 -3.065666)', '2026-07-17 21:08:32', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50432 -3.065573)'), GeomFromEWKT('SRID=4674;POINT (-39.504364 -3.065666)'))) / (select extract(epoch from '2026-07-17 21:08:32'::timestamp) - extract(epoch from '2026-07-17 21:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50432 -3.065573)'), GeomFromEWKT('SRID=4674;POINT (-39.504364 -3.065666)'))) / (select extract(epoch from '2026-07-17 21:08:32'::timestamp) - extract(epoch from '2026-07-17 21:08:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.504413 -3.065736)', '2026-07-17 21:08:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504364 -3.065666)'), GeomFromEWKT('SRID=4674;POINT (-39.504413 -3.065736)'))) / (select extract(epoch from '2026-07-17 21:08:37'::timestamp) - extract(epoch from '2026-07-17 21:08:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504364 -3.065666)'), GeomFromEWKT('SRID=4674;POINT (-39.504413 -3.065736)'))) / (select extract(epoch from '2026-07-17 21:08:37'::timestamp) - extract(epoch from '2026-07-17 21:08:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.504464 -3.065799)', '2026-07-17 21:08:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504413 -3.065736)'), GeomFromEWKT('SRID=4674;POINT (-39.504464 -3.065799)'))) / (select extract(epoch from '2026-07-17 21:08:43'::timestamp) - extract(epoch from '2026-07-17 21:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504413 -3.065736)'), GeomFromEWKT('SRID=4674;POINT (-39.504464 -3.065799)'))) / (select extract(epoch from '2026-07-17 21:08:43'::timestamp) - extract(epoch from '2026-07-17 21:08: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'), 47917, 'SRID=4674;POINT (-39.504513 -3.065864)', '2026-07-17 21:08:48', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504464 -3.065799)'), GeomFromEWKT('SRID=4674;POINT (-39.504513 -3.065864)'))) / (select extract(epoch from '2026-07-17 21:08:48'::timestamp) - extract(epoch from '2026-07-17 21:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504464 -3.065799)'), GeomFromEWKT('SRID=4674;POINT (-39.504513 -3.065864)'))) / (select extract(epoch from '2026-07-17 21:08:48'::timestamp) - extract(epoch from '2026-07-17 21:08:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.504524 -3.065889)', '2026-07-17 21:08:50', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504513 -3.065864)'), GeomFromEWKT('SRID=4674;POINT (-39.504524 -3.065889)'))) / (select extract(epoch from '2026-07-17 21:08:50'::timestamp) - extract(epoch from '2026-07-17 21:08:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504513 -3.065864)'), GeomFromEWKT('SRID=4674;POINT (-39.504524 -3.065889)'))) / (select extract(epoch from '2026-07-17 21:08:50'::timestamp) - extract(epoch from '2026-07-17 21:08: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'), 47917, 'SRID=4674;POINT (-39.50456 -3.065931)', '2026-07-17 21:08:53', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504524 -3.065889)'), GeomFromEWKT('SRID=4674;POINT (-39.50456 -3.065931)'))) / (select extract(epoch from '2026-07-17 21:08:53'::timestamp) - extract(epoch from '2026-07-17 21:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504524 -3.065889)'), GeomFromEWKT('SRID=4674;POINT (-39.50456 -3.065931)'))) / (select extract(epoch from '2026-07-17 21:08:53'::timestamp) - extract(epoch from '2026-07-17 21:08:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.504584 -3.065992)', '2026-07-17 21:08:57', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50456 -3.065931)'), GeomFromEWKT('SRID=4674;POINT (-39.504584 -3.065992)'))) / (select extract(epoch from '2026-07-17 21:08:57'::timestamp) - extract(epoch from '2026-07-17 21:08:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50456 -3.065931)'), GeomFromEWKT('SRID=4674;POINT (-39.504584 -3.065992)'))) / (select extract(epoch from '2026-07-17 21:08:57'::timestamp) - extract(epoch from '2026-07-17 21:08:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.504595 -3.066019)', '2026-07-17 21:08:59', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504584 -3.065992)'), GeomFromEWKT('SRID=4674;POINT (-39.504595 -3.066019)'))) / (select extract(epoch from '2026-07-17 21:08:59'::timestamp) - extract(epoch from '2026-07-17 21:08:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504584 -3.065992)'), GeomFromEWKT('SRID=4674;POINT (-39.504595 -3.066019)'))) / (select extract(epoch from '2026-07-17 21:08:59'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.504638 -3.066088)', '2026-07-17 21:09:04', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504595 -3.066019)'), GeomFromEWKT('SRID=4674;POINT (-39.504638 -3.066088)'))) / (select extract(epoch from '2026-07-17 21:09:04'::timestamp) - extract(epoch from '2026-07-17 21:08:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504595 -3.066019)'), GeomFromEWKT('SRID=4674;POINT (-39.504638 -3.066088)'))) / (select extract(epoch from '2026-07-17 21:09:04'::timestamp) - extract(epoch from '2026-07-17 21:08: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'), 47917, 'SRID=4674;POINT (-39.504685 -3.066192)', '2026-07-17 21:09:11', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504638 -3.066088)'), GeomFromEWKT('SRID=4674;POINT (-39.504685 -3.066192)'))) / (select extract(epoch from '2026-07-17 21:09:11'::timestamp) - extract(epoch from '2026-07-17 21:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504638 -3.066088)'), GeomFromEWKT('SRID=4674;POINT (-39.504685 -3.066192)'))) / (select extract(epoch from '2026-07-17 21:09:11'::timestamp) - extract(epoch from '2026-07-17 21:09:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.504732 -3.06628)', '2026-07-17 21:09:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504685 -3.066192)'), GeomFromEWKT('SRID=4674;POINT (-39.504732 -3.06628)'))) / (select extract(epoch from '2026-07-17 21:09:17'::timestamp) - extract(epoch from '2026-07-17 21:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504685 -3.066192)'), GeomFromEWKT('SRID=4674;POINT (-39.504732 -3.06628)'))) / (select extract(epoch from '2026-07-17 21:09:17'::timestamp) - extract(epoch from '2026-07-17 21:09:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.50478 -3.066365)', '2026-07-17 21:09:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504732 -3.06628)'), GeomFromEWKT('SRID=4674;POINT (-39.50478 -3.066365)'))) / (select extract(epoch from '2026-07-17 21:09:23'::timestamp) - extract(epoch from '2026-07-17 21:09:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504732 -3.06628)'), GeomFromEWKT('SRID=4674;POINT (-39.50478 -3.066365)'))) / (select extract(epoch from '2026-07-17 21:09:23'::timestamp) - extract(epoch from '2026-07-17 21:09: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'), 47917, 'SRID=4674;POINT (-39.504828 -3.066427)', '2026-07-17 21:09:28', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50478 -3.066365)'), GeomFromEWKT('SRID=4674;POINT (-39.504828 -3.066427)'))) / (select extract(epoch from '2026-07-17 21:09:28'::timestamp) - extract(epoch from '2026-07-17 21:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50478 -3.066365)'), GeomFromEWKT('SRID=4674;POINT (-39.504828 -3.066427)'))) / (select extract(epoch from '2026-07-17 21:09:28'::timestamp) - extract(epoch from '2026-07-17 21:09:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.504864 -3.0665)', '2026-07-17 21:09:33', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504828 -3.066427)'), GeomFromEWKT('SRID=4674;POINT (-39.504864 -3.0665)'))) / (select extract(epoch from '2026-07-17 21:09:33'::timestamp) - extract(epoch from '2026-07-17 21:09:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504828 -3.066427)'), GeomFromEWKT('SRID=4674;POINT (-39.504864 -3.0665)'))) / (select extract(epoch from '2026-07-17 21:09:33'::timestamp) - extract(epoch from '2026-07-17 21:09: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'), 47917, 'SRID=4674;POINT (-39.504901 -3.066575)', '2026-07-17 21:09:38', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504864 -3.0665)'), GeomFromEWKT('SRID=4674;POINT (-39.504901 -3.066575)'))) / (select extract(epoch from '2026-07-17 21:09:38'::timestamp) - extract(epoch from '2026-07-17 21:09:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504864 -3.0665)'), GeomFromEWKT('SRID=4674;POINT (-39.504901 -3.066575)'))) / (select extract(epoch from '2026-07-17 21:09:38'::timestamp) - extract(epoch from '2026-07-17 21:09: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'), 47917, 'SRID=4674;POINT (-39.504932 -3.066645)', '2026-07-17 21:09:43', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504901 -3.066575)'), GeomFromEWKT('SRID=4674;POINT (-39.504932 -3.066645)'))) / (select extract(epoch from '2026-07-17 21:09:43'::timestamp) - extract(epoch from '2026-07-17 21:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504901 -3.066575)'), GeomFromEWKT('SRID=4674;POINT (-39.504932 -3.066645)'))) / (select extract(epoch from '2026-07-17 21:09:43'::timestamp) - extract(epoch from '2026-07-17 21:09:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.504964 -3.0667)', '2026-07-17 21:09:47', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504932 -3.066645)'), GeomFromEWKT('SRID=4674;POINT (-39.504964 -3.0667)'))) / (select extract(epoch from '2026-07-17 21:09:47'::timestamp) - extract(epoch from '2026-07-17 21:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504932 -3.066645)'), GeomFromEWKT('SRID=4674;POINT (-39.504964 -3.0667)'))) / (select extract(epoch from '2026-07-17 21:09:47'::timestamp) - extract(epoch from '2026-07-17 21:09: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'), 47917, 'SRID=4674;POINT (-39.504979 -3.066725)', '2026-07-17 21:09:49', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504964 -3.0667)'), GeomFromEWKT('SRID=4674;POINT (-39.504979 -3.066725)'))) / (select extract(epoch from '2026-07-17 21:09:49'::timestamp) - extract(epoch from '2026-07-17 21:09:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504964 -3.0667)'), GeomFromEWKT('SRID=4674;POINT (-39.504979 -3.066725)'))) / (select extract(epoch from '2026-07-17 21:09:49'::timestamp) - extract(epoch from '2026-07-17 21:09:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.505023 -3.066775)', '2026-07-17 21:09:54', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504979 -3.066725)'), GeomFromEWKT('SRID=4674;POINT (-39.505023 -3.066775)'))) / (select extract(epoch from '2026-07-17 21:09:54'::timestamp) - extract(epoch from '2026-07-17 21:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504979 -3.066725)'), GeomFromEWKT('SRID=4674;POINT (-39.505023 -3.066775)'))) / (select extract(epoch from '2026-07-17 21:09:54'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.505086 -3.066817)', '2026-07-17 21:09:59', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505023 -3.066775)'), GeomFromEWKT('SRID=4674;POINT (-39.505086 -3.066817)'))) / (select extract(epoch from '2026-07-17 21:09:59'::timestamp) - extract(epoch from '2026-07-17 21:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505023 -3.066775)'), GeomFromEWKT('SRID=4674;POINT (-39.505086 -3.066817)'))) / (select extract(epoch from '2026-07-17 21:09:59'::timestamp) - extract(epoch from '2026-07-17 21:09:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.505146 -3.066875)', '2026-07-17 21:10:04', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505086 -3.066817)'), GeomFromEWKT('SRID=4674;POINT (-39.505146 -3.066875)'))) / (select extract(epoch from '2026-07-17 21:10:04'::timestamp) - extract(epoch from '2026-07-17 21:09:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505086 -3.066817)'), GeomFromEWKT('SRID=4674;POINT (-39.505146 -3.066875)'))) / (select extract(epoch from '2026-07-17 21:10:04'::timestamp) - extract(epoch from '2026-07-17 21:09: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'), 47917, 'SRID=4674;POINT (-39.505203 -3.066948)', '2026-07-17 21:10:10', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505146 -3.066875)'), GeomFromEWKT('SRID=4674;POINT (-39.505203 -3.066948)'))) / (select extract(epoch from '2026-07-17 21:10:10'::timestamp) - extract(epoch from '2026-07-17 21:10:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505146 -3.066875)'), GeomFromEWKT('SRID=4674;POINT (-39.505203 -3.066948)'))) / (select extract(epoch from '2026-07-17 21:10:10'::timestamp) - extract(epoch from '2026-07-17 21:10: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'), 47917, 'SRID=4674;POINT (-39.505203 -3.066961)', '2026-07-17 21:10:11', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505203 -3.066948)'), GeomFromEWKT('SRID=4674;POINT (-39.505203 -3.066961)'))) / (select extract(epoch from '2026-07-17 21:10:11'::timestamp) - extract(epoch from '2026-07-17 21:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505203 -3.066948)'), GeomFromEWKT('SRID=4674;POINT (-39.505203 -3.066961)'))) / (select extract(epoch from '2026-07-17 21:10:11'::timestamp) - extract(epoch from '2026-07-17 21:10:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.50523 -3.066992)', '2026-07-17 21:10:14', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505203 -3.066961)'), GeomFromEWKT('SRID=4674;POINT (-39.50523 -3.066992)'))) / (select extract(epoch from '2026-07-17 21:10:14'::timestamp) - extract(epoch from '2026-07-17 21:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505203 -3.066961)'), GeomFromEWKT('SRID=4674;POINT (-39.50523 -3.066992)'))) / (select extract(epoch from '2026-07-17 21:10:14'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.505293 -3.067072)', '2026-07-17 21:10:20', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50523 -3.066992)'), GeomFromEWKT('SRID=4674;POINT (-39.505293 -3.067072)'))) / (select extract(epoch from '2026-07-17 21:10:20'::timestamp) - extract(epoch from '2026-07-17 21:10:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50523 -3.066992)'), GeomFromEWKT('SRID=4674;POINT (-39.505293 -3.067072)'))) / (select extract(epoch from '2026-07-17 21:10:20'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.505381 -3.067179)', '2026-07-17 21:10:28', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505293 -3.067072)'), GeomFromEWKT('SRID=4674;POINT (-39.505381 -3.067179)'))) / (select extract(epoch from '2026-07-17 21:10:28'::timestamp) - extract(epoch from '2026-07-17 21:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505293 -3.067072)'), GeomFromEWKT('SRID=4674;POINT (-39.505381 -3.067179)'))) / (select extract(epoch from '2026-07-17 21:10:28'::timestamp) - extract(epoch from '2026-07-17 21:10:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.505412 -3.067223)', '2026-07-17 21:10:32', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505381 -3.067179)'), GeomFromEWKT('SRID=4674;POINT (-39.505412 -3.067223)'))) / (select extract(epoch from '2026-07-17 21:10:32'::timestamp) - extract(epoch from '2026-07-17 21:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505381 -3.067179)'), GeomFromEWKT('SRID=4674;POINT (-39.505412 -3.067223)'))) / (select extract(epoch from '2026-07-17 21:10:32'::timestamp) - extract(epoch from '2026-07-17 21:10:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.505426 -3.067237)', '2026-07-17 21:10:33', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505412 -3.067223)'), GeomFromEWKT('SRID=4674;POINT (-39.505426 -3.067237)'))) / (select extract(epoch from '2026-07-17 21:10:33'::timestamp) - extract(epoch from '2026-07-17 21:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505412 -3.067223)'), GeomFromEWKT('SRID=4674;POINT (-39.505426 -3.067237)'))) / (select extract(epoch from '2026-07-17 21:10:33'::timestamp) - extract(epoch from '2026-07-17 21:10:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.505454 -3.067262)', '2026-07-17 21:10:36', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505426 -3.067237)'), GeomFromEWKT('SRID=4674;POINT (-39.505454 -3.067262)'))) / (select extract(epoch from '2026-07-17 21:10:36'::timestamp) - extract(epoch from '2026-07-17 21:10:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505426 -3.067237)'), GeomFromEWKT('SRID=4674;POINT (-39.505454 -3.067262)'))) / (select extract(epoch from '2026-07-17 21:10:36'::timestamp) - extract(epoch from '2026-07-17 21:10:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.505482 -3.067283)', '2026-07-17 21:10:38', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505454 -3.067262)'), GeomFromEWKT('SRID=4674;POINT (-39.505482 -3.067283)'))) / (select extract(epoch from '2026-07-17 21:10:38'::timestamp) - extract(epoch from '2026-07-17 21:10:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505454 -3.067262)'), GeomFromEWKT('SRID=4674;POINT (-39.505482 -3.067283)'))) / (select extract(epoch from '2026-07-17 21:10:38'::timestamp) - extract(epoch from '2026-07-17 21:10:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.505541 -3.067358)', '2026-07-17 21:10:44', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505482 -3.067283)'), GeomFromEWKT('SRID=4674;POINT (-39.505541 -3.067358)'))) / (select extract(epoch from '2026-07-17 21:10:44'::timestamp) - extract(epoch from '2026-07-17 21:10:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505482 -3.067283)'), GeomFromEWKT('SRID=4674;POINT (-39.505541 -3.067358)'))) / (select extract(epoch from '2026-07-17 21:10:44'::timestamp) - extract(epoch from '2026-07-17 21:10:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.505597 -3.067455)', '2026-07-17 21:10:51', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505541 -3.067358)'), GeomFromEWKT('SRID=4674;POINT (-39.505597 -3.067455)'))) / (select extract(epoch from '2026-07-17 21:10:51'::timestamp) - extract(epoch from '2026-07-17 21:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505541 -3.067358)'), GeomFromEWKT('SRID=4674;POINT (-39.505597 -3.067455)'))) / (select extract(epoch from '2026-07-17 21:10:51'::timestamp) - extract(epoch from '2026-07-17 21:10:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.505639 -3.067519)', '2026-07-17 21:10:56', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505597 -3.067455)'), GeomFromEWKT('SRID=4674;POINT (-39.505639 -3.067519)'))) / (select extract(epoch from '2026-07-17 21:10:56'::timestamp) - extract(epoch from '2026-07-17 21:10:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505597 -3.067455)'), GeomFromEWKT('SRID=4674;POINT (-39.505639 -3.067519)'))) / (select extract(epoch from '2026-07-17 21:10:56'::timestamp) - extract(epoch from '2026-07-17 21:10: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'), 47917, 'SRID=4674;POINT (-39.505654 -3.067545)', '2026-07-17 21:10:58', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505639 -3.067519)'), GeomFromEWKT('SRID=4674;POINT (-39.505654 -3.067545)'))) / (select extract(epoch from '2026-07-17 21:10:58'::timestamp) - extract(epoch from '2026-07-17 21:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505639 -3.067519)'), GeomFromEWKT('SRID=4674;POINT (-39.505654 -3.067545)'))) / (select extract(epoch from '2026-07-17 21:10:58'::timestamp) - extract(epoch from '2026-07-17 21:10:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.505691 -3.067613)', '2026-07-17 21:11:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505654 -3.067545)'), GeomFromEWKT('SRID=4674;POINT (-39.505691 -3.067613)'))) / (select extract(epoch from '2026-07-17 21:11:03'::timestamp) - extract(epoch from '2026-07-17 21:10:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505654 -3.067545)'), GeomFromEWKT('SRID=4674;POINT (-39.505691 -3.067613)'))) / (select extract(epoch from '2026-07-17 21:11:03'::timestamp) - extract(epoch from '2026-07-17 21:10: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'), 47917, 'SRID=4674;POINT (-39.505698 -3.067626)', '2026-07-17 21:11:04', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505691 -3.067613)'), GeomFromEWKT('SRID=4674;POINT (-39.505698 -3.067626)'))) / (select extract(epoch from '2026-07-17 21:11:04'::timestamp) - extract(epoch from '2026-07-17 21:11:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505691 -3.067613)'), GeomFromEWKT('SRID=4674;POINT (-39.505698 -3.067626)'))) / (select extract(epoch from '2026-07-17 21:11:04'::timestamp) - extract(epoch from '2026-07-17 21:11:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.505718 -3.067689)', '2026-07-17 21:11:08', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505698 -3.067626)'), GeomFromEWKT('SRID=4674;POINT (-39.505718 -3.067689)'))) / (select extract(epoch from '2026-07-17 21:11:08'::timestamp) - extract(epoch from '2026-07-17 21:11:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505698 -3.067626)'), GeomFromEWKT('SRID=4674;POINT (-39.505718 -3.067689)'))) / (select extract(epoch from '2026-07-17 21:11:08'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.505739 -3.067737)', '2026-07-17 21:11:12', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505718 -3.067689)'), GeomFromEWKT('SRID=4674;POINT (-39.505739 -3.067737)'))) / (select extract(epoch from '2026-07-17 21:11:12'::timestamp) - extract(epoch from '2026-07-17 21:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505718 -3.067689)'), GeomFromEWKT('SRID=4674;POINT (-39.505739 -3.067737)'))) / (select extract(epoch from '2026-07-17 21:11:12'::timestamp) - extract(epoch from '2026-07-17 21:11:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.505753 -3.067761)', '2026-07-17 21:11:14', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505739 -3.067737)'), GeomFromEWKT('SRID=4674;POINT (-39.505753 -3.067761)'))) / (select extract(epoch from '2026-07-17 21:11:14'::timestamp) - extract(epoch from '2026-07-17 21:11:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505739 -3.067737)'), GeomFromEWKT('SRID=4674;POINT (-39.505753 -3.067761)'))) / (select extract(epoch from '2026-07-17 21:11:14'::timestamp) - extract(epoch from '2026-07-17 21:11: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'), 47917, 'SRID=4674;POINT (-39.505806 -3.067854)', '2026-07-17 21:11:21', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505753 -3.067761)'), GeomFromEWKT('SRID=4674;POINT (-39.505806 -3.067854)'))) / (select extract(epoch from '2026-07-17 21:11:21'::timestamp) - extract(epoch from '2026-07-17 21:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505753 -3.067761)'), GeomFromEWKT('SRID=4674;POINT (-39.505806 -3.067854)'))) / (select extract(epoch from '2026-07-17 21:11:21'::timestamp) - extract(epoch from '2026-07-17 21:11:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.505847 -3.067932)', '2026-07-17 21:11:27', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505806 -3.067854)'), GeomFromEWKT('SRID=4674;POINT (-39.505847 -3.067932)'))) / (select extract(epoch from '2026-07-17 21:11:27'::timestamp) - extract(epoch from '2026-07-17 21:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505806 -3.067854)'), GeomFromEWKT('SRID=4674;POINT (-39.505847 -3.067932)'))) / (select extract(epoch from '2026-07-17 21:11:27'::timestamp) - extract(epoch from '2026-07-17 21:11:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.505878 -3.068003)', '2026-07-17 21:11:32', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505847 -3.067932)'), GeomFromEWKT('SRID=4674;POINT (-39.505878 -3.068003)'))) / (select extract(epoch from '2026-07-17 21:11:32'::timestamp) - extract(epoch from '2026-07-17 21:11:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505847 -3.067932)'), GeomFromEWKT('SRID=4674;POINT (-39.505878 -3.068003)'))) / (select extract(epoch from '2026-07-17 21:11:32'::timestamp) - extract(epoch from '2026-07-17 21:11: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'), 47917, 'SRID=4674;POINT (-39.505888 -3.068016)', '2026-07-17 21:11:33', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505878 -3.068003)'), GeomFromEWKT('SRID=4674;POINT (-39.505888 -3.068016)'))) / (select extract(epoch from '2026-07-17 21:11:33'::timestamp) - extract(epoch from '2026-07-17 21:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505878 -3.068003)'), GeomFromEWKT('SRID=4674;POINT (-39.505888 -3.068016)'))) / (select extract(epoch from '2026-07-17 21:11:33'::timestamp) - extract(epoch from '2026-07-17 21:11:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.505912 -3.068041)', '2026-07-17 21:11:35', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505888 -3.068016)'), GeomFromEWKT('SRID=4674;POINT (-39.505912 -3.068041)'))) / (select extract(epoch from '2026-07-17 21:11:35'::timestamp) - extract(epoch from '2026-07-17 21:11:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505888 -3.068016)'), GeomFromEWKT('SRID=4674;POINT (-39.505912 -3.068041)'))) / (select extract(epoch from '2026-07-17 21:11:35'::timestamp) - extract(epoch from '2026-07-17 21:11: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'), 47917, 'SRID=4674;POINT (-39.505916 -3.068054)', '2026-07-17 21:11:36', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505912 -3.068041)'), GeomFromEWKT('SRID=4674;POINT (-39.505916 -3.068054)'))) / (select extract(epoch from '2026-07-17 21:11:36'::timestamp) - extract(epoch from '2026-07-17 21:11:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505912 -3.068041)'), GeomFromEWKT('SRID=4674;POINT (-39.505916 -3.068054)'))) / (select extract(epoch from '2026-07-17 21:11:36'::timestamp) - extract(epoch from '2026-07-17 21:11: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'), 47917, 'SRID=4674;POINT (-39.505961 -3.068127)', '2026-07-17 21:11:41', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505916 -3.068054)'), GeomFromEWKT('SRID=4674;POINT (-39.505961 -3.068127)'))) / (select extract(epoch from '2026-07-17 21:11:41'::timestamp) - extract(epoch from '2026-07-17 21:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505916 -3.068054)'), GeomFromEWKT('SRID=4674;POINT (-39.505961 -3.068127)'))) / (select extract(epoch from '2026-07-17 21:11:41'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.505997 -3.068195)', '2026-07-17 21:11:46', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505961 -3.068127)'), GeomFromEWKT('SRID=4674;POINT (-39.505997 -3.068195)'))) / (select extract(epoch from '2026-07-17 21:11:46'::timestamp) - extract(epoch from '2026-07-17 21:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505961 -3.068127)'), GeomFromEWKT('SRID=4674;POINT (-39.505997 -3.068195)'))) / (select extract(epoch from '2026-07-17 21:11:46'::timestamp) - extract(epoch from '2026-07-17 21:11: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'), 47917, 'SRID=4674;POINT (-39.506044 -3.068273)', '2026-07-17 21:11:52', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505997 -3.068195)'), GeomFromEWKT('SRID=4674;POINT (-39.506044 -3.068273)'))) / (select extract(epoch from '2026-07-17 21:11:52'::timestamp) - extract(epoch from '2026-07-17 21:11:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505997 -3.068195)'), GeomFromEWKT('SRID=4674;POINT (-39.506044 -3.068273)'))) / (select extract(epoch from '2026-07-17 21:11:52'::timestamp) - extract(epoch from '2026-07-17 21:11: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'), 47917, 'SRID=4674;POINT (-39.506098 -3.068354)', '2026-07-17 21:11:59', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506044 -3.068273)'), GeomFromEWKT('SRID=4674;POINT (-39.506098 -3.068354)'))) / (select extract(epoch from '2026-07-17 21:11:59'::timestamp) - extract(epoch from '2026-07-17 21:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506044 -3.068273)'), GeomFromEWKT('SRID=4674;POINT (-39.506098 -3.068354)'))) / (select extract(epoch from '2026-07-17 21:11:59'::timestamp) - extract(epoch from '2026-07-17 21:11: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'), 47917, 'SRID=4674;POINT (-39.506113 -3.068377)', '2026-07-17 21:12:01', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506098 -3.068354)'), GeomFromEWKT('SRID=4674;POINT (-39.506113 -3.068377)'))) / (select extract(epoch from '2026-07-17 21:12:01'::timestamp) - extract(epoch from '2026-07-17 21:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506098 -3.068354)'), GeomFromEWKT('SRID=4674;POINT (-39.506113 -3.068377)'))) / (select extract(epoch from '2026-07-17 21:12:01'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.506148 -3.068409)', '2026-07-17 21:12:04', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506113 -3.068377)'), GeomFromEWKT('SRID=4674;POINT (-39.506148 -3.068409)'))) / (select extract(epoch from '2026-07-17 21:12:04'::timestamp) - extract(epoch from '2026-07-17 21:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506113 -3.068377)'), GeomFromEWKT('SRID=4674;POINT (-39.506148 -3.068409)'))) / (select extract(epoch from '2026-07-17 21:12:04'::timestamp) - extract(epoch from '2026-07-17 21:12:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.506167 -3.06844)', '2026-07-17 21:12:07', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506148 -3.068409)'), GeomFromEWKT('SRID=4674;POINT (-39.506167 -3.06844)'))) / (select extract(epoch from '2026-07-17 21:12:07'::timestamp) - extract(epoch from '2026-07-17 21:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506148 -3.068409)'), GeomFromEWKT('SRID=4674;POINT (-39.506167 -3.06844)'))) / (select extract(epoch from '2026-07-17 21:12:07'::timestamp) - extract(epoch from '2026-07-17 21:12: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'), 47917, 'SRID=4674;POINT (-39.506193 -3.068478)', '2026-07-17 21:12:10', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506167 -3.06844)'), GeomFromEWKT('SRID=4674;POINT (-39.506193 -3.068478)'))) / (select extract(epoch from '2026-07-17 21:12:10'::timestamp) - extract(epoch from '2026-07-17 21:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506167 -3.06844)'), GeomFromEWKT('SRID=4674;POINT (-39.506193 -3.068478)'))) / (select extract(epoch from '2026-07-17 21:12:10'::timestamp) - extract(epoch from '2026-07-17 21:12: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'), 47917, 'SRID=4674;POINT (-39.506246 -3.068574)', '2026-07-17 21:12:17', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506193 -3.068478)'), GeomFromEWKT('SRID=4674;POINT (-39.506246 -3.068574)'))) / (select extract(epoch from '2026-07-17 21:12:17'::timestamp) - extract(epoch from '2026-07-17 21:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506193 -3.068478)'), GeomFromEWKT('SRID=4674;POINT (-39.506246 -3.068574)'))) / (select extract(epoch from '2026-07-17 21:12:17'::timestamp) - extract(epoch from '2026-07-17 21:12:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.506296 -3.068646)', '2026-07-17 21:12:23', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506246 -3.068574)'), GeomFromEWKT('SRID=4674;POINT (-39.506296 -3.068646)'))) / (select extract(epoch from '2026-07-17 21:12:23'::timestamp) - extract(epoch from '2026-07-17 21:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506246 -3.068574)'), GeomFromEWKT('SRID=4674;POINT (-39.506296 -3.068646)'))) / (select extract(epoch from '2026-07-17 21:12:23'::timestamp) - extract(epoch from '2026-07-17 21:12: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'), 47917, 'SRID=4674;POINT (-39.506334 -3.068708)', '2026-07-17 21:12:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506296 -3.068646)'), GeomFromEWKT('SRID=4674;POINT (-39.506334 -3.068708)'))) / (select extract(epoch from '2026-07-17 21:12:28'::timestamp) - extract(epoch from '2026-07-17 21:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506296 -3.068646)'), GeomFromEWKT('SRID=4674;POINT (-39.506334 -3.068708)'))) / (select extract(epoch from '2026-07-17 21:12:28'::timestamp) - extract(epoch from '2026-07-17 21:12:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.506364 -3.06875)', '2026-07-17 21:12:32', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506334 -3.068708)'), GeomFromEWKT('SRID=4674;POINT (-39.506364 -3.06875)'))) / (select extract(epoch from '2026-07-17 21:12:32'::timestamp) - extract(epoch from '2026-07-17 21:12:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506334 -3.068708)'), GeomFromEWKT('SRID=4674;POINT (-39.506364 -3.06875)'))) / (select extract(epoch from '2026-07-17 21:12:32'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.506372 -3.06876)', '2026-07-17 21:12:33', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506364 -3.06875)'), GeomFromEWKT('SRID=4674;POINT (-39.506372 -3.06876)'))) / (select extract(epoch from '2026-07-17 21:12:33'::timestamp) - extract(epoch from '2026-07-17 21:12:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506364 -3.06875)'), GeomFromEWKT('SRID=4674;POINT (-39.506372 -3.06876)'))) / (select extract(epoch from '2026-07-17 21:12:33'::timestamp) - extract(epoch from '2026-07-17 21:12:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.506424 -3.068833)', '2026-07-17 21:12:39', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506372 -3.06876)'), GeomFromEWKT('SRID=4674;POINT (-39.506424 -3.068833)'))) / (select extract(epoch from '2026-07-17 21:12:39'::timestamp) - extract(epoch from '2026-07-17 21:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506372 -3.06876)'), GeomFromEWKT('SRID=4674;POINT (-39.506424 -3.068833)'))) / (select extract(epoch from '2026-07-17 21:12:39'::timestamp) - extract(epoch from '2026-07-17 21:12:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.506461 -3.068894)', '2026-07-17 21:12:44', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506424 -3.068833)'), GeomFromEWKT('SRID=4674;POINT (-39.506461 -3.068894)'))) / (select extract(epoch from '2026-07-17 21:12:44'::timestamp) - extract(epoch from '2026-07-17 21:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506424 -3.068833)'), GeomFromEWKT('SRID=4674;POINT (-39.506461 -3.068894)'))) / (select extract(epoch from '2026-07-17 21:12:44'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.506502 -3.068969)', '2026-07-17 21:12:50', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506461 -3.068894)'), GeomFromEWKT('SRID=4674;POINT (-39.506502 -3.068969)'))) / (select extract(epoch from '2026-07-17 21:12:50'::timestamp) - extract(epoch from '2026-07-17 21:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506461 -3.068894)'), GeomFromEWKT('SRID=4674;POINT (-39.506502 -3.068969)'))) / (select extract(epoch from '2026-07-17 21:12:50'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.506507 -3.068994)', '2026-07-17 21:12:52', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506502 -3.068969)'), GeomFromEWKT('SRID=4674;POINT (-39.506507 -3.068994)'))) / (select extract(epoch from '2026-07-17 21:12:52'::timestamp) - extract(epoch from '2026-07-17 21:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506502 -3.068969)'), GeomFromEWKT('SRID=4674;POINT (-39.506507 -3.068994)'))) / (select extract(epoch from '2026-07-17 21:12:52'::timestamp) - extract(epoch from '2026-07-17 21:12:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.506537 -3.069038)', '2026-07-17 21:12:55', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506507 -3.068994)'), GeomFromEWKT('SRID=4674;POINT (-39.506537 -3.069038)'))) / (select extract(epoch from '2026-07-17 21:12:55'::timestamp) - extract(epoch from '2026-07-17 21:12:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506507 -3.068994)'), GeomFromEWKT('SRID=4674;POINT (-39.506537 -3.069038)'))) / (select extract(epoch from '2026-07-17 21:12:55'::timestamp) - extract(epoch from '2026-07-17 21:12: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'), 47917, 'SRID=4674;POINT (-39.506557 -3.069083)', '2026-07-17 21:12:59', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506537 -3.069038)'), GeomFromEWKT('SRID=4674;POINT (-39.506557 -3.069083)'))) / (select extract(epoch from '2026-07-17 21:12:59'::timestamp) - extract(epoch from '2026-07-17 21:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506537 -3.069038)'), GeomFromEWKT('SRID=4674;POINT (-39.506557 -3.069083)'))) / (select extract(epoch from '2026-07-17 21:12:59'::timestamp) - extract(epoch from '2026-07-17 21:12: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'), 47917, 'SRID=4674;POINT (-39.506578 -3.069109)', '2026-07-17 21:13:01', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506557 -3.069083)'), GeomFromEWKT('SRID=4674;POINT (-39.506578 -3.069109)'))) / (select extract(epoch from '2026-07-17 21:13:01'::timestamp) - extract(epoch from '2026-07-17 21:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506557 -3.069083)'), GeomFromEWKT('SRID=4674;POINT (-39.506578 -3.069109)'))) / (select extract(epoch from '2026-07-17 21:13:01'::timestamp) - extract(epoch from '2026-07-17 21:12:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.506625 -3.069192)', '2026-07-17 21:13:08', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506578 -3.069109)'), GeomFromEWKT('SRID=4674;POINT (-39.506625 -3.069192)'))) / (select extract(epoch from '2026-07-17 21:13:08'::timestamp) - extract(epoch from '2026-07-17 21:13:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506578 -3.069109)'), GeomFromEWKT('SRID=4674;POINT (-39.506625 -3.069192)'))) / (select extract(epoch from '2026-07-17 21:13:08'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.50666 -3.069256)', '2026-07-17 21:13:13', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506625 -3.069192)'), GeomFromEWKT('SRID=4674;POINT (-39.50666 -3.069256)'))) / (select extract(epoch from '2026-07-17 21:13:13'::timestamp) - extract(epoch from '2026-07-17 21:13:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506625 -3.069192)'), GeomFromEWKT('SRID=4674;POINT (-39.50666 -3.069256)'))) / (select extract(epoch from '2026-07-17 21:13:13'::timestamp) - extract(epoch from '2026-07-17 21:13: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'), 47917, 'SRID=4674;POINT (-39.506672 -3.069268)', '2026-07-17 21:13:14', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50666 -3.069256)'), GeomFromEWKT('SRID=4674;POINT (-39.506672 -3.069268)'))) / (select extract(epoch from '2026-07-17 21:13:14'::timestamp) - extract(epoch from '2026-07-17 21:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50666 -3.069256)'), GeomFromEWKT('SRID=4674;POINT (-39.506672 -3.069268)'))) / (select extract(epoch from '2026-07-17 21:13:14'::timestamp) - extract(epoch from '2026-07-17 21:13:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.506739 -3.069352)', '2026-07-17 21:13:21', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506672 -3.069268)'), GeomFromEWKT('SRID=4674;POINT (-39.506739 -3.069352)'))) / (select extract(epoch from '2026-07-17 21:13:21'::timestamp) - extract(epoch from '2026-07-17 21:13:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506672 -3.069268)'), GeomFromEWKT('SRID=4674;POINT (-39.506739 -3.069352)'))) / (select extract(epoch from '2026-07-17 21:13:21'::timestamp) - extract(epoch from '2026-07-17 21:13:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.50679 -3.06943)', '2026-07-17 21:13:27', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506739 -3.069352)'), GeomFromEWKT('SRID=4674;POINT (-39.50679 -3.06943)'))) / (select extract(epoch from '2026-07-17 21:13:27'::timestamp) - extract(epoch from '2026-07-17 21:13:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506739 -3.069352)'), GeomFromEWKT('SRID=4674;POINT (-39.50679 -3.06943)'))) / (select extract(epoch from '2026-07-17 21:13:27'::timestamp) - extract(epoch from '2026-07-17 21:13:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.506844 -3.069503)', '2026-07-17 21:13:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50679 -3.06943)'), GeomFromEWKT('SRID=4674;POINT (-39.506844 -3.069503)'))) / (select extract(epoch from '2026-07-17 21:13:33'::timestamp) - extract(epoch from '2026-07-17 21:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50679 -3.06943)'), GeomFromEWKT('SRID=4674;POINT (-39.506844 -3.069503)'))) / (select extract(epoch from '2026-07-17 21:13:33'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.5069 -3.069568)', '2026-07-17 21:13:39', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506844 -3.069503)'), GeomFromEWKT('SRID=4674;POINT (-39.5069 -3.069568)'))) / (select extract(epoch from '2026-07-17 21:13:39'::timestamp) - extract(epoch from '2026-07-17 21:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506844 -3.069503)'), GeomFromEWKT('SRID=4674;POINT (-39.5069 -3.069568)'))) / (select extract(epoch from '2026-07-17 21:13:39'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.506951 -3.069623)', '2026-07-17 21:13:44', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5069 -3.069568)'), GeomFromEWKT('SRID=4674;POINT (-39.506951 -3.069623)'))) / (select extract(epoch from '2026-07-17 21:13:44'::timestamp) - extract(epoch from '2026-07-17 21:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5069 -3.069568)'), GeomFromEWKT('SRID=4674;POINT (-39.506951 -3.069623)'))) / (select extract(epoch from '2026-07-17 21:13:44'::timestamp) - extract(epoch from '2026-07-17 21:13:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.507 -3.069697)', '2026-07-17 21:13:50', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506951 -3.069623)'), GeomFromEWKT('SRID=4674;POINT (-39.507 -3.069697)'))) / (select extract(epoch from '2026-07-17 21:13:50'::timestamp) - extract(epoch from '2026-07-17 21:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506951 -3.069623)'), GeomFromEWKT('SRID=4674;POINT (-39.507 -3.069697)'))) / (select extract(epoch from '2026-07-17 21:13:50'::timestamp) - extract(epoch from '2026-07-17 21:13: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'), 47917, 'SRID=4674;POINT (-39.507037 -3.069774)', '2026-07-17 21:13:55', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507 -3.069697)'), GeomFromEWKT('SRID=4674;POINT (-39.507037 -3.069774)'))) / (select extract(epoch from '2026-07-17 21:13:55'::timestamp) - extract(epoch from '2026-07-17 21:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507 -3.069697)'), GeomFromEWKT('SRID=4674;POINT (-39.507037 -3.069774)'))) / (select extract(epoch from '2026-07-17 21:13:55'::timestamp) - extract(epoch from '2026-07-17 21:13:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.507081 -3.06985)', '2026-07-17 21:14:00', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507037 -3.069774)'), GeomFromEWKT('SRID=4674;POINT (-39.507081 -3.06985)'))) / (select extract(epoch from '2026-07-17 21:14:00'::timestamp) - extract(epoch from '2026-07-17 21:13:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507037 -3.069774)'), GeomFromEWKT('SRID=4674;POINT (-39.507081 -3.06985)'))) / (select extract(epoch from '2026-07-17 21:14:00'::timestamp) - extract(epoch from '2026-07-17 21:13:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.507083 -3.06986)', '2026-07-17 21:14:01', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507081 -3.06985)'), GeomFromEWKT('SRID=4674;POINT (-39.507083 -3.06986)'))) / (select extract(epoch from '2026-07-17 21:14:01'::timestamp) - extract(epoch from '2026-07-17 21:14:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507081 -3.06985)'), GeomFromEWKT('SRID=4674;POINT (-39.507083 -3.06986)'))) / (select extract(epoch from '2026-07-17 21:14:01'::timestamp) - extract(epoch from '2026-07-17 21:14:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.507096 -3.069885)', '2026-07-17 21:14:03', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507083 -3.06986)'), GeomFromEWKT('SRID=4674;POINT (-39.507096 -3.069885)'))) / (select extract(epoch from '2026-07-17 21:14:03'::timestamp) - extract(epoch from '2026-07-17 21:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507083 -3.06986)'), GeomFromEWKT('SRID=4674;POINT (-39.507096 -3.069885)'))) / (select extract(epoch from '2026-07-17 21:14:03'::timestamp) - extract(epoch from '2026-07-17 21:14:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.507119 -3.069907)', '2026-07-17 21:14:05', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507096 -3.069885)'), GeomFromEWKT('SRID=4674;POINT (-39.507119 -3.069907)'))) / (select extract(epoch from '2026-07-17 21:14:05'::timestamp) - extract(epoch from '2026-07-17 21:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507096 -3.069885)'), GeomFromEWKT('SRID=4674;POINT (-39.507119 -3.069907)'))) / (select extract(epoch from '2026-07-17 21:14:05'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.507173 -3.069982)', '2026-07-17 21:14:11', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507119 -3.069907)'), GeomFromEWKT('SRID=4674;POINT (-39.507173 -3.069982)'))) / (select extract(epoch from '2026-07-17 21:14:11'::timestamp) - extract(epoch from '2026-07-17 21:14:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507119 -3.069907)'), GeomFromEWKT('SRID=4674;POINT (-39.507173 -3.069982)'))) / (select extract(epoch from '2026-07-17 21:14:11'::timestamp) - extract(epoch from '2026-07-17 21:14: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'), 47917, 'SRID=4674;POINT (-39.507221 -3.070079)', '2026-07-17 21:14:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507173 -3.069982)'), GeomFromEWKT('SRID=4674;POINT (-39.507221 -3.070079)'))) / (select extract(epoch from '2026-07-17 21:14:18'::timestamp) - extract(epoch from '2026-07-17 21:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507173 -3.069982)'), GeomFromEWKT('SRID=4674;POINT (-39.507221 -3.070079)'))) / (select extract(epoch from '2026-07-17 21:14:18'::timestamp) - extract(epoch from '2026-07-17 21:14:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.507278 -3.070173)', '2026-07-17 21:14:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507221 -3.070079)'), GeomFromEWKT('SRID=4674;POINT (-39.507278 -3.070173)'))) / (select extract(epoch from '2026-07-17 21:14:25'::timestamp) - extract(epoch from '2026-07-17 21:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507221 -3.070079)'), GeomFromEWKT('SRID=4674;POINT (-39.507278 -3.070173)'))) / (select extract(epoch from '2026-07-17 21:14:25'::timestamp) - extract(epoch from '2026-07-17 21:14:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.507343 -3.070282)', '2026-07-17 21:14:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507278 -3.070173)'), GeomFromEWKT('SRID=4674;POINT (-39.507343 -3.070282)'))) / (select extract(epoch from '2026-07-17 21:14:33'::timestamp) - extract(epoch from '2026-07-17 21:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507278 -3.070173)'), GeomFromEWKT('SRID=4674;POINT (-39.507343 -3.070282)'))) / (select extract(epoch from '2026-07-17 21:14:33'::timestamp) - extract(epoch from '2026-07-17 21:14: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'), 47917, 'SRID=4674;POINT (-39.507398 -3.070371)', '2026-07-17 21:14:40', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507343 -3.070282)'), GeomFromEWKT('SRID=4674;POINT (-39.507398 -3.070371)'))) / (select extract(epoch from '2026-07-17 21:14:40'::timestamp) - extract(epoch from '2026-07-17 21:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507343 -3.070282)'), GeomFromEWKT('SRID=4674;POINT (-39.507398 -3.070371)'))) / (select extract(epoch from '2026-07-17 21:14:40'::timestamp) - extract(epoch from '2026-07-17 21:14:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.507421 -3.070391)', '2026-07-17 21:14:42', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507398 -3.070371)'), GeomFromEWKT('SRID=4674;POINT (-39.507421 -3.070391)'))) / (select extract(epoch from '2026-07-17 21:14:42'::timestamp) - extract(epoch from '2026-07-17 21:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507398 -3.070371)'), GeomFromEWKT('SRID=4674;POINT (-39.507421 -3.070391)'))) / (select extract(epoch from '2026-07-17 21:14:42'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.50744 -3.07043)', '2026-07-17 21:14:45', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507421 -3.070391)'), GeomFromEWKT('SRID=4674;POINT (-39.50744 -3.07043)'))) / (select extract(epoch from '2026-07-17 21:14:45'::timestamp) - extract(epoch from '2026-07-17 21:14:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507421 -3.070391)'), GeomFromEWKT('SRID=4674;POINT (-39.50744 -3.07043)'))) / (select extract(epoch from '2026-07-17 21:14:45'::timestamp) - extract(epoch from '2026-07-17 21:14:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.507482 -3.070512)', '2026-07-17 21:14:51', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50744 -3.07043)'), GeomFromEWKT('SRID=4674;POINT (-39.507482 -3.070512)'))) / (select extract(epoch from '2026-07-17 21:14:51'::timestamp) - extract(epoch from '2026-07-17 21:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50744 -3.07043)'), GeomFromEWKT('SRID=4674;POINT (-39.507482 -3.070512)'))) / (select extract(epoch from '2026-07-17 21:14:51'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.507524 -3.070611)', '2026-07-17 21:14:57', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507482 -3.070512)'), GeomFromEWKT('SRID=4674;POINT (-39.507524 -3.070611)'))) / (select extract(epoch from '2026-07-17 21:14:57'::timestamp) - extract(epoch from '2026-07-17 21:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507482 -3.070512)'), GeomFromEWKT('SRID=4674;POINT (-39.507524 -3.070611)'))) / (select extract(epoch from '2026-07-17 21:14:57'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.507552 -3.070667)', '2026-07-17 21:15:02', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507524 -3.070611)'), GeomFromEWKT('SRID=4674;POINT (-39.507552 -3.070667)'))) / (select extract(epoch from '2026-07-17 21:15:02'::timestamp) - extract(epoch from '2026-07-17 21:14:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507524 -3.070611)'), GeomFromEWKT('SRID=4674;POINT (-39.507552 -3.070667)'))) / (select extract(epoch from '2026-07-17 21:15:02'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.5076 -3.070751)', '2026-07-17 21:15:09', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507552 -3.070667)'), GeomFromEWKT('SRID=4674;POINT (-39.5076 -3.070751)'))) / (select extract(epoch from '2026-07-17 21:15:09'::timestamp) - extract(epoch from '2026-07-17 21:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507552 -3.070667)'), GeomFromEWKT('SRID=4674;POINT (-39.5076 -3.070751)'))) / (select extract(epoch from '2026-07-17 21:15:09'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.50761 -3.070762)', '2026-07-17 21:15:10', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5076 -3.070751)'), GeomFromEWKT('SRID=4674;POINT (-39.50761 -3.070762)'))) / (select extract(epoch from '2026-07-17 21:15:10'::timestamp) - extract(epoch from '2026-07-17 21:15:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5076 -3.070751)'), GeomFromEWKT('SRID=4674;POINT (-39.50761 -3.070762)'))) / (select extract(epoch from '2026-07-17 21:15:10'::timestamp) - extract(epoch from '2026-07-17 21:15: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'), 47917, 'SRID=4674;POINT (-39.50764 -3.070807)', '2026-07-17 21:15:13', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50761 -3.070762)'), GeomFromEWKT('SRID=4674;POINT (-39.50764 -3.070807)'))) / (select extract(epoch from '2026-07-17 21:15:13'::timestamp) - extract(epoch from '2026-07-17 21:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50761 -3.070762)'), GeomFromEWKT('SRID=4674;POINT (-39.50764 -3.070807)'))) / (select extract(epoch from '2026-07-17 21:15:13'::timestamp) - extract(epoch from '2026-07-17 21:15:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.50769 -3.070914)', '2026-07-17 21:15:21', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50764 -3.070807)'), GeomFromEWKT('SRID=4674;POINT (-39.50769 -3.070914)'))) / (select extract(epoch from '2026-07-17 21:15:21'::timestamp) - extract(epoch from '2026-07-17 21:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50764 -3.070807)'), GeomFromEWKT('SRID=4674;POINT (-39.50769 -3.070914)'))) / (select extract(epoch from '2026-07-17 21:15:21'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.507694 -3.070927)', '2026-07-17 21:15:22', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50769 -3.070914)'), GeomFromEWKT('SRID=4674;POINT (-39.507694 -3.070927)'))) / (select extract(epoch from '2026-07-17 21:15:22'::timestamp) - extract(epoch from '2026-07-17 21:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50769 -3.070914)'), GeomFromEWKT('SRID=4674;POINT (-39.507694 -3.070927)'))) / (select extract(epoch from '2026-07-17 21:15:22'::timestamp) - extract(epoch from '2026-07-17 21:15: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'), 47917, 'SRID=4674;POINT (-39.507726 -3.070973)', '2026-07-17 21:15:26', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507694 -3.070927)'), GeomFromEWKT('SRID=4674;POINT (-39.507726 -3.070973)'))) / (select extract(epoch from '2026-07-17 21:15:26'::timestamp) - extract(epoch from '2026-07-17 21:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507694 -3.070927)'), GeomFromEWKT('SRID=4674;POINT (-39.507726 -3.070973)'))) / (select extract(epoch from '2026-07-17 21:15:26'::timestamp) - extract(epoch from '2026-07-17 21:15: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'), 47917, 'SRID=4674;POINT (-39.507764 -3.071037)', '2026-07-17 21:15:31', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507726 -3.070973)'), GeomFromEWKT('SRID=4674;POINT (-39.507764 -3.071037)'))) / (select extract(epoch from '2026-07-17 21:15:31'::timestamp) - extract(epoch from '2026-07-17 21:15:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507726 -3.070973)'), GeomFromEWKT('SRID=4674;POINT (-39.507764 -3.071037)'))) / (select extract(epoch from '2026-07-17 21:15:31'::timestamp) - extract(epoch from '2026-07-17 21:15: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'), 47917, 'SRID=4674;POINT (-39.507778 -3.07107)', '2026-07-17 21:15:34', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507764 -3.071037)'), GeomFromEWKT('SRID=4674;POINT (-39.507778 -3.07107)'))) / (select extract(epoch from '2026-07-17 21:15:34'::timestamp) - extract(epoch from '2026-07-17 21:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507764 -3.071037)'), GeomFromEWKT('SRID=4674;POINT (-39.507778 -3.07107)'))) / (select extract(epoch from '2026-07-17 21:15:34'::timestamp) - extract(epoch from '2026-07-17 21:15: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'), 47917, 'SRID=4674;POINT (-39.507794 -3.071093)', '2026-07-17 21:15:36', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507778 -3.07107)'), GeomFromEWKT('SRID=4674;POINT (-39.507794 -3.071093)'))) / (select extract(epoch from '2026-07-17 21:15:36'::timestamp) - extract(epoch from '2026-07-17 21:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507778 -3.07107)'), GeomFromEWKT('SRID=4674;POINT (-39.507794 -3.071093)'))) / (select extract(epoch from '2026-07-17 21:15:36'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.507821 -3.071136)', '2026-07-17 21:15:40', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507794 -3.071093)'), GeomFromEWKT('SRID=4674;POINT (-39.507821 -3.071136)'))) / (select extract(epoch from '2026-07-17 21:15:40'::timestamp) - extract(epoch from '2026-07-17 21:15:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507794 -3.071093)'), GeomFromEWKT('SRID=4674;POINT (-39.507821 -3.071136)'))) / (select extract(epoch from '2026-07-17 21:15:40'::timestamp) - extract(epoch from '2026-07-17 21:15: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'), 47917, 'SRID=4674;POINT (-39.507853 -3.07116)', '2026-07-17 21:15:42', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507821 -3.071136)'), GeomFromEWKT('SRID=4674;POINT (-39.507853 -3.07116)'))) / (select extract(epoch from '2026-07-17 21:15:42'::timestamp) - extract(epoch from '2026-07-17 21:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507821 -3.071136)'), GeomFromEWKT('SRID=4674;POINT (-39.507853 -3.07116)'))) / (select extract(epoch from '2026-07-17 21:15:42'::timestamp) - extract(epoch from '2026-07-17 21:15:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.507857 -3.071175)', '2026-07-17 21:15:43', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507853 -3.07116)'), GeomFromEWKT('SRID=4674;POINT (-39.507857 -3.071175)'))) / (select extract(epoch from '2026-07-17 21:15:43'::timestamp) - extract(epoch from '2026-07-17 21:15:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507853 -3.07116)'), GeomFromEWKT('SRID=4674;POINT (-39.507857 -3.071175)'))) / (select extract(epoch from '2026-07-17 21:15:43'::timestamp) - extract(epoch from '2026-07-17 21:15:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.507883 -3.071234)', '2026-07-17 21:15:47', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507857 -3.071175)'), GeomFromEWKT('SRID=4674;POINT (-39.507883 -3.071234)'))) / (select extract(epoch from '2026-07-17 21:15:47'::timestamp) - extract(epoch from '2026-07-17 21:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507857 -3.071175)'), GeomFromEWKT('SRID=4674;POINT (-39.507883 -3.071234)'))) / (select extract(epoch from '2026-07-17 21:15:47'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.5079 -3.07126)', '2026-07-17 21:15:49', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507883 -3.071234)'), GeomFromEWKT('SRID=4674;POINT (-39.5079 -3.07126)'))) / (select extract(epoch from '2026-07-17 21:15:49'::timestamp) - extract(epoch from '2026-07-17 21:15:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507883 -3.071234)'), GeomFromEWKT('SRID=4674;POINT (-39.5079 -3.07126)'))) / (select extract(epoch from '2026-07-17 21:15:49'::timestamp) - extract(epoch from '2026-07-17 21:15: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'), 47917, 'SRID=4674;POINT (-39.507909 -3.071276)', '2026-07-17 21:15:51', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5079 -3.07126)'), GeomFromEWKT('SRID=4674;POINT (-39.507909 -3.071276)'))) / (select extract(epoch from '2026-07-17 21:15:51'::timestamp) - extract(epoch from '2026-07-17 21:15:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5079 -3.07126)'), GeomFromEWKT('SRID=4674;POINT (-39.507909 -3.071276)'))) / (select extract(epoch from '2026-07-17 21:15:51'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.507978 -3.071364)', '2026-07-17 21:15:58', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507909 -3.071276)'), GeomFromEWKT('SRID=4674;POINT (-39.507978 -3.071364)'))) / (select extract(epoch from '2026-07-17 21:15:58'::timestamp) - extract(epoch from '2026-07-17 21:15:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507909 -3.071276)'), GeomFromEWKT('SRID=4674;POINT (-39.507978 -3.071364)'))) / (select extract(epoch from '2026-07-17 21:15:58'::timestamp) - extract(epoch from '2026-07-17 21:15:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.508029 -3.071453)', '2026-07-17 21:16:05', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507978 -3.071364)'), GeomFromEWKT('SRID=4674;POINT (-39.508029 -3.071453)'))) / (select extract(epoch from '2026-07-17 21:16:05'::timestamp) - extract(epoch from '2026-07-17 21:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507978 -3.071364)'), GeomFromEWKT('SRID=4674;POINT (-39.508029 -3.071453)'))) / (select extract(epoch from '2026-07-17 21:16:05'::timestamp) - extract(epoch from '2026-07-17 21:15:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.508081 -3.071514)', '2026-07-17 21:16:11', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508029 -3.071453)'), GeomFromEWKT('SRID=4674;POINT (-39.508081 -3.071514)'))) / (select extract(epoch from '2026-07-17 21:16:11'::timestamp) - extract(epoch from '2026-07-17 21:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508029 -3.071453)'), GeomFromEWKT('SRID=4674;POINT (-39.508081 -3.071514)'))) / (select extract(epoch from '2026-07-17 21:16:11'::timestamp) - extract(epoch from '2026-07-17 21:16: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'), 47917, 'SRID=4674;POINT (-39.508145 -3.071594)', '2026-07-17 21:16:18', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508081 -3.071514)'), GeomFromEWKT('SRID=4674;POINT (-39.508145 -3.071594)'))) / (select extract(epoch from '2026-07-17 21:16:18'::timestamp) - extract(epoch from '2026-07-17 21:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508081 -3.071514)'), GeomFromEWKT('SRID=4674;POINT (-39.508145 -3.071594)'))) / (select extract(epoch from '2026-07-17 21:16:18'::timestamp) - extract(epoch from '2026-07-17 21:16:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.50818 -3.071645)', '2026-07-17 21:16:23', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508145 -3.071594)'), GeomFromEWKT('SRID=4674;POINT (-39.50818 -3.071645)'))) / (select extract(epoch from '2026-07-17 21:16:23'::timestamp) - extract(epoch from '2026-07-17 21:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508145 -3.071594)'), GeomFromEWKT('SRID=4674;POINT (-39.50818 -3.071645)'))) / (select extract(epoch from '2026-07-17 21:16:23'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.508191 -3.071666)', '2026-07-17 21:16:25', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50818 -3.071645)'), GeomFromEWKT('SRID=4674;POINT (-39.508191 -3.071666)'))) / (select extract(epoch from '2026-07-17 21:16:25'::timestamp) - extract(epoch from '2026-07-17 21:16:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50818 -3.071645)'), GeomFromEWKT('SRID=4674;POINT (-39.508191 -3.071666)'))) / (select extract(epoch from '2026-07-17 21:16:25'::timestamp) - extract(epoch from '2026-07-17 21:16:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.508218 -3.071711)', '2026-07-17 21:16:29', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508191 -3.071666)'), GeomFromEWKT('SRID=4674;POINT (-39.508218 -3.071711)'))) / (select extract(epoch from '2026-07-17 21:16:29'::timestamp) - extract(epoch from '2026-07-17 21:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508191 -3.071666)'), GeomFromEWKT('SRID=4674;POINT (-39.508218 -3.071711)'))) / (select extract(epoch from '2026-07-17 21:16:29'::timestamp) - extract(epoch from '2026-07-17 21:16:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.508258 -3.071785)', '2026-07-17 21:16:35', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508218 -3.071711)'), GeomFromEWKT('SRID=4674;POINT (-39.508258 -3.071785)'))) / (select extract(epoch from '2026-07-17 21:16:35'::timestamp) - extract(epoch from '2026-07-17 21:16:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508218 -3.071711)'), GeomFromEWKT('SRID=4674;POINT (-39.508258 -3.071785)'))) / (select extract(epoch from '2026-07-17 21:16:35'::timestamp) - extract(epoch from '2026-07-17 21:16: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'), 47917, 'SRID=4674;POINT (-39.508281 -3.071832)', '2026-07-17 21:16:39', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508258 -3.071785)'), GeomFromEWKT('SRID=4674;POINT (-39.508281 -3.071832)'))) / (select extract(epoch from '2026-07-17 21:16:39'::timestamp) - extract(epoch from '2026-07-17 21:16:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508258 -3.071785)'), GeomFromEWKT('SRID=4674;POINT (-39.508281 -3.071832)'))) / (select extract(epoch from '2026-07-17 21:16:39'::timestamp) - extract(epoch from '2026-07-17 21:16:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.508296 -3.071853)', '2026-07-17 21:16:41', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508281 -3.071832)'), GeomFromEWKT('SRID=4674;POINT (-39.508296 -3.071853)'))) / (select extract(epoch from '2026-07-17 21:16:41'::timestamp) - extract(epoch from '2026-07-17 21:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508281 -3.071832)'), GeomFromEWKT('SRID=4674;POINT (-39.508296 -3.071853)'))) / (select extract(epoch from '2026-07-17 21:16:41'::timestamp) - extract(epoch from '2026-07-17 21:16:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.508325 -3.071914)', '2026-07-17 21:16:46', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508296 -3.071853)'), GeomFromEWKT('SRID=4674;POINT (-39.508325 -3.071914)'))) / (select extract(epoch from '2026-07-17 21:16:46'::timestamp) - extract(epoch from '2026-07-17 21:16:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508296 -3.071853)'), GeomFromEWKT('SRID=4674;POINT (-39.508325 -3.071914)'))) / (select extract(epoch from '2026-07-17 21:16:46'::timestamp) - extract(epoch from '2026-07-17 21:16:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.508339 -3.071953)', '2026-07-17 21:16:49', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508325 -3.071914)'), GeomFromEWKT('SRID=4674;POINT (-39.508339 -3.071953)'))) / (select extract(epoch from '2026-07-17 21:16:49'::timestamp) - extract(epoch from '2026-07-17 21:16:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508325 -3.071914)'), GeomFromEWKT('SRID=4674;POINT (-39.508339 -3.071953)'))) / (select extract(epoch from '2026-07-17 21:16:49'::timestamp) - extract(epoch from '2026-07-17 21:16:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.508362 -3.07198)', '2026-07-17 21:16:51', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508339 -3.071953)'), GeomFromEWKT('SRID=4674;POINT (-39.508362 -3.07198)'))) / (select extract(epoch from '2026-07-17 21:16:51'::timestamp) - extract(epoch from '2026-07-17 21:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508339 -3.071953)'), GeomFromEWKT('SRID=4674;POINT (-39.508362 -3.07198)'))) / (select extract(epoch from '2026-07-17 21:16:51'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.508408 -3.072072)', '2026-07-17 21:16:57', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508362 -3.07198)'), GeomFromEWKT('SRID=4674;POINT (-39.508408 -3.072072)'))) / (select extract(epoch from '2026-07-17 21:16:57'::timestamp) - extract(epoch from '2026-07-17 21:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508362 -3.07198)'), GeomFromEWKT('SRID=4674;POINT (-39.508408 -3.072072)'))) / (select extract(epoch from '2026-07-17 21:16:57'::timestamp) - extract(epoch from '2026-07-17 21:16:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.508453 -3.07215)', '2026-07-17 21:17:03', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508408 -3.072072)'), GeomFromEWKT('SRID=4674;POINT (-39.508453 -3.07215)'))) / (select extract(epoch from '2026-07-17 21:17:03'::timestamp) - extract(epoch from '2026-07-17 21:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508408 -3.072072)'), GeomFromEWKT('SRID=4674;POINT (-39.508453 -3.07215)'))) / (select extract(epoch from '2026-07-17 21:17:03'::timestamp) - extract(epoch from '2026-07-17 21:16:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.508466 -3.072179)', '2026-07-17 21:17:05', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508453 -3.07215)'), GeomFromEWKT('SRID=4674;POINT (-39.508466 -3.072179)'))) / (select extract(epoch from '2026-07-17 21:17:05'::timestamp) - extract(epoch from '2026-07-17 21:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508453 -3.07215)'), GeomFromEWKT('SRID=4674;POINT (-39.508466 -3.072179)'))) / (select extract(epoch from '2026-07-17 21:17:05'::timestamp) - extract(epoch from '2026-07-17 21:17:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.508486 -3.07222)', '2026-07-17 21:17:08', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508466 -3.072179)'), GeomFromEWKT('SRID=4674;POINT (-39.508486 -3.07222)'))) / (select extract(epoch from '2026-07-17 21:17:08'::timestamp) - extract(epoch from '2026-07-17 21:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508466 -3.072179)'), GeomFromEWKT('SRID=4674;POINT (-39.508486 -3.07222)'))) / (select extract(epoch from '2026-07-17 21:17:08'::timestamp) - extract(epoch from '2026-07-17 21:17:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.50854 -3.072312)', '2026-07-17 21:17:16', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508486 -3.07222)'), GeomFromEWKT('SRID=4674;POINT (-39.50854 -3.072312)'))) / (select extract(epoch from '2026-07-17 21:17:16'::timestamp) - extract(epoch from '2026-07-17 21:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508486 -3.07222)'), GeomFromEWKT('SRID=4674;POINT (-39.50854 -3.072312)'))) / (select extract(epoch from '2026-07-17 21:17:16'::timestamp) - extract(epoch from '2026-07-17 21:17: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'), 47917, 'SRID=4674;POINT (-39.508582 -3.072374)', '2026-07-17 21:17:22', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50854 -3.072312)'), GeomFromEWKT('SRID=4674;POINT (-39.508582 -3.072374)'))) / (select extract(epoch from '2026-07-17 21:17:22'::timestamp) - extract(epoch from '2026-07-17 21:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50854 -3.072312)'), GeomFromEWKT('SRID=4674;POINT (-39.508582 -3.072374)'))) / (select extract(epoch from '2026-07-17 21:17:22'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.508622 -3.07245)', '2026-07-17 21:17:28', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508582 -3.072374)'), GeomFromEWKT('SRID=4674;POINT (-39.508622 -3.07245)'))) / (select extract(epoch from '2026-07-17 21:17:28'::timestamp) - extract(epoch from '2026-07-17 21:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508582 -3.072374)'), GeomFromEWKT('SRID=4674;POINT (-39.508622 -3.07245)'))) / (select extract(epoch from '2026-07-17 21:17:28'::timestamp) - extract(epoch from '2026-07-17 21:17: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'), 47917, 'SRID=4674;POINT (-39.508652 -3.072532)', '2026-07-17 21:17:34', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508622 -3.07245)'), GeomFromEWKT('SRID=4674;POINT (-39.508652 -3.072532)'))) / (select extract(epoch from '2026-07-17 21:17:34'::timestamp) - extract(epoch from '2026-07-17 21:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508622 -3.07245)'), GeomFromEWKT('SRID=4674;POINT (-39.508652 -3.072532)'))) / (select extract(epoch from '2026-07-17 21:17:34'::timestamp) - extract(epoch from '2026-07-17 21:17:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.508688 -3.072629)', '2026-07-17 21:17:41', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508652 -3.072532)'), GeomFromEWKT('SRID=4674;POINT (-39.508688 -3.072629)'))) / (select extract(epoch from '2026-07-17 21:17:41'::timestamp) - extract(epoch from '2026-07-17 21:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508652 -3.072532)'), GeomFromEWKT('SRID=4674;POINT (-39.508688 -3.072629)'))) / (select extract(epoch from '2026-07-17 21:17:41'::timestamp) - extract(epoch from '2026-07-17 21:17:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.508704 -3.072657)', '2026-07-17 21:17:44', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508688 -3.072629)'), GeomFromEWKT('SRID=4674;POINT (-39.508704 -3.072657)'))) / (select extract(epoch from '2026-07-17 21:17:44'::timestamp) - extract(epoch from '2026-07-17 21:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508688 -3.072629)'), GeomFromEWKT('SRID=4674;POINT (-39.508704 -3.072657)'))) / (select extract(epoch from '2026-07-17 21:17:44'::timestamp) - extract(epoch from '2026-07-17 21:17: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'), 47917, 'SRID=4674;POINT (-39.508713 -3.07268)', '2026-07-17 21:17:46', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508704 -3.072657)'), GeomFromEWKT('SRID=4674;POINT (-39.508713 -3.07268)'))) / (select extract(epoch from '2026-07-17 21:17:46'::timestamp) - extract(epoch from '2026-07-17 21:17:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508704 -3.072657)'), GeomFromEWKT('SRID=4674;POINT (-39.508713 -3.07268)'))) / (select extract(epoch from '2026-07-17 21:17:46'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.508746 -3.072739)', '2026-07-17 21:17:51', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508713 -3.07268)'), GeomFromEWKT('SRID=4674;POINT (-39.508746 -3.072739)'))) / (select extract(epoch from '2026-07-17 21:17:51'::timestamp) - extract(epoch from '2026-07-17 21:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508713 -3.07268)'), GeomFromEWKT('SRID=4674;POINT (-39.508746 -3.072739)'))) / (select extract(epoch from '2026-07-17 21:17:51'::timestamp) - extract(epoch from '2026-07-17 21:17:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.508757 -3.072754)', '2026-07-17 21:17:52', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508746 -3.072739)'), GeomFromEWKT('SRID=4674;POINT (-39.508757 -3.072754)'))) / (select extract(epoch from '2026-07-17 21:17:52'::timestamp) - extract(epoch from '2026-07-17 21:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508746 -3.072739)'), GeomFromEWKT('SRID=4674;POINT (-39.508757 -3.072754)'))) / (select extract(epoch from '2026-07-17 21:17:52'::timestamp) - extract(epoch from '2026-07-17 21:17: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'), 47917, 'SRID=4674;POINT (-39.508802 -3.072853)', '2026-07-17 21:17:59', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508757 -3.072754)'), GeomFromEWKT('SRID=4674;POINT (-39.508802 -3.072853)'))) / (select extract(epoch from '2026-07-17 21:17:59'::timestamp) - extract(epoch from '2026-07-17 21:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508757 -3.072754)'), GeomFromEWKT('SRID=4674;POINT (-39.508802 -3.072853)'))) / (select extract(epoch from '2026-07-17 21:17:59'::timestamp) - extract(epoch from '2026-07-17 21:17:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.508841 -3.072938)', '2026-07-17 21:18:05', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508802 -3.072853)'), GeomFromEWKT('SRID=4674;POINT (-39.508841 -3.072938)'))) / (select extract(epoch from '2026-07-17 21:18:05'::timestamp) - extract(epoch from '2026-07-17 21:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508802 -3.072853)'), GeomFromEWKT('SRID=4674;POINT (-39.508841 -3.072938)'))) / (select extract(epoch from '2026-07-17 21:18:05'::timestamp) - extract(epoch from '2026-07-17 21:17: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'), 47917, 'SRID=4674;POINT (-39.50886 -3.07297)', '2026-07-17 21:18:07', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508841 -3.072938)'), GeomFromEWKT('SRID=4674;POINT (-39.50886 -3.07297)'))) / (select extract(epoch from '2026-07-17 21:18:07'::timestamp) - extract(epoch from '2026-07-17 21:18:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508841 -3.072938)'), GeomFromEWKT('SRID=4674;POINT (-39.50886 -3.07297)'))) / (select extract(epoch from '2026-07-17 21:18:07'::timestamp) - extract(epoch from '2026-07-17 21:18:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.50888 -3.072995)', '2026-07-17 21:18:09', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50886 -3.07297)'), GeomFromEWKT('SRID=4674;POINT (-39.50888 -3.072995)'))) / (select extract(epoch from '2026-07-17 21:18:09'::timestamp) - extract(epoch from '2026-07-17 21:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50886 -3.07297)'), GeomFromEWKT('SRID=4674;POINT (-39.50888 -3.072995)'))) / (select extract(epoch from '2026-07-17 21:18:09'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.508886 -3.073008)', '2026-07-17 21:18:10', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50888 -3.072995)'), GeomFromEWKT('SRID=4674;POINT (-39.508886 -3.073008)'))) / (select extract(epoch from '2026-07-17 21:18:10'::timestamp) - extract(epoch from '2026-07-17 21:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50888 -3.072995)'), GeomFromEWKT('SRID=4674;POINT (-39.508886 -3.073008)'))) / (select extract(epoch from '2026-07-17 21:18:10'::timestamp) - extract(epoch from '2026-07-17 21:18:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.50892 -3.073061)', '2026-07-17 21:18:14', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508886 -3.073008)'), GeomFromEWKT('SRID=4674;POINT (-39.50892 -3.073061)'))) / (select extract(epoch from '2026-07-17 21:18:14'::timestamp) - extract(epoch from '2026-07-17 21:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508886 -3.073008)'), GeomFromEWKT('SRID=4674;POINT (-39.50892 -3.073061)'))) / (select extract(epoch from '2026-07-17 21:18:14'::timestamp) - extract(epoch from '2026-07-17 21:18:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.508931 -3.07309)', '2026-07-17 21:18:16', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50892 -3.073061)'), GeomFromEWKT('SRID=4674;POINT (-39.508931 -3.07309)'))) / (select extract(epoch from '2026-07-17 21:18:16'::timestamp) - extract(epoch from '2026-07-17 21:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50892 -3.073061)'), GeomFromEWKT('SRID=4674;POINT (-39.508931 -3.07309)'))) / (select extract(epoch from '2026-07-17 21:18:16'::timestamp) - extract(epoch from '2026-07-17 21:18: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'), 47917, 'SRID=4674;POINT (-39.508969 -3.073167)', '2026-07-17 21:18:22', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508931 -3.07309)'), GeomFromEWKT('SRID=4674;POINT (-39.508969 -3.073167)'))) / (select extract(epoch from '2026-07-17 21:18:22'::timestamp) - extract(epoch from '2026-07-17 21:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508931 -3.07309)'), GeomFromEWKT('SRID=4674;POINT (-39.508969 -3.073167)'))) / (select extract(epoch from '2026-07-17 21:18:22'::timestamp) - extract(epoch from '2026-07-17 21:18: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'), 47917, 'SRID=4674;POINT (-39.508973 -3.073201)', '2026-07-17 21:18:24', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508969 -3.073167)'), GeomFromEWKT('SRID=4674;POINT (-39.508973 -3.073201)'))) / (select extract(epoch from '2026-07-17 21:18:24'::timestamp) - extract(epoch from '2026-07-17 21:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508969 -3.073167)'), GeomFromEWKT('SRID=4674;POINT (-39.508973 -3.073201)'))) / (select extract(epoch from '2026-07-17 21:18:24'::timestamp) - extract(epoch from '2026-07-17 21:18:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.508994 -3.073251)', '2026-07-17 21:18:28', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508973 -3.073201)'), GeomFromEWKT('SRID=4674;POINT (-39.508994 -3.073251)'))) / (select extract(epoch from '2026-07-17 21:18:28'::timestamp) - extract(epoch from '2026-07-17 21:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508973 -3.073201)'), GeomFromEWKT('SRID=4674;POINT (-39.508994 -3.073251)'))) / (select extract(epoch from '2026-07-17 21:18:28'::timestamp) - extract(epoch from '2026-07-17 21:18:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.509011 -3.073285)', '2026-07-17 21:18:31', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508994 -3.073251)'), GeomFromEWKT('SRID=4674;POINT (-39.509011 -3.073285)'))) / (select extract(epoch from '2026-07-17 21:18:31'::timestamp) - extract(epoch from '2026-07-17 21:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508994 -3.073251)'), GeomFromEWKT('SRID=4674;POINT (-39.509011 -3.073285)'))) / (select extract(epoch from '2026-07-17 21:18:31'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.509014 -3.073305)', '2026-07-17 21:18:33', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509011 -3.073285)'), GeomFromEWKT('SRID=4674;POINT (-39.509014 -3.073305)'))) / (select extract(epoch from '2026-07-17 21:18:33'::timestamp) - extract(epoch from '2026-07-17 21:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509011 -3.073285)'), GeomFromEWKT('SRID=4674;POINT (-39.509014 -3.073305)'))) / (select extract(epoch from '2026-07-17 21:18:33'::timestamp) - extract(epoch from '2026-07-17 21:18: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'), 47917, 'SRID=4674;POINT (-39.509032 -3.073333)', '2026-07-17 21:18:35', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509014 -3.073305)'), GeomFromEWKT('SRID=4674;POINT (-39.509032 -3.073333)'))) / (select extract(epoch from '2026-07-17 21:18:35'::timestamp) - extract(epoch from '2026-07-17 21:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509014 -3.073305)'), GeomFromEWKT('SRID=4674;POINT (-39.509032 -3.073333)'))) / (select extract(epoch from '2026-07-17 21:18:35'::timestamp) - extract(epoch from '2026-07-17 21:18:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.509048 -3.07336)', '2026-07-17 21:18:37', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509032 -3.073333)'), GeomFromEWKT('SRID=4674;POINT (-39.509048 -3.07336)'))) / (select extract(epoch from '2026-07-17 21:18:37'::timestamp) - extract(epoch from '2026-07-17 21:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509032 -3.073333)'), GeomFromEWKT('SRID=4674;POINT (-39.509048 -3.07336)'))) / (select extract(epoch from '2026-07-17 21:18:37'::timestamp) - extract(epoch from '2026-07-17 21:18: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'), 47917, 'SRID=4674;POINT (-39.509066 -3.073406)', '2026-07-17 21:18:41', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509048 -3.07336)'), GeomFromEWKT('SRID=4674;POINT (-39.509066 -3.073406)'))) / (select extract(epoch from '2026-07-17 21:18:41'::timestamp) - extract(epoch from '2026-07-17 21:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509048 -3.07336)'), GeomFromEWKT('SRID=4674;POINT (-39.509066 -3.073406)'))) / (select extract(epoch from '2026-07-17 21:18:41'::timestamp) - extract(epoch from '2026-07-17 21:18: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'), 47917, 'SRID=4674;POINT (-39.509089 -3.073437)', '2026-07-17 21:18:44', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509066 -3.073406)'), GeomFromEWKT('SRID=4674;POINT (-39.509089 -3.073437)'))) / (select extract(epoch from '2026-07-17 21:18:44'::timestamp) - extract(epoch from '2026-07-17 21:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509066 -3.073406)'), GeomFromEWKT('SRID=4674;POINT (-39.509089 -3.073437)'))) / (select extract(epoch from '2026-07-17 21:18:44'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.509101 -3.073461)', '2026-07-17 21:18:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509089 -3.073437)'), GeomFromEWKT('SRID=4674;POINT (-39.509101 -3.073461)'))) / (select extract(epoch from '2026-07-17 21:18:46'::timestamp) - extract(epoch from '2026-07-17 21:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509089 -3.073437)'), GeomFromEWKT('SRID=4674;POINT (-39.509101 -3.073461)'))) / (select extract(epoch from '2026-07-17 21:18:46'::timestamp) - extract(epoch from '2026-07-17 21:18: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'), 47917, 'SRID=4674;POINT (-39.509158 -3.073543)', '2026-07-17 21:18:53', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509101 -3.073461)'), GeomFromEWKT('SRID=4674;POINT (-39.509158 -3.073543)'))) / (select extract(epoch from '2026-07-17 21:18:53'::timestamp) - extract(epoch from '2026-07-17 21:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509101 -3.073461)'), GeomFromEWKT('SRID=4674;POINT (-39.509158 -3.073543)'))) / (select extract(epoch from '2026-07-17 21:18:53'::timestamp) - extract(epoch from '2026-07-17 21:18:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.509205 -3.073609)', '2026-07-17 21:18:58', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509158 -3.073543)'), GeomFromEWKT('SRID=4674;POINT (-39.509205 -3.073609)'))) / (select extract(epoch from '2026-07-17 21:18:58'::timestamp) - extract(epoch from '2026-07-17 21:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509158 -3.073543)'), GeomFromEWKT('SRID=4674;POINT (-39.509205 -3.073609)'))) / (select extract(epoch from '2026-07-17 21:18:58'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.509205 -3.07362)', '2026-07-17 21:18:59', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509205 -3.073609)'), GeomFromEWKT('SRID=4674;POINT (-39.509205 -3.07362)'))) / (select extract(epoch from '2026-07-17 21:18:59'::timestamp) - extract(epoch from '2026-07-17 21:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509205 -3.073609)'), GeomFromEWKT('SRID=4674;POINT (-39.509205 -3.07362)'))) / (select extract(epoch from '2026-07-17 21:18:59'::timestamp) - extract(epoch from '2026-07-17 21:18: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'), 47917, 'SRID=4674;POINT (-39.509211 -3.073632)', '2026-07-17 21:19:00', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509205 -3.07362)'), GeomFromEWKT('SRID=4674;POINT (-39.509211 -3.073632)'))) / (select extract(epoch from '2026-07-17 21:19:00'::timestamp) - extract(epoch from '2026-07-17 21:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509205 -3.07362)'), GeomFromEWKT('SRID=4674;POINT (-39.509211 -3.073632)'))) / (select extract(epoch from '2026-07-17 21:19:00'::timestamp) - extract(epoch from '2026-07-17 21:18: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'), 47917, 'SRID=4674;POINT (-39.509259 -3.073677)', '2026-07-17 21:19:03', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509211 -3.073632)'), GeomFromEWKT('SRID=4674;POINT (-39.509259 -3.073677)'))) / (select extract(epoch from '2026-07-17 21:19:03'::timestamp) - extract(epoch from '2026-07-17 21:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509211 -3.073632)'), GeomFromEWKT('SRID=4674;POINT (-39.509259 -3.073677)'))) / (select extract(epoch from '2026-07-17 21:19:03'::timestamp) - extract(epoch from '2026-07-17 21:19: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'), 47917, 'SRID=4674;POINT (-39.509277 -3.073723)', '2026-07-17 21:19:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509259 -3.073677)'), GeomFromEWKT('SRID=4674;POINT (-39.509277 -3.073723)'))) / (select extract(epoch from '2026-07-17 21:19:07'::timestamp) - extract(epoch from '2026-07-17 21:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509259 -3.073677)'), GeomFromEWKT('SRID=4674;POINT (-39.509277 -3.073723)'))) / (select extract(epoch from '2026-07-17 21:19:07'::timestamp) - extract(epoch from '2026-07-17 21:19:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.509312 -3.073764)', '2026-07-17 21:19:10', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509277 -3.073723)'), GeomFromEWKT('SRID=4674;POINT (-39.509312 -3.073764)'))) / (select extract(epoch from '2026-07-17 21:19:10'::timestamp) - extract(epoch from '2026-07-17 21:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509277 -3.073723)'), GeomFromEWKT('SRID=4674;POINT (-39.509312 -3.073764)'))) / (select extract(epoch from '2026-07-17 21:19:10'::timestamp) - extract(epoch from '2026-07-17 21:19: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'), 47917, 'SRID=4674;POINT (-39.509312 -3.07379)', '2026-07-17 21:19:12', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509312 -3.073764)'), GeomFromEWKT('SRID=4674;POINT (-39.509312 -3.07379)'))) / (select extract(epoch from '2026-07-17 21:19:12'::timestamp) - extract(epoch from '2026-07-17 21:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509312 -3.073764)'), GeomFromEWKT('SRID=4674;POINT (-39.509312 -3.07379)'))) / (select extract(epoch from '2026-07-17 21:19:12'::timestamp) - extract(epoch from '2026-07-17 21:19:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.509314 -3.073802)', '2026-07-17 21:19:13', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509312 -3.07379)'), GeomFromEWKT('SRID=4674;POINT (-39.509314 -3.073802)'))) / (select extract(epoch from '2026-07-17 21:19:13'::timestamp) - extract(epoch from '2026-07-17 21:19:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509312 -3.07379)'), GeomFromEWKT('SRID=4674;POINT (-39.509314 -3.073802)'))) / (select extract(epoch from '2026-07-17 21:19:13'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.509355 -3.073851)', '2026-07-17 21:19:16', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509314 -3.073802)'), GeomFromEWKT('SRID=4674;POINT (-39.509355 -3.073851)'))) / (select extract(epoch from '2026-07-17 21:19:16'::timestamp) - extract(epoch from '2026-07-17 21:19:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509314 -3.073802)'), GeomFromEWKT('SRID=4674;POINT (-39.509355 -3.073851)'))) / (select extract(epoch from '2026-07-17 21:19:16'::timestamp) - extract(epoch from '2026-07-17 21:19: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'), 47917, 'SRID=4674;POINT (-39.509357 -3.073863)', '2026-07-17 21:19:17', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509355 -3.073851)'), GeomFromEWKT('SRID=4674;POINT (-39.509357 -3.073863)'))) / (select extract(epoch from '2026-07-17 21:19:17'::timestamp) - extract(epoch from '2026-07-17 21:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509355 -3.073851)'), GeomFromEWKT('SRID=4674;POINT (-39.509357 -3.073863)'))) / (select extract(epoch from '2026-07-17 21:19:17'::timestamp) - extract(epoch from '2026-07-17 21:19:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.509362 -3.073886)', '2026-07-17 21:19:19', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509357 -3.073863)'), GeomFromEWKT('SRID=4674;POINT (-39.509362 -3.073886)'))) / (select extract(epoch from '2026-07-17 21:19:19'::timestamp) - extract(epoch from '2026-07-17 21:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509357 -3.073863)'), GeomFromEWKT('SRID=4674;POINT (-39.509362 -3.073886)'))) / (select extract(epoch from '2026-07-17 21:19:19'::timestamp) - extract(epoch from '2026-07-17 21:19: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'), 47917, 'SRID=4674;POINT (-39.509369 -3.073897)', '2026-07-17 21:19:20', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509362 -3.073886)'), GeomFromEWKT('SRID=4674;POINT (-39.509369 -3.073897)'))) / (select extract(epoch from '2026-07-17 21:19:20'::timestamp) - extract(epoch from '2026-07-17 21:19:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509362 -3.073886)'), GeomFromEWKT('SRID=4674;POINT (-39.509369 -3.073897)'))) / (select extract(epoch from '2026-07-17 21:19:20'::timestamp) - extract(epoch from '2026-07-17 21:19: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'), 47917, 'SRID=4674;POINT (-39.509416 -3.073977)', '2026-07-17 21:19:26', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509369 -3.073897)'), GeomFromEWKT('SRID=4674;POINT (-39.509416 -3.073977)'))) / (select extract(epoch from '2026-07-17 21:19:26'::timestamp) - extract(epoch from '2026-07-17 21:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509369 -3.073897)'), GeomFromEWKT('SRID=4674;POINT (-39.509416 -3.073977)'))) / (select extract(epoch from '2026-07-17 21:19:26'::timestamp) - extract(epoch from '2026-07-17 21:19:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.509461 -3.074045)', '2026-07-17 21:19:32', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509416 -3.073977)'), GeomFromEWKT('SRID=4674;POINT (-39.509461 -3.074045)'))) / (select extract(epoch from '2026-07-17 21:19:32'::timestamp) - extract(epoch from '2026-07-17 21:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509416 -3.073977)'), GeomFromEWKT('SRID=4674;POINT (-39.509461 -3.074045)'))) / (select extract(epoch from '2026-07-17 21:19:32'::timestamp) - extract(epoch from '2026-07-17 21:19: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'), 47917, 'SRID=4674;POINT (-39.509474 -3.074069)', '2026-07-17 21:19:34', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509461 -3.074045)'), GeomFromEWKT('SRID=4674;POINT (-39.509474 -3.074069)'))) / (select extract(epoch from '2026-07-17 21:19:34'::timestamp) - extract(epoch from '2026-07-17 21:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509461 -3.074045)'), GeomFromEWKT('SRID=4674;POINT (-39.509474 -3.074069)'))) / (select extract(epoch from '2026-07-17 21:19:34'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.509498 -3.074097)', '2026-07-17 21:19:37', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509474 -3.074069)'), GeomFromEWKT('SRID=4674;POINT (-39.509498 -3.074097)'))) / (select extract(epoch from '2026-07-17 21:19:37'::timestamp) - extract(epoch from '2026-07-17 21:19:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509474 -3.074069)'), GeomFromEWKT('SRID=4674;POINT (-39.509498 -3.074097)'))) / (select extract(epoch from '2026-07-17 21:19:37'::timestamp) - extract(epoch from '2026-07-17 21:19: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'), 47917, 'SRID=4674;POINT (-39.509543 -3.074165)', '2026-07-17 21:19:43', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509498 -3.074097)'), GeomFromEWKT('SRID=4674;POINT (-39.509543 -3.074165)'))) / (select extract(epoch from '2026-07-17 21:19:43'::timestamp) - extract(epoch from '2026-07-17 21:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509498 -3.074097)'), GeomFromEWKT('SRID=4674;POINT (-39.509543 -3.074165)'))) / (select extract(epoch from '2026-07-17 21:19:43'::timestamp) - extract(epoch from '2026-07-17 21:19: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'), 47917, 'SRID=4674;POINT (-39.509558 -3.074186)', '2026-07-17 21:19:45', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509543 -3.074165)'), GeomFromEWKT('SRID=4674;POINT (-39.509558 -3.074186)'))) / (select extract(epoch from '2026-07-17 21:19:45'::timestamp) - extract(epoch from '2026-07-17 21:19:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509543 -3.074165)'), GeomFromEWKT('SRID=4674;POINT (-39.509558 -3.074186)'))) / (select extract(epoch from '2026-07-17 21:19:45'::timestamp) - extract(epoch from '2026-07-17 21:19: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'), 47917, 'SRID=4674;POINT (-39.509578 -3.074207)', '2026-07-17 21:19:47', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509558 -3.074186)'), GeomFromEWKT('SRID=4674;POINT (-39.509578 -3.074207)'))) / (select extract(epoch from '2026-07-17 21:19:47'::timestamp) - extract(epoch from '2026-07-17 21:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509558 -3.074186)'), GeomFromEWKT('SRID=4674;POINT (-39.509578 -3.074207)'))) / (select extract(epoch from '2026-07-17 21:19:47'::timestamp) - extract(epoch from '2026-07-17 21:19:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.50959 -3.07423)', '2026-07-17 21:19:49', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509578 -3.074207)'), GeomFromEWKT('SRID=4674;POINT (-39.50959 -3.07423)'))) / (select extract(epoch from '2026-07-17 21:19:49'::timestamp) - extract(epoch from '2026-07-17 21:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509578 -3.074207)'), GeomFromEWKT('SRID=4674;POINT (-39.50959 -3.07423)'))) / (select extract(epoch from '2026-07-17 21:19:49'::timestamp) - extract(epoch from '2026-07-17 21:19: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'), 47917, 'SRID=4674;POINT (-39.509635 -3.074292)', '2026-07-17 21:19:54', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50959 -3.07423)'), GeomFromEWKT('SRID=4674;POINT (-39.509635 -3.074292)'))) / (select extract(epoch from '2026-07-17 21:19:54'::timestamp) - extract(epoch from '2026-07-17 21:19:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50959 -3.07423)'), GeomFromEWKT('SRID=4674;POINT (-39.509635 -3.074292)'))) / (select extract(epoch from '2026-07-17 21:19:54'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.50969 -3.07437)', '2026-07-17 21:20:00', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509635 -3.074292)'), GeomFromEWKT('SRID=4674;POINT (-39.50969 -3.07437)'))) / (select extract(epoch from '2026-07-17 21:20:00'::timestamp) - extract(epoch from '2026-07-17 21:19:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509635 -3.074292)'), GeomFromEWKT('SRID=4674;POINT (-39.50969 -3.07437)'))) / (select extract(epoch from '2026-07-17 21:20:00'::timestamp) - extract(epoch from '2026-07-17 21:19: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'), 47917, 'SRID=4674;POINT (-39.509737 -3.074443)', '2026-07-17 21:20:06', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50969 -3.07437)'), GeomFromEWKT('SRID=4674;POINT (-39.509737 -3.074443)'))) / (select extract(epoch from '2026-07-17 21:20:06'::timestamp) - extract(epoch from '2026-07-17 21:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50969 -3.07437)'), GeomFromEWKT('SRID=4674;POINT (-39.509737 -3.074443)'))) / (select extract(epoch from '2026-07-17 21:20:06'::timestamp) - extract(epoch from '2026-07-17 21:20: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'), 47917, 'SRID=4674;POINT (-39.509773 -3.074527)', '2026-07-17 21:20:13', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509737 -3.074443)'), GeomFromEWKT('SRID=4674;POINT (-39.509773 -3.074527)'))) / (select extract(epoch from '2026-07-17 21:20:13'::timestamp) - extract(epoch from '2026-07-17 21:20:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509737 -3.074443)'), GeomFromEWKT('SRID=4674;POINT (-39.509773 -3.074527)'))) / (select extract(epoch from '2026-07-17 21:20:13'::timestamp) - extract(epoch from '2026-07-17 21:20:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.509801 -3.074608)', '2026-07-17 21:20:19', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509773 -3.074527)'), GeomFromEWKT('SRID=4674;POINT (-39.509801 -3.074608)'))) / (select extract(epoch from '2026-07-17 21:20:19'::timestamp) - extract(epoch from '2026-07-17 21:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509773 -3.074527)'), GeomFromEWKT('SRID=4674;POINT (-39.509801 -3.074608)'))) / (select extract(epoch from '2026-07-17 21:20:19'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.509831 -3.07469)', '2026-07-17 21:20:25', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509801 -3.074608)'), GeomFromEWKT('SRID=4674;POINT (-39.509831 -3.07469)'))) / (select extract(epoch from '2026-07-17 21:20:25'::timestamp) - extract(epoch from '2026-07-17 21:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509801 -3.074608)'), GeomFromEWKT('SRID=4674;POINT (-39.509831 -3.07469)'))) / (select extract(epoch from '2026-07-17 21:20:25'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.509835 -3.074702)', '2026-07-17 21:20:26', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509831 -3.07469)'), GeomFromEWKT('SRID=4674;POINT (-39.509835 -3.074702)'))) / (select extract(epoch from '2026-07-17 21:20:26'::timestamp) - extract(epoch from '2026-07-17 21:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509831 -3.07469)'), GeomFromEWKT('SRID=4674;POINT (-39.509835 -3.074702)'))) / (select extract(epoch from '2026-07-17 21:20:26'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.509866 -3.074757)', '2026-07-17 21:20:30', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509835 -3.074702)'), GeomFromEWKT('SRID=4674;POINT (-39.509866 -3.074757)'))) / (select extract(epoch from '2026-07-17 21:20:30'::timestamp) - extract(epoch from '2026-07-17 21:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509835 -3.074702)'), GeomFromEWKT('SRID=4674;POINT (-39.509866 -3.074757)'))) / (select extract(epoch from '2026-07-17 21:20:30'::timestamp) - extract(epoch from '2026-07-17 21:20:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.509905 -3.074857)', '2026-07-17 21:20:38', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509866 -3.074757)'), GeomFromEWKT('SRID=4674;POINT (-39.509905 -3.074857)'))) / (select extract(epoch from '2026-07-17 21:20:38'::timestamp) - extract(epoch from '2026-07-17 21:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509866 -3.074757)'), GeomFromEWKT('SRID=4674;POINT (-39.509905 -3.074857)'))) / (select extract(epoch from '2026-07-17 21:20:38'::timestamp) - extract(epoch from '2026-07-17 21:20:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.509913 -3.074872)', '2026-07-17 21:20:39', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509905 -3.074857)'), GeomFromEWKT('SRID=4674;POINT (-39.509913 -3.074872)'))) / (select extract(epoch from '2026-07-17 21:20:39'::timestamp) - extract(epoch from '2026-07-17 21:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509905 -3.074857)'), GeomFromEWKT('SRID=4674;POINT (-39.509913 -3.074872)'))) / (select extract(epoch from '2026-07-17 21:20:39'::timestamp) - extract(epoch from '2026-07-17 21:20:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.509935 -3.074913)', '2026-07-17 21:20:42', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509913 -3.074872)'), GeomFromEWKT('SRID=4674;POINT (-39.509935 -3.074913)'))) / (select extract(epoch from '2026-07-17 21:20:42'::timestamp) - extract(epoch from '2026-07-17 21:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509913 -3.074872)'), GeomFromEWKT('SRID=4674;POINT (-39.509935 -3.074913)'))) / (select extract(epoch from '2026-07-17 21:20:42'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.509936 -3.074924)', '2026-07-17 21:20:43', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509935 -3.074913)'), GeomFromEWKT('SRID=4674;POINT (-39.509936 -3.074924)'))) / (select extract(epoch from '2026-07-17 21:20:43'::timestamp) - extract(epoch from '2026-07-17 21:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509935 -3.074913)'), GeomFromEWKT('SRID=4674;POINT (-39.509936 -3.074924)'))) / (select extract(epoch from '2026-07-17 21:20:43'::timestamp) - extract(epoch from '2026-07-17 21:20:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.509941 -3.074935)', '2026-07-17 21:20:44', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509936 -3.074924)'), GeomFromEWKT('SRID=4674;POINT (-39.509941 -3.074935)'))) / (select extract(epoch from '2026-07-17 21:20:44'::timestamp) - extract(epoch from '2026-07-17 21:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509936 -3.074924)'), GeomFromEWKT('SRID=4674;POINT (-39.509941 -3.074935)'))) / (select extract(epoch from '2026-07-17 21:20:44'::timestamp) - extract(epoch from '2026-07-17 21:20:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.509967 -3.074971)', '2026-07-17 21:20:47', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509941 -3.074935)'), GeomFromEWKT('SRID=4674;POINT (-39.509967 -3.074971)'))) / (select extract(epoch from '2026-07-17 21:20:47'::timestamp) - extract(epoch from '2026-07-17 21:20:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509941 -3.074935)'), GeomFromEWKT('SRID=4674;POINT (-39.509967 -3.074971)'))) / (select extract(epoch from '2026-07-17 21:20:47'::timestamp) - extract(epoch from '2026-07-17 21:20: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'), 47917, 'SRID=4674;POINT (-39.509974 -3.075001)', '2026-07-17 21:20:50', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509967 -3.074971)'), GeomFromEWKT('SRID=4674;POINT (-39.509974 -3.075001)'))) / (select extract(epoch from '2026-07-17 21:20:50'::timestamp) - extract(epoch from '2026-07-17 21:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509967 -3.074971)'), GeomFromEWKT('SRID=4674;POINT (-39.509974 -3.075001)'))) / (select extract(epoch from '2026-07-17 21:20:50'::timestamp) - extract(epoch from '2026-07-17 21:20: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'), 47917, 'SRID=4674;POINT (-39.509996 -3.075044)', '2026-07-17 21:20:53', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509974 -3.075001)'), GeomFromEWKT('SRID=4674;POINT (-39.509996 -3.075044)'))) / (select extract(epoch from '2026-07-17 21:20:53'::timestamp) - extract(epoch from '2026-07-17 21:20:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509974 -3.075001)'), GeomFromEWKT('SRID=4674;POINT (-39.509996 -3.075044)'))) / (select extract(epoch from '2026-07-17 21:20:53'::timestamp) - extract(epoch from '2026-07-17 21:20: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'), 47917, 'SRID=4674;POINT (-39.510036 -3.075148)', '2026-07-17 21:21:00', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509996 -3.075044)'), GeomFromEWKT('SRID=4674;POINT (-39.510036 -3.075148)'))) / (select extract(epoch from '2026-07-17 21:21:00'::timestamp) - extract(epoch from '2026-07-17 21:20:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509996 -3.075044)'), GeomFromEWKT('SRID=4674;POINT (-39.510036 -3.075148)'))) / (select extract(epoch from '2026-07-17 21:21:00'::timestamp) - extract(epoch from '2026-07-17 21:20: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'), 47917, 'SRID=4674;POINT (-39.510049 -3.075189)', '2026-07-17 21:21:03', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510036 -3.075148)'), GeomFromEWKT('SRID=4674;POINT (-39.510049 -3.075189)'))) / (select extract(epoch from '2026-07-17 21:21:03'::timestamp) - extract(epoch from '2026-07-17 21:21:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510036 -3.075148)'), GeomFromEWKT('SRID=4674;POINT (-39.510049 -3.075189)'))) / (select extract(epoch from '2026-07-17 21:21:03'::timestamp) - extract(epoch from '2026-07-17 21:21: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'), 47917, 'SRID=4674;POINT (-39.510058 -3.075201)', '2026-07-17 21:21:04', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510049 -3.075189)'), GeomFromEWKT('SRID=4674;POINT (-39.510058 -3.075201)'))) / (select extract(epoch from '2026-07-17 21:21:04'::timestamp) - extract(epoch from '2026-07-17 21:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510049 -3.075189)'), GeomFromEWKT('SRID=4674;POINT (-39.510058 -3.075201)'))) / (select extract(epoch from '2026-07-17 21:21:04'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.510099 -3.075274)', '2026-07-17 21:21:10', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510058 -3.075201)'), GeomFromEWKT('SRID=4674;POINT (-39.510099 -3.075274)'))) / (select extract(epoch from '2026-07-17 21:21:10'::timestamp) - extract(epoch from '2026-07-17 21:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510058 -3.075201)'), GeomFromEWKT('SRID=4674;POINT (-39.510099 -3.075274)'))) / (select extract(epoch from '2026-07-17 21:21:10'::timestamp) - extract(epoch from '2026-07-17 21:21: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'), 47917, 'SRID=4674;POINT (-39.510118 -3.075299)', '2026-07-17 21:21:12', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510099 -3.075274)'), GeomFromEWKT('SRID=4674;POINT (-39.510118 -3.075299)'))) / (select extract(epoch from '2026-07-17 21:21:12'::timestamp) - extract(epoch from '2026-07-17 21:21:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510099 -3.075274)'), GeomFromEWKT('SRID=4674;POINT (-39.510118 -3.075299)'))) / (select extract(epoch from '2026-07-17 21:21:12'::timestamp) - extract(epoch from '2026-07-17 21:21: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'), 47917, 'SRID=4674;POINT (-39.510136 -3.075353)', '2026-07-17 21:21:16', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510118 -3.075299)'), GeomFromEWKT('SRID=4674;POINT (-39.510136 -3.075353)'))) / (select extract(epoch from '2026-07-17 21:21:16'::timestamp) - extract(epoch from '2026-07-17 21:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510118 -3.075299)'), GeomFromEWKT('SRID=4674;POINT (-39.510136 -3.075353)'))) / (select extract(epoch from '2026-07-17 21:21:16'::timestamp) - extract(epoch from '2026-07-17 21:21:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.510162 -3.075414)', '2026-07-17 21:21:21', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510136 -3.075353)'), GeomFromEWKT('SRID=4674;POINT (-39.510162 -3.075414)'))) / (select extract(epoch from '2026-07-17 21:21:21'::timestamp) - extract(epoch from '2026-07-17 21:21:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510136 -3.075353)'), GeomFromEWKT('SRID=4674;POINT (-39.510162 -3.075414)'))) / (select extract(epoch from '2026-07-17 21:21:21'::timestamp) - extract(epoch from '2026-07-17 21:21:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.510189 -3.075477)', '2026-07-17 21:21:26', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510162 -3.075414)'), GeomFromEWKT('SRID=4674;POINT (-39.510189 -3.075477)'))) / (select extract(epoch from '2026-07-17 21:21:26'::timestamp) - extract(epoch from '2026-07-17 21:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510162 -3.075414)'), GeomFromEWKT('SRID=4674;POINT (-39.510189 -3.075477)'))) / (select extract(epoch from '2026-07-17 21:21:26'::timestamp) - extract(epoch from '2026-07-17 21:21:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.510235 -3.075566)', '2026-07-17 21:21:33', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510189 -3.075477)'), GeomFromEWKT('SRID=4674;POINT (-39.510235 -3.075566)'))) / (select extract(epoch from '2026-07-17 21:21:33'::timestamp) - extract(epoch from '2026-07-17 21:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510189 -3.075477)'), GeomFromEWKT('SRID=4674;POINT (-39.510235 -3.075566)'))) / (select extract(epoch from '2026-07-17 21:21:33'::timestamp) - extract(epoch from '2026-07-17 21:21: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'), 47917, 'SRID=4674;POINT (-39.51026 -3.075639)', '2026-07-17 21:21:39', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510235 -3.075566)'), GeomFromEWKT('SRID=4674;POINT (-39.51026 -3.075639)'))) / (select extract(epoch from '2026-07-17 21:21:39'::timestamp) - extract(epoch from '2026-07-17 21:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510235 -3.075566)'), GeomFromEWKT('SRID=4674;POINT (-39.51026 -3.075639)'))) / (select extract(epoch from '2026-07-17 21:21:39'::timestamp) - extract(epoch from '2026-07-17 21:21: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'), 47917, 'SRID=4674;POINT (-39.510278 -3.075662)', '2026-07-17 21:21:41', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51026 -3.075639)'), GeomFromEWKT('SRID=4674;POINT (-39.510278 -3.075662)'))) / (select extract(epoch from '2026-07-17 21:21:41'::timestamp) - extract(epoch from '2026-07-17 21:21:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51026 -3.075639)'), GeomFromEWKT('SRID=4674;POINT (-39.510278 -3.075662)'))) / (select extract(epoch from '2026-07-17 21:21:41'::timestamp) - extract(epoch from '2026-07-17 21:21:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.510303 -3.075698)', '2026-07-17 21:21:44', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510278 -3.075662)'), GeomFromEWKT('SRID=4674;POINT (-39.510303 -3.075698)'))) / (select extract(epoch from '2026-07-17 21:21:44'::timestamp) - extract(epoch from '2026-07-17 21:21:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510278 -3.075662)'), GeomFromEWKT('SRID=4674;POINT (-39.510303 -3.075698)'))) / (select extract(epoch from '2026-07-17 21:21:44'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.510355 -3.075806)', '2026-07-17 21:21:52', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510303 -3.075698)'), GeomFromEWKT('SRID=4674;POINT (-39.510355 -3.075806)'))) / (select extract(epoch from '2026-07-17 21:21:52'::timestamp) - extract(epoch from '2026-07-17 21:21:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510303 -3.075698)'), GeomFromEWKT('SRID=4674;POINT (-39.510355 -3.075806)'))) / (select extract(epoch from '2026-07-17 21:21:52'::timestamp) - extract(epoch from '2026-07-17 21:21: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'), 47917, 'SRID=4674;POINT (-39.510396 -3.075879)', '2026-07-17 21:21:57', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510355 -3.075806)'), GeomFromEWKT('SRID=4674;POINT (-39.510396 -3.075879)'))) / (select extract(epoch from '2026-07-17 21:21:57'::timestamp) - extract(epoch from '2026-07-17 21:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510355 -3.075806)'), GeomFromEWKT('SRID=4674;POINT (-39.510396 -3.075879)'))) / (select extract(epoch from '2026-07-17 21:21:57'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.510435 -3.075958)', '2026-07-17 21:22:03', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510396 -3.075879)'), GeomFromEWKT('SRID=4674;POINT (-39.510435 -3.075958)'))) / (select extract(epoch from '2026-07-17 21:22:03'::timestamp) - extract(epoch from '2026-07-17 21:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510396 -3.075879)'), GeomFromEWKT('SRID=4674;POINT (-39.510435 -3.075958)'))) / (select extract(epoch from '2026-07-17 21:22:03'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.51044 -3.075974)', '2026-07-17 21:22:04', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510435 -3.075958)'), GeomFromEWKT('SRID=4674;POINT (-39.51044 -3.075974)'))) / (select extract(epoch from '2026-07-17 21:22:04'::timestamp) - extract(epoch from '2026-07-17 21:22:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510435 -3.075958)'), GeomFromEWKT('SRID=4674;POINT (-39.51044 -3.075974)'))) / (select extract(epoch from '2026-07-17 21:22:04'::timestamp) - extract(epoch from '2026-07-17 21:22:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.510453 -3.076025)', '2026-07-17 21:22:08', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51044 -3.075974)'), GeomFromEWKT('SRID=4674;POINT (-39.510453 -3.076025)'))) / (select extract(epoch from '2026-07-17 21:22:08'::timestamp) - extract(epoch from '2026-07-17 21:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51044 -3.075974)'), GeomFromEWKT('SRID=4674;POINT (-39.510453 -3.076025)'))) / (select extract(epoch from '2026-07-17 21:22:08'::timestamp) - extract(epoch from '2026-07-17 21:22:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.510497 -3.07611)', '2026-07-17 21:22:14', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510453 -3.076025)'), GeomFromEWKT('SRID=4674;POINT (-39.510497 -3.07611)'))) / (select extract(epoch from '2026-07-17 21:22:14'::timestamp) - extract(epoch from '2026-07-17 21:22:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510453 -3.076025)'), GeomFromEWKT('SRID=4674;POINT (-39.510497 -3.07611)'))) / (select extract(epoch from '2026-07-17 21:22:14'::timestamp) - extract(epoch from '2026-07-17 21:22: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'), 47917, 'SRID=4674;POINT (-39.510539 -3.076186)', '2026-07-17 21:22:19', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510497 -3.07611)'), GeomFromEWKT('SRID=4674;POINT (-39.510539 -3.076186)'))) / (select extract(epoch from '2026-07-17 21:22:19'::timestamp) - extract(epoch from '2026-07-17 21:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510497 -3.07611)'), GeomFromEWKT('SRID=4674;POINT (-39.510539 -3.076186)'))) / (select extract(epoch from '2026-07-17 21:22:19'::timestamp) - extract(epoch from '2026-07-17 21:22:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.510576 -3.076258)', '2026-07-17 21:22:25', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510539 -3.076186)'), GeomFromEWKT('SRID=4674;POINT (-39.510576 -3.076258)'))) / (select extract(epoch from '2026-07-17 21:22:25'::timestamp) - extract(epoch from '2026-07-17 21:22:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510539 -3.076186)'), GeomFromEWKT('SRID=4674;POINT (-39.510576 -3.076258)'))) / (select extract(epoch from '2026-07-17 21:22:25'::timestamp) - extract(epoch from '2026-07-17 21:22: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'), 47917, 'SRID=4674;POINT (-39.510584 -3.076283)', '2026-07-17 21:22:27', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510576 -3.076258)'), GeomFromEWKT('SRID=4674;POINT (-39.510584 -3.076283)'))) / (select extract(epoch from '2026-07-17 21:22:27'::timestamp) - extract(epoch from '2026-07-17 21:22:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510576 -3.076258)'), GeomFromEWKT('SRID=4674;POINT (-39.510584 -3.076283)'))) / (select extract(epoch from '2026-07-17 21:22:27'::timestamp) - extract(epoch from '2026-07-17 21:22:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.510594 -3.076306)', '2026-07-17 21:22:29', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510584 -3.076283)'), GeomFromEWKT('SRID=4674;POINT (-39.510594 -3.076306)'))) / (select extract(epoch from '2026-07-17 21:22:29'::timestamp) - extract(epoch from '2026-07-17 21:22:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510584 -3.076283)'), GeomFromEWKT('SRID=4674;POINT (-39.510594 -3.076306)'))) / (select extract(epoch from '2026-07-17 21:22:29'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.510601 -3.076316)', '2026-07-17 21:22:30', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510594 -3.076306)'), GeomFromEWKT('SRID=4674;POINT (-39.510601 -3.076316)'))) / (select extract(epoch from '2026-07-17 21:22:30'::timestamp) - extract(epoch from '2026-07-17 21:22:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510594 -3.076306)'), GeomFromEWKT('SRID=4674;POINT (-39.510601 -3.076316)'))) / (select extract(epoch from '2026-07-17 21:22:30'::timestamp) - extract(epoch from '2026-07-17 21:22:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.510617 -3.07637)', '2026-07-17 21:22:34', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510601 -3.076316)'), GeomFromEWKT('SRID=4674;POINT (-39.510617 -3.07637)'))) / (select extract(epoch from '2026-07-17 21:22:34'::timestamp) - extract(epoch from '2026-07-17 21:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510601 -3.076316)'), GeomFromEWKT('SRID=4674;POINT (-39.510617 -3.07637)'))) / (select extract(epoch from '2026-07-17 21:22:34'::timestamp) - extract(epoch from '2026-07-17 21:22: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'), 47917, 'SRID=4674;POINT (-39.510629 -3.076388)', '2026-07-17 21:22:36', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510617 -3.07637)'), GeomFromEWKT('SRID=4674;POINT (-39.510629 -3.076388)'))) / (select extract(epoch from '2026-07-17 21:22:36'::timestamp) - extract(epoch from '2026-07-17 21:22:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510617 -3.07637)'), GeomFromEWKT('SRID=4674;POINT (-39.510629 -3.076388)'))) / (select extract(epoch from '2026-07-17 21:22:36'::timestamp) - extract(epoch from '2026-07-17 21:22: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'), 47917, 'SRID=4674;POINT (-39.510653 -3.076421)', '2026-07-17 21:22:39', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510629 -3.076388)'), GeomFromEWKT('SRID=4674;POINT (-39.510653 -3.076421)'))) / (select extract(epoch from '2026-07-17 21:22:39'::timestamp) - extract(epoch from '2026-07-17 21:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510629 -3.076388)'), GeomFromEWKT('SRID=4674;POINT (-39.510653 -3.076421)'))) / (select extract(epoch from '2026-07-17 21:22:39'::timestamp) - extract(epoch from '2026-07-17 21:22:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.510659 -3.07644)', '2026-07-17 21:22:41', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510653 -3.076421)'), GeomFromEWKT('SRID=4674;POINT (-39.510659 -3.07644)'))) / (select extract(epoch from '2026-07-17 21:22:41'::timestamp) - extract(epoch from '2026-07-17 21:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510653 -3.076421)'), GeomFromEWKT('SRID=4674;POINT (-39.510659 -3.07644)'))) / (select extract(epoch from '2026-07-17 21:22:41'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.510667 -3.076454)', '2026-07-17 21:22:42', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510659 -3.07644)'), GeomFromEWKT('SRID=4674;POINT (-39.510667 -3.076454)'))) / (select extract(epoch from '2026-07-17 21:22:42'::timestamp) - extract(epoch from '2026-07-17 21:22:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510659 -3.07644)'), GeomFromEWKT('SRID=4674;POINT (-39.510667 -3.076454)'))) / (select extract(epoch from '2026-07-17 21:22:42'::timestamp) - extract(epoch from '2026-07-17 21:22: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'), 47917, 'SRID=4674;POINT (-39.510691 -3.0765)', '2026-07-17 21:22:46', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510667 -3.076454)'), GeomFromEWKT('SRID=4674;POINT (-39.510691 -3.0765)'))) / (select extract(epoch from '2026-07-17 21:22:46'::timestamp) - extract(epoch from '2026-07-17 21:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510667 -3.076454)'), GeomFromEWKT('SRID=4674;POINT (-39.510691 -3.0765)'))) / (select extract(epoch from '2026-07-17 21:22:46'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.510734 -3.076588)', '2026-07-17 21:22:53', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510691 -3.0765)'), GeomFromEWKT('SRID=4674;POINT (-39.510734 -3.076588)'))) / (select extract(epoch from '2026-07-17 21:22:53'::timestamp) - extract(epoch from '2026-07-17 21:22:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510691 -3.0765)'), GeomFromEWKT('SRID=4674;POINT (-39.510734 -3.076588)'))) / (select extract(epoch from '2026-07-17 21:22:53'::timestamp) - extract(epoch from '2026-07-17 21:22: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'), 47917, 'SRID=4674;POINT (-39.510754 -3.076659)', '2026-07-17 21:22:58', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510734 -3.076588)'), GeomFromEWKT('SRID=4674;POINT (-39.510754 -3.076659)'))) / (select extract(epoch from '2026-07-17 21:22:58'::timestamp) - extract(epoch from '2026-07-17 21:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510734 -3.076588)'), GeomFromEWKT('SRID=4674;POINT (-39.510754 -3.076659)'))) / (select extract(epoch from '2026-07-17 21:22:58'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.51077 -3.076712)', '2026-07-17 21:23:02', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510754 -3.076659)'), GeomFromEWKT('SRID=4674;POINT (-39.51077 -3.076712)'))) / (select extract(epoch from '2026-07-17 21:23:02'::timestamp) - extract(epoch from '2026-07-17 21:22:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510754 -3.076659)'), GeomFromEWKT('SRID=4674;POINT (-39.51077 -3.076712)'))) / (select extract(epoch from '2026-07-17 21:23:02'::timestamp) - extract(epoch from '2026-07-17 21:22: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'), 47917, 'SRID=4674;POINT (-39.510778 -3.076723)', '2026-07-17 21:23:03', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51077 -3.076712)'), GeomFromEWKT('SRID=4674;POINT (-39.510778 -3.076723)'))) / (select extract(epoch from '2026-07-17 21:23:03'::timestamp) - extract(epoch from '2026-07-17 21:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51077 -3.076712)'), GeomFromEWKT('SRID=4674;POINT (-39.510778 -3.076723)'))) / (select extract(epoch from '2026-07-17 21:23:03'::timestamp) - extract(epoch from '2026-07-17 21:23:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.510817 -3.076792)', '2026-07-17 21:23:09', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510778 -3.076723)'), GeomFromEWKT('SRID=4674;POINT (-39.510817 -3.076792)'))) / (select extract(epoch from '2026-07-17 21:23:09'::timestamp) - extract(epoch from '2026-07-17 21:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510778 -3.076723)'), GeomFromEWKT('SRID=4674;POINT (-39.510817 -3.076792)'))) / (select extract(epoch from '2026-07-17 21:23:09'::timestamp) - extract(epoch from '2026-07-17 21:23:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.510857 -3.076882)', '2026-07-17 21:23:15', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510817 -3.076792)'), GeomFromEWKT('SRID=4674;POINT (-39.510857 -3.076882)'))) / (select extract(epoch from '2026-07-17 21:23:15'::timestamp) - extract(epoch from '2026-07-17 21:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510817 -3.076792)'), GeomFromEWKT('SRID=4674;POINT (-39.510857 -3.076882)'))) / (select extract(epoch from '2026-07-17 21:23:15'::timestamp) - extract(epoch from '2026-07-17 21:23:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.510905 -3.076963)', '2026-07-17 21:23:21', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510857 -3.076882)'), GeomFromEWKT('SRID=4674;POINT (-39.510905 -3.076963)'))) / (select extract(epoch from '2026-07-17 21:23:21'::timestamp) - extract(epoch from '2026-07-17 21:23:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510857 -3.076882)'), GeomFromEWKT('SRID=4674;POINT (-39.510905 -3.076963)'))) / (select extract(epoch from '2026-07-17 21:23:21'::timestamp) - extract(epoch from '2026-07-17 21:23:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.510938 -3.077034)', '2026-07-17 21:23:27', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510905 -3.076963)'), GeomFromEWKT('SRID=4674;POINT (-39.510938 -3.077034)'))) / (select extract(epoch from '2026-07-17 21:23:27'::timestamp) - extract(epoch from '2026-07-17 21:23:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510905 -3.076963)'), GeomFromEWKT('SRID=4674;POINT (-39.510938 -3.077034)'))) / (select extract(epoch from '2026-07-17 21:23:27'::timestamp) - extract(epoch from '2026-07-17 21:23:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.510976 -3.077115)', '2026-07-17 21:23:33', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510938 -3.077034)'), GeomFromEWKT('SRID=4674;POINT (-39.510976 -3.077115)'))) / (select extract(epoch from '2026-07-17 21:23:33'::timestamp) - extract(epoch from '2026-07-17 21:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510938 -3.077034)'), GeomFromEWKT('SRID=4674;POINT (-39.510976 -3.077115)'))) / (select extract(epoch from '2026-07-17 21:23:33'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.511027 -3.077205)', '2026-07-17 21:23:40', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510976 -3.077115)'), GeomFromEWKT('SRID=4674;POINT (-39.511027 -3.077205)'))) / (select extract(epoch from '2026-07-17 21:23:40'::timestamp) - extract(epoch from '2026-07-17 21:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.510976 -3.077115)'), GeomFromEWKT('SRID=4674;POINT (-39.511027 -3.077205)'))) / (select extract(epoch from '2026-07-17 21:23:40'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.511079 -3.077277)', '2026-07-17 21:23:46', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511027 -3.077205)'), GeomFromEWKT('SRID=4674;POINT (-39.511079 -3.077277)'))) / (select extract(epoch from '2026-07-17 21:23:46'::timestamp) - extract(epoch from '2026-07-17 21:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511027 -3.077205)'), GeomFromEWKT('SRID=4674;POINT (-39.511079 -3.077277)'))) / (select extract(epoch from '2026-07-17 21:23:46'::timestamp) - extract(epoch from '2026-07-17 21:23:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.511096 -3.0773)', '2026-07-17 21:23:48', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511079 -3.077277)'), GeomFromEWKT('SRID=4674;POINT (-39.511096 -3.0773)'))) / (select extract(epoch from '2026-07-17 21:23:48'::timestamp) - extract(epoch from '2026-07-17 21:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511079 -3.077277)'), GeomFromEWKT('SRID=4674;POINT (-39.511096 -3.0773)'))) / (select extract(epoch from '2026-07-17 21:23:48'::timestamp) - extract(epoch from '2026-07-17 21:23: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'), 47917, 'SRID=4674;POINT (-39.511137 -3.077351)', '2026-07-17 21:23:52', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511096 -3.0773)'), GeomFromEWKT('SRID=4674;POINT (-39.511137 -3.077351)'))) / (select extract(epoch from '2026-07-17 21:23:52'::timestamp) - extract(epoch from '2026-07-17 21:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511096 -3.0773)'), GeomFromEWKT('SRID=4674;POINT (-39.511137 -3.077351)'))) / (select extract(epoch from '2026-07-17 21:23:52'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.511169 -3.077418)', '2026-07-17 21:23:57', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511137 -3.077351)'), GeomFromEWKT('SRID=4674;POINT (-39.511169 -3.077418)'))) / (select extract(epoch from '2026-07-17 21:23:57'::timestamp) - extract(epoch from '2026-07-17 21:23:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511137 -3.077351)'), GeomFromEWKT('SRID=4674;POINT (-39.511169 -3.077418)'))) / (select extract(epoch from '2026-07-17 21:23:57'::timestamp) - extract(epoch from '2026-07-17 21:23: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'), 47917, 'SRID=4674;POINT (-39.511212 -3.077466)', '2026-07-17 21:24:01', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511169 -3.077418)'), GeomFromEWKT('SRID=4674;POINT (-39.511212 -3.077466)'))) / (select extract(epoch from '2026-07-17 21:24:01'::timestamp) - extract(epoch from '2026-07-17 21:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511169 -3.077418)'), GeomFromEWKT('SRID=4674;POINT (-39.511212 -3.077466)'))) / (select extract(epoch from '2026-07-17 21:24:01'::timestamp) - extract(epoch from '2026-07-17 21:23:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.511247 -3.077545)', '2026-07-17 21:24:07', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511212 -3.077466)'), GeomFromEWKT('SRID=4674;POINT (-39.511247 -3.077545)'))) / (select extract(epoch from '2026-07-17 21:24:07'::timestamp) - extract(epoch from '2026-07-17 21:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511212 -3.077466)'), GeomFromEWKT('SRID=4674;POINT (-39.511247 -3.077545)'))) / (select extract(epoch from '2026-07-17 21:24:07'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.511247 -3.077568)', '2026-07-17 21:24:09', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511247 -3.077545)'), GeomFromEWKT('SRID=4674;POINT (-39.511247 -3.077568)'))) / (select extract(epoch from '2026-07-17 21:24:09'::timestamp) - extract(epoch from '2026-07-17 21:24:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511247 -3.077545)'), GeomFromEWKT('SRID=4674;POINT (-39.511247 -3.077568)'))) / (select extract(epoch from '2026-07-17 21:24:09'::timestamp) - extract(epoch from '2026-07-17 21:24:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.511281 -3.077615)', '2026-07-17 21:24:12', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511247 -3.077568)'), GeomFromEWKT('SRID=4674;POINT (-39.511281 -3.077615)'))) / (select extract(epoch from '2026-07-17 21:24:12'::timestamp) - extract(epoch from '2026-07-17 21:24:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511247 -3.077568)'), GeomFromEWKT('SRID=4674;POINT (-39.511281 -3.077615)'))) / (select extract(epoch from '2026-07-17 21:24:12'::timestamp) - extract(epoch from '2026-07-17 21:24: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'), 47917, 'SRID=4674;POINT (-39.511285 -3.077644)', '2026-07-17 21:24:14', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511281 -3.077615)'), GeomFromEWKT('SRID=4674;POINT (-39.511285 -3.077644)'))) / (select extract(epoch from '2026-07-17 21:24:14'::timestamp) - extract(epoch from '2026-07-17 21:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511281 -3.077615)'), GeomFromEWKT('SRID=4674;POINT (-39.511285 -3.077644)'))) / (select extract(epoch from '2026-07-17 21:24:14'::timestamp) - extract(epoch from '2026-07-17 21:24: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'), 47917, 'SRID=4674;POINT (-39.511308 -3.077679)', '2026-07-17 21:24:17', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511285 -3.077644)'), GeomFromEWKT('SRID=4674;POINT (-39.511308 -3.077679)'))) / (select extract(epoch from '2026-07-17 21:24:17'::timestamp) - extract(epoch from '2026-07-17 21:24:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511285 -3.077644)'), GeomFromEWKT('SRID=4674;POINT (-39.511308 -3.077679)'))) / (select extract(epoch from '2026-07-17 21:24:17'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.511327 -3.077705)', '2026-07-17 21:24:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511308 -3.077679)'), GeomFromEWKT('SRID=4674;POINT (-39.511327 -3.077705)'))) / (select extract(epoch from '2026-07-17 21:24:19'::timestamp) - extract(epoch from '2026-07-17 21:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511308 -3.077679)'), GeomFromEWKT('SRID=4674;POINT (-39.511327 -3.077705)'))) / (select extract(epoch from '2026-07-17 21:24:19'::timestamp) - extract(epoch from '2026-07-17 21:24:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.511352 -3.077744)', '2026-07-17 21:24:22', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511327 -3.077705)'), GeomFromEWKT('SRID=4674;POINT (-39.511352 -3.077744)'))) / (select extract(epoch from '2026-07-17 21:24:22'::timestamp) - extract(epoch from '2026-07-17 21:24:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511327 -3.077705)'), GeomFromEWKT('SRID=4674;POINT (-39.511352 -3.077744)'))) / (select extract(epoch from '2026-07-17 21:24:22'::timestamp) - extract(epoch from '2026-07-17 21:24: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'), 47917, 'SRID=4674;POINT (-39.511371 -3.077797)', '2026-07-17 21:24:26', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511352 -3.077744)'), GeomFromEWKT('SRID=4674;POINT (-39.511371 -3.077797)'))) / (select extract(epoch from '2026-07-17 21:24:26'::timestamp) - extract(epoch from '2026-07-17 21:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511352 -3.077744)'), GeomFromEWKT('SRID=4674;POINT (-39.511371 -3.077797)'))) / (select extract(epoch from '2026-07-17 21:24:26'::timestamp) - extract(epoch from '2026-07-17 21:24:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.511377 -3.077805)', '2026-07-17 21:24:27', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511371 -3.077797)'), GeomFromEWKT('SRID=4674;POINT (-39.511377 -3.077805)'))) / (select extract(epoch from '2026-07-17 21:24:27'::timestamp) - extract(epoch from '2026-07-17 21:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511371 -3.077797)'), GeomFromEWKT('SRID=4674;POINT (-39.511377 -3.077805)'))) / (select extract(epoch from '2026-07-17 21:24:27'::timestamp) - extract(epoch from '2026-07-17 21:24:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.511384 -3.077818)', '2026-07-17 21:24:28', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511377 -3.077805)'), GeomFromEWKT('SRID=4674;POINT (-39.511384 -3.077818)'))) / (select extract(epoch from '2026-07-17 21:24:28'::timestamp) - extract(epoch from '2026-07-17 21:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511377 -3.077805)'), GeomFromEWKT('SRID=4674;POINT (-39.511384 -3.077818)'))) / (select extract(epoch from '2026-07-17 21:24:28'::timestamp) - extract(epoch from '2026-07-17 21:24:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.511395 -3.077849)', '2026-07-17 21:24:30', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511384 -3.077818)'), GeomFromEWKT('SRID=4674;POINT (-39.511395 -3.077849)'))) / (select extract(epoch from '2026-07-17 21:24:30'::timestamp) - extract(epoch from '2026-07-17 21:24:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511384 -3.077818)'), GeomFromEWKT('SRID=4674;POINT (-39.511395 -3.077849)'))) / (select extract(epoch from '2026-07-17 21:24:30'::timestamp) - extract(epoch from '2026-07-17 21:24: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'), 47917, 'SRID=4674;POINT (-39.51142 -3.077878)', '2026-07-17 21:24:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511395 -3.077849)'), GeomFromEWKT('SRID=4674;POINT (-39.51142 -3.077878)'))) / (select extract(epoch from '2026-07-17 21:24:32'::timestamp) - extract(epoch from '2026-07-17 21:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511395 -3.077849)'), GeomFromEWKT('SRID=4674;POINT (-39.51142 -3.077878)'))) / (select extract(epoch from '2026-07-17 21:24:32'::timestamp) - extract(epoch from '2026-07-17 21:24:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.511458 -3.077941)', '2026-07-17 21:24:37', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51142 -3.077878)'), GeomFromEWKT('SRID=4674;POINT (-39.511458 -3.077941)'))) / (select extract(epoch from '2026-07-17 21:24:37'::timestamp) - extract(epoch from '2026-07-17 21:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51142 -3.077878)'), GeomFromEWKT('SRID=4674;POINT (-39.511458 -3.077941)'))) / (select extract(epoch from '2026-07-17 21:24:37'::timestamp) - extract(epoch from '2026-07-17 21:24: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'), 47917, 'SRID=4674;POINT (-39.511487 -3.078017)', '2026-07-17 21:24:43', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511458 -3.077941)'), GeomFromEWKT('SRID=4674;POINT (-39.511487 -3.078017)'))) / (select extract(epoch from '2026-07-17 21:24:43'::timestamp) - extract(epoch from '2026-07-17 21:24:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511458 -3.077941)'), GeomFromEWKT('SRID=4674;POINT (-39.511487 -3.078017)'))) / (select extract(epoch from '2026-07-17 21:24:43'::timestamp) - extract(epoch from '2026-07-17 21:24: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'), 47917, 'SRID=4674;POINT (-39.51152 -3.078097)', '2026-07-17 21:24:49', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511487 -3.078017)'), GeomFromEWKT('SRID=4674;POINT (-39.51152 -3.078097)'))) / (select extract(epoch from '2026-07-17 21:24:49'::timestamp) - extract(epoch from '2026-07-17 21:24:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511487 -3.078017)'), GeomFromEWKT('SRID=4674;POINT (-39.51152 -3.078097)'))) / (select extract(epoch from '2026-07-17 21:24:49'::timestamp) - extract(epoch from '2026-07-17 21:24: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'), 47917, 'SRID=4674;POINT (-39.511525 -3.078112)', '2026-07-17 21:24:50', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51152 -3.078097)'), GeomFromEWKT('SRID=4674;POINT (-39.511525 -3.078112)'))) / (select extract(epoch from '2026-07-17 21:24:50'::timestamp) - extract(epoch from '2026-07-17 21:24:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51152 -3.078097)'), GeomFromEWKT('SRID=4674;POINT (-39.511525 -3.078112)'))) / (select extract(epoch from '2026-07-17 21:24:50'::timestamp) - extract(epoch from '2026-07-17 21:24:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.511548 -3.078168)', '2026-07-17 21:24:54', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511525 -3.078112)'), GeomFromEWKT('SRID=4674;POINT (-39.511548 -3.078168)'))) / (select extract(epoch from '2026-07-17 21:24:54'::timestamp) - extract(epoch from '2026-07-17 21:24:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511525 -3.078112)'), GeomFromEWKT('SRID=4674;POINT (-39.511548 -3.078168)'))) / (select extract(epoch from '2026-07-17 21:24:54'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.511555 -3.078191)', '2026-07-17 21:24:56', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511548 -3.078168)'), GeomFromEWKT('SRID=4674;POINT (-39.511555 -3.078191)'))) / (select extract(epoch from '2026-07-17 21:24:56'::timestamp) - extract(epoch from '2026-07-17 21:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511548 -3.078168)'), GeomFromEWKT('SRID=4674;POINT (-39.511555 -3.078191)'))) / (select extract(epoch from '2026-07-17 21:24:56'::timestamp) - extract(epoch from '2026-07-17 21:24:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.511565 -3.078223)', '2026-07-17 21:24:58', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511555 -3.078191)'), GeomFromEWKT('SRID=4674;POINT (-39.511565 -3.078223)'))) / (select extract(epoch from '2026-07-17 21:24:58'::timestamp) - extract(epoch from '2026-07-17 21:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511555 -3.078191)'), GeomFromEWKT('SRID=4674;POINT (-39.511565 -3.078223)'))) / (select extract(epoch from '2026-07-17 21:24:58'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.511573 -3.078234)', '2026-07-17 21:24:59', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511565 -3.078223)'), GeomFromEWKT('SRID=4674;POINT (-39.511573 -3.078234)'))) / (select extract(epoch from '2026-07-17 21:24:59'::timestamp) - extract(epoch from '2026-07-17 21:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511565 -3.078223)'), GeomFromEWKT('SRID=4674;POINT (-39.511573 -3.078234)'))) / (select extract(epoch from '2026-07-17 21:24:59'::timestamp) - extract(epoch from '2026-07-17 21:24: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'), 47917, 'SRID=4674;POINT (-39.511623 -3.07834)', '2026-07-17 21:25:07', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511573 -3.078234)'), GeomFromEWKT('SRID=4674;POINT (-39.511623 -3.07834)'))) / (select extract(epoch from '2026-07-17 21:25:07'::timestamp) - extract(epoch from '2026-07-17 21:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511573 -3.078234)'), GeomFromEWKT('SRID=4674;POINT (-39.511623 -3.07834)'))) / (select extract(epoch from '2026-07-17 21:25:07'::timestamp) - extract(epoch from '2026-07-17 21:24: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'), 47917, 'SRID=4674;POINT (-39.511657 -3.078401)', '2026-07-17 21:25:12', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511623 -3.07834)'), GeomFromEWKT('SRID=4674;POINT (-39.511657 -3.078401)'))) / (select extract(epoch from '2026-07-17 21:25:12'::timestamp) - extract(epoch from '2026-07-17 21:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511623 -3.07834)'), GeomFromEWKT('SRID=4674;POINT (-39.511657 -3.078401)'))) / (select extract(epoch from '2026-07-17 21:25:12'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.511696 -3.078477)', '2026-07-17 21:25:18', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511657 -3.078401)'), GeomFromEWKT('SRID=4674;POINT (-39.511696 -3.078477)'))) / (select extract(epoch from '2026-07-17 21:25:18'::timestamp) - extract(epoch from '2026-07-17 21:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511657 -3.078401)'), GeomFromEWKT('SRID=4674;POINT (-39.511696 -3.078477)'))) / (select extract(epoch from '2026-07-17 21:25:18'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.511733 -3.078551)', '2026-07-17 21:25:23', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511696 -3.078477)'), GeomFromEWKT('SRID=4674;POINT (-39.511733 -3.078551)'))) / (select extract(epoch from '2026-07-17 21:25:23'::timestamp) - extract(epoch from '2026-07-17 21:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511696 -3.078477)'), GeomFromEWKT('SRID=4674;POINT (-39.511733 -3.078551)'))) / (select extract(epoch from '2026-07-17 21:25:23'::timestamp) - extract(epoch from '2026-07-17 21:25: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'), 47917, 'SRID=4674;POINT (-39.511748 -3.078572)', '2026-07-17 21:25:25', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511733 -3.078551)'), GeomFromEWKT('SRID=4674;POINT (-39.511748 -3.078572)'))) / (select extract(epoch from '2026-07-17 21:25:25'::timestamp) - extract(epoch from '2026-07-17 21:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511733 -3.078551)'), GeomFromEWKT('SRID=4674;POINT (-39.511748 -3.078572)'))) / (select extract(epoch from '2026-07-17 21:25:25'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.511777 -3.07861)', '2026-07-17 21:25:28', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511748 -3.078572)'), GeomFromEWKT('SRID=4674;POINT (-39.511777 -3.07861)'))) / (select extract(epoch from '2026-07-17 21:25:28'::timestamp) - extract(epoch from '2026-07-17 21:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511748 -3.078572)'), GeomFromEWKT('SRID=4674;POINT (-39.511777 -3.07861)'))) / (select extract(epoch from '2026-07-17 21:25:28'::timestamp) - extract(epoch from '2026-07-17 21:25:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.51179 -3.078648)', '2026-07-17 21:25:31', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511777 -3.07861)'), GeomFromEWKT('SRID=4674;POINT (-39.51179 -3.078648)'))) / (select extract(epoch from '2026-07-17 21:25:31'::timestamp) - extract(epoch from '2026-07-17 21:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511777 -3.07861)'), GeomFromEWKT('SRID=4674;POINT (-39.51179 -3.078648)'))) / (select extract(epoch from '2026-07-17 21:25:31'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.511811 -3.078674)', '2026-07-17 21:25:33', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51179 -3.078648)'), GeomFromEWKT('SRID=4674;POINT (-39.511811 -3.078674)'))) / (select extract(epoch from '2026-07-17 21:25:33'::timestamp) - extract(epoch from '2026-07-17 21:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51179 -3.078648)'), GeomFromEWKT('SRID=4674;POINT (-39.511811 -3.078674)'))) / (select extract(epoch from '2026-07-17 21:25:33'::timestamp) - extract(epoch from '2026-07-17 21:25:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.511811 -3.078686)', '2026-07-17 21:25:34', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511811 -3.078674)'), GeomFromEWKT('SRID=4674;POINT (-39.511811 -3.078686)'))) / (select extract(epoch from '2026-07-17 21:25:34'::timestamp) - extract(epoch from '2026-07-17 21:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511811 -3.078674)'), GeomFromEWKT('SRID=4674;POINT (-39.511811 -3.078686)'))) / (select extract(epoch from '2026-07-17 21:25:34'::timestamp) - extract(epoch from '2026-07-17 21:25: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'), 47917, 'SRID=4674;POINT (-39.511822 -3.078727)', '2026-07-17 21:25:37', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511811 -3.078686)'), GeomFromEWKT('SRID=4674;POINT (-39.511822 -3.078727)'))) / (select extract(epoch from '2026-07-17 21:25:37'::timestamp) - extract(epoch from '2026-07-17 21:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511811 -3.078686)'), GeomFromEWKT('SRID=4674;POINT (-39.511822 -3.078727)'))) / (select extract(epoch from '2026-07-17 21:25:37'::timestamp) - extract(epoch from '2026-07-17 21:25: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'), 47917, 'SRID=4674;POINT (-39.511844 -3.078775)', '2026-07-17 21:25:41', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511822 -3.078727)'), GeomFromEWKT('SRID=4674;POINT (-39.511844 -3.078775)'))) / (select extract(epoch from '2026-07-17 21:25:41'::timestamp) - extract(epoch from '2026-07-17 21:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511822 -3.078727)'), GeomFromEWKT('SRID=4674;POINT (-39.511844 -3.078775)'))) / (select extract(epoch from '2026-07-17 21:25:41'::timestamp) - extract(epoch from '2026-07-17 21:25:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.511853 -3.078787)', '2026-07-17 21:25:42', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511844 -3.078775)'), GeomFromEWKT('SRID=4674;POINT (-39.511853 -3.078787)'))) / (select extract(epoch from '2026-07-17 21:25:42'::timestamp) - extract(epoch from '2026-07-17 21:25:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511844 -3.078775)'), GeomFromEWKT('SRID=4674;POINT (-39.511853 -3.078787)'))) / (select extract(epoch from '2026-07-17 21:25:42'::timestamp) - extract(epoch from '2026-07-17 21:25: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'), 47917, 'SRID=4674;POINT (-39.511889 -3.078874)', '2026-07-17 21:25:48', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511853 -3.078787)'), GeomFromEWKT('SRID=4674;POINT (-39.511889 -3.078874)'))) / (select extract(epoch from '2026-07-17 21:25:48'::timestamp) - extract(epoch from '2026-07-17 21:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511853 -3.078787)'), GeomFromEWKT('SRID=4674;POINT (-39.511889 -3.078874)'))) / (select extract(epoch from '2026-07-17 21:25:48'::timestamp) - extract(epoch from '2026-07-17 21:25:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.511912 -3.078956)', '2026-07-17 21:25:54', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511889 -3.078874)'), GeomFromEWKT('SRID=4674;POINT (-39.511912 -3.078956)'))) / (select extract(epoch from '2026-07-17 21:25:54'::timestamp) - extract(epoch from '2026-07-17 21:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511889 -3.078874)'), GeomFromEWKT('SRID=4674;POINT (-39.511912 -3.078956)'))) / (select extract(epoch from '2026-07-17 21:25:54'::timestamp) - extract(epoch from '2026-07-17 21:25:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.511956 -3.079039)', '2026-07-17 21:26:00', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511912 -3.078956)'), GeomFromEWKT('SRID=4674;POINT (-39.511956 -3.079039)'))) / (select extract(epoch from '2026-07-17 21:26:00'::timestamp) - extract(epoch from '2026-07-17 21:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511912 -3.078956)'), GeomFromEWKT('SRID=4674;POINT (-39.511956 -3.079039)'))) / (select extract(epoch from '2026-07-17 21:26:00'::timestamp) - extract(epoch from '2026-07-17 21:25:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.511996 -3.079104)', '2026-07-17 21:26:05', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511956 -3.079039)'), GeomFromEWKT('SRID=4674;POINT (-39.511996 -3.079104)'))) / (select extract(epoch from '2026-07-17 21:26:05'::timestamp) - extract(epoch from '2026-07-17 21:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511956 -3.079039)'), GeomFromEWKT('SRID=4674;POINT (-39.511996 -3.079104)'))) / (select extract(epoch from '2026-07-17 21:26:05'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.512019 -3.079194)', '2026-07-17 21:26:12', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511996 -3.079104)'), GeomFromEWKT('SRID=4674;POINT (-39.512019 -3.079194)'))) / (select extract(epoch from '2026-07-17 21:26:12'::timestamp) - extract(epoch from '2026-07-17 21:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.511996 -3.079104)'), GeomFromEWKT('SRID=4674;POINT (-39.512019 -3.079194)'))) / (select extract(epoch from '2026-07-17 21:26:12'::timestamp) - extract(epoch from '2026-07-17 21:26:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.512056 -3.079282)', '2026-07-17 21:26:19', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512019 -3.079194)'), GeomFromEWKT('SRID=4674;POINT (-39.512056 -3.079282)'))) / (select extract(epoch from '2026-07-17 21:26:19'::timestamp) - extract(epoch from '2026-07-17 21:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512019 -3.079194)'), GeomFromEWKT('SRID=4674;POINT (-39.512056 -3.079282)'))) / (select extract(epoch from '2026-07-17 21:26:19'::timestamp) - extract(epoch from '2026-07-17 21:26:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.512077 -3.079348)', '2026-07-17 21:26:24', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512056 -3.079282)'), GeomFromEWKT('SRID=4674;POINT (-39.512077 -3.079348)'))) / (select extract(epoch from '2026-07-17 21:26:24'::timestamp) - extract(epoch from '2026-07-17 21:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512056 -3.079282)'), GeomFromEWKT('SRID=4674;POINT (-39.512077 -3.079348)'))) / (select extract(epoch from '2026-07-17 21:26:24'::timestamp) - extract(epoch from '2026-07-17 21:26:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.512107 -3.079421)', '2026-07-17 21:26:29', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512077 -3.079348)'), GeomFromEWKT('SRID=4674;POINT (-39.512107 -3.079421)'))) / (select extract(epoch from '2026-07-17 21:26:29'::timestamp) - extract(epoch from '2026-07-17 21:26:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512077 -3.079348)'), GeomFromEWKT('SRID=4674;POINT (-39.512107 -3.079421)'))) / (select extract(epoch from '2026-07-17 21:26:29'::timestamp) - extract(epoch from '2026-07-17 21:26: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'), 47917, 'SRID=4674;POINT (-39.512106 -3.079442)', '2026-07-17 21:26:31', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512107 -3.079421)'), GeomFromEWKT('SRID=4674;POINT (-39.512106 -3.079442)'))) / (select extract(epoch from '2026-07-17 21:26:31'::timestamp) - extract(epoch from '2026-07-17 21:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512107 -3.079421)'), GeomFromEWKT('SRID=4674;POINT (-39.512106 -3.079442)'))) / (select extract(epoch from '2026-07-17 21:26:31'::timestamp) - extract(epoch from '2026-07-17 21:26:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.512133 -3.079489)', '2026-07-17 21:26:34', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512106 -3.079442)'), GeomFromEWKT('SRID=4674;POINT (-39.512133 -3.079489)'))) / (select extract(epoch from '2026-07-17 21:26:34'::timestamp) - extract(epoch from '2026-07-17 21:26:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512106 -3.079442)'), GeomFromEWKT('SRID=4674;POINT (-39.512133 -3.079489)'))) / (select extract(epoch from '2026-07-17 21:26:34'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.512174 -3.079569)', '2026-07-17 21:26:40', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512133 -3.079489)'), GeomFromEWKT('SRID=4674;POINT (-39.512174 -3.079569)'))) / (select extract(epoch from '2026-07-17 21:26:40'::timestamp) - extract(epoch from '2026-07-17 21:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512133 -3.079489)'), GeomFromEWKT('SRID=4674;POINT (-39.512174 -3.079569)'))) / (select extract(epoch from '2026-07-17 21:26:40'::timestamp) - extract(epoch from '2026-07-17 21:26: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'), 47917, 'SRID=4674;POINT (-39.512207 -3.079657)', '2026-07-17 21:26:46', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512174 -3.079569)'), GeomFromEWKT('SRID=4674;POINT (-39.512207 -3.079657)'))) / (select extract(epoch from '2026-07-17 21:26:46'::timestamp) - extract(epoch from '2026-07-17 21:26:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512174 -3.079569)'), GeomFromEWKT('SRID=4674;POINT (-39.512207 -3.079657)'))) / (select extract(epoch from '2026-07-17 21:26:46'::timestamp) - extract(epoch from '2026-07-17 21:26: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'), 47917, 'SRID=4674;POINT (-39.512228 -3.079735)', '2026-07-17 21:26:51', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512207 -3.079657)'), GeomFromEWKT('SRID=4674;POINT (-39.512228 -3.079735)'))) / (select extract(epoch from '2026-07-17 21:26:51'::timestamp) - extract(epoch from '2026-07-17 21:26:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512207 -3.079657)'), GeomFromEWKT('SRID=4674;POINT (-39.512228 -3.079735)'))) / (select extract(epoch from '2026-07-17 21:26:51'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.512254 -3.079813)', '2026-07-17 21:26:57', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512228 -3.079735)'), GeomFromEWKT('SRID=4674;POINT (-39.512254 -3.079813)'))) / (select extract(epoch from '2026-07-17 21:26:57'::timestamp) - extract(epoch from '2026-07-17 21:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512228 -3.079735)'), GeomFromEWKT('SRID=4674;POINT (-39.512254 -3.079813)'))) / (select extract(epoch from '2026-07-17 21:26:57'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.512256 -3.079825)', '2026-07-17 21:26:58', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512254 -3.079813)'), GeomFromEWKT('SRID=4674;POINT (-39.512256 -3.079825)'))) / (select extract(epoch from '2026-07-17 21:26:58'::timestamp) - extract(epoch from '2026-07-17 21:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512254 -3.079813)'), GeomFromEWKT('SRID=4674;POINT (-39.512256 -3.079825)'))) / (select extract(epoch from '2026-07-17 21:26:58'::timestamp) - extract(epoch from '2026-07-17 21:26: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'), 47917, 'SRID=4674;POINT (-39.512284 -3.079895)', '2026-07-17 21:27:03', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512256 -3.079825)'), GeomFromEWKT('SRID=4674;POINT (-39.512284 -3.079895)'))) / (select extract(epoch from '2026-07-17 21:27:03'::timestamp) - extract(epoch from '2026-07-17 21:26:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512256 -3.079825)'), GeomFromEWKT('SRID=4674;POINT (-39.512284 -3.079895)'))) / (select extract(epoch from '2026-07-17 21:27:03'::timestamp) - extract(epoch from '2026-07-17 21:26:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.512287 -3.079909)', '2026-07-17 21:27:04', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512284 -3.079895)'), GeomFromEWKT('SRID=4674;POINT (-39.512287 -3.079909)'))) / (select extract(epoch from '2026-07-17 21:27:04'::timestamp) - extract(epoch from '2026-07-17 21:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512284 -3.079895)'), GeomFromEWKT('SRID=4674;POINT (-39.512287 -3.079909)'))) / (select extract(epoch from '2026-07-17 21:27:04'::timestamp) - extract(epoch from '2026-07-17 21:27: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'), 47917, 'SRID=4674;POINT (-39.512295 -3.07994)', '2026-07-17 21:27:06', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512287 -3.079909)'), GeomFromEWKT('SRID=4674;POINT (-39.512295 -3.07994)'))) / (select extract(epoch from '2026-07-17 21:27:06'::timestamp) - extract(epoch from '2026-07-17 21:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512287 -3.079909)'), GeomFromEWKT('SRID=4674;POINT (-39.512295 -3.07994)'))) / (select extract(epoch from '2026-07-17 21:27:06'::timestamp) - extract(epoch from '2026-07-17 21:27: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'), 47917, 'SRID=4674;POINT (-39.512307 -3.07997)', '2026-07-17 21:27:08', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512295 -3.07994)'), GeomFromEWKT('SRID=4674;POINT (-39.512307 -3.07997)'))) / (select extract(epoch from '2026-07-17 21:27:08'::timestamp) - extract(epoch from '2026-07-17 21:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512295 -3.07994)'), GeomFromEWKT('SRID=4674;POINT (-39.512307 -3.07997)'))) / (select extract(epoch from '2026-07-17 21:27:08'::timestamp) - extract(epoch from '2026-07-17 21:27:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.512329 -3.080052)', '2026-07-17 21:27:14', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512307 -3.07997)'), GeomFromEWKT('SRID=4674;POINT (-39.512329 -3.080052)'))) / (select extract(epoch from '2026-07-17 21:27:14'::timestamp) - extract(epoch from '2026-07-17 21:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512307 -3.07997)'), GeomFromEWKT('SRID=4674;POINT (-39.512329 -3.080052)'))) / (select extract(epoch from '2026-07-17 21:27:14'::timestamp) - extract(epoch from '2026-07-17 21:27: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'), 47917, 'SRID=4674;POINT (-39.512341 -3.080071)', '2026-07-17 21:27:16', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512329 -3.080052)'), GeomFromEWKT('SRID=4674;POINT (-39.512341 -3.080071)'))) / (select extract(epoch from '2026-07-17 21:27:16'::timestamp) - extract(epoch from '2026-07-17 21:27:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512329 -3.080052)'), GeomFromEWKT('SRID=4674;POINT (-39.512341 -3.080071)'))) / (select extract(epoch from '2026-07-17 21:27:16'::timestamp) - extract(epoch from '2026-07-17 21:27:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.512372 -3.080119)', '2026-07-17 21:27:20', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512341 -3.080071)'), GeomFromEWKT('SRID=4674;POINT (-39.512372 -3.080119)'))) / (select extract(epoch from '2026-07-17 21:27:20'::timestamp) - extract(epoch from '2026-07-17 21:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512341 -3.080071)'), GeomFromEWKT('SRID=4674;POINT (-39.512372 -3.080119)'))) / (select extract(epoch from '2026-07-17 21:27:20'::timestamp) - extract(epoch from '2026-07-17 21:27:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.512419 -3.080224)', '2026-07-17 21:27:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512372 -3.080119)'), GeomFromEWKT('SRID=4674;POINT (-39.512419 -3.080224)'))) / (select extract(epoch from '2026-07-17 21:27:28'::timestamp) - extract(epoch from '2026-07-17 21:27:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512372 -3.080119)'), GeomFromEWKT('SRID=4674;POINT (-39.512419 -3.080224)'))) / (select extract(epoch from '2026-07-17 21:27:28'::timestamp) - extract(epoch from '2026-07-17 21:27: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'), 47917, 'SRID=4674;POINT (-39.512428 -3.080238)', '2026-07-17 21:27:29', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512419 -3.080224)'), GeomFromEWKT('SRID=4674;POINT (-39.512428 -3.080238)'))) / (select extract(epoch from '2026-07-17 21:27:29'::timestamp) - extract(epoch from '2026-07-17 21:27:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512419 -3.080224)'), GeomFromEWKT('SRID=4674;POINT (-39.512428 -3.080238)'))) / (select extract(epoch from '2026-07-17 21:27:29'::timestamp) - extract(epoch from '2026-07-17 21:27: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'), 47917, 'SRID=4674;POINT (-39.512448 -3.08026)', '2026-07-17 21:27:31', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512428 -3.080238)'), GeomFromEWKT('SRID=4674;POINT (-39.512448 -3.08026)'))) / (select extract(epoch from '2026-07-17 21:27:31'::timestamp) - extract(epoch from '2026-07-17 21:27:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512428 -3.080238)'), GeomFromEWKT('SRID=4674;POINT (-39.512448 -3.08026)'))) / (select extract(epoch from '2026-07-17 21:27:31'::timestamp) - extract(epoch from '2026-07-17 21:27:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.512458 -3.080283)', '2026-07-17 21:27:33', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512448 -3.08026)'), GeomFromEWKT('SRID=4674;POINT (-39.512458 -3.080283)'))) / (select extract(epoch from '2026-07-17 21:27:33'::timestamp) - extract(epoch from '2026-07-17 21:27:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512448 -3.08026)'), GeomFromEWKT('SRID=4674;POINT (-39.512458 -3.080283)'))) / (select extract(epoch from '2026-07-17 21:27:33'::timestamp) - extract(epoch from '2026-07-17 21:27:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.512472 -3.080323)', '2026-07-17 21:27:36', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512458 -3.080283)'), GeomFromEWKT('SRID=4674;POINT (-39.512472 -3.080323)'))) / (select extract(epoch from '2026-07-17 21:27:36'::timestamp) - extract(epoch from '2026-07-17 21:27:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512458 -3.080283)'), GeomFromEWKT('SRID=4674;POINT (-39.512472 -3.080323)'))) / (select extract(epoch from '2026-07-17 21:27:36'::timestamp) - extract(epoch from '2026-07-17 21:27: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'), 47917, 'SRID=4674;POINT (-39.512499 -3.080351)', '2026-07-17 21:27:38', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512472 -3.080323)'), GeomFromEWKT('SRID=4674;POINT (-39.512499 -3.080351)'))) / (select extract(epoch from '2026-07-17 21:27:38'::timestamp) - extract(epoch from '2026-07-17 21:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512472 -3.080323)'), GeomFromEWKT('SRID=4674;POINT (-39.512499 -3.080351)'))) / (select extract(epoch from '2026-07-17 21:27:38'::timestamp) - extract(epoch from '2026-07-17 21:27:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.512497 -3.080366)', '2026-07-17 21:27:39', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512499 -3.080351)'), GeomFromEWKT('SRID=4674;POINT (-39.512497 -3.080366)'))) / (select extract(epoch from '2026-07-17 21:27:39'::timestamp) - extract(epoch from '2026-07-17 21:27:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512499 -3.080351)'), GeomFromEWKT('SRID=4674;POINT (-39.512497 -3.080366)'))) / (select extract(epoch from '2026-07-17 21:27:39'::timestamp) - extract(epoch from '2026-07-17 21:27:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.512519 -3.080425)', '2026-07-17 21:27:43', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512497 -3.080366)'), GeomFromEWKT('SRID=4674;POINT (-39.512519 -3.080425)'))) / (select extract(epoch from '2026-07-17 21:27:43'::timestamp) - extract(epoch from '2026-07-17 21:27:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512497 -3.080366)'), GeomFromEWKT('SRID=4674;POINT (-39.512519 -3.080425)'))) / (select extract(epoch from '2026-07-17 21:27:43'::timestamp) - extract(epoch from '2026-07-17 21:27: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'), 47917, 'SRID=4674;POINT (-39.512547 -3.080507)', '2026-07-17 21:27:49', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512519 -3.080425)'), GeomFromEWKT('SRID=4674;POINT (-39.512547 -3.080507)'))) / (select extract(epoch from '2026-07-17 21:27:49'::timestamp) - extract(epoch from '2026-07-17 21:27:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512519 -3.080425)'), GeomFromEWKT('SRID=4674;POINT (-39.512547 -3.080507)'))) / (select extract(epoch from '2026-07-17 21:27:49'::timestamp) - extract(epoch from '2026-07-17 21:27:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.512552 -3.080528)', '2026-07-17 21:27:51', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512547 -3.080507)'), GeomFromEWKT('SRID=4674;POINT (-39.512552 -3.080528)'))) / (select extract(epoch from '2026-07-17 21:27:51'::timestamp) - extract(epoch from '2026-07-17 21:27:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512547 -3.080507)'), GeomFromEWKT('SRID=4674;POINT (-39.512552 -3.080528)'))) / (select extract(epoch from '2026-07-17 21:27:51'::timestamp) - extract(epoch from '2026-07-17 21:27: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'), 47917, 'SRID=4674;POINT (-39.512573 -3.080562)', '2026-07-17 21:27:54', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512552 -3.080528)'), GeomFromEWKT('SRID=4674;POINT (-39.512573 -3.080562)'))) / (select extract(epoch from '2026-07-17 21:27:54'::timestamp) - extract(epoch from '2026-07-17 21:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512552 -3.080528)'), GeomFromEWKT('SRID=4674;POINT (-39.512573 -3.080562)'))) / (select extract(epoch from '2026-07-17 21:27:54'::timestamp) - extract(epoch from '2026-07-17 21:27:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.512587 -3.080586)', '2026-07-17 21:27:56', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512573 -3.080562)'), GeomFromEWKT('SRID=4674;POINT (-39.512587 -3.080586)'))) / (select extract(epoch from '2026-07-17 21:27:56'::timestamp) - extract(epoch from '2026-07-17 21:27:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512573 -3.080562)'), GeomFromEWKT('SRID=4674;POINT (-39.512587 -3.080586)'))) / (select extract(epoch from '2026-07-17 21:27:56'::timestamp) - extract(epoch from '2026-07-17 21:27:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.512607 -3.080628)', '2026-07-17 21:28:00', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512587 -3.080586)'), GeomFromEWKT('SRID=4674;POINT (-39.512607 -3.080628)'))) / (select extract(epoch from '2026-07-17 21:28:00'::timestamp) - extract(epoch from '2026-07-17 21:27:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512587 -3.080586)'), GeomFromEWKT('SRID=4674;POINT (-39.512607 -3.080628)'))) / (select extract(epoch from '2026-07-17 21:28:00'::timestamp) - extract(epoch from '2026-07-17 21:27:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.512637 -3.080677)', '2026-07-17 21:28:05', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512607 -3.080628)'), GeomFromEWKT('SRID=4674;POINT (-39.512637 -3.080677)'))) / (select extract(epoch from '2026-07-17 21:28:05'::timestamp) - extract(epoch from '2026-07-17 21:28:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512607 -3.080628)'), GeomFromEWKT('SRID=4674;POINT (-39.512637 -3.080677)'))) / (select extract(epoch from '2026-07-17 21:28:05'::timestamp) - extract(epoch from '2026-07-17 21:28:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.512646 -3.080685)', '2026-07-17 21:28:06', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512637 -3.080677)'), GeomFromEWKT('SRID=4674;POINT (-39.512646 -3.080685)'))) / (select extract(epoch from '2026-07-17 21:28:06'::timestamp) - extract(epoch from '2026-07-17 21:28:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512637 -3.080677)'), GeomFromEWKT('SRID=4674;POINT (-39.512646 -3.080685)'))) / (select extract(epoch from '2026-07-17 21:28:06'::timestamp) - extract(epoch from '2026-07-17 21:28: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'), 47917, 'SRID=4674;POINT (-39.512669 -3.080714)', '2026-07-17 21:28:09', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512646 -3.080685)'), GeomFromEWKT('SRID=4674;POINT (-39.512669 -3.080714)'))) / (select extract(epoch from '2026-07-17 21:28:09'::timestamp) - extract(epoch from '2026-07-17 21:28:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512646 -3.080685)'), GeomFromEWKT('SRID=4674;POINT (-39.512669 -3.080714)'))) / (select extract(epoch from '2026-07-17 21:28:09'::timestamp) - extract(epoch from '2026-07-17 21:28:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.51268 -3.080738)', '2026-07-17 21:28:12', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512669 -3.080714)'), GeomFromEWKT('SRID=4674;POINT (-39.51268 -3.080738)'))) / (select extract(epoch from '2026-07-17 21:28:12'::timestamp) - extract(epoch from '2026-07-17 21:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512669 -3.080714)'), GeomFromEWKT('SRID=4674;POINT (-39.51268 -3.080738)'))) / (select extract(epoch from '2026-07-17 21:28:12'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.51271 -3.080814)', '2026-07-17 21:28:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51268 -3.080738)'), GeomFromEWKT('SRID=4674;POINT (-39.51271 -3.080814)'))) / (select extract(epoch from '2026-07-17 21:28:18'::timestamp) - extract(epoch from '2026-07-17 21:28:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51268 -3.080738)'), GeomFromEWKT('SRID=4674;POINT (-39.51271 -3.080814)'))) / (select extract(epoch from '2026-07-17 21:28:18'::timestamp) - extract(epoch from '2026-07-17 21:28:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.512745 -3.080884)', '2026-07-17 21:28:24', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51271 -3.080814)'), GeomFromEWKT('SRID=4674;POINT (-39.512745 -3.080884)'))) / (select extract(epoch from '2026-07-17 21:28:24'::timestamp) - extract(epoch from '2026-07-17 21:28:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51271 -3.080814)'), GeomFromEWKT('SRID=4674;POINT (-39.512745 -3.080884)'))) / (select extract(epoch from '2026-07-17 21:28:24'::timestamp) - extract(epoch from '2026-07-17 21:28:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.512786 -3.080961)', '2026-07-17 21:28:31', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512745 -3.080884)'), GeomFromEWKT('SRID=4674;POINT (-39.512786 -3.080961)'))) / (select extract(epoch from '2026-07-17 21:28:31'::timestamp) - extract(epoch from '2026-07-17 21:28:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512745 -3.080884)'), GeomFromEWKT('SRID=4674;POINT (-39.512786 -3.080961)'))) / (select extract(epoch from '2026-07-17 21:28:31'::timestamp) - extract(epoch from '2026-07-17 21:28: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'), 47917, 'SRID=4674;POINT (-39.512823 -3.081049)', '2026-07-17 21:28:38', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512786 -3.080961)'), GeomFromEWKT('SRID=4674;POINT (-39.512823 -3.081049)'))) / (select extract(epoch from '2026-07-17 21:28:38'::timestamp) - extract(epoch from '2026-07-17 21:28:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512786 -3.080961)'), GeomFromEWKT('SRID=4674;POINT (-39.512823 -3.081049)'))) / (select extract(epoch from '2026-07-17 21:28:38'::timestamp) - extract(epoch from '2026-07-17 21:28:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.512848 -3.081143)', '2026-07-17 21:28:44', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512823 -3.081049)'), GeomFromEWKT('SRID=4674;POINT (-39.512848 -3.081143)'))) / (select extract(epoch from '2026-07-17 21:28:44'::timestamp) - extract(epoch from '2026-07-17 21:28:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512823 -3.081049)'), GeomFromEWKT('SRID=4674;POINT (-39.512848 -3.081143)'))) / (select extract(epoch from '2026-07-17 21:28:44'::timestamp) - extract(epoch from '2026-07-17 21:28: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'), 47917, 'SRID=4674;POINT (-39.512883 -3.081241)', '2026-07-17 21:28:50', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512848 -3.081143)'), GeomFromEWKT('SRID=4674;POINT (-39.512883 -3.081241)'))) / (select extract(epoch from '2026-07-17 21:28:50'::timestamp) - extract(epoch from '2026-07-17 21:28:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512848 -3.081143)'), GeomFromEWKT('SRID=4674;POINT (-39.512883 -3.081241)'))) / (select extract(epoch from '2026-07-17 21:28:50'::timestamp) - extract(epoch from '2026-07-17 21:28: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'), 47917, 'SRID=4674;POINT (-39.512911 -3.081339)', '2026-07-17 21:28:56', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512883 -3.081241)'), GeomFromEWKT('SRID=4674;POINT (-39.512911 -3.081339)'))) / (select extract(epoch from '2026-07-17 21:28:56'::timestamp) - extract(epoch from '2026-07-17 21:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512883 -3.081241)'), GeomFromEWKT('SRID=4674;POINT (-39.512911 -3.081339)'))) / (select extract(epoch from '2026-07-17 21:28:56'::timestamp) - extract(epoch from '2026-07-17 21:28: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'), 47917, 'SRID=4674;POINT (-39.512933 -3.081417)', '2026-07-17 21:29:01', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512911 -3.081339)'), GeomFromEWKT('SRID=4674;POINT (-39.512933 -3.081417)'))) / (select extract(epoch from '2026-07-17 21:29:01'::timestamp) - extract(epoch from '2026-07-17 21:28:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512911 -3.081339)'), GeomFromEWKT('SRID=4674;POINT (-39.512933 -3.081417)'))) / (select extract(epoch from '2026-07-17 21:29:01'::timestamp) - extract(epoch from '2026-07-17 21:28: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'), 47917, 'SRID=4674;POINT (-39.512975 -3.081568)', '2026-07-17 21:29:10', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512933 -3.081417)'), GeomFromEWKT('SRID=4674;POINT (-39.512975 -3.081568)'))) / (select extract(epoch from '2026-07-17 21:29:10'::timestamp) - extract(epoch from '2026-07-17 21:29:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512933 -3.081417)'), GeomFromEWKT('SRID=4674;POINT (-39.512975 -3.081568)'))) / (select extract(epoch from '2026-07-17 21:29:10'::timestamp) - extract(epoch from '2026-07-17 21:29: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'), 47917, 'SRID=4674;POINT (-39.513011 -3.081668)', '2026-07-17 21:29:16', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512975 -3.081568)'), GeomFromEWKT('SRID=4674;POINT (-39.513011 -3.081668)'))) / (select extract(epoch from '2026-07-17 21:29:16'::timestamp) - extract(epoch from '2026-07-17 21:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.512975 -3.081568)'), GeomFromEWKT('SRID=4674;POINT (-39.513011 -3.081668)'))) / (select extract(epoch from '2026-07-17 21:29:16'::timestamp) - extract(epoch from '2026-07-17 21:29:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.51301 -3.081698)', '2026-07-17 21:29:18', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513011 -3.081668)'), GeomFromEWKT('SRID=4674;POINT (-39.51301 -3.081698)'))) / (select extract(epoch from '2026-07-17 21:29:18'::timestamp) - extract(epoch from '2026-07-17 21:29:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513011 -3.081668)'), GeomFromEWKT('SRID=4674;POINT (-39.51301 -3.081698)'))) / (select extract(epoch from '2026-07-17 21:29:18'::timestamp) - extract(epoch from '2026-07-17 21:29: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'), 47917, 'SRID=4674;POINT (-39.513019 -3.081742)', '2026-07-17 21:29:21', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51301 -3.081698)'), GeomFromEWKT('SRID=4674;POINT (-39.513019 -3.081742)'))) / (select extract(epoch from '2026-07-17 21:29:21'::timestamp) - extract(epoch from '2026-07-17 21:29:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51301 -3.081698)'), GeomFromEWKT('SRID=4674;POINT (-39.513019 -3.081742)'))) / (select extract(epoch from '2026-07-17 21:29:21'::timestamp) - extract(epoch from '2026-07-17 21:29:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.51302 -3.081755)', '2026-07-17 21:29:22', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513019 -3.081742)'), GeomFromEWKT('SRID=4674;POINT (-39.51302 -3.081755)'))) / (select extract(epoch from '2026-07-17 21:29:22'::timestamp) - extract(epoch from '2026-07-17 21:29:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513019 -3.081742)'), GeomFromEWKT('SRID=4674;POINT (-39.51302 -3.081755)'))) / (select extract(epoch from '2026-07-17 21:29:22'::timestamp) - extract(epoch from '2026-07-17 21:29:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.513047 -3.081816)', '2026-07-17 21:29:26', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51302 -3.081755)'), GeomFromEWKT('SRID=4674;POINT (-39.513047 -3.081816)'))) / (select extract(epoch from '2026-07-17 21:29:26'::timestamp) - extract(epoch from '2026-07-17 21:29:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51302 -3.081755)'), GeomFromEWKT('SRID=4674;POINT (-39.513047 -3.081816)'))) / (select extract(epoch from '2026-07-17 21:29:26'::timestamp) - extract(epoch from '2026-07-17 21:29: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'), 47917, 'SRID=4674;POINT (-39.513079 -3.081939)', '2026-07-17 21:29:33', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513047 -3.081816)'), GeomFromEWKT('SRID=4674;POINT (-39.513079 -3.081939)'))) / (select extract(epoch from '2026-07-17 21:29:33'::timestamp) - extract(epoch from '2026-07-17 21:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513047 -3.081816)'), GeomFromEWKT('SRID=4674;POINT (-39.513079 -3.081939)'))) / (select extract(epoch from '2026-07-17 21:29:33'::timestamp) - extract(epoch from '2026-07-17 21:29:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.513089 -3.082023)', '2026-07-17 21:29:38', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513079 -3.081939)'), GeomFromEWKT('SRID=4674;POINT (-39.513089 -3.082023)'))) / (select extract(epoch from '2026-07-17 21:29:38'::timestamp) - extract(epoch from '2026-07-17 21:29:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513079 -3.081939)'), GeomFromEWKT('SRID=4674;POINT (-39.513089 -3.082023)'))) / (select extract(epoch from '2026-07-17 21:29:38'::timestamp) - extract(epoch from '2026-07-17 21:29:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.513102 -3.082057)', '2026-07-17 21:29:40', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513089 -3.082023)'), GeomFromEWKT('SRID=4674;POINT (-39.513102 -3.082057)'))) / (select extract(epoch from '2026-07-17 21:29:40'::timestamp) - extract(epoch from '2026-07-17 21:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513089 -3.082023)'), GeomFromEWKT('SRID=4674;POINT (-39.513102 -3.082057)'))) / (select extract(epoch from '2026-07-17 21:29:40'::timestamp) - extract(epoch from '2026-07-17 21:29:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.513116 -3.082144)', '2026-07-17 21:29:45', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513102 -3.082057)'), GeomFromEWKT('SRID=4674;POINT (-39.513116 -3.082144)'))) / (select extract(epoch from '2026-07-17 21:29:45'::timestamp) - extract(epoch from '2026-07-17 21:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513102 -3.082057)'), GeomFromEWKT('SRID=4674;POINT (-39.513116 -3.082144)'))) / (select extract(epoch from '2026-07-17 21:29:45'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.513143 -3.082244)', '2026-07-17 21:29:51', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513116 -3.082144)'), GeomFromEWKT('SRID=4674;POINT (-39.513143 -3.082244)'))) / (select extract(epoch from '2026-07-17 21:29:51'::timestamp) - extract(epoch from '2026-07-17 21:29:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513116 -3.082144)'), GeomFromEWKT('SRID=4674;POINT (-39.513143 -3.082244)'))) / (select extract(epoch from '2026-07-17 21:29:51'::timestamp) - extract(epoch from '2026-07-17 21:29: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'), 47917, 'SRID=4674;POINT (-39.513192 -3.082383)', '2026-07-17 21:29:59', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513143 -3.082244)'), GeomFromEWKT('SRID=4674;POINT (-39.513192 -3.082383)'))) / (select extract(epoch from '2026-07-17 21:29:59'::timestamp) - extract(epoch from '2026-07-17 21:29:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513143 -3.082244)'), GeomFromEWKT('SRID=4674;POINT (-39.513192 -3.082383)'))) / (select extract(epoch from '2026-07-17 21:29:59'::timestamp) - extract(epoch from '2026-07-17 21:29:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.513223 -3.082479)', '2026-07-17 21:30:05', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513192 -3.082383)'), GeomFromEWKT('SRID=4674;POINT (-39.513223 -3.082479)'))) / (select extract(epoch from '2026-07-17 21:30:05'::timestamp) - extract(epoch from '2026-07-17 21:29:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513192 -3.082383)'), GeomFromEWKT('SRID=4674;POINT (-39.513223 -3.082479)'))) / (select extract(epoch from '2026-07-17 21:30:05'::timestamp) - extract(epoch from '2026-07-17 21:29: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'), 47917, 'SRID=4674;POINT (-39.513273 -3.082601)', '2026-07-17 21:30:13', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513223 -3.082479)'), GeomFromEWKT('SRID=4674;POINT (-39.513273 -3.082601)'))) / (select extract(epoch from '2026-07-17 21:30:13'::timestamp) - extract(epoch from '2026-07-17 21:30:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513223 -3.082479)'), GeomFromEWKT('SRID=4674;POINT (-39.513273 -3.082601)'))) / (select extract(epoch from '2026-07-17 21:30:13'::timestamp) - extract(epoch from '2026-07-17 21:30:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.513306 -3.082692)', '2026-07-17 21:30:19', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513273 -3.082601)'), GeomFromEWKT('SRID=4674;POINT (-39.513306 -3.082692)'))) / (select extract(epoch from '2026-07-17 21:30:19'::timestamp) - extract(epoch from '2026-07-17 21:30:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513273 -3.082601)'), GeomFromEWKT('SRID=4674;POINT (-39.513306 -3.082692)'))) / (select extract(epoch from '2026-07-17 21:30:19'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.513342 -3.082781)', '2026-07-17 21:30:25', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513306 -3.082692)'), GeomFromEWKT('SRID=4674;POINT (-39.513342 -3.082781)'))) / (select extract(epoch from '2026-07-17 21:30:25'::timestamp) - extract(epoch from '2026-07-17 21:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513306 -3.082692)'), GeomFromEWKT('SRID=4674;POINT (-39.513342 -3.082781)'))) / (select extract(epoch from '2026-07-17 21:30:25'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.513368 -3.082858)', '2026-07-17 21:30:29', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513342 -3.082781)'), GeomFromEWKT('SRID=4674;POINT (-39.513368 -3.082858)'))) / (select extract(epoch from '2026-07-17 21:30:29'::timestamp) - extract(epoch from '2026-07-17 21:30:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513342 -3.082781)'), GeomFromEWKT('SRID=4674;POINT (-39.513368 -3.082858)'))) / (select extract(epoch from '2026-07-17 21:30:29'::timestamp) - extract(epoch from '2026-07-17 21:30:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.513411 -3.082975)', '2026-07-17 21:30:36', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513368 -3.082858)'), GeomFromEWKT('SRID=4674;POINT (-39.513411 -3.082975)'))) / (select extract(epoch from '2026-07-17 21:30:36'::timestamp) - extract(epoch from '2026-07-17 21:30:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513368 -3.082858)'), GeomFromEWKT('SRID=4674;POINT (-39.513411 -3.082975)'))) / (select extract(epoch from '2026-07-17 21:30:36'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.513441 -3.083085)', '2026-07-17 21:30:43', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513411 -3.082975)'), GeomFromEWKT('SRID=4674;POINT (-39.513441 -3.083085)'))) / (select extract(epoch from '2026-07-17 21:30:43'::timestamp) - extract(epoch from '2026-07-17 21:30:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513411 -3.082975)'), GeomFromEWKT('SRID=4674;POINT (-39.513441 -3.083085)'))) / (select extract(epoch from '2026-07-17 21:30:43'::timestamp) - extract(epoch from '2026-07-17 21:30: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'), 47917, 'SRID=4674;POINT (-39.513471 -3.083204)', '2026-07-17 21:30:50', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513441 -3.083085)'), GeomFromEWKT('SRID=4674;POINT (-39.513471 -3.083204)'))) / (select extract(epoch from '2026-07-17 21:30:50'::timestamp) - extract(epoch from '2026-07-17 21:30:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513441 -3.083085)'), GeomFromEWKT('SRID=4674;POINT (-39.513471 -3.083204)'))) / (select extract(epoch from '2026-07-17 21:30:50'::timestamp) - extract(epoch from '2026-07-17 21:30: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'), 47917, 'SRID=4674;POINT (-39.513505 -3.083314)', '2026-07-17 21:30:56', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513471 -3.083204)'), GeomFromEWKT('SRID=4674;POINT (-39.513505 -3.083314)'))) / (select extract(epoch from '2026-07-17 21:30:56'::timestamp) - extract(epoch from '2026-07-17 21:30:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513471 -3.083204)'), GeomFromEWKT('SRID=4674;POINT (-39.513505 -3.083314)'))) / (select extract(epoch from '2026-07-17 21:30:56'::timestamp) - extract(epoch from '2026-07-17 21:30: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'), 47917, 'SRID=4674;POINT (-39.513535 -3.083376)', '2026-07-17 21:31:00', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513505 -3.083314)'), GeomFromEWKT('SRID=4674;POINT (-39.513535 -3.083376)'))) / (select extract(epoch from '2026-07-17 21:31:00'::timestamp) - extract(epoch from '2026-07-17 21:30:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513505 -3.083314)'), GeomFromEWKT('SRID=4674;POINT (-39.513535 -3.083376)'))) / (select extract(epoch from '2026-07-17 21:31:00'::timestamp) - extract(epoch from '2026-07-17 21:30: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'), 47917, 'SRID=4674;POINT (-39.513566 -3.083476)', '2026-07-17 21:31:06', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513535 -3.083376)'), GeomFromEWKT('SRID=4674;POINT (-39.513566 -3.083476)'))) / (select extract(epoch from '2026-07-17 21:31:06'::timestamp) - extract(epoch from '2026-07-17 21:31:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513535 -3.083376)'), GeomFromEWKT('SRID=4674;POINT (-39.513566 -3.083476)'))) / (select extract(epoch from '2026-07-17 21:31:06'::timestamp) - extract(epoch from '2026-07-17 21:31:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.513615 -3.083592)', '2026-07-17 21:31:13', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513566 -3.083476)'), GeomFromEWKT('SRID=4674;POINT (-39.513615 -3.083592)'))) / (select extract(epoch from '2026-07-17 21:31:13'::timestamp) - extract(epoch from '2026-07-17 21:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513566 -3.083476)'), GeomFromEWKT('SRID=4674;POINT (-39.513615 -3.083592)'))) / (select extract(epoch from '2026-07-17 21:31:13'::timestamp) - extract(epoch from '2026-07-17 21:31: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'), 47917, 'SRID=4674;POINT (-39.513647 -3.083691)', '2026-07-17 21:31:19', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513615 -3.083592)'), GeomFromEWKT('SRID=4674;POINT (-39.513647 -3.083691)'))) / (select extract(epoch from '2026-07-17 21:31:19'::timestamp) - extract(epoch from '2026-07-17 21:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513615 -3.083592)'), GeomFromEWKT('SRID=4674;POINT (-39.513647 -3.083691)'))) / (select extract(epoch from '2026-07-17 21:31:19'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.513681 -3.083795)', '2026-07-17 21:31:26', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513647 -3.083691)'), GeomFromEWKT('SRID=4674;POINT (-39.513681 -3.083795)'))) / (select extract(epoch from '2026-07-17 21:31:26'::timestamp) - extract(epoch from '2026-07-17 21:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513647 -3.083691)'), GeomFromEWKT('SRID=4674;POINT (-39.513681 -3.083795)'))) / (select extract(epoch from '2026-07-17 21:31:26'::timestamp) - extract(epoch from '2026-07-17 21:31: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'), 47917, 'SRID=4674;POINT (-39.513721 -3.083912)', '2026-07-17 21:31:33', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513681 -3.083795)'), GeomFromEWKT('SRID=4674;POINT (-39.513721 -3.083912)'))) / (select extract(epoch from '2026-07-17 21:31:33'::timestamp) - extract(epoch from '2026-07-17 21:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513681 -3.083795)'), GeomFromEWKT('SRID=4674;POINT (-39.513721 -3.083912)'))) / (select extract(epoch from '2026-07-17 21:31:33'::timestamp) - extract(epoch from '2026-07-17 21:31:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.513737 -3.083959)', '2026-07-17 21:31:36', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513721 -3.083912)'), GeomFromEWKT('SRID=4674;POINT (-39.513737 -3.083959)'))) / (select extract(epoch from '2026-07-17 21:31:36'::timestamp) - extract(epoch from '2026-07-17 21:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513721 -3.083912)'), GeomFromEWKT('SRID=4674;POINT (-39.513737 -3.083959)'))) / (select extract(epoch from '2026-07-17 21:31:36'::timestamp) - extract(epoch from '2026-07-17 21:31:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.513745 -3.084008)', '2026-07-17 21:31:39', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513737 -3.083959)'), GeomFromEWKT('SRID=4674;POINT (-39.513745 -3.084008)'))) / (select extract(epoch from '2026-07-17 21:31:39'::timestamp) - extract(epoch from '2026-07-17 21:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513737 -3.083959)'), GeomFromEWKT('SRID=4674;POINT (-39.513745 -3.084008)'))) / (select extract(epoch from '2026-07-17 21:31:39'::timestamp) - extract(epoch from '2026-07-17 21:31: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'), 47917, 'SRID=4674;POINT (-39.513796 -3.084124)', '2026-07-17 21:31:46', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513745 -3.084008)'), GeomFromEWKT('SRID=4674;POINT (-39.513796 -3.084124)'))) / (select extract(epoch from '2026-07-17 21:31:46'::timestamp) - extract(epoch from '2026-07-17 21:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513745 -3.084008)'), GeomFromEWKT('SRID=4674;POINT (-39.513796 -3.084124)'))) / (select extract(epoch from '2026-07-17 21:31:46'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.513844 -3.084219)', '2026-07-17 21:31:52', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513796 -3.084124)'), GeomFromEWKT('SRID=4674;POINT (-39.513844 -3.084219)'))) / (select extract(epoch from '2026-07-17 21:31:52'::timestamp) - extract(epoch from '2026-07-17 21:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513796 -3.084124)'), GeomFromEWKT('SRID=4674;POINT (-39.513844 -3.084219)'))) / (select extract(epoch from '2026-07-17 21:31:52'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.513856 -3.084296)', '2026-07-17 21:31:57', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513844 -3.084219)'), GeomFromEWKT('SRID=4674;POINT (-39.513856 -3.084296)'))) / (select extract(epoch from '2026-07-17 21:31:57'::timestamp) - extract(epoch from '2026-07-17 21:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513844 -3.084219)'), GeomFromEWKT('SRID=4674;POINT (-39.513856 -3.084296)'))) / (select extract(epoch from '2026-07-17 21:31:57'::timestamp) - extract(epoch from '2026-07-17 21:31:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.513876 -3.084379)', '2026-07-17 21:32:02', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513856 -3.084296)'), GeomFromEWKT('SRID=4674;POINT (-39.513876 -3.084379)'))) / (select extract(epoch from '2026-07-17 21:32:02'::timestamp) - extract(epoch from '2026-07-17 21:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513856 -3.084296)'), GeomFromEWKT('SRID=4674;POINT (-39.513876 -3.084379)'))) / (select extract(epoch from '2026-07-17 21:32:02'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.513907 -3.084476)', '2026-07-17 21:32:08', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513876 -3.084379)'), GeomFromEWKT('SRID=4674;POINT (-39.513907 -3.084476)'))) / (select extract(epoch from '2026-07-17 21:32:08'::timestamp) - extract(epoch from '2026-07-17 21:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513876 -3.084379)'), GeomFromEWKT('SRID=4674;POINT (-39.513907 -3.084476)'))) / (select extract(epoch from '2026-07-17 21:32:08'::timestamp) - extract(epoch from '2026-07-17 21:32:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.513938 -3.084562)', '2026-07-17 21:32:13', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513907 -3.084476)'), GeomFromEWKT('SRID=4674;POINT (-39.513938 -3.084562)'))) / (select extract(epoch from '2026-07-17 21:32:13'::timestamp) - extract(epoch from '2026-07-17 21:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513907 -3.084476)'), GeomFromEWKT('SRID=4674;POINT (-39.513938 -3.084562)'))) / (select extract(epoch from '2026-07-17 21:32:13'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.513962 -3.084651)', '2026-07-17 21:32:19', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513938 -3.084562)'), GeomFromEWKT('SRID=4674;POINT (-39.513962 -3.084651)'))) / (select extract(epoch from '2026-07-17 21:32:19'::timestamp) - extract(epoch from '2026-07-17 21:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513938 -3.084562)'), GeomFromEWKT('SRID=4674;POINT (-39.513962 -3.084651)'))) / (select extract(epoch from '2026-07-17 21:32:19'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.513993 -3.084747)', '2026-07-17 21:32:25', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513962 -3.084651)'), GeomFromEWKT('SRID=4674;POINT (-39.513993 -3.084747)'))) / (select extract(epoch from '2026-07-17 21:32:25'::timestamp) - extract(epoch from '2026-07-17 21:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513962 -3.084651)'), GeomFromEWKT('SRID=4674;POINT (-39.513993 -3.084747)'))) / (select extract(epoch from '2026-07-17 21:32:25'::timestamp) - extract(epoch from '2026-07-17 21:32:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.513995 -3.084767)', '2026-07-17 21:32:26', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513993 -3.084747)'), GeomFromEWKT('SRID=4674;POINT (-39.513995 -3.084767)'))) / (select extract(epoch from '2026-07-17 21:32:26'::timestamp) - extract(epoch from '2026-07-17 21:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513993 -3.084747)'), GeomFromEWKT('SRID=4674;POINT (-39.513995 -3.084767)'))) / (select extract(epoch from '2026-07-17 21:32:26'::timestamp) - extract(epoch from '2026-07-17 21:32:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.514001 -3.084836)', '2026-07-17 21:32:30', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513995 -3.084767)'), GeomFromEWKT('SRID=4674;POINT (-39.514001 -3.084836)'))) / (select extract(epoch from '2026-07-17 21:32:30'::timestamp) - extract(epoch from '2026-07-17 21:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.513995 -3.084767)'), GeomFromEWKT('SRID=4674;POINT (-39.514001 -3.084836)'))) / (select extract(epoch from '2026-07-17 21:32:30'::timestamp) - extract(epoch from '2026-07-17 21:32:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.514028 -3.084917)', '2026-07-17 21:32:35', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514001 -3.084836)'), GeomFromEWKT('SRID=4674;POINT (-39.514028 -3.084917)'))) / (select extract(epoch from '2026-07-17 21:32:35'::timestamp) - extract(epoch from '2026-07-17 21:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514001 -3.084836)'), GeomFromEWKT('SRID=4674;POINT (-39.514028 -3.084917)'))) / (select extract(epoch from '2026-07-17 21:32:35'::timestamp) - extract(epoch from '2026-07-17 21:32: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'), 47917, 'SRID=4674;POINT (-39.514072 -3.085031)', '2026-07-17 21:32:42', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514028 -3.084917)'), GeomFromEWKT('SRID=4674;POINT (-39.514072 -3.085031)'))) / (select extract(epoch from '2026-07-17 21:32:42'::timestamp) - extract(epoch from '2026-07-17 21:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514028 -3.084917)'), GeomFromEWKT('SRID=4674;POINT (-39.514072 -3.085031)'))) / (select extract(epoch from '2026-07-17 21:32:42'::timestamp) - extract(epoch from '2026-07-17 21:32: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'), 47917, 'SRID=4674;POINT (-39.514108 -3.085118)', '2026-07-17 21:32:48', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514072 -3.085031)'), GeomFromEWKT('SRID=4674;POINT (-39.514108 -3.085118)'))) / (select extract(epoch from '2026-07-17 21:32:48'::timestamp) - extract(epoch from '2026-07-17 21:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514072 -3.085031)'), GeomFromEWKT('SRID=4674;POINT (-39.514108 -3.085118)'))) / (select extract(epoch from '2026-07-17 21:32:48'::timestamp) - extract(epoch from '2026-07-17 21:32: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'), 47917, 'SRID=4674;POINT (-39.514143 -3.085197)', '2026-07-17 21:32:54', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514108 -3.085118)'), GeomFromEWKT('SRID=4674;POINT (-39.514143 -3.085197)'))) / (select extract(epoch from '2026-07-17 21:32:54'::timestamp) - extract(epoch from '2026-07-17 21:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514108 -3.085118)'), GeomFromEWKT('SRID=4674;POINT (-39.514143 -3.085197)'))) / (select extract(epoch from '2026-07-17 21:32:54'::timestamp) - extract(epoch from '2026-07-17 21:32:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.514143 -3.085212)', '2026-07-17 21:32:55', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514143 -3.085197)'), GeomFromEWKT('SRID=4674;POINT (-39.514143 -3.085212)'))) / (select extract(epoch from '2026-07-17 21:32:55'::timestamp) - extract(epoch from '2026-07-17 21:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514143 -3.085197)'), GeomFromEWKT('SRID=4674;POINT (-39.514143 -3.085212)'))) / (select extract(epoch from '2026-07-17 21:32:55'::timestamp) - extract(epoch from '2026-07-17 21:32:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.514169 -3.085271)', '2026-07-17 21:32:59', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514143 -3.085212)'), GeomFromEWKT('SRID=4674;POINT (-39.514169 -3.085271)'))) / (select extract(epoch from '2026-07-17 21:32:59'::timestamp) - extract(epoch from '2026-07-17 21:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514143 -3.085212)'), GeomFromEWKT('SRID=4674;POINT (-39.514169 -3.085271)'))) / (select extract(epoch from '2026-07-17 21:32:59'::timestamp) - extract(epoch from '2026-07-17 21:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.514169 -3.085286)', '2026-07-17 21:33:00', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514169 -3.085271)'), GeomFromEWKT('SRID=4674;POINT (-39.514169 -3.085286)'))) / (select extract(epoch from '2026-07-17 21:33:00'::timestamp) - extract(epoch from '2026-07-17 21:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514169 -3.085271)'), GeomFromEWKT('SRID=4674;POINT (-39.514169 -3.085286)'))) / (select extract(epoch from '2026-07-17 21:33:00'::timestamp) - extract(epoch from '2026-07-17 21:32:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.514172 -3.085303)', '2026-07-17 21:33:01', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514169 -3.085286)'), GeomFromEWKT('SRID=4674;POINT (-39.514172 -3.085303)'))) / (select extract(epoch from '2026-07-17 21:33:01'::timestamp) - extract(epoch from '2026-07-17 21:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514169 -3.085286)'), GeomFromEWKT('SRID=4674;POINT (-39.514172 -3.085303)'))) / (select extract(epoch from '2026-07-17 21:33:01'::timestamp) - extract(epoch from '2026-07-17 21:33: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'), 47917, 'SRID=4674;POINT (-39.5142 -3.085369)', '2026-07-17 21:33:05', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514172 -3.085303)'), GeomFromEWKT('SRID=4674;POINT (-39.5142 -3.085369)'))) / (select extract(epoch from '2026-07-17 21:33:05'::timestamp) - extract(epoch from '2026-07-17 21:33:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514172 -3.085303)'), GeomFromEWKT('SRID=4674;POINT (-39.5142 -3.085369)'))) / (select extract(epoch from '2026-07-17 21:33:05'::timestamp) - extract(epoch from '2026-07-17 21:33:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.514212 -3.085432)', '2026-07-17 21:33:09', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5142 -3.085369)'), GeomFromEWKT('SRID=4674;POINT (-39.514212 -3.085432)'))) / (select extract(epoch from '2026-07-17 21:33:09'::timestamp) - extract(epoch from '2026-07-17 21:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5142 -3.085369)'), GeomFromEWKT('SRID=4674;POINT (-39.514212 -3.085432)'))) / (select extract(epoch from '2026-07-17 21:33:09'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.514235 -3.085466)', '2026-07-17 21:33:11', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514212 -3.085432)'), GeomFromEWKT('SRID=4674;POINT (-39.514235 -3.085466)'))) / (select extract(epoch from '2026-07-17 21:33:11'::timestamp) - extract(epoch from '2026-07-17 21:33:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514212 -3.085432)'), GeomFromEWKT('SRID=4674;POINT (-39.514235 -3.085466)'))) / (select extract(epoch from '2026-07-17 21:33:11'::timestamp) - extract(epoch from '2026-07-17 21:33: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'), 47917, 'SRID=4674;POINT (-39.514255 -3.085561)', '2026-07-17 21:33:17', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514235 -3.085466)'), GeomFromEWKT('SRID=4674;POINT (-39.514255 -3.085561)'))) / (select extract(epoch from '2026-07-17 21:33:17'::timestamp) - extract(epoch from '2026-07-17 21:33:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514235 -3.085466)'), GeomFromEWKT('SRID=4674;POINT (-39.514255 -3.085561)'))) / (select extract(epoch from '2026-07-17 21:33:17'::timestamp) - extract(epoch from '2026-07-17 21:33: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'), 47917, 'SRID=4674;POINT (-39.514271 -3.085623)', '2026-07-17 21:33:21', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514255 -3.085561)'), GeomFromEWKT('SRID=4674;POINT (-39.514271 -3.085623)'))) / (select extract(epoch from '2026-07-17 21:33:21'::timestamp) - extract(epoch from '2026-07-17 21:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514255 -3.085561)'), GeomFromEWKT('SRID=4674;POINT (-39.514271 -3.085623)'))) / (select extract(epoch from '2026-07-17 21:33:21'::timestamp) - extract(epoch from '2026-07-17 21:33:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.514282 -3.085643)', '2026-07-17 21:33:23', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514271 -3.085623)'), GeomFromEWKT('SRID=4674;POINT (-39.514282 -3.085643)'))) / (select extract(epoch from '2026-07-17 21:33:23'::timestamp) - extract(epoch from '2026-07-17 21:33:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514271 -3.085623)'), GeomFromEWKT('SRID=4674;POINT (-39.514282 -3.085643)'))) / (select extract(epoch from '2026-07-17 21:33:23'::timestamp) - extract(epoch from '2026-07-17 21:33:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.514313 -3.085728)', '2026-07-17 21:33:29', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514282 -3.085643)'), GeomFromEWKT('SRID=4674;POINT (-39.514313 -3.085728)'))) / (select extract(epoch from '2026-07-17 21:33:29'::timestamp) - extract(epoch from '2026-07-17 21:33:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514282 -3.085643)'), GeomFromEWKT('SRID=4674;POINT (-39.514313 -3.085728)'))) / (select extract(epoch from '2026-07-17 21:33:29'::timestamp) - extract(epoch from '2026-07-17 21:33: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'), 47917, 'SRID=4674;POINT (-39.514351 -3.085845)', '2026-07-17 21:33:36', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514313 -3.085728)'), GeomFromEWKT('SRID=4674;POINT (-39.514351 -3.085845)'))) / (select extract(epoch from '2026-07-17 21:33:36'::timestamp) - extract(epoch from '2026-07-17 21:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514313 -3.085728)'), GeomFromEWKT('SRID=4674;POINT (-39.514351 -3.085845)'))) / (select extract(epoch from '2026-07-17 21:33:36'::timestamp) - extract(epoch from '2026-07-17 21:33: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'), 47917, 'SRID=4674;POINT (-39.514368 -3.085874)', '2026-07-17 21:33:38', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514351 -3.085845)'), GeomFromEWKT('SRID=4674;POINT (-39.514368 -3.085874)'))) / (select extract(epoch from '2026-07-17 21:33:38'::timestamp) - extract(epoch from '2026-07-17 21:33:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514351 -3.085845)'), GeomFromEWKT('SRID=4674;POINT (-39.514368 -3.085874)'))) / (select extract(epoch from '2026-07-17 21:33:38'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.514377 -3.085915)', '2026-07-17 21:33:41', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514368 -3.085874)'), GeomFromEWKT('SRID=4674;POINT (-39.514377 -3.085915)'))) / (select extract(epoch from '2026-07-17 21:33:41'::timestamp) - extract(epoch from '2026-07-17 21:33:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514368 -3.085874)'), GeomFromEWKT('SRID=4674;POINT (-39.514377 -3.085915)'))) / (select extract(epoch from '2026-07-17 21:33:41'::timestamp) - extract(epoch from '2026-07-17 21:33: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'), 47917, 'SRID=4674;POINT (-39.514426 -3.086019)', '2026-07-17 21:33:48', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514377 -3.085915)'), GeomFromEWKT('SRID=4674;POINT (-39.514426 -3.086019)'))) / (select extract(epoch from '2026-07-17 21:33:48'::timestamp) - extract(epoch from '2026-07-17 21:33:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514377 -3.085915)'), GeomFromEWKT('SRID=4674;POINT (-39.514426 -3.086019)'))) / (select extract(epoch from '2026-07-17 21:33:48'::timestamp) - extract(epoch from '2026-07-17 21:33:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.514459 -3.086101)', '2026-07-17 21:33:54', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514426 -3.086019)'), GeomFromEWKT('SRID=4674;POINT (-39.514459 -3.086101)'))) / (select extract(epoch from '2026-07-17 21:33:54'::timestamp) - extract(epoch from '2026-07-17 21:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514426 -3.086019)'), GeomFromEWKT('SRID=4674;POINT (-39.514459 -3.086101)'))) / (select extract(epoch from '2026-07-17 21:33:54'::timestamp) - extract(epoch from '2026-07-17 21:33: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'), 47917, 'SRID=4674;POINT (-39.514503 -3.086211)', '2026-07-17 21:34:01', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514459 -3.086101)'), GeomFromEWKT('SRID=4674;POINT (-39.514503 -3.086211)'))) / (select extract(epoch from '2026-07-17 21:34:01'::timestamp) - extract(epoch from '2026-07-17 21:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514459 -3.086101)'), GeomFromEWKT('SRID=4674;POINT (-39.514503 -3.086211)'))) / (select extract(epoch from '2026-07-17 21:34:01'::timestamp) - extract(epoch from '2026-07-17 21:33: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'), 47917, 'SRID=4674;POINT (-39.514527 -3.086301)', '2026-07-17 21:34:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514503 -3.086211)'), GeomFromEWKT('SRID=4674;POINT (-39.514527 -3.086301)'))) / (select extract(epoch from '2026-07-17 21:34:06'::timestamp) - extract(epoch from '2026-07-17 21:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514503 -3.086211)'), GeomFromEWKT('SRID=4674;POINT (-39.514527 -3.086301)'))) / (select extract(epoch from '2026-07-17 21:34:06'::timestamp) - extract(epoch from '2026-07-17 21:34:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.514542 -3.086316)', '2026-07-17 21:34:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514527 -3.086301)'), GeomFromEWKT('SRID=4674;POINT (-39.514542 -3.086316)'))) / (select extract(epoch from '2026-07-17 21:34:07'::timestamp) - extract(epoch from '2026-07-17 21:34:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514527 -3.086301)'), GeomFromEWKT('SRID=4674;POINT (-39.514542 -3.086316)'))) / (select extract(epoch from '2026-07-17 21:34:07'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.514587 -3.086408)', '2026-07-17 21:34:13', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514542 -3.086316)'), GeomFromEWKT('SRID=4674;POINT (-39.514587 -3.086408)'))) / (select extract(epoch from '2026-07-17 21:34:13'::timestamp) - extract(epoch from '2026-07-17 21:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514542 -3.086316)'), GeomFromEWKT('SRID=4674;POINT (-39.514587 -3.086408)'))) / (select extract(epoch from '2026-07-17 21:34:13'::timestamp) - extract(epoch from '2026-07-17 21:34:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.514622 -3.086521)', '2026-07-17 21:34:20', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514587 -3.086408)'), GeomFromEWKT('SRID=4674;POINT (-39.514622 -3.086521)'))) / (select extract(epoch from '2026-07-17 21:34:20'::timestamp) - extract(epoch from '2026-07-17 21:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514587 -3.086408)'), GeomFromEWKT('SRID=4674;POINT (-39.514622 -3.086521)'))) / (select extract(epoch from '2026-07-17 21:34:20'::timestamp) - extract(epoch from '2026-07-17 21:34:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.514667 -3.086638)', '2026-07-17 21:34:27', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514622 -3.086521)'), GeomFromEWKT('SRID=4674;POINT (-39.514667 -3.086638)'))) / (select extract(epoch from '2026-07-17 21:34:27'::timestamp) - extract(epoch from '2026-07-17 21:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514622 -3.086521)'), GeomFromEWKT('SRID=4674;POINT (-39.514667 -3.086638)'))) / (select extract(epoch from '2026-07-17 21:34:27'::timestamp) - extract(epoch from '2026-07-17 21:34: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'), 47917, 'SRID=4674;POINT (-39.514704 -3.08672)', '2026-07-17 21:34:32', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514667 -3.086638)'), GeomFromEWKT('SRID=4674;POINT (-39.514704 -3.08672)'))) / (select extract(epoch from '2026-07-17 21:34:32'::timestamp) - extract(epoch from '2026-07-17 21:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514667 -3.086638)'), GeomFromEWKT('SRID=4674;POINT (-39.514704 -3.08672)'))) / (select extract(epoch from '2026-07-17 21:34:32'::timestamp) - extract(epoch from '2026-07-17 21:34: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'), 47917, 'SRID=4674;POINT (-39.514741 -3.086796)', '2026-07-17 21:34:36', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514704 -3.08672)'), GeomFromEWKT('SRID=4674;POINT (-39.514741 -3.086796)'))) / (select extract(epoch from '2026-07-17 21:34:36'::timestamp) - extract(epoch from '2026-07-17 21:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514704 -3.08672)'), GeomFromEWKT('SRID=4674;POINT (-39.514741 -3.086796)'))) / (select extract(epoch from '2026-07-17 21:34:36'::timestamp) - extract(epoch from '2026-07-17 21:34: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'), 47917, 'SRID=4674;POINT (-39.514747 -3.086828)', '2026-07-17 21:34:38', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514741 -3.086796)'), GeomFromEWKT('SRID=4674;POINT (-39.514747 -3.086828)'))) / (select extract(epoch from '2026-07-17 21:34:38'::timestamp) - extract(epoch from '2026-07-17 21:34:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514741 -3.086796)'), GeomFromEWKT('SRID=4674;POINT (-39.514747 -3.086828)'))) / (select extract(epoch from '2026-07-17 21:34:38'::timestamp) - extract(epoch from '2026-07-17 21:34:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.514779 -3.086875)', '2026-07-17 21:34:41', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514747 -3.086828)'), GeomFromEWKT('SRID=4674;POINT (-39.514779 -3.086875)'))) / (select extract(epoch from '2026-07-17 21:34:41'::timestamp) - extract(epoch from '2026-07-17 21:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514747 -3.086828)'), GeomFromEWKT('SRID=4674;POINT (-39.514779 -3.086875)'))) / (select extract(epoch from '2026-07-17 21:34:41'::timestamp) - extract(epoch from '2026-07-17 21:34: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'), 47917, 'SRID=4674;POINT (-39.514813 -3.086957)', '2026-07-17 21:34:47', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514779 -3.086875)'), GeomFromEWKT('SRID=4674;POINT (-39.514813 -3.086957)'))) / (select extract(epoch from '2026-07-17 21:34:47'::timestamp) - extract(epoch from '2026-07-17 21:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514779 -3.086875)'), GeomFromEWKT('SRID=4674;POINT (-39.514813 -3.086957)'))) / (select extract(epoch from '2026-07-17 21:34:47'::timestamp) - extract(epoch from '2026-07-17 21:34:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.514842 -3.087014)', '2026-07-17 21:34:51', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514813 -3.086957)'), GeomFromEWKT('SRID=4674;POINT (-39.514842 -3.087014)'))) / (select extract(epoch from '2026-07-17 21:34:51'::timestamp) - extract(epoch from '2026-07-17 21:34:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514813 -3.086957)'), GeomFromEWKT('SRID=4674;POINT (-39.514842 -3.087014)'))) / (select extract(epoch from '2026-07-17 21:34:51'::timestamp) - extract(epoch from '2026-07-17 21:34: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'), 47917, 'SRID=4674;POINT (-39.514844 -3.087028)', '2026-07-17 21:34:52', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514842 -3.087014)'), GeomFromEWKT('SRID=4674;POINT (-39.514844 -3.087028)'))) / (select extract(epoch from '2026-07-17 21:34:52'::timestamp) - extract(epoch from '2026-07-17 21:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514842 -3.087014)'), GeomFromEWKT('SRID=4674;POINT (-39.514844 -3.087028)'))) / (select extract(epoch from '2026-07-17 21:34:52'::timestamp) - extract(epoch from '2026-07-17 21:34:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.514886 -3.087116)', '2026-07-17 21:34:58', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514844 -3.087028)'), GeomFromEWKT('SRID=4674;POINT (-39.514886 -3.087116)'))) / (select extract(epoch from '2026-07-17 21:34:58'::timestamp) - extract(epoch from '2026-07-17 21:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514844 -3.087028)'), GeomFromEWKT('SRID=4674;POINT (-39.514886 -3.087116)'))) / (select extract(epoch from '2026-07-17 21:34:58'::timestamp) - extract(epoch from '2026-07-17 21:34: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'), 47917, 'SRID=4674;POINT (-39.51493 -3.087217)', '2026-07-17 21:35:05', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514886 -3.087116)'), GeomFromEWKT('SRID=4674;POINT (-39.51493 -3.087217)'))) / (select extract(epoch from '2026-07-17 21:35:05'::timestamp) - extract(epoch from '2026-07-17 21:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514886 -3.087116)'), GeomFromEWKT('SRID=4674;POINT (-39.51493 -3.087217)'))) / (select extract(epoch from '2026-07-17 21:35:05'::timestamp) - extract(epoch from '2026-07-17 21:34:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.514951 -3.087275)', '2026-07-17 21:35:09', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51493 -3.087217)'), GeomFromEWKT('SRID=4674;POINT (-39.514951 -3.087275)'))) / (select extract(epoch from '2026-07-17 21:35:09'::timestamp) - extract(epoch from '2026-07-17 21:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51493 -3.087217)'), GeomFromEWKT('SRID=4674;POINT (-39.514951 -3.087275)'))) / (select extract(epoch from '2026-07-17 21:35:09'::timestamp) - extract(epoch from '2026-07-17 21:35:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.514962 -3.087328)', '2026-07-17 21:35:12', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514951 -3.087275)'), GeomFromEWKT('SRID=4674;POINT (-39.514962 -3.087328)'))) / (select extract(epoch from '2026-07-17 21:35:12'::timestamp) - extract(epoch from '2026-07-17 21:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514951 -3.087275)'), GeomFromEWKT('SRID=4674;POINT (-39.514962 -3.087328)'))) / (select extract(epoch from '2026-07-17 21:35:12'::timestamp) - extract(epoch from '2026-07-17 21:35:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.515004 -3.087448)', '2026-07-17 21:35:19', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514962 -3.087328)'), GeomFromEWKT('SRID=4674;POINT (-39.515004 -3.087448)'))) / (select extract(epoch from '2026-07-17 21:35:19'::timestamp) - extract(epoch from '2026-07-17 21:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.514962 -3.087328)'), GeomFromEWKT('SRID=4674;POINT (-39.515004 -3.087448)'))) / (select extract(epoch from '2026-07-17 21:35:19'::timestamp) - extract(epoch from '2026-07-17 21:35:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.515035 -3.087554)', '2026-07-17 21:35:25', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515004 -3.087448)'), GeomFromEWKT('SRID=4674;POINT (-39.515035 -3.087554)'))) / (select extract(epoch from '2026-07-17 21:35:25'::timestamp) - extract(epoch from '2026-07-17 21:35:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515004 -3.087448)'), GeomFromEWKT('SRID=4674;POINT (-39.515035 -3.087554)'))) / (select extract(epoch from '2026-07-17 21:35:25'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.51505 -3.087642)', '2026-07-17 21:35:30', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515035 -3.087554)'), GeomFromEWKT('SRID=4674;POINT (-39.51505 -3.087642)'))) / (select extract(epoch from '2026-07-17 21:35:30'::timestamp) - extract(epoch from '2026-07-17 21:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515035 -3.087554)'), GeomFromEWKT('SRID=4674;POINT (-39.51505 -3.087642)'))) / (select extract(epoch from '2026-07-17 21:35:30'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.515082 -3.087733)', '2026-07-17 21:35:35', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51505 -3.087642)'), GeomFromEWKT('SRID=4674;POINT (-39.515082 -3.087733)'))) / (select extract(epoch from '2026-07-17 21:35:35'::timestamp) - extract(epoch from '2026-07-17 21:35:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51505 -3.087642)'), GeomFromEWKT('SRID=4674;POINT (-39.515082 -3.087733)'))) / (select extract(epoch from '2026-07-17 21:35:35'::timestamp) - extract(epoch from '2026-07-17 21:35:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.515122 -3.087844)', '2026-07-17 21:35:42', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515082 -3.087733)'), GeomFromEWKT('SRID=4674;POINT (-39.515122 -3.087844)'))) / (select extract(epoch from '2026-07-17 21:35:42'::timestamp) - extract(epoch from '2026-07-17 21:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515082 -3.087733)'), GeomFromEWKT('SRID=4674;POINT (-39.515122 -3.087844)'))) / (select extract(epoch from '2026-07-17 21:35:42'::timestamp) - extract(epoch from '2026-07-17 21:35:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.515157 -3.08792)', '2026-07-17 21:35:47', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515122 -3.087844)'), GeomFromEWKT('SRID=4674;POINT (-39.515157 -3.08792)'))) / (select extract(epoch from '2026-07-17 21:35:47'::timestamp) - extract(epoch from '2026-07-17 21:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515122 -3.087844)'), GeomFromEWKT('SRID=4674;POINT (-39.515157 -3.08792)'))) / (select extract(epoch from '2026-07-17 21:35:47'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.515213 -3.08807)', '2026-07-17 21:35:56', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515157 -3.08792)'), GeomFromEWKT('SRID=4674;POINT (-39.515213 -3.08807)'))) / (select extract(epoch from '2026-07-17 21:35:56'::timestamp) - extract(epoch from '2026-07-17 21:35:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515157 -3.08792)'), GeomFromEWKT('SRID=4674;POINT (-39.515213 -3.08807)'))) / (select extract(epoch from '2026-07-17 21:35:56'::timestamp) - extract(epoch from '2026-07-17 21:35:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.515242 -3.088163)', '2026-07-17 21:36:02', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515213 -3.08807)'), GeomFromEWKT('SRID=4674;POINT (-39.515242 -3.088163)'))) / (select extract(epoch from '2026-07-17 21:36:02'::timestamp) - extract(epoch from '2026-07-17 21:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515213 -3.08807)'), GeomFromEWKT('SRID=4674;POINT (-39.515242 -3.088163)'))) / (select extract(epoch from '2026-07-17 21:36:02'::timestamp) - extract(epoch from '2026-07-17 21:35: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'), 47917, 'SRID=4674;POINT (-39.515264 -3.088254)', '2026-07-17 21:36:08', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515242 -3.088163)'), GeomFromEWKT('SRID=4674;POINT (-39.515264 -3.088254)'))) / (select extract(epoch from '2026-07-17 21:36:08'::timestamp) - extract(epoch from '2026-07-17 21:36:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515242 -3.088163)'), GeomFromEWKT('SRID=4674;POINT (-39.515264 -3.088254)'))) / (select extract(epoch from '2026-07-17 21:36:08'::timestamp) - extract(epoch from '2026-07-17 21:36: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'), 47917, 'SRID=4674;POINT (-39.51527 -3.088327)', '2026-07-17 21:36:13', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515264 -3.088254)'), GeomFromEWKT('SRID=4674;POINT (-39.51527 -3.088327)'))) / (select extract(epoch from '2026-07-17 21:36:13'::timestamp) - extract(epoch from '2026-07-17 21:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515264 -3.088254)'), GeomFromEWKT('SRID=4674;POINT (-39.51527 -3.088327)'))) / (select extract(epoch from '2026-07-17 21:36:13'::timestamp) - extract(epoch from '2026-07-17 21:36:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.515274 -3.088342)', '2026-07-17 21:36:14', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51527 -3.088327)'), GeomFromEWKT('SRID=4674;POINT (-39.515274 -3.088342)'))) / (select extract(epoch from '2026-07-17 21:36:14'::timestamp) - extract(epoch from '2026-07-17 21:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51527 -3.088327)'), GeomFromEWKT('SRID=4674;POINT (-39.515274 -3.088342)'))) / (select extract(epoch from '2026-07-17 21:36:14'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.515299 -3.088388)', '2026-07-17 21:36:17', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515274 -3.088342)'), GeomFromEWKT('SRID=4674;POINT (-39.515299 -3.088388)'))) / (select extract(epoch from '2026-07-17 21:36:17'::timestamp) - extract(epoch from '2026-07-17 21:36:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515274 -3.088342)'), GeomFromEWKT('SRID=4674;POINT (-39.515299 -3.088388)'))) / (select extract(epoch from '2026-07-17 21:36:17'::timestamp) - extract(epoch from '2026-07-17 21:36: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'), 47917, 'SRID=4674;POINT (-39.515297 -3.088402)', '2026-07-17 21:36:18', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515299 -3.088388)'), GeomFromEWKT('SRID=4674;POINT (-39.515297 -3.088402)'))) / (select extract(epoch from '2026-07-17 21:36:18'::timestamp) - extract(epoch from '2026-07-17 21:36:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515299 -3.088388)'), GeomFromEWKT('SRID=4674;POINT (-39.515297 -3.088402)'))) / (select extract(epoch from '2026-07-17 21:36:18'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.515299 -3.088418)', '2026-07-17 21:36:19', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515297 -3.088402)'), GeomFromEWKT('SRID=4674;POINT (-39.515299 -3.088418)'))) / (select extract(epoch from '2026-07-17 21:36:19'::timestamp) - extract(epoch from '2026-07-17 21:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515297 -3.088402)'), GeomFromEWKT('SRID=4674;POINT (-39.515299 -3.088418)'))) / (select extract(epoch from '2026-07-17 21:36:19'::timestamp) - extract(epoch from '2026-07-17 21:36: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'), 47917, 'SRID=4674;POINT (-39.515335 -3.088483)', '2026-07-17 21:36:23', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515299 -3.088418)'), GeomFromEWKT('SRID=4674;POINT (-39.515335 -3.088483)'))) / (select extract(epoch from '2026-07-17 21:36:23'::timestamp) - extract(epoch from '2026-07-17 21:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515299 -3.088418)'), GeomFromEWKT('SRID=4674;POINT (-39.515335 -3.088483)'))) / (select extract(epoch from '2026-07-17 21:36:23'::timestamp) - extract(epoch from '2026-07-17 21:36:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.515352 -3.088598)', '2026-07-17 21:36:30', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515335 -3.088483)'), GeomFromEWKT('SRID=4674;POINT (-39.515352 -3.088598)'))) / (select extract(epoch from '2026-07-17 21:36:30'::timestamp) - extract(epoch from '2026-07-17 21:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515335 -3.088483)'), GeomFromEWKT('SRID=4674;POINT (-39.515352 -3.088598)'))) / (select extract(epoch from '2026-07-17 21:36:30'::timestamp) - extract(epoch from '2026-07-17 21:36:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.51538 -3.088715)', '2026-07-17 21:36:37', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515352 -3.088598)'), GeomFromEWKT('SRID=4674;POINT (-39.51538 -3.088715)'))) / (select extract(epoch from '2026-07-17 21:36:37'::timestamp) - extract(epoch from '2026-07-17 21:36:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515352 -3.088598)'), GeomFromEWKT('SRID=4674;POINT (-39.51538 -3.088715)'))) / (select extract(epoch from '2026-07-17 21:36:37'::timestamp) - extract(epoch from '2026-07-17 21:36:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.515415 -3.08884)', '2026-07-17 21:36:45', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51538 -3.088715)'), GeomFromEWKT('SRID=4674;POINT (-39.515415 -3.08884)'))) / (select extract(epoch from '2026-07-17 21:36:45'::timestamp) - extract(epoch from '2026-07-17 21:36:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51538 -3.088715)'), GeomFromEWKT('SRID=4674;POINT (-39.515415 -3.08884)'))) / (select extract(epoch from '2026-07-17 21:36:45'::timestamp) - extract(epoch from '2026-07-17 21:36:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.515448 -3.088931)', '2026-07-17 21:36:51', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515415 -3.08884)'), GeomFromEWKT('SRID=4674;POINT (-39.515448 -3.088931)'))) / (select extract(epoch from '2026-07-17 21:36:51'::timestamp) - extract(epoch from '2026-07-17 21:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515415 -3.08884)'), GeomFromEWKT('SRID=4674;POINT (-39.515448 -3.088931)'))) / (select extract(epoch from '2026-07-17 21:36:51'::timestamp) - extract(epoch from '2026-07-17 21:36: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'), 47917, 'SRID=4674;POINT (-39.515478 -3.089023)', '2026-07-17 21:36:57', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515448 -3.088931)'), GeomFromEWKT('SRID=4674;POINT (-39.515478 -3.089023)'))) / (select extract(epoch from '2026-07-17 21:36:57'::timestamp) - extract(epoch from '2026-07-17 21:36:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515448 -3.088931)'), GeomFromEWKT('SRID=4674;POINT (-39.515478 -3.089023)'))) / (select extract(epoch from '2026-07-17 21:36:57'::timestamp) - extract(epoch from '2026-07-17 21:36:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.515503 -3.089121)', '2026-07-17 21:37:03', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515478 -3.089023)'), GeomFromEWKT('SRID=4674;POINT (-39.515503 -3.089121)'))) / (select extract(epoch from '2026-07-17 21:37:03'::timestamp) - extract(epoch from '2026-07-17 21:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515478 -3.089023)'), GeomFromEWKT('SRID=4674;POINT (-39.515503 -3.089121)'))) / (select extract(epoch from '2026-07-17 21:37:03'::timestamp) - extract(epoch from '2026-07-17 21:36:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.515544 -3.08922)', '2026-07-17 21:37:10', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515503 -3.089121)'), GeomFromEWKT('SRID=4674;POINT (-39.515544 -3.08922)'))) / (select extract(epoch from '2026-07-17 21:37:10'::timestamp) - extract(epoch from '2026-07-17 21:37:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515503 -3.089121)'), GeomFromEWKT('SRID=4674;POINT (-39.515544 -3.08922)'))) / (select extract(epoch from '2026-07-17 21:37:10'::timestamp) - extract(epoch from '2026-07-17 21:37: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'), 47917, 'SRID=4674;POINT (-39.515579 -3.0893)', '2026-07-17 21:37:15', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515544 -3.08922)'), GeomFromEWKT('SRID=4674;POINT (-39.515579 -3.0893)'))) / (select extract(epoch from '2026-07-17 21:37:15'::timestamp) - extract(epoch from '2026-07-17 21:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515544 -3.08922)'), GeomFromEWKT('SRID=4674;POINT (-39.515579 -3.0893)'))) / (select extract(epoch from '2026-07-17 21:37:15'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.515617 -3.089418)', '2026-07-17 21:37:22', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515579 -3.0893)'), GeomFromEWKT('SRID=4674;POINT (-39.515617 -3.089418)'))) / (select extract(epoch from '2026-07-17 21:37:22'::timestamp) - extract(epoch from '2026-07-17 21:37:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515579 -3.0893)'), GeomFromEWKT('SRID=4674;POINT (-39.515617 -3.089418)'))) / (select extract(epoch from '2026-07-17 21:37:22'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.515638 -3.089501)', '2026-07-17 21:37:27', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515617 -3.089418)'), GeomFromEWKT('SRID=4674;POINT (-39.515638 -3.089501)'))) / (select extract(epoch from '2026-07-17 21:37:27'::timestamp) - extract(epoch from '2026-07-17 21:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515617 -3.089418)'), GeomFromEWKT('SRID=4674;POINT (-39.515638 -3.089501)'))) / (select extract(epoch from '2026-07-17 21:37:27'::timestamp) - extract(epoch from '2026-07-17 21:37: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'), 47917, 'SRID=4674;POINT (-39.515658 -3.0896)', '2026-07-17 21:37:33', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515638 -3.089501)'), GeomFromEWKT('SRID=4674;POINT (-39.515658 -3.0896)'))) / (select extract(epoch from '2026-07-17 21:37:33'::timestamp) - extract(epoch from '2026-07-17 21:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515638 -3.089501)'), GeomFromEWKT('SRID=4674;POINT (-39.515658 -3.0896)'))) / (select extract(epoch from '2026-07-17 21:37:33'::timestamp) - extract(epoch from '2026-07-17 21:37: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'), 47917, 'SRID=4674;POINT (-39.515686 -3.089687)', '2026-07-17 21:37:39', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515658 -3.0896)'), GeomFromEWKT('SRID=4674;POINT (-39.515686 -3.089687)'))) / (select extract(epoch from '2026-07-17 21:37:39'::timestamp) - extract(epoch from '2026-07-17 21:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515658 -3.0896)'), GeomFromEWKT('SRID=4674;POINT (-39.515686 -3.089687)'))) / (select extract(epoch from '2026-07-17 21:37:39'::timestamp) - extract(epoch from '2026-07-17 21:37:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.515714 -3.089774)', '2026-07-17 21:37:44', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515686 -3.089687)'), GeomFromEWKT('SRID=4674;POINT (-39.515714 -3.089774)'))) / (select extract(epoch from '2026-07-17 21:37:44'::timestamp) - extract(epoch from '2026-07-17 21:37:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515686 -3.089687)'), GeomFromEWKT('SRID=4674;POINT (-39.515714 -3.089774)'))) / (select extract(epoch from '2026-07-17 21:37:44'::timestamp) - extract(epoch from '2026-07-17 21:37:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.515744 -3.08988)', '2026-07-17 21:37:51', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515714 -3.089774)'), GeomFromEWKT('SRID=4674;POINT (-39.515744 -3.08988)'))) / (select extract(epoch from '2026-07-17 21:37:51'::timestamp) - extract(epoch from '2026-07-17 21:37:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515714 -3.089774)'), GeomFromEWKT('SRID=4674;POINT (-39.515744 -3.08988)'))) / (select extract(epoch from '2026-07-17 21:37:51'::timestamp) - extract(epoch from '2026-07-17 21:37: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'), 47917, 'SRID=4674;POINT (-39.515749 -3.08994)', '2026-07-17 21:37:55', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515744 -3.08988)'), GeomFromEWKT('SRID=4674;POINT (-39.515749 -3.08994)'))) / (select extract(epoch from '2026-07-17 21:37:55'::timestamp) - extract(epoch from '2026-07-17 21:37:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515744 -3.08988)'), GeomFromEWKT('SRID=4674;POINT (-39.515749 -3.08994)'))) / (select extract(epoch from '2026-07-17 21:37:55'::timestamp) - extract(epoch from '2026-07-17 21:37: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'), 47917, 'SRID=4674;POINT (-39.515766 -3.090037)', '2026-07-17 21:38:01', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515749 -3.08994)'), GeomFromEWKT('SRID=4674;POINT (-39.515766 -3.090037)'))) / (select extract(epoch from '2026-07-17 21:38:01'::timestamp) - extract(epoch from '2026-07-17 21:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515749 -3.08994)'), GeomFromEWKT('SRID=4674;POINT (-39.515766 -3.090037)'))) / (select extract(epoch from '2026-07-17 21:38:01'::timestamp) - extract(epoch from '2026-07-17 21:37: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'), 47917, 'SRID=4674;POINT (-39.515777 -3.090069)', '2026-07-17 21:38:03', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515766 -3.090037)'), GeomFromEWKT('SRID=4674;POINT (-39.515777 -3.090069)'))) / (select extract(epoch from '2026-07-17 21:38:03'::timestamp) - extract(epoch from '2026-07-17 21:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515766 -3.090037)'), GeomFromEWKT('SRID=4674;POINT (-39.515777 -3.090069)'))) / (select extract(epoch from '2026-07-17 21:38:03'::timestamp) - extract(epoch from '2026-07-17 21:38: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'), 47917, 'SRID=4674;POINT (-39.515802 -3.090118)', '2026-07-17 21:38:06', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515777 -3.090069)'), GeomFromEWKT('SRID=4674;POINT (-39.515802 -3.090118)'))) / (select extract(epoch from '2026-07-17 21:38:06'::timestamp) - extract(epoch from '2026-07-17 21:38:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515777 -3.090069)'), GeomFromEWKT('SRID=4674;POINT (-39.515802 -3.090118)'))) / (select extract(epoch from '2026-07-17 21:38:06'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.515841 -3.090219)', '2026-07-17 21:38:13', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515802 -3.090118)'), GeomFromEWKT('SRID=4674;POINT (-39.515841 -3.090219)'))) / (select extract(epoch from '2026-07-17 21:38:13'::timestamp) - extract(epoch from '2026-07-17 21:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515802 -3.090118)'), GeomFromEWKT('SRID=4674;POINT (-39.515841 -3.090219)'))) / (select extract(epoch from '2026-07-17 21:38:13'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.515861 -3.090277)', '2026-07-17 21:38:17', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515841 -3.090219)'), GeomFromEWKT('SRID=4674;POINT (-39.515861 -3.090277)'))) / (select extract(epoch from '2026-07-17 21:38:17'::timestamp) - extract(epoch from '2026-07-17 21:38:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515841 -3.090219)'), GeomFromEWKT('SRID=4674;POINT (-39.515861 -3.090277)'))) / (select extract(epoch from '2026-07-17 21:38:17'::timestamp) - extract(epoch from '2026-07-17 21:38: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'), 47917, 'SRID=4674;POINT (-39.515887 -3.090314)', '2026-07-17 21:38:19', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515861 -3.090277)'), GeomFromEWKT('SRID=4674;POINT (-39.515887 -3.090314)'))) / (select extract(epoch from '2026-07-17 21:38:19'::timestamp) - extract(epoch from '2026-07-17 21:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515861 -3.090277)'), GeomFromEWKT('SRID=4674;POINT (-39.515887 -3.090314)'))) / (select extract(epoch from '2026-07-17 21:38:19'::timestamp) - extract(epoch from '2026-07-17 21:38: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'), 47917, 'SRID=4674;POINT (-39.515896 -3.090343)', '2026-07-17 21:38:21', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515887 -3.090314)'), GeomFromEWKT('SRID=4674;POINT (-39.515896 -3.090343)'))) / (select extract(epoch from '2026-07-17 21:38:21'::timestamp) - extract(epoch from '2026-07-17 21:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515887 -3.090314)'), GeomFromEWKT('SRID=4674;POINT (-39.515896 -3.090343)'))) / (select extract(epoch from '2026-07-17 21:38:21'::timestamp) - extract(epoch from '2026-07-17 21:38:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.515898 -3.090366)', '2026-07-17 21:38:23', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515896 -3.090343)'), GeomFromEWKT('SRID=4674;POINT (-39.515898 -3.090366)'))) / (select extract(epoch from '2026-07-17 21:38:23'::timestamp) - extract(epoch from '2026-07-17 21:38:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515896 -3.090343)'), GeomFromEWKT('SRID=4674;POINT (-39.515898 -3.090366)'))) / (select extract(epoch from '2026-07-17 21:38:23'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.515947 -3.090448)', '2026-07-17 21:38:28', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515898 -3.090366)'), GeomFromEWKT('SRID=4674;POINT (-39.515947 -3.090448)'))) / (select extract(epoch from '2026-07-17 21:38:28'::timestamp) - extract(epoch from '2026-07-17 21:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515898 -3.090366)'), GeomFromEWKT('SRID=4674;POINT (-39.515947 -3.090448)'))) / (select extract(epoch from '2026-07-17 21:38:28'::timestamp) - extract(epoch from '2026-07-17 21:38:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.515962 -3.090508)', '2026-07-17 21:38:32', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515947 -3.090448)'), GeomFromEWKT('SRID=4674;POINT (-39.515962 -3.090508)'))) / (select extract(epoch from '2026-07-17 21:38:32'::timestamp) - extract(epoch from '2026-07-17 21:38:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515947 -3.090448)'), GeomFromEWKT('SRID=4674;POINT (-39.515962 -3.090508)'))) / (select extract(epoch from '2026-07-17 21:38:32'::timestamp) - extract(epoch from '2026-07-17 21:38: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'), 47917, 'SRID=4674;POINT (-39.515996 -3.0906)', '2026-07-17 21:38:38', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515962 -3.090508)'), GeomFromEWKT('SRID=4674;POINT (-39.515996 -3.0906)'))) / (select extract(epoch from '2026-07-17 21:38:38'::timestamp) - extract(epoch from '2026-07-17 21:38:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515962 -3.090508)'), GeomFromEWKT('SRID=4674;POINT (-39.515996 -3.0906)'))) / (select extract(epoch from '2026-07-17 21:38:38'::timestamp) - extract(epoch from '2026-07-17 21:38: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'), 47917, 'SRID=4674;POINT (-39.51602 -3.090684)', '2026-07-17 21:38:43', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515996 -3.0906)'), GeomFromEWKT('SRID=4674;POINT (-39.51602 -3.090684)'))) / (select extract(epoch from '2026-07-17 21:38:43'::timestamp) - extract(epoch from '2026-07-17 21:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.515996 -3.0906)'), GeomFromEWKT('SRID=4674;POINT (-39.51602 -3.090684)'))) / (select extract(epoch from '2026-07-17 21:38:43'::timestamp) - extract(epoch from '2026-07-17 21:38:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.516059 -3.090786)', '2026-07-17 21:38:50', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51602 -3.090684)'), GeomFromEWKT('SRID=4674;POINT (-39.516059 -3.090786)'))) / (select extract(epoch from '2026-07-17 21:38:50'::timestamp) - extract(epoch from '2026-07-17 21:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51602 -3.090684)'), GeomFromEWKT('SRID=4674;POINT (-39.516059 -3.090786)'))) / (select extract(epoch from '2026-07-17 21:38:50'::timestamp) - extract(epoch from '2026-07-17 21:38: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'), 47917, 'SRID=4674;POINT (-39.516105 -3.090901)', '2026-07-17 21:38:57', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516059 -3.090786)'), GeomFromEWKT('SRID=4674;POINT (-39.516105 -3.090901)'))) / (select extract(epoch from '2026-07-17 21:38:57'::timestamp) - extract(epoch from '2026-07-17 21:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516059 -3.090786)'), GeomFromEWKT('SRID=4674;POINT (-39.516105 -3.090901)'))) / (select extract(epoch from '2026-07-17 21:38:57'::timestamp) - extract(epoch from '2026-07-17 21:38: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'), 47917, 'SRID=4674;POINT (-39.516152 -3.091006)', '2026-07-17 21:39:03', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516105 -3.090901)'), GeomFromEWKT('SRID=4674;POINT (-39.516152 -3.091006)'))) / (select extract(epoch from '2026-07-17 21:39:03'::timestamp) - extract(epoch from '2026-07-17 21:38:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516105 -3.090901)'), GeomFromEWKT('SRID=4674;POINT (-39.516152 -3.091006)'))) / (select extract(epoch from '2026-07-17 21:39:03'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.516191 -3.091106)', '2026-07-17 21:39:09', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516152 -3.091006)'), GeomFromEWKT('SRID=4674;POINT (-39.516191 -3.091106)'))) / (select extract(epoch from '2026-07-17 21:39:09'::timestamp) - extract(epoch from '2026-07-17 21:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516152 -3.091006)'), GeomFromEWKT('SRID=4674;POINT (-39.516191 -3.091106)'))) / (select extract(epoch from '2026-07-17 21:39:09'::timestamp) - extract(epoch from '2026-07-17 21:39: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'), 47917, 'SRID=4674;POINT (-39.516223 -3.091207)', '2026-07-17 21:39:15', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516191 -3.091106)'), GeomFromEWKT('SRID=4674;POINT (-39.516223 -3.091207)'))) / (select extract(epoch from '2026-07-17 21:39:15'::timestamp) - extract(epoch from '2026-07-17 21:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516191 -3.091106)'), GeomFromEWKT('SRID=4674;POINT (-39.516223 -3.091207)'))) / (select extract(epoch from '2026-07-17 21:39:15'::timestamp) - extract(epoch from '2026-07-17 21:39: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'), 47917, 'SRID=4674;POINT (-39.516263 -3.091329)', '2026-07-17 21:39:22', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516223 -3.091207)'), GeomFromEWKT('SRID=4674;POINT (-39.516263 -3.091329)'))) / (select extract(epoch from '2026-07-17 21:39:22'::timestamp) - extract(epoch from '2026-07-17 21:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516223 -3.091207)'), GeomFromEWKT('SRID=4674;POINT (-39.516263 -3.091329)'))) / (select extract(epoch from '2026-07-17 21:39:22'::timestamp) - extract(epoch from '2026-07-17 21:39:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.516317 -3.091417)', '2026-07-17 21:39:28', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516263 -3.091329)'), GeomFromEWKT('SRID=4674;POINT (-39.516317 -3.091417)'))) / (select extract(epoch from '2026-07-17 21:39:28'::timestamp) - extract(epoch from '2026-07-17 21:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516263 -3.091329)'), GeomFromEWKT('SRID=4674;POINT (-39.516317 -3.091417)'))) / (select extract(epoch from '2026-07-17 21:39:28'::timestamp) - extract(epoch from '2026-07-17 21:39:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.516361 -3.091499)', '2026-07-17 21:39:33', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516317 -3.091417)'), GeomFromEWKT('SRID=4674;POINT (-39.516361 -3.091499)'))) / (select extract(epoch from '2026-07-17 21:39:33'::timestamp) - extract(epoch from '2026-07-17 21:39:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516317 -3.091417)'), GeomFromEWKT('SRID=4674;POINT (-39.516361 -3.091499)'))) / (select extract(epoch from '2026-07-17 21:39:33'::timestamp) - extract(epoch from '2026-07-17 21:39: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'), 47917, 'SRID=4674;POINT (-39.516368 -3.091515)', '2026-07-17 21:39:34', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516361 -3.091499)'), GeomFromEWKT('SRID=4674;POINT (-39.516368 -3.091515)'))) / (select extract(epoch from '2026-07-17 21:39:34'::timestamp) - extract(epoch from '2026-07-17 21:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516361 -3.091499)'), GeomFromEWKT('SRID=4674;POINT (-39.516368 -3.091515)'))) / (select extract(epoch from '2026-07-17 21:39:34'::timestamp) - extract(epoch from '2026-07-17 21:39:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.516399 -3.091568)', '2026-07-17 21:39:37', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516368 -3.091515)'), GeomFromEWKT('SRID=4674;POINT (-39.516399 -3.091568)'))) / (select extract(epoch from '2026-07-17 21:39:37'::timestamp) - extract(epoch from '2026-07-17 21:39:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516368 -3.091515)'), GeomFromEWKT('SRID=4674;POINT (-39.516399 -3.091568)'))) / (select extract(epoch from '2026-07-17 21:39:37'::timestamp) - extract(epoch from '2026-07-17 21:39: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'), 47917, 'SRID=4674;POINT (-39.516423 -3.091654)', '2026-07-17 21:39:42', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516399 -3.091568)'), GeomFromEWKT('SRID=4674;POINT (-39.516423 -3.091654)'))) / (select extract(epoch from '2026-07-17 21:39:42'::timestamp) - extract(epoch from '2026-07-17 21:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516399 -3.091568)'), GeomFromEWKT('SRID=4674;POINT (-39.516423 -3.091654)'))) / (select extract(epoch from '2026-07-17 21:39:42'::timestamp) - extract(epoch from '2026-07-17 21:39: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'), 47917, 'SRID=4674;POINT (-39.516461 -3.091794)', '2026-07-17 21:39:51', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516423 -3.091654)'), GeomFromEWKT('SRID=4674;POINT (-39.516461 -3.091794)'))) / (select extract(epoch from '2026-07-17 21:39:51'::timestamp) - extract(epoch from '2026-07-17 21:39:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516423 -3.091654)'), GeomFromEWKT('SRID=4674;POINT (-39.516461 -3.091794)'))) / (select extract(epoch from '2026-07-17 21:39:51'::timestamp) - extract(epoch from '2026-07-17 21:39: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'), 47917, 'SRID=4674;POINT (-39.516496 -3.091918)', '2026-07-17 21:39:58', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516461 -3.091794)'), GeomFromEWKT('SRID=4674;POINT (-39.516496 -3.091918)'))) / (select extract(epoch from '2026-07-17 21:39:58'::timestamp) - extract(epoch from '2026-07-17 21:39:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516461 -3.091794)'), GeomFromEWKT('SRID=4674;POINT (-39.516496 -3.091918)'))) / (select extract(epoch from '2026-07-17 21:39:58'::timestamp) - extract(epoch from '2026-07-17 21:39: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'), 47917, 'SRID=4674;POINT (-39.516515 -3.092023)', '2026-07-17 21:40:04', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516496 -3.091918)'), GeomFromEWKT('SRID=4674;POINT (-39.516515 -3.092023)'))) / (select extract(epoch from '2026-07-17 21:40:04'::timestamp) - extract(epoch from '2026-07-17 21:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516496 -3.091918)'), GeomFromEWKT('SRID=4674;POINT (-39.516515 -3.092023)'))) / (select extract(epoch from '2026-07-17 21:40:04'::timestamp) - extract(epoch from '2026-07-17 21:39: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'), 47917, 'SRID=4674;POINT (-39.516537 -3.092125)', '2026-07-17 21:40:10', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516515 -3.092023)'), GeomFromEWKT('SRID=4674;POINT (-39.516537 -3.092125)'))) / (select extract(epoch from '2026-07-17 21:40:10'::timestamp) - extract(epoch from '2026-07-17 21:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516515 -3.092023)'), GeomFromEWKT('SRID=4674;POINT (-39.516537 -3.092125)'))) / (select extract(epoch from '2026-07-17 21:40:10'::timestamp) - extract(epoch from '2026-07-17 21:40:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.516577 -3.092202)', '2026-07-17 21:40:15', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516537 -3.092125)'), GeomFromEWKT('SRID=4674;POINT (-39.516577 -3.092202)'))) / (select extract(epoch from '2026-07-17 21:40:15'::timestamp) - extract(epoch from '2026-07-17 21:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516537 -3.092125)'), GeomFromEWKT('SRID=4674;POINT (-39.516577 -3.092202)'))) / (select extract(epoch from '2026-07-17 21:40:15'::timestamp) - extract(epoch from '2026-07-17 21:40: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'), 47917, 'SRID=4674;POINT (-39.516615 -3.092282)', '2026-07-17 21:40:20', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516577 -3.092202)'), GeomFromEWKT('SRID=4674;POINT (-39.516615 -3.092282)'))) / (select extract(epoch from '2026-07-17 21:40:20'::timestamp) - extract(epoch from '2026-07-17 21:40:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516577 -3.092202)'), GeomFromEWKT('SRID=4674;POINT (-39.516615 -3.092282)'))) / (select extract(epoch from '2026-07-17 21:40:20'::timestamp) - extract(epoch from '2026-07-17 21:40: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'), 47917, 'SRID=4674;POINT (-39.516639 -3.092378)', '2026-07-17 21:40:26', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516615 -3.092282)'), GeomFromEWKT('SRID=4674;POINT (-39.516639 -3.092378)'))) / (select extract(epoch from '2026-07-17 21:40:26'::timestamp) - extract(epoch from '2026-07-17 21:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516615 -3.092282)'), GeomFromEWKT('SRID=4674;POINT (-39.516639 -3.092378)'))) / (select extract(epoch from '2026-07-17 21:40:26'::timestamp) - extract(epoch from '2026-07-17 21:40: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'), 47917, 'SRID=4674;POINT (-39.516667 -3.092471)', '2026-07-17 21:40:32', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516639 -3.092378)'), GeomFromEWKT('SRID=4674;POINT (-39.516667 -3.092471)'))) / (select extract(epoch from '2026-07-17 21:40:32'::timestamp) - extract(epoch from '2026-07-17 21:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516639 -3.092378)'), GeomFromEWKT('SRID=4674;POINT (-39.516667 -3.092471)'))) / (select extract(epoch from '2026-07-17 21:40:32'::timestamp) - extract(epoch from '2026-07-17 21:40:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.516715 -3.092622)', '2026-07-17 21:40:41', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516667 -3.092471)'), GeomFromEWKT('SRID=4674;POINT (-39.516715 -3.092622)'))) / (select extract(epoch from '2026-07-17 21:40:41'::timestamp) - extract(epoch from '2026-07-17 21:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516667 -3.092471)'), GeomFromEWKT('SRID=4674;POINT (-39.516715 -3.092622)'))) / (select extract(epoch from '2026-07-17 21:40:41'::timestamp) - extract(epoch from '2026-07-17 21:40: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'), 47917, 'SRID=4674;POINT (-39.51675 -3.092743)', '2026-07-17 21:40:48', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516715 -3.092622)'), GeomFromEWKT('SRID=4674;POINT (-39.51675 -3.092743)'))) / (select extract(epoch from '2026-07-17 21:40:48'::timestamp) - extract(epoch from '2026-07-17 21:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516715 -3.092622)'), GeomFromEWKT('SRID=4674;POINT (-39.51675 -3.092743)'))) / (select extract(epoch from '2026-07-17 21:40:48'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.516767 -3.09289)', '2026-07-17 21:40:56', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51675 -3.092743)'), GeomFromEWKT('SRID=4674;POINT (-39.516767 -3.09289)'))) / (select extract(epoch from '2026-07-17 21:40:56'::timestamp) - extract(epoch from '2026-07-17 21:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51675 -3.092743)'), GeomFromEWKT('SRID=4674;POINT (-39.516767 -3.09289)'))) / (select extract(epoch from '2026-07-17 21:40:56'::timestamp) - extract(epoch from '2026-07-17 21:40:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.516788 -3.092994)', '2026-07-17 21:41:03', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516767 -3.09289)'), GeomFromEWKT('SRID=4674;POINT (-39.516788 -3.092994)'))) / (select extract(epoch from '2026-07-17 21:41:03'::timestamp) - extract(epoch from '2026-07-17 21:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516767 -3.09289)'), GeomFromEWKT('SRID=4674;POINT (-39.516788 -3.092994)'))) / (select extract(epoch from '2026-07-17 21:41:03'::timestamp) - extract(epoch from '2026-07-17 21:40:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.51682 -3.093079)', '2026-07-17 21:41:08', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516788 -3.092994)'), GeomFromEWKT('SRID=4674;POINT (-39.51682 -3.093079)'))) / (select extract(epoch from '2026-07-17 21:41:08'::timestamp) - extract(epoch from '2026-07-17 21:41:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516788 -3.092994)'), GeomFromEWKT('SRID=4674;POINT (-39.51682 -3.093079)'))) / (select extract(epoch from '2026-07-17 21:41:08'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.516863 -3.093182)', '2026-07-17 21:41:14', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51682 -3.093079)'), GeomFromEWKT('SRID=4674;POINT (-39.516863 -3.093182)'))) / (select extract(epoch from '2026-07-17 21:41:14'::timestamp) - extract(epoch from '2026-07-17 21:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51682 -3.093079)'), GeomFromEWKT('SRID=4674;POINT (-39.516863 -3.093182)'))) / (select extract(epoch from '2026-07-17 21:41:14'::timestamp) - extract(epoch from '2026-07-17 21:41: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'), 47917, 'SRID=4674;POINT (-39.516881 -3.093282)', '2026-07-17 21:41:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516863 -3.093182)'), GeomFromEWKT('SRID=4674;POINT (-39.516881 -3.093282)'))) / (select extract(epoch from '2026-07-17 21:41:20'::timestamp) - extract(epoch from '2026-07-17 21:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516863 -3.093182)'), GeomFromEWKT('SRID=4674;POINT (-39.516881 -3.093282)'))) / (select extract(epoch from '2026-07-17 21:41:20'::timestamp) - extract(epoch from '2026-07-17 21:41: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'), 47917, 'SRID=4674;POINT (-39.516914 -3.093397)', '2026-07-17 21:41:27', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516881 -3.093282)'), GeomFromEWKT('SRID=4674;POINT (-39.516914 -3.093397)'))) / (select extract(epoch from '2026-07-17 21:41:27'::timestamp) - extract(epoch from '2026-07-17 21:41:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516881 -3.093282)'), GeomFromEWKT('SRID=4674;POINT (-39.516914 -3.093397)'))) / (select extract(epoch from '2026-07-17 21:41:27'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.516961 -3.093515)', '2026-07-17 21:41:34', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516914 -3.093397)'), GeomFromEWKT('SRID=4674;POINT (-39.516961 -3.093515)'))) / (select extract(epoch from '2026-07-17 21:41:34'::timestamp) - extract(epoch from '2026-07-17 21:41:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516914 -3.093397)'), GeomFromEWKT('SRID=4674;POINT (-39.516961 -3.093515)'))) / (select extract(epoch from '2026-07-17 21:41:34'::timestamp) - extract(epoch from '2026-07-17 21:41:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.516998 -3.093636)', '2026-07-17 21:41:42', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516961 -3.093515)'), GeomFromEWKT('SRID=4674;POINT (-39.516998 -3.093636)'))) / (select extract(epoch from '2026-07-17 21:41:42'::timestamp) - extract(epoch from '2026-07-17 21:41:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516961 -3.093515)'), GeomFromEWKT('SRID=4674;POINT (-39.516998 -3.093636)'))) / (select extract(epoch from '2026-07-17 21:41:42'::timestamp) - extract(epoch from '2026-07-17 21:41:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.517033 -3.093728)', '2026-07-17 21:41:47', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516998 -3.093636)'), GeomFromEWKT('SRID=4674;POINT (-39.517033 -3.093728)'))) / (select extract(epoch from '2026-07-17 21:41:47'::timestamp) - extract(epoch from '2026-07-17 21:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.516998 -3.093636)'), GeomFromEWKT('SRID=4674;POINT (-39.517033 -3.093728)'))) / (select extract(epoch from '2026-07-17 21:41:47'::timestamp) - extract(epoch from '2026-07-17 21:41: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'), 47917, 'SRID=4674;POINT (-39.517044 -3.093748)', '2026-07-17 21:41:48', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517033 -3.093728)'), GeomFromEWKT('SRID=4674;POINT (-39.517044 -3.093748)'))) / (select extract(epoch from '2026-07-17 21:41:48'::timestamp) - extract(epoch from '2026-07-17 21:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517033 -3.093728)'), GeomFromEWKT('SRID=4674;POINT (-39.517044 -3.093748)'))) / (select extract(epoch from '2026-07-17 21:41:48'::timestamp) - extract(epoch from '2026-07-17 21:41: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'), 47917, 'SRID=4674;POINT (-39.517081 -3.093857)', '2026-07-17 21:41:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517044 -3.093748)'), GeomFromEWKT('SRID=4674;POINT (-39.517081 -3.093857)'))) / (select extract(epoch from '2026-07-17 21:41:54'::timestamp) - extract(epoch from '2026-07-17 21:41:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517044 -3.093748)'), GeomFromEWKT('SRID=4674;POINT (-39.517081 -3.093857)'))) / (select extract(epoch from '2026-07-17 21:41:54'::timestamp) - extract(epoch from '2026-07-17 21:41:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.517134 -3.093974)', '2026-07-17 21:42:01', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517081 -3.093857)'), GeomFromEWKT('SRID=4674;POINT (-39.517134 -3.093974)'))) / (select extract(epoch from '2026-07-17 21:42:01'::timestamp) - extract(epoch from '2026-07-17 21:41:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517081 -3.093857)'), GeomFromEWKT('SRID=4674;POINT (-39.517134 -3.093974)'))) / (select extract(epoch from '2026-07-17 21:42:01'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.517155 -3.094065)', '2026-07-17 21:42:07', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517134 -3.093974)'), GeomFromEWKT('SRID=4674;POINT (-39.517155 -3.094065)'))) / (select extract(epoch from '2026-07-17 21:42:07'::timestamp) - extract(epoch from '2026-07-17 21:42:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517134 -3.093974)'), GeomFromEWKT('SRID=4674;POINT (-39.517155 -3.094065)'))) / (select extract(epoch from '2026-07-17 21:42:07'::timestamp) - extract(epoch from '2026-07-17 21:42: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'), 47917, 'SRID=4674;POINT (-39.517176 -3.094187)', '2026-07-17 21:42:14', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517155 -3.094065)'), GeomFromEWKT('SRID=4674;POINT (-39.517176 -3.094187)'))) / (select extract(epoch from '2026-07-17 21:42:14'::timestamp) - extract(epoch from '2026-07-17 21:42:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517155 -3.094065)'), GeomFromEWKT('SRID=4674;POINT (-39.517176 -3.094187)'))) / (select extract(epoch from '2026-07-17 21:42:14'::timestamp) - extract(epoch from '2026-07-17 21:42: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'), 47917, 'SRID=4674;POINT (-39.517214 -3.094298)', '2026-07-17 21:42:21', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517176 -3.094187)'), GeomFromEWKT('SRID=4674;POINT (-39.517214 -3.094298)'))) / (select extract(epoch from '2026-07-17 21:42:21'::timestamp) - extract(epoch from '2026-07-17 21:42:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517176 -3.094187)'), GeomFromEWKT('SRID=4674;POINT (-39.517214 -3.094298)'))) / (select extract(epoch from '2026-07-17 21:42:21'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.517233 -3.094385)', '2026-07-17 21:42:27', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517214 -3.094298)'), GeomFromEWKT('SRID=4674;POINT (-39.517233 -3.094385)'))) / (select extract(epoch from '2026-07-17 21:42:27'::timestamp) - extract(epoch from '2026-07-17 21:42:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517214 -3.094298)'), GeomFromEWKT('SRID=4674;POINT (-39.517233 -3.094385)'))) / (select extract(epoch from '2026-07-17 21:42:27'::timestamp) - extract(epoch from '2026-07-17 21:42: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'), 47917, 'SRID=4674;POINT (-39.517259 -3.09449)', '2026-07-17 21:42:33', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517233 -3.094385)'), GeomFromEWKT('SRID=4674;POINT (-39.517259 -3.09449)'))) / (select extract(epoch from '2026-07-17 21:42:33'::timestamp) - extract(epoch from '2026-07-17 21:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517233 -3.094385)'), GeomFromEWKT('SRID=4674;POINT (-39.517259 -3.09449)'))) / (select extract(epoch from '2026-07-17 21:42:33'::timestamp) - extract(epoch from '2026-07-17 21:42:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.517316 -3.094572)', '2026-07-17 21:42:39', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517259 -3.09449)'), GeomFromEWKT('SRID=4674;POINT (-39.517316 -3.094572)'))) / (select extract(epoch from '2026-07-17 21:42:39'::timestamp) - extract(epoch from '2026-07-17 21:42:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517259 -3.09449)'), GeomFromEWKT('SRID=4674;POINT (-39.517316 -3.094572)'))) / (select extract(epoch from '2026-07-17 21:42:39'::timestamp) - extract(epoch from '2026-07-17 21:42: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'), 47917, 'SRID=4674;POINT (-39.517355 -3.094644)', '2026-07-17 21:42:44', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517316 -3.094572)'), GeomFromEWKT('SRID=4674;POINT (-39.517355 -3.094644)'))) / (select extract(epoch from '2026-07-17 21:42:44'::timestamp) - extract(epoch from '2026-07-17 21:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517316 -3.094572)'), GeomFromEWKT('SRID=4674;POINT (-39.517355 -3.094644)'))) / (select extract(epoch from '2026-07-17 21:42:44'::timestamp) - extract(epoch from '2026-07-17 21:42: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'), 47917, 'SRID=4674;POINT (-39.517403 -3.094752)', '2026-07-17 21:42:51', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517355 -3.094644)'), GeomFromEWKT('SRID=4674;POINT (-39.517403 -3.094752)'))) / (select extract(epoch from '2026-07-17 21:42:51'::timestamp) - extract(epoch from '2026-07-17 21:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517355 -3.094644)'), GeomFromEWKT('SRID=4674;POINT (-39.517403 -3.094752)'))) / (select extract(epoch from '2026-07-17 21:42:51'::timestamp) - extract(epoch from '2026-07-17 21:42:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.517439 -3.094848)', '2026-07-17 21:42:57', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517403 -3.094752)'), GeomFromEWKT('SRID=4674;POINT (-39.517439 -3.094848)'))) / (select extract(epoch from '2026-07-17 21:42:57'::timestamp) - extract(epoch from '2026-07-17 21:42:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517403 -3.094752)'), GeomFromEWKT('SRID=4674;POINT (-39.517439 -3.094848)'))) / (select extract(epoch from '2026-07-17 21:42:57'::timestamp) - extract(epoch from '2026-07-17 21:42:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.517447 -3.094946)', '2026-07-17 21:43:03', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517439 -3.094848)'), GeomFromEWKT('SRID=4674;POINT (-39.517447 -3.094946)'))) / (select extract(epoch from '2026-07-17 21:43:03'::timestamp) - extract(epoch from '2026-07-17 21:42:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517439 -3.094848)'), GeomFromEWKT('SRID=4674;POINT (-39.517447 -3.094946)'))) / (select extract(epoch from '2026-07-17 21:43:03'::timestamp) - extract(epoch from '2026-07-17 21:42: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'), 47917, 'SRID=4674;POINT (-39.517453 -3.094964)', '2026-07-17 21:43:04', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517447 -3.094946)'), GeomFromEWKT('SRID=4674;POINT (-39.517453 -3.094964)'))) / (select extract(epoch from '2026-07-17 21:43:04'::timestamp) - extract(epoch from '2026-07-17 21:43:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517447 -3.094946)'), GeomFromEWKT('SRID=4674;POINT (-39.517453 -3.094964)'))) / (select extract(epoch from '2026-07-17 21:43:04'::timestamp) - extract(epoch from '2026-07-17 21:43:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.517463 -3.095078)', '2026-07-17 21:43:10', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517453 -3.094964)'), GeomFromEWKT('SRID=4674;POINT (-39.517463 -3.095078)'))) / (select extract(epoch from '2026-07-17 21:43:10'::timestamp) - extract(epoch from '2026-07-17 21:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517453 -3.094964)'), GeomFromEWKT('SRID=4674;POINT (-39.517463 -3.095078)'))) / (select extract(epoch from '2026-07-17 21:43:10'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.517475 -3.095167)', '2026-07-17 21:43:15', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517463 -3.095078)'), GeomFromEWKT('SRID=4674;POINT (-39.517475 -3.095167)'))) / (select extract(epoch from '2026-07-17 21:43:15'::timestamp) - extract(epoch from '2026-07-17 21:43:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517463 -3.095078)'), GeomFromEWKT('SRID=4674;POINT (-39.517475 -3.095167)'))) / (select extract(epoch from '2026-07-17 21:43:15'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.51749 -3.095271)', '2026-07-17 21:43:21', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517475 -3.095167)'), GeomFromEWKT('SRID=4674;POINT (-39.51749 -3.095271)'))) / (select extract(epoch from '2026-07-17 21:43:21'::timestamp) - extract(epoch from '2026-07-17 21:43:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517475 -3.095167)'), GeomFromEWKT('SRID=4674;POINT (-39.51749 -3.095271)'))) / (select extract(epoch from '2026-07-17 21:43:21'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.51751 -3.095404)', '2026-07-17 21:43:29', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51749 -3.095271)'), GeomFromEWKT('SRID=4674;POINT (-39.51751 -3.095404)'))) / (select extract(epoch from '2026-07-17 21:43:29'::timestamp) - extract(epoch from '2026-07-17 21:43:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51749 -3.095271)'), GeomFromEWKT('SRID=4674;POINT (-39.51751 -3.095404)'))) / (select extract(epoch from '2026-07-17 21:43:29'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.517536 -3.095519)', '2026-07-17 21:43:36', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51751 -3.095404)'), GeomFromEWKT('SRID=4674;POINT (-39.517536 -3.095519)'))) / (select extract(epoch from '2026-07-17 21:43:36'::timestamp) - extract(epoch from '2026-07-17 21:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51751 -3.095404)'), GeomFromEWKT('SRID=4674;POINT (-39.517536 -3.095519)'))) / (select extract(epoch from '2026-07-17 21:43:36'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.517555 -3.095618)', '2026-07-17 21:43:42', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517536 -3.095519)'), GeomFromEWKT('SRID=4674;POINT (-39.517555 -3.095618)'))) / (select extract(epoch from '2026-07-17 21:43:42'::timestamp) - extract(epoch from '2026-07-17 21:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517536 -3.095519)'), GeomFromEWKT('SRID=4674;POINT (-39.517555 -3.095618)'))) / (select extract(epoch from '2026-07-17 21:43:42'::timestamp) - extract(epoch from '2026-07-17 21:43:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.517599 -3.095739)', '2026-07-17 21:43:49', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517555 -3.095618)'), GeomFromEWKT('SRID=4674;POINT (-39.517599 -3.095739)'))) / (select extract(epoch from '2026-07-17 21:43:49'::timestamp) - extract(epoch from '2026-07-17 21:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517555 -3.095618)'), GeomFromEWKT('SRID=4674;POINT (-39.517599 -3.095739)'))) / (select extract(epoch from '2026-07-17 21:43:49'::timestamp) - extract(epoch from '2026-07-17 21:43:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.517628 -3.095825)', '2026-07-17 21:43:54', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517599 -3.095739)'), GeomFromEWKT('SRID=4674;POINT (-39.517628 -3.095825)'))) / (select extract(epoch from '2026-07-17 21:43:54'::timestamp) - extract(epoch from '2026-07-17 21:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517599 -3.095739)'), GeomFromEWKT('SRID=4674;POINT (-39.517628 -3.095825)'))) / (select extract(epoch from '2026-07-17 21:43:54'::timestamp) - extract(epoch from '2026-07-17 21:43:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.517662 -3.095906)', '2026-07-17 21:43:58', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517628 -3.095825)'), GeomFromEWKT('SRID=4674;POINT (-39.517662 -3.095906)'))) / (select extract(epoch from '2026-07-17 21:43:58'::timestamp) - extract(epoch from '2026-07-17 21:43:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517628 -3.095825)'), GeomFromEWKT('SRID=4674;POINT (-39.517662 -3.095906)'))) / (select extract(epoch from '2026-07-17 21:43:58'::timestamp) - extract(epoch from '2026-07-17 21:43: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'), 47917, 'SRID=4674;POINT (-39.517664 -3.095955)', '2026-07-17 21:44:01', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517662 -3.095906)'), GeomFromEWKT('SRID=4674;POINT (-39.517664 -3.095955)'))) / (select extract(epoch from '2026-07-17 21:44:01'::timestamp) - extract(epoch from '2026-07-17 21:43:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517662 -3.095906)'), GeomFromEWKT('SRID=4674;POINT (-39.517664 -3.095955)'))) / (select extract(epoch from '2026-07-17 21:44:01'::timestamp) - extract(epoch from '2026-07-17 21:43: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'), 47917, 'SRID=4674;POINT (-39.517675 -3.095987)', '2026-07-17 21:44:03', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517664 -3.095955)'), GeomFromEWKT('SRID=4674;POINT (-39.517675 -3.095987)'))) / (select extract(epoch from '2026-07-17 21:44:03'::timestamp) - extract(epoch from '2026-07-17 21:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517664 -3.095955)'), GeomFromEWKT('SRID=4674;POINT (-39.517675 -3.095987)'))) / (select extract(epoch from '2026-07-17 21:44:03'::timestamp) - extract(epoch from '2026-07-17 21:44: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'), 47917, 'SRID=4674;POINT (-39.517696 -3.096084)', '2026-07-17 21:44:09', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517675 -3.095987)'), GeomFromEWKT('SRID=4674;POINT (-39.517696 -3.096084)'))) / (select extract(epoch from '2026-07-17 21:44:09'::timestamp) - extract(epoch from '2026-07-17 21:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517675 -3.095987)'), GeomFromEWKT('SRID=4674;POINT (-39.517696 -3.096084)'))) / (select extract(epoch from '2026-07-17 21:44:09'::timestamp) - extract(epoch from '2026-07-17 21:44: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'), 47917, 'SRID=4674;POINT (-39.517722 -3.096191)', '2026-07-17 21:44:16', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517696 -3.096084)'), GeomFromEWKT('SRID=4674;POINT (-39.517722 -3.096191)'))) / (select extract(epoch from '2026-07-17 21:44:16'::timestamp) - extract(epoch from '2026-07-17 21:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517696 -3.096084)'), GeomFromEWKT('SRID=4674;POINT (-39.517722 -3.096191)'))) / (select extract(epoch from '2026-07-17 21:44:16'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.517753 -3.096327)', '2026-07-17 21:44:24', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517722 -3.096191)'), GeomFromEWKT('SRID=4674;POINT (-39.517753 -3.096327)'))) / (select extract(epoch from '2026-07-17 21:44:24'::timestamp) - extract(epoch from '2026-07-17 21:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517722 -3.096191)'), GeomFromEWKT('SRID=4674;POINT (-39.517753 -3.096327)'))) / (select extract(epoch from '2026-07-17 21:44:24'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.51778 -3.096429)', '2026-07-17 21:44:30', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517753 -3.096327)'), GeomFromEWKT('SRID=4674;POINT (-39.51778 -3.096429)'))) / (select extract(epoch from '2026-07-17 21:44:30'::timestamp) - extract(epoch from '2026-07-17 21:44:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517753 -3.096327)'), GeomFromEWKT('SRID=4674;POINT (-39.51778 -3.096429)'))) / (select extract(epoch from '2026-07-17 21:44:30'::timestamp) - extract(epoch from '2026-07-17 21:44:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.517799 -3.096552)', '2026-07-17 21:44:37', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51778 -3.096429)'), GeomFromEWKT('SRID=4674;POINT (-39.517799 -3.096552)'))) / (select extract(epoch from '2026-07-17 21:44:37'::timestamp) - extract(epoch from '2026-07-17 21:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51778 -3.096429)'), GeomFromEWKT('SRID=4674;POINT (-39.517799 -3.096552)'))) / (select extract(epoch from '2026-07-17 21:44:37'::timestamp) - extract(epoch from '2026-07-17 21:44: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'), 47917, 'SRID=4674;POINT (-39.517818 -3.096686)', '2026-07-17 21:44:45', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517799 -3.096552)'), GeomFromEWKT('SRID=4674;POINT (-39.517818 -3.096686)'))) / (select extract(epoch from '2026-07-17 21:44:45'::timestamp) - extract(epoch from '2026-07-17 21:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517799 -3.096552)'), GeomFromEWKT('SRID=4674;POINT (-39.517818 -3.096686)'))) / (select extract(epoch from '2026-07-17 21:44:45'::timestamp) - extract(epoch from '2026-07-17 21:44: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'), 47917, 'SRID=4674;POINT (-39.517841 -3.096809)', '2026-07-17 21:44:52', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517818 -3.096686)'), GeomFromEWKT('SRID=4674;POINT (-39.517841 -3.096809)'))) / (select extract(epoch from '2026-07-17 21:44:52'::timestamp) - extract(epoch from '2026-07-17 21:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517818 -3.096686)'), GeomFromEWKT('SRID=4674;POINT (-39.517841 -3.096809)'))) / (select extract(epoch from '2026-07-17 21:44:52'::timestamp) - extract(epoch from '2026-07-17 21:44: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'), 47917, 'SRID=4674;POINT (-39.517865 -3.096909)', '2026-07-17 21:44:58', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517841 -3.096809)'), GeomFromEWKT('SRID=4674;POINT (-39.517865 -3.096909)'))) / (select extract(epoch from '2026-07-17 21:44:58'::timestamp) - extract(epoch from '2026-07-17 21:44:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517841 -3.096809)'), GeomFromEWKT('SRID=4674;POINT (-39.517865 -3.096909)'))) / (select extract(epoch from '2026-07-17 21:44:58'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.517883 -3.097027)', '2026-07-17 21:45:05', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517865 -3.096909)'), GeomFromEWKT('SRID=4674;POINT (-39.517883 -3.097027)'))) / (select extract(epoch from '2026-07-17 21:45:05'::timestamp) - extract(epoch from '2026-07-17 21:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517865 -3.096909)'), GeomFromEWKT('SRID=4674;POINT (-39.517883 -3.097027)'))) / (select extract(epoch from '2026-07-17 21:45:05'::timestamp) - extract(epoch from '2026-07-17 21:44: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'), 47917, 'SRID=4674;POINT (-39.517894 -3.097141)', '2026-07-17 21:45:12', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517883 -3.097027)'), GeomFromEWKT('SRID=4674;POINT (-39.517894 -3.097141)'))) / (select extract(epoch from '2026-07-17 21:45:12'::timestamp) - extract(epoch from '2026-07-17 21:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517883 -3.097027)'), GeomFromEWKT('SRID=4674;POINT (-39.517894 -3.097141)'))) / (select extract(epoch from '2026-07-17 21:45:12'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.517907 -3.097264)', '2026-07-17 21:45:19', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517894 -3.097141)'), GeomFromEWKT('SRID=4674;POINT (-39.517907 -3.097264)'))) / (select extract(epoch from '2026-07-17 21:45:19'::timestamp) - extract(epoch from '2026-07-17 21:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517894 -3.097141)'), GeomFromEWKT('SRID=4674;POINT (-39.517907 -3.097264)'))) / (select extract(epoch from '2026-07-17 21:45:19'::timestamp) - extract(epoch from '2026-07-17 21:45: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'), 47917, 'SRID=4674;POINT (-39.517948 -3.097395)', '2026-07-17 21:45:26', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517907 -3.097264)'), GeomFromEWKT('SRID=4674;POINT (-39.517948 -3.097395)'))) / (select extract(epoch from '2026-07-17 21:45:26'::timestamp) - extract(epoch from '2026-07-17 21:45:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517907 -3.097264)'), GeomFromEWKT('SRID=4674;POINT (-39.517948 -3.097395)'))) / (select extract(epoch from '2026-07-17 21:45:26'::timestamp) - extract(epoch from '2026-07-17 21:45: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'), 47917, 'SRID=4674;POINT (-39.51798 -3.097523)', '2026-07-17 21:45:33', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517948 -3.097395)'), GeomFromEWKT('SRID=4674;POINT (-39.51798 -3.097523)'))) / (select extract(epoch from '2026-07-17 21:45:33'::timestamp) - extract(epoch from '2026-07-17 21:45:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.517948 -3.097395)'), GeomFromEWKT('SRID=4674;POINT (-39.51798 -3.097523)'))) / (select extract(epoch from '2026-07-17 21:45:33'::timestamp) - extract(epoch from '2026-07-17 21:45: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'), 47917, 'SRID=4674;POINT (-39.51802 -3.097657)', '2026-07-17 21:45:40', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51798 -3.097523)'), GeomFromEWKT('SRID=4674;POINT (-39.51802 -3.097657)'))) / (select extract(epoch from '2026-07-17 21:45:40'::timestamp) - extract(epoch from '2026-07-17 21:45:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51798 -3.097523)'), GeomFromEWKT('SRID=4674;POINT (-39.51802 -3.097657)'))) / (select extract(epoch from '2026-07-17 21:45:40'::timestamp) - extract(epoch from '2026-07-17 21:45:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.518049 -3.097789)', '2026-07-17 21:45:48', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51802 -3.097657)'), GeomFromEWKT('SRID=4674;POINT (-39.518049 -3.097789)'))) / (select extract(epoch from '2026-07-17 21:45:48'::timestamp) - extract(epoch from '2026-07-17 21:45:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51802 -3.097657)'), GeomFromEWKT('SRID=4674;POINT (-39.518049 -3.097789)'))) / (select extract(epoch from '2026-07-17 21:45:48'::timestamp) - extract(epoch from '2026-07-17 21:45: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'), 47917, 'SRID=4674;POINT (-39.518088 -3.097933)', '2026-07-17 21:45:57', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.518049 -3.097789)'), GeomFromEWKT('SRID=4674;POINT (-39.518088 -3.097933)'))) / (select extract(epoch from '2026-07-17 21:45:57'::timestamp) - extract(epoch from '2026-07-17 21:45:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.518049 -3.097789)'), GeomFromEWKT('SRID=4674;POINT (-39.518088 -3.097933)'))) / (select extract(epoch from '2026-07-17 21:45:57'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.518119 -3.09805)', '2026-07-17 21:46:04', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.518088 -3.097933)'), GeomFromEWKT('SRID=4674;POINT (-39.518119 -3.09805)'))) / (select extract(epoch from '2026-07-17 21:46:04'::timestamp) - extract(epoch from '2026-07-17 21:45:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.518088 -3.097933)'), GeomFromEWKT('SRID=4674;POINT (-39.518119 -3.09805)'))) / (select extract(epoch from '2026-07-17 21:46:04'::timestamp) - extract(epoch from '2026-07-17 21:45: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'), 47917, 'SRID=4674;POINT (-39.51815 -3.098151)', '2026-07-17 21:46:10', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.518119 -3.09805)'), GeomFromEWKT('SRID=4674;POINT (-39.51815 -3.098151)'))) / (select extract(epoch from '2026-07-17 21:46:10'::timestamp) - extract(epoch from '2026-07-17 21:46:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.518119 -3.09805)'), GeomFromEWKT('SRID=4674;POINT (-39.51815 -3.098151)'))) / (select extract(epoch from '2026-07-17 21:46:10'::timestamp) - extract(epoch from '2026-07-17 21:46: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'), 47917, 'SRID=4674;POINT (-39.518165 -3.098217)', '2026-07-17 21:46:14', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51815 -3.098151)'), GeomFromEWKT('SRID=4674;POINT (-39.518165 -3.098217)'))) / (select extract(epoch from '2026-07-17 21:46:14'::timestamp) - extract(epoch from '2026-07-17 21:46:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51815 -3.098151)'), GeomFromEWKT('SRID=4674;POINT (-39.518165 -3.098217)'))) / (select extract(epoch from '2026-07-17 21:46:14'::timestamp) - extract(epoch from '2026-07-17 21:46: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'), 47917, 'SRID=4674;POINT (-39.518178 -3.098248)', '2026-07-17 21:46:16', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.518165 -3.098217)'), GeomFromEWKT('SRID=4674;POINT (-39.518178 -3.098248)'))) / (select extract(epoch from '2026-07-17 21:46:16'::timestamp) - extract(epoch from '2026-07-17 21:46:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.518165 -3.098217)'), GeomFromEWKT('SRID=4674;POINT (-39.518178 -3.098248)'))) / (select extract(epoch from '2026-07-17 21:46:16'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.518222 -3.098372)', '2026-07-17 21:46:23', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.518178 -3.098248)'), GeomFromEWKT('SRID=4674;POINT (-39.518222 -3.098372)'))) / (select extract(epoch from '2026-07-17 21:46:23'::timestamp) - extract(epoch from '2026-07-17 21:46:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.518178 -3.098248)'), GeomFromEWKT('SRID=4674;POINT (-39.518222 -3.098372)'))) / (select extract(epoch from '2026-07-17 21:46:23'::timestamp) - extract(epoch from '2026-07-17 21:46: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'), 47917, 'SRID=4674;POINT (-39.518247 -3.098486)', '2026-07-17 21:46:30', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.518222 -3.098372)'), GeomFromEWKT('SRID=4674;POINT (-39.518247 -3.098486)'))) / (select extract(epoch from '2026-07-17 21:46:30'::timestamp) - extract(epoch from '2026-07-17 21:46:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.518222 -3.098372)'), GeomFromEWKT('SRID=4674;POINT (-39.518247 -3.098486)'))) / (select extract(epoch from '2026-07-17 21:46:30'::timestamp) - extract(epoch from '2026-07-17 21:46: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'), 47917, 'SRID=4674;POINT (-39.518276 -3.098583)', '2026-07-17 21:46:36', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.518247 -3.098486)'), GeomFromEWKT('SRID=4674;POINT (-39.518276 -3.098583)'))) / (select extract(epoch from '2026-07-17 21:46:36'::timestamp) - extract(epoch from '2026-07-17 21:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.518247 -3.098486)'), GeomFromEWKT('SRID=4674;POINT (-39.518276 -3.098583)'))) / (select extract(epoch from '2026-07-17 21:46:36'::timestamp) - extract(epoch from '2026-07-17 21:46:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.518295 -3.098689)', '2026-07-17 21:46:42', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.518276 -3.098583)'), GeomFromEWKT('SRID=4674;POINT (-39.518295 -3.098689)'))) / (select extract(epoch from '2026-07-17 21:46:42'::timestamp) - extract(epoch from '2026-07-17 21:46:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.518276 -3.098583)'), GeomFromEWKT('SRID=4674;POINT (-39.518295 -3.098689)'))) / (select extract(epoch from '2026-07-17 21:46:42'::timestamp) - extract(epoch from '2026-07-17 21:46: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'), 47917, 'SRID=4674;POINT (-39.51832 -3.098809)', '2026-07-17 21:46:49', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.518295 -3.098689)'), GeomFromEWKT('SRID=4674;POINT (-39.51832 -3.098809)'))) / (select extract(epoch from '2026-07-17 21:46:49'::timestamp) - extract(epoch from '2026-07-17 21:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.518295 -3.098689)'), GeomFromEWKT('SRID=4674;POINT (-39.51832 -3.098809)'))) / (select extract(epoch from '2026-07-17 21:46:49'::timestamp) - extract(epoch from '2026-07-17 21:46:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.518359 -3.098938)', '2026-07-17 21:46:56', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51832 -3.098809)'), GeomFromEWKT('SRID=4674;POINT (-39.518359 -3.098938)'))) / (select extract(epoch from '2026-07-17 21:46:56'::timestamp) - extract(epoch from '2026-07-17 21:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51832 -3.098809)'), GeomFromEWKT('SRID=4674;POINT (-39.518359 -3.098938)'))) / (select extract(epoch from '2026-07-17 21:46:56'::timestamp) - extract(epoch from '2026-07-17 21:46: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'), 47917, 'SRID=4674;POINT (-39.51838 -3.099032)', '2026-07-17 21:47:02', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.518359 -3.098938)'), GeomFromEWKT('SRID=4674;POINT (-39.51838 -3.099032)'))) / (select extract(epoch from '2026-07-17 21:47:02'::timestamp) - extract(epoch from '2026-07-17 21:46:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.518359 -3.098938)'), GeomFromEWKT('SRID=4674;POINT (-39.51838 -3.099032)'))) / (select extract(epoch from '2026-07-17 21:47:02'::timestamp) - extract(epoch from '2026-07-17 21:46: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'), 47917, 'SRID=4674;POINT (-39.518392 -3.099137)', '2026-07-17 21:47:09', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51838 -3.099032)'), GeomFromEWKT('SRID=4674;POINT (-39.518392 -3.099137)'))) / (select extract(epoch from '2026-07-17 21:47:09'::timestamp) - extract(epoch from '2026-07-17 21:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51838 -3.099032)'), GeomFromEWKT('SRID=4674;POINT (-39.518392 -3.099137)'))) / (select extract(epoch from '2026-07-17 21:47:09'::timestamp) - extract(epoch from '2026-07-17 21:47: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'), 47917, 'SRID=4674;POINT (-39.518424 -3.099239)', '2026-07-17 21:47:15', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.518392 -3.099137)'), GeomFromEWKT('SRID=4674;POINT (-39.518424 -3.099239)'))) / (select extract(epoch from '2026-07-17 21:47:15'::timestamp) - extract(epoch from '2026-07-17 21:47:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.518392 -3.099137)'), GeomFromEWKT('SRID=4674;POINT (-39.518424 -3.099239)'))) / (select extract(epoch from '2026-07-17 21:47:15'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.518459 -3.099382)', '2026-07-17 21:47:23', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.518424 -3.099239)'), GeomFromEWKT('SRID=4674;POINT (-39.518459 -3.099382)'))) / (select extract(epoch from '2026-07-17 21:47:23'::timestamp) - extract(epoch from '2026-07-17 21:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.518424 -3.099239)'), GeomFromEWKT('SRID=4674;POINT (-39.518459 -3.099382)'))) / (select extract(epoch from '2026-07-17 21:47:23'::timestamp) - extract(epoch from '2026-07-17 21:47:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.518485 -3.099485)', '2026-07-17 21:47:29', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.518459 -3.099382)'), GeomFromEWKT('SRID=4674;POINT (-39.518485 -3.099485)'))) / (select extract(epoch from '2026-07-17 21:47:29'::timestamp) - extract(epoch from '2026-07-17 21:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.518459 -3.099382)'), GeomFromEWKT('SRID=4674;POINT (-39.518485 -3.099485)'))) / (select extract(epoch from '2026-07-17 21:47:29'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.518522 -3.099587)', '2026-07-17 21:47:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.518485 -3.099485)'), GeomFromEWKT('SRID=4674;POINT (-39.518522 -3.099587)'))) / (select extract(epoch from '2026-07-17 21:47:35'::timestamp) - extract(epoch from '2026-07-17 21:47:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.518485 -3.099485)'), GeomFromEWKT('SRID=4674;POINT (-39.518522 -3.099587)'))) / (select extract(epoch from '2026-07-17 21:47:35'::timestamp) - extract(epoch from '2026-07-17 21:47: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'), 47917, 'SRID=4674;POINT (-39.518549 -3.09971)', '2026-07-17 21:47:42', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.518522 -3.099587)'), GeomFromEWKT('SRID=4674;POINT (-39.518549 -3.09971)'))) / (select extract(epoch from '2026-07-17 21:47:42'::timestamp) - extract(epoch from '2026-07-17 21:47:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.518522 -3.099587)'), GeomFromEWKT('SRID=4674;POINT (-39.518549 -3.09971)'))) / (select extract(epoch from '2026-07-17 21:47:42'::timestamp) - extract(epoch from '2026-07-17 21:47: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'), 47917, 'SRID=4674;POINT (-39.518565 -3.099826)', '2026-07-17 21:47:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.518549 -3.09971)'), GeomFromEWKT('SRID=4674;POINT (-39.518565 -3.099826)'))) / (select extract(epoch from '2026-07-17 21:47:48'::timestamp) - extract(epoch from '2026-07-17 21:47:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.518549 -3.09971)'), GeomFromEWKT('SRID=4674;POINT (-39.518565 -3.099826)'))) / (select extract(epoch from '2026-07-17 21:47:48'::timestamp) - extract(epoch from '2026-07-17 21: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'), 47917, 'SRID=4674;POINT (-39.51859 -3.099934)', '2026-07-17 21:47:54', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.518565 -3.099826)'), GeomFromEWKT('SRID=4674;POINT (-39.51859 -3.099934)'))) / (select extract(epoch from '2026-07-17 21:47:54'::timestamp) - extract(epoch from '2026-07-17 21:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.518565 -3.099826)'), GeomFromEWKT('SRID=4674;POINT (-39.51859 -3.099934)'))) / (select extract(epoch from '2026-07-17 21:47:54'::timestamp) - extract(epoch from '2026-07-17 21:47: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'), 47917, 'SRID=4674;POINT (-39.518639 -3.100085)', '2026-07-17 21:48:02', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51859 -3.099934)'), GeomFromEWKT('SRID=4674;POINT (-39.518639 -3.100085)'))) / (select extract(epoch from '2026-07-17 21:48:02'::timestamp) - extract(epoch from '2026-07-17 21:47:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51859 -3.099934)'), GeomFromEWKT('SRID=4674;POINT (-39.518639 -3.100085)'))) / (select extract(epoch from '2026-07-17 21:48:02'::timestamp) - extract(epoch from '2026-07-17 21:47:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47917, 'SRID=4674;POINT (-39.518665 -3.100213)', '2026-07-17 21:48:10', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.518639 -3.100085)'), GeomFromEWKT('SRID=4674;POINT (-39.518665 -3.100213)'))) / (select extract(epoch from '2026-07-17 21:48:10'::timestamp) - extract(epoch from '2026-07-17 21:48:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.518639 -3.100085)'), GeomFromEWKT('SRID=4674;POINT (-39.518665 -3.100213)'))) / (select extract(epoch from '2026-07-17 21:48:10'::timestamp) - extract(epoch from '2026-07-17 21:48:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
