 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032128 -3.358919)', '2026-07-22 17:53:54', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032125 -3.358924)'), GeomFromEWKT('SRID=4674;POINT (-39.032128 -3.358919)'))) / (select extract(epoch from '2026-07-22 17:53:54'::timestamp) - extract(epoch from '2026-07-22 17:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032125 -3.358924)'), GeomFromEWKT('SRID=4674;POINT (-39.032128 -3.358919)'))) / (select extract(epoch from '2026-07-22 17:53:54'::timestamp) - extract(epoch from '2026-07-22 17:53: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'), 47445, 'SRID=4674;POINT (-39.032129 -3.358925)', '2026-07-22 17:54:05', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032128 -3.358919)'), GeomFromEWKT('SRID=4674;POINT (-39.032129 -3.358925)'))) / (select extract(epoch from '2026-07-22 17:54:05'::timestamp) - extract(epoch from '2026-07-22 17:53:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032128 -3.358919)'), GeomFromEWKT('SRID=4674;POINT (-39.032129 -3.358925)'))) / (select extract(epoch from '2026-07-22 17:54:05'::timestamp) - extract(epoch from '2026-07-22 17:53: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'), 47445, 'SRID=4674;POINT (-39.032129 -3.358935)', '2026-07-22 17:54:21', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032129 -3.358925)'), GeomFromEWKT('SRID=4674;POINT (-39.032129 -3.358935)'))) / (select extract(epoch from '2026-07-22 17:54:21'::timestamp) - extract(epoch from '2026-07-22 17:54:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032129 -3.358925)'), GeomFromEWKT('SRID=4674;POINT (-39.032129 -3.358935)'))) / (select extract(epoch from '2026-07-22 17:54:21'::timestamp) - extract(epoch from '2026-07-22 17:54: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'), 47445, 'SRID=4674;POINT (-39.03213 -3.358945)', '2026-07-22 17:54:37', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032129 -3.358935)'), GeomFromEWKT('SRID=4674;POINT (-39.03213 -3.358945)'))) / (select extract(epoch from '2026-07-22 17:54:37'::timestamp) - extract(epoch from '2026-07-22 17:54:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032129 -3.358935)'), GeomFromEWKT('SRID=4674;POINT (-39.03213 -3.358945)'))) / (select extract(epoch from '2026-07-22 17:54:37'::timestamp) - extract(epoch from '2026-07-22 17:54: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'), 47445, 'SRID=4674;POINT (-39.032132 -3.358938)', '2026-07-22 17:54:48', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03213 -3.358945)'), GeomFromEWKT('SRID=4674;POINT (-39.032132 -3.358938)'))) / (select extract(epoch from '2026-07-22 17:54:48'::timestamp) - extract(epoch from '2026-07-22 17:54:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03213 -3.358945)'), GeomFromEWKT('SRID=4674;POINT (-39.032132 -3.358938)'))) / (select extract(epoch from '2026-07-22 17:54:48'::timestamp) - extract(epoch from '2026-07-22 17:54: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'), 47445, 'SRID=4674;POINT (-39.032132 -3.358943)', '2026-07-22 17:55:00', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032132 -3.358938)'), GeomFromEWKT('SRID=4674;POINT (-39.032132 -3.358943)'))) / (select extract(epoch from '2026-07-22 17:55:00'::timestamp) - extract(epoch from '2026-07-22 17:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032132 -3.358938)'), GeomFromEWKT('SRID=4674;POINT (-39.032132 -3.358943)'))) / (select extract(epoch from '2026-07-22 17:55:00'::timestamp) - extract(epoch from '2026-07-22 17:54: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'), 47445, 'SRID=4674;POINT (-39.032129 -3.358952)', '2026-07-22 17:55:09', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032132 -3.358943)'), GeomFromEWKT('SRID=4674;POINT (-39.032129 -3.358952)'))) / (select extract(epoch from '2026-07-22 17:55:09'::timestamp) - extract(epoch from '2026-07-22 17:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032132 -3.358943)'), GeomFromEWKT('SRID=4674;POINT (-39.032129 -3.358952)'))) / (select extract(epoch from '2026-07-22 17:55:09'::timestamp) - extract(epoch from '2026-07-22 17:55: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'), 47445, 'SRID=4674;POINT (-39.032118 -3.358957)', '2026-07-22 17:55:15', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032129 -3.358952)'), GeomFromEWKT('SRID=4674;POINT (-39.032118 -3.358957)'))) / (select extract(epoch from '2026-07-22 17:55:15'::timestamp) - extract(epoch from '2026-07-22 17:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032129 -3.358952)'), GeomFromEWKT('SRID=4674;POINT (-39.032118 -3.358957)'))) / (select extract(epoch from '2026-07-22 17:55:15'::timestamp) - extract(epoch from '2026-07-22 17:55: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'), 47445, 'SRID=4674;POINT (-39.03212 -3.358956)', '2026-07-22 17:55:24', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032118 -3.358957)'), GeomFromEWKT('SRID=4674;POINT (-39.03212 -3.358956)'))) / (select extract(epoch from '2026-07-22 17:55:24'::timestamp) - extract(epoch from '2026-07-22 17:55:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032118 -3.358957)'), GeomFromEWKT('SRID=4674;POINT (-39.03212 -3.358956)'))) / (select extract(epoch from '2026-07-22 17:55:24'::timestamp) - extract(epoch from '2026-07-22 17:55: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'), 47445, 'SRID=4674;POINT (-39.032125 -3.35896)', '2026-07-22 17:55:30', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03212 -3.358956)'), GeomFromEWKT('SRID=4674;POINT (-39.032125 -3.35896)'))) / (select extract(epoch from '2026-07-22 17:55:30'::timestamp) - extract(epoch from '2026-07-22 17:55:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03212 -3.358956)'), GeomFromEWKT('SRID=4674;POINT (-39.032125 -3.35896)'))) / (select extract(epoch from '2026-07-22 17:55:30'::timestamp) - extract(epoch from '2026-07-22 17:55: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'), 47445, 'SRID=4674;POINT (-39.032122 -3.358961)', '2026-07-22 17:55:37', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032125 -3.35896)'), GeomFromEWKT('SRID=4674;POINT (-39.032122 -3.358961)'))) / (select extract(epoch from '2026-07-22 17:55:37'::timestamp) - extract(epoch from '2026-07-22 17:55:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032125 -3.35896)'), GeomFromEWKT('SRID=4674;POINT (-39.032122 -3.358961)'))) / (select extract(epoch from '2026-07-22 17:55:37'::timestamp) - extract(epoch from '2026-07-22 17:55: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'), 47445, 'SRID=4674;POINT (-39.032125 -3.358953)', '2026-07-22 17:55:51', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032122 -3.358961)'), GeomFromEWKT('SRID=4674;POINT (-39.032125 -3.358953)'))) / (select extract(epoch from '2026-07-22 17:55:51'::timestamp) - extract(epoch from '2026-07-22 17:55:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032122 -3.358961)'), GeomFromEWKT('SRID=4674;POINT (-39.032125 -3.358953)'))) / (select extract(epoch from '2026-07-22 17:55:51'::timestamp) - extract(epoch from '2026-07-22 17:55:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032133 -3.358955)', '2026-07-22 17:55:57', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032125 -3.358953)'), GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358955)'))) / (select extract(epoch from '2026-07-22 17:55:57'::timestamp) - extract(epoch from '2026-07-22 17:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032125 -3.358953)'), GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358955)'))) / (select extract(epoch from '2026-07-22 17:55:57'::timestamp) - extract(epoch from '2026-07-22 17:55: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'), 47445, 'SRID=4674;POINT (-39.032129 -3.358961)', '2026-07-22 17:56:03', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358955)'), GeomFromEWKT('SRID=4674;POINT (-39.032129 -3.358961)'))) / (select extract(epoch from '2026-07-22 17:56:03'::timestamp) - extract(epoch from '2026-07-22 17:55:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358955)'), GeomFromEWKT('SRID=4674;POINT (-39.032129 -3.358961)'))) / (select extract(epoch from '2026-07-22 17:56:03'::timestamp) - extract(epoch from '2026-07-22 17:55: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'), 47445, 'SRID=4674;POINT (-39.032133 -3.358953)', '2026-07-22 17:56:18', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032129 -3.358961)'), GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358953)'))) / (select extract(epoch from '2026-07-22 17:56:18'::timestamp) - extract(epoch from '2026-07-22 17:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032129 -3.358961)'), GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358953)'))) / (select extract(epoch from '2026-07-22 17:56:18'::timestamp) - extract(epoch from '2026-07-22 17:56: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'), 47445, 'SRID=4674;POINT (-39.03214 -3.358958)', '2026-07-22 17:56:30', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358953)'), GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358958)'))) / (select extract(epoch from '2026-07-22 17:56:30'::timestamp) - extract(epoch from '2026-07-22 17:56:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358953)'), GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358958)'))) / (select extract(epoch from '2026-07-22 17:56:30'::timestamp) - extract(epoch from '2026-07-22 17:56: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'), 47445, 'SRID=4674;POINT (-39.032133 -3.358952)', '2026-07-22 17:56:45', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358958)'), GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358952)'))) / (select extract(epoch from '2026-07-22 17:56:45'::timestamp) - extract(epoch from '2026-07-22 17:56:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358958)'), GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358952)'))) / (select extract(epoch from '2026-07-22 17:56:45'::timestamp) - extract(epoch from '2026-07-22 17:56: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'), 47445, 'SRID=4674;POINT (-39.032141 -3.35895)', '2026-07-22 17:56:50', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358952)'), GeomFromEWKT('SRID=4674;POINT (-39.032141 -3.35895)'))) / (select extract(epoch from '2026-07-22 17:56:50'::timestamp) - extract(epoch from '2026-07-22 17:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358952)'), GeomFromEWKT('SRID=4674;POINT (-39.032141 -3.35895)'))) / (select extract(epoch from '2026-07-22 17:56:50'::timestamp) - extract(epoch from '2026-07-22 17:56: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'), 47445, 'SRID=4674;POINT (-39.032142 -3.35896)', '2026-07-22 17:57:01', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032141 -3.35895)'), GeomFromEWKT('SRID=4674;POINT (-39.032142 -3.35896)'))) / (select extract(epoch from '2026-07-22 17:57:01'::timestamp) - extract(epoch from '2026-07-22 17:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032141 -3.35895)'), GeomFromEWKT('SRID=4674;POINT (-39.032142 -3.35896)'))) / (select extract(epoch from '2026-07-22 17:57:01'::timestamp) - extract(epoch from '2026-07-22 17:56: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'), 47445, 'SRID=4674;POINT (-39.032144 -3.358962)', '2026-07-22 17:57:10', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032142 -3.35896)'), GeomFromEWKT('SRID=4674;POINT (-39.032144 -3.358962)'))) / (select extract(epoch from '2026-07-22 17:57:10'::timestamp) - extract(epoch from '2026-07-22 17:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032142 -3.35896)'), GeomFromEWKT('SRID=4674;POINT (-39.032144 -3.358962)'))) / (select extract(epoch from '2026-07-22 17:57:10'::timestamp) - extract(epoch from '2026-07-22 17:57: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'), 47445, 'SRID=4674;POINT (-39.032149 -3.358957)', '2026-07-22 17:57:20', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032144 -3.358962)'), GeomFromEWKT('SRID=4674;POINT (-39.032149 -3.358957)'))) / (select extract(epoch from '2026-07-22 17:57:20'::timestamp) - extract(epoch from '2026-07-22 17:57:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032144 -3.358962)'), GeomFromEWKT('SRID=4674;POINT (-39.032149 -3.358957)'))) / (select extract(epoch from '2026-07-22 17:57:20'::timestamp) - extract(epoch from '2026-07-22 17:57: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'), 47445, 'SRID=4674;POINT (-39.032143 -3.358952)', '2026-07-22 17:57:34', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032149 -3.358957)'), GeomFromEWKT('SRID=4674;POINT (-39.032143 -3.358952)'))) / (select extract(epoch from '2026-07-22 17:57:34'::timestamp) - extract(epoch from '2026-07-22 17:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032149 -3.358957)'), GeomFromEWKT('SRID=4674;POINT (-39.032143 -3.358952)'))) / (select extract(epoch from '2026-07-22 17:57:34'::timestamp) - extract(epoch from '2026-07-22 17:57: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'), 47445, 'SRID=4674;POINT (-39.032142 -3.35896)', '2026-07-22 17:57:45', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032143 -3.358952)'), GeomFromEWKT('SRID=4674;POINT (-39.032142 -3.35896)'))) / (select extract(epoch from '2026-07-22 17:57:45'::timestamp) - extract(epoch from '2026-07-22 17:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032143 -3.358952)'), GeomFromEWKT('SRID=4674;POINT (-39.032142 -3.35896)'))) / (select extract(epoch from '2026-07-22 17:57:45'::timestamp) - extract(epoch from '2026-07-22 17:57: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'), 47445, 'SRID=4674;POINT (-39.032144 -3.358973)', '2026-07-22 17:58:01', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032142 -3.35896)'), GeomFromEWKT('SRID=4674;POINT (-39.032144 -3.358973)'))) / (select extract(epoch from '2026-07-22 17:58:01'::timestamp) - extract(epoch from '2026-07-22 17:57:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032142 -3.35896)'), GeomFromEWKT('SRID=4674;POINT (-39.032144 -3.358973)'))) / (select extract(epoch from '2026-07-22 17:58:01'::timestamp) - extract(epoch from '2026-07-22 17:57:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.03214 -3.35897)', '2026-07-22 17:58:08', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032144 -3.358973)'), GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.35897)'))) / (select extract(epoch from '2026-07-22 17:58:08'::timestamp) - extract(epoch from '2026-07-22 17:58:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032144 -3.358973)'), GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.35897)'))) / (select extract(epoch from '2026-07-22 17:58:08'::timestamp) - extract(epoch from '2026-07-22 17:58: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'), 47445, 'SRID=4674;POINT (-39.03214 -3.358965)', '2026-07-22 17:58:14', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.35897)'), GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358965)'))) / (select extract(epoch from '2026-07-22 17:58:14'::timestamp) - extract(epoch from '2026-07-22 17:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.35897)'), GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358965)'))) / (select extract(epoch from '2026-07-22 17:58:14'::timestamp) - extract(epoch from '2026-07-22 17:58: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'), 47445, 'SRID=4674;POINT (-39.032139 -3.35897)', '2026-07-22 17:58:24', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358965)'), GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.35897)'))) / (select extract(epoch from '2026-07-22 17:58:24'::timestamp) - extract(epoch from '2026-07-22 17:58:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358965)'), GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.35897)'))) / (select extract(epoch from '2026-07-22 17:58:24'::timestamp) - extract(epoch from '2026-07-22 17:58: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'), 47445, 'SRID=4674;POINT (-39.032138 -3.358975)', '2026-07-22 17:58:39', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.35897)'), GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358975)'))) / (select extract(epoch from '2026-07-22 17:58:39'::timestamp) - extract(epoch from '2026-07-22 17:58:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.35897)'), GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358975)'))) / (select extract(epoch from '2026-07-22 17:58:39'::timestamp) - extract(epoch from '2026-07-22 17:58: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'), 47445, 'SRID=4674;POINT (-39.032136 -3.358975)', '2026-07-22 17:58:51', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358975)'), GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358975)'))) / (select extract(epoch from '2026-07-22 17:58:51'::timestamp) - extract(epoch from '2026-07-22 17:58:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358975)'), GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358975)'))) / (select extract(epoch from '2026-07-22 17:58:51'::timestamp) - extract(epoch from '2026-07-22 17:58: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'), 47445, 'SRID=4674;POINT (-39.032138 -3.358973)', '2026-07-22 17:59:04', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358975)'), GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358973)'))) / (select extract(epoch from '2026-07-22 17:59:04'::timestamp) - extract(epoch from '2026-07-22 17:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358975)'), GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358973)'))) / (select extract(epoch from '2026-07-22 17:59:04'::timestamp) - extract(epoch from '2026-07-22 17:58:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032139 -3.358975)', '2026-07-22 17:59:13', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358973)'), GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.358975)'))) / (select extract(epoch from '2026-07-22 17:59:13'::timestamp) - extract(epoch from '2026-07-22 17:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358973)'), GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.358975)'))) / (select extract(epoch from '2026-07-22 17:59:13'::timestamp) - extract(epoch from '2026-07-22 17:59:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032135 -3.358976)', '2026-07-22 17:59:21', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.358975)'), GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.358976)'))) / (select extract(epoch from '2026-07-22 17:59:21'::timestamp) - extract(epoch from '2026-07-22 17:59:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.358975)'), GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.358976)'))) / (select extract(epoch from '2026-07-22 17:59:21'::timestamp) - extract(epoch from '2026-07-22 17:59: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'), 47445, 'SRID=4674;POINT (-39.03214 -3.358974)', '2026-07-22 17:59:30', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.358976)'), GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358974)'))) / (select extract(epoch from '2026-07-22 17:59:30'::timestamp) - extract(epoch from '2026-07-22 17:59:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.358976)'), GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358974)'))) / (select extract(epoch from '2026-07-22 17:59:30'::timestamp) - extract(epoch from '2026-07-22 17:59: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'), 47445, 'SRID=4674;POINT (-39.032138 -3.358977)', '2026-07-22 17:59:35', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358974)'), GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358977)'))) / (select extract(epoch from '2026-07-22 17:59:35'::timestamp) - extract(epoch from '2026-07-22 17:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358974)'), GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358977)'))) / (select extract(epoch from '2026-07-22 17:59:35'::timestamp) - extract(epoch from '2026-07-22 17:59:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032142 -3.358976)', '2026-07-22 17:59:49', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358977)'), GeomFromEWKT('SRID=4674;POINT (-39.032142 -3.358976)'))) / (select extract(epoch from '2026-07-22 17:59:49'::timestamp) - extract(epoch from '2026-07-22 17:59:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358977)'), GeomFromEWKT('SRID=4674;POINT (-39.032142 -3.358976)'))) / (select extract(epoch from '2026-07-22 17:59:49'::timestamp) - extract(epoch from '2026-07-22 17:59: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'), 47445, 'SRID=4674;POINT (-39.032141 -3.358976)', '2026-07-22 18:00:04', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032142 -3.358976)'), GeomFromEWKT('SRID=4674;POINT (-39.032141 -3.358976)'))) / (select extract(epoch from '2026-07-22 18:00:04'::timestamp) - extract(epoch from '2026-07-22 17:59:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032142 -3.358976)'), GeomFromEWKT('SRID=4674;POINT (-39.032141 -3.358976)'))) / (select extract(epoch from '2026-07-22 18:00:04'::timestamp) - extract(epoch from '2026-07-22 17:59: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'), 47445, 'SRID=4674;POINT (-39.032142 -3.358967)', '2026-07-22 18:00:13', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032141 -3.358976)'), GeomFromEWKT('SRID=4674;POINT (-39.032142 -3.358967)'))) / (select extract(epoch from '2026-07-22 18:00:13'::timestamp) - extract(epoch from '2026-07-22 18:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032141 -3.358976)'), GeomFromEWKT('SRID=4674;POINT (-39.032142 -3.358967)'))) / (select extract(epoch from '2026-07-22 18:00:13'::timestamp) - extract(epoch from '2026-07-22 18:00: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'), 47445, 'SRID=4674;POINT (-39.03214 -3.358962)', '2026-07-22 18:00:24', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032142 -3.358967)'), GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358962)'))) / (select extract(epoch from '2026-07-22 18:00:24'::timestamp) - extract(epoch from '2026-07-22 18:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032142 -3.358967)'), GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358962)'))) / (select extract(epoch from '2026-07-22 18:00:24'::timestamp) - extract(epoch from '2026-07-22 18:00: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'), 47445, 'SRID=4674;POINT (-39.032137 -3.358962)', '2026-07-22 18:00:30', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358962)'), GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.358962)'))) / (select extract(epoch from '2026-07-22 18:00:30'::timestamp) - extract(epoch from '2026-07-22 18:00:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358962)'), GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.358962)'))) / (select extract(epoch from '2026-07-22 18:00:30'::timestamp) - extract(epoch from '2026-07-22 18:00: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'), 47445, 'SRID=4674;POINT (-39.032133 -3.358957)', '2026-07-22 18:00:45', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.358962)'), GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358957)'))) / (select extract(epoch from '2026-07-22 18:00:45'::timestamp) - extract(epoch from '2026-07-22 18:00:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.358962)'), GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358957)'))) / (select extract(epoch from '2026-07-22 18:00:45'::timestamp) - extract(epoch from '2026-07-22 18:00: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'), 47445, 'SRID=4674;POINT (-39.03214 -3.358949)', '2026-07-22 18:00:54', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358957)'), GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358949)'))) / (select extract(epoch from '2026-07-22 18:00:54'::timestamp) - extract(epoch from '2026-07-22 18:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358957)'), GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358949)'))) / (select extract(epoch from '2026-07-22 18:00:54'::timestamp) - extract(epoch from '2026-07-22 18:00: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'), 47445, 'SRID=4674;POINT (-39.03214 -3.358937)', '2026-07-22 18:01:07', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358949)'), GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358937)'))) / (select extract(epoch from '2026-07-22 18:01:07'::timestamp) - extract(epoch from '2026-07-22 18:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358949)'), GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358937)'))) / (select extract(epoch from '2026-07-22 18:01:07'::timestamp) - extract(epoch from '2026-07-22 18:00: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'), 47445, 'SRID=4674;POINT (-39.032133 -3.358937)', '2026-07-22 18:01:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358937)'), GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358937)'))) / (select extract(epoch from '2026-07-22 18:01:13'::timestamp) - extract(epoch from '2026-07-22 18:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358937)'), GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358937)'))) / (select extract(epoch from '2026-07-22 18:01:13'::timestamp) - extract(epoch from '2026-07-22 18:01: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'), 47445, 'SRID=4674;POINT (-39.03214 -3.358939)', '2026-07-22 18:01:24', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358937)'), GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358939)'))) / (select extract(epoch from '2026-07-22 18:01:24'::timestamp) - extract(epoch from '2026-07-22 18:01:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358937)'), GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358939)'))) / (select extract(epoch from '2026-07-22 18:01:24'::timestamp) - extract(epoch from '2026-07-22 18:01: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'), 47445, 'SRID=4674;POINT (-39.03214 -3.358939)', '2026-07-22 18:01:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358939)'), GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358939)'))) / (select extract(epoch from '2026-07-22 18:01:32'::timestamp) - extract(epoch from '2026-07-22 18:01:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358939)'), GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358939)'))) / (select extract(epoch from '2026-07-22 18:01:32'::timestamp) - extract(epoch from '2026-07-22 18:01: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'), 47445, 'SRID=4674;POINT (-39.032137 -3.358936)', '2026-07-22 18:01:41', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358939)'), GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.358936)'))) / (select extract(epoch from '2026-07-22 18:01:41'::timestamp) - extract(epoch from '2026-07-22 18:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358939)'), GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.358936)'))) / (select extract(epoch from '2026-07-22 18:01:41'::timestamp) - extract(epoch from '2026-07-22 18:01: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'), 47445, 'SRID=4674;POINT (-39.032137 -3.35893)', '2026-07-22 18:01:51', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.358936)'), GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.35893)'))) / (select extract(epoch from '2026-07-22 18:01:51'::timestamp) - extract(epoch from '2026-07-22 18:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.358936)'), GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.35893)'))) / (select extract(epoch from '2026-07-22 18:01:51'::timestamp) - extract(epoch from '2026-07-22 18:01:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032133 -3.358938)', '2026-07-22 18:02:03', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.35893)'), GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358938)'))) / (select extract(epoch from '2026-07-22 18:02:03'::timestamp) - extract(epoch from '2026-07-22 18:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.35893)'), GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358938)'))) / (select extract(epoch from '2026-07-22 18:02:03'::timestamp) - extract(epoch from '2026-07-22 18:01: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'), 47445, 'SRID=4674;POINT (-39.032136 -3.358948)', '2026-07-22 18:02:14', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358938)'), GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358948)'))) / (select extract(epoch from '2026-07-22 18:02:14'::timestamp) - extract(epoch from '2026-07-22 18:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358938)'), GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358948)'))) / (select extract(epoch from '2026-07-22 18:02:14'::timestamp) - extract(epoch from '2026-07-22 18:02: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'), 47445, 'SRID=4674;POINT (-39.032135 -3.358952)', '2026-07-22 18:02:20', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358948)'), GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.358952)'))) / (select extract(epoch from '2026-07-22 18:02:20'::timestamp) - extract(epoch from '2026-07-22 18:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358948)'), GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.358952)'))) / (select extract(epoch from '2026-07-22 18:02:20'::timestamp) - extract(epoch from '2026-07-22 18:02:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.03214 -3.358953)', '2026-07-22 18:02:26', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.358952)'), GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358953)'))) / (select extract(epoch from '2026-07-22 18:02:26'::timestamp) - extract(epoch from '2026-07-22 18:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.358952)'), GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358953)'))) / (select extract(epoch from '2026-07-22 18:02:26'::timestamp) - extract(epoch from '2026-07-22 18:02: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'), 47445, 'SRID=4674;POINT (-39.032138 -3.358952)', '2026-07-22 18:02:34', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358953)'), GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358952)'))) / (select extract(epoch from '2026-07-22 18:02:34'::timestamp) - extract(epoch from '2026-07-22 18:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358953)'), GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358952)'))) / (select extract(epoch from '2026-07-22 18:02:34'::timestamp) - extract(epoch from '2026-07-22 18:02:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.03213 -3.35895)', '2026-07-22 18:02:41', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358952)'), GeomFromEWKT('SRID=4674;POINT (-39.03213 -3.35895)'))) / (select extract(epoch from '2026-07-22 18:02:41'::timestamp) - extract(epoch from '2026-07-22 18:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358952)'), GeomFromEWKT('SRID=4674;POINT (-39.03213 -3.35895)'))) / (select extract(epoch from '2026-07-22 18:02:41'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032137 -3.358949)', '2026-07-22 18:02:50', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03213 -3.35895)'), GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.358949)'))) / (select extract(epoch from '2026-07-22 18:02:50'::timestamp) - extract(epoch from '2026-07-22 18:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03213 -3.35895)'), GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.358949)'))) / (select extract(epoch from '2026-07-22 18:02:50'::timestamp) - extract(epoch from '2026-07-22 18:02:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032137 -3.358943)', '2026-07-22 18:03:00', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.358949)'), GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.358943)'))) / (select extract(epoch from '2026-07-22 18:03:00'::timestamp) - extract(epoch from '2026-07-22 18:02:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.358949)'), GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.358943)'))) / (select extract(epoch from '2026-07-22 18:03:00'::timestamp) - extract(epoch from '2026-07-22 18:02: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'), 47445, 'SRID=4674;POINT (-39.032136 -3.358941)', '2026-07-22 18:03:06', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.358943)'), GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358941)'))) / (select extract(epoch from '2026-07-22 18:03:06'::timestamp) - extract(epoch from '2026-07-22 18:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.358943)'), GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358941)'))) / (select extract(epoch from '2026-07-22 18:03:06'::timestamp) - extract(epoch from '2026-07-22 18:03: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'), 47445, 'SRID=4674;POINT (-39.032137 -3.358949)', '2026-07-22 18:03:12', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358941)'), GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.358949)'))) / (select extract(epoch from '2026-07-22 18:03:12'::timestamp) - extract(epoch from '2026-07-22 18:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358941)'), GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.358949)'))) / (select extract(epoch from '2026-07-22 18:03:12'::timestamp) - extract(epoch from '2026-07-22 18:03: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'), 47445, 'SRID=4674;POINT (-39.032138 -3.358954)', '2026-07-22 18:03:19', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.358949)'), GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358954)'))) / (select extract(epoch from '2026-07-22 18:03:19'::timestamp) - extract(epoch from '2026-07-22 18:03:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.358949)'), GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358954)'))) / (select extract(epoch from '2026-07-22 18:03:19'::timestamp) - extract(epoch from '2026-07-22 18:03: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'), 47445, 'SRID=4674;POINT (-39.032142 -3.358946)', '2026-07-22 18:03:30', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358954)'), GeomFromEWKT('SRID=4674;POINT (-39.032142 -3.358946)'))) / (select extract(epoch from '2026-07-22 18:03:30'::timestamp) - extract(epoch from '2026-07-22 18:03:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358954)'), GeomFromEWKT('SRID=4674;POINT (-39.032142 -3.358946)'))) / (select extract(epoch from '2026-07-22 18:03:30'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032139 -3.358941)', '2026-07-22 18:03:42', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032142 -3.358946)'), GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.358941)'))) / (select extract(epoch from '2026-07-22 18:03:42'::timestamp) - extract(epoch from '2026-07-22 18:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032142 -3.358946)'), GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.358941)'))) / (select extract(epoch from '2026-07-22 18:03:42'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032144 -3.358941)', '2026-07-22 18:03:51', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.358941)'), GeomFromEWKT('SRID=4674;POINT (-39.032144 -3.358941)'))) / (select extract(epoch from '2026-07-22 18:03:51'::timestamp) - extract(epoch from '2026-07-22 18:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.358941)'), GeomFromEWKT('SRID=4674;POINT (-39.032144 -3.358941)'))) / (select extract(epoch from '2026-07-22 18:03:51'::timestamp) - extract(epoch from '2026-07-22 18:03: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'), 47445, 'SRID=4674;POINT (-39.032134 -3.358945)', '2026-07-22 18:03:57', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032144 -3.358941)'), GeomFromEWKT('SRID=4674;POINT (-39.032134 -3.358945)'))) / (select extract(epoch from '2026-07-22 18:03:57'::timestamp) - extract(epoch from '2026-07-22 18:03:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032144 -3.358941)'), GeomFromEWKT('SRID=4674;POINT (-39.032134 -3.358945)'))) / (select extract(epoch from '2026-07-22 18:03:57'::timestamp) - extract(epoch from '2026-07-22 18:03: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'), 47445, 'SRID=4674;POINT (-39.032136 -3.358935)', '2026-07-22 18:04:07', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032134 -3.358945)'), GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358935)'))) / (select extract(epoch from '2026-07-22 18:04:07'::timestamp) - extract(epoch from '2026-07-22 18:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032134 -3.358945)'), GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358935)'))) / (select extract(epoch from '2026-07-22 18:04:07'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032139 -3.358938)', '2026-07-22 18:04:18', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358935)'), GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.358938)'))) / (select extract(epoch from '2026-07-22 18:04:18'::timestamp) - extract(epoch from '2026-07-22 18:04:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358935)'), GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.358938)'))) / (select extract(epoch from '2026-07-22 18:04:18'::timestamp) - extract(epoch from '2026-07-22 18:04:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.03214 -3.358939)', '2026-07-22 18:04:24', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.358938)'), GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358939)'))) / (select extract(epoch from '2026-07-22 18:04:24'::timestamp) - extract(epoch from '2026-07-22 18:04:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.358938)'), GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358939)'))) / (select extract(epoch from '2026-07-22 18:04:24'::timestamp) - extract(epoch from '2026-07-22 18:04: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'), 47445, 'SRID=4674;POINT (-39.032136 -3.358938)', '2026-07-22 18:04:34', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358939)'), GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358938)'))) / (select extract(epoch from '2026-07-22 18:04:34'::timestamp) - extract(epoch from '2026-07-22 18:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358939)'), GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358938)'))) / (select extract(epoch from '2026-07-22 18:04:34'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032135 -3.35894)', '2026-07-22 18:04:44', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358938)'), GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.35894)'))) / (select extract(epoch from '2026-07-22 18:04:44'::timestamp) - extract(epoch from '2026-07-22 18:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358938)'), GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.35894)'))) / (select extract(epoch from '2026-07-22 18:04:44'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032135 -3.358941)', '2026-07-22 18:04:52', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.35894)'), GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.358941)'))) / (select extract(epoch from '2026-07-22 18:04:52'::timestamp) - extract(epoch from '2026-07-22 18:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.35894)'), GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.358941)'))) / (select extract(epoch from '2026-07-22 18:04:52'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032138 -3.358952)', '2026-07-22 18:05:03', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.358941)'), GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358952)'))) / (select extract(epoch from '2026-07-22 18:05:03'::timestamp) - extract(epoch from '2026-07-22 18:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.358941)'), GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358952)'))) / (select extract(epoch from '2026-07-22 18:05:03'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032143 -3.358955)', '2026-07-22 18:05:15', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358952)'), GeomFromEWKT('SRID=4674;POINT (-39.032143 -3.358955)'))) / (select extract(epoch from '2026-07-22 18:05:15'::timestamp) - extract(epoch from '2026-07-22 18:05:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358952)'), GeomFromEWKT('SRID=4674;POINT (-39.032143 -3.358955)'))) / (select extract(epoch from '2026-07-22 18:05:15'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032146 -3.358947)', '2026-07-22 18:05:22', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032143 -3.358955)'), GeomFromEWKT('SRID=4674;POINT (-39.032146 -3.358947)'))) / (select extract(epoch from '2026-07-22 18:05:22'::timestamp) - extract(epoch from '2026-07-22 18:05:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032143 -3.358955)'), GeomFromEWKT('SRID=4674;POINT (-39.032146 -3.358947)'))) / (select extract(epoch from '2026-07-22 18:05:22'::timestamp) - extract(epoch from '2026-07-22 18:05: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'), 47445, 'SRID=4674;POINT (-39.032143 -3.358942)', '2026-07-22 18:05:30', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032146 -3.358947)'), GeomFromEWKT('SRID=4674;POINT (-39.032143 -3.358942)'))) / (select extract(epoch from '2026-07-22 18:05:30'::timestamp) - extract(epoch from '2026-07-22 18:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032146 -3.358947)'), GeomFromEWKT('SRID=4674;POINT (-39.032143 -3.358942)'))) / (select extract(epoch from '2026-07-22 18:05:30'::timestamp) - extract(epoch from '2026-07-22 18:05: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'), 47445, 'SRID=4674;POINT (-39.032139 -3.358943)', '2026-07-22 18:05:41', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032143 -3.358942)'), GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.358943)'))) / (select extract(epoch from '2026-07-22 18:05:41'::timestamp) - extract(epoch from '2026-07-22 18:05:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032143 -3.358942)'), GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.358943)'))) / (select extract(epoch from '2026-07-22 18:05:41'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032139 -3.35894)', '2026-07-22 18:05:53', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.358943)'), GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.35894)'))) / (select extract(epoch from '2026-07-22 18:05:53'::timestamp) - extract(epoch from '2026-07-22 18:05:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.358943)'), GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.35894)'))) / (select extract(epoch from '2026-07-22 18:05:53'::timestamp) - extract(epoch from '2026-07-22 18:05: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'), 47445, 'SRID=4674;POINT (-39.032138 -3.358938)', '2026-07-22 18:05:59', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.35894)'), GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358938)'))) / (select extract(epoch from '2026-07-22 18:05:59'::timestamp) - extract(epoch from '2026-07-22 18:05:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.35894)'), GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358938)'))) / (select extract(epoch from '2026-07-22 18:05:59'::timestamp) - extract(epoch from '2026-07-22 18:05:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032135 -3.358942)', '2026-07-22 18:06:08', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358938)'), GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.358942)'))) / (select extract(epoch from '2026-07-22 18:06:08'::timestamp) - extract(epoch from '2026-07-22 18:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358938)'), GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.358942)'))) / (select extract(epoch from '2026-07-22 18:06:08'::timestamp) - extract(epoch from '2026-07-22 18:05: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'), 47445, 'SRID=4674;POINT (-39.032142 -3.358942)', '2026-07-22 18:06:18', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.358942)'), GeomFromEWKT('SRID=4674;POINT (-39.032142 -3.358942)'))) / (select extract(epoch from '2026-07-22 18:06:18'::timestamp) - extract(epoch from '2026-07-22 18:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.358942)'), GeomFromEWKT('SRID=4674;POINT (-39.032142 -3.358942)'))) / (select extract(epoch from '2026-07-22 18:06:18'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032139 -3.358941)', '2026-07-22 18:06:30', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032142 -3.358942)'), GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.358941)'))) / (select extract(epoch from '2026-07-22 18:06:30'::timestamp) - extract(epoch from '2026-07-22 18:06:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032142 -3.358942)'), GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.358941)'))) / (select extract(epoch from '2026-07-22 18:06:30'::timestamp) - extract(epoch from '2026-07-22 18:06: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'), 47445, 'SRID=4674;POINT (-39.032131 -3.358945)', '2026-07-22 18:06:40', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.358941)'), GeomFromEWKT('SRID=4674;POINT (-39.032131 -3.358945)'))) / (select extract(epoch from '2026-07-22 18:06:40'::timestamp) - extract(epoch from '2026-07-22 18:06:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.358941)'), GeomFromEWKT('SRID=4674;POINT (-39.032131 -3.358945)'))) / (select extract(epoch from '2026-07-22 18:06:40'::timestamp) - extract(epoch from '2026-07-22 18:06:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.03214 -3.358952)', '2026-07-22 18:06:47', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032131 -3.358945)'), GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358952)'))) / (select extract(epoch from '2026-07-22 18:06:47'::timestamp) - extract(epoch from '2026-07-22 18:06:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032131 -3.358945)'), GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358952)'))) / (select extract(epoch from '2026-07-22 18:06:47'::timestamp) - extract(epoch from '2026-07-22 18:06: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'), 47445, 'SRID=4674;POINT (-39.032144 -3.35896)', '2026-07-22 18:06:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358952)'), GeomFromEWKT('SRID=4674;POINT (-39.032144 -3.35896)'))) / (select extract(epoch from '2026-07-22 18:06:56'::timestamp) - extract(epoch from '2026-07-22 18:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358952)'), GeomFromEWKT('SRID=4674;POINT (-39.032144 -3.35896)'))) / (select extract(epoch from '2026-07-22 18:06:56'::timestamp) - extract(epoch from '2026-07-22 18:06: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'), 47445, 'SRID=4674;POINT (-39.032138 -3.358958)', '2026-07-22 18:07:09', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032144 -3.35896)'), GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358958)'))) / (select extract(epoch from '2026-07-22 18:07:09'::timestamp) - extract(epoch from '2026-07-22 18:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032144 -3.35896)'), GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358958)'))) / (select extract(epoch from '2026-07-22 18:07:09'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032143 -3.358954)', '2026-07-22 18:07:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358958)'), GeomFromEWKT('SRID=4674;POINT (-39.032143 -3.358954)'))) / (select extract(epoch from '2026-07-22 18:07:18'::timestamp) - extract(epoch from '2026-07-22 18:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358958)'), GeomFromEWKT('SRID=4674;POINT (-39.032143 -3.358954)'))) / (select extract(epoch from '2026-07-22 18:07:18'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032138 -3.35895)', '2026-07-22 18:07:25', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032143 -3.358954)'), GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.35895)'))) / (select extract(epoch from '2026-07-22 18:07:25'::timestamp) - extract(epoch from '2026-07-22 18:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032143 -3.358954)'), GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.35895)'))) / (select extract(epoch from '2026-07-22 18:07:25'::timestamp) - extract(epoch from '2026-07-22 18:07: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'), 47445, 'SRID=4674;POINT (-39.032133 -3.358943)', '2026-07-22 18:07:37', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.35895)'), GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358943)'))) / (select extract(epoch from '2026-07-22 18:07:37'::timestamp) - extract(epoch from '2026-07-22 18:07:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.35895)'), GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358943)'))) / (select extract(epoch from '2026-07-22 18:07:37'::timestamp) - extract(epoch from '2026-07-22 18:07:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.03214 -3.35894)', '2026-07-22 18:07:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358943)'), GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.35894)'))) / (select extract(epoch from '2026-07-22 18:07:45'::timestamp) - extract(epoch from '2026-07-22 18:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358943)'), GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.35894)'))) / (select extract(epoch from '2026-07-22 18:07:45'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032126 -3.358946)', '2026-07-22 18:07:51', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.35894)'), GeomFromEWKT('SRID=4674;POINT (-39.032126 -3.358946)'))) / (select extract(epoch from '2026-07-22 18:07:51'::timestamp) - extract(epoch from '2026-07-22 18:07:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.35894)'), GeomFromEWKT('SRID=4674;POINT (-39.032126 -3.358946)'))) / (select extract(epoch from '2026-07-22 18:07:51'::timestamp) - extract(epoch from '2026-07-22 18:07: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'), 47445, 'SRID=4674;POINT (-39.03213 -3.358938)', '2026-07-22 18:08:01', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032126 -3.358946)'), GeomFromEWKT('SRID=4674;POINT (-39.03213 -3.358938)'))) / (select extract(epoch from '2026-07-22 18:08:01'::timestamp) - extract(epoch from '2026-07-22 18:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032126 -3.358946)'), GeomFromEWKT('SRID=4674;POINT (-39.03213 -3.358938)'))) / (select extract(epoch from '2026-07-22 18:08:01'::timestamp) - extract(epoch from '2026-07-22 18:07: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'), 47445, 'SRID=4674;POINT (-39.032137 -3.358942)', '2026-07-22 18:08:10', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03213 -3.358938)'), GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.358942)'))) / (select extract(epoch from '2026-07-22 18:08:10'::timestamp) - extract(epoch from '2026-07-22 18:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03213 -3.358938)'), GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.358942)'))) / (select extract(epoch from '2026-07-22 18:08:10'::timestamp) - extract(epoch from '2026-07-22 18:08:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032132 -3.35895)', '2026-07-22 18:08:20', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.358942)'), GeomFromEWKT('SRID=4674;POINT (-39.032132 -3.35895)'))) / (select extract(epoch from '2026-07-22 18:08:20'::timestamp) - extract(epoch from '2026-07-22 18:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.358942)'), GeomFromEWKT('SRID=4674;POINT (-39.032132 -3.35895)'))) / (select extract(epoch from '2026-07-22 18:08:20'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032136 -3.35894)', '2026-07-22 18:08:33', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032132 -3.35895)'), GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.35894)'))) / (select extract(epoch from '2026-07-22 18:08:33'::timestamp) - extract(epoch from '2026-07-22 18:08:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032132 -3.35895)'), GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.35894)'))) / (select extract(epoch from '2026-07-22 18:08:33'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032131 -3.358942)', '2026-07-22 18:08:40', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.35894)'), GeomFromEWKT('SRID=4674;POINT (-39.032131 -3.358942)'))) / (select extract(epoch from '2026-07-22 18:08:40'::timestamp) - extract(epoch from '2026-07-22 18:08:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.35894)'), GeomFromEWKT('SRID=4674;POINT (-39.032131 -3.358942)'))) / (select extract(epoch from '2026-07-22 18:08:40'::timestamp) - extract(epoch from '2026-07-22 18:08:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032135 -3.35894)', '2026-07-22 18:08:48', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032131 -3.358942)'), GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.35894)'))) / (select extract(epoch from '2026-07-22 18:08:48'::timestamp) - extract(epoch from '2026-07-22 18:08:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032131 -3.358942)'), GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.35894)'))) / (select extract(epoch from '2026-07-22 18:08:48'::timestamp) - extract(epoch from '2026-07-22 18:08:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032138 -3.358945)', '2026-07-22 18:08:58', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.35894)'), GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358945)'))) / (select extract(epoch from '2026-07-22 18:08:58'::timestamp) - extract(epoch from '2026-07-22 18:08:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.35894)'), GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358945)'))) / (select extract(epoch from '2026-07-22 18:08:58'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032136 -3.358947)', '2026-07-22 18:09:05', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358945)'), GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358947)'))) / (select extract(epoch from '2026-07-22 18:09:05'::timestamp) - extract(epoch from '2026-07-22 18:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358945)'), GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358947)'))) / (select extract(epoch from '2026-07-22 18:09:05'::timestamp) - extract(epoch from '2026-07-22 18:08:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032134 -3.358945)', '2026-07-22 18:09:13', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358947)'), GeomFromEWKT('SRID=4674;POINT (-39.032134 -3.358945)'))) / (select extract(epoch from '2026-07-22 18:09:13'::timestamp) - extract(epoch from '2026-07-22 18:09:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358947)'), GeomFromEWKT('SRID=4674;POINT (-39.032134 -3.358945)'))) / (select extract(epoch from '2026-07-22 18:09:13'::timestamp) - extract(epoch from '2026-07-22 18:09: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'), 47445, 'SRID=4674;POINT (-39.032136 -3.358942)', '2026-07-22 18:09:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032134 -3.358945)'), GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358942)'))) / (select extract(epoch from '2026-07-22 18:09:21'::timestamp) - extract(epoch from '2026-07-22 18:09:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032134 -3.358945)'), GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358942)'))) / (select extract(epoch from '2026-07-22 18:09:21'::timestamp) - extract(epoch from '2026-07-22 18:09:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032131 -3.358942)', '2026-07-22 18:09:30', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358942)'), GeomFromEWKT('SRID=4674;POINT (-39.032131 -3.358942)'))) / (select extract(epoch from '2026-07-22 18:09:30'::timestamp) - extract(epoch from '2026-07-22 18:09:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358942)'), GeomFromEWKT('SRID=4674;POINT (-39.032131 -3.358942)'))) / (select extract(epoch from '2026-07-22 18:09:30'::timestamp) - extract(epoch from '2026-07-22 18:09:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032128 -3.358941)', '2026-07-22 18:09:38', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032131 -3.358942)'), GeomFromEWKT('SRID=4674;POINT (-39.032128 -3.358941)'))) / (select extract(epoch from '2026-07-22 18:09:38'::timestamp) - extract(epoch from '2026-07-22 18:09:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032131 -3.358942)'), GeomFromEWKT('SRID=4674;POINT (-39.032128 -3.358941)'))) / (select extract(epoch from '2026-07-22 18:09:38'::timestamp) - extract(epoch from '2026-07-22 18:09:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032133 -3.358933)', '2026-07-22 18:09:47', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032128 -3.358941)'), GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358933)'))) / (select extract(epoch from '2026-07-22 18:09:47'::timestamp) - extract(epoch from '2026-07-22 18:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032128 -3.358941)'), GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358933)'))) / (select extract(epoch from '2026-07-22 18:09:47'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032134 -3.358925)', '2026-07-22 18:09:54', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358933)'), GeomFromEWKT('SRID=4674;POINT (-39.032134 -3.358925)'))) / (select extract(epoch from '2026-07-22 18:09:54'::timestamp) - extract(epoch from '2026-07-22 18:09:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358933)'), GeomFromEWKT('SRID=4674;POINT (-39.032134 -3.358925)'))) / (select extract(epoch from '2026-07-22 18:09:54'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032128 -3.358927)', '2026-07-22 18:10:04', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032134 -3.358925)'), GeomFromEWKT('SRID=4674;POINT (-39.032128 -3.358927)'))) / (select extract(epoch from '2026-07-22 18:10:04'::timestamp) - extract(epoch from '2026-07-22 18:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032134 -3.358925)'), GeomFromEWKT('SRID=4674;POINT (-39.032128 -3.358927)'))) / (select extract(epoch from '2026-07-22 18:10:04'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032133 -3.358925)', '2026-07-22 18:10:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032128 -3.358927)'), GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358925)'))) / (select extract(epoch from '2026-07-22 18:10:13'::timestamp) - extract(epoch from '2026-07-22 18:10:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032128 -3.358927)'), GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358925)'))) / (select extract(epoch from '2026-07-22 18:10:13'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032138 -3.358927)', '2026-07-22 18:10:26', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358925)'), GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358927)'))) / (select extract(epoch from '2026-07-22 18:10:26'::timestamp) - extract(epoch from '2026-07-22 18:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358925)'), GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358927)'))) / (select extract(epoch from '2026-07-22 18:10:26'::timestamp) - extract(epoch from '2026-07-22 18:10: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'), 47445, 'SRID=4674;POINT (-39.032126 -3.358936)', '2026-07-22 18:10:31', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358927)'), GeomFromEWKT('SRID=4674;POINT (-39.032126 -3.358936)'))) / (select extract(epoch from '2026-07-22 18:10:31'::timestamp) - extract(epoch from '2026-07-22 18:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358927)'), GeomFromEWKT('SRID=4674;POINT (-39.032126 -3.358936)'))) / (select extract(epoch from '2026-07-22 18:10:31'::timestamp) - extract(epoch from '2026-07-22 18:10: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'), 47445, 'SRID=4674;POINT (-39.032125 -3.358944)', '2026-07-22 18:10:37', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032126 -3.358936)'), GeomFromEWKT('SRID=4674;POINT (-39.032125 -3.358944)'))) / (select extract(epoch from '2026-07-22 18:10:37'::timestamp) - extract(epoch from '2026-07-22 18:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032126 -3.358936)'), GeomFromEWKT('SRID=4674;POINT (-39.032125 -3.358944)'))) / (select extract(epoch from '2026-07-22 18:10:37'::timestamp) - extract(epoch from '2026-07-22 18:10:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032128 -3.358945)', '2026-07-22 18:10:46', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032125 -3.358944)'), GeomFromEWKT('SRID=4674;POINT (-39.032128 -3.358945)'))) / (select extract(epoch from '2026-07-22 18:10:46'::timestamp) - extract(epoch from '2026-07-22 18:10:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032125 -3.358944)'), GeomFromEWKT('SRID=4674;POINT (-39.032128 -3.358945)'))) / (select extract(epoch from '2026-07-22 18:10:46'::timestamp) - extract(epoch from '2026-07-22 18:10: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'), 47445, 'SRID=4674;POINT (-39.032134 -3.358944)', '2026-07-22 18:10:57', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032128 -3.358945)'), GeomFromEWKT('SRID=4674;POINT (-39.032134 -3.358944)'))) / (select extract(epoch from '2026-07-22 18:10:57'::timestamp) - extract(epoch from '2026-07-22 18:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032128 -3.358945)'), GeomFromEWKT('SRID=4674;POINT (-39.032134 -3.358944)'))) / (select extract(epoch from '2026-07-22 18:10:57'::timestamp) - extract(epoch from '2026-07-22 18:10: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'), 47445, 'SRID=4674;POINT (-39.032131 -3.35894)', '2026-07-22 18:11:10', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032134 -3.358944)'), GeomFromEWKT('SRID=4674;POINT (-39.032131 -3.35894)'))) / (select extract(epoch from '2026-07-22 18:11:10'::timestamp) - extract(epoch from '2026-07-22 18:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032134 -3.358944)'), GeomFromEWKT('SRID=4674;POINT (-39.032131 -3.35894)'))) / (select extract(epoch from '2026-07-22 18:11:10'::timestamp) - extract(epoch from '2026-07-22 18:10: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'), 47445, 'SRID=4674;POINT (-39.03213 -3.358937)', '2026-07-22 18:11:18', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032131 -3.35894)'), GeomFromEWKT('SRID=4674;POINT (-39.03213 -3.358937)'))) / (select extract(epoch from '2026-07-22 18:11:18'::timestamp) - extract(epoch from '2026-07-22 18:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032131 -3.35894)'), GeomFromEWKT('SRID=4674;POINT (-39.03213 -3.358937)'))) / (select extract(epoch from '2026-07-22 18:11:18'::timestamp) - extract(epoch from '2026-07-22 18:11:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.03213 -3.358931)', '2026-07-22 18:11:28', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03213 -3.358937)'), GeomFromEWKT('SRID=4674;POINT (-39.03213 -3.358931)'))) / (select extract(epoch from '2026-07-22 18:11:28'::timestamp) - extract(epoch from '2026-07-22 18:11:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03213 -3.358937)'), GeomFromEWKT('SRID=4674;POINT (-39.03213 -3.358931)'))) / (select extract(epoch from '2026-07-22 18:11:28'::timestamp) - extract(epoch from '2026-07-22 18:11: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'), 47445, 'SRID=4674;POINT (-39.032125 -3.358928)', '2026-07-22 18:11:37', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03213 -3.358931)'), GeomFromEWKT('SRID=4674;POINT (-39.032125 -3.358928)'))) / (select extract(epoch from '2026-07-22 18:11:37'::timestamp) - extract(epoch from '2026-07-22 18:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03213 -3.358931)'), GeomFromEWKT('SRID=4674;POINT (-39.032125 -3.358928)'))) / (select extract(epoch from '2026-07-22 18:11:37'::timestamp) - extract(epoch from '2026-07-22 18:11: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'), 47445, 'SRID=4674;POINT (-39.032131 -3.358929)', '2026-07-22 18:11:44', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032125 -3.358928)'), GeomFromEWKT('SRID=4674;POINT (-39.032131 -3.358929)'))) / (select extract(epoch from '2026-07-22 18:11:44'::timestamp) - extract(epoch from '2026-07-22 18:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032125 -3.358928)'), GeomFromEWKT('SRID=4674;POINT (-39.032131 -3.358929)'))) / (select extract(epoch from '2026-07-22 18:11:44'::timestamp) - extract(epoch from '2026-07-22 18:11:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032125 -3.35893)', '2026-07-22 18:11:52', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032131 -3.358929)'), GeomFromEWKT('SRID=4674;POINT (-39.032125 -3.35893)'))) / (select extract(epoch from '2026-07-22 18:11:52'::timestamp) - extract(epoch from '2026-07-22 18:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032131 -3.358929)'), GeomFromEWKT('SRID=4674;POINT (-39.032125 -3.35893)'))) / (select extract(epoch from '2026-07-22 18:11:52'::timestamp) - extract(epoch from '2026-07-22 18:11: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'), 47445, 'SRID=4674;POINT (-39.032127 -3.358926)', '2026-07-22 18:12:00', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032125 -3.35893)'), GeomFromEWKT('SRID=4674;POINT (-39.032127 -3.358926)'))) / (select extract(epoch from '2026-07-22 18:12:00'::timestamp) - extract(epoch from '2026-07-22 18:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032125 -3.35893)'), GeomFromEWKT('SRID=4674;POINT (-39.032127 -3.358926)'))) / (select extract(epoch from '2026-07-22 18:12:00'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032133 -3.358925)', '2026-07-22 18:12:12', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032127 -3.358926)'), GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358925)'))) / (select extract(epoch from '2026-07-22 18:12:12'::timestamp) - extract(epoch from '2026-07-22 18:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032127 -3.358926)'), GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358925)'))) / (select extract(epoch from '2026-07-22 18:12:12'::timestamp) - extract(epoch from '2026-07-22 18:12:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032135 -3.358923)', '2026-07-22 18:12:25', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358925)'), GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.358923)'))) / (select extract(epoch from '2026-07-22 18:12:25'::timestamp) - extract(epoch from '2026-07-22 18:12:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358925)'), GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.358923)'))) / (select extract(epoch from '2026-07-22 18:12:25'::timestamp) - extract(epoch from '2026-07-22 18:12: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'), 47445, 'SRID=4674;POINT (-39.032133 -3.358926)', '2026-07-22 18:12:31', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.358923)'), GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358926)'))) / (select extract(epoch from '2026-07-22 18:12:31'::timestamp) - extract(epoch from '2026-07-22 18:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.358923)'), GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358926)'))) / (select extract(epoch from '2026-07-22 18:12:31'::timestamp) - extract(epoch from '2026-07-22 18:12: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'), 47445, 'SRID=4674;POINT (-39.032136 -3.358926)', '2026-07-22 18:12:38', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358926)'), GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358926)'))) / (select extract(epoch from '2026-07-22 18:12:38'::timestamp) - extract(epoch from '2026-07-22 18:12:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358926)'), GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358926)'))) / (select extract(epoch from '2026-07-22 18:12:38'::timestamp) - extract(epoch from '2026-07-22 18:12:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032136 -3.358927)', '2026-07-22 18:12:46', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358926)'), GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358927)'))) / (select extract(epoch from '2026-07-22 18:12:46'::timestamp) - extract(epoch from '2026-07-22 18:12:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358926)'), GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358927)'))) / (select extract(epoch from '2026-07-22 18:12:46'::timestamp) - extract(epoch from '2026-07-22 18:12:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032132 -3.358926)', '2026-07-22 18:12:57', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358927)'), GeomFromEWKT('SRID=4674;POINT (-39.032132 -3.358926)'))) / (select extract(epoch from '2026-07-22 18:12:57'::timestamp) - extract(epoch from '2026-07-22 18:12:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358927)'), GeomFromEWKT('SRID=4674;POINT (-39.032132 -3.358926)'))) / (select extract(epoch from '2026-07-22 18:12:57'::timestamp) - extract(epoch from '2026-07-22 18:12: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'), 47445, 'SRID=4674;POINT (-39.032127 -3.358929)', '2026-07-22 18:13:02', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032132 -3.358926)'), GeomFromEWKT('SRID=4674;POINT (-39.032127 -3.358929)'))) / (select extract(epoch from '2026-07-22 18:13:02'::timestamp) - extract(epoch from '2026-07-22 18:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032132 -3.358926)'), GeomFromEWKT('SRID=4674;POINT (-39.032127 -3.358929)'))) / (select extract(epoch from '2026-07-22 18:13:02'::timestamp) - extract(epoch from '2026-07-22 18:12:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032134 -3.358936)', '2026-07-22 18:13:13', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032127 -3.358929)'), GeomFromEWKT('SRID=4674;POINT (-39.032134 -3.358936)'))) / (select extract(epoch from '2026-07-22 18:13:13'::timestamp) - extract(epoch from '2026-07-22 18:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032127 -3.358929)'), GeomFromEWKT('SRID=4674;POINT (-39.032134 -3.358936)'))) / (select extract(epoch from '2026-07-22 18:13:13'::timestamp) - extract(epoch from '2026-07-22 18:13:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032137 -3.358936)', '2026-07-22 18:13:22', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032134 -3.358936)'), GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.358936)'))) / (select extract(epoch from '2026-07-22 18:13:22'::timestamp) - extract(epoch from '2026-07-22 18:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032134 -3.358936)'), GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.358936)'))) / (select extract(epoch from '2026-07-22 18:13:22'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032134 -3.358928)', '2026-07-22 18:13:32', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.358936)'), GeomFromEWKT('SRID=4674;POINT (-39.032134 -3.358928)'))) / (select extract(epoch from '2026-07-22 18:13:32'::timestamp) - extract(epoch from '2026-07-22 18:13:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.358936)'), GeomFromEWKT('SRID=4674;POINT (-39.032134 -3.358928)'))) / (select extract(epoch from '2026-07-22 18:13:32'::timestamp) - extract(epoch from '2026-07-22 18:13:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032132 -3.358932)', '2026-07-22 18:13:40', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032134 -3.358928)'), GeomFromEWKT('SRID=4674;POINT (-39.032132 -3.358932)'))) / (select extract(epoch from '2026-07-22 18:13:40'::timestamp) - extract(epoch from '2026-07-22 18:13:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032134 -3.358928)'), GeomFromEWKT('SRID=4674;POINT (-39.032132 -3.358932)'))) / (select extract(epoch from '2026-07-22 18:13:40'::timestamp) - extract(epoch from '2026-07-22 18:13: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'), 47445, 'SRID=4674;POINT (-39.032133 -3.358924)', '2026-07-22 18:13:50', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032132 -3.358932)'), GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358924)'))) / (select extract(epoch from '2026-07-22 18:13:50'::timestamp) - extract(epoch from '2026-07-22 18:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032132 -3.358932)'), GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358924)'))) / (select extract(epoch from '2026-07-22 18:13:50'::timestamp) - extract(epoch from '2026-07-22 18:13:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032133 -3.358927)', '2026-07-22 18:14:01', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358924)'), GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358927)'))) / (select extract(epoch from '2026-07-22 18:14:01'::timestamp) - extract(epoch from '2026-07-22 18:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358924)'), GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358927)'))) / (select extract(epoch from '2026-07-22 18:14:01'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032136 -3.358928)', '2026-07-22 18:14:08', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358927)'), GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358928)'))) / (select extract(epoch from '2026-07-22 18:14:08'::timestamp) - extract(epoch from '2026-07-22 18:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358927)'), GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358928)'))) / (select extract(epoch from '2026-07-22 18:14:08'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032142 -3.358931)', '2026-07-22 18:14:23', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358928)'), GeomFromEWKT('SRID=4674;POINT (-39.032142 -3.358931)'))) / (select extract(epoch from '2026-07-22 18:14:23'::timestamp) - extract(epoch from '2026-07-22 18:14:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032136 -3.358928)'), GeomFromEWKT('SRID=4674;POINT (-39.032142 -3.358931)'))) / (select extract(epoch from '2026-07-22 18:14:23'::timestamp) - extract(epoch from '2026-07-22 18:14:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032135 -3.358931)', '2026-07-22 18:14:35', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032142 -3.358931)'), GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.358931)'))) / (select extract(epoch from '2026-07-22 18:14:35'::timestamp) - extract(epoch from '2026-07-22 18:14:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032142 -3.358931)'), GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.358931)'))) / (select extract(epoch from '2026-07-22 18:14:35'::timestamp) - extract(epoch from '2026-07-22 18:14: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'), 47445, 'SRID=4674;POINT (-39.03214 -3.358927)', '2026-07-22 18:14:47', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.358931)'), GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358927)'))) / (select extract(epoch from '2026-07-22 18:14:47'::timestamp) - extract(epoch from '2026-07-22 18:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.358931)'), GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358927)'))) / (select extract(epoch from '2026-07-22 18:14:47'::timestamp) - extract(epoch from '2026-07-22 18:14: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'), 47445, 'SRID=4674;POINT (-39.032138 -3.358925)', '2026-07-22 18:14:58', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358927)'), GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358925)'))) / (select extract(epoch from '2026-07-22 18:14:58'::timestamp) - extract(epoch from '2026-07-22 18:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03214 -3.358927)'), GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358925)'))) / (select extract(epoch from '2026-07-22 18:14:58'::timestamp) - extract(epoch from '2026-07-22 18:14: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'), 47445, 'SRID=4674;POINT (-39.032139 -3.358929)', '2026-07-22 18:15:06', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358925)'), GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.358929)'))) / (select extract(epoch from '2026-07-22 18:15:06'::timestamp) - extract(epoch from '2026-07-22 18:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358925)'), GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.358929)'))) / (select extract(epoch from '2026-07-22 18:15:06'::timestamp) - extract(epoch from '2026-07-22 18:14:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032124 -3.358935)', '2026-07-22 18:15:14', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.358929)'), GeomFromEWKT('SRID=4674;POINT (-39.032124 -3.358935)'))) / (select extract(epoch from '2026-07-22 18:15:14'::timestamp) - extract(epoch from '2026-07-22 18:15:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.358929)'), GeomFromEWKT('SRID=4674;POINT (-39.032124 -3.358935)'))) / (select extract(epoch from '2026-07-22 18:15:14'::timestamp) - extract(epoch from '2026-07-22 18:15:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032122 -3.358929)', '2026-07-22 18:15:22', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032124 -3.358935)'), GeomFromEWKT('SRID=4674;POINT (-39.032122 -3.358929)'))) / (select extract(epoch from '2026-07-22 18:15:22'::timestamp) - extract(epoch from '2026-07-22 18:15:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032124 -3.358935)'), GeomFromEWKT('SRID=4674;POINT (-39.032122 -3.358929)'))) / (select extract(epoch from '2026-07-22 18:15:22'::timestamp) - extract(epoch from '2026-07-22 18:15: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'), 47445, 'SRID=4674;POINT (-39.03213 -3.358912)', '2026-07-22 18:15:30', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032122 -3.358929)'), GeomFromEWKT('SRID=4674;POINT (-39.03213 -3.358912)'))) / (select extract(epoch from '2026-07-22 18:15:30'::timestamp) - extract(epoch from '2026-07-22 18:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032122 -3.358929)'), GeomFromEWKT('SRID=4674;POINT (-39.03213 -3.358912)'))) / (select extract(epoch from '2026-07-22 18:15:30'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032127 -3.358901)', '2026-07-22 18:15:39', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03213 -3.358912)'), GeomFromEWKT('SRID=4674;POINT (-39.032127 -3.358901)'))) / (select extract(epoch from '2026-07-22 18:15:39'::timestamp) - extract(epoch from '2026-07-22 18:15:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03213 -3.358912)'), GeomFromEWKT('SRID=4674;POINT (-39.032127 -3.358901)'))) / (select extract(epoch from '2026-07-22 18:15:39'::timestamp) - extract(epoch from '2026-07-22 18:15:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032131 -3.358901)', '2026-07-22 18:15:52', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032127 -3.358901)'), GeomFromEWKT('SRID=4674;POINT (-39.032131 -3.358901)'))) / (select extract(epoch from '2026-07-22 18:15:52'::timestamp) - extract(epoch from '2026-07-22 18:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032127 -3.358901)'), GeomFromEWKT('SRID=4674;POINT (-39.032131 -3.358901)'))) / (select extract(epoch from '2026-07-22 18:15:52'::timestamp) - extract(epoch from '2026-07-22 18:15: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'), 47445, 'SRID=4674;POINT (-39.032123 -3.358903)', '2026-07-22 18:16:01', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032131 -3.358901)'), GeomFromEWKT('SRID=4674;POINT (-39.032123 -3.358903)'))) / (select extract(epoch from '2026-07-22 18:16:01'::timestamp) - extract(epoch from '2026-07-22 18:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032131 -3.358901)'), GeomFromEWKT('SRID=4674;POINT (-39.032123 -3.358903)'))) / (select extract(epoch from '2026-07-22 18:16:01'::timestamp) - extract(epoch from '2026-07-22 18:15:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032133 -3.358908)', '2026-07-22 18:16:09', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032123 -3.358903)'), GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358908)'))) / (select extract(epoch from '2026-07-22 18:16:09'::timestamp) - extract(epoch from '2026-07-22 18:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032123 -3.358903)'), GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358908)'))) / (select extract(epoch from '2026-07-22 18:16:09'::timestamp) - extract(epoch from '2026-07-22 18:16:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032119 -3.358917)', '2026-07-22 18:16:18', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358908)'), GeomFromEWKT('SRID=4674;POINT (-39.032119 -3.358917)'))) / (select extract(epoch from '2026-07-22 18:16:18'::timestamp) - extract(epoch from '2026-07-22 18:16:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358908)'), GeomFromEWKT('SRID=4674;POINT (-39.032119 -3.358917)'))) / (select extract(epoch from '2026-07-22 18:16:18'::timestamp) - extract(epoch from '2026-07-22 18:16: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'), 47445, 'SRID=4674;POINT (-39.032122 -3.358924)', '2026-07-22 18:16:27', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032119 -3.358917)'), GeomFromEWKT('SRID=4674;POINT (-39.032122 -3.358924)'))) / (select extract(epoch from '2026-07-22 18:16:27'::timestamp) - extract(epoch from '2026-07-22 18:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032119 -3.358917)'), GeomFromEWKT('SRID=4674;POINT (-39.032122 -3.358924)'))) / (select extract(epoch from '2026-07-22 18:16:27'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032128 -3.358921)', '2026-07-22 18:16:36', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032122 -3.358924)'), GeomFromEWKT('SRID=4674;POINT (-39.032128 -3.358921)'))) / (select extract(epoch from '2026-07-22 18:16:36'::timestamp) - extract(epoch from '2026-07-22 18:16:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032122 -3.358924)'), GeomFromEWKT('SRID=4674;POINT (-39.032128 -3.358921)'))) / (select extract(epoch from '2026-07-22 18:16:36'::timestamp) - extract(epoch from '2026-07-22 18:16: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'), 47445, 'SRID=4674;POINT (-39.032131 -3.358919)', '2026-07-22 18:16:43', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032128 -3.358921)'), GeomFromEWKT('SRID=4674;POINT (-39.032131 -3.358919)'))) / (select extract(epoch from '2026-07-22 18:16:43'::timestamp) - extract(epoch from '2026-07-22 18:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032128 -3.358921)'), GeomFromEWKT('SRID=4674;POINT (-39.032131 -3.358919)'))) / (select extract(epoch from '2026-07-22 18:16:43'::timestamp) - extract(epoch from '2026-07-22 18:16:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032123 -3.358926)', '2026-07-22 18:16:49', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032131 -3.358919)'), GeomFromEWKT('SRID=4674;POINT (-39.032123 -3.358926)'))) / (select extract(epoch from '2026-07-22 18:16:49'::timestamp) - extract(epoch from '2026-07-22 18:16:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032131 -3.358919)'), GeomFromEWKT('SRID=4674;POINT (-39.032123 -3.358926)'))) / (select extract(epoch from '2026-07-22 18:16:49'::timestamp) - extract(epoch from '2026-07-22 18:16:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032129 -3.358927)', '2026-07-22 18:16:56', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032123 -3.358926)'), GeomFromEWKT('SRID=4674;POINT (-39.032129 -3.358927)'))) / (select extract(epoch from '2026-07-22 18:16:56'::timestamp) - extract(epoch from '2026-07-22 18:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032123 -3.358926)'), GeomFromEWKT('SRID=4674;POINT (-39.032129 -3.358927)'))) / (select extract(epoch from '2026-07-22 18:16:56'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032132 -3.358923)', '2026-07-22 18:17:06', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032129 -3.358927)'), GeomFromEWKT('SRID=4674;POINT (-39.032132 -3.358923)'))) / (select extract(epoch from '2026-07-22 18:17:06'::timestamp) - extract(epoch from '2026-07-22 18:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032129 -3.358927)'), GeomFromEWKT('SRID=4674;POINT (-39.032132 -3.358923)'))) / (select extract(epoch from '2026-07-22 18:17:06'::timestamp) - extract(epoch from '2026-07-22 18:16: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'), 47445, 'SRID=4674;POINT (-39.032134 -3.358926)', '2026-07-22 18:17:19', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032132 -3.358923)'), GeomFromEWKT('SRID=4674;POINT (-39.032134 -3.358926)'))) / (select extract(epoch from '2026-07-22 18:17:19'::timestamp) - extract(epoch from '2026-07-22 18:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032132 -3.358923)'), GeomFromEWKT('SRID=4674;POINT (-39.032134 -3.358926)'))) / (select extract(epoch from '2026-07-22 18:17:19'::timestamp) - extract(epoch from '2026-07-22 18:17:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032133 -3.358928)', '2026-07-22 18:17:26', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032134 -3.358926)'), GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358928)'))) / (select extract(epoch from '2026-07-22 18:17:26'::timestamp) - extract(epoch from '2026-07-22 18:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032134 -3.358926)'), GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358928)'))) / (select extract(epoch from '2026-07-22 18:17:26'::timestamp) - extract(epoch from '2026-07-22 18:17: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'), 47445, 'SRID=4674;POINT (-39.03213 -3.358925)', '2026-07-22 18:17:34', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358928)'), GeomFromEWKT('SRID=4674;POINT (-39.03213 -3.358925)'))) / (select extract(epoch from '2026-07-22 18:17:34'::timestamp) - extract(epoch from '2026-07-22 18:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032133 -3.358928)'), GeomFromEWKT('SRID=4674;POINT (-39.03213 -3.358925)'))) / (select extract(epoch from '2026-07-22 18:17:34'::timestamp) - extract(epoch from '2026-07-22 18:17:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032137 -3.358929)', '2026-07-22 18:17:42', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03213 -3.358925)'), GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.358929)'))) / (select extract(epoch from '2026-07-22 18:17:42'::timestamp) - extract(epoch from '2026-07-22 18:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03213 -3.358925)'), GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.358929)'))) / (select extract(epoch from '2026-07-22 18:17:42'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032138 -3.358924)', '2026-07-22 18:17:53', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.358929)'), GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358924)'))) / (select extract(epoch from '2026-07-22 18:17:53'::timestamp) - extract(epoch from '2026-07-22 18:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.358929)'), GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358924)'))) / (select extract(epoch from '2026-07-22 18:17:53'::timestamp) - extract(epoch from '2026-07-22 18:17: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'), 47445, 'SRID=4674;POINT (-39.032139 -3.358929)', '2026-07-22 18:18:04', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358924)'), GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.358929)'))) / (select extract(epoch from '2026-07-22 18:18:04'::timestamp) - extract(epoch from '2026-07-22 18:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.358924)'), GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.358929)'))) / (select extract(epoch from '2026-07-22 18:18:04'::timestamp) - extract(epoch from '2026-07-22 18:17: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'), 47445, 'SRID=4674;POINT (-39.032135 -3.358934)', '2026-07-22 18:18:15', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.358929)'), GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.358934)'))) / (select extract(epoch from '2026-07-22 18:18:15'::timestamp) - extract(epoch from '2026-07-22 18:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032139 -3.358929)'), GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.358934)'))) / (select extract(epoch from '2026-07-22 18:18:15'::timestamp) - extract(epoch from '2026-07-22 18:18: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'), 47445, 'SRID=4674;POINT (-39.032137 -3.358932)', '2026-07-22 18:18:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.358934)'), GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.358932)'))) / (select extract(epoch from '2026-07-22 18:18:24'::timestamp) - extract(epoch from '2026-07-22 18:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032135 -3.358934)'), GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.358932)'))) / (select extract(epoch from '2026-07-22 18:18:24'::timestamp) - extract(epoch from '2026-07-22 18:18:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032134 -3.358924)', '2026-07-22 18:18:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.358932)'), GeomFromEWKT('SRID=4674;POINT (-39.032134 -3.358924)'))) / (select extract(epoch from '2026-07-22 18:18:32'::timestamp) - extract(epoch from '2026-07-22 18:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032137 -3.358932)'), GeomFromEWKT('SRID=4674;POINT (-39.032134 -3.358924)'))) / (select extract(epoch from '2026-07-22 18:18:32'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032129 -3.358921)', '2026-07-22 18:18:47', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032134 -3.358924)'), GeomFromEWKT('SRID=4674;POINT (-39.032129 -3.358921)'))) / (select extract(epoch from '2026-07-22 18:18:47'::timestamp) - extract(epoch from '2026-07-22 18:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032134 -3.358924)'), GeomFromEWKT('SRID=4674;POINT (-39.032129 -3.358921)'))) / (select extract(epoch from '2026-07-22 18:18:47'::timestamp) - extract(epoch from '2026-07-22 18:18:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032126 -3.358926)', '2026-07-22 18:18:58', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032129 -3.358921)'), GeomFromEWKT('SRID=4674;POINT (-39.032126 -3.358926)'))) / (select extract(epoch from '2026-07-22 18:18:58'::timestamp) - extract(epoch from '2026-07-22 18:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032129 -3.358921)'), GeomFromEWKT('SRID=4674;POINT (-39.032126 -3.358926)'))) / (select extract(epoch from '2026-07-22 18:18:58'::timestamp) - extract(epoch from '2026-07-22 18:18:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032121 -3.358934)', '2026-07-22 18:19:03', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032126 -3.358926)'), GeomFromEWKT('SRID=4674;POINT (-39.032121 -3.358934)'))) / (select extract(epoch from '2026-07-22 18:19:03'::timestamp) - extract(epoch from '2026-07-22 18:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032126 -3.358926)'), GeomFromEWKT('SRID=4674;POINT (-39.032121 -3.358934)'))) / (select extract(epoch from '2026-07-22 18:19:03'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032114 -3.358931)', '2026-07-22 18:19:10', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032121 -3.358934)'), GeomFromEWKT('SRID=4674;POINT (-39.032114 -3.358931)'))) / (select extract(epoch from '2026-07-22 18:19:10'::timestamp) - extract(epoch from '2026-07-22 18:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032121 -3.358934)'), GeomFromEWKT('SRID=4674;POINT (-39.032114 -3.358931)'))) / (select extract(epoch from '2026-07-22 18:19:10'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032121 -3.358928)', '2026-07-22 18:19:19', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032114 -3.358931)'), GeomFromEWKT('SRID=4674;POINT (-39.032121 -3.358928)'))) / (select extract(epoch from '2026-07-22 18:19:19'::timestamp) - extract(epoch from '2026-07-22 18:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032114 -3.358931)'), GeomFromEWKT('SRID=4674;POINT (-39.032121 -3.358928)'))) / (select extract(epoch from '2026-07-22 18:19:19'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032124 -3.358923)', '2026-07-22 18:19:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032121 -3.358928)'), GeomFromEWKT('SRID=4674;POINT (-39.032124 -3.358923)'))) / (select extract(epoch from '2026-07-22 18:19:29'::timestamp) - extract(epoch from '2026-07-22 18:19:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032121 -3.358928)'), GeomFromEWKT('SRID=4674;POINT (-39.032124 -3.358923)'))) / (select extract(epoch from '2026-07-22 18:19:29'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032123 -3.358925)', '2026-07-22 18:19:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032124 -3.358923)'), GeomFromEWKT('SRID=4674;POINT (-39.032123 -3.358925)'))) / (select extract(epoch from '2026-07-22 18:19:37'::timestamp) - extract(epoch from '2026-07-22 18:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032124 -3.358923)'), GeomFromEWKT('SRID=4674;POINT (-39.032123 -3.358925)'))) / (select extract(epoch from '2026-07-22 18:19:37'::timestamp) - extract(epoch from '2026-07-22 18:19: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'), 47445, 'SRID=4674;POINT (-39.032118 -3.358925)', '2026-07-22 18:19:41', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032123 -3.358925)'), GeomFromEWKT('SRID=4674;POINT (-39.032118 -3.358925)'))) / (select extract(epoch from '2026-07-22 18:19:41'::timestamp) - extract(epoch from '2026-07-22 18:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032123 -3.358925)'), GeomFromEWKT('SRID=4674;POINT (-39.032118 -3.358925)'))) / (select extract(epoch from '2026-07-22 18:19:41'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032124 -3.358924)', '2026-07-22 18:19:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032118 -3.358925)'), GeomFromEWKT('SRID=4674;POINT (-39.032124 -3.358924)'))) / (select extract(epoch from '2026-07-22 18:19:57'::timestamp) - extract(epoch from '2026-07-22 18:19:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032118 -3.358925)'), GeomFromEWKT('SRID=4674;POINT (-39.032124 -3.358924)'))) / (select extract(epoch from '2026-07-22 18:19:57'::timestamp) - extract(epoch from '2026-07-22 18:19: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'), 47445, 'SRID=4674;POINT (-39.032121 -3.358924)', '2026-07-22 18:20:08', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032124 -3.358924)'), GeomFromEWKT('SRID=4674;POINT (-39.032121 -3.358924)'))) / (select extract(epoch from '2026-07-22 18:20:08'::timestamp) - extract(epoch from '2026-07-22 18:19:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032124 -3.358924)'), GeomFromEWKT('SRID=4674;POINT (-39.032121 -3.358924)'))) / (select extract(epoch from '2026-07-22 18:20:08'::timestamp) - extract(epoch from '2026-07-22 18:19:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032112 -3.358921)', '2026-07-22 18:20:16', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032121 -3.358924)'), GeomFromEWKT('SRID=4674;POINT (-39.032112 -3.358921)'))) / (select extract(epoch from '2026-07-22 18:20:16'::timestamp) - extract(epoch from '2026-07-22 18:20:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032121 -3.358924)'), GeomFromEWKT('SRID=4674;POINT (-39.032112 -3.358921)'))) / (select extract(epoch from '2026-07-22 18:20:16'::timestamp) - extract(epoch from '2026-07-22 18:20:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032113 -3.358922)', '2026-07-22 18:20:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032112 -3.358921)'), GeomFromEWKT('SRID=4674;POINT (-39.032113 -3.358922)'))) / (select extract(epoch from '2026-07-22 18:20:23'::timestamp) - extract(epoch from '2026-07-22 18:20:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032112 -3.358921)'), GeomFromEWKT('SRID=4674;POINT (-39.032113 -3.358922)'))) / (select extract(epoch from '2026-07-22 18:20:23'::timestamp) - extract(epoch from '2026-07-22 18:20:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032121 -3.358925)', '2026-07-22 18:20:32', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032113 -3.358922)'), GeomFromEWKT('SRID=4674;POINT (-39.032121 -3.358925)'))) / (select extract(epoch from '2026-07-22 18:20:32'::timestamp) - extract(epoch from '2026-07-22 18:20:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032113 -3.358922)'), GeomFromEWKT('SRID=4674;POINT (-39.032121 -3.358925)'))) / (select extract(epoch from '2026-07-22 18:20:32'::timestamp) - extract(epoch from '2026-07-22 18:20: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'), 47445, 'SRID=4674;POINT (-39.032121 -3.358926)', '2026-07-22 18:20:43', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032121 -3.358925)'), GeomFromEWKT('SRID=4674;POINT (-39.032121 -3.358926)'))) / (select extract(epoch from '2026-07-22 18:20:43'::timestamp) - extract(epoch from '2026-07-22 18:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032121 -3.358925)'), GeomFromEWKT('SRID=4674;POINT (-39.032121 -3.358926)'))) / (select extract(epoch from '2026-07-22 18:20:43'::timestamp) - extract(epoch from '2026-07-22 18:20:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032123 -3.358924)', '2026-07-22 18:20:53', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032121 -3.358926)'), GeomFromEWKT('SRID=4674;POINT (-39.032123 -3.358924)'))) / (select extract(epoch from '2026-07-22 18:20:53'::timestamp) - extract(epoch from '2026-07-22 18:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032121 -3.358926)'), GeomFromEWKT('SRID=4674;POINT (-39.032123 -3.358924)'))) / (select extract(epoch from '2026-07-22 18:20:53'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032122 -3.358922)', '2026-07-22 18:21:03', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032123 -3.358924)'), GeomFromEWKT('SRID=4674;POINT (-39.032122 -3.358922)'))) / (select extract(epoch from '2026-07-22 18:21:03'::timestamp) - extract(epoch from '2026-07-22 18:20:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032123 -3.358924)'), GeomFromEWKT('SRID=4674;POINT (-39.032122 -3.358922)'))) / (select extract(epoch from '2026-07-22 18:21:03'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032128 -3.358921)', '2026-07-22 18:21:14', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032122 -3.358922)'), GeomFromEWKT('SRID=4674;POINT (-39.032128 -3.358921)'))) / (select extract(epoch from '2026-07-22 18:21:14'::timestamp) - extract(epoch from '2026-07-22 18:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032122 -3.358922)'), GeomFromEWKT('SRID=4674;POINT (-39.032128 -3.358921)'))) / (select extract(epoch from '2026-07-22 18:21:14'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032122 -3.358916)', '2026-07-22 18:21:23', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032128 -3.358921)'), GeomFromEWKT('SRID=4674;POINT (-39.032122 -3.358916)'))) / (select extract(epoch from '2026-07-22 18:21:23'::timestamp) - extract(epoch from '2026-07-22 18:21:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032128 -3.358921)'), GeomFromEWKT('SRID=4674;POINT (-39.032122 -3.358916)'))) / (select extract(epoch from '2026-07-22 18:21:23'::timestamp) - extract(epoch from '2026-07-22 18:21:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032122 -3.358931)', '2026-07-22 18:21:31', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032122 -3.358916)'), GeomFromEWKT('SRID=4674;POINT (-39.032122 -3.358931)'))) / (select extract(epoch from '2026-07-22 18:21:31'::timestamp) - extract(epoch from '2026-07-22 18:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032122 -3.358916)'), GeomFromEWKT('SRID=4674;POINT (-39.032122 -3.358931)'))) / (select extract(epoch from '2026-07-22 18:21:31'::timestamp) - extract(epoch from '2026-07-22 18:21: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'), 47445, 'SRID=4674;POINT (-39.032082 -3.358947)', '2026-07-22 18:21:39', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032122 -3.358931)'), GeomFromEWKT('SRID=4674;POINT (-39.032082 -3.358947)'))) / (select extract(epoch from '2026-07-22 18:21:39'::timestamp) - extract(epoch from '2026-07-22 18:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032122 -3.358931)'), GeomFromEWKT('SRID=4674;POINT (-39.032082 -3.358947)'))) / (select extract(epoch from '2026-07-22 18:21:39'::timestamp) - extract(epoch from '2026-07-22 18:21:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032037 -3.358959)', '2026-07-22 18:21:48', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032082 -3.358947)'), GeomFromEWKT('SRID=4674;POINT (-39.032037 -3.358959)'))) / (select extract(epoch from '2026-07-22 18:21:48'::timestamp) - extract(epoch from '2026-07-22 18:21:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032082 -3.358947)'), GeomFromEWKT('SRID=4674;POINT (-39.032037 -3.358959)'))) / (select extract(epoch from '2026-07-22 18:21:48'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.032009 -3.358968)', '2026-07-22 18:21:55', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032037 -3.358959)'), GeomFromEWKT('SRID=4674;POINT (-39.032009 -3.358968)'))) / (select extract(epoch from '2026-07-22 18:21:55'::timestamp) - extract(epoch from '2026-07-22 18:21:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032037 -3.358959)'), GeomFromEWKT('SRID=4674;POINT (-39.032009 -3.358968)'))) / (select extract(epoch from '2026-07-22 18:21:55'::timestamp) - extract(epoch from '2026-07-22 18:21:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.03198 -3.358976)', '2026-07-22 18:22:03', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032009 -3.358968)'), GeomFromEWKT('SRID=4674;POINT (-39.03198 -3.358976)'))) / (select extract(epoch from '2026-07-22 18:22:03'::timestamp) - extract(epoch from '2026-07-22 18:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032009 -3.358968)'), GeomFromEWKT('SRID=4674;POINT (-39.03198 -3.358976)'))) / (select extract(epoch from '2026-07-22 18:22:03'::timestamp) - extract(epoch from '2026-07-22 18:21: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'), 47445, 'SRID=4674;POINT (-39.031931 -3.358983)', '2026-07-22 18:22:12', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03198 -3.358976)'), GeomFromEWKT('SRID=4674;POINT (-39.031931 -3.358983)'))) / (select extract(epoch from '2026-07-22 18:22:12'::timestamp) - extract(epoch from '2026-07-22 18:22:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03198 -3.358976)'), GeomFromEWKT('SRID=4674;POINT (-39.031931 -3.358983)'))) / (select extract(epoch from '2026-07-22 18:22:12'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.031889 -3.358996)', '2026-07-22 18:22:21', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031931 -3.358983)'), GeomFromEWKT('SRID=4674;POINT (-39.031889 -3.358996)'))) / (select extract(epoch from '2026-07-22 18:22:21'::timestamp) - extract(epoch from '2026-07-22 18:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031931 -3.358983)'), GeomFromEWKT('SRID=4674;POINT (-39.031889 -3.358996)'))) / (select extract(epoch from '2026-07-22 18:22:21'::timestamp) - extract(epoch from '2026-07-22 18:22:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.031868 -3.359007)', '2026-07-22 18:22:28', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031889 -3.358996)'), GeomFromEWKT('SRID=4674;POINT (-39.031868 -3.359007)'))) / (select extract(epoch from '2026-07-22 18:22:28'::timestamp) - extract(epoch from '2026-07-22 18:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031889 -3.358996)'), GeomFromEWKT('SRID=4674;POINT (-39.031868 -3.359007)'))) / (select extract(epoch from '2026-07-22 18:22:28'::timestamp) - extract(epoch from '2026-07-22 18:22:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.031843 -3.359004)', '2026-07-22 18:22:36', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031868 -3.359007)'), GeomFromEWKT('SRID=4674;POINT (-39.031843 -3.359004)'))) / (select extract(epoch from '2026-07-22 18:22:36'::timestamp) - extract(epoch from '2026-07-22 18:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031868 -3.359007)'), GeomFromEWKT('SRID=4674;POINT (-39.031843 -3.359004)'))) / (select extract(epoch from '2026-07-22 18:22:36'::timestamp) - extract(epoch from '2026-07-22 18:22:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.03182 -3.359003)', '2026-07-22 18:22:42', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031843 -3.359004)'), GeomFromEWKT('SRID=4674;POINT (-39.03182 -3.359003)'))) / (select extract(epoch from '2026-07-22 18:22:42'::timestamp) - extract(epoch from '2026-07-22 18:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031843 -3.359004)'), GeomFromEWKT('SRID=4674;POINT (-39.03182 -3.359003)'))) / (select extract(epoch from '2026-07-22 18:22:42'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.031782 -3.359004)', '2026-07-22 18:22:53', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03182 -3.359003)'), GeomFromEWKT('SRID=4674;POINT (-39.031782 -3.359004)'))) / (select extract(epoch from '2026-07-22 18:22:53'::timestamp) - extract(epoch from '2026-07-22 18:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03182 -3.359003)'), GeomFromEWKT('SRID=4674;POINT (-39.031782 -3.359004)'))) / (select extract(epoch from '2026-07-22 18:22:53'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.03178 -3.358997)', '2026-07-22 18:23:05', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031782 -3.359004)'), GeomFromEWKT('SRID=4674;POINT (-39.03178 -3.358997)'))) / (select extract(epoch from '2026-07-22 18:23:05'::timestamp) - extract(epoch from '2026-07-22 18:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031782 -3.359004)'), GeomFromEWKT('SRID=4674;POINT (-39.03178 -3.358997)'))) / (select extract(epoch from '2026-07-22 18:23:05'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.031818 -3.358987)', '2026-07-22 18:23:14', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03178 -3.358997)'), GeomFromEWKT('SRID=4674;POINT (-39.031818 -3.358987)'))) / (select extract(epoch from '2026-07-22 18:23:14'::timestamp) - extract(epoch from '2026-07-22 18:23:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03178 -3.358997)'), GeomFromEWKT('SRID=4674;POINT (-39.031818 -3.358987)'))) / (select extract(epoch from '2026-07-22 18:23:14'::timestamp) - extract(epoch from '2026-07-22 18:23:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.031851 -3.358984)', '2026-07-22 18:23:21', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031818 -3.358987)'), GeomFromEWKT('SRID=4674;POINT (-39.031851 -3.358984)'))) / (select extract(epoch from '2026-07-22 18:23:21'::timestamp) - extract(epoch from '2026-07-22 18:23:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031818 -3.358987)'), GeomFromEWKT('SRID=4674;POINT (-39.031851 -3.358984)'))) / (select extract(epoch from '2026-07-22 18:23:21'::timestamp) - extract(epoch from '2026-07-22 18:23:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.031881 -3.358978)', '2026-07-22 18:23:31', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031851 -3.358984)'), GeomFromEWKT('SRID=4674;POINT (-39.031881 -3.358978)'))) / (select extract(epoch from '2026-07-22 18:23:31'::timestamp) - extract(epoch from '2026-07-22 18:23:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031851 -3.358984)'), GeomFromEWKT('SRID=4674;POINT (-39.031881 -3.358978)'))) / (select extract(epoch from '2026-07-22 18:23:31'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.031907 -3.358989)', '2026-07-22 18:23:40', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031881 -3.358978)'), GeomFromEWKT('SRID=4674;POINT (-39.031907 -3.358989)'))) / (select extract(epoch from '2026-07-22 18:23:40'::timestamp) - extract(epoch from '2026-07-22 18:23:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031881 -3.358978)'), GeomFromEWKT('SRID=4674;POINT (-39.031907 -3.358989)'))) / (select extract(epoch from '2026-07-22 18:23:40'::timestamp) - extract(epoch from '2026-07-22 18:23: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'), 47445, 'SRID=4674;POINT (-39.031916 -3.358999)', '2026-07-22 18:23:47', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031907 -3.358989)'), GeomFromEWKT('SRID=4674;POINT (-39.031916 -3.358999)'))) / (select extract(epoch from '2026-07-22 18:23:47'::timestamp) - extract(epoch from '2026-07-22 18:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031907 -3.358989)'), GeomFromEWKT('SRID=4674;POINT (-39.031916 -3.358999)'))) / (select extract(epoch from '2026-07-22 18:23:47'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.031923 -3.359007)', '2026-07-22 18:23:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031916 -3.358999)'), GeomFromEWKT('SRID=4674;POINT (-39.031923 -3.359007)'))) / (select extract(epoch from '2026-07-22 18:23:55'::timestamp) - extract(epoch from '2026-07-22 18:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031916 -3.358999)'), GeomFromEWKT('SRID=4674;POINT (-39.031923 -3.359007)'))) / (select extract(epoch from '2026-07-22 18:23:55'::timestamp) - extract(epoch from '2026-07-22 18:23:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.031931 -3.35902)', '2026-07-22 18:24:08', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031923 -3.359007)'), GeomFromEWKT('SRID=4674;POINT (-39.031931 -3.35902)'))) / (select extract(epoch from '2026-07-22 18:24:08'::timestamp) - extract(epoch from '2026-07-22 18:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031923 -3.359007)'), GeomFromEWKT('SRID=4674;POINT (-39.031931 -3.35902)'))) / (select extract(epoch from '2026-07-22 18:24:08'::timestamp) - extract(epoch from '2026-07-22 18:23: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'), 47445, 'SRID=4674;POINT (-39.031939 -3.359031)', '2026-07-22 18:24:19', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031931 -3.35902)'), GeomFromEWKT('SRID=4674;POINT (-39.031939 -3.359031)'))) / (select extract(epoch from '2026-07-22 18:24:19'::timestamp) - extract(epoch from '2026-07-22 18:24:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031931 -3.35902)'), GeomFromEWKT('SRID=4674;POINT (-39.031939 -3.359031)'))) / (select extract(epoch from '2026-07-22 18:24:19'::timestamp) - extract(epoch from '2026-07-22 18:24: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'), 47445, 'SRID=4674;POINT (-39.031952 -3.359039)', '2026-07-22 18:24:30', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031939 -3.359031)'), GeomFromEWKT('SRID=4674;POINT (-39.031952 -3.359039)'))) / (select extract(epoch from '2026-07-22 18:24:30'::timestamp) - extract(epoch from '2026-07-22 18:24:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031939 -3.359031)'), GeomFromEWKT('SRID=4674;POINT (-39.031952 -3.359039)'))) / (select extract(epoch from '2026-07-22 18:24:30'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.031956 -3.359048)', '2026-07-22 18:24:39', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031952 -3.359039)'), GeomFromEWKT('SRID=4674;POINT (-39.031956 -3.359048)'))) / (select extract(epoch from '2026-07-22 18:24:39'::timestamp) - extract(epoch from '2026-07-22 18:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031952 -3.359039)'), GeomFromEWKT('SRID=4674;POINT (-39.031956 -3.359048)'))) / (select extract(epoch from '2026-07-22 18:24:39'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.031963 -3.359057)', '2026-07-22 18:24:51', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031956 -3.359048)'), GeomFromEWKT('SRID=4674;POINT (-39.031963 -3.359057)'))) / (select extract(epoch from '2026-07-22 18:24:51'::timestamp) - extract(epoch from '2026-07-22 18:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031956 -3.359048)'), GeomFromEWKT('SRID=4674;POINT (-39.031963 -3.359057)'))) / (select extract(epoch from '2026-07-22 18:24:51'::timestamp) - extract(epoch from '2026-07-22 18:24:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.031965 -3.359075)', '2026-07-22 18:25:01', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031963 -3.359057)'), GeomFromEWKT('SRID=4674;POINT (-39.031965 -3.359075)'))) / (select extract(epoch from '2026-07-22 18:25:01'::timestamp) - extract(epoch from '2026-07-22 18:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031963 -3.359057)'), GeomFromEWKT('SRID=4674;POINT (-39.031965 -3.359075)'))) / (select extract(epoch from '2026-07-22 18:25:01'::timestamp) - extract(epoch from '2026-07-22 18:24: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'), 47445, 'SRID=4674;POINT (-39.03195 -3.359087)', '2026-07-22 18:25:08', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031965 -3.359075)'), GeomFromEWKT('SRID=4674;POINT (-39.03195 -3.359087)'))) / (select extract(epoch from '2026-07-22 18:25:08'::timestamp) - extract(epoch from '2026-07-22 18:25:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031965 -3.359075)'), GeomFromEWKT('SRID=4674;POINT (-39.03195 -3.359087)'))) / (select extract(epoch from '2026-07-22 18:25:08'::timestamp) - extract(epoch from '2026-07-22 18:25: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'), 47445, 'SRID=4674;POINT (-39.031927 -3.359091)', '2026-07-22 18:25:14', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03195 -3.359087)'), GeomFromEWKT('SRID=4674;POINT (-39.031927 -3.359091)'))) / (select extract(epoch from '2026-07-22 18:25:14'::timestamp) - extract(epoch from '2026-07-22 18:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03195 -3.359087)'), GeomFromEWKT('SRID=4674;POINT (-39.031927 -3.359091)'))) / (select extract(epoch from '2026-07-22 18:25:14'::timestamp) - extract(epoch from '2026-07-22 18:25:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.031885 -3.359124)', '2026-07-22 18:25:23', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031927 -3.359091)'), GeomFromEWKT('SRID=4674;POINT (-39.031885 -3.359124)'))) / (select extract(epoch from '2026-07-22 18:25:23'::timestamp) - extract(epoch from '2026-07-22 18:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031927 -3.359091)'), GeomFromEWKT('SRID=4674;POINT (-39.031885 -3.359124)'))) / (select extract(epoch from '2026-07-22 18:25:23'::timestamp) - extract(epoch from '2026-07-22 18:25:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.031871 -3.359165)', '2026-07-22 18:25:30', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031885 -3.359124)'), GeomFromEWKT('SRID=4674;POINT (-39.031871 -3.359165)'))) / (select extract(epoch from '2026-07-22 18:25:30'::timestamp) - extract(epoch from '2026-07-22 18:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031885 -3.359124)'), GeomFromEWKT('SRID=4674;POINT (-39.031871 -3.359165)'))) / (select extract(epoch from '2026-07-22 18:25:30'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.031857 -3.359204)', '2026-07-22 18:25:40', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031871 -3.359165)'), GeomFromEWKT('SRID=4674;POINT (-39.031857 -3.359204)'))) / (select extract(epoch from '2026-07-22 18:25:40'::timestamp) - extract(epoch from '2026-07-22 18:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031871 -3.359165)'), GeomFromEWKT('SRID=4674;POINT (-39.031857 -3.359204)'))) / (select extract(epoch from '2026-07-22 18:25:40'::timestamp) - extract(epoch from '2026-07-22 18:25:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.031837 -3.359202)', '2026-07-22 18:25:49', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031857 -3.359204)'), GeomFromEWKT('SRID=4674;POINT (-39.031837 -3.359202)'))) / (select extract(epoch from '2026-07-22 18:25:49'::timestamp) - extract(epoch from '2026-07-22 18:25:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031857 -3.359204)'), GeomFromEWKT('SRID=4674;POINT (-39.031837 -3.359202)'))) / (select extract(epoch from '2026-07-22 18:25:49'::timestamp) - extract(epoch from '2026-07-22 18:25:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.031817 -3.359201)', '2026-07-22 18:25:57', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031837 -3.359202)'), GeomFromEWKT('SRID=4674;POINT (-39.031817 -3.359201)'))) / (select extract(epoch from '2026-07-22 18:25:57'::timestamp) - extract(epoch from '2026-07-22 18:25:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031837 -3.359202)'), GeomFromEWKT('SRID=4674;POINT (-39.031817 -3.359201)'))) / (select extract(epoch from '2026-07-22 18:25:57'::timestamp) - extract(epoch from '2026-07-22 18:25: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'), 47445, 'SRID=4674;POINT (-39.031773 -3.359215)', '2026-07-22 18:26:06', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031817 -3.359201)'), GeomFromEWKT('SRID=4674;POINT (-39.031773 -3.359215)'))) / (select extract(epoch from '2026-07-22 18:26:06'::timestamp) - extract(epoch from '2026-07-22 18:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031817 -3.359201)'), GeomFromEWKT('SRID=4674;POINT (-39.031773 -3.359215)'))) / (select extract(epoch from '2026-07-22 18:26:06'::timestamp) - extract(epoch from '2026-07-22 18:25:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.031755 -3.35924)', '2026-07-22 18:26:14', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031773 -3.359215)'), GeomFromEWKT('SRID=4674;POINT (-39.031755 -3.35924)'))) / (select extract(epoch from '2026-07-22 18:26:14'::timestamp) - extract(epoch from '2026-07-22 18:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031773 -3.359215)'), GeomFromEWKT('SRID=4674;POINT (-39.031755 -3.35924)'))) / (select extract(epoch from '2026-07-22 18:26:14'::timestamp) - extract(epoch from '2026-07-22 18:26:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.031735 -3.359268)', '2026-07-22 18:26:22', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031755 -3.35924)'), GeomFromEWKT('SRID=4674;POINT (-39.031735 -3.359268)'))) / (select extract(epoch from '2026-07-22 18:26:22'::timestamp) - extract(epoch from '2026-07-22 18:26:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031755 -3.35924)'), GeomFromEWKT('SRID=4674;POINT (-39.031735 -3.359268)'))) / (select extract(epoch from '2026-07-22 18:26:22'::timestamp) - extract(epoch from '2026-07-22 18:26:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.031692 -3.359287)', '2026-07-22 18:26:32', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031735 -3.359268)'), GeomFromEWKT('SRID=4674;POINT (-39.031692 -3.359287)'))) / (select extract(epoch from '2026-07-22 18:26:32'::timestamp) - extract(epoch from '2026-07-22 18:26:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031735 -3.359268)'), GeomFromEWKT('SRID=4674;POINT (-39.031692 -3.359287)'))) / (select extract(epoch from '2026-07-22 18:26:32'::timestamp) - extract(epoch from '2026-07-22 18:26: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'), 47445, 'SRID=4674;POINT (-39.031667 -3.359308)', '2026-07-22 18:26:41', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031692 -3.359287)'), GeomFromEWKT('SRID=4674;POINT (-39.031667 -3.359308)'))) / (select extract(epoch from '2026-07-22 18:26:41'::timestamp) - extract(epoch from '2026-07-22 18:26:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031692 -3.359287)'), GeomFromEWKT('SRID=4674;POINT (-39.031667 -3.359308)'))) / (select extract(epoch from '2026-07-22 18:26:41'::timestamp) - extract(epoch from '2026-07-22 18:26:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.031629 -3.359339)', '2026-07-22 18:26:54', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031667 -3.359308)'), GeomFromEWKT('SRID=4674;POINT (-39.031629 -3.359339)'))) / (select extract(epoch from '2026-07-22 18:26:54'::timestamp) - extract(epoch from '2026-07-22 18:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031667 -3.359308)'), GeomFromEWKT('SRID=4674;POINT (-39.031629 -3.359339)'))) / (select extract(epoch from '2026-07-22 18:26:54'::timestamp) - extract(epoch from '2026-07-22 18:26:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.031579 -3.359374)', '2026-07-22 18:27:06', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031629 -3.359339)'), GeomFromEWKT('SRID=4674;POINT (-39.031579 -3.359374)'))) / (select extract(epoch from '2026-07-22 18:27:06'::timestamp) - extract(epoch from '2026-07-22 18:26:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031629 -3.359339)'), GeomFromEWKT('SRID=4674;POINT (-39.031579 -3.359374)'))) / (select extract(epoch from '2026-07-22 18:27:06'::timestamp) - extract(epoch from '2026-07-22 18:26: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'), 47445, 'SRID=4674;POINT (-39.03153 -3.359399)', '2026-07-22 18:27:20', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031579 -3.359374)'), GeomFromEWKT('SRID=4674;POINT (-39.03153 -3.359399)'))) / (select extract(epoch from '2026-07-22 18:27:20'::timestamp) - extract(epoch from '2026-07-22 18:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031579 -3.359374)'), GeomFromEWKT('SRID=4674;POINT (-39.03153 -3.359399)'))) / (select extract(epoch from '2026-07-22 18:27:20'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.031501 -3.359413)', '2026-07-22 18:27:27', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03153 -3.359399)'), GeomFromEWKT('SRID=4674;POINT (-39.031501 -3.359413)'))) / (select extract(epoch from '2026-07-22 18:27:27'::timestamp) - extract(epoch from '2026-07-22 18:27:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03153 -3.359399)'), GeomFromEWKT('SRID=4674;POINT (-39.031501 -3.359413)'))) / (select extract(epoch from '2026-07-22 18:27:27'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.031474 -3.359454)', '2026-07-22 18:27:37', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031501 -3.359413)'), GeomFromEWKT('SRID=4674;POINT (-39.031474 -3.359454)'))) / (select extract(epoch from '2026-07-22 18:27:37'::timestamp) - extract(epoch from '2026-07-22 18:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031501 -3.359413)'), GeomFromEWKT('SRID=4674;POINT (-39.031474 -3.359454)'))) / (select extract(epoch from '2026-07-22 18:27:37'::timestamp) - extract(epoch from '2026-07-22 18:27:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.031448 -3.359481)', '2026-07-22 18:27:46', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031474 -3.359454)'), GeomFromEWKT('SRID=4674;POINT (-39.031448 -3.359481)'))) / (select extract(epoch from '2026-07-22 18:27:46'::timestamp) - extract(epoch from '2026-07-22 18:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031474 -3.359454)'), GeomFromEWKT('SRID=4674;POINT (-39.031448 -3.359481)'))) / (select extract(epoch from '2026-07-22 18:27:46'::timestamp) - extract(epoch from '2026-07-22 18:27:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.031411 -3.359491)', '2026-07-22 18:27:54', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031448 -3.359481)'), GeomFromEWKT('SRID=4674;POINT (-39.031411 -3.359491)'))) / (select extract(epoch from '2026-07-22 18:27:54'::timestamp) - extract(epoch from '2026-07-22 18:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031448 -3.359481)'), GeomFromEWKT('SRID=4674;POINT (-39.031411 -3.359491)'))) / (select extract(epoch from '2026-07-22 18:27:54'::timestamp) - extract(epoch from '2026-07-22 18:27: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'), 47445, 'SRID=4674;POINT (-39.031385 -3.359515)', '2026-07-22 18:28:03', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031411 -3.359491)'), GeomFromEWKT('SRID=4674;POINT (-39.031385 -3.359515)'))) / (select extract(epoch from '2026-07-22 18:28:03'::timestamp) - extract(epoch from '2026-07-22 18:27:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031411 -3.359491)'), GeomFromEWKT('SRID=4674;POINT (-39.031385 -3.359515)'))) / (select extract(epoch from '2026-07-22 18:28:03'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.031355 -3.359542)', '2026-07-22 18:28:12', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031385 -3.359515)'), GeomFromEWKT('SRID=4674;POINT (-39.031355 -3.359542)'))) / (select extract(epoch from '2026-07-22 18:28:12'::timestamp) - extract(epoch from '2026-07-22 18:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031385 -3.359515)'), GeomFromEWKT('SRID=4674;POINT (-39.031355 -3.359542)'))) / (select extract(epoch from '2026-07-22 18:28:12'::timestamp) - extract(epoch from '2026-07-22 18:28: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'), 47445, 'SRID=4674;POINT (-39.031333 -3.359552)', '2026-07-22 18:28:20', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031355 -3.359542)'), GeomFromEWKT('SRID=4674;POINT (-39.031333 -3.359552)'))) / (select extract(epoch from '2026-07-22 18:28:20'::timestamp) - extract(epoch from '2026-07-22 18:28:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031355 -3.359542)'), GeomFromEWKT('SRID=4674;POINT (-39.031333 -3.359552)'))) / (select extract(epoch from '2026-07-22 18:28:20'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.031299 -3.359564)', '2026-07-22 18:28:28', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031333 -3.359552)'), GeomFromEWKT('SRID=4674;POINT (-39.031299 -3.359564)'))) / (select extract(epoch from '2026-07-22 18:28:28'::timestamp) - extract(epoch from '2026-07-22 18:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031333 -3.359552)'), GeomFromEWKT('SRID=4674;POINT (-39.031299 -3.359564)'))) / (select extract(epoch from '2026-07-22 18:28:28'::timestamp) - extract(epoch from '2026-07-22 18:28: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'), 47445, 'SRID=4674;POINT (-39.031278 -3.35959)', '2026-07-22 18:28:35', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031299 -3.359564)'), GeomFromEWKT('SRID=4674;POINT (-39.031278 -3.35959)'))) / (select extract(epoch from '2026-07-22 18:28:35'::timestamp) - extract(epoch from '2026-07-22 18:28:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031299 -3.359564)'), GeomFromEWKT('SRID=4674;POINT (-39.031278 -3.35959)'))) / (select extract(epoch from '2026-07-22 18:28:35'::timestamp) - extract(epoch from '2026-07-22 18:28: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'), 47445, 'SRID=4674;POINT (-39.031262 -3.359621)', '2026-07-22 18:28:43', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031278 -3.35959)'), GeomFromEWKT('SRID=4674;POINT (-39.031262 -3.359621)'))) / (select extract(epoch from '2026-07-22 18:28:43'::timestamp) - extract(epoch from '2026-07-22 18:28:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031278 -3.35959)'), GeomFromEWKT('SRID=4674;POINT (-39.031262 -3.359621)'))) / (select extract(epoch from '2026-07-22 18:28:43'::timestamp) - extract(epoch from '2026-07-22 18:28:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.031228 -3.359651)', '2026-07-22 18:28:51', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031262 -3.359621)'), GeomFromEWKT('SRID=4674;POINT (-39.031228 -3.359651)'))) / (select extract(epoch from '2026-07-22 18:28:51'::timestamp) - extract(epoch from '2026-07-22 18:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031262 -3.359621)'), GeomFromEWKT('SRID=4674;POINT (-39.031228 -3.359651)'))) / (select extract(epoch from '2026-07-22 18:28:51'::timestamp) - extract(epoch from '2026-07-22 18:28: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'), 47445, 'SRID=4674;POINT (-39.031188 -3.359678)', '2026-07-22 18:29:00', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031228 -3.359651)'), GeomFromEWKT('SRID=4674;POINT (-39.031188 -3.359678)'))) / (select extract(epoch from '2026-07-22 18:29:00'::timestamp) - extract(epoch from '2026-07-22 18:28:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031228 -3.359651)'), GeomFromEWKT('SRID=4674;POINT (-39.031188 -3.359678)'))) / (select extract(epoch from '2026-07-22 18:29:00'::timestamp) - extract(epoch from '2026-07-22 18:28: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'), 47445, 'SRID=4674;POINT (-39.031164 -3.359707)', '2026-07-22 18:29:11', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031188 -3.359678)'), GeomFromEWKT('SRID=4674;POINT (-39.031164 -3.359707)'))) / (select extract(epoch from '2026-07-22 18:29:11'::timestamp) - extract(epoch from '2026-07-22 18:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031188 -3.359678)'), GeomFromEWKT('SRID=4674;POINT (-39.031164 -3.359707)'))) / (select extract(epoch from '2026-07-22 18:29:11'::timestamp) - extract(epoch from '2026-07-22 18:29: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'), 47445, 'SRID=4674;POINT (-39.031139 -3.359734)', '2026-07-22 18:29:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031164 -3.359707)'), GeomFromEWKT('SRID=4674;POINT (-39.031139 -3.359734)'))) / (select extract(epoch from '2026-07-22 18:29:21'::timestamp) - extract(epoch from '2026-07-22 18:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031164 -3.359707)'), GeomFromEWKT('SRID=4674;POINT (-39.031139 -3.359734)'))) / (select extract(epoch from '2026-07-22 18:29:21'::timestamp) - extract(epoch from '2026-07-22 18:29:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.031114 -3.359756)', '2026-07-22 18:29:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031139 -3.359734)'), GeomFromEWKT('SRID=4674;POINT (-39.031114 -3.359756)'))) / (select extract(epoch from '2026-07-22 18:29:30'::timestamp) - extract(epoch from '2026-07-22 18:29:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031139 -3.359734)'), GeomFromEWKT('SRID=4674;POINT (-39.031114 -3.359756)'))) / (select extract(epoch from '2026-07-22 18:29:30'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.031082 -3.359781)', '2026-07-22 18:29:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031114 -3.359756)'), GeomFromEWKT('SRID=4674;POINT (-39.031082 -3.359781)'))) / (select extract(epoch from '2026-07-22 18:29:38'::timestamp) - extract(epoch from '2026-07-22 18:29:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031114 -3.359756)'), GeomFromEWKT('SRID=4674;POINT (-39.031082 -3.359781)'))) / (select extract(epoch from '2026-07-22 18:29:38'::timestamp) - extract(epoch from '2026-07-22 18:29:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.031044 -3.359812)', '2026-07-22 18:29:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031082 -3.359781)'), GeomFromEWKT('SRID=4674;POINT (-39.031044 -3.359812)'))) / (select extract(epoch from '2026-07-22 18:29:48'::timestamp) - extract(epoch from '2026-07-22 18:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031082 -3.359781)'), GeomFromEWKT('SRID=4674;POINT (-39.031044 -3.359812)'))) / (select extract(epoch from '2026-07-22 18:29:48'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.031028 -3.359837)', '2026-07-22 18:29:54', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031044 -3.359812)'), GeomFromEWKT('SRID=4674;POINT (-39.031028 -3.359837)'))) / (select extract(epoch from '2026-07-22 18:29:54'::timestamp) - extract(epoch from '2026-07-22 18:29:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031044 -3.359812)'), GeomFromEWKT('SRID=4674;POINT (-39.031028 -3.359837)'))) / (select extract(epoch from '2026-07-22 18:29:54'::timestamp) - extract(epoch from '2026-07-22 18:29: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'), 47445, 'SRID=4674;POINT (-39.031022 -3.359859)', '2026-07-22 18:30:01', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031028 -3.359837)'), GeomFromEWKT('SRID=4674;POINT (-39.031022 -3.359859)'))) / (select extract(epoch from '2026-07-22 18:30:01'::timestamp) - extract(epoch from '2026-07-22 18:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031028 -3.359837)'), GeomFromEWKT('SRID=4674;POINT (-39.031022 -3.359859)'))) / (select extract(epoch from '2026-07-22 18:30:01'::timestamp) - extract(epoch from '2026-07-22 18:29:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.031006 -3.359875)', '2026-07-22 18:30:12', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031022 -3.359859)'), GeomFromEWKT('SRID=4674;POINT (-39.031006 -3.359875)'))) / (select extract(epoch from '2026-07-22 18:30:12'::timestamp) - extract(epoch from '2026-07-22 18:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031022 -3.359859)'), GeomFromEWKT('SRID=4674;POINT (-39.031006 -3.359875)'))) / (select extract(epoch from '2026-07-22 18:30:12'::timestamp) - extract(epoch from '2026-07-22 18:30:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.030989 -3.359885)', '2026-07-22 18:30:19', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031006 -3.359875)'), GeomFromEWKT('SRID=4674;POINT (-39.030989 -3.359885)'))) / (select extract(epoch from '2026-07-22 18:30:19'::timestamp) - extract(epoch from '2026-07-22 18:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031006 -3.359875)'), GeomFromEWKT('SRID=4674;POINT (-39.030989 -3.359885)'))) / (select extract(epoch from '2026-07-22 18:30:19'::timestamp) - extract(epoch from '2026-07-22 18:30:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.030956 -3.359896)', '2026-07-22 18:30:27', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030989 -3.359885)'), GeomFromEWKT('SRID=4674;POINT (-39.030956 -3.359896)'))) / (select extract(epoch from '2026-07-22 18:30:27'::timestamp) - extract(epoch from '2026-07-22 18:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030989 -3.359885)'), GeomFromEWKT('SRID=4674;POINT (-39.030956 -3.359896)'))) / (select extract(epoch from '2026-07-22 18:30:27'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.030945 -3.35992)', '2026-07-22 18:30:35', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030956 -3.359896)'), GeomFromEWKT('SRID=4674;POINT (-39.030945 -3.35992)'))) / (select extract(epoch from '2026-07-22 18:30:35'::timestamp) - extract(epoch from '2026-07-22 18:30:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030956 -3.359896)'), GeomFromEWKT('SRID=4674;POINT (-39.030945 -3.35992)'))) / (select extract(epoch from '2026-07-22 18:30:35'::timestamp) - extract(epoch from '2026-07-22 18:30: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'), 47445, 'SRID=4674;POINT (-39.030943 -3.359946)', '2026-07-22 18:30:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030945 -3.35992)'), GeomFromEWKT('SRID=4674;POINT (-39.030943 -3.359946)'))) / (select extract(epoch from '2026-07-22 18:30:42'::timestamp) - extract(epoch from '2026-07-22 18:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030945 -3.35992)'), GeomFromEWKT('SRID=4674;POINT (-39.030943 -3.359946)'))) / (select extract(epoch from '2026-07-22 18:30:42'::timestamp) - extract(epoch from '2026-07-22 18:30: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'), 47445, 'SRID=4674;POINT (-39.030947 -3.359961)', '2026-07-22 18:30:52', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030943 -3.359946)'), GeomFromEWKT('SRID=4674;POINT (-39.030947 -3.359961)'))) / (select extract(epoch from '2026-07-22 18:30:52'::timestamp) - extract(epoch from '2026-07-22 18:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030943 -3.359946)'), GeomFromEWKT('SRID=4674;POINT (-39.030947 -3.359961)'))) / (select extract(epoch from '2026-07-22 18:30:52'::timestamp) - extract(epoch from '2026-07-22 18:30: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'), 47445, 'SRID=4674;POINT (-39.030965 -3.359963)', '2026-07-22 18:31:00', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030947 -3.359961)'), GeomFromEWKT('SRID=4674;POINT (-39.030965 -3.359963)'))) / (select extract(epoch from '2026-07-22 18:31:00'::timestamp) - extract(epoch from '2026-07-22 18:30:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030947 -3.359961)'), GeomFromEWKT('SRID=4674;POINT (-39.030965 -3.359963)'))) / (select extract(epoch from '2026-07-22 18:31:00'::timestamp) - extract(epoch from '2026-07-22 18:30: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'), 47445, 'SRID=4674;POINT (-39.030969 -3.359973)', '2026-07-22 18:31:11', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030965 -3.359963)'), GeomFromEWKT('SRID=4674;POINT (-39.030969 -3.359973)'))) / (select extract(epoch from '2026-07-22 18:31:11'::timestamp) - extract(epoch from '2026-07-22 18:31:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030965 -3.359963)'), GeomFromEWKT('SRID=4674;POINT (-39.030969 -3.359973)'))) / (select extract(epoch from '2026-07-22 18:31:11'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.030942 -3.359985)', '2026-07-22 18:31:26', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030969 -3.359973)'), GeomFromEWKT('SRID=4674;POINT (-39.030942 -3.359985)'))) / (select extract(epoch from '2026-07-22 18:31:26'::timestamp) - extract(epoch from '2026-07-22 18:31:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030969 -3.359973)'), GeomFromEWKT('SRID=4674;POINT (-39.030942 -3.359985)'))) / (select extract(epoch from '2026-07-22 18:31:26'::timestamp) - extract(epoch from '2026-07-22 18:31:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.030918 -3.360002)', '2026-07-22 18:31:34', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030942 -3.359985)'), GeomFromEWKT('SRID=4674;POINT (-39.030918 -3.360002)'))) / (select extract(epoch from '2026-07-22 18:31:34'::timestamp) - extract(epoch from '2026-07-22 18:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030942 -3.359985)'), GeomFromEWKT('SRID=4674;POINT (-39.030918 -3.360002)'))) / (select extract(epoch from '2026-07-22 18:31:34'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.030894 -3.360043)', '2026-07-22 18:31:43', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030918 -3.360002)'), GeomFromEWKT('SRID=4674;POINT (-39.030894 -3.360043)'))) / (select extract(epoch from '2026-07-22 18:31:43'::timestamp) - extract(epoch from '2026-07-22 18:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030918 -3.360002)'), GeomFromEWKT('SRID=4674;POINT (-39.030894 -3.360043)'))) / (select extract(epoch from '2026-07-22 18:31:43'::timestamp) - extract(epoch from '2026-07-22 18:31:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.030875 -3.360067)', '2026-07-22 18:31:50', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030894 -3.360043)'), GeomFromEWKT('SRID=4674;POINT (-39.030875 -3.360067)'))) / (select extract(epoch from '2026-07-22 18:31:50'::timestamp) - extract(epoch from '2026-07-22 18:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030894 -3.360043)'), GeomFromEWKT('SRID=4674;POINT (-39.030875 -3.360067)'))) / (select extract(epoch from '2026-07-22 18:31:50'::timestamp) - extract(epoch from '2026-07-22 18:31:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.030853 -3.360091)', '2026-07-22 18:31:59', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030875 -3.360067)'), GeomFromEWKT('SRID=4674;POINT (-39.030853 -3.360091)'))) / (select extract(epoch from '2026-07-22 18:31:59'::timestamp) - extract(epoch from '2026-07-22 18:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030875 -3.360067)'), GeomFromEWKT('SRID=4674;POINT (-39.030853 -3.360091)'))) / (select extract(epoch from '2026-07-22 18:31:59'::timestamp) - extract(epoch from '2026-07-22 18:31: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'), 47445, 'SRID=4674;POINT (-39.030828 -3.360117)', '2026-07-22 18:32:10', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030853 -3.360091)'), GeomFromEWKT('SRID=4674;POINT (-39.030828 -3.360117)'))) / (select extract(epoch from '2026-07-22 18:32:10'::timestamp) - extract(epoch from '2026-07-22 18:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030853 -3.360091)'), GeomFromEWKT('SRID=4674;POINT (-39.030828 -3.360117)'))) / (select extract(epoch from '2026-07-22 18:32:10'::timestamp) - extract(epoch from '2026-07-22 18:31:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.030805 -3.360135)', '2026-07-22 18:32:18', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030828 -3.360117)'), GeomFromEWKT('SRID=4674;POINT (-39.030805 -3.360135)'))) / (select extract(epoch from '2026-07-22 18:32:18'::timestamp) - extract(epoch from '2026-07-22 18:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030828 -3.360117)'), GeomFromEWKT('SRID=4674;POINT (-39.030805 -3.360135)'))) / (select extract(epoch from '2026-07-22 18:32:18'::timestamp) - extract(epoch from '2026-07-22 18:32:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.030798 -3.36015)', '2026-07-22 18:32:28', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030805 -3.360135)'), GeomFromEWKT('SRID=4674;POINT (-39.030798 -3.36015)'))) / (select extract(epoch from '2026-07-22 18:32:28'::timestamp) - extract(epoch from '2026-07-22 18:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030805 -3.360135)'), GeomFromEWKT('SRID=4674;POINT (-39.030798 -3.36015)'))) / (select extract(epoch from '2026-07-22 18:32:28'::timestamp) - extract(epoch from '2026-07-22 18:32:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.030788 -3.360173)', '2026-07-22 18:32:37', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030798 -3.36015)'), GeomFromEWKT('SRID=4674;POINT (-39.030788 -3.360173)'))) / (select extract(epoch from '2026-07-22 18:32:37'::timestamp) - extract(epoch from '2026-07-22 18:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030798 -3.36015)'), GeomFromEWKT('SRID=4674;POINT (-39.030788 -3.360173)'))) / (select extract(epoch from '2026-07-22 18:32:37'::timestamp) - extract(epoch from '2026-07-22 18:32: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'), 47445, 'SRID=4674;POINT (-39.030798 -3.360176)', '2026-07-22 18:32:46', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030788 -3.360173)'), GeomFromEWKT('SRID=4674;POINT (-39.030798 -3.360176)'))) / (select extract(epoch from '2026-07-22 18:32:46'::timestamp) - extract(epoch from '2026-07-22 18:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030788 -3.360173)'), GeomFromEWKT('SRID=4674;POINT (-39.030798 -3.360176)'))) / (select extract(epoch from '2026-07-22 18:32:46'::timestamp) - extract(epoch from '2026-07-22 18:32: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'), 47445, 'SRID=4674;POINT (-39.030808 -3.360171)', '2026-07-22 18:32:57', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030798 -3.360176)'), GeomFromEWKT('SRID=4674;POINT (-39.030808 -3.360171)'))) / (select extract(epoch from '2026-07-22 18:32:57'::timestamp) - extract(epoch from '2026-07-22 18:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030798 -3.360176)'), GeomFromEWKT('SRID=4674;POINT (-39.030808 -3.360171)'))) / (select extract(epoch from '2026-07-22 18:32:57'::timestamp) - extract(epoch from '2026-07-22 18:32:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.030829 -3.360184)', '2026-07-22 18:33:09', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030808 -3.360171)'), GeomFromEWKT('SRID=4674;POINT (-39.030829 -3.360184)'))) / (select extract(epoch from '2026-07-22 18:33:09'::timestamp) - extract(epoch from '2026-07-22 18:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030808 -3.360171)'), GeomFromEWKT('SRID=4674;POINT (-39.030829 -3.360184)'))) / (select extract(epoch from '2026-07-22 18:33:09'::timestamp) - extract(epoch from '2026-07-22 18:32: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'), 47445, 'SRID=4674;POINT (-39.030837 -3.360197)', '2026-07-22 18:33:18', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030829 -3.360184)'), GeomFromEWKT('SRID=4674;POINT (-39.030837 -3.360197)'))) / (select extract(epoch from '2026-07-22 18:33:18'::timestamp) - extract(epoch from '2026-07-22 18:33:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030829 -3.360184)'), GeomFromEWKT('SRID=4674;POINT (-39.030837 -3.360197)'))) / (select extract(epoch from '2026-07-22 18:33:18'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.03085 -3.360206)', '2026-07-22 18:33:31', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030837 -3.360197)'), GeomFromEWKT('SRID=4674;POINT (-39.03085 -3.360206)'))) / (select extract(epoch from '2026-07-22 18:33:31'::timestamp) - extract(epoch from '2026-07-22 18:33:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030837 -3.360197)'), GeomFromEWKT('SRID=4674;POINT (-39.03085 -3.360206)'))) / (select extract(epoch from '2026-07-22 18:33:31'::timestamp) - extract(epoch from '2026-07-22 18:33: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'), 47445, 'SRID=4674;POINT (-39.030855 -3.360214)', '2026-07-22 18:33:39', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03085 -3.360206)'), GeomFromEWKT('SRID=4674;POINT (-39.030855 -3.360214)'))) / (select extract(epoch from '2026-07-22 18:33:39'::timestamp) - extract(epoch from '2026-07-22 18:33:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03085 -3.360206)'), GeomFromEWKT('SRID=4674;POINT (-39.030855 -3.360214)'))) / (select extract(epoch from '2026-07-22 18:33:39'::timestamp) - extract(epoch from '2026-07-22 18:33: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'), 47445, 'SRID=4674;POINT (-39.030857 -3.360225)', '2026-07-22 18:33:46', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030855 -3.360214)'), GeomFromEWKT('SRID=4674;POINT (-39.030857 -3.360225)'))) / (select extract(epoch from '2026-07-22 18:33:46'::timestamp) - extract(epoch from '2026-07-22 18:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030855 -3.360214)'), GeomFromEWKT('SRID=4674;POINT (-39.030857 -3.360225)'))) / (select extract(epoch from '2026-07-22 18:33:46'::timestamp) - extract(epoch from '2026-07-22 18:33:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.030828 -3.360239)', '2026-07-22 18:33:55', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030857 -3.360225)'), GeomFromEWKT('SRID=4674;POINT (-39.030828 -3.360239)'))) / (select extract(epoch from '2026-07-22 18:33:55'::timestamp) - extract(epoch from '2026-07-22 18:33:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030857 -3.360225)'), GeomFromEWKT('SRID=4674;POINT (-39.030828 -3.360239)'))) / (select extract(epoch from '2026-07-22 18:33:55'::timestamp) - extract(epoch from '2026-07-22 18:33: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'), 47445, 'SRID=4674;POINT (-39.030806 -3.360251)', '2026-07-22 18:34:04', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030828 -3.360239)'), GeomFromEWKT('SRID=4674;POINT (-39.030806 -3.360251)'))) / (select extract(epoch from '2026-07-22 18:34:04'::timestamp) - extract(epoch from '2026-07-22 18:33:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030828 -3.360239)'), GeomFromEWKT('SRID=4674;POINT (-39.030806 -3.360251)'))) / (select extract(epoch from '2026-07-22 18:34:04'::timestamp) - extract(epoch from '2026-07-22 18:33:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.030785 -3.360274)', '2026-07-22 18:34:12', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030806 -3.360251)'), GeomFromEWKT('SRID=4674;POINT (-39.030785 -3.360274)'))) / (select extract(epoch from '2026-07-22 18:34:12'::timestamp) - extract(epoch from '2026-07-22 18:34:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030806 -3.360251)'), GeomFromEWKT('SRID=4674;POINT (-39.030785 -3.360274)'))) / (select extract(epoch from '2026-07-22 18:34:12'::timestamp) - extract(epoch from '2026-07-22 18:34: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'), 47445, 'SRID=4674;POINT (-39.030767 -3.360296)', '2026-07-22 18:34:20', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030785 -3.360274)'), GeomFromEWKT('SRID=4674;POINT (-39.030767 -3.360296)'))) / (select extract(epoch from '2026-07-22 18:34:20'::timestamp) - extract(epoch from '2026-07-22 18:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030785 -3.360274)'), GeomFromEWKT('SRID=4674;POINT (-39.030767 -3.360296)'))) / (select extract(epoch from '2026-07-22 18:34:20'::timestamp) - extract(epoch from '2026-07-22 18:34: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'), 47445, 'SRID=4674;POINT (-39.03075 -3.360311)', '2026-07-22 18:34:29', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030767 -3.360296)'), GeomFromEWKT('SRID=4674;POINT (-39.03075 -3.360311)'))) / (select extract(epoch from '2026-07-22 18:34:29'::timestamp) - extract(epoch from '2026-07-22 18:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030767 -3.360296)'), GeomFromEWKT('SRID=4674;POINT (-39.03075 -3.360311)'))) / (select extract(epoch from '2026-07-22 18:34:29'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.03074 -3.360311)', '2026-07-22 18:34:32', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03075 -3.360311)'), GeomFromEWKT('SRID=4674;POINT (-39.03074 -3.360311)'))) / (select extract(epoch from '2026-07-22 18:34:32'::timestamp) - extract(epoch from '2026-07-22 18:34:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03075 -3.360311)'), GeomFromEWKT('SRID=4674;POINT (-39.03074 -3.360311)'))) / (select extract(epoch from '2026-07-22 18:34:32'::timestamp) - extract(epoch from '2026-07-22 18:34: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'), 47445, 'SRID=4674;POINT (-39.03073 -3.360316)', '2026-07-22 18:34:35', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03074 -3.360311)'), GeomFromEWKT('SRID=4674;POINT (-39.03073 -3.360316)'))) / (select extract(epoch from '2026-07-22 18:34:35'::timestamp) - extract(epoch from '2026-07-22 18:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03074 -3.360311)'), GeomFromEWKT('SRID=4674;POINT (-39.03073 -3.360316)'))) / (select extract(epoch from '2026-07-22 18:34:35'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.030702 -3.360331)', '2026-07-22 18:34:42', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03073 -3.360316)'), GeomFromEWKT('SRID=4674;POINT (-39.030702 -3.360331)'))) / (select extract(epoch from '2026-07-22 18:34:42'::timestamp) - extract(epoch from '2026-07-22 18:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03073 -3.360316)'), GeomFromEWKT('SRID=4674;POINT (-39.030702 -3.360331)'))) / (select extract(epoch from '2026-07-22 18:34:42'::timestamp) - extract(epoch from '2026-07-22 18:34: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'), 47445, 'SRID=4674;POINT (-39.030683 -3.360359)', '2026-07-22 18:34:51', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030702 -3.360331)'), GeomFromEWKT('SRID=4674;POINT (-39.030683 -3.360359)'))) / (select extract(epoch from '2026-07-22 18:34:51'::timestamp) - extract(epoch from '2026-07-22 18:34:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030702 -3.360331)'), GeomFromEWKT('SRID=4674;POINT (-39.030683 -3.360359)'))) / (select extract(epoch from '2026-07-22 18:34:51'::timestamp) - extract(epoch from '2026-07-22 18:34: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'), 47445, 'SRID=4674;POINT (-39.030662 -3.360372)', '2026-07-22 18:35:01', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030683 -3.360359)'), GeomFromEWKT('SRID=4674;POINT (-39.030662 -3.360372)'))) / (select extract(epoch from '2026-07-22 18:35:01'::timestamp) - extract(epoch from '2026-07-22 18:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030683 -3.360359)'), GeomFromEWKT('SRID=4674;POINT (-39.030662 -3.360372)'))) / (select extract(epoch from '2026-07-22 18:35:01'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.030632 -3.360391)', '2026-07-22 18:35:10', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030662 -3.360372)'), GeomFromEWKT('SRID=4674;POINT (-39.030632 -3.360391)'))) / (select extract(epoch from '2026-07-22 18:35:10'::timestamp) - extract(epoch from '2026-07-22 18:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030662 -3.360372)'), GeomFromEWKT('SRID=4674;POINT (-39.030632 -3.360391)'))) / (select extract(epoch from '2026-07-22 18:35:10'::timestamp) - extract(epoch from '2026-07-22 18:35: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'), 47445, 'SRID=4674;POINT (-39.030638 -3.360398)', '2026-07-22 18:35:19', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030632 -3.360391)'), GeomFromEWKT('SRID=4674;POINT (-39.030638 -3.360398)'))) / (select extract(epoch from '2026-07-22 18:35:19'::timestamp) - extract(epoch from '2026-07-22 18:35:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030632 -3.360391)'), GeomFromEWKT('SRID=4674;POINT (-39.030638 -3.360398)'))) / (select extract(epoch from '2026-07-22 18:35:19'::timestamp) - extract(epoch from '2026-07-22 18:35: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'), 47445, 'SRID=4674;POINT (-39.030651 -3.360405)', '2026-07-22 18:35:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030638 -3.360398)'), GeomFromEWKT('SRID=4674;POINT (-39.030651 -3.360405)'))) / (select extract(epoch from '2026-07-22 18:35:27'::timestamp) - extract(epoch from '2026-07-22 18:35:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030638 -3.360398)'), GeomFromEWKT('SRID=4674;POINT (-39.030651 -3.360405)'))) / (select extract(epoch from '2026-07-22 18:35:27'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.030633 -3.360432)', '2026-07-22 18:35:36', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030651 -3.360405)'), GeomFromEWKT('SRID=4674;POINT (-39.030633 -3.360432)'))) / (select extract(epoch from '2026-07-22 18:35:36'::timestamp) - extract(epoch from '2026-07-22 18:35:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030651 -3.360405)'), GeomFromEWKT('SRID=4674;POINT (-39.030633 -3.360432)'))) / (select extract(epoch from '2026-07-22 18:35:36'::timestamp) - extract(epoch from '2026-07-22 18:35: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'), 47445, 'SRID=4674;POINT (-39.030608 -3.360454)', '2026-07-22 18:35:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030633 -3.360432)'), GeomFromEWKT('SRID=4674;POINT (-39.030608 -3.360454)'))) / (select extract(epoch from '2026-07-22 18:35:45'::timestamp) - extract(epoch from '2026-07-22 18:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030633 -3.360432)'), GeomFromEWKT('SRID=4674;POINT (-39.030608 -3.360454)'))) / (select extract(epoch from '2026-07-22 18:35:45'::timestamp) - extract(epoch from '2026-07-22 18:35:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.030567 -3.360478)', '2026-07-22 18:35:54', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030608 -3.360454)'), GeomFromEWKT('SRID=4674;POINT (-39.030567 -3.360478)'))) / (select extract(epoch from '2026-07-22 18:35:54'::timestamp) - extract(epoch from '2026-07-22 18:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030608 -3.360454)'), GeomFromEWKT('SRID=4674;POINT (-39.030567 -3.360478)'))) / (select extract(epoch from '2026-07-22 18:35:54'::timestamp) - extract(epoch from '2026-07-22 18:35: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'), 47445, 'SRID=4674;POINT (-39.030546 -3.360504)', '2026-07-22 18:36:02', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030567 -3.360478)'), GeomFromEWKT('SRID=4674;POINT (-39.030546 -3.360504)'))) / (select extract(epoch from '2026-07-22 18:36:02'::timestamp) - extract(epoch from '2026-07-22 18:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030567 -3.360478)'), GeomFromEWKT('SRID=4674;POINT (-39.030546 -3.360504)'))) / (select extract(epoch from '2026-07-22 18:36:02'::timestamp) - extract(epoch from '2026-07-22 18:35:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.030514 -3.360513)', '2026-07-22 18:36:11', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030546 -3.360504)'), GeomFromEWKT('SRID=4674;POINT (-39.030514 -3.360513)'))) / (select extract(epoch from '2026-07-22 18:36:11'::timestamp) - extract(epoch from '2026-07-22 18:36:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030546 -3.360504)'), GeomFromEWKT('SRID=4674;POINT (-39.030514 -3.360513)'))) / (select extract(epoch from '2026-07-22 18:36:11'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.030488 -3.360525)', '2026-07-22 18:36:18', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030514 -3.360513)'), GeomFromEWKT('SRID=4674;POINT (-39.030488 -3.360525)'))) / (select extract(epoch from '2026-07-22 18:36:18'::timestamp) - extract(epoch from '2026-07-22 18:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030514 -3.360513)'), GeomFromEWKT('SRID=4674;POINT (-39.030488 -3.360525)'))) / (select extract(epoch from '2026-07-22 18:36:18'::timestamp) - extract(epoch from '2026-07-22 18:36: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'), 47445, 'SRID=4674;POINT (-39.030481 -3.360553)', '2026-07-22 18:36:24', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030488 -3.360525)'), GeomFromEWKT('SRID=4674;POINT (-39.030481 -3.360553)'))) / (select extract(epoch from '2026-07-22 18:36:24'::timestamp) - extract(epoch from '2026-07-22 18:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030488 -3.360525)'), GeomFromEWKT('SRID=4674;POINT (-39.030481 -3.360553)'))) / (select extract(epoch from '2026-07-22 18:36:24'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.030455 -3.360582)', '2026-07-22 18:36:33', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030481 -3.360553)'), GeomFromEWKT('SRID=4674;POINT (-39.030455 -3.360582)'))) / (select extract(epoch from '2026-07-22 18:36:33'::timestamp) - extract(epoch from '2026-07-22 18:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030481 -3.360553)'), GeomFromEWKT('SRID=4674;POINT (-39.030455 -3.360582)'))) / (select extract(epoch from '2026-07-22 18:36:33'::timestamp) - extract(epoch from '2026-07-22 18:36:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.030418 -3.360587)', '2026-07-22 18:36:41', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030455 -3.360582)'), GeomFromEWKT('SRID=4674;POINT (-39.030418 -3.360587)'))) / (select extract(epoch from '2026-07-22 18:36:41'::timestamp) - extract(epoch from '2026-07-22 18:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030455 -3.360582)'), GeomFromEWKT('SRID=4674;POINT (-39.030418 -3.360587)'))) / (select extract(epoch from '2026-07-22 18:36:41'::timestamp) - extract(epoch from '2026-07-22 18:36: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'), 47445, 'SRID=4674;POINT (-39.030383 -3.360608)', '2026-07-22 18:36:49', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030418 -3.360587)'), GeomFromEWKT('SRID=4674;POINT (-39.030383 -3.360608)'))) / (select extract(epoch from '2026-07-22 18:36:49'::timestamp) - extract(epoch from '2026-07-22 18:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030418 -3.360587)'), GeomFromEWKT('SRID=4674;POINT (-39.030383 -3.360608)'))) / (select extract(epoch from '2026-07-22 18:36:49'::timestamp) - extract(epoch from '2026-07-22 18:36:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.030369 -3.360647)', '2026-07-22 18:36:57', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030383 -3.360608)'), GeomFromEWKT('SRID=4674;POINT (-39.030369 -3.360647)'))) / (select extract(epoch from '2026-07-22 18:36:57'::timestamp) - extract(epoch from '2026-07-22 18:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030383 -3.360608)'), GeomFromEWKT('SRID=4674;POINT (-39.030369 -3.360647)'))) / (select extract(epoch from '2026-07-22 18:36:57'::timestamp) - extract(epoch from '2026-07-22 18:36: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'), 47445, 'SRID=4674;POINT (-39.030319 -3.360676)', '2026-07-22 18:37:08', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030369 -3.360647)'), GeomFromEWKT('SRID=4674;POINT (-39.030319 -3.360676)'))) / (select extract(epoch from '2026-07-22 18:37:08'::timestamp) - extract(epoch from '2026-07-22 18:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030369 -3.360647)'), GeomFromEWKT('SRID=4674;POINT (-39.030319 -3.360676)'))) / (select extract(epoch from '2026-07-22 18:37:08'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.030288 -3.360684)', '2026-07-22 18:37:17', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030319 -3.360676)'), GeomFromEWKT('SRID=4674;POINT (-39.030288 -3.360684)'))) / (select extract(epoch from '2026-07-22 18:37:17'::timestamp) - extract(epoch from '2026-07-22 18:37:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030319 -3.360676)'), GeomFromEWKT('SRID=4674;POINT (-39.030288 -3.360684)'))) / (select extract(epoch from '2026-07-22 18:37:17'::timestamp) - extract(epoch from '2026-07-22 18:37:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.030265 -3.360715)', '2026-07-22 18:37:25', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030288 -3.360684)'), GeomFromEWKT('SRID=4674;POINT (-39.030265 -3.360715)'))) / (select extract(epoch from '2026-07-22 18:37:25'::timestamp) - extract(epoch from '2026-07-22 18:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030288 -3.360684)'), GeomFromEWKT('SRID=4674;POINT (-39.030265 -3.360715)'))) / (select extract(epoch from '2026-07-22 18:37:25'::timestamp) - extract(epoch from '2026-07-22 18:37:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.030247 -3.360734)', '2026-07-22 18:37:31', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030265 -3.360715)'), GeomFromEWKT('SRID=4674;POINT (-39.030247 -3.360734)'))) / (select extract(epoch from '2026-07-22 18:37:31'::timestamp) - extract(epoch from '2026-07-22 18:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030265 -3.360715)'), GeomFromEWKT('SRID=4674;POINT (-39.030247 -3.360734)'))) / (select extract(epoch from '2026-07-22 18:37:31'::timestamp) - extract(epoch from '2026-07-22 18:37: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'), 47445, 'SRID=4674;POINT (-39.03021 -3.360743)', '2026-07-22 18:37:38', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030247 -3.360734)'), GeomFromEWKT('SRID=4674;POINT (-39.03021 -3.360743)'))) / (select extract(epoch from '2026-07-22 18:37:38'::timestamp) - extract(epoch from '2026-07-22 18:37:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030247 -3.360734)'), GeomFromEWKT('SRID=4674;POINT (-39.03021 -3.360743)'))) / (select extract(epoch from '2026-07-22 18:37:38'::timestamp) - extract(epoch from '2026-07-22 18:37:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.030165 -3.360767)', '2026-07-22 18:37:48', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03021 -3.360743)'), GeomFromEWKT('SRID=4674;POINT (-39.030165 -3.360767)'))) / (select extract(epoch from '2026-07-22 18:37:48'::timestamp) - extract(epoch from '2026-07-22 18:37:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03021 -3.360743)'), GeomFromEWKT('SRID=4674;POINT (-39.030165 -3.360767)'))) / (select extract(epoch from '2026-07-22 18:37:48'::timestamp) - extract(epoch from '2026-07-22 18:37: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'), 47445, 'SRID=4674;POINT (-39.030136 -3.360803)', '2026-07-22 18:37:56', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030165 -3.360767)'), GeomFromEWKT('SRID=4674;POINT (-39.030136 -3.360803)'))) / (select extract(epoch from '2026-07-22 18:37:56'::timestamp) - extract(epoch from '2026-07-22 18:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030165 -3.360767)'), GeomFromEWKT('SRID=4674;POINT (-39.030136 -3.360803)'))) / (select extract(epoch from '2026-07-22 18:37:56'::timestamp) - extract(epoch from '2026-07-22 18:37:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.030104 -3.360819)', '2026-07-22 18:38:04', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030136 -3.360803)'), GeomFromEWKT('SRID=4674;POINT (-39.030104 -3.360819)'))) / (select extract(epoch from '2026-07-22 18:38:04'::timestamp) - extract(epoch from '2026-07-22 18:37:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030136 -3.360803)'), GeomFromEWKT('SRID=4674;POINT (-39.030104 -3.360819)'))) / (select extract(epoch from '2026-07-22 18:38:04'::timestamp) - extract(epoch from '2026-07-22 18:37: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'), 47445, 'SRID=4674;POINT (-39.030061 -3.360833)', '2026-07-22 18:38:13', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030104 -3.360819)'), GeomFromEWKT('SRID=4674;POINT (-39.030061 -3.360833)'))) / (select extract(epoch from '2026-07-22 18:38:13'::timestamp) - extract(epoch from '2026-07-22 18:38:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030104 -3.360819)'), GeomFromEWKT('SRID=4674;POINT (-39.030061 -3.360833)'))) / (select extract(epoch from '2026-07-22 18:38:13'::timestamp) - extract(epoch from '2026-07-22 18:38: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'), 47445, 'SRID=4674;POINT (-39.03004 -3.360856)', '2026-07-22 18:38:20', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030061 -3.360833)'), GeomFromEWKT('SRID=4674;POINT (-39.03004 -3.360856)'))) / (select extract(epoch from '2026-07-22 18:38:20'::timestamp) - extract(epoch from '2026-07-22 18:38:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030061 -3.360833)'), GeomFromEWKT('SRID=4674;POINT (-39.03004 -3.360856)'))) / (select extract(epoch from '2026-07-22 18:38:20'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.030021 -3.360879)', '2026-07-22 18:38:27', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03004 -3.360856)'), GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.360879)'))) / (select extract(epoch from '2026-07-22 18:38:27'::timestamp) - extract(epoch from '2026-07-22 18:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03004 -3.360856)'), GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.360879)'))) / (select extract(epoch from '2026-07-22 18:38:27'::timestamp) - extract(epoch from '2026-07-22 18:38: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'), 47445, 'SRID=4674;POINT (-39.029985 -3.360894)', '2026-07-22 18:38:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.360879)'), GeomFromEWKT('SRID=4674;POINT (-39.029985 -3.360894)'))) / (select extract(epoch from '2026-07-22 18:38:34'::timestamp) - extract(epoch from '2026-07-22 18:38:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.360879)'), GeomFromEWKT('SRID=4674;POINT (-39.029985 -3.360894)'))) / (select extract(epoch from '2026-07-22 18:38:34'::timestamp) - extract(epoch from '2026-07-22 18:38:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029944 -3.360922)', '2026-07-22 18:38:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029985 -3.360894)'), GeomFromEWKT('SRID=4674;POINT (-39.029944 -3.360922)'))) / (select extract(epoch from '2026-07-22 18:38:43'::timestamp) - extract(epoch from '2026-07-22 18:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029985 -3.360894)'), GeomFromEWKT('SRID=4674;POINT (-39.029944 -3.360922)'))) / (select extract(epoch from '2026-07-22 18:38:43'::timestamp) - extract(epoch from '2026-07-22 18:38:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02991 -3.360952)', '2026-07-22 18:38:52', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029944 -3.360922)'), GeomFromEWKT('SRID=4674;POINT (-39.02991 -3.360952)'))) / (select extract(epoch from '2026-07-22 18:38:52'::timestamp) - extract(epoch from '2026-07-22 18:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029944 -3.360922)'), GeomFromEWKT('SRID=4674;POINT (-39.02991 -3.360952)'))) / (select extract(epoch from '2026-07-22 18:38:52'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.029875 -3.360972)', '2026-07-22 18:39:00', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02991 -3.360952)'), GeomFromEWKT('SRID=4674;POINT (-39.029875 -3.360972)'))) / (select extract(epoch from '2026-07-22 18:39:00'::timestamp) - extract(epoch from '2026-07-22 18:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02991 -3.360952)'), GeomFromEWKT('SRID=4674;POINT (-39.029875 -3.360972)'))) / (select extract(epoch from '2026-07-22 18:39:00'::timestamp) - extract(epoch from '2026-07-22 18:38:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02984 -3.360995)', '2026-07-22 18:39:09', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029875 -3.360972)'), GeomFromEWKT('SRID=4674;POINT (-39.02984 -3.360995)'))) / (select extract(epoch from '2026-07-22 18:39:09'::timestamp) - extract(epoch from '2026-07-22 18:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029875 -3.360972)'), GeomFromEWKT('SRID=4674;POINT (-39.02984 -3.360995)'))) / (select extract(epoch from '2026-07-22 18:39:09'::timestamp) - extract(epoch from '2026-07-22 18:39: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'), 47445, 'SRID=4674;POINT (-39.029825 -3.361019)', '2026-07-22 18:39:15', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02984 -3.360995)'), GeomFromEWKT('SRID=4674;POINT (-39.029825 -3.361019)'))) / (select extract(epoch from '2026-07-22 18:39:15'::timestamp) - extract(epoch from '2026-07-22 18:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02984 -3.360995)'), GeomFromEWKT('SRID=4674;POINT (-39.029825 -3.361019)'))) / (select extract(epoch from '2026-07-22 18:39:15'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.029811 -3.36104)', '2026-07-22 18:39:21', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029825 -3.361019)'), GeomFromEWKT('SRID=4674;POINT (-39.029811 -3.36104)'))) / (select extract(epoch from '2026-07-22 18:39:21'::timestamp) - extract(epoch from '2026-07-22 18:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029825 -3.361019)'), GeomFromEWKT('SRID=4674;POINT (-39.029811 -3.36104)'))) / (select extract(epoch from '2026-07-22 18:39:21'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.029792 -3.361041)', '2026-07-22 18:39:28', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029811 -3.36104)'), GeomFromEWKT('SRID=4674;POINT (-39.029792 -3.361041)'))) / (select extract(epoch from '2026-07-22 18:39:28'::timestamp) - extract(epoch from '2026-07-22 18:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029811 -3.36104)'), GeomFromEWKT('SRID=4674;POINT (-39.029792 -3.361041)'))) / (select extract(epoch from '2026-07-22 18:39:28'::timestamp) - extract(epoch from '2026-07-22 18:39:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029761 -3.361059)', '2026-07-22 18:39:36', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029792 -3.361041)'), GeomFromEWKT('SRID=4674;POINT (-39.029761 -3.361059)'))) / (select extract(epoch from '2026-07-22 18:39:36'::timestamp) - extract(epoch from '2026-07-22 18:39:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029792 -3.361041)'), GeomFromEWKT('SRID=4674;POINT (-39.029761 -3.361059)'))) / (select extract(epoch from '2026-07-22 18:39:36'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.029732 -3.361097)', '2026-07-22 18:39:44', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029761 -3.361059)'), GeomFromEWKT('SRID=4674;POINT (-39.029732 -3.361097)'))) / (select extract(epoch from '2026-07-22 18:39:44'::timestamp) - extract(epoch from '2026-07-22 18:39:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029761 -3.361059)'), GeomFromEWKT('SRID=4674;POINT (-39.029732 -3.361097)'))) / (select extract(epoch from '2026-07-22 18:39:44'::timestamp) - extract(epoch from '2026-07-22 18:39: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'), 47445, 'SRID=4674;POINT (-39.029712 -3.361123)', '2026-07-22 18:39:51', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029732 -3.361097)'), GeomFromEWKT('SRID=4674;POINT (-39.029712 -3.361123)'))) / (select extract(epoch from '2026-07-22 18:39:51'::timestamp) - extract(epoch from '2026-07-22 18:39:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029732 -3.361097)'), GeomFromEWKT('SRID=4674;POINT (-39.029712 -3.361123)'))) / (select extract(epoch from '2026-07-22 18:39:51'::timestamp) - extract(epoch from '2026-07-22 18:39:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029682 -3.361134)', '2026-07-22 18:40:00', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029712 -3.361123)'), GeomFromEWKT('SRID=4674;POINT (-39.029682 -3.361134)'))) / (select extract(epoch from '2026-07-22 18:40:00'::timestamp) - extract(epoch from '2026-07-22 18:39:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029712 -3.361123)'), GeomFromEWKT('SRID=4674;POINT (-39.029682 -3.361134)'))) / (select extract(epoch from '2026-07-22 18:40:00'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.029651 -3.361153)', '2026-07-22 18:40:09', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029682 -3.361134)'), GeomFromEWKT('SRID=4674;POINT (-39.029651 -3.361153)'))) / (select extract(epoch from '2026-07-22 18:40:09'::timestamp) - extract(epoch from '2026-07-22 18:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029682 -3.361134)'), GeomFromEWKT('SRID=4674;POINT (-39.029651 -3.361153)'))) / (select extract(epoch from '2026-07-22 18:40:09'::timestamp) - extract(epoch from '2026-07-22 18:40:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029605 -3.361192)', '2026-07-22 18:40:19', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029651 -3.361153)'), GeomFromEWKT('SRID=4674;POINT (-39.029605 -3.361192)'))) / (select extract(epoch from '2026-07-22 18:40:19'::timestamp) - extract(epoch from '2026-07-22 18:40:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029651 -3.361153)'), GeomFromEWKT('SRID=4674;POINT (-39.029605 -3.361192)'))) / (select extract(epoch from '2026-07-22 18:40:19'::timestamp) - extract(epoch from '2026-07-22 18:40: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'), 47445, 'SRID=4674;POINT (-39.029568 -3.361215)', '2026-07-22 18:40:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029605 -3.361192)'), GeomFromEWKT('SRID=4674;POINT (-39.029568 -3.361215)'))) / (select extract(epoch from '2026-07-22 18:40:29'::timestamp) - extract(epoch from '2026-07-22 18:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029605 -3.361192)'), GeomFromEWKT('SRID=4674;POINT (-39.029568 -3.361215)'))) / (select extract(epoch from '2026-07-22 18:40:29'::timestamp) - extract(epoch from '2026-07-22 18:40:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029543 -3.361232)', '2026-07-22 18:40:37', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029568 -3.361215)'), GeomFromEWKT('SRID=4674;POINT (-39.029543 -3.361232)'))) / (select extract(epoch from '2026-07-22 18:40:37'::timestamp) - extract(epoch from '2026-07-22 18:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029568 -3.361215)'), GeomFromEWKT('SRID=4674;POINT (-39.029543 -3.361232)'))) / (select extract(epoch from '2026-07-22 18:40:37'::timestamp) - extract(epoch from '2026-07-22 18:40:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029511 -3.361259)', '2026-07-22 18:40:46', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029543 -3.361232)'), GeomFromEWKT('SRID=4674;POINT (-39.029511 -3.361259)'))) / (select extract(epoch from '2026-07-22 18:40:46'::timestamp) - extract(epoch from '2026-07-22 18:40:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029543 -3.361232)'), GeomFromEWKT('SRID=4674;POINT (-39.029511 -3.361259)'))) / (select extract(epoch from '2026-07-22 18:40:46'::timestamp) - extract(epoch from '2026-07-22 18:40: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'), 47445, 'SRID=4674;POINT (-39.0295 -3.361283)', '2026-07-22 18:40:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029511 -3.361259)'), GeomFromEWKT('SRID=4674;POINT (-39.0295 -3.361283)'))) / (select extract(epoch from '2026-07-22 18:40:54'::timestamp) - extract(epoch from '2026-07-22 18:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029511 -3.361259)'), GeomFromEWKT('SRID=4674;POINT (-39.0295 -3.361283)'))) / (select extract(epoch from '2026-07-22 18:40:54'::timestamp) - extract(epoch from '2026-07-22 18:40: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'), 47445, 'SRID=4674;POINT (-39.029475 -3.36131)', '2026-07-22 18:41:01', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0295 -3.361283)'), GeomFromEWKT('SRID=4674;POINT (-39.029475 -3.36131)'))) / (select extract(epoch from '2026-07-22 18:41:01'::timestamp) - extract(epoch from '2026-07-22 18:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0295 -3.361283)'), GeomFromEWKT('SRID=4674;POINT (-39.029475 -3.36131)'))) / (select extract(epoch from '2026-07-22 18:41:01'::timestamp) - extract(epoch from '2026-07-22 18:40: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'), 47445, 'SRID=4674;POINT (-39.029446 -3.36133)', '2026-07-22 18:41:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029475 -3.36131)'), GeomFromEWKT('SRID=4674;POINT (-39.029446 -3.36133)'))) / (select extract(epoch from '2026-07-22 18:41:08'::timestamp) - extract(epoch from '2026-07-22 18:41:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029475 -3.36131)'), GeomFromEWKT('SRID=4674;POINT (-39.029446 -3.36133)'))) / (select extract(epoch from '2026-07-22 18:41:08'::timestamp) - extract(epoch from '2026-07-22 18:41: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'), 47445, 'SRID=4674;POINT (-39.029402 -3.361346)', '2026-07-22 18:41:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029446 -3.36133)'), GeomFromEWKT('SRID=4674;POINT (-39.029402 -3.361346)'))) / (select extract(epoch from '2026-07-22 18:41:17'::timestamp) - extract(epoch from '2026-07-22 18:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029446 -3.36133)'), GeomFromEWKT('SRID=4674;POINT (-39.029402 -3.361346)'))) / (select extract(epoch from '2026-07-22 18:41:17'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.029354 -3.361382)', '2026-07-22 18:41:28', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029402 -3.361346)'), GeomFromEWKT('SRID=4674;POINT (-39.029354 -3.361382)'))) / (select extract(epoch from '2026-07-22 18:41:28'::timestamp) - extract(epoch from '2026-07-22 18:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029402 -3.361346)'), GeomFromEWKT('SRID=4674;POINT (-39.029354 -3.361382)'))) / (select extract(epoch from '2026-07-22 18:41:28'::timestamp) - extract(epoch from '2026-07-22 18:41:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029331 -3.361403)', '2026-07-22 18:41:35', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029354 -3.361382)'), GeomFromEWKT('SRID=4674;POINT (-39.029331 -3.361403)'))) / (select extract(epoch from '2026-07-22 18:41:35'::timestamp) - extract(epoch from '2026-07-22 18:41:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029354 -3.361382)'), GeomFromEWKT('SRID=4674;POINT (-39.029331 -3.361403)'))) / (select extract(epoch from '2026-07-22 18:41:35'::timestamp) - extract(epoch from '2026-07-22 18:41:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029293 -3.361426)', '2026-07-22 18:41:43', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029331 -3.361403)'), GeomFromEWKT('SRID=4674;POINT (-39.029293 -3.361426)'))) / (select extract(epoch from '2026-07-22 18:41:43'::timestamp) - extract(epoch from '2026-07-22 18:41:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029331 -3.361403)'), GeomFromEWKT('SRID=4674;POINT (-39.029293 -3.361426)'))) / (select extract(epoch from '2026-07-22 18:41:43'::timestamp) - extract(epoch from '2026-07-22 18:41: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'), 47445, 'SRID=4674;POINT (-39.02927 -3.361442)', '2026-07-22 18:41:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029293 -3.361426)'), GeomFromEWKT('SRID=4674;POINT (-39.02927 -3.361442)'))) / (select extract(epoch from '2026-07-22 18:41:51'::timestamp) - extract(epoch from '2026-07-22 18:41:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029293 -3.361426)'), GeomFromEWKT('SRID=4674;POINT (-39.02927 -3.361442)'))) / (select extract(epoch from '2026-07-22 18:41:51'::timestamp) - extract(epoch from '2026-07-22 18:41:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029236 -3.361453)', '2026-07-22 18:41:59', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02927 -3.361442)'), GeomFromEWKT('SRID=4674;POINT (-39.029236 -3.361453)'))) / (select extract(epoch from '2026-07-22 18:41:59'::timestamp) - extract(epoch from '2026-07-22 18:41:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02927 -3.361442)'), GeomFromEWKT('SRID=4674;POINT (-39.029236 -3.361453)'))) / (select extract(epoch from '2026-07-22 18:41:59'::timestamp) - extract(epoch from '2026-07-22 18:41: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'), 47445, 'SRID=4674;POINT (-39.029207 -3.361472)', '2026-07-22 18:42:06', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029236 -3.361453)'), GeomFromEWKT('SRID=4674;POINT (-39.029207 -3.361472)'))) / (select extract(epoch from '2026-07-22 18:42:06'::timestamp) - extract(epoch from '2026-07-22 18:41:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029236 -3.361453)'), GeomFromEWKT('SRID=4674;POINT (-39.029207 -3.361472)'))) / (select extract(epoch from '2026-07-22 18:42:06'::timestamp) - extract(epoch from '2026-07-22 18:41: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'), 47445, 'SRID=4674;POINT (-39.029191 -3.361506)', '2026-07-22 18:42:13', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029207 -3.361472)'), GeomFromEWKT('SRID=4674;POINT (-39.029191 -3.361506)'))) / (select extract(epoch from '2026-07-22 18:42:13'::timestamp) - extract(epoch from '2026-07-22 18:42:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029207 -3.361472)'), GeomFromEWKT('SRID=4674;POINT (-39.029191 -3.361506)'))) / (select extract(epoch from '2026-07-22 18:42:13'::timestamp) - extract(epoch from '2026-07-22 18:42: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'), 47445, 'SRID=4674;POINT (-39.029156 -3.361534)', '2026-07-22 18:42:23', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029191 -3.361506)'), GeomFromEWKT('SRID=4674;POINT (-39.029156 -3.361534)'))) / (select extract(epoch from '2026-07-22 18:42:23'::timestamp) - extract(epoch from '2026-07-22 18:42:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029191 -3.361506)'), GeomFromEWKT('SRID=4674;POINT (-39.029156 -3.361534)'))) / (select extract(epoch from '2026-07-22 18:42:23'::timestamp) - extract(epoch from '2026-07-22 18:42: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'), 47445, 'SRID=4674;POINT (-39.029126 -3.361551)', '2026-07-22 18:42:31', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029156 -3.361534)'), GeomFromEWKT('SRID=4674;POINT (-39.029126 -3.361551)'))) / (select extract(epoch from '2026-07-22 18:42:31'::timestamp) - extract(epoch from '2026-07-22 18:42:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029156 -3.361534)'), GeomFromEWKT('SRID=4674;POINT (-39.029126 -3.361551)'))) / (select extract(epoch from '2026-07-22 18:42:31'::timestamp) - extract(epoch from '2026-07-22 18:42: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'), 47445, 'SRID=4674;POINT (-39.029073 -3.361572)', '2026-07-22 18:42:42', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029126 -3.361551)'), GeomFromEWKT('SRID=4674;POINT (-39.029073 -3.361572)'))) / (select extract(epoch from '2026-07-22 18:42:42'::timestamp) - extract(epoch from '2026-07-22 18:42:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029126 -3.361551)'), GeomFromEWKT('SRID=4674;POINT (-39.029073 -3.361572)'))) / (select extract(epoch from '2026-07-22 18:42:42'::timestamp) - extract(epoch from '2026-07-22 18:42:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029063 -3.361596)', '2026-07-22 18:42:50', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029073 -3.361572)'), GeomFromEWKT('SRID=4674;POINT (-39.029063 -3.361596)'))) / (select extract(epoch from '2026-07-22 18:42:50'::timestamp) - extract(epoch from '2026-07-22 18:42:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029073 -3.361572)'), GeomFromEWKT('SRID=4674;POINT (-39.029063 -3.361596)'))) / (select extract(epoch from '2026-07-22 18:42:50'::timestamp) - extract(epoch from '2026-07-22 18:42: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'), 47445, 'SRID=4674;POINT (-39.029051 -3.361611)', '2026-07-22 18:42:57', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029063 -3.361596)'), GeomFromEWKT('SRID=4674;POINT (-39.029051 -3.361611)'))) / (select extract(epoch from '2026-07-22 18:42:57'::timestamp) - extract(epoch from '2026-07-22 18:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029063 -3.361596)'), GeomFromEWKT('SRID=4674;POINT (-39.029051 -3.361611)'))) / (select extract(epoch from '2026-07-22 18:42:57'::timestamp) - extract(epoch from '2026-07-22 18:42: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'), 47445, 'SRID=4674;POINT (-39.029012 -3.361629)', '2026-07-22 18:43:05', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029051 -3.361611)'), GeomFromEWKT('SRID=4674;POINT (-39.029012 -3.361629)'))) / (select extract(epoch from '2026-07-22 18:43:05'::timestamp) - extract(epoch from '2026-07-22 18:42:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029051 -3.361611)'), GeomFromEWKT('SRID=4674;POINT (-39.029012 -3.361629)'))) / (select extract(epoch from '2026-07-22 18:43:05'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.028965 -3.361668)', '2026-07-22 18:43:15', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029012 -3.361629)'), GeomFromEWKT('SRID=4674;POINT (-39.028965 -3.361668)'))) / (select extract(epoch from '2026-07-22 18:43:15'::timestamp) - extract(epoch from '2026-07-22 18:43:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029012 -3.361629)'), GeomFromEWKT('SRID=4674;POINT (-39.028965 -3.361668)'))) / (select extract(epoch from '2026-07-22 18:43:15'::timestamp) - extract(epoch from '2026-07-22 18:43: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'), 47445, 'SRID=4674;POINT (-39.02895 -3.361696)', '2026-07-22 18:43:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028965 -3.361668)'), GeomFromEWKT('SRID=4674;POINT (-39.02895 -3.361696)'))) / (select extract(epoch from '2026-07-22 18:43:22'::timestamp) - extract(epoch from '2026-07-22 18:43:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028965 -3.361668)'), GeomFromEWKT('SRID=4674;POINT (-39.02895 -3.361696)'))) / (select extract(epoch from '2026-07-22 18:43:22'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.028933 -3.361715)', '2026-07-22 18:43:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02895 -3.361696)'), GeomFromEWKT('SRID=4674;POINT (-39.028933 -3.361715)'))) / (select extract(epoch from '2026-07-22 18:43:30'::timestamp) - extract(epoch from '2026-07-22 18:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02895 -3.361696)'), GeomFromEWKT('SRID=4674;POINT (-39.028933 -3.361715)'))) / (select extract(epoch from '2026-07-22 18:43:30'::timestamp) - extract(epoch from '2026-07-22 18:43: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'), 47445, 'SRID=4674;POINT (-39.028893 -3.361723)', '2026-07-22 18:43:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028933 -3.361715)'), GeomFromEWKT('SRID=4674;POINT (-39.028893 -3.361723)'))) / (select extract(epoch from '2026-07-22 18:43:40'::timestamp) - extract(epoch from '2026-07-22 18:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028933 -3.361715)'), GeomFromEWKT('SRID=4674;POINT (-39.028893 -3.361723)'))) / (select extract(epoch from '2026-07-22 18:43:40'::timestamp) - extract(epoch from '2026-07-22 18:43: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'), 47445, 'SRID=4674;POINT (-39.028862 -3.361749)', '2026-07-22 18:43:48', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028893 -3.361723)'), GeomFromEWKT('SRID=4674;POINT (-39.028862 -3.361749)'))) / (select extract(epoch from '2026-07-22 18:43:48'::timestamp) - extract(epoch from '2026-07-22 18:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028893 -3.361723)'), GeomFromEWKT('SRID=4674;POINT (-39.028862 -3.361749)'))) / (select extract(epoch from '2026-07-22 18:43:48'::timestamp) - extract(epoch from '2026-07-22 18:43: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'), 47445, 'SRID=4674;POINT (-39.028841 -3.361779)', '2026-07-22 18:43:55', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028862 -3.361749)'), GeomFromEWKT('SRID=4674;POINT (-39.028841 -3.361779)'))) / (select extract(epoch from '2026-07-22 18:43:55'::timestamp) - extract(epoch from '2026-07-22 18:43:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028862 -3.361749)'), GeomFromEWKT('SRID=4674;POINT (-39.028841 -3.361779)'))) / (select extract(epoch from '2026-07-22 18:43:55'::timestamp) - extract(epoch from '2026-07-22 18:43: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'), 47445, 'SRID=4674;POINT (-39.028802 -3.361798)', '2026-07-22 18:44:03', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028841 -3.361779)'), GeomFromEWKT('SRID=4674;POINT (-39.028802 -3.361798)'))) / (select extract(epoch from '2026-07-22 18:44:03'::timestamp) - extract(epoch from '2026-07-22 18:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028841 -3.361779)'), GeomFromEWKT('SRID=4674;POINT (-39.028802 -3.361798)'))) / (select extract(epoch from '2026-07-22 18:44:03'::timestamp) - extract(epoch from '2026-07-22 18:43: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'), 47445, 'SRID=4674;POINT (-39.028763 -3.36182)', '2026-07-22 18:44:11', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028802 -3.361798)'), GeomFromEWKT('SRID=4674;POINT (-39.028763 -3.36182)'))) / (select extract(epoch from '2026-07-22 18:44:11'::timestamp) - extract(epoch from '2026-07-22 18:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028802 -3.361798)'), GeomFromEWKT('SRID=4674;POINT (-39.028763 -3.36182)'))) / (select extract(epoch from '2026-07-22 18:44:11'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.028724 -3.361854)', '2026-07-22 18:44:20', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028763 -3.36182)'), GeomFromEWKT('SRID=4674;POINT (-39.028724 -3.361854)'))) / (select extract(epoch from '2026-07-22 18:44:20'::timestamp) - extract(epoch from '2026-07-22 18:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028763 -3.36182)'), GeomFromEWKT('SRID=4674;POINT (-39.028724 -3.361854)'))) / (select extract(epoch from '2026-07-22 18:44:20'::timestamp) - extract(epoch from '2026-07-22 18:44: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'), 47445, 'SRID=4674;POINT (-39.02871 -3.361874)', '2026-07-22 18:44:27', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028724 -3.361854)'), GeomFromEWKT('SRID=4674;POINT (-39.02871 -3.361874)'))) / (select extract(epoch from '2026-07-22 18:44:27'::timestamp) - extract(epoch from '2026-07-22 18:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028724 -3.361854)'), GeomFromEWKT('SRID=4674;POINT (-39.02871 -3.361874)'))) / (select extract(epoch from '2026-07-22 18:44:27'::timestamp) - extract(epoch from '2026-07-22 18:44: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'), 47445, 'SRID=4674;POINT (-39.028674 -3.361888)', '2026-07-22 18:44:34', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02871 -3.361874)'), GeomFromEWKT('SRID=4674;POINT (-39.028674 -3.361888)'))) / (select extract(epoch from '2026-07-22 18:44:34'::timestamp) - extract(epoch from '2026-07-22 18:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02871 -3.361874)'), GeomFromEWKT('SRID=4674;POINT (-39.028674 -3.361888)'))) / (select extract(epoch from '2026-07-22 18:44:34'::timestamp) - extract(epoch from '2026-07-22 18:44: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'), 47445, 'SRID=4674;POINT (-39.028636 -3.361898)', '2026-07-22 18:44:42', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028674 -3.361888)'), GeomFromEWKT('SRID=4674;POINT (-39.028636 -3.361898)'))) / (select extract(epoch from '2026-07-22 18:44:42'::timestamp) - extract(epoch from '2026-07-22 18:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028674 -3.361888)'), GeomFromEWKT('SRID=4674;POINT (-39.028636 -3.361898)'))) / (select extract(epoch from '2026-07-22 18:44:42'::timestamp) - extract(epoch from '2026-07-22 18:44: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'), 47445, 'SRID=4674;POINT (-39.028607 -3.361911)', '2026-07-22 18:44:50', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028636 -3.361898)'), GeomFromEWKT('SRID=4674;POINT (-39.028607 -3.361911)'))) / (select extract(epoch from '2026-07-22 18:44:50'::timestamp) - extract(epoch from '2026-07-22 18:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028636 -3.361898)'), GeomFromEWKT('SRID=4674;POINT (-39.028607 -3.361911)'))) / (select extract(epoch from '2026-07-22 18:44:50'::timestamp) - extract(epoch from '2026-07-22 18:44: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'), 47445, 'SRID=4674;POINT (-39.028587 -3.361938)', '2026-07-22 18:44:57', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028607 -3.361911)'), GeomFromEWKT('SRID=4674;POINT (-39.028587 -3.361938)'))) / (select extract(epoch from '2026-07-22 18:44:57'::timestamp) - extract(epoch from '2026-07-22 18:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028607 -3.361911)'), GeomFromEWKT('SRID=4674;POINT (-39.028587 -3.361938)'))) / (select extract(epoch from '2026-07-22 18:44:57'::timestamp) - extract(epoch from '2026-07-22 18:44: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'), 47445, 'SRID=4674;POINT (-39.02857 -3.361966)', '2026-07-22 18:45:04', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028587 -3.361938)'), GeomFromEWKT('SRID=4674;POINT (-39.02857 -3.361966)'))) / (select extract(epoch from '2026-07-22 18:45:04'::timestamp) - extract(epoch from '2026-07-22 18:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028587 -3.361938)'), GeomFromEWKT('SRID=4674;POINT (-39.02857 -3.361966)'))) / (select extract(epoch from '2026-07-22 18:45:04'::timestamp) - extract(epoch from '2026-07-22 18:44: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'), 47445, 'SRID=4674;POINT (-39.028534 -3.361984)', '2026-07-22 18:45:11', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02857 -3.361966)'), GeomFromEWKT('SRID=4674;POINT (-39.028534 -3.361984)'))) / (select extract(epoch from '2026-07-22 18:45:11'::timestamp) - extract(epoch from '2026-07-22 18:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02857 -3.361966)'), GeomFromEWKT('SRID=4674;POINT (-39.028534 -3.361984)'))) / (select extract(epoch from '2026-07-22 18:45:11'::timestamp) - extract(epoch from '2026-07-22 18:45:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028501 -3.36199)', '2026-07-22 18:45:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028534 -3.361984)'), GeomFromEWKT('SRID=4674;POINT (-39.028501 -3.36199)'))) / (select extract(epoch from '2026-07-22 18:45:20'::timestamp) - extract(epoch from '2026-07-22 18:45:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028534 -3.361984)'), GeomFromEWKT('SRID=4674;POINT (-39.028501 -3.36199)'))) / (select extract(epoch from '2026-07-22 18:45:20'::timestamp) - extract(epoch from '2026-07-22 18:45: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'), 47445, 'SRID=4674;POINT (-39.028479 -3.362009)', '2026-07-22 18:45:28', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028501 -3.36199)'), GeomFromEWKT('SRID=4674;POINT (-39.028479 -3.362009)'))) / (select extract(epoch from '2026-07-22 18:45:28'::timestamp) - extract(epoch from '2026-07-22 18:45:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028501 -3.36199)'), GeomFromEWKT('SRID=4674;POINT (-39.028479 -3.362009)'))) / (select extract(epoch from '2026-07-22 18:45:28'::timestamp) - extract(epoch from '2026-07-22 18:45: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'), 47445, 'SRID=4674;POINT (-39.028456 -3.362052)', '2026-07-22 18:45:38', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028479 -3.362009)'), GeomFromEWKT('SRID=4674;POINT (-39.028456 -3.362052)'))) / (select extract(epoch from '2026-07-22 18:45:38'::timestamp) - extract(epoch from '2026-07-22 18:45:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028479 -3.362009)'), GeomFromEWKT('SRID=4674;POINT (-39.028456 -3.362052)'))) / (select extract(epoch from '2026-07-22 18:45:38'::timestamp) - extract(epoch from '2026-07-22 18:45: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'), 47445, 'SRID=4674;POINT (-39.028425 -3.362071)', '2026-07-22 18:45:47', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028456 -3.362052)'), GeomFromEWKT('SRID=4674;POINT (-39.028425 -3.362071)'))) / (select extract(epoch from '2026-07-22 18:45:47'::timestamp) - extract(epoch from '2026-07-22 18:45:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028456 -3.362052)'), GeomFromEWKT('SRID=4674;POINT (-39.028425 -3.362071)'))) / (select extract(epoch from '2026-07-22 18:45:47'::timestamp) - extract(epoch from '2026-07-22 18:45: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'), 47445, 'SRID=4674;POINT (-39.028383 -3.362077)', '2026-07-22 18:45:56', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028425 -3.362071)'), GeomFromEWKT('SRID=4674;POINT (-39.028383 -3.362077)'))) / (select extract(epoch from '2026-07-22 18:45:56'::timestamp) - extract(epoch from '2026-07-22 18:45:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028425 -3.362071)'), GeomFromEWKT('SRID=4674;POINT (-39.028383 -3.362077)'))) / (select extract(epoch from '2026-07-22 18:45:56'::timestamp) - extract(epoch from '2026-07-22 18:45: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'), 47445, 'SRID=4674;POINT (-39.028363 -3.36211)', '2026-07-22 18:46:05', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028383 -3.362077)'), GeomFromEWKT('SRID=4674;POINT (-39.028363 -3.36211)'))) / (select extract(epoch from '2026-07-22 18:46:05'::timestamp) - extract(epoch from '2026-07-22 18:45:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028383 -3.362077)'), GeomFromEWKT('SRID=4674;POINT (-39.028363 -3.36211)'))) / (select extract(epoch from '2026-07-22 18:46:05'::timestamp) - extract(epoch from '2026-07-22 18:45: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'), 47445, 'SRID=4674;POINT (-39.02832 -3.362148)', '2026-07-22 18:46:15', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028363 -3.36211)'), GeomFromEWKT('SRID=4674;POINT (-39.02832 -3.362148)'))) / (select extract(epoch from '2026-07-22 18:46:15'::timestamp) - extract(epoch from '2026-07-22 18:46:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028363 -3.36211)'), GeomFromEWKT('SRID=4674;POINT (-39.02832 -3.362148)'))) / (select extract(epoch from '2026-07-22 18:46:15'::timestamp) - extract(epoch from '2026-07-22 18:46: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'), 47445, 'SRID=4674;POINT (-39.028293 -3.362159)', '2026-07-22 18:46:22', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02832 -3.362148)'), GeomFromEWKT('SRID=4674;POINT (-39.028293 -3.362159)'))) / (select extract(epoch from '2026-07-22 18:46:22'::timestamp) - extract(epoch from '2026-07-22 18:46:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02832 -3.362148)'), GeomFromEWKT('SRID=4674;POINT (-39.028293 -3.362159)'))) / (select extract(epoch from '2026-07-22 18:46:22'::timestamp) - extract(epoch from '2026-07-22 18:46: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'), 47445, 'SRID=4674;POINT (-39.028275 -3.362163)', '2026-07-22 18:46:30', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028293 -3.362159)'), GeomFromEWKT('SRID=4674;POINT (-39.028275 -3.362163)'))) / (select extract(epoch from '2026-07-22 18:46:30'::timestamp) - extract(epoch from '2026-07-22 18:46:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028293 -3.362159)'), GeomFromEWKT('SRID=4674;POINT (-39.028275 -3.362163)'))) / (select extract(epoch from '2026-07-22 18:46:30'::timestamp) - extract(epoch from '2026-07-22 18:46: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'), 47445, 'SRID=4674;POINT (-39.028249 -3.362176)', '2026-07-22 18:46:38', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028275 -3.362163)'), GeomFromEWKT('SRID=4674;POINT (-39.028249 -3.362176)'))) / (select extract(epoch from '2026-07-22 18:46:38'::timestamp) - extract(epoch from '2026-07-22 18:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028275 -3.362163)'), GeomFromEWKT('SRID=4674;POINT (-39.028249 -3.362176)'))) / (select extract(epoch from '2026-07-22 18:46:38'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.02823 -3.362213)', '2026-07-22 18:46:46', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028249 -3.362176)'), GeomFromEWKT('SRID=4674;POINT (-39.02823 -3.362213)'))) / (select extract(epoch from '2026-07-22 18:46:46'::timestamp) - extract(epoch from '2026-07-22 18:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028249 -3.362176)'), GeomFromEWKT('SRID=4674;POINT (-39.02823 -3.362213)'))) / (select extract(epoch from '2026-07-22 18:46:46'::timestamp) - extract(epoch from '2026-07-22 18:46: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'), 47445, 'SRID=4674;POINT (-39.028196 -3.362234)', '2026-07-22 18:46:54', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02823 -3.362213)'), GeomFromEWKT('SRID=4674;POINT (-39.028196 -3.362234)'))) / (select extract(epoch from '2026-07-22 18:46:54'::timestamp) - extract(epoch from '2026-07-22 18:46:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02823 -3.362213)'), GeomFromEWKT('SRID=4674;POINT (-39.028196 -3.362234)'))) / (select extract(epoch from '2026-07-22 18:46:54'::timestamp) - extract(epoch from '2026-07-22 18:46:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028153 -3.362247)', '2026-07-22 18:47:04', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028196 -3.362234)'), GeomFromEWKT('SRID=4674;POINT (-39.028153 -3.362247)'))) / (select extract(epoch from '2026-07-22 18:47:04'::timestamp) - extract(epoch from '2026-07-22 18:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028196 -3.362234)'), GeomFromEWKT('SRID=4674;POINT (-39.028153 -3.362247)'))) / (select extract(epoch from '2026-07-22 18:47:04'::timestamp) - extract(epoch from '2026-07-22 18:46:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028115 -3.362284)', '2026-07-22 18:47:16', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028153 -3.362247)'), GeomFromEWKT('SRID=4674;POINT (-39.028115 -3.362284)'))) / (select extract(epoch from '2026-07-22 18:47:16'::timestamp) - extract(epoch from '2026-07-22 18:47:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028153 -3.362247)'), GeomFromEWKT('SRID=4674;POINT (-39.028115 -3.362284)'))) / (select extract(epoch from '2026-07-22 18:47:16'::timestamp) - extract(epoch from '2026-07-22 18:47:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028095 -3.362314)', '2026-07-22 18:47:23', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028115 -3.362284)'), GeomFromEWKT('SRID=4674;POINT (-39.028095 -3.362314)'))) / (select extract(epoch from '2026-07-22 18:47:23'::timestamp) - extract(epoch from '2026-07-22 18:47:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028115 -3.362284)'), GeomFromEWKT('SRID=4674;POINT (-39.028095 -3.362314)'))) / (select extract(epoch from '2026-07-22 18:47:23'::timestamp) - extract(epoch from '2026-07-22 18:47:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028091 -3.362335)', '2026-07-22 18:47:29', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028095 -3.362314)'), GeomFromEWKT('SRID=4674;POINT (-39.028091 -3.362335)'))) / (select extract(epoch from '2026-07-22 18:47:29'::timestamp) - extract(epoch from '2026-07-22 18:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028095 -3.362314)'), GeomFromEWKT('SRID=4674;POINT (-39.028091 -3.362335)'))) / (select extract(epoch from '2026-07-22 18:47:29'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.028066 -3.362337)', '2026-07-22 18:47:38', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028091 -3.362335)'), GeomFromEWKT('SRID=4674;POINT (-39.028066 -3.362337)'))) / (select extract(epoch from '2026-07-22 18:47:38'::timestamp) - extract(epoch from '2026-07-22 18:47:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028091 -3.362335)'), GeomFromEWKT('SRID=4674;POINT (-39.028066 -3.362337)'))) / (select extract(epoch from '2026-07-22 18:47:38'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.02804 -3.362349)', '2026-07-22 18:47:48', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028066 -3.362337)'), GeomFromEWKT('SRID=4674;POINT (-39.02804 -3.362349)'))) / (select extract(epoch from '2026-07-22 18:47:48'::timestamp) - extract(epoch from '2026-07-22 18:47:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028066 -3.362337)'), GeomFromEWKT('SRID=4674;POINT (-39.02804 -3.362349)'))) / (select extract(epoch from '2026-07-22 18:47:48'::timestamp) - extract(epoch from '2026-07-22 18:47: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'), 47445, 'SRID=4674;POINT (-39.02802 -3.362376)', '2026-07-22 18:47:55', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02804 -3.362349)'), GeomFromEWKT('SRID=4674;POINT (-39.02802 -3.362376)'))) / (select extract(epoch from '2026-07-22 18:47:55'::timestamp) - extract(epoch from '2026-07-22 18:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02804 -3.362349)'), GeomFromEWKT('SRID=4674;POINT (-39.02802 -3.362376)'))) / (select extract(epoch from '2026-07-22 18:47:55'::timestamp) - extract(epoch from '2026-07-22 18: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'), 47445, 'SRID=4674;POINT (-39.027995 -3.362391)', '2026-07-22 18:48:03', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02802 -3.362376)'), GeomFromEWKT('SRID=4674;POINT (-39.027995 -3.362391)'))) / (select extract(epoch from '2026-07-22 18:48:03'::timestamp) - extract(epoch from '2026-07-22 18:47:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02802 -3.362376)'), GeomFromEWKT('SRID=4674;POINT (-39.027995 -3.362391)'))) / (select extract(epoch from '2026-07-22 18:48:03'::timestamp) - extract(epoch from '2026-07-22 18:47: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'), 47445, 'SRID=4674;POINT (-39.027954 -3.362398)', '2026-07-22 18:48:12', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027995 -3.362391)'), GeomFromEWKT('SRID=4674;POINT (-39.027954 -3.362398)'))) / (select extract(epoch from '2026-07-22 18:48:12'::timestamp) - extract(epoch from '2026-07-22 18:48:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027995 -3.362391)'), GeomFromEWKT('SRID=4674;POINT (-39.027954 -3.362398)'))) / (select extract(epoch from '2026-07-22 18:48:12'::timestamp) - extract(epoch from '2026-07-22 18:48:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027924 -3.362419)', '2026-07-22 18:48:20', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027954 -3.362398)'), GeomFromEWKT('SRID=4674;POINT (-39.027924 -3.362419)'))) / (select extract(epoch from '2026-07-22 18:48:20'::timestamp) - extract(epoch from '2026-07-22 18:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027954 -3.362398)'), GeomFromEWKT('SRID=4674;POINT (-39.027924 -3.362419)'))) / (select extract(epoch from '2026-07-22 18:48:20'::timestamp) - extract(epoch from '2026-07-22 18:48: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'), 47445, 'SRID=4674;POINT (-39.027918 -3.362438)', '2026-07-22 18:48:26', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027924 -3.362419)'), GeomFromEWKT('SRID=4674;POINT (-39.027918 -3.362438)'))) / (select extract(epoch from '2026-07-22 18:48:26'::timestamp) - extract(epoch from '2026-07-22 18:48:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027924 -3.362419)'), GeomFromEWKT('SRID=4674;POINT (-39.027918 -3.362438)'))) / (select extract(epoch from '2026-07-22 18:48:26'::timestamp) - extract(epoch from '2026-07-22 18:48: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'), 47445, 'SRID=4674;POINT (-39.027889 -3.362456)', '2026-07-22 18:48:34', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027918 -3.362438)'), GeomFromEWKT('SRID=4674;POINT (-39.027889 -3.362456)'))) / (select extract(epoch from '2026-07-22 18:48:34'::timestamp) - extract(epoch from '2026-07-22 18:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027918 -3.362438)'), GeomFromEWKT('SRID=4674;POINT (-39.027889 -3.362456)'))) / (select extract(epoch from '2026-07-22 18:48:34'::timestamp) - extract(epoch from '2026-07-22 18:48: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'), 47445, 'SRID=4674;POINT (-39.027862 -3.362471)', '2026-07-22 18:48:43', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027889 -3.362456)'), GeomFromEWKT('SRID=4674;POINT (-39.027862 -3.362471)'))) / (select extract(epoch from '2026-07-22 18:48:43'::timestamp) - extract(epoch from '2026-07-22 18:48:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027889 -3.362456)'), GeomFromEWKT('SRID=4674;POINT (-39.027862 -3.362471)'))) / (select extract(epoch from '2026-07-22 18:48:43'::timestamp) - extract(epoch from '2026-07-22 18:48: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'), 47445, 'SRID=4674;POINT (-39.027837 -3.362497)', '2026-07-22 18:48:54', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027862 -3.362471)'), GeomFromEWKT('SRID=4674;POINT (-39.027837 -3.362497)'))) / (select extract(epoch from '2026-07-22 18:48:54'::timestamp) - extract(epoch from '2026-07-22 18:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027862 -3.362471)'), GeomFromEWKT('SRID=4674;POINT (-39.027837 -3.362497)'))) / (select extract(epoch from '2026-07-22 18:48:54'::timestamp) - extract(epoch from '2026-07-22 18:48: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'), 47445, 'SRID=4674;POINT (-39.027812 -3.362516)', '2026-07-22 18:49:02', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027837 -3.362497)'), GeomFromEWKT('SRID=4674;POINT (-39.027812 -3.362516)'))) / (select extract(epoch from '2026-07-22 18:49:02'::timestamp) - extract(epoch from '2026-07-22 18:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027837 -3.362497)'), GeomFromEWKT('SRID=4674;POINT (-39.027812 -3.362516)'))) / (select extract(epoch from '2026-07-22 18:49:02'::timestamp) - extract(epoch from '2026-07-22 18:48:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027793 -3.362539)', '2026-07-22 18:49:10', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027812 -3.362516)'), GeomFromEWKT('SRID=4674;POINT (-39.027793 -3.362539)'))) / (select extract(epoch from '2026-07-22 18:49:10'::timestamp) - extract(epoch from '2026-07-22 18:49:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027812 -3.362516)'), GeomFromEWKT('SRID=4674;POINT (-39.027793 -3.362539)'))) / (select extract(epoch from '2026-07-22 18:49:10'::timestamp) - extract(epoch from '2026-07-22 18:49: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'), 47445, 'SRID=4674;POINT (-39.027758 -3.362549)', '2026-07-22 18:49:19', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027793 -3.362539)'), GeomFromEWKT('SRID=4674;POINT (-39.027758 -3.362549)'))) / (select extract(epoch from '2026-07-22 18:49:19'::timestamp) - extract(epoch from '2026-07-22 18:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027793 -3.362539)'), GeomFromEWKT('SRID=4674;POINT (-39.027758 -3.362549)'))) / (select extract(epoch from '2026-07-22 18:49:19'::timestamp) - extract(epoch from '2026-07-22 18:49: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'), 47445, 'SRID=4674;POINT (-39.027743 -3.362549)', '2026-07-22 18:49:25', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027758 -3.362549)'), GeomFromEWKT('SRID=4674;POINT (-39.027743 -3.362549)'))) / (select extract(epoch from '2026-07-22 18:49:25'::timestamp) - extract(epoch from '2026-07-22 18:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027758 -3.362549)'), GeomFromEWKT('SRID=4674;POINT (-39.027743 -3.362549)'))) / (select extract(epoch from '2026-07-22 18:49:25'::timestamp) - extract(epoch from '2026-07-22 18:49: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'), 47445, 'SRID=4674;POINT (-39.02771 -3.362563)', '2026-07-22 18:49:35', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027743 -3.362549)'), GeomFromEWKT('SRID=4674;POINT (-39.02771 -3.362563)'))) / (select extract(epoch from '2026-07-22 18:49:35'::timestamp) - extract(epoch from '2026-07-22 18:49:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027743 -3.362549)'), GeomFromEWKT('SRID=4674;POINT (-39.02771 -3.362563)'))) / (select extract(epoch from '2026-07-22 18:49:35'::timestamp) - extract(epoch from '2026-07-22 18:49: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'), 47445, 'SRID=4674;POINT (-39.027697 -3.362588)', '2026-07-22 18:49:43', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02771 -3.362563)'), GeomFromEWKT('SRID=4674;POINT (-39.027697 -3.362588)'))) / (select extract(epoch from '2026-07-22 18:49:43'::timestamp) - extract(epoch from '2026-07-22 18:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02771 -3.362563)'), GeomFromEWKT('SRID=4674;POINT (-39.027697 -3.362588)'))) / (select extract(epoch from '2026-07-22 18:49:43'::timestamp) - extract(epoch from '2026-07-22 18:49: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'), 47445, 'SRID=4674;POINT (-39.027662 -3.362591)', '2026-07-22 18:49:51', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027697 -3.362588)'), GeomFromEWKT('SRID=4674;POINT (-39.027662 -3.362591)'))) / (select extract(epoch from '2026-07-22 18:49:51'::timestamp) - extract(epoch from '2026-07-22 18:49:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027697 -3.362588)'), GeomFromEWKT('SRID=4674;POINT (-39.027662 -3.362591)'))) / (select extract(epoch from '2026-07-22 18:49:51'::timestamp) - extract(epoch from '2026-07-22 18:49: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'), 47445, 'SRID=4674;POINT (-39.027632 -3.362593)', '2026-07-22 18:49:59', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027662 -3.362591)'), GeomFromEWKT('SRID=4674;POINT (-39.027632 -3.362593)'))) / (select extract(epoch from '2026-07-22 18:49:59'::timestamp) - extract(epoch from '2026-07-22 18:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027662 -3.362591)'), GeomFromEWKT('SRID=4674;POINT (-39.027632 -3.362593)'))) / (select extract(epoch from '2026-07-22 18:49:59'::timestamp) - extract(epoch from '2026-07-22 18:49: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'), 47445, 'SRID=4674;POINT (-39.027622 -3.362613)', '2026-07-22 18:50:06', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027632 -3.362593)'), GeomFromEWKT('SRID=4674;POINT (-39.027622 -3.362613)'))) / (select extract(epoch from '2026-07-22 18:50:06'::timestamp) - extract(epoch from '2026-07-22 18:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027632 -3.362593)'), GeomFromEWKT('SRID=4674;POINT (-39.027622 -3.362613)'))) / (select extract(epoch from '2026-07-22 18:50:06'::timestamp) - extract(epoch from '2026-07-22 18:49: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'), 47445, 'SRID=4674;POINT (-39.027595 -3.362633)', '2026-07-22 18:50:13', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027622 -3.362613)'), GeomFromEWKT('SRID=4674;POINT (-39.027595 -3.362633)'))) / (select extract(epoch from '2026-07-22 18:50:13'::timestamp) - extract(epoch from '2026-07-22 18:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027622 -3.362613)'), GeomFromEWKT('SRID=4674;POINT (-39.027595 -3.362633)'))) / (select extract(epoch from '2026-07-22 18:50:13'::timestamp) - extract(epoch from '2026-07-22 18:50:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027569 -3.362633)', '2026-07-22 18:50:19', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027595 -3.362633)'), GeomFromEWKT('SRID=4674;POINT (-39.027569 -3.362633)'))) / (select extract(epoch from '2026-07-22 18:50:19'::timestamp) - extract(epoch from '2026-07-22 18:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027595 -3.362633)'), GeomFromEWKT('SRID=4674;POINT (-39.027569 -3.362633)'))) / (select extract(epoch from '2026-07-22 18:50:19'::timestamp) - extract(epoch from '2026-07-22 18:50: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'), 47445, 'SRID=4674;POINT (-39.027547 -3.362629)', '2026-07-22 18:50:25', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027569 -3.362633)'), GeomFromEWKT('SRID=4674;POINT (-39.027547 -3.362629)'))) / (select extract(epoch from '2026-07-22 18:50:25'::timestamp) - extract(epoch from '2026-07-22 18:50:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027569 -3.362633)'), GeomFromEWKT('SRID=4674;POINT (-39.027547 -3.362629)'))) / (select extract(epoch from '2026-07-22 18:50:25'::timestamp) - extract(epoch from '2026-07-22 18:50: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'), 47445, 'SRID=4674;POINT (-39.027514 -3.362646)', '2026-07-22 18:50:33', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027547 -3.362629)'), GeomFromEWKT('SRID=4674;POINT (-39.027514 -3.362646)'))) / (select extract(epoch from '2026-07-22 18:50:33'::timestamp) - extract(epoch from '2026-07-22 18:50:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027547 -3.362629)'), GeomFromEWKT('SRID=4674;POINT (-39.027514 -3.362646)'))) / (select extract(epoch from '2026-07-22 18:50:33'::timestamp) - extract(epoch from '2026-07-22 18:50: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'), 47445, 'SRID=4674;POINT (-39.027492 -3.36267)', '2026-07-22 18:50:40', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027514 -3.362646)'), GeomFromEWKT('SRID=4674;POINT (-39.027492 -3.36267)'))) / (select extract(epoch from '2026-07-22 18:50:40'::timestamp) - extract(epoch from '2026-07-22 18:50:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027514 -3.362646)'), GeomFromEWKT('SRID=4674;POINT (-39.027492 -3.36267)'))) / (select extract(epoch from '2026-07-22 18:50:40'::timestamp) - extract(epoch from '2026-07-22 18:50: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'), 47445, 'SRID=4674;POINT (-39.027478 -3.362699)', '2026-07-22 18:50:48', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027492 -3.36267)'), GeomFromEWKT('SRID=4674;POINT (-39.027478 -3.362699)'))) / (select extract(epoch from '2026-07-22 18:50:48'::timestamp) - extract(epoch from '2026-07-22 18:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027492 -3.36267)'), GeomFromEWKT('SRID=4674;POINT (-39.027478 -3.362699)'))) / (select extract(epoch from '2026-07-22 18:50:48'::timestamp) - extract(epoch from '2026-07-22 18:50:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027459 -3.362718)', '2026-07-22 18:50:57', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027478 -3.362699)'), GeomFromEWKT('SRID=4674;POINT (-39.027459 -3.362718)'))) / (select extract(epoch from '2026-07-22 18:50:57'::timestamp) - extract(epoch from '2026-07-22 18:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027478 -3.362699)'), GeomFromEWKT('SRID=4674;POINT (-39.027459 -3.362718)'))) / (select extract(epoch from '2026-07-22 18:50:57'::timestamp) - extract(epoch from '2026-07-22 18:50: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'), 47445, 'SRID=4674;POINT (-39.027442 -3.362723)', '2026-07-22 18:51:04', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027459 -3.362718)'), GeomFromEWKT('SRID=4674;POINT (-39.027442 -3.362723)'))) / (select extract(epoch from '2026-07-22 18:51:04'::timestamp) - extract(epoch from '2026-07-22 18:50:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027459 -3.362718)'), GeomFromEWKT('SRID=4674;POINT (-39.027442 -3.362723)'))) / (select extract(epoch from '2026-07-22 18:51:04'::timestamp) - extract(epoch from '2026-07-22 18:50: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'), 47445, 'SRID=4674;POINT (-39.027407 -3.362722)', '2026-07-22 18:51:12', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027442 -3.362723)'), GeomFromEWKT('SRID=4674;POINT (-39.027407 -3.362722)'))) / (select extract(epoch from '2026-07-22 18:51:12'::timestamp) - extract(epoch from '2026-07-22 18:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027442 -3.362723)'), GeomFromEWKT('SRID=4674;POINT (-39.027407 -3.362722)'))) / (select extract(epoch from '2026-07-22 18:51:12'::timestamp) - extract(epoch from '2026-07-22 18:51:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027371 -3.362724)', '2026-07-22 18:51:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027407 -3.362722)'), GeomFromEWKT('SRID=4674;POINT (-39.027371 -3.362724)'))) / (select extract(epoch from '2026-07-22 18:51:21'::timestamp) - extract(epoch from '2026-07-22 18:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027407 -3.362722)'), GeomFromEWKT('SRID=4674;POINT (-39.027371 -3.362724)'))) / (select extract(epoch from '2026-07-22 18:51:21'::timestamp) - extract(epoch from '2026-07-22 18:51: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'), 47445, 'SRID=4674;POINT (-39.027356 -3.362744)', '2026-07-22 18:51:28', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027371 -3.362724)'), GeomFromEWKT('SRID=4674;POINT (-39.027356 -3.362744)'))) / (select extract(epoch from '2026-07-22 18:51:28'::timestamp) - extract(epoch from '2026-07-22 18:51:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027371 -3.362724)'), GeomFromEWKT('SRID=4674;POINT (-39.027356 -3.362744)'))) / (select extract(epoch from '2026-07-22 18:51:28'::timestamp) - extract(epoch from '2026-07-22 18:51: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'), 47445, 'SRID=4674;POINT (-39.027339 -3.362764)', '2026-07-22 18:51:35', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027356 -3.362744)'), GeomFromEWKT('SRID=4674;POINT (-39.027339 -3.362764)'))) / (select extract(epoch from '2026-07-22 18:51:35'::timestamp) - extract(epoch from '2026-07-22 18:51:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027356 -3.362744)'), GeomFromEWKT('SRID=4674;POINT (-39.027339 -3.362764)'))) / (select extract(epoch from '2026-07-22 18:51:35'::timestamp) - extract(epoch from '2026-07-22 18:51: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'), 47445, 'SRID=4674;POINT (-39.027301 -3.362772)', '2026-07-22 18:51:42', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027339 -3.362764)'), GeomFromEWKT('SRID=4674;POINT (-39.027301 -3.362772)'))) / (select extract(epoch from '2026-07-22 18:51:42'::timestamp) - extract(epoch from '2026-07-22 18:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027339 -3.362764)'), GeomFromEWKT('SRID=4674;POINT (-39.027301 -3.362772)'))) / (select extract(epoch from '2026-07-22 18:51:42'::timestamp) - extract(epoch from '2026-07-22 18:51: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'), 47445, 'SRID=4674;POINT (-39.027268 -3.362777)', '2026-07-22 18:51:50', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027301 -3.362772)'), GeomFromEWKT('SRID=4674;POINT (-39.027268 -3.362777)'))) / (select extract(epoch from '2026-07-22 18:51:50'::timestamp) - extract(epoch from '2026-07-22 18:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027301 -3.362772)'), GeomFromEWKT('SRID=4674;POINT (-39.027268 -3.362777)'))) / (select extract(epoch from '2026-07-22 18:51:50'::timestamp) - extract(epoch from '2026-07-22 18:51:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027237 -3.362788)', '2026-07-22 18:51:58', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027268 -3.362777)'), GeomFromEWKT('SRID=4674;POINT (-39.027237 -3.362788)'))) / (select extract(epoch from '2026-07-22 18:51:58'::timestamp) - extract(epoch from '2026-07-22 18:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027268 -3.362777)'), GeomFromEWKT('SRID=4674;POINT (-39.027237 -3.362788)'))) / (select extract(epoch from '2026-07-22 18:51:58'::timestamp) - extract(epoch from '2026-07-22 18:51:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027229 -3.362816)', '2026-07-22 18:52:05', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027237 -3.362788)'), GeomFromEWKT('SRID=4674;POINT (-39.027229 -3.362816)'))) / (select extract(epoch from '2026-07-22 18:52:05'::timestamp) - extract(epoch from '2026-07-22 18:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027237 -3.362788)'), GeomFromEWKT('SRID=4674;POINT (-39.027229 -3.362816)'))) / (select extract(epoch from '2026-07-22 18:52:05'::timestamp) - extract(epoch from '2026-07-22 18:51: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'), 47445, 'SRID=4674;POINT (-39.027212 -3.362851)', '2026-07-22 18:52:14', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027229 -3.362816)'), GeomFromEWKT('SRID=4674;POINT (-39.027212 -3.362851)'))) / (select extract(epoch from '2026-07-22 18:52:14'::timestamp) - extract(epoch from '2026-07-22 18:52:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027229 -3.362816)'), GeomFromEWKT('SRID=4674;POINT (-39.027212 -3.362851)'))) / (select extract(epoch from '2026-07-22 18:52:14'::timestamp) - extract(epoch from '2026-07-22 18:52: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'), 47445, 'SRID=4674;POINT (-39.027177 -3.362859)', '2026-07-22 18:52:22', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027212 -3.362851)'), GeomFromEWKT('SRID=4674;POINT (-39.027177 -3.362859)'))) / (select extract(epoch from '2026-07-22 18:52:22'::timestamp) - extract(epoch from '2026-07-22 18:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027212 -3.362851)'), GeomFromEWKT('SRID=4674;POINT (-39.027177 -3.362859)'))) / (select extract(epoch from '2026-07-22 18:52:22'::timestamp) - extract(epoch from '2026-07-22 18:52: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'), 47445, 'SRID=4674;POINT (-39.027131 -3.362858)', '2026-07-22 18:52:31', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027177 -3.362859)'), GeomFromEWKT('SRID=4674;POINT (-39.027131 -3.362858)'))) / (select extract(epoch from '2026-07-22 18:52:31'::timestamp) - extract(epoch from '2026-07-22 18:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027177 -3.362859)'), GeomFromEWKT('SRID=4674;POINT (-39.027131 -3.362858)'))) / (select extract(epoch from '2026-07-22 18:52:31'::timestamp) - extract(epoch from '2026-07-22 18:52: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'), 47445, 'SRID=4674;POINT (-39.027102 -3.362897)', '2026-07-22 18:52:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027131 -3.362858)'), GeomFromEWKT('SRID=4674;POINT (-39.027102 -3.362897)'))) / (select extract(epoch from '2026-07-22 18:52:40'::timestamp) - extract(epoch from '2026-07-22 18:52:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027131 -3.362858)'), GeomFromEWKT('SRID=4674;POINT (-39.027102 -3.362897)'))) / (select extract(epoch from '2026-07-22 18:52:40'::timestamp) - extract(epoch from '2026-07-22 18:52: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'), 47445, 'SRID=4674;POINT (-39.027094 -3.362917)', '2026-07-22 18:52:43', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027102 -3.362897)'), GeomFromEWKT('SRID=4674;POINT (-39.027094 -3.362917)'))) / (select extract(epoch from '2026-07-22 18:52:43'::timestamp) - extract(epoch from '2026-07-22 18:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027102 -3.362897)'), GeomFromEWKT('SRID=4674;POINT (-39.027094 -3.362917)'))) / (select extract(epoch from '2026-07-22 18:52:43'::timestamp) - extract(epoch from '2026-07-22 18:52:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027089 -3.362933)', '2026-07-22 18:52:46', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027094 -3.362917)'), GeomFromEWKT('SRID=4674;POINT (-39.027089 -3.362933)'))) / (select extract(epoch from '2026-07-22 18:52:46'::timestamp) - extract(epoch from '2026-07-22 18:52:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027094 -3.362917)'), GeomFromEWKT('SRID=4674;POINT (-39.027089 -3.362933)'))) / (select extract(epoch from '2026-07-22 18:52:46'::timestamp) - extract(epoch from '2026-07-22 18:52: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'), 47445, 'SRID=4674;POINT (-39.027069 -3.362951)', '2026-07-22 18:52:54', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027089 -3.362933)'), GeomFromEWKT('SRID=4674;POINT (-39.027069 -3.362951)'))) / (select extract(epoch from '2026-07-22 18:52:54'::timestamp) - extract(epoch from '2026-07-22 18:52:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027089 -3.362933)'), GeomFromEWKT('SRID=4674;POINT (-39.027069 -3.362951)'))) / (select extract(epoch from '2026-07-22 18:52:54'::timestamp) - extract(epoch from '2026-07-22 18:52: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'), 47445, 'SRID=4674;POINT (-39.027031 -3.362943)', '2026-07-22 18:53:01', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027069 -3.362951)'), GeomFromEWKT('SRID=4674;POINT (-39.027031 -3.362943)'))) / (select extract(epoch from '2026-07-22 18:53:01'::timestamp) - extract(epoch from '2026-07-22 18:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027069 -3.362951)'), GeomFromEWKT('SRID=4674;POINT (-39.027031 -3.362943)'))) / (select extract(epoch from '2026-07-22 18:53:01'::timestamp) - extract(epoch from '2026-07-22 18:52: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'), 47445, 'SRID=4674;POINT (-39.026989 -3.362946)', '2026-07-22 18:53:10', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027031 -3.362943)'), GeomFromEWKT('SRID=4674;POINT (-39.026989 -3.362946)'))) / (select extract(epoch from '2026-07-22 18:53:10'::timestamp) - extract(epoch from '2026-07-22 18:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027031 -3.362943)'), GeomFromEWKT('SRID=4674;POINT (-39.026989 -3.362946)'))) / (select extract(epoch from '2026-07-22 18:53:10'::timestamp) - extract(epoch from '2026-07-22 18:53: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'), 47445, 'SRID=4674;POINT (-39.026984 -3.362954)', '2026-07-22 18:53:12', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026989 -3.362946)'), GeomFromEWKT('SRID=4674;POINT (-39.026984 -3.362954)'))) / (select extract(epoch from '2026-07-22 18:53:12'::timestamp) - extract(epoch from '2026-07-22 18:53:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026989 -3.362946)'), GeomFromEWKT('SRID=4674;POINT (-39.026984 -3.362954)'))) / (select extract(epoch from '2026-07-22 18:53:12'::timestamp) - extract(epoch from '2026-07-22 18:53:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026981 -3.362968)', '2026-07-22 18:53:15', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026984 -3.362954)'), GeomFromEWKT('SRID=4674;POINT (-39.026981 -3.362968)'))) / (select extract(epoch from '2026-07-22 18:53:15'::timestamp) - extract(epoch from '2026-07-22 18:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026984 -3.362954)'), GeomFromEWKT('SRID=4674;POINT (-39.026981 -3.362968)'))) / (select extract(epoch from '2026-07-22 18:53:15'::timestamp) - extract(epoch from '2026-07-22 18:53: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'), 47445, 'SRID=4674;POINT (-39.026974 -3.363008)', '2026-07-22 18:53:21', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026981 -3.362968)'), GeomFromEWKT('SRID=4674;POINT (-39.026974 -3.363008)'))) / (select extract(epoch from '2026-07-22 18:53:21'::timestamp) - extract(epoch from '2026-07-22 18:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026981 -3.362968)'), GeomFromEWKT('SRID=4674;POINT (-39.026974 -3.363008)'))) / (select extract(epoch from '2026-07-22 18:53:21'::timestamp) - extract(epoch from '2026-07-22 18:53: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'), 47445, 'SRID=4674;POINT (-39.026968 -3.363041)', '2026-07-22 18:53:27', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026974 -3.363008)'), GeomFromEWKT('SRID=4674;POINT (-39.026968 -3.363041)'))) / (select extract(epoch from '2026-07-22 18:53:27'::timestamp) - extract(epoch from '2026-07-22 18:53:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026974 -3.363008)'), GeomFromEWKT('SRID=4674;POINT (-39.026968 -3.363041)'))) / (select extract(epoch from '2026-07-22 18:53:27'::timestamp) - extract(epoch from '2026-07-22 18:53: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'), 47445, 'SRID=4674;POINT (-39.026923 -3.363053)', '2026-07-22 18:53:37', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026968 -3.363041)'), GeomFromEWKT('SRID=4674;POINT (-39.026923 -3.363053)'))) / (select extract(epoch from '2026-07-22 18:53:37'::timestamp) - extract(epoch from '2026-07-22 18:53:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026968 -3.363041)'), GeomFromEWKT('SRID=4674;POINT (-39.026923 -3.363053)'))) / (select extract(epoch from '2026-07-22 18:53:37'::timestamp) - extract(epoch from '2026-07-22 18:53: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'), 47445, 'SRID=4674;POINT (-39.02688 -3.363062)', '2026-07-22 18:53:47', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026923 -3.363053)'), GeomFromEWKT('SRID=4674;POINT (-39.02688 -3.363062)'))) / (select extract(epoch from '2026-07-22 18:53:47'::timestamp) - extract(epoch from '2026-07-22 18:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026923 -3.363053)'), GeomFromEWKT('SRID=4674;POINT (-39.02688 -3.363062)'))) / (select extract(epoch from '2026-07-22 18:53:47'::timestamp) - extract(epoch from '2026-07-22 18:53: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'), 47445, 'SRID=4674;POINT (-39.026875 -3.363092)', '2026-07-22 18:53:53', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02688 -3.363062)'), GeomFromEWKT('SRID=4674;POINT (-39.026875 -3.363092)'))) / (select extract(epoch from '2026-07-22 18:53:53'::timestamp) - extract(epoch from '2026-07-22 18:53:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02688 -3.363062)'), GeomFromEWKT('SRID=4674;POINT (-39.026875 -3.363092)'))) / (select extract(epoch from '2026-07-22 18:53:53'::timestamp) - extract(epoch from '2026-07-22 18:53: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'), 47445, 'SRID=4674;POINT (-39.026864 -3.363144)', '2026-07-22 18:54:03', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026875 -3.363092)'), GeomFromEWKT('SRID=4674;POINT (-39.026864 -3.363144)'))) / (select extract(epoch from '2026-07-22 18:54:03'::timestamp) - extract(epoch from '2026-07-22 18:53:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026875 -3.363092)'), GeomFromEWKT('SRID=4674;POINT (-39.026864 -3.363144)'))) / (select extract(epoch from '2026-07-22 18:54:03'::timestamp) - extract(epoch from '2026-07-22 18:53: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'), 47445, 'SRID=4674;POINT (-39.026854 -3.363154)', '2026-07-22 18:54:10', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026864 -3.363144)'), GeomFromEWKT('SRID=4674;POINT (-39.026854 -3.363154)'))) / (select extract(epoch from '2026-07-22 18:54:10'::timestamp) - extract(epoch from '2026-07-22 18:54:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026864 -3.363144)'), GeomFromEWKT('SRID=4674;POINT (-39.026854 -3.363154)'))) / (select extract(epoch from '2026-07-22 18:54:10'::timestamp) - extract(epoch from '2026-07-22 18:54: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'), 47445, 'SRID=4674;POINT (-39.026828 -3.363159)', '2026-07-22 18:54:18', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026854 -3.363154)'), GeomFromEWKT('SRID=4674;POINT (-39.026828 -3.363159)'))) / (select extract(epoch from '2026-07-22 18:54:18'::timestamp) - extract(epoch from '2026-07-22 18:54:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026854 -3.363154)'), GeomFromEWKT('SRID=4674;POINT (-39.026828 -3.363159)'))) / (select extract(epoch from '2026-07-22 18:54:18'::timestamp) - extract(epoch from '2026-07-22 18:54: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'), 47445, 'SRID=4674;POINT (-39.026805 -3.363189)', '2026-07-22 18:54:25', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026828 -3.363159)'), GeomFromEWKT('SRID=4674;POINT (-39.026805 -3.363189)'))) / (select extract(epoch from '2026-07-22 18:54:25'::timestamp) - extract(epoch from '2026-07-22 18:54:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026828 -3.363159)'), GeomFromEWKT('SRID=4674;POINT (-39.026805 -3.363189)'))) / (select extract(epoch from '2026-07-22 18:54:25'::timestamp) - extract(epoch from '2026-07-22 18:54: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'), 47445, 'SRID=4674;POINT (-39.026795 -3.363227)', '2026-07-22 18:54:32', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026805 -3.363189)'), GeomFromEWKT('SRID=4674;POINT (-39.026795 -3.363227)'))) / (select extract(epoch from '2026-07-22 18:54:32'::timestamp) - extract(epoch from '2026-07-22 18:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026805 -3.363189)'), GeomFromEWKT('SRID=4674;POINT (-39.026795 -3.363227)'))) / (select extract(epoch from '2026-07-22 18:54:32'::timestamp) - extract(epoch from '2026-07-22 18:54: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'), 47445, 'SRID=4674;POINT (-39.026764 -3.363249)', '2026-07-22 18:54:41', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026795 -3.363227)'), GeomFromEWKT('SRID=4674;POINT (-39.026764 -3.363249)'))) / (select extract(epoch from '2026-07-22 18:54:41'::timestamp) - extract(epoch from '2026-07-22 18:54:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026795 -3.363227)'), GeomFromEWKT('SRID=4674;POINT (-39.026764 -3.363249)'))) / (select extract(epoch from '2026-07-22 18:54:41'::timestamp) - extract(epoch from '2026-07-22 18:54: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'), 47445, 'SRID=4674;POINT (-39.026727 -3.363258)', '2026-07-22 18:54:49', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026764 -3.363249)'), GeomFromEWKT('SRID=4674;POINT (-39.026727 -3.363258)'))) / (select extract(epoch from '2026-07-22 18:54:49'::timestamp) - extract(epoch from '2026-07-22 18:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026764 -3.363249)'), GeomFromEWKT('SRID=4674;POINT (-39.026727 -3.363258)'))) / (select extract(epoch from '2026-07-22 18:54:49'::timestamp) - extract(epoch from '2026-07-22 18:54: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'), 47445, 'SRID=4674;POINT (-39.026707 -3.3633)', '2026-07-22 18:55:00', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026727 -3.363258)'), GeomFromEWKT('SRID=4674;POINT (-39.026707 -3.3633)'))) / (select extract(epoch from '2026-07-22 18:55:00'::timestamp) - extract(epoch from '2026-07-22 18:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026727 -3.363258)'), GeomFromEWKT('SRID=4674;POINT (-39.026707 -3.3633)'))) / (select extract(epoch from '2026-07-22 18:55:00'::timestamp) - extract(epoch from '2026-07-22 18:54:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026682 -3.363346)', '2026-07-22 18:55:10', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026707 -3.3633)'), GeomFromEWKT('SRID=4674;POINT (-39.026682 -3.363346)'))) / (select extract(epoch from '2026-07-22 18:55:10'::timestamp) - extract(epoch from '2026-07-22 18:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026707 -3.3633)'), GeomFromEWKT('SRID=4674;POINT (-39.026682 -3.363346)'))) / (select extract(epoch from '2026-07-22 18:55:10'::timestamp) - extract(epoch from '2026-07-22 18:55: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'), 47445, 'SRID=4674;POINT (-39.026643 -3.363362)', '2026-07-22 18:55:20', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026682 -3.363346)'), GeomFromEWKT('SRID=4674;POINT (-39.026643 -3.363362)'))) / (select extract(epoch from '2026-07-22 18:55:20'::timestamp) - extract(epoch from '2026-07-22 18:55:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026682 -3.363346)'), GeomFromEWKT('SRID=4674;POINT (-39.026643 -3.363362)'))) / (select extract(epoch from '2026-07-22 18:55:20'::timestamp) - extract(epoch from '2026-07-22 18:55: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'), 47445, 'SRID=4674;POINT (-39.02661 -3.363369)', '2026-07-22 18:55:28', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026643 -3.363362)'), GeomFromEWKT('SRID=4674;POINT (-39.02661 -3.363369)'))) / (select extract(epoch from '2026-07-22 18:55:28'::timestamp) - extract(epoch from '2026-07-22 18:55:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026643 -3.363362)'), GeomFromEWKT('SRID=4674;POINT (-39.02661 -3.363369)'))) / (select extract(epoch from '2026-07-22 18:55:28'::timestamp) - extract(epoch from '2026-07-22 18:55: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'), 47445, 'SRID=4674;POINT (-39.02659 -3.363392)', '2026-07-22 18:55:37', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02661 -3.363369)'), GeomFromEWKT('SRID=4674;POINT (-39.02659 -3.363392)'))) / (select extract(epoch from '2026-07-22 18:55:37'::timestamp) - extract(epoch from '2026-07-22 18:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02661 -3.363369)'), GeomFromEWKT('SRID=4674;POINT (-39.02659 -3.363392)'))) / (select extract(epoch from '2026-07-22 18:55:37'::timestamp) - extract(epoch from '2026-07-22 18:55: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'), 47445, 'SRID=4674;POINT (-39.026599 -3.363422)', '2026-07-22 18:55:44', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02659 -3.363392)'), GeomFromEWKT('SRID=4674;POINT (-39.026599 -3.363422)'))) / (select extract(epoch from '2026-07-22 18:55:44'::timestamp) - extract(epoch from '2026-07-22 18:55:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02659 -3.363392)'), GeomFromEWKT('SRID=4674;POINT (-39.026599 -3.363422)'))) / (select extract(epoch from '2026-07-22 18:55:44'::timestamp) - extract(epoch from '2026-07-22 18:55:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026592 -3.363443)', '2026-07-22 18:55:50', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026599 -3.363422)'), GeomFromEWKT('SRID=4674;POINT (-39.026592 -3.363443)'))) / (select extract(epoch from '2026-07-22 18:55:50'::timestamp) - extract(epoch from '2026-07-22 18:55:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026599 -3.363422)'), GeomFromEWKT('SRID=4674;POINT (-39.026592 -3.363443)'))) / (select extract(epoch from '2026-07-22 18:55:50'::timestamp) - extract(epoch from '2026-07-22 18:55: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'), 47445, 'SRID=4674;POINT (-39.026551 -3.363452)', '2026-07-22 18:56:00', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026592 -3.363443)'), GeomFromEWKT('SRID=4674;POINT (-39.026551 -3.363452)'))) / (select extract(epoch from '2026-07-22 18:56:00'::timestamp) - extract(epoch from '2026-07-22 18:55:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026592 -3.363443)'), GeomFromEWKT('SRID=4674;POINT (-39.026551 -3.363452)'))) / (select extract(epoch from '2026-07-22 18:56:00'::timestamp) - extract(epoch from '2026-07-22 18:55: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'), 47445, 'SRID=4674;POINT (-39.026522 -3.36347)', '2026-07-22 18:56:08', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026551 -3.363452)'), GeomFromEWKT('SRID=4674;POINT (-39.026522 -3.36347)'))) / (select extract(epoch from '2026-07-22 18:56:08'::timestamp) - extract(epoch from '2026-07-22 18:56:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026551 -3.363452)'), GeomFromEWKT('SRID=4674;POINT (-39.026522 -3.36347)'))) / (select extract(epoch from '2026-07-22 18:56:08'::timestamp) - extract(epoch from '2026-07-22 18:56: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'), 47445, 'SRID=4674;POINT (-39.026506 -3.363499)', '2026-07-22 18:56:15', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026522 -3.36347)'), GeomFromEWKT('SRID=4674;POINT (-39.026506 -3.363499)'))) / (select extract(epoch from '2026-07-22 18:56:15'::timestamp) - extract(epoch from '2026-07-22 18:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026522 -3.36347)'), GeomFromEWKT('SRID=4674;POINT (-39.026506 -3.363499)'))) / (select extract(epoch from '2026-07-22 18:56:15'::timestamp) - extract(epoch from '2026-07-22 18:56: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'), 47445, 'SRID=4674;POINT (-39.026476 -3.36353)', '2026-07-22 18:56:23', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026506 -3.363499)'), GeomFromEWKT('SRID=4674;POINT (-39.026476 -3.36353)'))) / (select extract(epoch from '2026-07-22 18:56:23'::timestamp) - extract(epoch from '2026-07-22 18:56:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026506 -3.363499)'), GeomFromEWKT('SRID=4674;POINT (-39.026476 -3.36353)'))) / (select extract(epoch from '2026-07-22 18:56:23'::timestamp) - extract(epoch from '2026-07-22 18:56: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'), 47445, 'SRID=4674;POINT (-39.026437 -3.363557)', '2026-07-22 18:56:31', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026476 -3.36353)'), GeomFromEWKT('SRID=4674;POINT (-39.026437 -3.363557)'))) / (select extract(epoch from '2026-07-22 18:56:31'::timestamp) - extract(epoch from '2026-07-22 18:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026476 -3.36353)'), GeomFromEWKT('SRID=4674;POINT (-39.026437 -3.363557)'))) / (select extract(epoch from '2026-07-22 18:56:31'::timestamp) - extract(epoch from '2026-07-22 18:56: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'), 47445, 'SRID=4674;POINT (-39.026399 -3.363576)', '2026-07-22 18:56:40', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026437 -3.363557)'), GeomFromEWKT('SRID=4674;POINT (-39.026399 -3.363576)'))) / (select extract(epoch from '2026-07-22 18:56:40'::timestamp) - extract(epoch from '2026-07-22 18:56:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026437 -3.363557)'), GeomFromEWKT('SRID=4674;POINT (-39.026399 -3.363576)'))) / (select extract(epoch from '2026-07-22 18:56:40'::timestamp) - extract(epoch from '2026-07-22 18:56: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'), 47445, 'SRID=4674;POINT (-39.026375 -3.363611)', '2026-07-22 18:56:49', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026399 -3.363576)'), GeomFromEWKT('SRID=4674;POINT (-39.026375 -3.363611)'))) / (select extract(epoch from '2026-07-22 18:56:49'::timestamp) - extract(epoch from '2026-07-22 18:56:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026399 -3.363576)'), GeomFromEWKT('SRID=4674;POINT (-39.026375 -3.363611)'))) / (select extract(epoch from '2026-07-22 18:56:49'::timestamp) - extract(epoch from '2026-07-22 18:56:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026352 -3.363632)', '2026-07-22 18:56:55', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026375 -3.363611)'), GeomFromEWKT('SRID=4674;POINT (-39.026352 -3.363632)'))) / (select extract(epoch from '2026-07-22 18:56:55'::timestamp) - extract(epoch from '2026-07-22 18:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026375 -3.363611)'), GeomFromEWKT('SRID=4674;POINT (-39.026352 -3.363632)'))) / (select extract(epoch from '2026-07-22 18:56:55'::timestamp) - extract(epoch from '2026-07-22 18:56: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'), 47445, 'SRID=4674;POINT (-39.026303 -3.363637)', '2026-07-22 18:57:05', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026352 -3.363632)'), GeomFromEWKT('SRID=4674;POINT (-39.026303 -3.363637)'))) / (select extract(epoch from '2026-07-22 18:57:05'::timestamp) - extract(epoch from '2026-07-22 18:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026352 -3.363632)'), GeomFromEWKT('SRID=4674;POINT (-39.026303 -3.363637)'))) / (select extract(epoch from '2026-07-22 18:57:05'::timestamp) - extract(epoch from '2026-07-22 18:56: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'), 47445, 'SRID=4674;POINT (-39.026295 -3.363657)', '2026-07-22 18:57:12', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026303 -3.363637)'), GeomFromEWKT('SRID=4674;POINT (-39.026295 -3.363657)'))) / (select extract(epoch from '2026-07-22 18:57:12'::timestamp) - extract(epoch from '2026-07-22 18:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026303 -3.363637)'), GeomFromEWKT('SRID=4674;POINT (-39.026295 -3.363657)'))) / (select extract(epoch from '2026-07-22 18:57:12'::timestamp) - extract(epoch from '2026-07-22 18:57: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'), 47445, 'SRID=4674;POINT (-39.026272 -3.363686)', '2026-07-22 18:57:19', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026295 -3.363657)'), GeomFromEWKT('SRID=4674;POINT (-39.026272 -3.363686)'))) / (select extract(epoch from '2026-07-22 18:57:19'::timestamp) - extract(epoch from '2026-07-22 18:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026295 -3.363657)'), GeomFromEWKT('SRID=4674;POINT (-39.026272 -3.363686)'))) / (select extract(epoch from '2026-07-22 18:57:19'::timestamp) - extract(epoch from '2026-07-22 18:57: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'), 47445, 'SRID=4674;POINT (-39.02622 -3.363706)', '2026-07-22 18:57:29', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026272 -3.363686)'), GeomFromEWKT('SRID=4674;POINT (-39.02622 -3.363706)'))) / (select extract(epoch from '2026-07-22 18:57:29'::timestamp) - extract(epoch from '2026-07-22 18:57:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026272 -3.363686)'), GeomFromEWKT('SRID=4674;POINT (-39.02622 -3.363706)'))) / (select extract(epoch from '2026-07-22 18:57:29'::timestamp) - extract(epoch from '2026-07-22 18:57: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'), 47445, 'SRID=4674;POINT (-39.026192 -3.363716)', '2026-07-22 18:57:36', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02622 -3.363706)'), GeomFromEWKT('SRID=4674;POINT (-39.026192 -3.363716)'))) / (select extract(epoch from '2026-07-22 18:57:36'::timestamp) - extract(epoch from '2026-07-22 18:57:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02622 -3.363706)'), GeomFromEWKT('SRID=4674;POINT (-39.026192 -3.363716)'))) / (select extract(epoch from '2026-07-22 18:57:36'::timestamp) - extract(epoch from '2026-07-22 18:57: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'), 47445, 'SRID=4674;POINT (-39.02616 -3.363749)', '2026-07-22 18:57:44', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026192 -3.363716)'), GeomFromEWKT('SRID=4674;POINT (-39.02616 -3.363749)'))) / (select extract(epoch from '2026-07-22 18:57:44'::timestamp) - extract(epoch from '2026-07-22 18:57:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026192 -3.363716)'), GeomFromEWKT('SRID=4674;POINT (-39.02616 -3.363749)'))) / (select extract(epoch from '2026-07-22 18:57:44'::timestamp) - extract(epoch from '2026-07-22 18:57: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'), 47445, 'SRID=4674;POINT (-39.02614 -3.363769)', '2026-07-22 18:57:49', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02616 -3.363749)'), GeomFromEWKT('SRID=4674;POINT (-39.02614 -3.363769)'))) / (select extract(epoch from '2026-07-22 18:57:49'::timestamp) - extract(epoch from '2026-07-22 18:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02616 -3.363749)'), GeomFromEWKT('SRID=4674;POINT (-39.02614 -3.363769)'))) / (select extract(epoch from '2026-07-22 18:57:49'::timestamp) - extract(epoch from '2026-07-22 18:57: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'), 47445, 'SRID=4674;POINT (-39.026105 -3.363794)', '2026-07-22 18:57:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02614 -3.363769)'), GeomFromEWKT('SRID=4674;POINT (-39.026105 -3.363794)'))) / (select extract(epoch from '2026-07-22 18:57:57'::timestamp) - extract(epoch from '2026-07-22 18:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02614 -3.363769)'), GeomFromEWKT('SRID=4674;POINT (-39.026105 -3.363794)'))) / (select extract(epoch from '2026-07-22 18:57:57'::timestamp) - extract(epoch from '2026-07-22 18:57:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026072 -3.363813)', '2026-07-22 18:58:06', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026105 -3.363794)'), GeomFromEWKT('SRID=4674;POINT (-39.026072 -3.363813)'))) / (select extract(epoch from '2026-07-22 18:58:06'::timestamp) - extract(epoch from '2026-07-22 18:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026105 -3.363794)'), GeomFromEWKT('SRID=4674;POINT (-39.026072 -3.363813)'))) / (select extract(epoch from '2026-07-22 18:58:06'::timestamp) - extract(epoch from '2026-07-22 18:57: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'), 47445, 'SRID=4674;POINT (-39.026046 -3.363829)', '2026-07-22 18:58:17', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026072 -3.363813)'), GeomFromEWKT('SRID=4674;POINT (-39.026046 -3.363829)'))) / (select extract(epoch from '2026-07-22 18:58:17'::timestamp) - extract(epoch from '2026-07-22 18:58:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026072 -3.363813)'), GeomFromEWKT('SRID=4674;POINT (-39.026046 -3.363829)'))) / (select extract(epoch from '2026-07-22 18:58:17'::timestamp) - extract(epoch from '2026-07-22 18:58: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'), 47445, 'SRID=4674;POINT (-39.026018 -3.363857)', '2026-07-22 18:58:26', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026046 -3.363829)'), GeomFromEWKT('SRID=4674;POINT (-39.026018 -3.363857)'))) / (select extract(epoch from '2026-07-22 18:58:26'::timestamp) - extract(epoch from '2026-07-22 18:58:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026046 -3.363829)'), GeomFromEWKT('SRID=4674;POINT (-39.026018 -3.363857)'))) / (select extract(epoch from '2026-07-22 18:58:26'::timestamp) - extract(epoch from '2026-07-22 18:58: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'), 47445, 'SRID=4674;POINT (-39.025992 -3.363875)', '2026-07-22 18:58:34', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026018 -3.363857)'), GeomFromEWKT('SRID=4674;POINT (-39.025992 -3.363875)'))) / (select extract(epoch from '2026-07-22 18:58:34'::timestamp) - extract(epoch from '2026-07-22 18:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026018 -3.363857)'), GeomFromEWKT('SRID=4674;POINT (-39.025992 -3.363875)'))) / (select extract(epoch from '2026-07-22 18:58:34'::timestamp) - extract(epoch from '2026-07-22 18:58:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025972 -3.363888)', '2026-07-22 18:58:40', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025992 -3.363875)'), GeomFromEWKT('SRID=4674;POINT (-39.025972 -3.363888)'))) / (select extract(epoch from '2026-07-22 18:58:40'::timestamp) - extract(epoch from '2026-07-22 18:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025992 -3.363875)'), GeomFromEWKT('SRID=4674;POINT (-39.025972 -3.363888)'))) / (select extract(epoch from '2026-07-22 18:58:40'::timestamp) - extract(epoch from '2026-07-22 18:58: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'), 47445, 'SRID=4674;POINT (-39.025944 -3.363898)', '2026-07-22 18:58:47', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025972 -3.363888)'), GeomFromEWKT('SRID=4674;POINT (-39.025944 -3.363898)'))) / (select extract(epoch from '2026-07-22 18:58:47'::timestamp) - extract(epoch from '2026-07-22 18:58:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025972 -3.363888)'), GeomFromEWKT('SRID=4674;POINT (-39.025944 -3.363898)'))) / (select extract(epoch from '2026-07-22 18:58:47'::timestamp) - extract(epoch from '2026-07-22 18:58: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'), 47445, 'SRID=4674;POINT (-39.025918 -3.363927)', '2026-07-22 18:58:55', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025944 -3.363898)'), GeomFromEWKT('SRID=4674;POINT (-39.025918 -3.363927)'))) / (select extract(epoch from '2026-07-22 18:58:55'::timestamp) - extract(epoch from '2026-07-22 18:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025944 -3.363898)'), GeomFromEWKT('SRID=4674;POINT (-39.025918 -3.363927)'))) / (select extract(epoch from '2026-07-22 18:58:55'::timestamp) - extract(epoch from '2026-07-22 18:58: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'), 47445, 'SRID=4674;POINT (-39.025896 -3.36395)', '2026-07-22 18:59:02', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025918 -3.363927)'), GeomFromEWKT('SRID=4674;POINT (-39.025896 -3.36395)'))) / (select extract(epoch from '2026-07-22 18:59:02'::timestamp) - extract(epoch from '2026-07-22 18:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025918 -3.363927)'), GeomFromEWKT('SRID=4674;POINT (-39.025896 -3.36395)'))) / (select extract(epoch from '2026-07-22 18:59:02'::timestamp) - extract(epoch from '2026-07-22 18:58: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'), 47445, 'SRID=4674;POINT (-39.025868 -3.363965)', '2026-07-22 18:59:09', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025896 -3.36395)'), GeomFromEWKT('SRID=4674;POINT (-39.025868 -3.363965)'))) / (select extract(epoch from '2026-07-22 18:59:09'::timestamp) - extract(epoch from '2026-07-22 18:59:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025896 -3.36395)'), GeomFromEWKT('SRID=4674;POINT (-39.025868 -3.363965)'))) / (select extract(epoch from '2026-07-22 18:59:09'::timestamp) - extract(epoch from '2026-07-22 18:59: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'), 47445, 'SRID=4674;POINT (-39.025835 -3.363981)', '2026-07-22 18:59:17', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025868 -3.363965)'), GeomFromEWKT('SRID=4674;POINT (-39.025835 -3.363981)'))) / (select extract(epoch from '2026-07-22 18:59:17'::timestamp) - extract(epoch from '2026-07-22 18:59:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025868 -3.363965)'), GeomFromEWKT('SRID=4674;POINT (-39.025835 -3.363981)'))) / (select extract(epoch from '2026-07-22 18:59:17'::timestamp) - extract(epoch from '2026-07-22 18:59: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'), 47445, 'SRID=4674;POINT (-39.02581 -3.363995)', '2026-07-22 18:59:24', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025835 -3.363981)'), GeomFromEWKT('SRID=4674;POINT (-39.02581 -3.363995)'))) / (select extract(epoch from '2026-07-22 18:59:24'::timestamp) - extract(epoch from '2026-07-22 18:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025835 -3.363981)'), GeomFromEWKT('SRID=4674;POINT (-39.02581 -3.363995)'))) / (select extract(epoch from '2026-07-22 18:59:24'::timestamp) - extract(epoch from '2026-07-22 18:59: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'), 47445, 'SRID=4674;POINT (-39.025795 -3.364016)', '2026-07-22 18:59:30', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02581 -3.363995)'), GeomFromEWKT('SRID=4674;POINT (-39.025795 -3.364016)'))) / (select extract(epoch from '2026-07-22 18:59:30'::timestamp) - extract(epoch from '2026-07-22 18:59:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02581 -3.363995)'), GeomFromEWKT('SRID=4674;POINT (-39.025795 -3.364016)'))) / (select extract(epoch from '2026-07-22 18:59:30'::timestamp) - extract(epoch from '2026-07-22 18:59: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'), 47445, 'SRID=4674;POINT (-39.025784 -3.364037)', '2026-07-22 18:59:35', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025795 -3.364016)'), GeomFromEWKT('SRID=4674;POINT (-39.025784 -3.364037)'))) / (select extract(epoch from '2026-07-22 18:59:35'::timestamp) - extract(epoch from '2026-07-22 18:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025795 -3.364016)'), GeomFromEWKT('SRID=4674;POINT (-39.025784 -3.364037)'))) / (select extract(epoch from '2026-07-22 18:59:35'::timestamp) - extract(epoch from '2026-07-22 18:59:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025776 -3.364045)', '2026-07-22 18:59:37', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025784 -3.364037)'), GeomFromEWKT('SRID=4674;POINT (-39.025776 -3.364045)'))) / (select extract(epoch from '2026-07-22 18:59:37'::timestamp) - extract(epoch from '2026-07-22 18:59:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025784 -3.364037)'), GeomFromEWKT('SRID=4674;POINT (-39.025776 -3.364045)'))) / (select extract(epoch from '2026-07-22 18:59:37'::timestamp) - extract(epoch from '2026-07-22 18:59: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'), 47445, 'SRID=4674;POINT (-39.025739 -3.364044)', '2026-07-22 18:59:47', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025776 -3.364045)'), GeomFromEWKT('SRID=4674;POINT (-39.025739 -3.364044)'))) / (select extract(epoch from '2026-07-22 18:59:47'::timestamp) - extract(epoch from '2026-07-22 18:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025776 -3.364045)'), GeomFromEWKT('SRID=4674;POINT (-39.025739 -3.364044)'))) / (select extract(epoch from '2026-07-22 18:59:47'::timestamp) - extract(epoch from '2026-07-22 18:59: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'), 47445, 'SRID=4674;POINT (-39.025701 -3.36405)', '2026-07-22 18:59:56', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025739 -3.364044)'), GeomFromEWKT('SRID=4674;POINT (-39.025701 -3.36405)'))) / (select extract(epoch from '2026-07-22 18:59:56'::timestamp) - extract(epoch from '2026-07-22 18:59:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025739 -3.364044)'), GeomFromEWKT('SRID=4674;POINT (-39.025701 -3.36405)'))) / (select extract(epoch from '2026-07-22 18:59:56'::timestamp) - extract(epoch from '2026-07-22 18:59: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'), 47445, 'SRID=4674;POINT (-39.025684 -3.364085)', '2026-07-22 19:00:05', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025701 -3.36405)'), GeomFromEWKT('SRID=4674;POINT (-39.025684 -3.364085)'))) / (select extract(epoch from '2026-07-22 19:00:05'::timestamp) - extract(epoch from '2026-07-22 18:59:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025701 -3.36405)'), GeomFromEWKT('SRID=4674;POINT (-39.025684 -3.364085)'))) / (select extract(epoch from '2026-07-22 19:00:05'::timestamp) - extract(epoch from '2026-07-22 18:59: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'), 47445, 'SRID=4674;POINT (-39.025654 -3.36411)', '2026-07-22 19:00:14', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025684 -3.364085)'), GeomFromEWKT('SRID=4674;POINT (-39.025654 -3.36411)'))) / (select extract(epoch from '2026-07-22 19:00:14'::timestamp) - extract(epoch from '2026-07-22 19:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025684 -3.364085)'), GeomFromEWKT('SRID=4674;POINT (-39.025654 -3.36411)'))) / (select extract(epoch from '2026-07-22 19:00:14'::timestamp) - extract(epoch from '2026-07-22 19:00: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'), 47445, 'SRID=4674;POINT (-39.025634 -3.364116)', '2026-07-22 19:00:22', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025654 -3.36411)'), GeomFromEWKT('SRID=4674;POINT (-39.025634 -3.364116)'))) / (select extract(epoch from '2026-07-22 19:00:22'::timestamp) - extract(epoch from '2026-07-22 19:00:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025654 -3.36411)'), GeomFromEWKT('SRID=4674;POINT (-39.025634 -3.364116)'))) / (select extract(epoch from '2026-07-22 19:00:22'::timestamp) - extract(epoch from '2026-07-22 19:00: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'), 47445, 'SRID=4674;POINT (-39.025598 -3.364109)', '2026-07-22 19:00:30', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025634 -3.364116)'), GeomFromEWKT('SRID=4674;POINT (-39.025598 -3.364109)'))) / (select extract(epoch from '2026-07-22 19:00:30'::timestamp) - extract(epoch from '2026-07-22 19:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025634 -3.364116)'), GeomFromEWKT('SRID=4674;POINT (-39.025598 -3.364109)'))) / (select extract(epoch from '2026-07-22 19:00:30'::timestamp) - extract(epoch from '2026-07-22 19:00: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'), 47445, 'SRID=4674;POINT (-39.025578 -3.364127)', '2026-07-22 19:00:36', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025598 -3.364109)'), GeomFromEWKT('SRID=4674;POINT (-39.025578 -3.364127)'))) / (select extract(epoch from '2026-07-22 19:00:36'::timestamp) - extract(epoch from '2026-07-22 19:00:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025598 -3.364109)'), GeomFromEWKT('SRID=4674;POINT (-39.025578 -3.364127)'))) / (select extract(epoch from '2026-07-22 19:00:36'::timestamp) - extract(epoch from '2026-07-22 19:00: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'), 47445, 'SRID=4674;POINT (-39.025537 -3.364159)', '2026-07-22 19:00:44', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025578 -3.364127)'), GeomFromEWKT('SRID=4674;POINT (-39.025537 -3.364159)'))) / (select extract(epoch from '2026-07-22 19:00:44'::timestamp) - extract(epoch from '2026-07-22 19:00:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025578 -3.364127)'), GeomFromEWKT('SRID=4674;POINT (-39.025537 -3.364159)'))) / (select extract(epoch from '2026-07-22 19:00:44'::timestamp) - extract(epoch from '2026-07-22 19:00: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'), 47445, 'SRID=4674;POINT (-39.025498 -3.364179)', '2026-07-22 19:00:53', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025537 -3.364159)'), GeomFromEWKT('SRID=4674;POINT (-39.025498 -3.364179)'))) / (select extract(epoch from '2026-07-22 19:00:53'::timestamp) - extract(epoch from '2026-07-22 19:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025537 -3.364159)'), GeomFromEWKT('SRID=4674;POINT (-39.025498 -3.364179)'))) / (select extract(epoch from '2026-07-22 19:00:53'::timestamp) - extract(epoch from '2026-07-22 19:00: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'), 47445, 'SRID=4674;POINT (-39.025443 -3.364182)', '2026-07-22 19:01:03', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025498 -3.364179)'), GeomFromEWKT('SRID=4674;POINT (-39.025443 -3.364182)'))) / (select extract(epoch from '2026-07-22 19:01:03'::timestamp) - extract(epoch from '2026-07-22 19:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025498 -3.364179)'), GeomFromEWKT('SRID=4674;POINT (-39.025443 -3.364182)'))) / (select extract(epoch from '2026-07-22 19:01:03'::timestamp) - extract(epoch from '2026-07-22 19:00: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'), 47445, 'SRID=4674;POINT (-39.025421 -3.364186)', '2026-07-22 19:01:11', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025443 -3.364182)'), GeomFromEWKT('SRID=4674;POINT (-39.025421 -3.364186)'))) / (select extract(epoch from '2026-07-22 19:01:11'::timestamp) - extract(epoch from '2026-07-22 19:01:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025443 -3.364182)'), GeomFromEWKT('SRID=4674;POINT (-39.025421 -3.364186)'))) / (select extract(epoch from '2026-07-22 19:01:11'::timestamp) - extract(epoch from '2026-07-22 19:01: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'), 47445, 'SRID=4674;POINT (-39.025402 -3.36421)', '2026-07-22 19:01:20', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025421 -3.364186)'), GeomFromEWKT('SRID=4674;POINT (-39.025402 -3.36421)'))) / (select extract(epoch from '2026-07-22 19:01:20'::timestamp) - extract(epoch from '2026-07-22 19:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025421 -3.364186)'), GeomFromEWKT('SRID=4674;POINT (-39.025402 -3.36421)'))) / (select extract(epoch from '2026-07-22 19:01:20'::timestamp) - extract(epoch from '2026-07-22 19:01: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'), 47445, 'SRID=4674;POINT (-39.025361 -3.36424)', '2026-07-22 19:01:30', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025402 -3.36421)'), GeomFromEWKT('SRID=4674;POINT (-39.025361 -3.36424)'))) / (select extract(epoch from '2026-07-22 19:01:30'::timestamp) - extract(epoch from '2026-07-22 19:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025402 -3.36421)'), GeomFromEWKT('SRID=4674;POINT (-39.025361 -3.36424)'))) / (select extract(epoch from '2026-07-22 19:01:30'::timestamp) - extract(epoch from '2026-07-22 19:01:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025305 -3.364253)', '2026-07-22 19:01:46', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025361 -3.36424)'), GeomFromEWKT('SRID=4674;POINT (-39.025305 -3.364253)'))) / (select extract(epoch from '2026-07-22 19:01:46'::timestamp) - extract(epoch from '2026-07-22 19:01:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025361 -3.36424)'), GeomFromEWKT('SRID=4674;POINT (-39.025305 -3.364253)'))) / (select extract(epoch from '2026-07-22 19:01:46'::timestamp) - extract(epoch from '2026-07-22 19:01:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025289 -3.364277)', '2026-07-22 19:01:58', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025305 -3.364253)'), GeomFromEWKT('SRID=4674;POINT (-39.025289 -3.364277)'))) / (select extract(epoch from '2026-07-22 19:01:58'::timestamp) - extract(epoch from '2026-07-22 19:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025305 -3.364253)'), GeomFromEWKT('SRID=4674;POINT (-39.025289 -3.364277)'))) / (select extract(epoch from '2026-07-22 19:01:58'::timestamp) - extract(epoch from '2026-07-22 19:01: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'), 47445, 'SRID=4674;POINT (-39.02525 -3.364308)', '2026-07-22 19:02:09', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025289 -3.364277)'), GeomFromEWKT('SRID=4674;POINT (-39.02525 -3.364308)'))) / (select extract(epoch from '2026-07-22 19:02:09'::timestamp) - extract(epoch from '2026-07-22 19:01:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025289 -3.364277)'), GeomFromEWKT('SRID=4674;POINT (-39.02525 -3.364308)'))) / (select extract(epoch from '2026-07-22 19:02:09'::timestamp) - extract(epoch from '2026-07-22 19:01:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025218 -3.364322)', '2026-07-22 19:02:19', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02525 -3.364308)'), GeomFromEWKT('SRID=4674;POINT (-39.025218 -3.364322)'))) / (select extract(epoch from '2026-07-22 19:02:19'::timestamp) - extract(epoch from '2026-07-22 19:02:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02525 -3.364308)'), GeomFromEWKT('SRID=4674;POINT (-39.025218 -3.364322)'))) / (select extract(epoch from '2026-07-22 19:02:19'::timestamp) - extract(epoch from '2026-07-22 19:02: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'), 47445, 'SRID=4674;POINT (-39.025216 -3.364333)', '2026-07-22 19:02:30', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025218 -3.364322)'), GeomFromEWKT('SRID=4674;POINT (-39.025216 -3.364333)'))) / (select extract(epoch from '2026-07-22 19:02:30'::timestamp) - extract(epoch from '2026-07-22 19:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025218 -3.364322)'), GeomFromEWKT('SRID=4674;POINT (-39.025216 -3.364333)'))) / (select extract(epoch from '2026-07-22 19:02:30'::timestamp) - extract(epoch from '2026-07-22 19:02:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025188 -3.364356)', '2026-07-22 19:02:38', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025216 -3.364333)'), GeomFromEWKT('SRID=4674;POINT (-39.025188 -3.364356)'))) / (select extract(epoch from '2026-07-22 19:02:38'::timestamp) - extract(epoch from '2026-07-22 19:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025216 -3.364333)'), GeomFromEWKT('SRID=4674;POINT (-39.025188 -3.364356)'))) / (select extract(epoch from '2026-07-22 19:02:38'::timestamp) - extract(epoch from '2026-07-22 19:02:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
