 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808354 -2.619384)', '2026-07-22 08:29:34', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808283 -2.619473)'), GeomFromEWKT('SRID=4674;POINT (-39.808354 -2.619384)'))) / (select extract(epoch from '2026-07-22 08:29:34'::timestamp) - extract(epoch from '2026-07-22 08:29:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808283 -2.619473)'), GeomFromEWKT('SRID=4674;POINT (-39.808354 -2.619384)'))) / (select extract(epoch from '2026-07-22 08:29:34'::timestamp) - extract(epoch from '2026-07-22 08:29: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'), 47870, 'SRID=4674;POINT (-39.808345 -2.61933)', '2026-07-22 08:29:46', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808354 -2.619384)'), GeomFromEWKT('SRID=4674;POINT (-39.808345 -2.61933)'))) / (select extract(epoch from '2026-07-22 08:29:46'::timestamp) - extract(epoch from '2026-07-22 08:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808354 -2.619384)'), GeomFromEWKT('SRID=4674;POINT (-39.808345 -2.61933)'))) / (select extract(epoch from '2026-07-22 08:29:46'::timestamp) - extract(epoch from '2026-07-22 08:29:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808345 -2.619327)', '2026-07-22 08:29:53', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808345 -2.61933)'), GeomFromEWKT('SRID=4674;POINT (-39.808345 -2.619327)'))) / (select extract(epoch from '2026-07-22 08:29:53'::timestamp) - extract(epoch from '2026-07-22 08:29:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808345 -2.61933)'), GeomFromEWKT('SRID=4674;POINT (-39.808345 -2.619327)'))) / (select extract(epoch from '2026-07-22 08:29:53'::timestamp) - extract(epoch from '2026-07-22 08:29:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808345 -2.619306)', '2026-07-22 08:30:06', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808345 -2.619327)'), GeomFromEWKT('SRID=4674;POINT (-39.808345 -2.619306)'))) / (select extract(epoch from '2026-07-22 08:30:06'::timestamp) - extract(epoch from '2026-07-22 08:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808345 -2.619327)'), GeomFromEWKT('SRID=4674;POINT (-39.808345 -2.619306)'))) / (select extract(epoch from '2026-07-22 08:30:06'::timestamp) - extract(epoch from '2026-07-22 08:29:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808348 -2.619273)', '2026-07-22 08:30:18', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808345 -2.619306)'), GeomFromEWKT('SRID=4674;POINT (-39.808348 -2.619273)'))) / (select extract(epoch from '2026-07-22 08:30:18'::timestamp) - extract(epoch from '2026-07-22 08:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808345 -2.619306)'), GeomFromEWKT('SRID=4674;POINT (-39.808348 -2.619273)'))) / (select extract(epoch from '2026-07-22 08:30:18'::timestamp) - extract(epoch from '2026-07-22 08:30: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'), 47870, 'SRID=4674;POINT (-39.808361 -2.61926)', '2026-07-22 08:30:24', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808348 -2.619273)'), GeomFromEWKT('SRID=4674;POINT (-39.808361 -2.61926)'))) / (select extract(epoch from '2026-07-22 08:30:24'::timestamp) - extract(epoch from '2026-07-22 08:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808348 -2.619273)'), GeomFromEWKT('SRID=4674;POINT (-39.808361 -2.61926)'))) / (select extract(epoch from '2026-07-22 08:30:24'::timestamp) - extract(epoch from '2026-07-22 08:30: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'), 47870, 'SRID=4674;POINT (-39.808366 -2.619253)', '2026-07-22 08:30:25', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808361 -2.61926)'), GeomFromEWKT('SRID=4674;POINT (-39.808366 -2.619253)'))) / (select extract(epoch from '2026-07-22 08:30:25'::timestamp) - extract(epoch from '2026-07-22 08:30:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808361 -2.61926)'), GeomFromEWKT('SRID=4674;POINT (-39.808366 -2.619253)'))) / (select extract(epoch from '2026-07-22 08:30:25'::timestamp) - extract(epoch from '2026-07-22 08:30:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808374 -2.619247)', '2026-07-22 08:30:30', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808366 -2.619253)'), GeomFromEWKT('SRID=4674;POINT (-39.808374 -2.619247)'))) / (select extract(epoch from '2026-07-22 08:30:30'::timestamp) - extract(epoch from '2026-07-22 08:30:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808366 -2.619253)'), GeomFromEWKT('SRID=4674;POINT (-39.808374 -2.619247)'))) / (select extract(epoch from '2026-07-22 08:30:30'::timestamp) - extract(epoch from '2026-07-22 08:30:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808376 -2.619225)', '2026-07-22 08:30:40', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808374 -2.619247)'), GeomFromEWKT('SRID=4674;POINT (-39.808376 -2.619225)'))) / (select extract(epoch from '2026-07-22 08:30:40'::timestamp) - extract(epoch from '2026-07-22 08:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808374 -2.619247)'), GeomFromEWKT('SRID=4674;POINT (-39.808376 -2.619225)'))) / (select extract(epoch from '2026-07-22 08:30:40'::timestamp) - extract(epoch from '2026-07-22 08:30: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'), 47870, 'SRID=4674;POINT (-39.808412 -2.619181)', '2026-07-22 08:30:58', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808376 -2.619225)'), GeomFromEWKT('SRID=4674;POINT (-39.808412 -2.619181)'))) / (select extract(epoch from '2026-07-22 08:30:58'::timestamp) - extract(epoch from '2026-07-22 08:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808376 -2.619225)'), GeomFromEWKT('SRID=4674;POINT (-39.808412 -2.619181)'))) / (select extract(epoch from '2026-07-22 08:30:58'::timestamp) - extract(epoch from '2026-07-22 08:30:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808432 -2.619156)', '2026-07-22 08:31:04', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808412 -2.619181)'), GeomFromEWKT('SRID=4674;POINT (-39.808432 -2.619156)'))) / (select extract(epoch from '2026-07-22 08:31:04'::timestamp) - extract(epoch from '2026-07-22 08:30:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808412 -2.619181)'), GeomFromEWKT('SRID=4674;POINT (-39.808432 -2.619156)'))) / (select extract(epoch from '2026-07-22 08:31:04'::timestamp) - extract(epoch from '2026-07-22 08:30: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'), 47870, 'SRID=4674;POINT (-39.808444 -2.619144)', '2026-07-22 08:31:14', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808432 -2.619156)'), GeomFromEWKT('SRID=4674;POINT (-39.808444 -2.619144)'))) / (select extract(epoch from '2026-07-22 08:31:14'::timestamp) - extract(epoch from '2026-07-22 08:31:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808432 -2.619156)'), GeomFromEWKT('SRID=4674;POINT (-39.808444 -2.619144)'))) / (select extract(epoch from '2026-07-22 08:31:14'::timestamp) - extract(epoch from '2026-07-22 08:31: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'), 47870, 'SRID=4674;POINT (-39.808416 -2.619124)', '2026-07-22 08:31:23', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808444 -2.619144)'), GeomFromEWKT('SRID=4674;POINT (-39.808416 -2.619124)'))) / (select extract(epoch from '2026-07-22 08:31:23'::timestamp) - extract(epoch from '2026-07-22 08:31:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808444 -2.619144)'), GeomFromEWKT('SRID=4674;POINT (-39.808416 -2.619124)'))) / (select extract(epoch from '2026-07-22 08:31:23'::timestamp) - extract(epoch from '2026-07-22 08:31:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808385 -2.619103)', '2026-07-22 08:31:31', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808416 -2.619124)'), GeomFromEWKT('SRID=4674;POINT (-39.808385 -2.619103)'))) / (select extract(epoch from '2026-07-22 08:31:31'::timestamp) - extract(epoch from '2026-07-22 08:31:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808416 -2.619124)'), GeomFromEWKT('SRID=4674;POINT (-39.808385 -2.619103)'))) / (select extract(epoch from '2026-07-22 08:31:31'::timestamp) - extract(epoch from '2026-07-22 08:31:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808337 -2.619095)', '2026-07-22 08:31:38', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808385 -2.619103)'), GeomFromEWKT('SRID=4674;POINT (-39.808337 -2.619095)'))) / (select extract(epoch from '2026-07-22 08:31:38'::timestamp) - extract(epoch from '2026-07-22 08:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808385 -2.619103)'), GeomFromEWKT('SRID=4674;POINT (-39.808337 -2.619095)'))) / (select extract(epoch from '2026-07-22 08:31:38'::timestamp) - extract(epoch from '2026-07-22 08:31: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'), 47870, 'SRID=4674;POINT (-39.808322 -2.619091)', '2026-07-22 08:31:46', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808337 -2.619095)'), GeomFromEWKT('SRID=4674;POINT (-39.808322 -2.619091)'))) / (select extract(epoch from '2026-07-22 08:31:46'::timestamp) - extract(epoch from '2026-07-22 08:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808337 -2.619095)'), GeomFromEWKT('SRID=4674;POINT (-39.808322 -2.619091)'))) / (select extract(epoch from '2026-07-22 08:31:46'::timestamp) - extract(epoch from '2026-07-22 08:31: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'), 47870, 'SRID=4674;POINT (-39.808282 -2.619082)', '2026-07-22 08:31:51', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808322 -2.619091)'), GeomFromEWKT('SRID=4674;POINT (-39.808282 -2.619082)'))) / (select extract(epoch from '2026-07-22 08:31:51'::timestamp) - extract(epoch from '2026-07-22 08:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808322 -2.619091)'), GeomFromEWKT('SRID=4674;POINT (-39.808282 -2.619082)'))) / (select extract(epoch from '2026-07-22 08:31:51'::timestamp) - extract(epoch from '2026-07-22 08:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808239 -2.619099)', '2026-07-22 08:31:58', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808282 -2.619082)'), GeomFromEWKT('SRID=4674;POINT (-39.808239 -2.619099)'))) / (select extract(epoch from '2026-07-22 08:31:58'::timestamp) - extract(epoch from '2026-07-22 08:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808282 -2.619082)'), GeomFromEWKT('SRID=4674;POINT (-39.808239 -2.619099)'))) / (select extract(epoch from '2026-07-22 08:31:58'::timestamp) - extract(epoch from '2026-07-22 08:31:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808223 -2.619095)', '2026-07-22 08:32:04', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808239 -2.619099)'), GeomFromEWKT('SRID=4674;POINT (-39.808223 -2.619095)'))) / (select extract(epoch from '2026-07-22 08:32:04'::timestamp) - extract(epoch from '2026-07-22 08:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808239 -2.619099)'), GeomFromEWKT('SRID=4674;POINT (-39.808223 -2.619095)'))) / (select extract(epoch from '2026-07-22 08:32:04'::timestamp) - extract(epoch from '2026-07-22 08:31: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'), 47870, 'SRID=4674;POINT (-39.808223 -2.619096)', '2026-07-22 08:32:14', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808223 -2.619095)'), GeomFromEWKT('SRID=4674;POINT (-39.808223 -2.619096)'))) / (select extract(epoch from '2026-07-22 08:32:14'::timestamp) - extract(epoch from '2026-07-22 08:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808223 -2.619095)'), GeomFromEWKT('SRID=4674;POINT (-39.808223 -2.619096)'))) / (select extract(epoch from '2026-07-22 08:32:14'::timestamp) - extract(epoch from '2026-07-22 08:32: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'), 47870, 'SRID=4674;POINT (-39.808206 -2.619094)', '2026-07-22 08:32:24', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808223 -2.619096)'), GeomFromEWKT('SRID=4674;POINT (-39.808206 -2.619094)'))) / (select extract(epoch from '2026-07-22 08:32:24'::timestamp) - extract(epoch from '2026-07-22 08:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808223 -2.619096)'), GeomFromEWKT('SRID=4674;POINT (-39.808206 -2.619094)'))) / (select extract(epoch from '2026-07-22 08:32:24'::timestamp) - extract(epoch from '2026-07-22 08:32: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'), 47870, 'SRID=4674;POINT (-39.808207 -2.619071)', '2026-07-22 08:32:43', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808206 -2.619094)'), GeomFromEWKT('SRID=4674;POINT (-39.808207 -2.619071)'))) / (select extract(epoch from '2026-07-22 08:32:43'::timestamp) - extract(epoch from '2026-07-22 08:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808206 -2.619094)'), GeomFromEWKT('SRID=4674;POINT (-39.808207 -2.619071)'))) / (select extract(epoch from '2026-07-22 08:32:43'::timestamp) - extract(epoch from '2026-07-22 08:32:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808192 -2.619068)', '2026-07-22 08:33:02', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808207 -2.619071)'), GeomFromEWKT('SRID=4674;POINT (-39.808192 -2.619068)'))) / (select extract(epoch from '2026-07-22 08:33:02'::timestamp) - extract(epoch from '2026-07-22 08:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808207 -2.619071)'), GeomFromEWKT('SRID=4674;POINT (-39.808192 -2.619068)'))) / (select extract(epoch from '2026-07-22 08:33:02'::timestamp) - extract(epoch from '2026-07-22 08:32: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'), 47870, 'SRID=4674;POINT (-39.808197 -2.619066)', '2026-07-22 08:33:08', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808192 -2.619068)'), GeomFromEWKT('SRID=4674;POINT (-39.808197 -2.619066)'))) / (select extract(epoch from '2026-07-22 08:33:08'::timestamp) - extract(epoch from '2026-07-22 08:33:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808192 -2.619068)'), GeomFromEWKT('SRID=4674;POINT (-39.808197 -2.619066)'))) / (select extract(epoch from '2026-07-22 08:33:08'::timestamp) - extract(epoch from '2026-07-22 08:33: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'), 47870, 'SRID=4674;POINT (-39.808248 -2.619015)', '2026-07-22 08:33:37', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808197 -2.619066)'), GeomFromEWKT('SRID=4674;POINT (-39.808248 -2.619015)'))) / (select extract(epoch from '2026-07-22 08:33:37'::timestamp) - extract(epoch from '2026-07-22 08:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808197 -2.619066)'), GeomFromEWKT('SRID=4674;POINT (-39.808248 -2.619015)'))) / (select extract(epoch from '2026-07-22 08:33:37'::timestamp) - extract(epoch from '2026-07-22 08:33:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808272 -2.618988)', '2026-07-22 08:33:42', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808248 -2.619015)'), GeomFromEWKT('SRID=4674;POINT (-39.808272 -2.618988)'))) / (select extract(epoch from '2026-07-22 08:33:42'::timestamp) - extract(epoch from '2026-07-22 08:33:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808248 -2.619015)'), GeomFromEWKT('SRID=4674;POINT (-39.808272 -2.618988)'))) / (select extract(epoch from '2026-07-22 08:33:42'::timestamp) - extract(epoch from '2026-07-22 08:33: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'), 47870, 'SRID=4674;POINT (-39.808306 -2.618962)', '2026-07-22 08:33:48', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808272 -2.618988)'), GeomFromEWKT('SRID=4674;POINT (-39.808306 -2.618962)'))) / (select extract(epoch from '2026-07-22 08:33:48'::timestamp) - extract(epoch from '2026-07-22 08:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808272 -2.618988)'), GeomFromEWKT('SRID=4674;POINT (-39.808306 -2.618962)'))) / (select extract(epoch from '2026-07-22 08:33:48'::timestamp) - extract(epoch from '2026-07-22 08:33:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808279 -2.618928)', '2026-07-22 08:33:55', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808306 -2.618962)'), GeomFromEWKT('SRID=4674;POINT (-39.808279 -2.618928)'))) / (select extract(epoch from '2026-07-22 08:33:55'::timestamp) - extract(epoch from '2026-07-22 08:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808306 -2.618962)'), GeomFromEWKT('SRID=4674;POINT (-39.808279 -2.618928)'))) / (select extract(epoch from '2026-07-22 08:33:55'::timestamp) - extract(epoch from '2026-07-22 08:33:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808256 -2.618913)', '2026-07-22 08:34:00', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808279 -2.618928)'), GeomFromEWKT('SRID=4674;POINT (-39.808256 -2.618913)'))) / (select extract(epoch from '2026-07-22 08:34:00'::timestamp) - extract(epoch from '2026-07-22 08:33:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808279 -2.618928)'), GeomFromEWKT('SRID=4674;POINT (-39.808256 -2.618913)'))) / (select extract(epoch from '2026-07-22 08:34:00'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.808243 -2.618914)', '2026-07-22 08:34:03', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808256 -2.618913)'), GeomFromEWKT('SRID=4674;POINT (-39.808243 -2.618914)'))) / (select extract(epoch from '2026-07-22 08:34:03'::timestamp) - extract(epoch from '2026-07-22 08:34:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808256 -2.618913)'), GeomFromEWKT('SRID=4674;POINT (-39.808243 -2.618914)'))) / (select extract(epoch from '2026-07-22 08:34:03'::timestamp) - extract(epoch from '2026-07-22 08:34:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808213 -2.618923)', '2026-07-22 08:34:10', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808243 -2.618914)'), GeomFromEWKT('SRID=4674;POINT (-39.808213 -2.618923)'))) / (select extract(epoch from '2026-07-22 08:34:10'::timestamp) - extract(epoch from '2026-07-22 08:34:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808243 -2.618914)'), GeomFromEWKT('SRID=4674;POINT (-39.808213 -2.618923)'))) / (select extract(epoch from '2026-07-22 08:34:10'::timestamp) - extract(epoch from '2026-07-22 08:34:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808146 -2.618959)', '2026-07-22 08:34:19', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808213 -2.618923)'), GeomFromEWKT('SRID=4674;POINT (-39.808146 -2.618959)'))) / (select extract(epoch from '2026-07-22 08:34:19'::timestamp) - extract(epoch from '2026-07-22 08:34:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808213 -2.618923)'), GeomFromEWKT('SRID=4674;POINT (-39.808146 -2.618959)'))) / (select extract(epoch from '2026-07-22 08:34:19'::timestamp) - extract(epoch from '2026-07-22 08:34:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808121 -2.618977)', '2026-07-22 08:34:22', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808146 -2.618959)'), GeomFromEWKT('SRID=4674;POINT (-39.808121 -2.618977)'))) / (select extract(epoch from '2026-07-22 08:34:22'::timestamp) - extract(epoch from '2026-07-22 08:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808146 -2.618959)'), GeomFromEWKT('SRID=4674;POINT (-39.808121 -2.618977)'))) / (select extract(epoch from '2026-07-22 08:34:22'::timestamp) - extract(epoch from '2026-07-22 08:34: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'), 47870, 'SRID=4674;POINT (-39.808086 -2.619007)', '2026-07-22 08:34:26', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808121 -2.618977)'), GeomFromEWKT('SRID=4674;POINT (-39.808086 -2.619007)'))) / (select extract(epoch from '2026-07-22 08:34:26'::timestamp) - extract(epoch from '2026-07-22 08:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808121 -2.618977)'), GeomFromEWKT('SRID=4674;POINT (-39.808086 -2.619007)'))) / (select extract(epoch from '2026-07-22 08:34:26'::timestamp) - extract(epoch from '2026-07-22 08:34: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'), 47870, 'SRID=4674;POINT (-39.808048 -2.619048)', '2026-07-22 08:34:32', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808086 -2.619007)'), GeomFromEWKT('SRID=4674;POINT (-39.808048 -2.619048)'))) / (select extract(epoch from '2026-07-22 08:34:32'::timestamp) - extract(epoch from '2026-07-22 08:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808086 -2.619007)'), GeomFromEWKT('SRID=4674;POINT (-39.808048 -2.619048)'))) / (select extract(epoch from '2026-07-22 08:34:32'::timestamp) - extract(epoch from '2026-07-22 08:34: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'), 47870, 'SRID=4674;POINT (-39.808046 -2.619058)', '2026-07-22 08:34:33', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808048 -2.619048)'), GeomFromEWKT('SRID=4674;POINT (-39.808046 -2.619058)'))) / (select extract(epoch from '2026-07-22 08:34:33'::timestamp) - extract(epoch from '2026-07-22 08:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808048 -2.619048)'), GeomFromEWKT('SRID=4674;POINT (-39.808046 -2.619058)'))) / (select extract(epoch from '2026-07-22 08:34:33'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.808045 -2.619094)', '2026-07-22 08:34:36', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808046 -2.619058)'), GeomFromEWKT('SRID=4674;POINT (-39.808045 -2.619094)'))) / (select extract(epoch from '2026-07-22 08:34:36'::timestamp) - extract(epoch from '2026-07-22 08:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808046 -2.619058)'), GeomFromEWKT('SRID=4674;POINT (-39.808045 -2.619094)'))) / (select extract(epoch from '2026-07-22 08:34:36'::timestamp) - extract(epoch from '2026-07-22 08:34:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808051 -2.619122)', '2026-07-22 08:34:38', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808045 -2.619094)'), GeomFromEWKT('SRID=4674;POINT (-39.808051 -2.619122)'))) / (select extract(epoch from '2026-07-22 08:34:38'::timestamp) - extract(epoch from '2026-07-22 08:34:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808045 -2.619094)'), GeomFromEWKT('SRID=4674;POINT (-39.808051 -2.619122)'))) / (select extract(epoch from '2026-07-22 08:34:38'::timestamp) - extract(epoch from '2026-07-22 08:34:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808038 -2.619214)', '2026-07-22 08:34:45', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808051 -2.619122)'), GeomFromEWKT('SRID=4674;POINT (-39.808038 -2.619214)'))) / (select extract(epoch from '2026-07-22 08:34:45'::timestamp) - extract(epoch from '2026-07-22 08:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808051 -2.619122)'), GeomFromEWKT('SRID=4674;POINT (-39.808038 -2.619214)'))) / (select extract(epoch from '2026-07-22 08:34:45'::timestamp) - extract(epoch from '2026-07-22 08:34:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808025 -2.619313)', '2026-07-22 08:34:53', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808038 -2.619214)'), GeomFromEWKT('SRID=4674;POINT (-39.808025 -2.619313)'))) / (select extract(epoch from '2026-07-22 08:34:53'::timestamp) - extract(epoch from '2026-07-22 08:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808038 -2.619214)'), GeomFromEWKT('SRID=4674;POINT (-39.808025 -2.619313)'))) / (select extract(epoch from '2026-07-22 08:34:53'::timestamp) - extract(epoch from '2026-07-22 08:34:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808022 -2.619369)', '2026-07-22 08:34:59', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808025 -2.619313)'), GeomFromEWKT('SRID=4674;POINT (-39.808022 -2.619369)'))) / (select extract(epoch from '2026-07-22 08:34:59'::timestamp) - extract(epoch from '2026-07-22 08:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808025 -2.619313)'), GeomFromEWKT('SRID=4674;POINT (-39.808022 -2.619369)'))) / (select extract(epoch from '2026-07-22 08:34:59'::timestamp) - extract(epoch from '2026-07-22 08:34: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'), 47870, 'SRID=4674;POINT (-39.807996 -2.619449)', '2026-07-22 08:35:06', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808022 -2.619369)'), GeomFromEWKT('SRID=4674;POINT (-39.807996 -2.619449)'))) / (select extract(epoch from '2026-07-22 08:35:06'::timestamp) - extract(epoch from '2026-07-22 08:34:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808022 -2.619369)'), GeomFromEWKT('SRID=4674;POINT (-39.807996 -2.619449)'))) / (select extract(epoch from '2026-07-22 08:35:06'::timestamp) - extract(epoch from '2026-07-22 08:34:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807961 -2.619535)', '2026-07-22 08:35:13', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807996 -2.619449)'), GeomFromEWKT('SRID=4674;POINT (-39.807961 -2.619535)'))) / (select extract(epoch from '2026-07-22 08:35:13'::timestamp) - extract(epoch from '2026-07-22 08:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807996 -2.619449)'), GeomFromEWKT('SRID=4674;POINT (-39.807961 -2.619535)'))) / (select extract(epoch from '2026-07-22 08:35:13'::timestamp) - extract(epoch from '2026-07-22 08:35: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'), 47870, 'SRID=4674;POINT (-39.807936 -2.619617)', '2026-07-22 08:35:19', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807961 -2.619535)'), GeomFromEWKT('SRID=4674;POINT (-39.807936 -2.619617)'))) / (select extract(epoch from '2026-07-22 08:35:19'::timestamp) - extract(epoch from '2026-07-22 08:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807961 -2.619535)'), GeomFromEWKT('SRID=4674;POINT (-39.807936 -2.619617)'))) / (select extract(epoch from '2026-07-22 08:35:19'::timestamp) - extract(epoch from '2026-07-22 08:35: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'), 47870, 'SRID=4674;POINT (-39.807914 -2.619694)', '2026-07-22 08:35:25', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807936 -2.619617)'), GeomFromEWKT('SRID=4674;POINT (-39.807914 -2.619694)'))) / (select extract(epoch from '2026-07-22 08:35:25'::timestamp) - extract(epoch from '2026-07-22 08:35:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807936 -2.619617)'), GeomFromEWKT('SRID=4674;POINT (-39.807914 -2.619694)'))) / (select extract(epoch from '2026-07-22 08:35:25'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.807902 -2.619767)', '2026-07-22 08:35:31', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807914 -2.619694)'), GeomFromEWKT('SRID=4674;POINT (-39.807902 -2.619767)'))) / (select extract(epoch from '2026-07-22 08:35:31'::timestamp) - extract(epoch from '2026-07-22 08:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807914 -2.619694)'), GeomFromEWKT('SRID=4674;POINT (-39.807902 -2.619767)'))) / (select extract(epoch from '2026-07-22 08:35:31'::timestamp) - extract(epoch from '2026-07-22 08:35:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807909 -2.619806)', '2026-07-22 08:35:34', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807902 -2.619767)'), GeomFromEWKT('SRID=4674;POINT (-39.807909 -2.619806)'))) / (select extract(epoch from '2026-07-22 08:35:34'::timestamp) - extract(epoch from '2026-07-22 08:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807902 -2.619767)'), GeomFromEWKT('SRID=4674;POINT (-39.807909 -2.619806)'))) / (select extract(epoch from '2026-07-22 08:35:34'::timestamp) - extract(epoch from '2026-07-22 08:35:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807909 -2.619842)', '2026-07-22 08:35:37', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807909 -2.619806)'), GeomFromEWKT('SRID=4674;POINT (-39.807909 -2.619842)'))) / (select extract(epoch from '2026-07-22 08:35:37'::timestamp) - extract(epoch from '2026-07-22 08:35:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807909 -2.619806)'), GeomFromEWKT('SRID=4674;POINT (-39.807909 -2.619842)'))) / (select extract(epoch from '2026-07-22 08:35:37'::timestamp) - extract(epoch from '2026-07-22 08:35: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'), 47870, 'SRID=4674;POINT (-39.807902 -2.619896)', '2026-07-22 08:35:43', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807909 -2.619842)'), GeomFromEWKT('SRID=4674;POINT (-39.807902 -2.619896)'))) / (select extract(epoch from '2026-07-22 08:35:43'::timestamp) - extract(epoch from '2026-07-22 08:35:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807909 -2.619842)'), GeomFromEWKT('SRID=4674;POINT (-39.807902 -2.619896)'))) / (select extract(epoch from '2026-07-22 08:35:43'::timestamp) - extract(epoch from '2026-07-22 08:35:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807894 -2.619926)', '2026-07-22 08:35:46', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807902 -2.619896)'), GeomFromEWKT('SRID=4674;POINT (-39.807894 -2.619926)'))) / (select extract(epoch from '2026-07-22 08:35:46'::timestamp) - extract(epoch from '2026-07-22 08:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807902 -2.619896)'), GeomFromEWKT('SRID=4674;POINT (-39.807894 -2.619926)'))) / (select extract(epoch from '2026-07-22 08:35:46'::timestamp) - extract(epoch from '2026-07-22 08:35: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'), 47870, 'SRID=4674;POINT (-39.807859 -2.61997)', '2026-07-22 08:35:51', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807894 -2.619926)'), GeomFromEWKT('SRID=4674;POINT (-39.807859 -2.61997)'))) / (select extract(epoch from '2026-07-22 08:35:51'::timestamp) - extract(epoch from '2026-07-22 08:35:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807894 -2.619926)'), GeomFromEWKT('SRID=4674;POINT (-39.807859 -2.61997)'))) / (select extract(epoch from '2026-07-22 08:35:51'::timestamp) - extract(epoch from '2026-07-22 08:35: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'), 47870, 'SRID=4674;POINT (-39.807824 -2.620021)', '2026-07-22 08:35:57', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807859 -2.61997)'), GeomFromEWKT('SRID=4674;POINT (-39.807824 -2.620021)'))) / (select extract(epoch from '2026-07-22 08:35:57'::timestamp) - extract(epoch from '2026-07-22 08:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807859 -2.61997)'), GeomFromEWKT('SRID=4674;POINT (-39.807824 -2.620021)'))) / (select extract(epoch from '2026-07-22 08:35:57'::timestamp) - extract(epoch from '2026-07-22 08:35: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'), 47870, 'SRID=4674;POINT (-39.807801 -2.620081)', '2026-07-22 08:36:03', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807824 -2.620021)'), GeomFromEWKT('SRID=4674;POINT (-39.807801 -2.620081)'))) / (select extract(epoch from '2026-07-22 08:36:03'::timestamp) - extract(epoch from '2026-07-22 08:35:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807824 -2.620021)'), GeomFromEWKT('SRID=4674;POINT (-39.807801 -2.620081)'))) / (select extract(epoch from '2026-07-22 08:36:03'::timestamp) - extract(epoch from '2026-07-22 08:35: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'), 47870, 'SRID=4674;POINT (-39.807785 -2.620145)', '2026-07-22 08:36:09', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807801 -2.620081)'), GeomFromEWKT('SRID=4674;POINT (-39.807785 -2.620145)'))) / (select extract(epoch from '2026-07-22 08:36:09'::timestamp) - extract(epoch from '2026-07-22 08:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807801 -2.620081)'), GeomFromEWKT('SRID=4674;POINT (-39.807785 -2.620145)'))) / (select extract(epoch from '2026-07-22 08:36:09'::timestamp) - extract(epoch from '2026-07-22 08:36: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'), 47870, 'SRID=4674;POINT (-39.807767 -2.620203)', '2026-07-22 08:36:14', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807785 -2.620145)'), GeomFromEWKT('SRID=4674;POINT (-39.807767 -2.620203)'))) / (select extract(epoch from '2026-07-22 08:36:14'::timestamp) - extract(epoch from '2026-07-22 08:36:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807785 -2.620145)'), GeomFromEWKT('SRID=4674;POINT (-39.807767 -2.620203)'))) / (select extract(epoch from '2026-07-22 08:36:14'::timestamp) - extract(epoch from '2026-07-22 08:36: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'), 47870, 'SRID=4674;POINT (-39.807751 -2.620279)', '2026-07-22 08:36:20', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807767 -2.620203)'), GeomFromEWKT('SRID=4674;POINT (-39.807751 -2.620279)'))) / (select extract(epoch from '2026-07-22 08:36:20'::timestamp) - extract(epoch from '2026-07-22 08:36:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807767 -2.620203)'), GeomFromEWKT('SRID=4674;POINT (-39.807751 -2.620279)'))) / (select extract(epoch from '2026-07-22 08:36:20'::timestamp) - extract(epoch from '2026-07-22 08:36:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807744 -2.620357)', '2026-07-22 08:36:26', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807751 -2.620279)'), GeomFromEWKT('SRID=4674;POINT (-39.807744 -2.620357)'))) / (select extract(epoch from '2026-07-22 08:36:26'::timestamp) - extract(epoch from '2026-07-22 08:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807751 -2.620279)'), GeomFromEWKT('SRID=4674;POINT (-39.807744 -2.620357)'))) / (select extract(epoch from '2026-07-22 08:36:26'::timestamp) - extract(epoch from '2026-07-22 08:36: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'), 47870, 'SRID=4674;POINT (-39.807736 -2.620409)', '2026-07-22 08:36:30', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807744 -2.620357)'), GeomFromEWKT('SRID=4674;POINT (-39.807736 -2.620409)'))) / (select extract(epoch from '2026-07-22 08:36:30'::timestamp) - extract(epoch from '2026-07-22 08:36:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807744 -2.620357)'), GeomFromEWKT('SRID=4674;POINT (-39.807736 -2.620409)'))) / (select extract(epoch from '2026-07-22 08:36:30'::timestamp) - extract(epoch from '2026-07-22 08:36: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'), 47870, 'SRID=4674;POINT (-39.807731 -2.62042)', '2026-07-22 08:36:31', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807736 -2.620409)'), GeomFromEWKT('SRID=4674;POINT (-39.807731 -2.62042)'))) / (select extract(epoch from '2026-07-22 08:36:31'::timestamp) - extract(epoch from '2026-07-22 08:36:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807736 -2.620409)'), GeomFromEWKT('SRID=4674;POINT (-39.807731 -2.62042)'))) / (select extract(epoch from '2026-07-22 08:36:31'::timestamp) - extract(epoch from '2026-07-22 08:36:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807728 -2.620441)', '2026-07-22 08:36:33', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807731 -2.62042)'), GeomFromEWKT('SRID=4674;POINT (-39.807728 -2.620441)'))) / (select extract(epoch from '2026-07-22 08:36:33'::timestamp) - extract(epoch from '2026-07-22 08:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807731 -2.62042)'), GeomFromEWKT('SRID=4674;POINT (-39.807728 -2.620441)'))) / (select extract(epoch from '2026-07-22 08:36:33'::timestamp) - extract(epoch from '2026-07-22 08:36:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807729 -2.620476)', '2026-07-22 08:36:36', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807728 -2.620441)'), GeomFromEWKT('SRID=4674;POINT (-39.807729 -2.620476)'))) / (select extract(epoch from '2026-07-22 08:36:36'::timestamp) - extract(epoch from '2026-07-22 08:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807728 -2.620441)'), GeomFromEWKT('SRID=4674;POINT (-39.807729 -2.620476)'))) / (select extract(epoch from '2026-07-22 08:36:36'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.807689 -2.620564)', '2026-07-22 08:36:43', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807729 -2.620476)'), GeomFromEWKT('SRID=4674;POINT (-39.807689 -2.620564)'))) / (select extract(epoch from '2026-07-22 08:36:43'::timestamp) - extract(epoch from '2026-07-22 08:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807729 -2.620476)'), GeomFromEWKT('SRID=4674;POINT (-39.807689 -2.620564)'))) / (select extract(epoch from '2026-07-22 08:36:43'::timestamp) - extract(epoch from '2026-07-22 08:36:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807669 -2.620608)', '2026-07-22 08:36:47', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807689 -2.620564)'), GeomFromEWKT('SRID=4674;POINT (-39.807669 -2.620608)'))) / (select extract(epoch from '2026-07-22 08:36:47'::timestamp) - extract(epoch from '2026-07-22 08:36:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807689 -2.620564)'), GeomFromEWKT('SRID=4674;POINT (-39.807669 -2.620608)'))) / (select extract(epoch from '2026-07-22 08:36:47'::timestamp) - extract(epoch from '2026-07-22 08:36: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'), 47870, 'SRID=4674;POINT (-39.807662 -2.620645)', '2026-07-22 08:36:50', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807669 -2.620608)'), GeomFromEWKT('SRID=4674;POINT (-39.807662 -2.620645)'))) / (select extract(epoch from '2026-07-22 08:36:50'::timestamp) - extract(epoch from '2026-07-22 08:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807669 -2.620608)'), GeomFromEWKT('SRID=4674;POINT (-39.807662 -2.620645)'))) / (select extract(epoch from '2026-07-22 08:36:50'::timestamp) - extract(epoch from '2026-07-22 08:36:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807646 -2.620702)', '2026-07-22 08:36:55', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807662 -2.620645)'), GeomFromEWKT('SRID=4674;POINT (-39.807646 -2.620702)'))) / (select extract(epoch from '2026-07-22 08:36:55'::timestamp) - extract(epoch from '2026-07-22 08:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807662 -2.620645)'), GeomFromEWKT('SRID=4674;POINT (-39.807646 -2.620702)'))) / (select extract(epoch from '2026-07-22 08:36:55'::timestamp) - extract(epoch from '2026-07-22 08:36:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807644 -2.620708)', '2026-07-22 08:36:56', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807646 -2.620702)'), GeomFromEWKT('SRID=4674;POINT (-39.807644 -2.620708)'))) / (select extract(epoch from '2026-07-22 08:36:56'::timestamp) - extract(epoch from '2026-07-22 08:36:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807646 -2.620702)'), GeomFromEWKT('SRID=4674;POINT (-39.807644 -2.620708)'))) / (select extract(epoch from '2026-07-22 08:36:56'::timestamp) - extract(epoch from '2026-07-22 08:36:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807642 -2.620765)', '2026-07-22 08:37:02', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807644 -2.620708)'), GeomFromEWKT('SRID=4674;POINT (-39.807642 -2.620765)'))) / (select extract(epoch from '2026-07-22 08:37:02'::timestamp) - extract(epoch from '2026-07-22 08:36:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807644 -2.620708)'), GeomFromEWKT('SRID=4674;POINT (-39.807642 -2.620765)'))) / (select extract(epoch from '2026-07-22 08:37:02'::timestamp) - extract(epoch from '2026-07-22 08:36: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'), 47870, 'SRID=4674;POINT (-39.807642 -2.620828)', '2026-07-22 08:37:07', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807642 -2.620765)'), GeomFromEWKT('SRID=4674;POINT (-39.807642 -2.620828)'))) / (select extract(epoch from '2026-07-22 08:37:07'::timestamp) - extract(epoch from '2026-07-22 08:37:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807642 -2.620765)'), GeomFromEWKT('SRID=4674;POINT (-39.807642 -2.620828)'))) / (select extract(epoch from '2026-07-22 08:37:07'::timestamp) - extract(epoch from '2026-07-22 08:37:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807643 -2.620838)', '2026-07-22 08:37:08', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807642 -2.620828)'), GeomFromEWKT('SRID=4674;POINT (-39.807643 -2.620838)'))) / (select extract(epoch from '2026-07-22 08:37:08'::timestamp) - extract(epoch from '2026-07-22 08:37:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807642 -2.620828)'), GeomFromEWKT('SRID=4674;POINT (-39.807643 -2.620838)'))) / (select extract(epoch from '2026-07-22 08:37:08'::timestamp) - extract(epoch from '2026-07-22 08:37: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'), 47870, 'SRID=4674;POINT (-39.807637 -2.620878)', '2026-07-22 08:37:12', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807643 -2.620838)'), GeomFromEWKT('SRID=4674;POINT (-39.807637 -2.620878)'))) / (select extract(epoch from '2026-07-22 08:37:12'::timestamp) - extract(epoch from '2026-07-22 08:37:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807643 -2.620838)'), GeomFromEWKT('SRID=4674;POINT (-39.807637 -2.620878)'))) / (select extract(epoch from '2026-07-22 08:37:12'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.807632 -2.620895)', '2026-07-22 08:37:14', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807637 -2.620878)'), GeomFromEWKT('SRID=4674;POINT (-39.807632 -2.620895)'))) / (select extract(epoch from '2026-07-22 08:37:14'::timestamp) - extract(epoch from '2026-07-22 08:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807637 -2.620878)'), GeomFromEWKT('SRID=4674;POINT (-39.807632 -2.620895)'))) / (select extract(epoch from '2026-07-22 08:37:14'::timestamp) - extract(epoch from '2026-07-22 08:37: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'), 47870, 'SRID=4674;POINT (-39.807632 -2.620908)', '2026-07-22 08:37:15', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807632 -2.620895)'), GeomFromEWKT('SRID=4674;POINT (-39.807632 -2.620908)'))) / (select extract(epoch from '2026-07-22 08:37:15'::timestamp) - extract(epoch from '2026-07-22 08:37:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807632 -2.620895)'), GeomFromEWKT('SRID=4674;POINT (-39.807632 -2.620908)'))) / (select extract(epoch from '2026-07-22 08:37:15'::timestamp) - extract(epoch from '2026-07-22 08:37: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'), 47870, 'SRID=4674;POINT (-39.807617 -2.620955)', '2026-07-22 08:37:19', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807632 -2.620908)'), GeomFromEWKT('SRID=4674;POINT (-39.807617 -2.620955)'))) / (select extract(epoch from '2026-07-22 08:37:19'::timestamp) - extract(epoch from '2026-07-22 08:37:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807632 -2.620908)'), GeomFromEWKT('SRID=4674;POINT (-39.807617 -2.620955)'))) / (select extract(epoch from '2026-07-22 08:37:19'::timestamp) - extract(epoch from '2026-07-22 08:37:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807576 -2.621031)', '2026-07-22 08:37:26', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807617 -2.620955)'), GeomFromEWKT('SRID=4674;POINT (-39.807576 -2.621031)'))) / (select extract(epoch from '2026-07-22 08:37:26'::timestamp) - extract(epoch from '2026-07-22 08:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807617 -2.620955)'), GeomFromEWKT('SRID=4674;POINT (-39.807576 -2.621031)'))) / (select extract(epoch from '2026-07-22 08:37:26'::timestamp) - extract(epoch from '2026-07-22 08:37:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807547 -2.621072)', '2026-07-22 08:37:30', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807576 -2.621031)'), GeomFromEWKT('SRID=4674;POINT (-39.807547 -2.621072)'))) / (select extract(epoch from '2026-07-22 08:37:30'::timestamp) - extract(epoch from '2026-07-22 08:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807576 -2.621031)'), GeomFromEWKT('SRID=4674;POINT (-39.807547 -2.621072)'))) / (select extract(epoch from '2026-07-22 08:37:30'::timestamp) - extract(epoch from '2026-07-22 08:37:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807539 -2.621081)', '2026-07-22 08:37:31', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807547 -2.621072)'), GeomFromEWKT('SRID=4674;POINT (-39.807539 -2.621081)'))) / (select extract(epoch from '2026-07-22 08:37:31'::timestamp) - extract(epoch from '2026-07-22 08:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807547 -2.621072)'), GeomFromEWKT('SRID=4674;POINT (-39.807539 -2.621081)'))) / (select extract(epoch from '2026-07-22 08:37:31'::timestamp) - extract(epoch from '2026-07-22 08:37: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'), 47870, 'SRID=4674;POINT (-39.807538 -2.621093)', '2026-07-22 08:37:32', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807539 -2.621081)'), GeomFromEWKT('SRID=4674;POINT (-39.807538 -2.621093)'))) / (select extract(epoch from '2026-07-22 08:37:32'::timestamp) - extract(epoch from '2026-07-22 08:37:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807539 -2.621081)'), GeomFromEWKT('SRID=4674;POINT (-39.807538 -2.621093)'))) / (select extract(epoch from '2026-07-22 08:37:32'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.807527 -2.621126)', '2026-07-22 08:37:35', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807538 -2.621093)'), GeomFromEWKT('SRID=4674;POINT (-39.807527 -2.621126)'))) / (select extract(epoch from '2026-07-22 08:37:35'::timestamp) - extract(epoch from '2026-07-22 08:37:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807538 -2.621093)'), GeomFromEWKT('SRID=4674;POINT (-39.807527 -2.621126)'))) / (select extract(epoch from '2026-07-22 08:37:35'::timestamp) - extract(epoch from '2026-07-22 08:37: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'), 47870, 'SRID=4674;POINT (-39.80749 -2.621181)', '2026-07-22 08:37:41', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807527 -2.621126)'), GeomFromEWKT('SRID=4674;POINT (-39.80749 -2.621181)'))) / (select extract(epoch from '2026-07-22 08:37:41'::timestamp) - extract(epoch from '2026-07-22 08:37:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807527 -2.621126)'), GeomFromEWKT('SRID=4674;POINT (-39.80749 -2.621181)'))) / (select extract(epoch from '2026-07-22 08:37:41'::timestamp) - extract(epoch from '2026-07-22 08:37: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'), 47870, 'SRID=4674;POINT (-39.807437 -2.621201)', '2026-07-22 08:37:46', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80749 -2.621181)'), GeomFromEWKT('SRID=4674;POINT (-39.807437 -2.621201)'))) / (select extract(epoch from '2026-07-22 08:37:46'::timestamp) - extract(epoch from '2026-07-22 08:37:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80749 -2.621181)'), GeomFromEWKT('SRID=4674;POINT (-39.807437 -2.621201)'))) / (select extract(epoch from '2026-07-22 08:37:46'::timestamp) - extract(epoch from '2026-07-22 08:37: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'), 47870, 'SRID=4674;POINT (-39.807377 -2.621216)', '2026-07-22 08:37:52', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807437 -2.621201)'), GeomFromEWKT('SRID=4674;POINT (-39.807377 -2.621216)'))) / (select extract(epoch from '2026-07-22 08:37:52'::timestamp) - extract(epoch from '2026-07-22 08:37:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807437 -2.621201)'), GeomFromEWKT('SRID=4674;POINT (-39.807377 -2.621216)'))) / (select extract(epoch from '2026-07-22 08:37:52'::timestamp) - extract(epoch from '2026-07-22 08:37:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807322 -2.621234)', '2026-07-22 08:37:58', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807377 -2.621216)'), GeomFromEWKT('SRID=4674;POINT (-39.807322 -2.621234)'))) / (select extract(epoch from '2026-07-22 08:37:58'::timestamp) - extract(epoch from '2026-07-22 08:37:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807377 -2.621216)'), GeomFromEWKT('SRID=4674;POINT (-39.807322 -2.621234)'))) / (select extract(epoch from '2026-07-22 08:37:58'::timestamp) - extract(epoch from '2026-07-22 08:37:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807314 -2.621236)', '2026-07-22 08:37:59', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807322 -2.621234)'), GeomFromEWKT('SRID=4674;POINT (-39.807314 -2.621236)'))) / (select extract(epoch from '2026-07-22 08:37:59'::timestamp) - extract(epoch from '2026-07-22 08:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807322 -2.621234)'), GeomFromEWKT('SRID=4674;POINT (-39.807314 -2.621236)'))) / (select extract(epoch from '2026-07-22 08:37:59'::timestamp) - extract(epoch from '2026-07-22 08:37: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'), 47870, 'SRID=4674;POINT (-39.807282 -2.621228)', '2026-07-22 08:38:04', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807314 -2.621236)'), GeomFromEWKT('SRID=4674;POINT (-39.807282 -2.621228)'))) / (select extract(epoch from '2026-07-22 08:38:04'::timestamp) - extract(epoch from '2026-07-22 08:37:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807314 -2.621236)'), GeomFromEWKT('SRID=4674;POINT (-39.807282 -2.621228)'))) / (select extract(epoch from '2026-07-22 08:38:04'::timestamp) - extract(epoch from '2026-07-22 08:37:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807269 -2.621209)', '2026-07-22 08:38:11', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807282 -2.621228)'), GeomFromEWKT('SRID=4674;POINT (-39.807269 -2.621209)'))) / (select extract(epoch from '2026-07-22 08:38:11'::timestamp) - extract(epoch from '2026-07-22 08:38:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807282 -2.621228)'), GeomFromEWKT('SRID=4674;POINT (-39.807269 -2.621209)'))) / (select extract(epoch from '2026-07-22 08:38:11'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.80728 -2.621179)', '2026-07-22 08:38:21', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807269 -2.621209)'), GeomFromEWKT('SRID=4674;POINT (-39.80728 -2.621179)'))) / (select extract(epoch from '2026-07-22 08:38:21'::timestamp) - extract(epoch from '2026-07-22 08:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807269 -2.621209)'), GeomFromEWKT('SRID=4674;POINT (-39.80728 -2.621179)'))) / (select extract(epoch from '2026-07-22 08:38:21'::timestamp) - extract(epoch from '2026-07-22 08:38:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807301 -2.62115)', '2026-07-22 08:38:28', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80728 -2.621179)'), GeomFromEWKT('SRID=4674;POINT (-39.807301 -2.62115)'))) / (select extract(epoch from '2026-07-22 08:38:28'::timestamp) - extract(epoch from '2026-07-22 08:38:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80728 -2.621179)'), GeomFromEWKT('SRID=4674;POINT (-39.807301 -2.62115)'))) / (select extract(epoch from '2026-07-22 08:38:28'::timestamp) - extract(epoch from '2026-07-22 08:38:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80735 -2.621099)', '2026-07-22 08:38:37', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807301 -2.62115)'), GeomFromEWKT('SRID=4674;POINT (-39.80735 -2.621099)'))) / (select extract(epoch from '2026-07-22 08:38:37'::timestamp) - extract(epoch from '2026-07-22 08:38:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807301 -2.62115)'), GeomFromEWKT('SRID=4674;POINT (-39.80735 -2.621099)'))) / (select extract(epoch from '2026-07-22 08:38:37'::timestamp) - extract(epoch from '2026-07-22 08:38:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807361 -2.621078)', '2026-07-22 08:38:45', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80735 -2.621099)'), GeomFromEWKT('SRID=4674;POINT (-39.807361 -2.621078)'))) / (select extract(epoch from '2026-07-22 08:38:45'::timestamp) - extract(epoch from '2026-07-22 08:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80735 -2.621099)'), GeomFromEWKT('SRID=4674;POINT (-39.807361 -2.621078)'))) / (select extract(epoch from '2026-07-22 08:38:45'::timestamp) - extract(epoch from '2026-07-22 08:38: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'), 47870, 'SRID=4674;POINT (-39.807379 -2.621056)', '2026-07-22 08:38:51', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807361 -2.621078)'), GeomFromEWKT('SRID=4674;POINT (-39.807379 -2.621056)'))) / (select extract(epoch from '2026-07-22 08:38:51'::timestamp) - extract(epoch from '2026-07-22 08:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807361 -2.621078)'), GeomFromEWKT('SRID=4674;POINT (-39.807379 -2.621056)'))) / (select extract(epoch from '2026-07-22 08:38:51'::timestamp) - extract(epoch from '2026-07-22 08:38:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807393 -2.621025)', '2026-07-22 08:38:59', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807379 -2.621056)'), GeomFromEWKT('SRID=4674;POINT (-39.807393 -2.621025)'))) / (select extract(epoch from '2026-07-22 08:38:59'::timestamp) - extract(epoch from '2026-07-22 08:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807379 -2.621056)'), GeomFromEWKT('SRID=4674;POINT (-39.807393 -2.621025)'))) / (select extract(epoch from '2026-07-22 08:38:59'::timestamp) - extract(epoch from '2026-07-22 08:38: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'), 47870, 'SRID=4674;POINT (-39.807416 -2.621015)', '2026-07-22 08:39:07', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807393 -2.621025)'), GeomFromEWKT('SRID=4674;POINT (-39.807416 -2.621015)'))) / (select extract(epoch from '2026-07-22 08:39:07'::timestamp) - extract(epoch from '2026-07-22 08:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807393 -2.621025)'), GeomFromEWKT('SRID=4674;POINT (-39.807416 -2.621015)'))) / (select extract(epoch from '2026-07-22 08:39:07'::timestamp) - extract(epoch from '2026-07-22 08:38: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'), 47870, 'SRID=4674;POINT (-39.807449 -2.620991)', '2026-07-22 08:39:19', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807416 -2.621015)'), GeomFromEWKT('SRID=4674;POINT (-39.807449 -2.620991)'))) / (select extract(epoch from '2026-07-22 08:39:19'::timestamp) - extract(epoch from '2026-07-22 08:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807416 -2.621015)'), GeomFromEWKT('SRID=4674;POINT (-39.807449 -2.620991)'))) / (select extract(epoch from '2026-07-22 08:39:19'::timestamp) - extract(epoch from '2026-07-22 08:39:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807466 -2.620985)', '2026-07-22 08:39:31', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807449 -2.620991)'), GeomFromEWKT('SRID=4674;POINT (-39.807466 -2.620985)'))) / (select extract(epoch from '2026-07-22 08:39:31'::timestamp) - extract(epoch from '2026-07-22 08:39:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807449 -2.620991)'), GeomFromEWKT('SRID=4674;POINT (-39.807466 -2.620985)'))) / (select extract(epoch from '2026-07-22 08:39:31'::timestamp) - extract(epoch from '2026-07-22 08:39:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807495 -2.620966)', '2026-07-22 08:39:38', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807466 -2.620985)'), GeomFromEWKT('SRID=4674;POINT (-39.807495 -2.620966)'))) / (select extract(epoch from '2026-07-22 08:39:38'::timestamp) - extract(epoch from '2026-07-22 08:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807466 -2.620985)'), GeomFromEWKT('SRID=4674;POINT (-39.807495 -2.620966)'))) / (select extract(epoch from '2026-07-22 08:39:38'::timestamp) - extract(epoch from '2026-07-22 08:39: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'), 47870, 'SRID=4674;POINT (-39.807544 -2.620952)', '2026-07-22 08:39:47', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807495 -2.620966)'), GeomFromEWKT('SRID=4674;POINT (-39.807544 -2.620952)'))) / (select extract(epoch from '2026-07-22 08:39:47'::timestamp) - extract(epoch from '2026-07-22 08:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807495 -2.620966)'), GeomFromEWKT('SRID=4674;POINT (-39.807544 -2.620952)'))) / (select extract(epoch from '2026-07-22 08:39:47'::timestamp) - extract(epoch from '2026-07-22 08:39:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807566 -2.620942)', '2026-07-22 08:39:54', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807544 -2.620952)'), GeomFromEWKT('SRID=4674;POINT (-39.807566 -2.620942)'))) / (select extract(epoch from '2026-07-22 08:39:54'::timestamp) - extract(epoch from '2026-07-22 08:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807544 -2.620952)'), GeomFromEWKT('SRID=4674;POINT (-39.807566 -2.620942)'))) / (select extract(epoch from '2026-07-22 08:39:54'::timestamp) - extract(epoch from '2026-07-22 08:39:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807565 -2.62093)', '2026-07-22 08:40:11', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807566 -2.620942)'), GeomFromEWKT('SRID=4674;POINT (-39.807565 -2.62093)'))) / (select extract(epoch from '2026-07-22 08:40:11'::timestamp) - extract(epoch from '2026-07-22 08:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807566 -2.620942)'), GeomFromEWKT('SRID=4674;POINT (-39.807565 -2.62093)'))) / (select extract(epoch from '2026-07-22 08:40:11'::timestamp) - extract(epoch from '2026-07-22 08:39:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80762 -2.620903)', '2026-07-22 08:40:37', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807565 -2.62093)'), GeomFromEWKT('SRID=4674;POINT (-39.80762 -2.620903)'))) / (select extract(epoch from '2026-07-22 08:40:37'::timestamp) - extract(epoch from '2026-07-22 08:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807565 -2.62093)'), GeomFromEWKT('SRID=4674;POINT (-39.80762 -2.620903)'))) / (select extract(epoch from '2026-07-22 08:40:37'::timestamp) - extract(epoch from '2026-07-22 08:40: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'), 47870, 'SRID=4674;POINT (-39.807636 -2.620864)', '2026-07-22 08:40:48', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80762 -2.620903)'), GeomFromEWKT('SRID=4674;POINT (-39.807636 -2.620864)'))) / (select extract(epoch from '2026-07-22 08:40:48'::timestamp) - extract(epoch from '2026-07-22 08:40:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80762 -2.620903)'), GeomFromEWKT('SRID=4674;POINT (-39.807636 -2.620864)'))) / (select extract(epoch from '2026-07-22 08:40:48'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.807635 -2.620856)', '2026-07-22 08:41:01', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807636 -2.620864)'), GeomFromEWKT('SRID=4674;POINT (-39.807635 -2.620856)'))) / (select extract(epoch from '2026-07-22 08:41:01'::timestamp) - extract(epoch from '2026-07-22 08:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807636 -2.620864)'), GeomFromEWKT('SRID=4674;POINT (-39.807635 -2.620856)'))) / (select extract(epoch from '2026-07-22 08:41:01'::timestamp) - extract(epoch from '2026-07-22 08:40:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807607 -2.620845)', '2026-07-22 08:41:17', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807635 -2.620856)'), GeomFromEWKT('SRID=4674;POINT (-39.807607 -2.620845)'))) / (select extract(epoch from '2026-07-22 08:41:17'::timestamp) - extract(epoch from '2026-07-22 08:41:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807635 -2.620856)'), GeomFromEWKT('SRID=4674;POINT (-39.807607 -2.620845)'))) / (select extract(epoch from '2026-07-22 08:41:17'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.80759 -2.620842)', '2026-07-22 08:41:35', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807607 -2.620845)'), GeomFromEWKT('SRID=4674;POINT (-39.80759 -2.620842)'))) / (select extract(epoch from '2026-07-22 08:41:35'::timestamp) - extract(epoch from '2026-07-22 08:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807607 -2.620845)'), GeomFromEWKT('SRID=4674;POINT (-39.80759 -2.620842)'))) / (select extract(epoch from '2026-07-22 08:41:35'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.807596 -2.620843)', '2026-07-22 08:42:12', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80759 -2.620842)'), GeomFromEWKT('SRID=4674;POINT (-39.807596 -2.620843)'))) / (select extract(epoch from '2026-07-22 08:42:12'::timestamp) - extract(epoch from '2026-07-22 08:41:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80759 -2.620842)'), GeomFromEWKT('SRID=4674;POINT (-39.807596 -2.620843)'))) / (select extract(epoch from '2026-07-22 08:42:12'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.807605 -2.620841)', '2026-07-22 08:42:19', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807596 -2.620843)'), GeomFromEWKT('SRID=4674;POINT (-39.807605 -2.620841)'))) / (select extract(epoch from '2026-07-22 08:42:19'::timestamp) - extract(epoch from '2026-07-22 08:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807596 -2.620843)'), GeomFromEWKT('SRID=4674;POINT (-39.807605 -2.620841)'))) / (select extract(epoch from '2026-07-22 08:42:19'::timestamp) - extract(epoch from '2026-07-22 08:42: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'), 47870, 'SRID=4674;POINT (-39.80761 -2.620838)', '2026-07-22 08:42:32', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807605 -2.620841)'), GeomFromEWKT('SRID=4674;POINT (-39.80761 -2.620838)'))) / (select extract(epoch from '2026-07-22 08:42:32'::timestamp) - extract(epoch from '2026-07-22 08:42:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807605 -2.620841)'), GeomFromEWKT('SRID=4674;POINT (-39.80761 -2.620838)'))) / (select extract(epoch from '2026-07-22 08:42:32'::timestamp) - extract(epoch from '2026-07-22 08:42:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807687 -2.620864)', '2026-07-22 08:43:23', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80761 -2.620838)'), GeomFromEWKT('SRID=4674;POINT (-39.807687 -2.620864)'))) / (select extract(epoch from '2026-07-22 08:43:23'::timestamp) - extract(epoch from '2026-07-22 08:42:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80761 -2.620838)'), GeomFromEWKT('SRID=4674;POINT (-39.807687 -2.620864)'))) / (select extract(epoch from '2026-07-22 08:43:23'::timestamp) - extract(epoch from '2026-07-22 08:42: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'), 47870, 'SRID=4674;POINT (-39.807733 -2.620856)', '2026-07-22 08:43:28', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807687 -2.620864)'), GeomFromEWKT('SRID=4674;POINT (-39.807733 -2.620856)'))) / (select extract(epoch from '2026-07-22 08:43:28'::timestamp) - extract(epoch from '2026-07-22 08:43:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807687 -2.620864)'), GeomFromEWKT('SRID=4674;POINT (-39.807733 -2.620856)'))) / (select extract(epoch from '2026-07-22 08:43:28'::timestamp) - extract(epoch from '2026-07-22 08:43: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'), 47870, 'SRID=4674;POINT (-39.807741 -2.620854)', '2026-07-22 08:43:29', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807733 -2.620856)'), GeomFromEWKT('SRID=4674;POINT (-39.807741 -2.620854)'))) / (select extract(epoch from '2026-07-22 08:43:29'::timestamp) - extract(epoch from '2026-07-22 08:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807733 -2.620856)'), GeomFromEWKT('SRID=4674;POINT (-39.807741 -2.620854)'))) / (select extract(epoch from '2026-07-22 08:43:29'::timestamp) - extract(epoch from '2026-07-22 08:43: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'), 47870, 'SRID=4674;POINT (-39.807772 -2.620855)', '2026-07-22 08:43:34', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807741 -2.620854)'), GeomFromEWKT('SRID=4674;POINT (-39.807772 -2.620855)'))) / (select extract(epoch from '2026-07-22 08:43:34'::timestamp) - extract(epoch from '2026-07-22 08:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807741 -2.620854)'), GeomFromEWKT('SRID=4674;POINT (-39.807772 -2.620855)'))) / (select extract(epoch from '2026-07-22 08:43:34'::timestamp) - extract(epoch from '2026-07-22 08:43:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80779 -2.620859)', '2026-07-22 08:43:36', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807772 -2.620855)'), GeomFromEWKT('SRID=4674;POINT (-39.80779 -2.620859)'))) / (select extract(epoch from '2026-07-22 08:43:36'::timestamp) - extract(epoch from '2026-07-22 08:43:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807772 -2.620855)'), GeomFromEWKT('SRID=4674;POINT (-39.80779 -2.620859)'))) / (select extract(epoch from '2026-07-22 08:43:36'::timestamp) - extract(epoch from '2026-07-22 08:43: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'), 47870, 'SRID=4674;POINT (-39.807823 -2.620811)', '2026-07-22 08:43:43', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80779 -2.620859)'), GeomFromEWKT('SRID=4674;POINT (-39.807823 -2.620811)'))) / (select extract(epoch from '2026-07-22 08:43:43'::timestamp) - extract(epoch from '2026-07-22 08:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80779 -2.620859)'), GeomFromEWKT('SRID=4674;POINT (-39.807823 -2.620811)'))) / (select extract(epoch from '2026-07-22 08:43:43'::timestamp) - extract(epoch from '2026-07-22 08:43:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807797 -2.620777)', '2026-07-22 08:43:52', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807823 -2.620811)'), GeomFromEWKT('SRID=4674;POINT (-39.807797 -2.620777)'))) / (select extract(epoch from '2026-07-22 08:43:52'::timestamp) - extract(epoch from '2026-07-22 08:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807823 -2.620811)'), GeomFromEWKT('SRID=4674;POINT (-39.807797 -2.620777)'))) / (select extract(epoch from '2026-07-22 08:43:52'::timestamp) - extract(epoch from '2026-07-22 08:43: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'), 47870, 'SRID=4674;POINT (-39.807767 -2.62078)', '2026-07-22 08:43:59', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807797 -2.620777)'), GeomFromEWKT('SRID=4674;POINT (-39.807767 -2.62078)'))) / (select extract(epoch from '2026-07-22 08:43:59'::timestamp) - extract(epoch from '2026-07-22 08:43:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807797 -2.620777)'), GeomFromEWKT('SRID=4674;POINT (-39.807767 -2.62078)'))) / (select extract(epoch from '2026-07-22 08:43:59'::timestamp) - extract(epoch from '2026-07-22 08:43: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'), 47870, 'SRID=4674;POINT (-39.80776 -2.620814)', '2026-07-22 08:44:03', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807767 -2.62078)'), GeomFromEWKT('SRID=4674;POINT (-39.80776 -2.620814)'))) / (select extract(epoch from '2026-07-22 08:44:03'::timestamp) - extract(epoch from '2026-07-22 08:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807767 -2.62078)'), GeomFromEWKT('SRID=4674;POINT (-39.80776 -2.620814)'))) / (select extract(epoch from '2026-07-22 08:44:03'::timestamp) - extract(epoch from '2026-07-22 08:43: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'), 47870, 'SRID=4674;POINT (-39.807757 -2.620834)', '2026-07-22 08:44:05', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80776 -2.620814)'), GeomFromEWKT('SRID=4674;POINT (-39.807757 -2.620834)'))) / (select extract(epoch from '2026-07-22 08:44:05'::timestamp) - extract(epoch from '2026-07-22 08:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80776 -2.620814)'), GeomFromEWKT('SRID=4674;POINT (-39.807757 -2.620834)'))) / (select extract(epoch from '2026-07-22 08:44:05'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.807728 -2.620922)', '2026-07-22 08:44:12', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807757 -2.620834)'), GeomFromEWKT('SRID=4674;POINT (-39.807728 -2.620922)'))) / (select extract(epoch from '2026-07-22 08:44:12'::timestamp) - extract(epoch from '2026-07-22 08:44:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807757 -2.620834)'), GeomFromEWKT('SRID=4674;POINT (-39.807728 -2.620922)'))) / (select extract(epoch from '2026-07-22 08:44:12'::timestamp) - extract(epoch from '2026-07-22 08:44: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'), 47870, 'SRID=4674;POINT (-39.807721 -2.620936)', '2026-07-22 08:44:13', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807728 -2.620922)'), GeomFromEWKT('SRID=4674;POINT (-39.807721 -2.620936)'))) / (select extract(epoch from '2026-07-22 08:44:13'::timestamp) - extract(epoch from '2026-07-22 08:44:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807728 -2.620922)'), GeomFromEWKT('SRID=4674;POINT (-39.807721 -2.620936)'))) / (select extract(epoch from '2026-07-22 08:44:13'::timestamp) - extract(epoch from '2026-07-22 08:44: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'), 47870, 'SRID=4674;POINT (-39.80769 -2.621004)', '2026-07-22 08:44:18', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807721 -2.620936)'), GeomFromEWKT('SRID=4674;POINT (-39.80769 -2.621004)'))) / (select extract(epoch from '2026-07-22 08:44:18'::timestamp) - extract(epoch from '2026-07-22 08:44:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807721 -2.620936)'), GeomFromEWKT('SRID=4674;POINT (-39.80769 -2.621004)'))) / (select extract(epoch from '2026-07-22 08:44:18'::timestamp) - extract(epoch from '2026-07-22 08:44: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'), 47870, 'SRID=4674;POINT (-39.807682 -2.621042)', '2026-07-22 08:44:21', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80769 -2.621004)'), GeomFromEWKT('SRID=4674;POINT (-39.807682 -2.621042)'))) / (select extract(epoch from '2026-07-22 08:44:21'::timestamp) - extract(epoch from '2026-07-22 08:44:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80769 -2.621004)'), GeomFromEWKT('SRID=4674;POINT (-39.807682 -2.621042)'))) / (select extract(epoch from '2026-07-22 08:44:21'::timestamp) - extract(epoch from '2026-07-22 08:44: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'), 47870, 'SRID=4674;POINT (-39.807673 -2.621062)', '2026-07-22 08:44:23', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807682 -2.621042)'), GeomFromEWKT('SRID=4674;POINT (-39.807673 -2.621062)'))) / (select extract(epoch from '2026-07-22 08:44:23'::timestamp) - extract(epoch from '2026-07-22 08:44:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807682 -2.621042)'), GeomFromEWKT('SRID=4674;POINT (-39.807673 -2.621062)'))) / (select extract(epoch from '2026-07-22 08:44:23'::timestamp) - extract(epoch from '2026-07-22 08:44: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'), 47870, 'SRID=4674;POINT (-39.807659 -2.621113)', '2026-07-22 08:44:27', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807673 -2.621062)'), GeomFromEWKT('SRID=4674;POINT (-39.807659 -2.621113)'))) / (select extract(epoch from '2026-07-22 08:44:27'::timestamp) - extract(epoch from '2026-07-22 08:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807673 -2.621062)'), GeomFromEWKT('SRID=4674;POINT (-39.807659 -2.621113)'))) / (select extract(epoch from '2026-07-22 08:44:27'::timestamp) - extract(epoch from '2026-07-22 08:44:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80765 -2.621145)', '2026-07-22 08:44:29', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807659 -2.621113)'), GeomFromEWKT('SRID=4674;POINT (-39.80765 -2.621145)'))) / (select extract(epoch from '2026-07-22 08:44:29'::timestamp) - extract(epoch from '2026-07-22 08:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807659 -2.621113)'), GeomFromEWKT('SRID=4674;POINT (-39.80765 -2.621145)'))) / (select extract(epoch from '2026-07-22 08:44:29'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.807618 -2.621256)', '2026-07-22 08:44:36', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80765 -2.621145)'), GeomFromEWKT('SRID=4674;POINT (-39.807618 -2.621256)'))) / (select extract(epoch from '2026-07-22 08:44:36'::timestamp) - extract(epoch from '2026-07-22 08:44:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80765 -2.621145)'), GeomFromEWKT('SRID=4674;POINT (-39.807618 -2.621256)'))) / (select extract(epoch from '2026-07-22 08:44:36'::timestamp) - extract(epoch from '2026-07-22 08:44: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'), 47870, 'SRID=4674;POINT (-39.807591 -2.621388)', '2026-07-22 08:44:44', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807618 -2.621256)'), GeomFromEWKT('SRID=4674;POINT (-39.807591 -2.621388)'))) / (select extract(epoch from '2026-07-22 08:44:44'::timestamp) - extract(epoch from '2026-07-22 08:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807618 -2.621256)'), GeomFromEWKT('SRID=4674;POINT (-39.807591 -2.621388)'))) / (select extract(epoch from '2026-07-22 08:44:44'::timestamp) - extract(epoch from '2026-07-22 08:44: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'), 47870, 'SRID=4674;POINT (-39.807588 -2.621489)', '2026-07-22 08:44:49', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807591 -2.621388)'), GeomFromEWKT('SRID=4674;POINT (-39.807588 -2.621489)'))) / (select extract(epoch from '2026-07-22 08:44:49'::timestamp) - extract(epoch from '2026-07-22 08:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807591 -2.621388)'), GeomFromEWKT('SRID=4674;POINT (-39.807588 -2.621489)'))) / (select extract(epoch from '2026-07-22 08:44:49'::timestamp) - extract(epoch from '2026-07-22 08:44: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'), 47870, 'SRID=4674;POINT (-39.807616 -2.621567)', '2026-07-22 08:44:54', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807588 -2.621489)'), GeomFromEWKT('SRID=4674;POINT (-39.807616 -2.621567)'))) / (select extract(epoch from '2026-07-22 08:44:54'::timestamp) - extract(epoch from '2026-07-22 08:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807588 -2.621489)'), GeomFromEWKT('SRID=4674;POINT (-39.807616 -2.621567)'))) / (select extract(epoch from '2026-07-22 08:44:54'::timestamp) - extract(epoch from '2026-07-22 08:44:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807616 -2.621582)', '2026-07-22 08:44:55', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807616 -2.621567)'), GeomFromEWKT('SRID=4674;POINT (-39.807616 -2.621582)'))) / (select extract(epoch from '2026-07-22 08:44:55'::timestamp) - extract(epoch from '2026-07-22 08:44:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807616 -2.621567)'), GeomFromEWKT('SRID=4674;POINT (-39.807616 -2.621582)'))) / (select extract(epoch from '2026-07-22 08:44:55'::timestamp) - extract(epoch from '2026-07-22 08:44: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'), 47870, 'SRID=4674;POINT (-39.807606 -2.621629)', '2026-07-22 08:44:58', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807616 -2.621582)'), GeomFromEWKT('SRID=4674;POINT (-39.807606 -2.621629)'))) / (select extract(epoch from '2026-07-22 08:44:58'::timestamp) - extract(epoch from '2026-07-22 08:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807616 -2.621582)'), GeomFromEWKT('SRID=4674;POINT (-39.807606 -2.621629)'))) / (select extract(epoch from '2026-07-22 08:44:58'::timestamp) - extract(epoch from '2026-07-22 08:44: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'), 47870, 'SRID=4674;POINT (-39.807587 -2.621661)', '2026-07-22 08:45:03', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807606 -2.621629)'), GeomFromEWKT('SRID=4674;POINT (-39.807587 -2.621661)'))) / (select extract(epoch from '2026-07-22 08:45:03'::timestamp) - extract(epoch from '2026-07-22 08:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807606 -2.621629)'), GeomFromEWKT('SRID=4674;POINT (-39.807587 -2.621661)'))) / (select extract(epoch from '2026-07-22 08:45:03'::timestamp) - extract(epoch from '2026-07-22 08:44:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807557 -2.621712)', '2026-07-22 08:45:10', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807587 -2.621661)'), GeomFromEWKT('SRID=4674;POINT (-39.807557 -2.621712)'))) / (select extract(epoch from '2026-07-22 08:45:10'::timestamp) - extract(epoch from '2026-07-22 08:45:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807587 -2.621661)'), GeomFromEWKT('SRID=4674;POINT (-39.807557 -2.621712)'))) / (select extract(epoch from '2026-07-22 08:45:10'::timestamp) - extract(epoch from '2026-07-22 08:45: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'), 47870, 'SRID=4674;POINT (-39.807546 -2.621733)', '2026-07-22 08:45:12', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807557 -2.621712)'), GeomFromEWKT('SRID=4674;POINT (-39.807546 -2.621733)'))) / (select extract(epoch from '2026-07-22 08:45:12'::timestamp) - extract(epoch from '2026-07-22 08:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807557 -2.621712)'), GeomFromEWKT('SRID=4674;POINT (-39.807546 -2.621733)'))) / (select extract(epoch from '2026-07-22 08:45:12'::timestamp) - extract(epoch from '2026-07-22 08:45:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807531 -2.621775)', '2026-07-22 08:45:15', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807546 -2.621733)'), GeomFromEWKT('SRID=4674;POINT (-39.807531 -2.621775)'))) / (select extract(epoch from '2026-07-22 08:45:15'::timestamp) - extract(epoch from '2026-07-22 08:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807546 -2.621733)'), GeomFromEWKT('SRID=4674;POINT (-39.807531 -2.621775)'))) / (select extract(epoch from '2026-07-22 08:45:15'::timestamp) - extract(epoch from '2026-07-22 08:45:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807491 -2.62187)', '2026-07-22 08:45:21', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807531 -2.621775)'), GeomFromEWKT('SRID=4674;POINT (-39.807491 -2.62187)'))) / (select extract(epoch from '2026-07-22 08:45:21'::timestamp) - extract(epoch from '2026-07-22 08:45:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807531 -2.621775)'), GeomFromEWKT('SRID=4674;POINT (-39.807491 -2.62187)'))) / (select extract(epoch from '2026-07-22 08:45:21'::timestamp) - extract(epoch from '2026-07-22 08:45:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807443 -2.621923)', '2026-07-22 08:45:27', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807491 -2.62187)'), GeomFromEWKT('SRID=4674;POINT (-39.807443 -2.621923)'))) / (select extract(epoch from '2026-07-22 08:45:27'::timestamp) - extract(epoch from '2026-07-22 08:45:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807491 -2.62187)'), GeomFromEWKT('SRID=4674;POINT (-39.807443 -2.621923)'))) / (select extract(epoch from '2026-07-22 08:45:27'::timestamp) - extract(epoch from '2026-07-22 08:45:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807389 -2.622006)', '2026-07-22 08:45:33', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807443 -2.621923)'), GeomFromEWKT('SRID=4674;POINT (-39.807389 -2.622006)'))) / (select extract(epoch from '2026-07-22 08:45:33'::timestamp) - extract(epoch from '2026-07-22 08:45:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807443 -2.621923)'), GeomFromEWKT('SRID=4674;POINT (-39.807389 -2.622006)'))) / (select extract(epoch from '2026-07-22 08:45:33'::timestamp) - extract(epoch from '2026-07-22 08:45:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807348 -2.622084)', '2026-07-22 08:45:38', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807389 -2.622006)'), GeomFromEWKT('SRID=4674;POINT (-39.807348 -2.622084)'))) / (select extract(epoch from '2026-07-22 08:45:38'::timestamp) - extract(epoch from '2026-07-22 08:45:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807389 -2.622006)'), GeomFromEWKT('SRID=4674;POINT (-39.807348 -2.622084)'))) / (select extract(epoch from '2026-07-22 08:45:38'::timestamp) - extract(epoch from '2026-07-22 08:45:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807315 -2.62217)', '2026-07-22 08:45:43', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807348 -2.622084)'), GeomFromEWKT('SRID=4674;POINT (-39.807315 -2.62217)'))) / (select extract(epoch from '2026-07-22 08:45:43'::timestamp) - extract(epoch from '2026-07-22 08:45:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807348 -2.622084)'), GeomFromEWKT('SRID=4674;POINT (-39.807315 -2.62217)'))) / (select extract(epoch from '2026-07-22 08:45:43'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.807231 -2.622283)', '2026-07-22 08:45:51', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807315 -2.62217)'), GeomFromEWKT('SRID=4674;POINT (-39.807231 -2.622283)'))) / (select extract(epoch from '2026-07-22 08:45:51'::timestamp) - extract(epoch from '2026-07-22 08:45:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807315 -2.62217)'), GeomFromEWKT('SRID=4674;POINT (-39.807231 -2.622283)'))) / (select extract(epoch from '2026-07-22 08:45:51'::timestamp) - extract(epoch from '2026-07-22 08:45:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807189 -2.622312)', '2026-07-22 08:45:56', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807231 -2.622283)'), GeomFromEWKT('SRID=4674;POINT (-39.807189 -2.622312)'))) / (select extract(epoch from '2026-07-22 08:45:56'::timestamp) - extract(epoch from '2026-07-22 08:45:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807231 -2.622283)'), GeomFromEWKT('SRID=4674;POINT (-39.807189 -2.622312)'))) / (select extract(epoch from '2026-07-22 08:45:56'::timestamp) - extract(epoch from '2026-07-22 08:45: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'), 47870, 'SRID=4674;POINT (-39.807179 -2.62232)', '2026-07-22 08:45:58', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807189 -2.622312)'), GeomFromEWKT('SRID=4674;POINT (-39.807179 -2.62232)'))) / (select extract(epoch from '2026-07-22 08:45:58'::timestamp) - extract(epoch from '2026-07-22 08:45:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807189 -2.622312)'), GeomFromEWKT('SRID=4674;POINT (-39.807179 -2.62232)'))) / (select extract(epoch from '2026-07-22 08:45:58'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.807163 -2.622335)', '2026-07-22 08:46:01', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807179 -2.62232)'), GeomFromEWKT('SRID=4674;POINT (-39.807163 -2.622335)'))) / (select extract(epoch from '2026-07-22 08:46:01'::timestamp) - extract(epoch from '2026-07-22 08:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807179 -2.62232)'), GeomFromEWKT('SRID=4674;POINT (-39.807163 -2.622335)'))) / (select extract(epoch from '2026-07-22 08:46:01'::timestamp) - extract(epoch from '2026-07-22 08:45: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'), 47870, 'SRID=4674;POINT (-39.807164 -2.622379)', '2026-07-22 08:46:11', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807163 -2.622335)'), GeomFromEWKT('SRID=4674;POINT (-39.807164 -2.622379)'))) / (select extract(epoch from '2026-07-22 08:46:11'::timestamp) - extract(epoch from '2026-07-22 08:46:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807163 -2.622335)'), GeomFromEWKT('SRID=4674;POINT (-39.807164 -2.622379)'))) / (select extract(epoch from '2026-07-22 08:46:11'::timestamp) - extract(epoch from '2026-07-22 08:46: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'), 47870, 'SRID=4674;POINT (-39.807143 -2.622417)', '2026-07-22 08:46:20', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807164 -2.622379)'), GeomFromEWKT('SRID=4674;POINT (-39.807143 -2.622417)'))) / (select extract(epoch from '2026-07-22 08:46:20'::timestamp) - extract(epoch from '2026-07-22 08:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807164 -2.622379)'), GeomFromEWKT('SRID=4674;POINT (-39.807143 -2.622417)'))) / (select extract(epoch from '2026-07-22 08:46:20'::timestamp) - extract(epoch from '2026-07-22 08:46: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'), 47870, 'SRID=4674;POINT (-39.807092 -2.622372)', '2026-07-22 08:46:28', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807143 -2.622417)'), GeomFromEWKT('SRID=4674;POINT (-39.807092 -2.622372)'))) / (select extract(epoch from '2026-07-22 08:46:28'::timestamp) - extract(epoch from '2026-07-22 08:46:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807143 -2.622417)'), GeomFromEWKT('SRID=4674;POINT (-39.807092 -2.622372)'))) / (select extract(epoch from '2026-07-22 08:46:28'::timestamp) - extract(epoch from '2026-07-22 08:46:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807081 -2.622354)', '2026-07-22 08:46:30', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807092 -2.622372)'), GeomFromEWKT('SRID=4674;POINT (-39.807081 -2.622354)'))) / (select extract(epoch from '2026-07-22 08:46:30'::timestamp) - extract(epoch from '2026-07-22 08:46:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807092 -2.622372)'), GeomFromEWKT('SRID=4674;POINT (-39.807081 -2.622354)'))) / (select extract(epoch from '2026-07-22 08:46:30'::timestamp) - extract(epoch from '2026-07-22 08:46: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'), 47870, 'SRID=4674;POINT (-39.807058 -2.622318)', '2026-07-22 08:46:33', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807081 -2.622354)'), GeomFromEWKT('SRID=4674;POINT (-39.807058 -2.622318)'))) / (select extract(epoch from '2026-07-22 08:46:33'::timestamp) - extract(epoch from '2026-07-22 08:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807081 -2.622354)'), GeomFromEWKT('SRID=4674;POINT (-39.807058 -2.622318)'))) / (select extract(epoch from '2026-07-22 08:46:33'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.807048 -2.622309)', '2026-07-22 08:46:34', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807058 -2.622318)'), GeomFromEWKT('SRID=4674;POINT (-39.807048 -2.622309)'))) / (select extract(epoch from '2026-07-22 08:46:34'::timestamp) - extract(epoch from '2026-07-22 08:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807058 -2.622318)'), GeomFromEWKT('SRID=4674;POINT (-39.807048 -2.622309)'))) / (select extract(epoch from '2026-07-22 08:46:34'::timestamp) - extract(epoch from '2026-07-22 08:46: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'), 47870, 'SRID=4674;POINT (-39.807029 -2.622281)', '2026-07-22 08:46:38', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807048 -2.622309)'), GeomFromEWKT('SRID=4674;POINT (-39.807029 -2.622281)'))) / (select extract(epoch from '2026-07-22 08:46:38'::timestamp) - extract(epoch from '2026-07-22 08:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807048 -2.622309)'), GeomFromEWKT('SRID=4674;POINT (-39.807029 -2.622281)'))) / (select extract(epoch from '2026-07-22 08:46:38'::timestamp) - extract(epoch from '2026-07-22 08:46: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'), 47870, 'SRID=4674;POINT (-39.807054 -2.622256)', '2026-07-22 08:46:54', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807029 -2.622281)'), GeomFromEWKT('SRID=4674;POINT (-39.807054 -2.622256)'))) / (select extract(epoch from '2026-07-22 08:46:54'::timestamp) - extract(epoch from '2026-07-22 08:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807029 -2.622281)'), GeomFromEWKT('SRID=4674;POINT (-39.807054 -2.622256)'))) / (select extract(epoch from '2026-07-22 08:46:54'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.807094 -2.622234)', '2026-07-22 08:47:03', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807054 -2.622256)'), GeomFromEWKT('SRID=4674;POINT (-39.807094 -2.622234)'))) / (select extract(epoch from '2026-07-22 08:47:03'::timestamp) - extract(epoch from '2026-07-22 08:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807054 -2.622256)'), GeomFromEWKT('SRID=4674;POINT (-39.807094 -2.622234)'))) / (select extract(epoch from '2026-07-22 08:47:03'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.807132 -2.622217)', '2026-07-22 08:47:12', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807094 -2.622234)'), GeomFromEWKT('SRID=4674;POINT (-39.807132 -2.622217)'))) / (select extract(epoch from '2026-07-22 08:47:12'::timestamp) - extract(epoch from '2026-07-22 08:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807094 -2.622234)'), GeomFromEWKT('SRID=4674;POINT (-39.807132 -2.622217)'))) / (select extract(epoch from '2026-07-22 08:47:12'::timestamp) - extract(epoch from '2026-07-22 08:47:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807221 -2.622179)', '2026-07-22 08:47:25', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807132 -2.622217)'), GeomFromEWKT('SRID=4674;POINT (-39.807221 -2.622179)'))) / (select extract(epoch from '2026-07-22 08:47:25'::timestamp) - extract(epoch from '2026-07-22 08:47:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807132 -2.622217)'), GeomFromEWKT('SRID=4674;POINT (-39.807221 -2.622179)'))) / (select extract(epoch from '2026-07-22 08:47:25'::timestamp) - extract(epoch from '2026-07-22 08:47:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807286 -2.62215)', '2026-07-22 08:47:36', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807221 -2.622179)'), GeomFromEWKT('SRID=4674;POINT (-39.807286 -2.62215)'))) / (select extract(epoch from '2026-07-22 08:47:36'::timestamp) - extract(epoch from '2026-07-22 08:47:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807221 -2.622179)'), GeomFromEWKT('SRID=4674;POINT (-39.807286 -2.62215)'))) / (select extract(epoch from '2026-07-22 08:47:36'::timestamp) - extract(epoch from '2026-07-22 08:47: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'), 47870, 'SRID=4674;POINT (-39.807324 -2.622133)', '2026-07-22 08:47:41', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807286 -2.62215)'), GeomFromEWKT('SRID=4674;POINT (-39.807324 -2.622133)'))) / (select extract(epoch from '2026-07-22 08:47:41'::timestamp) - extract(epoch from '2026-07-22 08:47:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807286 -2.62215)'), GeomFromEWKT('SRID=4674;POINT (-39.807324 -2.622133)'))) / (select extract(epoch from '2026-07-22 08:47:41'::timestamp) - extract(epoch from '2026-07-22 08:47: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'), 47870, 'SRID=4674;POINT (-39.807353 -2.622129)', '2026-07-22 08:47:44', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807324 -2.622133)'), GeomFromEWKT('SRID=4674;POINT (-39.807353 -2.622129)'))) / (select extract(epoch from '2026-07-22 08:47:44'::timestamp) - extract(epoch from '2026-07-22 08:47:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807324 -2.622133)'), GeomFromEWKT('SRID=4674;POINT (-39.807353 -2.622129)'))) / (select extract(epoch from '2026-07-22 08:47:44'::timestamp) - extract(epoch from '2026-07-22 08:47: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'), 47870, 'SRID=4674;POINT (-39.80741 -2.622108)', '2026-07-22 08:47:51', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807353 -2.622129)'), GeomFromEWKT('SRID=4674;POINT (-39.80741 -2.622108)'))) / (select extract(epoch from '2026-07-22 08:47:51'::timestamp) - extract(epoch from '2026-07-22 08:47:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807353 -2.622129)'), GeomFromEWKT('SRID=4674;POINT (-39.80741 -2.622108)'))) / (select extract(epoch from '2026-07-22 08:47:51'::timestamp) - extract(epoch from '2026-07-22 08:47: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'), 47870, 'SRID=4674;POINT (-39.807426 -2.622076)', '2026-07-22 08:48:00', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80741 -2.622108)'), GeomFromEWKT('SRID=4674;POINT (-39.807426 -2.622076)'))) / (select extract(epoch from '2026-07-22 08:48:00'::timestamp) - extract(epoch from '2026-07-22 08:47:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80741 -2.622108)'), GeomFromEWKT('SRID=4674;POINT (-39.807426 -2.622076)'))) / (select extract(epoch from '2026-07-22 08:48:00'::timestamp) - extract(epoch from '2026-07-22 08:47:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807419 -2.62206)', '2026-07-22 08:48:08', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807426 -2.622076)'), GeomFromEWKT('SRID=4674;POINT (-39.807419 -2.62206)'))) / (select extract(epoch from '2026-07-22 08:48:08'::timestamp) - extract(epoch from '2026-07-22 08:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807426 -2.622076)'), GeomFromEWKT('SRID=4674;POINT (-39.807419 -2.62206)'))) / (select extract(epoch from '2026-07-22 08:48:08'::timestamp) - extract(epoch from '2026-07-22 08:48: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'), 47870, 'SRID=4674;POINT (-39.80742 -2.622051)', '2026-07-22 08:48:15', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807419 -2.62206)'), GeomFromEWKT('SRID=4674;POINT (-39.80742 -2.622051)'))) / (select extract(epoch from '2026-07-22 08:48:15'::timestamp) - extract(epoch from '2026-07-22 08:48:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807419 -2.62206)'), GeomFromEWKT('SRID=4674;POINT (-39.80742 -2.622051)'))) / (select extract(epoch from '2026-07-22 08:48:15'::timestamp) - extract(epoch from '2026-07-22 08:48:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807432 -2.62205)', '2026-07-22 08:48:16', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80742 -2.622051)'), GeomFromEWKT('SRID=4674;POINT (-39.807432 -2.62205)'))) / (select extract(epoch from '2026-07-22 08:48:16'::timestamp) - extract(epoch from '2026-07-22 08:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80742 -2.622051)'), GeomFromEWKT('SRID=4674;POINT (-39.807432 -2.62205)'))) / (select extract(epoch from '2026-07-22 08:48:16'::timestamp) - extract(epoch from '2026-07-22 08:48: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'), 47870, 'SRID=4674;POINT (-39.807448 -2.622042)', '2026-07-22 08:48:19', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807432 -2.62205)'), GeomFromEWKT('SRID=4674;POINT (-39.807448 -2.622042)'))) / (select extract(epoch from '2026-07-22 08:48:19'::timestamp) - extract(epoch from '2026-07-22 08:48:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807432 -2.62205)'), GeomFromEWKT('SRID=4674;POINT (-39.807448 -2.622042)'))) / (select extract(epoch from '2026-07-22 08:48:19'::timestamp) - extract(epoch from '2026-07-22 08:48:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807477 -2.622021)', '2026-07-22 08:48:26', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807448 -2.622042)'), GeomFromEWKT('SRID=4674;POINT (-39.807477 -2.622021)'))) / (select extract(epoch from '2026-07-22 08:48:26'::timestamp) - extract(epoch from '2026-07-22 08:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807448 -2.622042)'), GeomFromEWKT('SRID=4674;POINT (-39.807477 -2.622021)'))) / (select extract(epoch from '2026-07-22 08:48:26'::timestamp) - extract(epoch from '2026-07-22 08:48: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'), 47870, 'SRID=4674;POINT (-39.807498 -2.621987)', '2026-07-22 08:48:35', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807477 -2.622021)'), GeomFromEWKT('SRID=4674;POINT (-39.807498 -2.621987)'))) / (select extract(epoch from '2026-07-22 08:48:35'::timestamp) - extract(epoch from '2026-07-22 08:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807477 -2.622021)'), GeomFromEWKT('SRID=4674;POINT (-39.807498 -2.621987)'))) / (select extract(epoch from '2026-07-22 08:48:35'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.807465 -2.621921)', '2026-07-22 08:48:46', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807498 -2.621987)'), GeomFromEWKT('SRID=4674;POINT (-39.807465 -2.621921)'))) / (select extract(epoch from '2026-07-22 08:48:46'::timestamp) - extract(epoch from '2026-07-22 08:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807498 -2.621987)'), GeomFromEWKT('SRID=4674;POINT (-39.807465 -2.621921)'))) / (select extract(epoch from '2026-07-22 08:48:46'::timestamp) - extract(epoch from '2026-07-22 08:48: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'), 47870, 'SRID=4674;POINT (-39.80746 -2.621913)', '2026-07-22 08:48:56', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807465 -2.621921)'), GeomFromEWKT('SRID=4674;POINT (-39.80746 -2.621913)'))) / (select extract(epoch from '2026-07-22 08:48:56'::timestamp) - extract(epoch from '2026-07-22 08:48:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807465 -2.621921)'), GeomFromEWKT('SRID=4674;POINT (-39.80746 -2.621913)'))) / (select extract(epoch from '2026-07-22 08:48:56'::timestamp) - extract(epoch from '2026-07-22 08:48: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'), 47870, 'SRID=4674;POINT (-39.807474 -2.62192)', '2026-07-22 08:49:05', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80746 -2.621913)'), GeomFromEWKT('SRID=4674;POINT (-39.807474 -2.62192)'))) / (select extract(epoch from '2026-07-22 08:49:05'::timestamp) - extract(epoch from '2026-07-22 08:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80746 -2.621913)'), GeomFromEWKT('SRID=4674;POINT (-39.807474 -2.62192)'))) / (select extract(epoch from '2026-07-22 08:49:05'::timestamp) - extract(epoch from '2026-07-22 08:48: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'), 47870, 'SRID=4674;POINT (-39.807459 -2.621929)', '2026-07-22 08:49:09', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807474 -2.62192)'), GeomFromEWKT('SRID=4674;POINT (-39.807459 -2.621929)'))) / (select extract(epoch from '2026-07-22 08:49:09'::timestamp) - extract(epoch from '2026-07-22 08:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807474 -2.62192)'), GeomFromEWKT('SRID=4674;POINT (-39.807459 -2.621929)'))) / (select extract(epoch from '2026-07-22 08:49:09'::timestamp) - extract(epoch from '2026-07-22 08:49: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'), 47870, 'SRID=4674;POINT (-39.807446 -2.621943)', '2026-07-22 08:49:16', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807459 -2.621929)'), GeomFromEWKT('SRID=4674;POINT (-39.807446 -2.621943)'))) / (select extract(epoch from '2026-07-22 08:49:16'::timestamp) - extract(epoch from '2026-07-22 08:49:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807459 -2.621929)'), GeomFromEWKT('SRID=4674;POINT (-39.807446 -2.621943)'))) / (select extract(epoch from '2026-07-22 08:49:16'::timestamp) - extract(epoch from '2026-07-22 08:49:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80737 -2.62195)', '2026-07-22 08:49:28', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807446 -2.621943)'), GeomFromEWKT('SRID=4674;POINT (-39.80737 -2.62195)'))) / (select extract(epoch from '2026-07-22 08:49:28'::timestamp) - extract(epoch from '2026-07-22 08:49:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807446 -2.621943)'), GeomFromEWKT('SRID=4674;POINT (-39.80737 -2.62195)'))) / (select extract(epoch from '2026-07-22 08:49:28'::timestamp) - extract(epoch from '2026-07-22 08:49: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'), 47870, 'SRID=4674;POINT (-39.807362 -2.621922)', '2026-07-22 08:49:38', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80737 -2.62195)'), GeomFromEWKT('SRID=4674;POINT (-39.807362 -2.621922)'))) / (select extract(epoch from '2026-07-22 08:49:38'::timestamp) - extract(epoch from '2026-07-22 08:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80737 -2.62195)'), GeomFromEWKT('SRID=4674;POINT (-39.807362 -2.621922)'))) / (select extract(epoch from '2026-07-22 08:49:38'::timestamp) - extract(epoch from '2026-07-22 08:49: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'), 47870, 'SRID=4674;POINT (-39.807371 -2.621914)', '2026-07-22 08:49:51', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807362 -2.621922)'), GeomFromEWKT('SRID=4674;POINT (-39.807371 -2.621914)'))) / (select extract(epoch from '2026-07-22 08:49:51'::timestamp) - extract(epoch from '2026-07-22 08:49:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807362 -2.621922)'), GeomFromEWKT('SRID=4674;POINT (-39.807371 -2.621914)'))) / (select extract(epoch from '2026-07-22 08:49:51'::timestamp) - extract(epoch from '2026-07-22 08:49: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'), 47870, 'SRID=4674;POINT (-39.807398 -2.621879)', '2026-07-22 08:49:58', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807371 -2.621914)'), GeomFromEWKT('SRID=4674;POINT (-39.807398 -2.621879)'))) / (select extract(epoch from '2026-07-22 08:49:58'::timestamp) - extract(epoch from '2026-07-22 08:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807371 -2.621914)'), GeomFromEWKT('SRID=4674;POINT (-39.807398 -2.621879)'))) / (select extract(epoch from '2026-07-22 08:49:58'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.807409 -2.621872)', '2026-07-22 08:50:00', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807398 -2.621879)'), GeomFromEWKT('SRID=4674;POINT (-39.807409 -2.621872)'))) / (select extract(epoch from '2026-07-22 08:50:00'::timestamp) - extract(epoch from '2026-07-22 08:49:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807398 -2.621879)'), GeomFromEWKT('SRID=4674;POINT (-39.807409 -2.621872)'))) / (select extract(epoch from '2026-07-22 08:50:00'::timestamp) - extract(epoch from '2026-07-22 08:49: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'), 47870, 'SRID=4674;POINT (-39.807456 -2.621827)', '2026-07-22 08:50:10', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807409 -2.621872)'), GeomFromEWKT('SRID=4674;POINT (-39.807456 -2.621827)'))) / (select extract(epoch from '2026-07-22 08:50:10'::timestamp) - extract(epoch from '2026-07-22 08:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807409 -2.621872)'), GeomFromEWKT('SRID=4674;POINT (-39.807456 -2.621827)'))) / (select extract(epoch from '2026-07-22 08:50:10'::timestamp) - extract(epoch from '2026-07-22 08:50:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807439 -2.621787)', '2026-07-22 08:50:19', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807456 -2.621827)'), GeomFromEWKT('SRID=4674;POINT (-39.807439 -2.621787)'))) / (select extract(epoch from '2026-07-22 08:50:19'::timestamp) - extract(epoch from '2026-07-22 08:50:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807456 -2.621827)'), GeomFromEWKT('SRID=4674;POINT (-39.807439 -2.621787)'))) / (select extract(epoch from '2026-07-22 08:50:19'::timestamp) - extract(epoch from '2026-07-22 08:50: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'), 47870, 'SRID=4674;POINT (-39.807399 -2.621774)', '2026-07-22 08:50:25', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807439 -2.621787)'), GeomFromEWKT('SRID=4674;POINT (-39.807399 -2.621774)'))) / (select extract(epoch from '2026-07-22 08:50:25'::timestamp) - extract(epoch from '2026-07-22 08:50:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807439 -2.621787)'), GeomFromEWKT('SRID=4674;POINT (-39.807399 -2.621774)'))) / (select extract(epoch from '2026-07-22 08:50:25'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.807358 -2.621799)', '2026-07-22 08:50:32', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807399 -2.621774)'), GeomFromEWKT('SRID=4674;POINT (-39.807358 -2.621799)'))) / (select extract(epoch from '2026-07-22 08:50:32'::timestamp) - extract(epoch from '2026-07-22 08:50:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807399 -2.621774)'), GeomFromEWKT('SRID=4674;POINT (-39.807358 -2.621799)'))) / (select extract(epoch from '2026-07-22 08:50:32'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.807353 -2.621807)', '2026-07-22 08:50:33', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807358 -2.621799)'), GeomFromEWKT('SRID=4674;POINT (-39.807353 -2.621807)'))) / (select extract(epoch from '2026-07-22 08:50:33'::timestamp) - extract(epoch from '2026-07-22 08:50:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807358 -2.621799)'), GeomFromEWKT('SRID=4674;POINT (-39.807353 -2.621807)'))) / (select extract(epoch from '2026-07-22 08:50:33'::timestamp) - extract(epoch from '2026-07-22 08:50: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'), 47870, 'SRID=4674;POINT (-39.807342 -2.621862)', '2026-07-22 08:50:38', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807353 -2.621807)'), GeomFromEWKT('SRID=4674;POINT (-39.807342 -2.621862)'))) / (select extract(epoch from '2026-07-22 08:50:38'::timestamp) - extract(epoch from '2026-07-22 08:50:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807353 -2.621807)'), GeomFromEWKT('SRID=4674;POINT (-39.807342 -2.621862)'))) / (select extract(epoch from '2026-07-22 08:50:38'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.807341 -2.621878)', '2026-07-22 08:50:39', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807342 -2.621862)'), GeomFromEWKT('SRID=4674;POINT (-39.807341 -2.621878)'))) / (select extract(epoch from '2026-07-22 08:50:39'::timestamp) - extract(epoch from '2026-07-22 08:50:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807342 -2.621862)'), GeomFromEWKT('SRID=4674;POINT (-39.807341 -2.621878)'))) / (select extract(epoch from '2026-07-22 08:50:39'::timestamp) - extract(epoch from '2026-07-22 08:50: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'), 47870, 'SRID=4674;POINT (-39.807349 -2.621968)', '2026-07-22 08:50:45', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807341 -2.621878)'), GeomFromEWKT('SRID=4674;POINT (-39.807349 -2.621968)'))) / (select extract(epoch from '2026-07-22 08:50:45'::timestamp) - extract(epoch from '2026-07-22 08:50:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807341 -2.621878)'), GeomFromEWKT('SRID=4674;POINT (-39.807349 -2.621968)'))) / (select extract(epoch from '2026-07-22 08:50:45'::timestamp) - extract(epoch from '2026-07-22 08:50: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'), 47870, 'SRID=4674;POINT (-39.807348 -2.622059)', '2026-07-22 08:50:50', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807349 -2.621968)'), GeomFromEWKT('SRID=4674;POINT (-39.807348 -2.622059)'))) / (select extract(epoch from '2026-07-22 08:50:50'::timestamp) - extract(epoch from '2026-07-22 08:50:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807349 -2.621968)'), GeomFromEWKT('SRID=4674;POINT (-39.807348 -2.622059)'))) / (select extract(epoch from '2026-07-22 08:50:50'::timestamp) - extract(epoch from '2026-07-22 08:50:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807336 -2.622162)', '2026-07-22 08:50:56', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807348 -2.622059)'), GeomFromEWKT('SRID=4674;POINT (-39.807336 -2.622162)'))) / (select extract(epoch from '2026-07-22 08:50:56'::timestamp) - extract(epoch from '2026-07-22 08:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807348 -2.622059)'), GeomFromEWKT('SRID=4674;POINT (-39.807336 -2.622162)'))) / (select extract(epoch from '2026-07-22 08:50:56'::timestamp) - extract(epoch from '2026-07-22 08:50:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807326 -2.622303)', '2026-07-22 08:51:04', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807336 -2.622162)'), GeomFromEWKT('SRID=4674;POINT (-39.807326 -2.622303)'))) / (select extract(epoch from '2026-07-22 08:51:04'::timestamp) - extract(epoch from '2026-07-22 08:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807336 -2.622162)'), GeomFromEWKT('SRID=4674;POINT (-39.807326 -2.622303)'))) / (select extract(epoch from '2026-07-22 08:51:04'::timestamp) - extract(epoch from '2026-07-22 08:50: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'), 47870, 'SRID=4674;POINT (-39.807314 -2.622369)', '2026-07-22 08:51:09', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807326 -2.622303)'), GeomFromEWKT('SRID=4674;POINT (-39.807314 -2.622369)'))) / (select extract(epoch from '2026-07-22 08:51:09'::timestamp) - extract(epoch from '2026-07-22 08:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807326 -2.622303)'), GeomFromEWKT('SRID=4674;POINT (-39.807314 -2.622369)'))) / (select extract(epoch from '2026-07-22 08:51:09'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.807314 -2.622383)', '2026-07-22 08:51:10', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807314 -2.622369)'), GeomFromEWKT('SRID=4674;POINT (-39.807314 -2.622383)'))) / (select extract(epoch from '2026-07-22 08:51:10'::timestamp) - extract(epoch from '2026-07-22 08:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807314 -2.622369)'), GeomFromEWKT('SRID=4674;POINT (-39.807314 -2.622383)'))) / (select extract(epoch from '2026-07-22 08:51:10'::timestamp) - extract(epoch from '2026-07-22 08:51:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807305 -2.622459)', '2026-07-22 08:51:16', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807314 -2.622383)'), GeomFromEWKT('SRID=4674;POINT (-39.807305 -2.622459)'))) / (select extract(epoch from '2026-07-22 08:51:16'::timestamp) - extract(epoch from '2026-07-22 08:51:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807314 -2.622383)'), GeomFromEWKT('SRID=4674;POINT (-39.807305 -2.622459)'))) / (select extract(epoch from '2026-07-22 08:51:16'::timestamp) - extract(epoch from '2026-07-22 08:51: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'), 47870, 'SRID=4674;POINT (-39.807302 -2.622511)', '2026-07-22 08:51:21', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807305 -2.622459)'), GeomFromEWKT('SRID=4674;POINT (-39.807302 -2.622511)'))) / (select extract(epoch from '2026-07-22 08:51:21'::timestamp) - extract(epoch from '2026-07-22 08:51:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807305 -2.622459)'), GeomFromEWKT('SRID=4674;POINT (-39.807302 -2.622511)'))) / (select extract(epoch from '2026-07-22 08:51:21'::timestamp) - extract(epoch from '2026-07-22 08:51:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807306 -2.622526)', '2026-07-22 08:51:22', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807302 -2.622511)'), GeomFromEWKT('SRID=4674;POINT (-39.807306 -2.622526)'))) / (select extract(epoch from '2026-07-22 08:51:22'::timestamp) - extract(epoch from '2026-07-22 08:51:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807302 -2.622511)'), GeomFromEWKT('SRID=4674;POINT (-39.807306 -2.622526)'))) / (select extract(epoch from '2026-07-22 08:51:22'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.807302 -2.622538)', '2026-07-22 08:51:23', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807306 -2.622526)'), GeomFromEWKT('SRID=4674;POINT (-39.807302 -2.622538)'))) / (select extract(epoch from '2026-07-22 08:51:23'::timestamp) - extract(epoch from '2026-07-22 08:51:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807306 -2.622526)'), GeomFromEWKT('SRID=4674;POINT (-39.807302 -2.622538)'))) / (select extract(epoch from '2026-07-22 08:51:23'::timestamp) - extract(epoch from '2026-07-22 08:51: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'), 47870, 'SRID=4674;POINT (-39.80729 -2.622592)', '2026-07-22 08:51:27', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807302 -2.622538)'), GeomFromEWKT('SRID=4674;POINT (-39.80729 -2.622592)'))) / (select extract(epoch from '2026-07-22 08:51:27'::timestamp) - extract(epoch from '2026-07-22 08:51:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807302 -2.622538)'), GeomFromEWKT('SRID=4674;POINT (-39.80729 -2.622592)'))) / (select extract(epoch from '2026-07-22 08:51:27'::timestamp) - extract(epoch from '2026-07-22 08:51: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'), 47870, 'SRID=4674;POINT (-39.807289 -2.622615)', '2026-07-22 08:51:29', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80729 -2.622592)'), GeomFromEWKT('SRID=4674;POINT (-39.807289 -2.622615)'))) / (select extract(epoch from '2026-07-22 08:51:29'::timestamp) - extract(epoch from '2026-07-22 08:51:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80729 -2.622592)'), GeomFromEWKT('SRID=4674;POINT (-39.807289 -2.622615)'))) / (select extract(epoch from '2026-07-22 08:51:29'::timestamp) - extract(epoch from '2026-07-22 08:51: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'), 47870, 'SRID=4674;POINT (-39.807287 -2.622641)', '2026-07-22 08:51:31', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807289 -2.622615)'), GeomFromEWKT('SRID=4674;POINT (-39.807287 -2.622641)'))) / (select extract(epoch from '2026-07-22 08:51:31'::timestamp) - extract(epoch from '2026-07-22 08:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807289 -2.622615)'), GeomFromEWKT('SRID=4674;POINT (-39.807287 -2.622641)'))) / (select extract(epoch from '2026-07-22 08:51:31'::timestamp) - extract(epoch from '2026-07-22 08:51: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'), 47870, 'SRID=4674;POINT (-39.807289 -2.622655)', '2026-07-22 08:51:32', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807287 -2.622641)'), GeomFromEWKT('SRID=4674;POINT (-39.807289 -2.622655)'))) / (select extract(epoch from '2026-07-22 08:51:32'::timestamp) - extract(epoch from '2026-07-22 08:51:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807287 -2.622641)'), GeomFromEWKT('SRID=4674;POINT (-39.807289 -2.622655)'))) / (select extract(epoch from '2026-07-22 08:51:32'::timestamp) - extract(epoch from '2026-07-22 08:51: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'), 47870, 'SRID=4674;POINT (-39.807287 -2.622667)', '2026-07-22 08:51:33', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807289 -2.622655)'), GeomFromEWKT('SRID=4674;POINT (-39.807287 -2.622667)'))) / (select extract(epoch from '2026-07-22 08:51:33'::timestamp) - extract(epoch from '2026-07-22 08:51:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807289 -2.622655)'), GeomFromEWKT('SRID=4674;POINT (-39.807287 -2.622667)'))) / (select extract(epoch from '2026-07-22 08:51:33'::timestamp) - extract(epoch from '2026-07-22 08:51: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'), 47870, 'SRID=4674;POINT (-39.807281 -2.622712)', '2026-07-22 08:51:37', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807287 -2.622667)'), GeomFromEWKT('SRID=4674;POINT (-39.807281 -2.622712)'))) / (select extract(epoch from '2026-07-22 08:51:37'::timestamp) - extract(epoch from '2026-07-22 08:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807287 -2.622667)'), GeomFromEWKT('SRID=4674;POINT (-39.807281 -2.622712)'))) / (select extract(epoch from '2026-07-22 08:51:37'::timestamp) - extract(epoch from '2026-07-22 08:51: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'), 47870, 'SRID=4674;POINT (-39.80728 -2.622782)', '2026-07-22 08:51:43', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807281 -2.622712)'), GeomFromEWKT('SRID=4674;POINT (-39.80728 -2.622782)'))) / (select extract(epoch from '2026-07-22 08:51:43'::timestamp) - extract(epoch from '2026-07-22 08:51:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807281 -2.622712)'), GeomFromEWKT('SRID=4674;POINT (-39.80728 -2.622782)'))) / (select extract(epoch from '2026-07-22 08:51:43'::timestamp) - extract(epoch from '2026-07-22 08:51: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'), 47870, 'SRID=4674;POINT (-39.807269 -2.622802)', '2026-07-22 08:51:45', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80728 -2.622782)'), GeomFromEWKT('SRID=4674;POINT (-39.807269 -2.622802)'))) / (select extract(epoch from '2026-07-22 08:51:45'::timestamp) - extract(epoch from '2026-07-22 08:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80728 -2.622782)'), GeomFromEWKT('SRID=4674;POINT (-39.807269 -2.622802)'))) / (select extract(epoch from '2026-07-22 08:51:45'::timestamp) - extract(epoch from '2026-07-22 08:51:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807266 -2.622822)', '2026-07-22 08:51:47', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807269 -2.622802)'), GeomFromEWKT('SRID=4674;POINT (-39.807266 -2.622822)'))) / (select extract(epoch from '2026-07-22 08:51:47'::timestamp) - extract(epoch from '2026-07-22 08:51:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807269 -2.622802)'), GeomFromEWKT('SRID=4674;POINT (-39.807266 -2.622822)'))) / (select extract(epoch from '2026-07-22 08:51:47'::timestamp) - extract(epoch from '2026-07-22 08:51: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'), 47870, 'SRID=4674;POINT (-39.807271 -2.622838)', '2026-07-22 08:51:48', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807266 -2.622822)'), GeomFromEWKT('SRID=4674;POINT (-39.807271 -2.622838)'))) / (select extract(epoch from '2026-07-22 08:51:48'::timestamp) - extract(epoch from '2026-07-22 08:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807266 -2.622822)'), GeomFromEWKT('SRID=4674;POINT (-39.807271 -2.622838)'))) / (select extract(epoch from '2026-07-22 08:51:48'::timestamp) - extract(epoch from '2026-07-22 08:51: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'), 47870, 'SRID=4674;POINT (-39.807271 -2.622848)', '2026-07-22 08:51:49', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807271 -2.622838)'), GeomFromEWKT('SRID=4674;POINT (-39.807271 -2.622848)'))) / (select extract(epoch from '2026-07-22 08:51:49'::timestamp) - extract(epoch from '2026-07-22 08:51:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807271 -2.622838)'), GeomFromEWKT('SRID=4674;POINT (-39.807271 -2.622848)'))) / (select extract(epoch from '2026-07-22 08:51:49'::timestamp) - extract(epoch from '2026-07-22 08:51:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807258 -2.62289)', '2026-07-22 08:51:53', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807271 -2.622848)'), GeomFromEWKT('SRID=4674;POINT (-39.807258 -2.62289)'))) / (select extract(epoch from '2026-07-22 08:51:53'::timestamp) - extract(epoch from '2026-07-22 08:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807271 -2.622848)'), GeomFromEWKT('SRID=4674;POINT (-39.807258 -2.62289)'))) / (select extract(epoch from '2026-07-22 08:51:53'::timestamp) - extract(epoch from '2026-07-22 08:51: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'), 47870, 'SRID=4674;POINT (-39.807256 -2.622909)', '2026-07-22 08:51:55', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807258 -2.62289)'), GeomFromEWKT('SRID=4674;POINT (-39.807256 -2.622909)'))) / (select extract(epoch from '2026-07-22 08:51:55'::timestamp) - extract(epoch from '2026-07-22 08:51:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807258 -2.62289)'), GeomFromEWKT('SRID=4674;POINT (-39.807256 -2.622909)'))) / (select extract(epoch from '2026-07-22 08:51:55'::timestamp) - extract(epoch from '2026-07-22 08:51: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'), 47870, 'SRID=4674;POINT (-39.807243 -2.622933)', '2026-07-22 08:51:58', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807256 -2.622909)'), GeomFromEWKT('SRID=4674;POINT (-39.807243 -2.622933)'))) / (select extract(epoch from '2026-07-22 08:51:58'::timestamp) - extract(epoch from '2026-07-22 08:51:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807256 -2.622909)'), GeomFromEWKT('SRID=4674;POINT (-39.807243 -2.622933)'))) / (select extract(epoch from '2026-07-22 08:51:58'::timestamp) - extract(epoch from '2026-07-22 08:51: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'), 47870, 'SRID=4674;POINT (-39.807193 -2.622966)', '2026-07-22 08:52:03', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807243 -2.622933)'), GeomFromEWKT('SRID=4674;POINT (-39.807193 -2.622966)'))) / (select extract(epoch from '2026-07-22 08:52:03'::timestamp) - extract(epoch from '2026-07-22 08:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807243 -2.622933)'), GeomFromEWKT('SRID=4674;POINT (-39.807193 -2.622966)'))) / (select extract(epoch from '2026-07-22 08:52:03'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.807144 -2.623003)', '2026-07-22 08:52:09', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807193 -2.622966)'), GeomFromEWKT('SRID=4674;POINT (-39.807144 -2.623003)'))) / (select extract(epoch from '2026-07-22 08:52:09'::timestamp) - extract(epoch from '2026-07-22 08:52:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807193 -2.622966)'), GeomFromEWKT('SRID=4674;POINT (-39.807144 -2.623003)'))) / (select extract(epoch from '2026-07-22 08:52:09'::timestamp) - extract(epoch from '2026-07-22 08:52: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'), 47870, 'SRID=4674;POINT (-39.807133 -2.623009)', '2026-07-22 08:52:10', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807144 -2.623003)'), GeomFromEWKT('SRID=4674;POINT (-39.807133 -2.623009)'))) / (select extract(epoch from '2026-07-22 08:52:10'::timestamp) - extract(epoch from '2026-07-22 08:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807144 -2.623003)'), GeomFromEWKT('SRID=4674;POINT (-39.807133 -2.623009)'))) / (select extract(epoch from '2026-07-22 08:52:10'::timestamp) - extract(epoch from '2026-07-22 08:52: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'), 47870, 'SRID=4674;POINT (-39.807093 -2.623043)', '2026-07-22 08:52:14', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807133 -2.623009)'), GeomFromEWKT('SRID=4674;POINT (-39.807093 -2.623043)'))) / (select extract(epoch from '2026-07-22 08:52:14'::timestamp) - extract(epoch from '2026-07-22 08:52:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807133 -2.623009)'), GeomFromEWKT('SRID=4674;POINT (-39.807093 -2.623043)'))) / (select extract(epoch from '2026-07-22 08:52:14'::timestamp) - extract(epoch from '2026-07-22 08:52: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'), 47870, 'SRID=4674;POINT (-39.807034 -2.623102)', '2026-07-22 08:52:21', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807093 -2.623043)'), GeomFromEWKT('SRID=4674;POINT (-39.807034 -2.623102)'))) / (select extract(epoch from '2026-07-22 08:52:21'::timestamp) - extract(epoch from '2026-07-22 08:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807093 -2.623043)'), GeomFromEWKT('SRID=4674;POINT (-39.807034 -2.623102)'))) / (select extract(epoch from '2026-07-22 08:52:21'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.806992 -2.623158)', '2026-07-22 08:52:27', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807034 -2.623102)'), GeomFromEWKT('SRID=4674;POINT (-39.806992 -2.623158)'))) / (select extract(epoch from '2026-07-22 08:52:27'::timestamp) - extract(epoch from '2026-07-22 08:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807034 -2.623102)'), GeomFromEWKT('SRID=4674;POINT (-39.806992 -2.623158)'))) / (select extract(epoch from '2026-07-22 08:52:27'::timestamp) - extract(epoch from '2026-07-22 08:52: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'), 47870, 'SRID=4674;POINT (-39.806973 -2.623197)', '2026-07-22 08:52:30', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806992 -2.623158)'), GeomFromEWKT('SRID=4674;POINT (-39.806973 -2.623197)'))) / (select extract(epoch from '2026-07-22 08:52:30'::timestamp) - extract(epoch from '2026-07-22 08:52:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806992 -2.623158)'), GeomFromEWKT('SRID=4674;POINT (-39.806973 -2.623197)'))) / (select extract(epoch from '2026-07-22 08:52:30'::timestamp) - extract(epoch from '2026-07-22 08:52: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'), 47870, 'SRID=4674;POINT (-39.806959 -2.623221)', '2026-07-22 08:52:32', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806973 -2.623197)'), GeomFromEWKT('SRID=4674;POINT (-39.806959 -2.623221)'))) / (select extract(epoch from '2026-07-22 08:52:32'::timestamp) - extract(epoch from '2026-07-22 08:52:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806973 -2.623197)'), GeomFromEWKT('SRID=4674;POINT (-39.806959 -2.623221)'))) / (select extract(epoch from '2026-07-22 08:52:32'::timestamp) - extract(epoch from '2026-07-22 08:52: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'), 47870, 'SRID=4674;POINT (-39.806944 -2.623242)', '2026-07-22 08:52:34', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806959 -2.623221)'), GeomFromEWKT('SRID=4674;POINT (-39.806944 -2.623242)'))) / (select extract(epoch from '2026-07-22 08:52:34'::timestamp) - extract(epoch from '2026-07-22 08:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806959 -2.623221)'), GeomFromEWKT('SRID=4674;POINT (-39.806944 -2.623242)'))) / (select extract(epoch from '2026-07-22 08:52:34'::timestamp) - extract(epoch from '2026-07-22 08:52:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806932 -2.623271)', '2026-07-22 08:52:37', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806944 -2.623242)'), GeomFromEWKT('SRID=4674;POINT (-39.806932 -2.623271)'))) / (select extract(epoch from '2026-07-22 08:52:37'::timestamp) - extract(epoch from '2026-07-22 08:52:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806944 -2.623242)'), GeomFromEWKT('SRID=4674;POINT (-39.806932 -2.623271)'))) / (select extract(epoch from '2026-07-22 08:52:37'::timestamp) - extract(epoch from '2026-07-22 08:52: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'), 47870, 'SRID=4674;POINT (-39.80689 -2.623278)', '2026-07-22 08:52:43', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806932 -2.623271)'), GeomFromEWKT('SRID=4674;POINT (-39.80689 -2.623278)'))) / (select extract(epoch from '2026-07-22 08:52:43'::timestamp) - extract(epoch from '2026-07-22 08:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806932 -2.623271)'), GeomFromEWKT('SRID=4674;POINT (-39.80689 -2.623278)'))) / (select extract(epoch from '2026-07-22 08:52:43'::timestamp) - extract(epoch from '2026-07-22 08:52: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'), 47870, 'SRID=4674;POINT (-39.806878 -2.623276)', '2026-07-22 08:52:51', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80689 -2.623278)'), GeomFromEWKT('SRID=4674;POINT (-39.806878 -2.623276)'))) / (select extract(epoch from '2026-07-22 08:52:51'::timestamp) - extract(epoch from '2026-07-22 08:52:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80689 -2.623278)'), GeomFromEWKT('SRID=4674;POINT (-39.806878 -2.623276)'))) / (select extract(epoch from '2026-07-22 08:52:51'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.806856 -2.623258)', '2026-07-22 08:52:58', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806878 -2.623276)'), GeomFromEWKT('SRID=4674;POINT (-39.806856 -2.623258)'))) / (select extract(epoch from '2026-07-22 08:52:58'::timestamp) - extract(epoch from '2026-07-22 08:52:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806878 -2.623276)'), GeomFromEWKT('SRID=4674;POINT (-39.806856 -2.623258)'))) / (select extract(epoch from '2026-07-22 08:52:58'::timestamp) - extract(epoch from '2026-07-22 08:52: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'), 47870, 'SRID=4674;POINT (-39.806862 -2.623233)', '2026-07-22 08:53:06', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806856 -2.623258)'), GeomFromEWKT('SRID=4674;POINT (-39.806862 -2.623233)'))) / (select extract(epoch from '2026-07-22 08:53:06'::timestamp) - extract(epoch from '2026-07-22 08:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806856 -2.623258)'), GeomFromEWKT('SRID=4674;POINT (-39.806862 -2.623233)'))) / (select extract(epoch from '2026-07-22 08:53:06'::timestamp) - extract(epoch from '2026-07-22 08:52: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'), 47870, 'SRID=4674;POINT (-39.8069 -2.623213)', '2026-07-22 08:53:14', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806862 -2.623233)'), GeomFromEWKT('SRID=4674;POINT (-39.8069 -2.623213)'))) / (select extract(epoch from '2026-07-22 08:53:14'::timestamp) - extract(epoch from '2026-07-22 08:53:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806862 -2.623233)'), GeomFromEWKT('SRID=4674;POINT (-39.8069 -2.623213)'))) / (select extract(epoch from '2026-07-22 08:53:14'::timestamp) - extract(epoch from '2026-07-22 08:53: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'), 47870, 'SRID=4674;POINT (-39.806932 -2.623177)', '2026-07-22 08:53:22', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8069 -2.623213)'), GeomFromEWKT('SRID=4674;POINT (-39.806932 -2.623177)'))) / (select extract(epoch from '2026-07-22 08:53:22'::timestamp) - extract(epoch from '2026-07-22 08:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8069 -2.623213)'), GeomFromEWKT('SRID=4674;POINT (-39.806932 -2.623177)'))) / (select extract(epoch from '2026-07-22 08:53:22'::timestamp) - extract(epoch from '2026-07-22 08:53: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'), 47870, 'SRID=4674;POINT (-39.806932 -2.623168)', '2026-07-22 08:53:34', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806932 -2.623177)'), GeomFromEWKT('SRID=4674;POINT (-39.806932 -2.623168)'))) / (select extract(epoch from '2026-07-22 08:53:34'::timestamp) - extract(epoch from '2026-07-22 08:53:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806932 -2.623177)'), GeomFromEWKT('SRID=4674;POINT (-39.806932 -2.623168)'))) / (select extract(epoch from '2026-07-22 08:53:34'::timestamp) - extract(epoch from '2026-07-22 08:53: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'), 47870, 'SRID=4674;POINT (-39.806978 -2.623127)', '2026-07-22 08:53:52', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806932 -2.623168)'), GeomFromEWKT('SRID=4674;POINT (-39.806978 -2.623127)'))) / (select extract(epoch from '2026-07-22 08:53:52'::timestamp) - extract(epoch from '2026-07-22 08:53:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806932 -2.623168)'), GeomFromEWKT('SRID=4674;POINT (-39.806978 -2.623127)'))) / (select extract(epoch from '2026-07-22 08:53:52'::timestamp) - extract(epoch from '2026-07-22 08:53: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'), 47870, 'SRID=4674;POINT (-39.807016 -2.623096)', '2026-07-22 08:54:01', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806978 -2.623127)'), GeomFromEWKT('SRID=4674;POINT (-39.807016 -2.623096)'))) / (select extract(epoch from '2026-07-22 08:54:01'::timestamp) - extract(epoch from '2026-07-22 08:53:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806978 -2.623127)'), GeomFromEWKT('SRID=4674;POINT (-39.807016 -2.623096)'))) / (select extract(epoch from '2026-07-22 08:54:01'::timestamp) - extract(epoch from '2026-07-22 08:53: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'), 47870, 'SRID=4674;POINT (-39.807045 -2.623055)', '2026-07-22 08:54:10', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807016 -2.623096)'), GeomFromEWKT('SRID=4674;POINT (-39.807045 -2.623055)'))) / (select extract(epoch from '2026-07-22 08:54:10'::timestamp) - extract(epoch from '2026-07-22 08:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807016 -2.623096)'), GeomFromEWKT('SRID=4674;POINT (-39.807045 -2.623055)'))) / (select extract(epoch from '2026-07-22 08:54:10'::timestamp) - extract(epoch from '2026-07-22 08:54:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807051 -2.623048)', '2026-07-22 08:54:15', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807045 -2.623055)'), GeomFromEWKT('SRID=4674;POINT (-39.807051 -2.623048)'))) / (select extract(epoch from '2026-07-22 08:54:15'::timestamp) - extract(epoch from '2026-07-22 08:54:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807045 -2.623055)'), GeomFromEWKT('SRID=4674;POINT (-39.807051 -2.623048)'))) / (select extract(epoch from '2026-07-22 08:54:15'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.807011 -2.623094)', '2026-07-22 08:54:26', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807051 -2.623048)'), GeomFromEWKT('SRID=4674;POINT (-39.807011 -2.623094)'))) / (select extract(epoch from '2026-07-22 08:54:26'::timestamp) - extract(epoch from '2026-07-22 08:54:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807051 -2.623048)'), GeomFromEWKT('SRID=4674;POINT (-39.807011 -2.623094)'))) / (select extract(epoch from '2026-07-22 08:54:26'::timestamp) - extract(epoch from '2026-07-22 08:54: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'), 47870, 'SRID=4674;POINT (-39.807016 -2.623164)', '2026-07-22 08:54:31', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807011 -2.623094)'), GeomFromEWKT('SRID=4674;POINT (-39.807016 -2.623164)'))) / (select extract(epoch from '2026-07-22 08:54:31'::timestamp) - extract(epoch from '2026-07-22 08:54:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807011 -2.623094)'), GeomFromEWKT('SRID=4674;POINT (-39.807016 -2.623164)'))) / (select extract(epoch from '2026-07-22 08:54:31'::timestamp) - extract(epoch from '2026-07-22 08:54: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'), 47870, 'SRID=4674;POINT (-39.807027 -2.623276)', '2026-07-22 08:54:38', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807016 -2.623164)'), GeomFromEWKT('SRID=4674;POINT (-39.807027 -2.623276)'))) / (select extract(epoch from '2026-07-22 08:54:38'::timestamp) - extract(epoch from '2026-07-22 08:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807016 -2.623164)'), GeomFromEWKT('SRID=4674;POINT (-39.807027 -2.623276)'))) / (select extract(epoch from '2026-07-22 08:54:38'::timestamp) - extract(epoch from '2026-07-22 08:54: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'), 47870, 'SRID=4674;POINT (-39.807028 -2.623367)', '2026-07-22 08:54:43', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807027 -2.623276)'), GeomFromEWKT('SRID=4674;POINT (-39.807028 -2.623367)'))) / (select extract(epoch from '2026-07-22 08:54:43'::timestamp) - extract(epoch from '2026-07-22 08:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807027 -2.623276)'), GeomFromEWKT('SRID=4674;POINT (-39.807028 -2.623367)'))) / (select extract(epoch from '2026-07-22 08:54:43'::timestamp) - extract(epoch from '2026-07-22 08:54: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'), 47870, 'SRID=4674;POINT (-39.807011 -2.623462)', '2026-07-22 08:54:48', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807028 -2.623367)'), GeomFromEWKT('SRID=4674;POINT (-39.807011 -2.623462)'))) / (select extract(epoch from '2026-07-22 08:54:48'::timestamp) - extract(epoch from '2026-07-22 08:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807028 -2.623367)'), GeomFromEWKT('SRID=4674;POINT (-39.807011 -2.623462)'))) / (select extract(epoch from '2026-07-22 08:54:48'::timestamp) - extract(epoch from '2026-07-22 08:54: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'), 47870, 'SRID=4674;POINT (-39.80699 -2.623545)', '2026-07-22 08:54:53', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807011 -2.623462)'), GeomFromEWKT('SRID=4674;POINT (-39.80699 -2.623545)'))) / (select extract(epoch from '2026-07-22 08:54:53'::timestamp) - extract(epoch from '2026-07-22 08:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807011 -2.623462)'), GeomFromEWKT('SRID=4674;POINT (-39.80699 -2.623545)'))) / (select extract(epoch from '2026-07-22 08:54:53'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.806985 -2.623554)', '2026-07-22 08:54:54', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80699 -2.623545)'), GeomFromEWKT('SRID=4674;POINT (-39.806985 -2.623554)'))) / (select extract(epoch from '2026-07-22 08:54:54'::timestamp) - extract(epoch from '2026-07-22 08:54:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80699 -2.623545)'), GeomFromEWKT('SRID=4674;POINT (-39.806985 -2.623554)'))) / (select extract(epoch from '2026-07-22 08:54:54'::timestamp) - extract(epoch from '2026-07-22 08:54: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'), 47870, 'SRID=4674;POINT (-39.806942 -2.623632)', '2026-07-22 08:55:00', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806985 -2.623554)'), GeomFromEWKT('SRID=4674;POINT (-39.806942 -2.623632)'))) / (select extract(epoch from '2026-07-22 08:55:00'::timestamp) - extract(epoch from '2026-07-22 08:54:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806985 -2.623554)'), GeomFromEWKT('SRID=4674;POINT (-39.806942 -2.623632)'))) / (select extract(epoch from '2026-07-22 08:55:00'::timestamp) - extract(epoch from '2026-07-22 08:54: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'), 47870, 'SRID=4674;POINT (-39.806857 -2.623729)', '2026-07-22 08:55:07', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806942 -2.623632)'), GeomFromEWKT('SRID=4674;POINT (-39.806857 -2.623729)'))) / (select extract(epoch from '2026-07-22 08:55:07'::timestamp) - extract(epoch from '2026-07-22 08:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806942 -2.623632)'), GeomFromEWKT('SRID=4674;POINT (-39.806857 -2.623729)'))) / (select extract(epoch from '2026-07-22 08:55:07'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.806786 -2.62384)', '2026-07-22 08:55:14', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806857 -2.623729)'), GeomFromEWKT('SRID=4674;POINT (-39.806786 -2.62384)'))) / (select extract(epoch from '2026-07-22 08:55:14'::timestamp) - extract(epoch from '2026-07-22 08:55:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806857 -2.623729)'), GeomFromEWKT('SRID=4674;POINT (-39.806786 -2.62384)'))) / (select extract(epoch from '2026-07-22 08:55:14'::timestamp) - extract(epoch from '2026-07-22 08:55: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'), 47870, 'SRID=4674;POINT (-39.806716 -2.623939)', '2026-07-22 08:55:20', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806786 -2.62384)'), GeomFromEWKT('SRID=4674;POINT (-39.806716 -2.623939)'))) / (select extract(epoch from '2026-07-22 08:55:20'::timestamp) - extract(epoch from '2026-07-22 08:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806786 -2.62384)'), GeomFromEWKT('SRID=4674;POINT (-39.806716 -2.623939)'))) / (select extract(epoch from '2026-07-22 08:55:20'::timestamp) - extract(epoch from '2026-07-22 08:55: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'), 47870, 'SRID=4674;POINT (-39.806687 -2.623975)', '2026-07-22 08:55:23', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806716 -2.623939)'), GeomFromEWKT('SRID=4674;POINT (-39.806687 -2.623975)'))) / (select extract(epoch from '2026-07-22 08:55:23'::timestamp) - extract(epoch from '2026-07-22 08:55:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806716 -2.623939)'), GeomFromEWKT('SRID=4674;POINT (-39.806687 -2.623975)'))) / (select extract(epoch from '2026-07-22 08:55:23'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.806669 -2.624007)', '2026-07-22 08:55:25', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806687 -2.623975)'), GeomFromEWKT('SRID=4674;POINT (-39.806669 -2.624007)'))) / (select extract(epoch from '2026-07-22 08:55:25'::timestamp) - extract(epoch from '2026-07-22 08:55:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806687 -2.623975)'), GeomFromEWKT('SRID=4674;POINT (-39.806669 -2.624007)'))) / (select extract(epoch from '2026-07-22 08:55:25'::timestamp) - extract(epoch from '2026-07-22 08:55: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'), 47870, 'SRID=4674;POINT (-39.806607 -2.624074)', '2026-07-22 08:55:31', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806669 -2.624007)'), GeomFromEWKT('SRID=4674;POINT (-39.806607 -2.624074)'))) / (select extract(epoch from '2026-07-22 08:55:31'::timestamp) - extract(epoch from '2026-07-22 08:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806669 -2.624007)'), GeomFromEWKT('SRID=4674;POINT (-39.806607 -2.624074)'))) / (select extract(epoch from '2026-07-22 08:55:31'::timestamp) - extract(epoch from '2026-07-22 08:55:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806551 -2.62416)', '2026-07-22 08:55:37', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806607 -2.624074)'), GeomFromEWKT('SRID=4674;POINT (-39.806551 -2.62416)'))) / (select extract(epoch from '2026-07-22 08:55:37'::timestamp) - extract(epoch from '2026-07-22 08:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806607 -2.624074)'), GeomFromEWKT('SRID=4674;POINT (-39.806551 -2.62416)'))) / (select extract(epoch from '2026-07-22 08:55:37'::timestamp) - extract(epoch from '2026-07-22 08:55: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'), 47870, 'SRID=4674;POINT (-39.806521 -2.624227)', '2026-07-22 08:55:43', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806551 -2.62416)'), GeomFromEWKT('SRID=4674;POINT (-39.806521 -2.624227)'))) / (select extract(epoch from '2026-07-22 08:55:43'::timestamp) - extract(epoch from '2026-07-22 08:55:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806551 -2.62416)'), GeomFromEWKT('SRID=4674;POINT (-39.806521 -2.624227)'))) / (select extract(epoch from '2026-07-22 08:55:43'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.806485 -2.624288)', '2026-07-22 08:55:52', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806521 -2.624227)'), GeomFromEWKT('SRID=4674;POINT (-39.806485 -2.624288)'))) / (select extract(epoch from '2026-07-22 08:55:52'::timestamp) - extract(epoch from '2026-07-22 08:55:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806521 -2.624227)'), GeomFromEWKT('SRID=4674;POINT (-39.806485 -2.624288)'))) / (select extract(epoch from '2026-07-22 08:55:52'::timestamp) - extract(epoch from '2026-07-22 08:55: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'), 47870, 'SRID=4674;POINT (-39.806436 -2.624361)', '2026-07-22 08:56:01', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806485 -2.624288)'), GeomFromEWKT('SRID=4674;POINT (-39.806436 -2.624361)'))) / (select extract(epoch from '2026-07-22 08:56:01'::timestamp) - extract(epoch from '2026-07-22 08:55:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806485 -2.624288)'), GeomFromEWKT('SRID=4674;POINT (-39.806436 -2.624361)'))) / (select extract(epoch from '2026-07-22 08:56:01'::timestamp) - extract(epoch from '2026-07-22 08:55: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'), 47870, 'SRID=4674;POINT (-39.8064 -2.624368)', '2026-07-22 08:56:09', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806436 -2.624361)'), GeomFromEWKT('SRID=4674;POINT (-39.8064 -2.624368)'))) / (select extract(epoch from '2026-07-22 08:56:09'::timestamp) - extract(epoch from '2026-07-22 08:56:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806436 -2.624361)'), GeomFromEWKT('SRID=4674;POINT (-39.8064 -2.624368)'))) / (select extract(epoch from '2026-07-22 08:56:09'::timestamp) - extract(epoch from '2026-07-22 08:56:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806415 -2.624346)', '2026-07-22 08:56:17', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8064 -2.624368)'), GeomFromEWKT('SRID=4674;POINT (-39.806415 -2.624346)'))) / (select extract(epoch from '2026-07-22 08:56:17'::timestamp) - extract(epoch from '2026-07-22 08:56:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8064 -2.624368)'), GeomFromEWKT('SRID=4674;POINT (-39.806415 -2.624346)'))) / (select extract(epoch from '2026-07-22 08:56:17'::timestamp) - extract(epoch from '2026-07-22 08:56: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'), 47870, 'SRID=4674;POINT (-39.806445 -2.624324)', '2026-07-22 08:56:22', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806415 -2.624346)'), GeomFromEWKT('SRID=4674;POINT (-39.806445 -2.624324)'))) / (select extract(epoch from '2026-07-22 08:56:22'::timestamp) - extract(epoch from '2026-07-22 08:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806415 -2.624346)'), GeomFromEWKT('SRID=4674;POINT (-39.806445 -2.624324)'))) / (select extract(epoch from '2026-07-22 08:56:22'::timestamp) - extract(epoch from '2026-07-22 08:56: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'), 47870, 'SRID=4674;POINT (-39.806455 -2.624321)', '2026-07-22 08:56:24', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806445 -2.624324)'), GeomFromEWKT('SRID=4674;POINT (-39.806455 -2.624321)'))) / (select extract(epoch from '2026-07-22 08:56:24'::timestamp) - extract(epoch from '2026-07-22 08:56:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806445 -2.624324)'), GeomFromEWKT('SRID=4674;POINT (-39.806455 -2.624321)'))) / (select extract(epoch from '2026-07-22 08:56:24'::timestamp) - extract(epoch from '2026-07-22 08:56: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'), 47870, 'SRID=4674;POINT (-39.806497 -2.624285)', '2026-07-22 08:56:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806455 -2.624321)'), GeomFromEWKT('SRID=4674;POINT (-39.806497 -2.624285)'))) / (select extract(epoch from '2026-07-22 08:56:32'::timestamp) - extract(epoch from '2026-07-22 08:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806455 -2.624321)'), GeomFromEWKT('SRID=4674;POINT (-39.806497 -2.624285)'))) / (select extract(epoch from '2026-07-22 08:56:32'::timestamp) - extract(epoch from '2026-07-22 08:56: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'), 47870, 'SRID=4674;POINT (-39.806542 -2.62424)', '2026-07-22 08:56:40', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806497 -2.624285)'), GeomFromEWKT('SRID=4674;POINT (-39.806542 -2.62424)'))) / (select extract(epoch from '2026-07-22 08:56:40'::timestamp) - extract(epoch from '2026-07-22 08:56:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806497 -2.624285)'), GeomFromEWKT('SRID=4674;POINT (-39.806542 -2.62424)'))) / (select extract(epoch from '2026-07-22 08:56:40'::timestamp) - extract(epoch from '2026-07-22 08:56:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806576 -2.624212)', '2026-07-22 08:56:49', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806542 -2.62424)'), GeomFromEWKT('SRID=4674;POINT (-39.806576 -2.624212)'))) / (select extract(epoch from '2026-07-22 08:56:49'::timestamp) - extract(epoch from '2026-07-22 08:56:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806542 -2.62424)'), GeomFromEWKT('SRID=4674;POINT (-39.806576 -2.624212)'))) / (select extract(epoch from '2026-07-22 08:56:49'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.80657 -2.624195)', '2026-07-22 08:57:01', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806576 -2.624212)'), GeomFromEWKT('SRID=4674;POINT (-39.80657 -2.624195)'))) / (select extract(epoch from '2026-07-22 08:57:01'::timestamp) - extract(epoch from '2026-07-22 08:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806576 -2.624212)'), GeomFromEWKT('SRID=4674;POINT (-39.80657 -2.624195)'))) / (select extract(epoch from '2026-07-22 08:57:01'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.806607 -2.624138)', '2026-07-22 08:57:21', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80657 -2.624195)'), GeomFromEWKT('SRID=4674;POINT (-39.806607 -2.624138)'))) / (select extract(epoch from '2026-07-22 08:57:21'::timestamp) - extract(epoch from '2026-07-22 08:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80657 -2.624195)'), GeomFromEWKT('SRID=4674;POINT (-39.806607 -2.624138)'))) / (select extract(epoch from '2026-07-22 08:57:21'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.806608 -2.624109)', '2026-07-22 08:57:32', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806607 -2.624138)'), GeomFromEWKT('SRID=4674;POINT (-39.806608 -2.624109)'))) / (select extract(epoch from '2026-07-22 08:57:32'::timestamp) - extract(epoch from '2026-07-22 08:57:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806607 -2.624138)'), GeomFromEWKT('SRID=4674;POINT (-39.806608 -2.624109)'))) / (select extract(epoch from '2026-07-22 08:57:32'::timestamp) - extract(epoch from '2026-07-22 08:57: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'), 47870, 'SRID=4674;POINT (-39.806618 -2.62409)', '2026-07-22 08:57:44', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806608 -2.624109)'), GeomFromEWKT('SRID=4674;POINT (-39.806618 -2.62409)'))) / (select extract(epoch from '2026-07-22 08:57:44'::timestamp) - extract(epoch from '2026-07-22 08:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806608 -2.624109)'), GeomFromEWKT('SRID=4674;POINT (-39.806618 -2.62409)'))) / (select extract(epoch from '2026-07-22 08:57:44'::timestamp) - extract(epoch from '2026-07-22 08:57: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'), 47870, 'SRID=4674;POINT (-39.806634 -2.62408)', '2026-07-22 08:57:46', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806618 -2.62409)'), GeomFromEWKT('SRID=4674;POINT (-39.806634 -2.62408)'))) / (select extract(epoch from '2026-07-22 08:57:46'::timestamp) - extract(epoch from '2026-07-22 08:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806618 -2.62409)'), GeomFromEWKT('SRID=4674;POINT (-39.806634 -2.62408)'))) / (select extract(epoch from '2026-07-22 08:57:46'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.806652 -2.624062)', '2026-07-22 08:57:50', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806634 -2.62408)'), GeomFromEWKT('SRID=4674;POINT (-39.806652 -2.624062)'))) / (select extract(epoch from '2026-07-22 08:57:50'::timestamp) - extract(epoch from '2026-07-22 08:57:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806634 -2.62408)'), GeomFromEWKT('SRID=4674;POINT (-39.806652 -2.624062)'))) / (select extract(epoch from '2026-07-22 08:57:50'::timestamp) - extract(epoch from '2026-07-22 08:57: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'), 47870, 'SRID=4674;POINT (-39.806669 -2.624054)', '2026-07-22 08:57:52', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806652 -2.624062)'), GeomFromEWKT('SRID=4674;POINT (-39.806669 -2.624054)'))) / (select extract(epoch from '2026-07-22 08:57:52'::timestamp) - extract(epoch from '2026-07-22 08:57:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806652 -2.624062)'), GeomFromEWKT('SRID=4674;POINT (-39.806669 -2.624054)'))) / (select extract(epoch from '2026-07-22 08:57:52'::timestamp) - extract(epoch from '2026-07-22 08:57: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'), 47870, 'SRID=4674;POINT (-39.806684 -2.62405)', '2026-07-22 08:57:54', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806669 -2.624054)'), GeomFromEWKT('SRID=4674;POINT (-39.806684 -2.62405)'))) / (select extract(epoch from '2026-07-22 08:57:54'::timestamp) - extract(epoch from '2026-07-22 08:57:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806669 -2.624054)'), GeomFromEWKT('SRID=4674;POINT (-39.806684 -2.62405)'))) / (select extract(epoch from '2026-07-22 08:57:54'::timestamp) - extract(epoch from '2026-07-22 08:57: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'), 47870, 'SRID=4674;POINT (-39.806719 -2.624019)', '2026-07-22 08:58:03', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806684 -2.62405)'), GeomFromEWKT('SRID=4674;POINT (-39.806719 -2.624019)'))) / (select extract(epoch from '2026-07-22 08:58:03'::timestamp) - extract(epoch from '2026-07-22 08:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806684 -2.62405)'), GeomFromEWKT('SRID=4674;POINT (-39.806719 -2.624019)'))) / (select extract(epoch from '2026-07-22 08:58:03'::timestamp) - extract(epoch from '2026-07-22 08:57:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806703 -2.62401)', '2026-07-22 08:58:14', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806719 -2.624019)'), GeomFromEWKT('SRID=4674;POINT (-39.806703 -2.62401)'))) / (select extract(epoch from '2026-07-22 08:58:14'::timestamp) - extract(epoch from '2026-07-22 08:58:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806719 -2.624019)'), GeomFromEWKT('SRID=4674;POINT (-39.806703 -2.62401)'))) / (select extract(epoch from '2026-07-22 08:58:14'::timestamp) - extract(epoch from '2026-07-22 08:58: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'), 47870, 'SRID=4674;POINT (-39.806631 -2.624069)', '2026-07-22 08:58:20', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806703 -2.62401)'), GeomFromEWKT('SRID=4674;POINT (-39.806631 -2.624069)'))) / (select extract(epoch from '2026-07-22 08:58:20'::timestamp) - extract(epoch from '2026-07-22 08:58:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806703 -2.62401)'), GeomFromEWKT('SRID=4674;POINT (-39.806631 -2.624069)'))) / (select extract(epoch from '2026-07-22 08:58:20'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.806595 -2.624145)', '2026-07-22 08:58:25', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806631 -2.624069)'), GeomFromEWKT('SRID=4674;POINT (-39.806595 -2.624145)'))) / (select extract(epoch from '2026-07-22 08:58:25'::timestamp) - extract(epoch from '2026-07-22 08:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806631 -2.624069)'), GeomFromEWKT('SRID=4674;POINT (-39.806595 -2.624145)'))) / (select extract(epoch from '2026-07-22 08:58:25'::timestamp) - extract(epoch from '2026-07-22 08:58: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'), 47870, 'SRID=4674;POINT (-39.806575 -2.624256)', '2026-07-22 08:58:30', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806595 -2.624145)'), GeomFromEWKT('SRID=4674;POINT (-39.806575 -2.624256)'))) / (select extract(epoch from '2026-07-22 08:58:30'::timestamp) - extract(epoch from '2026-07-22 08:58:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806595 -2.624145)'), GeomFromEWKT('SRID=4674;POINT (-39.806575 -2.624256)'))) / (select extract(epoch from '2026-07-22 08:58:30'::timestamp) - extract(epoch from '2026-07-22 08:58: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'), 47870, 'SRID=4674;POINT (-39.806564 -2.62435)', '2026-07-22 08:58:34', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806575 -2.624256)'), GeomFromEWKT('SRID=4674;POINT (-39.806564 -2.62435)'))) / (select extract(epoch from '2026-07-22 08:58:34'::timestamp) - extract(epoch from '2026-07-22 08:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806575 -2.624256)'), GeomFromEWKT('SRID=4674;POINT (-39.806564 -2.62435)'))) / (select extract(epoch from '2026-07-22 08:58:34'::timestamp) - extract(epoch from '2026-07-22 08:58: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'), 47870, 'SRID=4674;POINT (-39.806525 -2.62449)', '2026-07-22 08:58:41', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806564 -2.62435)'), GeomFromEWKT('SRID=4674;POINT (-39.806525 -2.62449)'))) / (select extract(epoch from '2026-07-22 08:58:41'::timestamp) - extract(epoch from '2026-07-22 08:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806564 -2.62435)'), GeomFromEWKT('SRID=4674;POINT (-39.806525 -2.62449)'))) / (select extract(epoch from '2026-07-22 08:58:41'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.806519 -2.624539)', '2026-07-22 08:58:44', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806525 -2.62449)'), GeomFromEWKT('SRID=4674;POINT (-39.806519 -2.624539)'))) / (select extract(epoch from '2026-07-22 08:58:44'::timestamp) - extract(epoch from '2026-07-22 08:58:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806525 -2.62449)'), GeomFromEWKT('SRID=4674;POINT (-39.806519 -2.624539)'))) / (select extract(epoch from '2026-07-22 08:58:44'::timestamp) - extract(epoch from '2026-07-22 08:58: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'), 47870, 'SRID=4674;POINT (-39.8065 -2.624568)', '2026-07-22 08:58:46', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806519 -2.624539)'), GeomFromEWKT('SRID=4674;POINT (-39.8065 -2.624568)'))) / (select extract(epoch from '2026-07-22 08:58:46'::timestamp) - extract(epoch from '2026-07-22 08:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806519 -2.624539)'), GeomFromEWKT('SRID=4674;POINT (-39.8065 -2.624568)'))) / (select extract(epoch from '2026-07-22 08:58:46'::timestamp) - extract(epoch from '2026-07-22 08:58: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'), 47870, 'SRID=4674;POINT (-39.806413 -2.624674)', '2026-07-22 08:58:53', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8065 -2.624568)'), GeomFromEWKT('SRID=4674;POINT (-39.806413 -2.624674)'))) / (select extract(epoch from '2026-07-22 08:58:53'::timestamp) - extract(epoch from '2026-07-22 08:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8065 -2.624568)'), GeomFromEWKT('SRID=4674;POINT (-39.806413 -2.624674)'))) / (select extract(epoch from '2026-07-22 08:58:53'::timestamp) - extract(epoch from '2026-07-22 08:58: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'), 47870, 'SRID=4674;POINT (-39.806347 -2.62475)', '2026-07-22 08:58:58', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806413 -2.624674)'), GeomFromEWKT('SRID=4674;POINT (-39.806347 -2.62475)'))) / (select extract(epoch from '2026-07-22 08:58:58'::timestamp) - extract(epoch from '2026-07-22 08:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806413 -2.624674)'), GeomFromEWKT('SRID=4674;POINT (-39.806347 -2.62475)'))) / (select extract(epoch from '2026-07-22 08:58:58'::timestamp) - extract(epoch from '2026-07-22 08:58: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'), 47870, 'SRID=4674;POINT (-39.806337 -2.62477)', '2026-07-22 08:58:59', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806347 -2.62475)'), GeomFromEWKT('SRID=4674;POINT (-39.806337 -2.62477)'))) / (select extract(epoch from '2026-07-22 08:58:59'::timestamp) - extract(epoch from '2026-07-22 08:58:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806347 -2.62475)'), GeomFromEWKT('SRID=4674;POINT (-39.806337 -2.62477)'))) / (select extract(epoch from '2026-07-22 08:58:59'::timestamp) - extract(epoch from '2026-07-22 08:58: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'), 47870, 'SRID=4674;POINT (-39.806238 -2.624869)', '2026-07-22 08:59:06', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806337 -2.62477)'), GeomFromEWKT('SRID=4674;POINT (-39.806238 -2.624869)'))) / (select extract(epoch from '2026-07-22 08:59:06'::timestamp) - extract(epoch from '2026-07-22 08:58:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806337 -2.62477)'), GeomFromEWKT('SRID=4674;POINT (-39.806238 -2.624869)'))) / (select extract(epoch from '2026-07-22 08:59:06'::timestamp) - extract(epoch from '2026-07-22 08:58: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'), 47870, 'SRID=4674;POINT (-39.806126 -2.624916)', '2026-07-22 08:59:12', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806238 -2.624869)'), GeomFromEWKT('SRID=4674;POINT (-39.806126 -2.624916)'))) / (select extract(epoch from '2026-07-22 08:59:12'::timestamp) - extract(epoch from '2026-07-22 08:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806238 -2.624869)'), GeomFromEWKT('SRID=4674;POINT (-39.806126 -2.624916)'))) / (select extract(epoch from '2026-07-22 08:59:12'::timestamp) - extract(epoch from '2026-07-22 08:59: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'), 47870, 'SRID=4674;POINT (-39.806026 -2.625014)', '2026-07-22 08:59:19', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806126 -2.624916)'), GeomFromEWKT('SRID=4674;POINT (-39.806026 -2.625014)'))) / (select extract(epoch from '2026-07-22 08:59:19'::timestamp) - extract(epoch from '2026-07-22 08:59:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806126 -2.624916)'), GeomFromEWKT('SRID=4674;POINT (-39.806026 -2.625014)'))) / (select extract(epoch from '2026-07-22 08:59:19'::timestamp) - extract(epoch from '2026-07-22 08:59: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'), 47870, 'SRID=4674;POINT (-39.805934 -2.625085)', '2026-07-22 08:59:25', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806026 -2.625014)'), GeomFromEWKT('SRID=4674;POINT (-39.805934 -2.625085)'))) / (select extract(epoch from '2026-07-22 08:59:25'::timestamp) - extract(epoch from '2026-07-22 08:59:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806026 -2.625014)'), GeomFromEWKT('SRID=4674;POINT (-39.805934 -2.625085)'))) / (select extract(epoch from '2026-07-22 08:59:25'::timestamp) - extract(epoch from '2026-07-22 08:59: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'), 47870, 'SRID=4674;POINT (-39.805792 -2.625171)', '2026-07-22 08:59:33', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805934 -2.625085)'), GeomFromEWKT('SRID=4674;POINT (-39.805792 -2.625171)'))) / (select extract(epoch from '2026-07-22 08:59:33'::timestamp) - extract(epoch from '2026-07-22 08:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805934 -2.625085)'), GeomFromEWKT('SRID=4674;POINT (-39.805792 -2.625171)'))) / (select extract(epoch from '2026-07-22 08:59:33'::timestamp) - extract(epoch from '2026-07-22 08:59: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'), 47870, 'SRID=4674;POINT (-39.805758 -2.625238)', '2026-07-22 08:59:38', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805792 -2.625171)'), GeomFromEWKT('SRID=4674;POINT (-39.805758 -2.625238)'))) / (select extract(epoch from '2026-07-22 08:59:38'::timestamp) - extract(epoch from '2026-07-22 08:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805792 -2.625171)'), GeomFromEWKT('SRID=4674;POINT (-39.805758 -2.625238)'))) / (select extract(epoch from '2026-07-22 08:59:38'::timestamp) - extract(epoch from '2026-07-22 08:59: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'), 47870, 'SRID=4674;POINT (-39.805751 -2.625279)', '2026-07-22 08:59:41', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805758 -2.625238)'), GeomFromEWKT('SRID=4674;POINT (-39.805751 -2.625279)'))) / (select extract(epoch from '2026-07-22 08:59:41'::timestamp) - extract(epoch from '2026-07-22 08:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805758 -2.625238)'), GeomFromEWKT('SRID=4674;POINT (-39.805751 -2.625279)'))) / (select extract(epoch from '2026-07-22 08:59:41'::timestamp) - extract(epoch from '2026-07-22 08:59: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'), 47870, 'SRID=4674;POINT (-39.80574 -2.625301)', '2026-07-22 08:59:43', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805751 -2.625279)'), GeomFromEWKT('SRID=4674;POINT (-39.80574 -2.625301)'))) / (select extract(epoch from '2026-07-22 08:59:43'::timestamp) - extract(epoch from '2026-07-22 08:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805751 -2.625279)'), GeomFromEWKT('SRID=4674;POINT (-39.80574 -2.625301)'))) / (select extract(epoch from '2026-07-22 08:59:43'::timestamp) - extract(epoch from '2026-07-22 08:59: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'), 47870, 'SRID=4674;POINT (-39.805733 -2.62534)', '2026-07-22 08:59:48', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80574 -2.625301)'), GeomFromEWKT('SRID=4674;POINT (-39.805733 -2.62534)'))) / (select extract(epoch from '2026-07-22 08:59:48'::timestamp) - extract(epoch from '2026-07-22 08:59:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80574 -2.625301)'), GeomFromEWKT('SRID=4674;POINT (-39.805733 -2.62534)'))) / (select extract(epoch from '2026-07-22 08:59:48'::timestamp) - extract(epoch from '2026-07-22 08:59: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'), 47870, 'SRID=4674;POINT (-39.805717 -2.625348)', '2026-07-22 08:59:53', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805733 -2.62534)'), GeomFromEWKT('SRID=4674;POINT (-39.805717 -2.625348)'))) / (select extract(epoch from '2026-07-22 08:59:53'::timestamp) - extract(epoch from '2026-07-22 08:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805733 -2.62534)'), GeomFromEWKT('SRID=4674;POINT (-39.805717 -2.625348)'))) / (select extract(epoch from '2026-07-22 08:59:53'::timestamp) - extract(epoch from '2026-07-22 08:59: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'), 47870, 'SRID=4674;POINT (-39.80572 -2.62534)', '2026-07-22 09:00:00', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805717 -2.625348)'), GeomFromEWKT('SRID=4674;POINT (-39.80572 -2.62534)'))) / (select extract(epoch from '2026-07-22 09:00:00'::timestamp) - extract(epoch from '2026-07-22 08:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805717 -2.625348)'), GeomFromEWKT('SRID=4674;POINT (-39.80572 -2.62534)'))) / (select extract(epoch from '2026-07-22 09:00:00'::timestamp) - extract(epoch from '2026-07-22 08:59: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'), 47870, 'SRID=4674;POINT (-39.805721 -2.625336)', '2026-07-22 09:00:01', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80572 -2.62534)'), GeomFromEWKT('SRID=4674;POINT (-39.805721 -2.625336)'))) / (select extract(epoch from '2026-07-22 09:00:01'::timestamp) - extract(epoch from '2026-07-22 09:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80572 -2.62534)'), GeomFromEWKT('SRID=4674;POINT (-39.805721 -2.625336)'))) / (select extract(epoch from '2026-07-22 09:00:01'::timestamp) - extract(epoch from '2026-07-22 09:00: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'), 47870, 'SRID=4674;POINT (-39.805749 -2.625301)', '2026-07-22 09:00:11', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805721 -2.625336)'), GeomFromEWKT('SRID=4674;POINT (-39.805749 -2.625301)'))) / (select extract(epoch from '2026-07-22 09:00:11'::timestamp) - extract(epoch from '2026-07-22 09:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805721 -2.625336)'), GeomFromEWKT('SRID=4674;POINT (-39.805749 -2.625301)'))) / (select extract(epoch from '2026-07-22 09:00:11'::timestamp) - extract(epoch from '2026-07-22 09:00: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'), 47870, 'SRID=4674;POINT (-39.805783 -2.625294)', '2026-07-22 09:00:16', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805749 -2.625301)'), GeomFromEWKT('SRID=4674;POINT (-39.805783 -2.625294)'))) / (select extract(epoch from '2026-07-22 09:00:16'::timestamp) - extract(epoch from '2026-07-22 09:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805749 -2.625301)'), GeomFromEWKT('SRID=4674;POINT (-39.805783 -2.625294)'))) / (select extract(epoch from '2026-07-22 09:00:16'::timestamp) - extract(epoch from '2026-07-22 09:00: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'), 47870, 'SRID=4674;POINT (-39.805794 -2.625293)', '2026-07-22 09:00:17', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805783 -2.625294)'), GeomFromEWKT('SRID=4674;POINT (-39.805794 -2.625293)'))) / (select extract(epoch from '2026-07-22 09:00:17'::timestamp) - extract(epoch from '2026-07-22 09:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805783 -2.625294)'), GeomFromEWKT('SRID=4674;POINT (-39.805794 -2.625293)'))) / (select extract(epoch from '2026-07-22 09:00:17'::timestamp) - extract(epoch from '2026-07-22 09:00: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'), 47870, 'SRID=4674;POINT (-39.805822 -2.62528)', '2026-07-22 09:00:23', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805794 -2.625293)'), GeomFromEWKT('SRID=4674;POINT (-39.805822 -2.62528)'))) / (select extract(epoch from '2026-07-22 09:00:23'::timestamp) - extract(epoch from '2026-07-22 09:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805794 -2.625293)'), GeomFromEWKT('SRID=4674;POINT (-39.805822 -2.62528)'))) / (select extract(epoch from '2026-07-22 09:00:23'::timestamp) - extract(epoch from '2026-07-22 09:00: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'), 47870, 'SRID=4674;POINT (-39.805825 -2.625274)', '2026-07-22 09:00:33', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805822 -2.62528)'), GeomFromEWKT('SRID=4674;POINT (-39.805825 -2.625274)'))) / (select extract(epoch from '2026-07-22 09:00:33'::timestamp) - extract(epoch from '2026-07-22 09:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805822 -2.62528)'), GeomFromEWKT('SRID=4674;POINT (-39.805825 -2.625274)'))) / (select extract(epoch from '2026-07-22 09:00:33'::timestamp) - extract(epoch from '2026-07-22 09:00: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'), 47870, 'SRID=4674;POINT (-39.805849 -2.625242)', '2026-07-22 09:00:39', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805825 -2.625274)'), GeomFromEWKT('SRID=4674;POINT (-39.805849 -2.625242)'))) / (select extract(epoch from '2026-07-22 09:00:39'::timestamp) - extract(epoch from '2026-07-22 09:00:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805825 -2.625274)'), GeomFromEWKT('SRID=4674;POINT (-39.805849 -2.625242)'))) / (select extract(epoch from '2026-07-22 09:00:39'::timestamp) - extract(epoch from '2026-07-22 09:00: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'), 47870, 'SRID=4674;POINT (-39.805864 -2.625232)', '2026-07-22 09:00:44', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805849 -2.625242)'), GeomFromEWKT('SRID=4674;POINT (-39.805864 -2.625232)'))) / (select extract(epoch from '2026-07-22 09:00:44'::timestamp) - extract(epoch from '2026-07-22 09:00:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805849 -2.625242)'), GeomFromEWKT('SRID=4674;POINT (-39.805864 -2.625232)'))) / (select extract(epoch from '2026-07-22 09:00:44'::timestamp) - extract(epoch from '2026-07-22 09:00: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'), 47870, 'SRID=4674;POINT (-39.805891 -2.625209)', '2026-07-22 09:00:50', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805864 -2.625232)'), GeomFromEWKT('SRID=4674;POINT (-39.805891 -2.625209)'))) / (select extract(epoch from '2026-07-22 09:00:50'::timestamp) - extract(epoch from '2026-07-22 09:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805864 -2.625232)'), GeomFromEWKT('SRID=4674;POINT (-39.805891 -2.625209)'))) / (select extract(epoch from '2026-07-22 09:00:50'::timestamp) - extract(epoch from '2026-07-22 09: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'), 47870, 'SRID=4674;POINT (-39.805908 -2.625157)', '2026-07-22 09:01:09', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805891 -2.625209)'), GeomFromEWKT('SRID=4674;POINT (-39.805908 -2.625157)'))) / (select extract(epoch from '2026-07-22 09:01:09'::timestamp) - extract(epoch from '2026-07-22 09:00:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805891 -2.625209)'), GeomFromEWKT('SRID=4674;POINT (-39.805908 -2.625157)'))) / (select extract(epoch from '2026-07-22 09:01:09'::timestamp) - extract(epoch from '2026-07-22 09:00: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'), 47870, 'SRID=4674;POINT (-39.80593 -2.625148)', '2026-07-22 09:01:14', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805908 -2.625157)'), GeomFromEWKT('SRID=4674;POINT (-39.80593 -2.625148)'))) / (select extract(epoch from '2026-07-22 09:01:14'::timestamp) - extract(epoch from '2026-07-22 09:01:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805908 -2.625157)'), GeomFromEWKT('SRID=4674;POINT (-39.80593 -2.625148)'))) / (select extract(epoch from '2026-07-22 09:01:14'::timestamp) - extract(epoch from '2026-07-22 09:01: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'), 47870, 'SRID=4674;POINT (-39.805942 -2.625146)', '2026-07-22 09:01:16', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80593 -2.625148)'), GeomFromEWKT('SRID=4674;POINT (-39.805942 -2.625146)'))) / (select extract(epoch from '2026-07-22 09:01:16'::timestamp) - extract(epoch from '2026-07-22 09:01:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80593 -2.625148)'), GeomFromEWKT('SRID=4674;POINT (-39.805942 -2.625146)'))) / (select extract(epoch from '2026-07-22 09:01:16'::timestamp) - extract(epoch from '2026-07-22 09:01: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'), 47870, 'SRID=4674;POINT (-39.805974 -2.625125)', '2026-07-22 09:01:24', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805942 -2.625146)'), GeomFromEWKT('SRID=4674;POINT (-39.805974 -2.625125)'))) / (select extract(epoch from '2026-07-22 09:01:24'::timestamp) - extract(epoch from '2026-07-22 09:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805942 -2.625146)'), GeomFromEWKT('SRID=4674;POINT (-39.805974 -2.625125)'))) / (select extract(epoch from '2026-07-22 09:01:24'::timestamp) - extract(epoch from '2026-07-22 09:01: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'), 47870, 'SRID=4674;POINT (-39.806026 -2.625087)', '2026-07-22 09:01:36', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805974 -2.625125)'), GeomFromEWKT('SRID=4674;POINT (-39.806026 -2.625087)'))) / (select extract(epoch from '2026-07-22 09:01:36'::timestamp) - extract(epoch from '2026-07-22 09:01:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805974 -2.625125)'), GeomFromEWKT('SRID=4674;POINT (-39.806026 -2.625087)'))) / (select extract(epoch from '2026-07-22 09:01:36'::timestamp) - extract(epoch from '2026-07-22 09: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'), 47870, 'SRID=4674;POINT (-39.806021 -2.62505)', '2026-07-22 09:01:46', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806026 -2.625087)'), GeomFromEWKT('SRID=4674;POINT (-39.806021 -2.62505)'))) / (select extract(epoch from '2026-07-22 09:01:46'::timestamp) - extract(epoch from '2026-07-22 09:01:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806026 -2.625087)'), GeomFromEWKT('SRID=4674;POINT (-39.806021 -2.62505)'))) / (select extract(epoch from '2026-07-22 09:01:46'::timestamp) - extract(epoch from '2026-07-22 09:01: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'), 47870, 'SRID=4674;POINT (-39.805977 -2.625072)', '2026-07-22 09:01:53', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806021 -2.62505)'), GeomFromEWKT('SRID=4674;POINT (-39.805977 -2.625072)'))) / (select extract(epoch from '2026-07-22 09:01:53'::timestamp) - extract(epoch from '2026-07-22 09:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806021 -2.62505)'), GeomFromEWKT('SRID=4674;POINT (-39.805977 -2.625072)'))) / (select extract(epoch from '2026-07-22 09:01:53'::timestamp) - extract(epoch from '2026-07-22 09: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'), 47870, 'SRID=4674;POINT (-39.805974 -2.625081)', '2026-07-22 09:01:54', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805977 -2.625072)'), GeomFromEWKT('SRID=4674;POINT (-39.805974 -2.625081)'))) / (select extract(epoch from '2026-07-22 09:01:54'::timestamp) - extract(epoch from '2026-07-22 09:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805977 -2.625072)'), GeomFromEWKT('SRID=4674;POINT (-39.805974 -2.625081)'))) / (select extract(epoch from '2026-07-22 09:01:54'::timestamp) - extract(epoch from '2026-07-22 09:01: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'), 47870, 'SRID=4674;POINT (-39.805976 -2.625103)', '2026-07-22 09:01:56', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805974 -2.625081)'), GeomFromEWKT('SRID=4674;POINT (-39.805976 -2.625103)'))) / (select extract(epoch from '2026-07-22 09:01:56'::timestamp) - extract(epoch from '2026-07-22 09:01:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805974 -2.625081)'), GeomFromEWKT('SRID=4674;POINT (-39.805976 -2.625103)'))) / (select extract(epoch from '2026-07-22 09:01:56'::timestamp) - extract(epoch from '2026-07-22 09:01:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.805964 -2.625132)', '2026-07-22 09:01:58', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805976 -2.625103)'), GeomFromEWKT('SRID=4674;POINT (-39.805964 -2.625132)'))) / (select extract(epoch from '2026-07-22 09:01:58'::timestamp) - extract(epoch from '2026-07-22 09:01:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805976 -2.625103)'), GeomFromEWKT('SRID=4674;POINT (-39.805964 -2.625132)'))) / (select extract(epoch from '2026-07-22 09:01:58'::timestamp) - extract(epoch from '2026-07-22 09:01: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'), 47870, 'SRID=4674;POINT (-39.805966 -2.625148)', '2026-07-22 09:01:59', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805964 -2.625132)'), GeomFromEWKT('SRID=4674;POINT (-39.805966 -2.625148)'))) / (select extract(epoch from '2026-07-22 09:01:59'::timestamp) - extract(epoch from '2026-07-22 09:01:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805964 -2.625132)'), GeomFromEWKT('SRID=4674;POINT (-39.805966 -2.625148)'))) / (select extract(epoch from '2026-07-22 09:01:59'::timestamp) - extract(epoch from '2026-07-22 09:01:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.805976 -2.62518)', '2026-07-22 09:02:01', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805966 -2.625148)'), GeomFromEWKT('SRID=4674;POINT (-39.805976 -2.62518)'))) / (select extract(epoch from '2026-07-22 09:02:01'::timestamp) - extract(epoch from '2026-07-22 09:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805966 -2.625148)'), GeomFromEWKT('SRID=4674;POINT (-39.805976 -2.62518)'))) / (select extract(epoch from '2026-07-22 09:02:01'::timestamp) - extract(epoch from '2026-07-22 09:01: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'), 47870, 'SRID=4674;POINT (-39.805973 -2.625192)', '2026-07-22 09:02:02', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805976 -2.62518)'), GeomFromEWKT('SRID=4674;POINT (-39.805973 -2.625192)'))) / (select extract(epoch from '2026-07-22 09:02:02'::timestamp) - extract(epoch from '2026-07-22 09:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805976 -2.62518)'), GeomFromEWKT('SRID=4674;POINT (-39.805973 -2.625192)'))) / (select extract(epoch from '2026-07-22 09:02:02'::timestamp) - extract(epoch from '2026-07-22 09:02: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'), 47870, 'SRID=4674;POINT (-39.805966 -2.625277)', '2026-07-22 09:02:07', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805973 -2.625192)'), GeomFromEWKT('SRID=4674;POINT (-39.805966 -2.625277)'))) / (select extract(epoch from '2026-07-22 09:02:07'::timestamp) - extract(epoch from '2026-07-22 09:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805973 -2.625192)'), GeomFromEWKT('SRID=4674;POINT (-39.805966 -2.625277)'))) / (select extract(epoch from '2026-07-22 09:02:07'::timestamp) - extract(epoch from '2026-07-22 09:02: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'), 47870, 'SRID=4674;POINT (-39.805957 -2.625377)', '2026-07-22 09:02:12', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805966 -2.625277)'), GeomFromEWKT('SRID=4674;POINT (-39.805957 -2.625377)'))) / (select extract(epoch from '2026-07-22 09:02:12'::timestamp) - extract(epoch from '2026-07-22 09:02:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805966 -2.625277)'), GeomFromEWKT('SRID=4674;POINT (-39.805957 -2.625377)'))) / (select extract(epoch from '2026-07-22 09:02:12'::timestamp) - extract(epoch from '2026-07-22 09:02: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'), 47870, 'SRID=4674;POINT (-39.805935 -2.625482)', '2026-07-22 09:02:19', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805957 -2.625377)'), GeomFromEWKT('SRID=4674;POINT (-39.805935 -2.625482)'))) / (select extract(epoch from '2026-07-22 09:02:19'::timestamp) - extract(epoch from '2026-07-22 09:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805957 -2.625377)'), GeomFromEWKT('SRID=4674;POINT (-39.805935 -2.625482)'))) / (select extract(epoch from '2026-07-22 09:02:19'::timestamp) - extract(epoch from '2026-07-22 09:02: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'), 47870, 'SRID=4674;POINT (-39.805916 -2.62556)', '2026-07-22 09:02:24', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805935 -2.625482)'), GeomFromEWKT('SRID=4674;POINT (-39.805916 -2.62556)'))) / (select extract(epoch from '2026-07-22 09:02:24'::timestamp) - extract(epoch from '2026-07-22 09:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805935 -2.625482)'), GeomFromEWKT('SRID=4674;POINT (-39.805916 -2.62556)'))) / (select extract(epoch from '2026-07-22 09:02:24'::timestamp) - extract(epoch from '2026-07-22 09:02:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.805919 -2.6256)', '2026-07-22 09:02:26', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805916 -2.62556)'), GeomFromEWKT('SRID=4674;POINT (-39.805919 -2.6256)'))) / (select extract(epoch from '2026-07-22 09:02:26'::timestamp) - extract(epoch from '2026-07-22 09:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805916 -2.62556)'), GeomFromEWKT('SRID=4674;POINT (-39.805919 -2.6256)'))) / (select extract(epoch from '2026-07-22 09:02:26'::timestamp) - extract(epoch from '2026-07-22 09:02: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'), 47870, 'SRID=4674;POINT (-39.805898 -2.625645)', '2026-07-22 09:02:29', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805919 -2.6256)'), GeomFromEWKT('SRID=4674;POINT (-39.805898 -2.625645)'))) / (select extract(epoch from '2026-07-22 09:02:29'::timestamp) - extract(epoch from '2026-07-22 09:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805919 -2.6256)'), GeomFromEWKT('SRID=4674;POINT (-39.805898 -2.625645)'))) / (select extract(epoch from '2026-07-22 09:02:29'::timestamp) - extract(epoch from '2026-07-22 09:02:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.805846 -2.625723)', '2026-07-22 09:02:35', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805898 -2.625645)'), GeomFromEWKT('SRID=4674;POINT (-39.805846 -2.625723)'))) / (select extract(epoch from '2026-07-22 09:02:35'::timestamp) - extract(epoch from '2026-07-22 09:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805898 -2.625645)'), GeomFromEWKT('SRID=4674;POINT (-39.805846 -2.625723)'))) / (select extract(epoch from '2026-07-22 09:02:35'::timestamp) - extract(epoch from '2026-07-22 09:02: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'), 47870, 'SRID=4674;POINT (-39.805784 -2.625787)', '2026-07-22 09:02:41', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805846 -2.625723)'), GeomFromEWKT('SRID=4674;POINT (-39.805784 -2.625787)'))) / (select extract(epoch from '2026-07-22 09:02:41'::timestamp) - extract(epoch from '2026-07-22 09:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805846 -2.625723)'), GeomFromEWKT('SRID=4674;POINT (-39.805784 -2.625787)'))) / (select extract(epoch from '2026-07-22 09:02:41'::timestamp) - extract(epoch from '2026-07-22 09:02: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'), 47870, 'SRID=4674;POINT (-39.805718 -2.625847)', '2026-07-22 09:02:47', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805784 -2.625787)'), GeomFromEWKT('SRID=4674;POINT (-39.805718 -2.625847)'))) / (select extract(epoch from '2026-07-22 09:02:47'::timestamp) - extract(epoch from '2026-07-22 09:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805784 -2.625787)'), GeomFromEWKT('SRID=4674;POINT (-39.805718 -2.625847)'))) / (select extract(epoch from '2026-07-22 09:02:47'::timestamp) - extract(epoch from '2026-07-22 09:02:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.805655 -2.625901)', '2026-07-22 09:02:53', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805718 -2.625847)'), GeomFromEWKT('SRID=4674;POINT (-39.805655 -2.625901)'))) / (select extract(epoch from '2026-07-22 09:02:53'::timestamp) - extract(epoch from '2026-07-22 09:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805718 -2.625847)'), GeomFromEWKT('SRID=4674;POINT (-39.805655 -2.625901)'))) / (select extract(epoch from '2026-07-22 09:02:53'::timestamp) - extract(epoch from '2026-07-22 09:02:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.805598 -2.625947)', '2026-07-22 09:02:58', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805655 -2.625901)'), GeomFromEWKT('SRID=4674;POINT (-39.805598 -2.625947)'))) / (select extract(epoch from '2026-07-22 09:02:58'::timestamp) - extract(epoch from '2026-07-22 09:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805655 -2.625901)'), GeomFromEWKT('SRID=4674;POINT (-39.805598 -2.625947)'))) / (select extract(epoch from '2026-07-22 09:02:58'::timestamp) - extract(epoch from '2026-07-22 09:02: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'), 47870, 'SRID=4674;POINT (-39.805528 -2.626003)', '2026-07-22 09:03:04', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805598 -2.625947)'), GeomFromEWKT('SRID=4674;POINT (-39.805528 -2.626003)'))) / (select extract(epoch from '2026-07-22 09:03:04'::timestamp) - extract(epoch from '2026-07-22 09:02:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805598 -2.625947)'), GeomFromEWKT('SRID=4674;POINT (-39.805528 -2.626003)'))) / (select extract(epoch from '2026-07-22 09:03:04'::timestamp) - extract(epoch from '2026-07-22 09:02: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'), 47870, 'SRID=4674;POINT (-39.805478 -2.62606)', '2026-07-22 09:03:10', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805528 -2.626003)'), GeomFromEWKT('SRID=4674;POINT (-39.805478 -2.62606)'))) / (select extract(epoch from '2026-07-22 09:03:10'::timestamp) - extract(epoch from '2026-07-22 09:03:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805528 -2.626003)'), GeomFromEWKT('SRID=4674;POINT (-39.805478 -2.62606)'))) / (select extract(epoch from '2026-07-22 09:03:10'::timestamp) - extract(epoch from '2026-07-22 09:03: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'), 47870, 'SRID=4674;POINT (-39.805418 -2.626124)', '2026-07-22 09:03:15', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805478 -2.62606)'), GeomFromEWKT('SRID=4674;POINT (-39.805418 -2.626124)'))) / (select extract(epoch from '2026-07-22 09:03:15'::timestamp) - extract(epoch from '2026-07-22 09:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805478 -2.62606)'), GeomFromEWKT('SRID=4674;POINT (-39.805418 -2.626124)'))) / (select extract(epoch from '2026-07-22 09:03:15'::timestamp) - extract(epoch from '2026-07-22 09:03: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'), 47870, 'SRID=4674;POINT (-39.805329 -2.62617)', '2026-07-22 09:03:21', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805418 -2.626124)'), GeomFromEWKT('SRID=4674;POINT (-39.805329 -2.62617)'))) / (select extract(epoch from '2026-07-22 09:03:21'::timestamp) - extract(epoch from '2026-07-22 09:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805418 -2.626124)'), GeomFromEWKT('SRID=4674;POINT (-39.805329 -2.62617)'))) / (select extract(epoch from '2026-07-22 09:03:21'::timestamp) - extract(epoch from '2026-07-22 09:03:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.8053 -2.62618)', '2026-07-22 09:03:23', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805329 -2.62617)'), GeomFromEWKT('SRID=4674;POINT (-39.8053 -2.62618)'))) / (select extract(epoch from '2026-07-22 09:03:23'::timestamp) - extract(epoch from '2026-07-22 09:03:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805329 -2.62617)'), GeomFromEWKT('SRID=4674;POINT (-39.8053 -2.62618)'))) / (select extract(epoch from '2026-07-22 09:03:23'::timestamp) - extract(epoch from '2026-07-22 09:03: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'), 47870, 'SRID=4674;POINT (-39.805277 -2.626188)', '2026-07-22 09:03:25', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8053 -2.62618)'), GeomFromEWKT('SRID=4674;POINT (-39.805277 -2.626188)'))) / (select extract(epoch from '2026-07-22 09:03:25'::timestamp) - extract(epoch from '2026-07-22 09:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8053 -2.62618)'), GeomFromEWKT('SRID=4674;POINT (-39.805277 -2.626188)'))) / (select extract(epoch from '2026-07-22 09:03:25'::timestamp) - extract(epoch from '2026-07-22 09:03:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.805262 -2.626188)', '2026-07-22 09:03:26', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805277 -2.626188)'), GeomFromEWKT('SRID=4674;POINT (-39.805262 -2.626188)'))) / (select extract(epoch from '2026-07-22 09:03:26'::timestamp) - extract(epoch from '2026-07-22 09:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805277 -2.626188)'), GeomFromEWKT('SRID=4674;POINT (-39.805262 -2.626188)'))) / (select extract(epoch from '2026-07-22 09:03:26'::timestamp) - extract(epoch from '2026-07-22 09:03: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'), 47870, 'SRID=4674;POINT (-39.80523 -2.626193)', '2026-07-22 09:03:29', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805262 -2.626188)'), GeomFromEWKT('SRID=4674;POINT (-39.80523 -2.626193)'))) / (select extract(epoch from '2026-07-22 09:03:29'::timestamp) - extract(epoch from '2026-07-22 09:03:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805262 -2.626188)'), GeomFromEWKT('SRID=4674;POINT (-39.80523 -2.626193)'))) / (select extract(epoch from '2026-07-22 09:03:29'::timestamp) - extract(epoch from '2026-07-22 09:03: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'), 47870, 'SRID=4674;POINT (-39.805214 -2.626201)', '2026-07-22 09:03:31', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80523 -2.626193)'), GeomFromEWKT('SRID=4674;POINT (-39.805214 -2.626201)'))) / (select extract(epoch from '2026-07-22 09:03:31'::timestamp) - extract(epoch from '2026-07-22 09:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80523 -2.626193)'), GeomFromEWKT('SRID=4674;POINT (-39.805214 -2.626201)'))) / (select extract(epoch from '2026-07-22 09:03:31'::timestamp) - extract(epoch from '2026-07-22 09:03: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'), 47870, 'SRID=4674;POINT (-39.805205 -2.626202)', '2026-07-22 09:03:32', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805214 -2.626201)'), GeomFromEWKT('SRID=4674;POINT (-39.805205 -2.626202)'))) / (select extract(epoch from '2026-07-22 09:03:32'::timestamp) - extract(epoch from '2026-07-22 09:03:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805214 -2.626201)'), GeomFromEWKT('SRID=4674;POINT (-39.805205 -2.626202)'))) / (select extract(epoch from '2026-07-22 09:03:32'::timestamp) - extract(epoch from '2026-07-22 09:03:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.805182 -2.626201)', '2026-07-22 09:03:34', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805205 -2.626202)'), GeomFromEWKT('SRID=4674;POINT (-39.805182 -2.626201)'))) / (select extract(epoch from '2026-07-22 09:03:34'::timestamp) - extract(epoch from '2026-07-22 09:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805205 -2.626202)'), GeomFromEWKT('SRID=4674;POINT (-39.805182 -2.626201)'))) / (select extract(epoch from '2026-07-22 09:03:34'::timestamp) - extract(epoch from '2026-07-22 09:03:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.805149 -2.626203)', '2026-07-22 09:03:37', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805182 -2.626201)'), GeomFromEWKT('SRID=4674;POINT (-39.805149 -2.626203)'))) / (select extract(epoch from '2026-07-22 09:03:37'::timestamp) - extract(epoch from '2026-07-22 09:03:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805182 -2.626201)'), GeomFromEWKT('SRID=4674;POINT (-39.805149 -2.626203)'))) / (select extract(epoch from '2026-07-22 09:03:37'::timestamp) - extract(epoch from '2026-07-22 09:03:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.805076 -2.626185)', '2026-07-22 09:03:44', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805149 -2.626203)'), GeomFromEWKT('SRID=4674;POINT (-39.805076 -2.626185)'))) / (select extract(epoch from '2026-07-22 09:03:44'::timestamp) - extract(epoch from '2026-07-22 09:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805149 -2.626203)'), GeomFromEWKT('SRID=4674;POINT (-39.805076 -2.626185)'))) / (select extract(epoch from '2026-07-22 09:03:44'::timestamp) - extract(epoch from '2026-07-22 09:03: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'), 47870, 'SRID=4674;POINT (-39.805048 -2.626176)', '2026-07-22 09:03:49', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805076 -2.626185)'), GeomFromEWKT('SRID=4674;POINT (-39.805048 -2.626176)'))) / (select extract(epoch from '2026-07-22 09:03:49'::timestamp) - extract(epoch from '2026-07-22 09:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805076 -2.626185)'), GeomFromEWKT('SRID=4674;POINT (-39.805048 -2.626176)'))) / (select extract(epoch from '2026-07-22 09:03:49'::timestamp) - extract(epoch from '2026-07-22 09:03: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'), 47870, 'SRID=4674;POINT (-39.805036 -2.626168)', '2026-07-22 09:03:59', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805048 -2.626176)'), GeomFromEWKT('SRID=4674;POINT (-39.805036 -2.626168)'))) / (select extract(epoch from '2026-07-22 09:03:59'::timestamp) - extract(epoch from '2026-07-22 09:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805048 -2.626176)'), GeomFromEWKT('SRID=4674;POINT (-39.805036 -2.626168)'))) / (select extract(epoch from '2026-07-22 09:03:59'::timestamp) - extract(epoch from '2026-07-22 09:03: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'), 47870, 'SRID=4674;POINT (-39.805084 -2.626128)', '2026-07-22 09:04:13', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805036 -2.626168)'), GeomFromEWKT('SRID=4674;POINT (-39.805084 -2.626128)'))) / (select extract(epoch from '2026-07-22 09:04:13'::timestamp) - extract(epoch from '2026-07-22 09:03:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805036 -2.626168)'), GeomFromEWKT('SRID=4674;POINT (-39.805084 -2.626128)'))) / (select extract(epoch from '2026-07-22 09:04:13'::timestamp) - extract(epoch from '2026-07-22 09:03: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'), 47870, 'SRID=4674;POINT (-39.805123 -2.62609)', '2026-07-22 09:04:22', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805084 -2.626128)'), GeomFromEWKT('SRID=4674;POINT (-39.805123 -2.62609)'))) / (select extract(epoch from '2026-07-22 09:04:22'::timestamp) - extract(epoch from '2026-07-22 09:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805084 -2.626128)'), GeomFromEWKT('SRID=4674;POINT (-39.805123 -2.62609)'))) / (select extract(epoch from '2026-07-22 09:04:22'::timestamp) - extract(epoch from '2026-07-22 09:04: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'), 47870, 'SRID=4674;POINT (-39.805173 -2.626059)', '2026-07-22 09:04:31', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805123 -2.62609)'), GeomFromEWKT('SRID=4674;POINT (-39.805173 -2.626059)'))) / (select extract(epoch from '2026-07-22 09:04:31'::timestamp) - extract(epoch from '2026-07-22 09:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805123 -2.62609)'), GeomFromEWKT('SRID=4674;POINT (-39.805173 -2.626059)'))) / (select extract(epoch from '2026-07-22 09:04:31'::timestamp) - extract(epoch from '2026-07-22 09:04: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'), 47870, 'SRID=4674;POINT (-39.805226 -2.626029)', '2026-07-22 09:04:41', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805173 -2.626059)'), GeomFromEWKT('SRID=4674;POINT (-39.805226 -2.626029)'))) / (select extract(epoch from '2026-07-22 09:04:41'::timestamp) - extract(epoch from '2026-07-22 09:04:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805173 -2.626059)'), GeomFromEWKT('SRID=4674;POINT (-39.805226 -2.626029)'))) / (select extract(epoch from '2026-07-22 09:04:41'::timestamp) - extract(epoch from '2026-07-22 09:04: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'), 47870, 'SRID=4674;POINT (-39.805257 -2.62599)', '2026-07-22 09:04:50', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805226 -2.626029)'), GeomFromEWKT('SRID=4674;POINT (-39.805257 -2.62599)'))) / (select extract(epoch from '2026-07-22 09:04:50'::timestamp) - extract(epoch from '2026-07-22 09:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805226 -2.626029)'), GeomFromEWKT('SRID=4674;POINT (-39.805257 -2.62599)'))) / (select extract(epoch from '2026-07-22 09:04:50'::timestamp) - extract(epoch from '2026-07-22 09:04: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'), 47870, 'SRID=4674;POINT (-39.80528 -2.625973)', '2026-07-22 09:04:59', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805257 -2.62599)'), GeomFromEWKT('SRID=4674;POINT (-39.80528 -2.625973)'))) / (select extract(epoch from '2026-07-22 09:04:59'::timestamp) - extract(epoch from '2026-07-22 09:04:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805257 -2.62599)'), GeomFromEWKT('SRID=4674;POINT (-39.80528 -2.625973)'))) / (select extract(epoch from '2026-07-22 09:04:59'::timestamp) - extract(epoch from '2026-07-22 09:04: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'), 47870, 'SRID=4674;POINT (-39.8053 -2.625967)', '2026-07-22 09:05:13', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80528 -2.625973)'), GeomFromEWKT('SRID=4674;POINT (-39.8053 -2.625967)'))) / (select extract(epoch from '2026-07-22 09:05:13'::timestamp) - extract(epoch from '2026-07-22 09:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80528 -2.625973)'), GeomFromEWKT('SRID=4674;POINT (-39.8053 -2.625967)'))) / (select extract(epoch from '2026-07-22 09:05:13'::timestamp) - extract(epoch from '2026-07-22 09:04:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.805345 -2.625942)', '2026-07-22 09:05:34', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8053 -2.625967)'), GeomFromEWKT('SRID=4674;POINT (-39.805345 -2.625942)'))) / (select extract(epoch from '2026-07-22 09:05:34'::timestamp) - extract(epoch from '2026-07-22 09:05:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8053 -2.625967)'), GeomFromEWKT('SRID=4674;POINT (-39.805345 -2.625942)'))) / (select extract(epoch from '2026-07-22 09:05:34'::timestamp) - extract(epoch from '2026-07-22 09:05:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.805355 -2.625921)', '2026-07-22 09:05:39', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805345 -2.625942)'), GeomFromEWKT('SRID=4674;POINT (-39.805355 -2.625921)'))) / (select extract(epoch from '2026-07-22 09:05:39'::timestamp) - extract(epoch from '2026-07-22 09:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805345 -2.625942)'), GeomFromEWKT('SRID=4674;POINT (-39.805355 -2.625921)'))) / (select extract(epoch from '2026-07-22 09:05:39'::timestamp) - extract(epoch from '2026-07-22 09:05:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80532 -2.625932)', '2026-07-22 09:05:46', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805355 -2.625921)'), GeomFromEWKT('SRID=4674;POINT (-39.80532 -2.625932)'))) / (select extract(epoch from '2026-07-22 09:05:46'::timestamp) - extract(epoch from '2026-07-22 09:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805355 -2.625921)'), GeomFromEWKT('SRID=4674;POINT (-39.80532 -2.625932)'))) / (select extract(epoch from '2026-07-22 09:05:46'::timestamp) - extract(epoch from '2026-07-22 09:05:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.805305 -2.625955)', '2026-07-22 09:05:48', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80532 -2.625932)'), GeomFromEWKT('SRID=4674;POINT (-39.805305 -2.625955)'))) / (select extract(epoch from '2026-07-22 09:05:48'::timestamp) - extract(epoch from '2026-07-22 09:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80532 -2.625932)'), GeomFromEWKT('SRID=4674;POINT (-39.805305 -2.625955)'))) / (select extract(epoch from '2026-07-22 09:05:48'::timestamp) - extract(epoch from '2026-07-22 09:05: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'), 47870, 'SRID=4674;POINT (-39.805276 -2.626055)', '2026-07-22 09:05:55', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805305 -2.625955)'), GeomFromEWKT('SRID=4674;POINT (-39.805276 -2.626055)'))) / (select extract(epoch from '2026-07-22 09:05:55'::timestamp) - extract(epoch from '2026-07-22 09:05:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805305 -2.625955)'), GeomFromEWKT('SRID=4674;POINT (-39.805276 -2.626055)'))) / (select extract(epoch from '2026-07-22 09:05:55'::timestamp) - extract(epoch from '2026-07-22 09:05: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'), 47870, 'SRID=4674;POINT (-39.805263 -2.626175)', '2026-07-22 09:06:01', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805276 -2.626055)'), GeomFromEWKT('SRID=4674;POINT (-39.805263 -2.626175)'))) / (select extract(epoch from '2026-07-22 09:06:01'::timestamp) - extract(epoch from '2026-07-22 09:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805276 -2.626055)'), GeomFromEWKT('SRID=4674;POINT (-39.805263 -2.626175)'))) / (select extract(epoch from '2026-07-22 09:06:01'::timestamp) - extract(epoch from '2026-07-22 09:05: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'), 47870, 'SRID=4674;POINT (-39.805252 -2.626303)', '2026-07-22 09:06:07', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805263 -2.626175)'), GeomFromEWKT('SRID=4674;POINT (-39.805252 -2.626303)'))) / (select extract(epoch from '2026-07-22 09:06:07'::timestamp) - extract(epoch from '2026-07-22 09:06:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805263 -2.626175)'), GeomFromEWKT('SRID=4674;POINT (-39.805252 -2.626303)'))) / (select extract(epoch from '2026-07-22 09:06:07'::timestamp) - extract(epoch from '2026-07-22 09:06: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'), 47870, 'SRID=4674;POINT (-39.805213 -2.626421)', '2026-07-22 09:06:13', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805252 -2.626303)'), GeomFromEWKT('SRID=4674;POINT (-39.805213 -2.626421)'))) / (select extract(epoch from '2026-07-22 09:06:13'::timestamp) - extract(epoch from '2026-07-22 09:06:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805252 -2.626303)'), GeomFromEWKT('SRID=4674;POINT (-39.805213 -2.626421)'))) / (select extract(epoch from '2026-07-22 09:06:13'::timestamp) - extract(epoch from '2026-07-22 09:06: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'), 47870, 'SRID=4674;POINT (-39.805157 -2.626525)', '2026-07-22 09:06:19', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805213 -2.626421)'), GeomFromEWKT('SRID=4674;POINT (-39.805157 -2.626525)'))) / (select extract(epoch from '2026-07-22 09:06:19'::timestamp) - extract(epoch from '2026-07-22 09:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805213 -2.626421)'), GeomFromEWKT('SRID=4674;POINT (-39.805157 -2.626525)'))) / (select extract(epoch from '2026-07-22 09:06:19'::timestamp) - extract(epoch from '2026-07-22 09:06: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'), 47870, 'SRID=4674;POINT (-39.805127 -2.6266)', '2026-07-22 09:06:24', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805157 -2.626525)'), GeomFromEWKT('SRID=4674;POINT (-39.805127 -2.6266)'))) / (select extract(epoch from '2026-07-22 09:06:24'::timestamp) - extract(epoch from '2026-07-22 09:06:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805157 -2.626525)'), GeomFromEWKT('SRID=4674;POINT (-39.805127 -2.6266)'))) / (select extract(epoch from '2026-07-22 09:06:24'::timestamp) - extract(epoch from '2026-07-22 09:06: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'), 47870, 'SRID=4674;POINT (-39.80509 -2.626709)', '2026-07-22 09:06:30', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805127 -2.6266)'), GeomFromEWKT('SRID=4674;POINT (-39.80509 -2.626709)'))) / (select extract(epoch from '2026-07-22 09:06:30'::timestamp) - extract(epoch from '2026-07-22 09:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805127 -2.6266)'), GeomFromEWKT('SRID=4674;POINT (-39.80509 -2.626709)'))) / (select extract(epoch from '2026-07-22 09:06:30'::timestamp) - extract(epoch from '2026-07-22 09:06:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.805075 -2.626808)', '2026-07-22 09:06:35', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80509 -2.626709)'), GeomFromEWKT('SRID=4674;POINT (-39.805075 -2.626808)'))) / (select extract(epoch from '2026-07-22 09:06:35'::timestamp) - extract(epoch from '2026-07-22 09:06:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80509 -2.626709)'), GeomFromEWKT('SRID=4674;POINT (-39.805075 -2.626808)'))) / (select extract(epoch from '2026-07-22 09:06:35'::timestamp) - extract(epoch from '2026-07-22 09: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'), 47870, 'SRID=4674;POINT (-39.805035 -2.626945)', '2026-07-22 09:06:43', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805075 -2.626808)'), GeomFromEWKT('SRID=4674;POINT (-39.805035 -2.626945)'))) / (select extract(epoch from '2026-07-22 09:06:43'::timestamp) - extract(epoch from '2026-07-22 09:06:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805075 -2.626808)'), GeomFromEWKT('SRID=4674;POINT (-39.805035 -2.626945)'))) / (select extract(epoch from '2026-07-22 09:06:43'::timestamp) - extract(epoch from '2026-07-22 09:06: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'), 47870, 'SRID=4674;POINT (-39.804989 -2.627031)', '2026-07-22 09:06:50', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805035 -2.626945)'), GeomFromEWKT('SRID=4674;POINT (-39.804989 -2.627031)'))) / (select extract(epoch from '2026-07-22 09:06:50'::timestamp) - extract(epoch from '2026-07-22 09:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805035 -2.626945)'), GeomFromEWKT('SRID=4674;POINT (-39.804989 -2.627031)'))) / (select extract(epoch from '2026-07-22 09:06:50'::timestamp) - extract(epoch from '2026-07-22 09:06:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.804961 -2.627123)', '2026-07-22 09:06:56', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804989 -2.627031)'), GeomFromEWKT('SRID=4674;POINT (-39.804961 -2.627123)'))) / (select extract(epoch from '2026-07-22 09:06:56'::timestamp) - extract(epoch from '2026-07-22 09:06:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804989 -2.627031)'), GeomFromEWKT('SRID=4674;POINT (-39.804961 -2.627123)'))) / (select extract(epoch from '2026-07-22 09:06:56'::timestamp) - extract(epoch from '2026-07-22 09:06:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.804886 -2.627213)', '2026-07-22 09:07:03', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804961 -2.627123)'), GeomFromEWKT('SRID=4674;POINT (-39.804886 -2.627213)'))) / (select extract(epoch from '2026-07-22 09:07:03'::timestamp) - extract(epoch from '2026-07-22 09:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804961 -2.627123)'), GeomFromEWKT('SRID=4674;POINT (-39.804886 -2.627213)'))) / (select extract(epoch from '2026-07-22 09:07:03'::timestamp) - extract(epoch from '2026-07-22 09: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'), 47870, 'SRID=4674;POINT (-39.80476 -2.627244)', '2026-07-22 09:07:10', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804886 -2.627213)'), GeomFromEWKT('SRID=4674;POINT (-39.80476 -2.627244)'))) / (select extract(epoch from '2026-07-22 09:07:10'::timestamp) - extract(epoch from '2026-07-22 09:07:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804886 -2.627213)'), GeomFromEWKT('SRID=4674;POINT (-39.80476 -2.627244)'))) / (select extract(epoch from '2026-07-22 09:07:10'::timestamp) - extract(epoch from '2026-07-22 09:07:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.804673 -2.627232)', '2026-07-22 09:07:16', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80476 -2.627244)'), GeomFromEWKT('SRID=4674;POINT (-39.804673 -2.627232)'))) / (select extract(epoch from '2026-07-22 09:07:16'::timestamp) - extract(epoch from '2026-07-22 09:07:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80476 -2.627244)'), GeomFromEWKT('SRID=4674;POINT (-39.804673 -2.627232)'))) / (select extract(epoch from '2026-07-22 09:07:16'::timestamp) - extract(epoch from '2026-07-22 09:07: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'), 47870, 'SRID=4674;POINT (-39.804659 -2.627218)', '2026-07-22 09:07:18', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804673 -2.627232)'), GeomFromEWKT('SRID=4674;POINT (-39.804659 -2.627218)'))) / (select extract(epoch from '2026-07-22 09:07:18'::timestamp) - extract(epoch from '2026-07-22 09:07:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804673 -2.627232)'), GeomFromEWKT('SRID=4674;POINT (-39.804659 -2.627218)'))) / (select extract(epoch from '2026-07-22 09:07:18'::timestamp) - extract(epoch from '2026-07-22 09:07:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.804635 -2.627201)', '2026-07-22 09:07:21', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804659 -2.627218)'), GeomFromEWKT('SRID=4674;POINT (-39.804635 -2.627201)'))) / (select extract(epoch from '2026-07-22 09:07:21'::timestamp) - extract(epoch from '2026-07-22 09:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804659 -2.627218)'), GeomFromEWKT('SRID=4674;POINT (-39.804635 -2.627201)'))) / (select extract(epoch from '2026-07-22 09:07:21'::timestamp) - extract(epoch from '2026-07-22 09: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'), 47870, 'SRID=4674;POINT (-39.804616 -2.627159)', '2026-07-22 09:07:28', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804635 -2.627201)'), GeomFromEWKT('SRID=4674;POINT (-39.804616 -2.627159)'))) / (select extract(epoch from '2026-07-22 09:07:28'::timestamp) - extract(epoch from '2026-07-22 09:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804635 -2.627201)'), GeomFromEWKT('SRID=4674;POINT (-39.804616 -2.627159)'))) / (select extract(epoch from '2026-07-22 09:07:28'::timestamp) - extract(epoch from '2026-07-22 09:07:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.804605 -2.627108)', '2026-07-22 09:07:40', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804616 -2.627159)'), GeomFromEWKT('SRID=4674;POINT (-39.804605 -2.627108)'))) / (select extract(epoch from '2026-07-22 09:07:40'::timestamp) - extract(epoch from '2026-07-22 09:07:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804616 -2.627159)'), GeomFromEWKT('SRID=4674;POINT (-39.804605 -2.627108)'))) / (select extract(epoch from '2026-07-22 09:07:40'::timestamp) - extract(epoch from '2026-07-22 09:07:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.804647 -2.627071)', '2026-07-22 09:07:52', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804605 -2.627108)'), GeomFromEWKT('SRID=4674;POINT (-39.804647 -2.627071)'))) / (select extract(epoch from '2026-07-22 09:07:52'::timestamp) - extract(epoch from '2026-07-22 09:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804605 -2.627108)'), GeomFromEWKT('SRID=4674;POINT (-39.804647 -2.627071)'))) / (select extract(epoch from '2026-07-22 09:07:52'::timestamp) - extract(epoch from '2026-07-22 09:07: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'), 47870, 'SRID=4674;POINT (-39.804689 -2.627035)', '2026-07-22 09:07:59', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804647 -2.627071)'), GeomFromEWKT('SRID=4674;POINT (-39.804689 -2.627035)'))) / (select extract(epoch from '2026-07-22 09:07:59'::timestamp) - extract(epoch from '2026-07-22 09:07:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804647 -2.627071)'), GeomFromEWKT('SRID=4674;POINT (-39.804689 -2.627035)'))) / (select extract(epoch from '2026-07-22 09:07:59'::timestamp) - extract(epoch from '2026-07-22 09:07:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.804695 -2.627032)', '2026-07-22 09:08:00', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804689 -2.627035)'), GeomFromEWKT('SRID=4674;POINT (-39.804695 -2.627032)'))) / (select extract(epoch from '2026-07-22 09:08:00'::timestamp) - extract(epoch from '2026-07-22 09:07:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804689 -2.627035)'), GeomFromEWKT('SRID=4674;POINT (-39.804695 -2.627032)'))) / (select extract(epoch from '2026-07-22 09:08:00'::timestamp) - extract(epoch from '2026-07-22 09:07: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'), 47870, 'SRID=4674;POINT (-39.804726 -2.627005)', '2026-07-22 09:08:06', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804695 -2.627032)'), GeomFromEWKT('SRID=4674;POINT (-39.804726 -2.627005)'))) / (select extract(epoch from '2026-07-22 09:08:06'::timestamp) - extract(epoch from '2026-07-22 09:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804695 -2.627032)'), GeomFromEWKT('SRID=4674;POINT (-39.804726 -2.627005)'))) / (select extract(epoch from '2026-07-22 09:08:06'::timestamp) - extract(epoch from '2026-07-22 09:08:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80475 -2.626936)', '2026-07-22 09:08:17', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804726 -2.627005)'), GeomFromEWKT('SRID=4674;POINT (-39.80475 -2.626936)'))) / (select extract(epoch from '2026-07-22 09:08:17'::timestamp) - extract(epoch from '2026-07-22 09:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804726 -2.627005)'), GeomFromEWKT('SRID=4674;POINT (-39.80475 -2.626936)'))) / (select extract(epoch from '2026-07-22 09:08:17'::timestamp) - extract(epoch from '2026-07-22 09:08:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.804778 -2.626923)', '2026-07-22 09:08:24', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80475 -2.626936)'), GeomFromEWKT('SRID=4674;POINT (-39.804778 -2.626923)'))) / (select extract(epoch from '2026-07-22 09:08:24'::timestamp) - extract(epoch from '2026-07-22 09:08:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80475 -2.626936)'), GeomFromEWKT('SRID=4674;POINT (-39.804778 -2.626923)'))) / (select extract(epoch from '2026-07-22 09:08:24'::timestamp) - extract(epoch from '2026-07-22 09:08:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.804786 -2.626922)', '2026-07-22 09:08:25', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804778 -2.626923)'), GeomFromEWKT('SRID=4674;POINT (-39.804786 -2.626922)'))) / (select extract(epoch from '2026-07-22 09:08:25'::timestamp) - extract(epoch from '2026-07-22 09:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804778 -2.626923)'), GeomFromEWKT('SRID=4674;POINT (-39.804786 -2.626922)'))) / (select extract(epoch from '2026-07-22 09:08:25'::timestamp) - extract(epoch from '2026-07-22 09:08:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.804836 -2.626889)', '2026-07-22 09:08:33', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804786 -2.626922)'), GeomFromEWKT('SRID=4674;POINT (-39.804836 -2.626889)'))) / (select extract(epoch from '2026-07-22 09:08:33'::timestamp) - extract(epoch from '2026-07-22 09:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804786 -2.626922)'), GeomFromEWKT('SRID=4674;POINT (-39.804836 -2.626889)'))) / (select extract(epoch from '2026-07-22 09:08:33'::timestamp) - extract(epoch from '2026-07-22 09:08:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80486 -2.626869)', '2026-07-22 09:08:43', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804836 -2.626889)'), GeomFromEWKT('SRID=4674;POINT (-39.80486 -2.626869)'))) / (select extract(epoch from '2026-07-22 09:08:43'::timestamp) - extract(epoch from '2026-07-22 09:08:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804836 -2.626889)'), GeomFromEWKT('SRID=4674;POINT (-39.80486 -2.626869)'))) / (select extract(epoch from '2026-07-22 09:08:43'::timestamp) - extract(epoch from '2026-07-22 09:08:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.804896 -2.626845)', '2026-07-22 09:08:58', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80486 -2.626869)'), GeomFromEWKT('SRID=4674;POINT (-39.804896 -2.626845)'))) / (select extract(epoch from '2026-07-22 09:08:58'::timestamp) - extract(epoch from '2026-07-22 09:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80486 -2.626869)'), GeomFromEWKT('SRID=4674;POINT (-39.804896 -2.626845)'))) / (select extract(epoch from '2026-07-22 09:08:58'::timestamp) - extract(epoch from '2026-07-22 09:08:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.804928 -2.626824)', '2026-07-22 09:09:21', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804896 -2.626845)'), GeomFromEWKT('SRID=4674;POINT (-39.804928 -2.626824)'))) / (select extract(epoch from '2026-07-22 09:09:21'::timestamp) - extract(epoch from '2026-07-22 09:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804896 -2.626845)'), GeomFromEWKT('SRID=4674;POINT (-39.804928 -2.626824)'))) / (select extract(epoch from '2026-07-22 09:09:21'::timestamp) - extract(epoch from '2026-07-22 09: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'), 47870, 'SRID=4674;POINT (-39.804951 -2.626814)', '2026-07-22 09:09:26', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804928 -2.626824)'), GeomFromEWKT('SRID=4674;POINT (-39.804951 -2.626814)'))) / (select extract(epoch from '2026-07-22 09:09:26'::timestamp) - extract(epoch from '2026-07-22 09:09:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804928 -2.626824)'), GeomFromEWKT('SRID=4674;POINT (-39.804951 -2.626814)'))) / (select extract(epoch from '2026-07-22 09:09:26'::timestamp) - extract(epoch from '2026-07-22 09: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'), 47870, 'SRID=4674;POINT (-39.804959 -2.626819)', '2026-07-22 09:09:27', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804951 -2.626814)'), GeomFromEWKT('SRID=4674;POINT (-39.804959 -2.626819)'))) / (select extract(epoch from '2026-07-22 09:09:27'::timestamp) - extract(epoch from '2026-07-22 09:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804951 -2.626814)'), GeomFromEWKT('SRID=4674;POINT (-39.804959 -2.626819)'))) / (select extract(epoch from '2026-07-22 09:09:27'::timestamp) - extract(epoch from '2026-07-22 09:09: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'), 47870, 'SRID=4674;POINT (-39.805012 -2.626791)', '2026-07-22 09:09:35', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804959 -2.626819)'), GeomFromEWKT('SRID=4674;POINT (-39.805012 -2.626791)'))) / (select extract(epoch from '2026-07-22 09:09:35'::timestamp) - extract(epoch from '2026-07-22 09:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804959 -2.626819)'), GeomFromEWKT('SRID=4674;POINT (-39.805012 -2.626791)'))) / (select extract(epoch from '2026-07-22 09:09:35'::timestamp) - extract(epoch from '2026-07-22 09:09: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'), 47870, 'SRID=4674;POINT (-39.805065 -2.62677)', '2026-07-22 09:09:45', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805012 -2.626791)'), GeomFromEWKT('SRID=4674;POINT (-39.805065 -2.62677)'))) / (select extract(epoch from '2026-07-22 09:09:45'::timestamp) - extract(epoch from '2026-07-22 09:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805012 -2.626791)'), GeomFromEWKT('SRID=4674;POINT (-39.805065 -2.62677)'))) / (select extract(epoch from '2026-07-22 09:09:45'::timestamp) - extract(epoch from '2026-07-22 09:09:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.805089 -2.626733)', '2026-07-22 09:09:56', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805065 -2.62677)'), GeomFromEWKT('SRID=4674;POINT (-39.805089 -2.626733)'))) / (select extract(epoch from '2026-07-22 09:09:56'::timestamp) - extract(epoch from '2026-07-22 09:09:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805065 -2.62677)'), GeomFromEWKT('SRID=4674;POINT (-39.805089 -2.626733)'))) / (select extract(epoch from '2026-07-22 09:09:56'::timestamp) - extract(epoch from '2026-07-22 09:09: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'), 47870, 'SRID=4674;POINT (-39.805112 -2.626698)', '2026-07-22 09:10:06', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805089 -2.626733)'), GeomFromEWKT('SRID=4674;POINT (-39.805112 -2.626698)'))) / (select extract(epoch from '2026-07-22 09:10:06'::timestamp) - extract(epoch from '2026-07-22 09:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805089 -2.626733)'), GeomFromEWKT('SRID=4674;POINT (-39.805112 -2.626698)'))) / (select extract(epoch from '2026-07-22 09:10:06'::timestamp) - extract(epoch from '2026-07-22 09:09:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.805122 -2.626668)', '2026-07-22 09:10:16', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805112 -2.626698)'), GeomFromEWKT('SRID=4674;POINT (-39.805122 -2.626668)'))) / (select extract(epoch from '2026-07-22 09:10:16'::timestamp) - extract(epoch from '2026-07-22 09:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805112 -2.626698)'), GeomFromEWKT('SRID=4674;POINT (-39.805122 -2.626668)'))) / (select extract(epoch from '2026-07-22 09:10:16'::timestamp) - extract(epoch from '2026-07-22 09:10: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'), 47870, 'SRID=4674;POINT (-39.80508 -2.62671)', '2026-07-22 09:10:23', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805122 -2.626668)'), GeomFromEWKT('SRID=4674;POINT (-39.80508 -2.62671)'))) / (select extract(epoch from '2026-07-22 09:10:23'::timestamp) - extract(epoch from '2026-07-22 09:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805122 -2.626668)'), GeomFromEWKT('SRID=4674;POINT (-39.80508 -2.62671)'))) / (select extract(epoch from '2026-07-22 09:10:23'::timestamp) - extract(epoch from '2026-07-22 09:10:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.805072 -2.626723)', '2026-07-22 09:10:24', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80508 -2.62671)'), GeomFromEWKT('SRID=4674;POINT (-39.805072 -2.626723)'))) / (select extract(epoch from '2026-07-22 09:10:24'::timestamp) - extract(epoch from '2026-07-22 09:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80508 -2.62671)'), GeomFromEWKT('SRID=4674;POINT (-39.805072 -2.626723)'))) / (select extract(epoch from '2026-07-22 09:10:24'::timestamp) - extract(epoch from '2026-07-22 09:10: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'), 47870, 'SRID=4674;POINT (-39.805024 -2.626835)', '2026-07-22 09:10:31', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805072 -2.626723)'), GeomFromEWKT('SRID=4674;POINT (-39.805024 -2.626835)'))) / (select extract(epoch from '2026-07-22 09:10:31'::timestamp) - extract(epoch from '2026-07-22 09:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805072 -2.626723)'), GeomFromEWKT('SRID=4674;POINT (-39.805024 -2.626835)'))) / (select extract(epoch from '2026-07-22 09:10:31'::timestamp) - extract(epoch from '2026-07-22 09:10:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.804986 -2.626959)', '2026-07-22 09:10:38', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805024 -2.626835)'), GeomFromEWKT('SRID=4674;POINT (-39.804986 -2.626959)'))) / (select extract(epoch from '2026-07-22 09:10:38'::timestamp) - extract(epoch from '2026-07-22 09:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805024 -2.626835)'), GeomFromEWKT('SRID=4674;POINT (-39.804986 -2.626959)'))) / (select extract(epoch from '2026-07-22 09:10:38'::timestamp) - extract(epoch from '2026-07-22 09: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'), 47870, 'SRID=4674;POINT (-39.804966 -2.627079)', '2026-07-22 09:10:44', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804986 -2.626959)'), GeomFromEWKT('SRID=4674;POINT (-39.804966 -2.627079)'))) / (select extract(epoch from '2026-07-22 09:10:44'::timestamp) - extract(epoch from '2026-07-22 09:10:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804986 -2.626959)'), GeomFromEWKT('SRID=4674;POINT (-39.804966 -2.627079)'))) / (select extract(epoch from '2026-07-22 09:10:44'::timestamp) - extract(epoch from '2026-07-22 09:10:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80495 -2.627187)', '2026-07-22 09:10:49', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804966 -2.627079)'), GeomFromEWKT('SRID=4674;POINT (-39.80495 -2.627187)'))) / (select extract(epoch from '2026-07-22 09:10:49'::timestamp) - extract(epoch from '2026-07-22 09:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804966 -2.627079)'), GeomFromEWKT('SRID=4674;POINT (-39.80495 -2.627187)'))) / (select extract(epoch from '2026-07-22 09:10:49'::timestamp) - extract(epoch from '2026-07-22 09:10:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.804946 -2.627244)', '2026-07-22 09:10:52', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80495 -2.627187)'), GeomFromEWKT('SRID=4674;POINT (-39.804946 -2.627244)'))) / (select extract(epoch from '2026-07-22 09:10:52'::timestamp) - extract(epoch from '2026-07-22 09:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80495 -2.627187)'), GeomFromEWKT('SRID=4674;POINT (-39.804946 -2.627244)'))) / (select extract(epoch from '2026-07-22 09:10:52'::timestamp) - extract(epoch from '2026-07-22 09:10:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.804947 -2.627267)', '2026-07-22 09:10:53', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804946 -2.627244)'), GeomFromEWKT('SRID=4674;POINT (-39.804947 -2.627267)'))) / (select extract(epoch from '2026-07-22 09:10:53'::timestamp) - extract(epoch from '2026-07-22 09:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804946 -2.627244)'), GeomFromEWKT('SRID=4674;POINT (-39.804947 -2.627267)'))) / (select extract(epoch from '2026-07-22 09:10:53'::timestamp) - extract(epoch from '2026-07-22 09:10: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'), 47870, 'SRID=4674;POINT (-39.804919 -2.627398)', '2026-07-22 09:10:59', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804947 -2.627267)'), GeomFromEWKT('SRID=4674;POINT (-39.804919 -2.627398)'))) / (select extract(epoch from '2026-07-22 09:10:59'::timestamp) - extract(epoch from '2026-07-22 09:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804947 -2.627267)'), GeomFromEWKT('SRID=4674;POINT (-39.804919 -2.627398)'))) / (select extract(epoch from '2026-07-22 09:10:59'::timestamp) - extract(epoch from '2026-07-22 09:10:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.804873 -2.627513)', '2026-07-22 09:11:05', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804919 -2.627398)'), GeomFromEWKT('SRID=4674;POINT (-39.804873 -2.627513)'))) / (select extract(epoch from '2026-07-22 09:11:05'::timestamp) - extract(epoch from '2026-07-22 09:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804919 -2.627398)'), GeomFromEWKT('SRID=4674;POINT (-39.804873 -2.627513)'))) / (select extract(epoch from '2026-07-22 09:11:05'::timestamp) - extract(epoch from '2026-07-22 09:10:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.804858 -2.627595)', '2026-07-22 09:11:09', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804873 -2.627513)'), GeomFromEWKT('SRID=4674;POINT (-39.804858 -2.627595)'))) / (select extract(epoch from '2026-07-22 09:11:09'::timestamp) - extract(epoch from '2026-07-22 09:11:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804873 -2.627513)'), GeomFromEWKT('SRID=4674;POINT (-39.804858 -2.627595)'))) / (select extract(epoch from '2026-07-22 09:11:09'::timestamp) - extract(epoch from '2026-07-22 09:11: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'), 47870, 'SRID=4674;POINT (-39.804817 -2.627706)', '2026-07-22 09:11:15', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804858 -2.627595)'), GeomFromEWKT('SRID=4674;POINT (-39.804817 -2.627706)'))) / (select extract(epoch from '2026-07-22 09:11:15'::timestamp) - extract(epoch from '2026-07-22 09:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804858 -2.627595)'), GeomFromEWKT('SRID=4674;POINT (-39.804817 -2.627706)'))) / (select extract(epoch from '2026-07-22 09:11:15'::timestamp) - extract(epoch from '2026-07-22 09:11:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.804732 -2.627827)', '2026-07-22 09:11:22', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804817 -2.627706)'), GeomFromEWKT('SRID=4674;POINT (-39.804732 -2.627827)'))) / (select extract(epoch from '2026-07-22 09:11:22'::timestamp) - extract(epoch from '2026-07-22 09:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804817 -2.627706)'), GeomFromEWKT('SRID=4674;POINT (-39.804732 -2.627827)'))) / (select extract(epoch from '2026-07-22 09:11:22'::timestamp) - extract(epoch from '2026-07-22 09:11:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.804649 -2.627897)', '2026-07-22 09:11:28', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804732 -2.627827)'), GeomFromEWKT('SRID=4674;POINT (-39.804649 -2.627897)'))) / (select extract(epoch from '2026-07-22 09:11:28'::timestamp) - extract(epoch from '2026-07-22 09:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804732 -2.627827)'), GeomFromEWKT('SRID=4674;POINT (-39.804649 -2.627897)'))) / (select extract(epoch from '2026-07-22 09:11:28'::timestamp) - extract(epoch from '2026-07-22 09:11: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'), 47870, 'SRID=4674;POINT (-39.804567 -2.627936)', '2026-07-22 09:11:33', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804649 -2.627897)'), GeomFromEWKT('SRID=4674;POINT (-39.804567 -2.627936)'))) / (select extract(epoch from '2026-07-22 09:11:33'::timestamp) - extract(epoch from '2026-07-22 09:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804649 -2.627897)'), GeomFromEWKT('SRID=4674;POINT (-39.804567 -2.627936)'))) / (select extract(epoch from '2026-07-22 09:11:33'::timestamp) - extract(epoch from '2026-07-22 09: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'), 47870, 'SRID=4674;POINT (-39.804472 -2.627969)', '2026-07-22 09:11:39', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804567 -2.627936)'), GeomFromEWKT('SRID=4674;POINT (-39.804472 -2.627969)'))) / (select extract(epoch from '2026-07-22 09:11:39'::timestamp) - extract(epoch from '2026-07-22 09:11:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804567 -2.627936)'), GeomFromEWKT('SRID=4674;POINT (-39.804472 -2.627969)'))) / (select extract(epoch from '2026-07-22 09:11:39'::timestamp) - extract(epoch from '2026-07-22 09:11:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.804369 -2.627966)', '2026-07-22 09:11:45', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804472 -2.627969)'), GeomFromEWKT('SRID=4674;POINT (-39.804369 -2.627966)'))) / (select extract(epoch from '2026-07-22 09:11:45'::timestamp) - extract(epoch from '2026-07-22 09:11:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804472 -2.627969)'), GeomFromEWKT('SRID=4674;POINT (-39.804369 -2.627966)'))) / (select extract(epoch from '2026-07-22 09:11:45'::timestamp) - extract(epoch from '2026-07-22 09:11: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'), 47870, 'SRID=4674;POINT (-39.804272 -2.627977)', '2026-07-22 09:11:51', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804369 -2.627966)'), GeomFromEWKT('SRID=4674;POINT (-39.804272 -2.627977)'))) / (select extract(epoch from '2026-07-22 09:11:51'::timestamp) - extract(epoch from '2026-07-22 09:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804369 -2.627966)'), GeomFromEWKT('SRID=4674;POINT (-39.804272 -2.627977)'))) / (select extract(epoch from '2026-07-22 09:11:51'::timestamp) - extract(epoch from '2026-07-22 09:11: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'), 47870, 'SRID=4674;POINT (-39.804195 -2.628007)', '2026-07-22 09:11:56', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804272 -2.627977)'), GeomFromEWKT('SRID=4674;POINT (-39.804195 -2.628007)'))) / (select extract(epoch from '2026-07-22 09:11:56'::timestamp) - extract(epoch from '2026-07-22 09:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804272 -2.627977)'), GeomFromEWKT('SRID=4674;POINT (-39.804195 -2.628007)'))) / (select extract(epoch from '2026-07-22 09:11:56'::timestamp) - extract(epoch from '2026-07-22 09:11: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'), 47870, 'SRID=4674;POINT (-39.804129 -2.628048)', '2026-07-22 09:12:01', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804195 -2.628007)'), GeomFromEWKT('SRID=4674;POINT (-39.804129 -2.628048)'))) / (select extract(epoch from '2026-07-22 09:12:01'::timestamp) - extract(epoch from '2026-07-22 09:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804195 -2.628007)'), GeomFromEWKT('SRID=4674;POINT (-39.804129 -2.628048)'))) / (select extract(epoch from '2026-07-22 09:12:01'::timestamp) - extract(epoch from '2026-07-22 09:11: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'), 47870, 'SRID=4674;POINT (-39.804076 -2.62811)', '2026-07-22 09:12:07', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804129 -2.628048)'), GeomFromEWKT('SRID=4674;POINT (-39.804076 -2.62811)'))) / (select extract(epoch from '2026-07-22 09:12:07'::timestamp) - extract(epoch from '2026-07-22 09:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804129 -2.628048)'), GeomFromEWKT('SRID=4674;POINT (-39.804076 -2.62811)'))) / (select extract(epoch from '2026-07-22 09:12:07'::timestamp) - extract(epoch from '2026-07-22 09:12:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.804036 -2.628134)', '2026-07-22 09:12:14', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804076 -2.62811)'), GeomFromEWKT('SRID=4674;POINT (-39.804036 -2.628134)'))) / (select extract(epoch from '2026-07-22 09:12:14'::timestamp) - extract(epoch from '2026-07-22 09:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804076 -2.62811)'), GeomFromEWKT('SRID=4674;POINT (-39.804036 -2.628134)'))) / (select extract(epoch from '2026-07-22 09:12:14'::timestamp) - extract(epoch from '2026-07-22 09:12:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.804024 -2.628102)', '2026-07-22 09:12:23', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804036 -2.628134)'), GeomFromEWKT('SRID=4674;POINT (-39.804024 -2.628102)'))) / (select extract(epoch from '2026-07-22 09:12:23'::timestamp) - extract(epoch from '2026-07-22 09:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804036 -2.628134)'), GeomFromEWKT('SRID=4674;POINT (-39.804024 -2.628102)'))) / (select extract(epoch from '2026-07-22 09:12:23'::timestamp) - extract(epoch from '2026-07-22 09:12:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.804033 -2.628069)', '2026-07-22 09:12:29', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804024 -2.628102)'), GeomFromEWKT('SRID=4674;POINT (-39.804033 -2.628069)'))) / (select extract(epoch from '2026-07-22 09:12:29'::timestamp) - extract(epoch from '2026-07-22 09:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804024 -2.628102)'), GeomFromEWKT('SRID=4674;POINT (-39.804033 -2.628069)'))) / (select extract(epoch from '2026-07-22 09:12:29'::timestamp) - extract(epoch from '2026-07-22 09:12:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.804057 -2.628051)', '2026-07-22 09:12:37', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804033 -2.628069)'), GeomFromEWKT('SRID=4674;POINT (-39.804057 -2.628051)'))) / (select extract(epoch from '2026-07-22 09:12:37'::timestamp) - extract(epoch from '2026-07-22 09:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804033 -2.628069)'), GeomFromEWKT('SRID=4674;POINT (-39.804057 -2.628051)'))) / (select extract(epoch from '2026-07-22 09:12:37'::timestamp) - extract(epoch from '2026-07-22 09:12: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'), 47870, 'SRID=4674;POINT (-39.804087 -2.628017)', '2026-07-22 09:12:48', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804057 -2.628051)'), GeomFromEWKT('SRID=4674;POINT (-39.804087 -2.628017)'))) / (select extract(epoch from '2026-07-22 09:12:48'::timestamp) - extract(epoch from '2026-07-22 09:12:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804057 -2.628051)'), GeomFromEWKT('SRID=4674;POINT (-39.804087 -2.628017)'))) / (select extract(epoch from '2026-07-22 09:12:48'::timestamp) - extract(epoch from '2026-07-22 09:12:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.804124 -2.628006)', '2026-07-22 09:12:54', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804087 -2.628017)'), GeomFromEWKT('SRID=4674;POINT (-39.804124 -2.628006)'))) / (select extract(epoch from '2026-07-22 09:12:54'::timestamp) - extract(epoch from '2026-07-22 09:12:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804087 -2.628017)'), GeomFromEWKT('SRID=4674;POINT (-39.804124 -2.628006)'))) / (select extract(epoch from '2026-07-22 09:12:54'::timestamp) - extract(epoch from '2026-07-22 09:12:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.804167 -2.627958)', '2026-07-22 09:13:06', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804124 -2.628006)'), GeomFromEWKT('SRID=4674;POINT (-39.804167 -2.627958)'))) / (select extract(epoch from '2026-07-22 09:13:06'::timestamp) - extract(epoch from '2026-07-22 09:12:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804124 -2.628006)'), GeomFromEWKT('SRID=4674;POINT (-39.804167 -2.627958)'))) / (select extract(epoch from '2026-07-22 09:13:06'::timestamp) - extract(epoch from '2026-07-22 09:12: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'), 47870, 'SRID=4674;POINT (-39.804212 -2.627923)', '2026-07-22 09:13:15', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804167 -2.627958)'), GeomFromEWKT('SRID=4674;POINT (-39.804212 -2.627923)'))) / (select extract(epoch from '2026-07-22 09:13:15'::timestamp) - extract(epoch from '2026-07-22 09:13:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804167 -2.627958)'), GeomFromEWKT('SRID=4674;POINT (-39.804212 -2.627923)'))) / (select extract(epoch from '2026-07-22 09:13:15'::timestamp) - extract(epoch from '2026-07-22 09:13:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80426 -2.627896)', '2026-07-22 09:13:24', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804212 -2.627923)'), GeomFromEWKT('SRID=4674;POINT (-39.80426 -2.627896)'))) / (select extract(epoch from '2026-07-22 09:13:24'::timestamp) - extract(epoch from '2026-07-22 09:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804212 -2.627923)'), GeomFromEWKT('SRID=4674;POINT (-39.80426 -2.627896)'))) / (select extract(epoch from '2026-07-22 09:13:24'::timestamp) - extract(epoch from '2026-07-22 09:13:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.804276 -2.627878)', '2026-07-22 09:13:30', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80426 -2.627896)'), GeomFromEWKT('SRID=4674;POINT (-39.804276 -2.627878)'))) / (select extract(epoch from '2026-07-22 09:13:30'::timestamp) - extract(epoch from '2026-07-22 09:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80426 -2.627896)'), GeomFromEWKT('SRID=4674;POINT (-39.804276 -2.627878)'))) / (select extract(epoch from '2026-07-22 09:13:30'::timestamp) - extract(epoch from '2026-07-22 09:13:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.804287 -2.62787)', '2026-07-22 09:13:39', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804276 -2.627878)'), GeomFromEWKT('SRID=4674;POINT (-39.804287 -2.62787)'))) / (select extract(epoch from '2026-07-22 09:13:39'::timestamp) - extract(epoch from '2026-07-22 09:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804276 -2.627878)'), GeomFromEWKT('SRID=4674;POINT (-39.804287 -2.62787)'))) / (select extract(epoch from '2026-07-22 09:13:39'::timestamp) - extract(epoch from '2026-07-22 09:13: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'), 47870, 'SRID=4674;POINT (-39.804328 -2.627826)', '2026-07-22 09:13:51', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804287 -2.62787)'), GeomFromEWKT('SRID=4674;POINT (-39.804328 -2.627826)'))) / (select extract(epoch from '2026-07-22 09:13:51'::timestamp) - extract(epoch from '2026-07-22 09:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804287 -2.62787)'), GeomFromEWKT('SRID=4674;POINT (-39.804328 -2.627826)'))) / (select extract(epoch from '2026-07-22 09:13:51'::timestamp) - extract(epoch from '2026-07-22 09:13:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.804357 -2.627788)', '2026-07-22 09:14:02', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804328 -2.627826)'), GeomFromEWKT('SRID=4674;POINT (-39.804357 -2.627788)'))) / (select extract(epoch from '2026-07-22 09:14:02'::timestamp) - extract(epoch from '2026-07-22 09:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804328 -2.627826)'), GeomFromEWKT('SRID=4674;POINT (-39.804357 -2.627788)'))) / (select extract(epoch from '2026-07-22 09:14:02'::timestamp) - extract(epoch from '2026-07-22 09:13:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80438 -2.627764)', '2026-07-22 09:14:10', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804357 -2.627788)'), GeomFromEWKT('SRID=4674;POINT (-39.80438 -2.627764)'))) / (select extract(epoch from '2026-07-22 09:14:10'::timestamp) - extract(epoch from '2026-07-22 09:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804357 -2.627788)'), GeomFromEWKT('SRID=4674;POINT (-39.80438 -2.627764)'))) / (select extract(epoch from '2026-07-22 09:14:10'::timestamp) - extract(epoch from '2026-07-22 09:14: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'), 47870, 'SRID=4674;POINT (-39.804422 -2.627716)', '2026-07-22 09:14:22', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80438 -2.627764)'), GeomFromEWKT('SRID=4674;POINT (-39.804422 -2.627716)'))) / (select extract(epoch from '2026-07-22 09:14:22'::timestamp) - extract(epoch from '2026-07-22 09:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80438 -2.627764)'), GeomFromEWKT('SRID=4674;POINT (-39.804422 -2.627716)'))) / (select extract(epoch from '2026-07-22 09:14:22'::timestamp) - extract(epoch from '2026-07-22 09:14:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.804397 -2.627703)', '2026-07-22 09:14:32', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804422 -2.627716)'), GeomFromEWKT('SRID=4674;POINT (-39.804397 -2.627703)'))) / (select extract(epoch from '2026-07-22 09:14:32'::timestamp) - extract(epoch from '2026-07-22 09:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804422 -2.627716)'), GeomFromEWKT('SRID=4674;POINT (-39.804397 -2.627703)'))) / (select extract(epoch from '2026-07-22 09:14:32'::timestamp) - extract(epoch from '2026-07-22 09:14:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.804339 -2.62775)', '2026-07-22 09:14:40', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804397 -2.627703)'), GeomFromEWKT('SRID=4674;POINT (-39.804339 -2.62775)'))) / (select extract(epoch from '2026-07-22 09:14:40'::timestamp) - extract(epoch from '2026-07-22 09:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804397 -2.627703)'), GeomFromEWKT('SRID=4674;POINT (-39.804339 -2.62775)'))) / (select extract(epoch from '2026-07-22 09:14:40'::timestamp) - extract(epoch from '2026-07-22 09:14: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'), 47870, 'SRID=4674;POINT (-39.804266 -2.62778)', '2026-07-22 09:14:46', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804339 -2.62775)'), GeomFromEWKT('SRID=4674;POINT (-39.804266 -2.62778)'))) / (select extract(epoch from '2026-07-22 09:14:46'::timestamp) - extract(epoch from '2026-07-22 09:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804339 -2.62775)'), GeomFromEWKT('SRID=4674;POINT (-39.804266 -2.62778)'))) / (select extract(epoch from '2026-07-22 09:14:46'::timestamp) - extract(epoch from '2026-07-22 09:14:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.804193 -2.627831)', '2026-07-22 09:14:52', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804266 -2.62778)'), GeomFromEWKT('SRID=4674;POINT (-39.804193 -2.627831)'))) / (select extract(epoch from '2026-07-22 09:14:52'::timestamp) - extract(epoch from '2026-07-22 09:14:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804266 -2.62778)'), GeomFromEWKT('SRID=4674;POINT (-39.804193 -2.627831)'))) / (select extract(epoch from '2026-07-22 09:14:52'::timestamp) - extract(epoch from '2026-07-22 09:14: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'), 47870, 'SRID=4674;POINT (-39.804102 -2.627867)', '2026-07-22 09:14:58', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804193 -2.627831)'), GeomFromEWKT('SRID=4674;POINT (-39.804102 -2.627867)'))) / (select extract(epoch from '2026-07-22 09:14:58'::timestamp) - extract(epoch from '2026-07-22 09:14:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804193 -2.627831)'), GeomFromEWKT('SRID=4674;POINT (-39.804102 -2.627867)'))) / (select extract(epoch from '2026-07-22 09:14:58'::timestamp) - extract(epoch from '2026-07-22 09:14:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.804012 -2.627902)', '2026-07-22 09:15:04', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804102 -2.627867)'), GeomFromEWKT('SRID=4674;POINT (-39.804012 -2.627902)'))) / (select extract(epoch from '2026-07-22 09:15:04'::timestamp) - extract(epoch from '2026-07-22 09:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804102 -2.627867)'), GeomFromEWKT('SRID=4674;POINT (-39.804012 -2.627902)'))) / (select extract(epoch from '2026-07-22 09:15:04'::timestamp) - extract(epoch from '2026-07-22 09: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'), 47870, 'SRID=4674;POINT (-39.80391 -2.627942)', '2026-07-22 09:15:10', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804012 -2.627902)'), GeomFromEWKT('SRID=4674;POINT (-39.80391 -2.627942)'))) / (select extract(epoch from '2026-07-22 09:15:10'::timestamp) - extract(epoch from '2026-07-22 09:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804012 -2.627902)'), GeomFromEWKT('SRID=4674;POINT (-39.80391 -2.627942)'))) / (select extract(epoch from '2026-07-22 09:15:10'::timestamp) - extract(epoch from '2026-07-22 09:15: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'), 47870, 'SRID=4674;POINT (-39.803767 -2.628009)', '2026-07-22 09:15:18', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80391 -2.627942)'), GeomFromEWKT('SRID=4674;POINT (-39.803767 -2.628009)'))) / (select extract(epoch from '2026-07-22 09:15:18'::timestamp) - extract(epoch from '2026-07-22 09:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80391 -2.627942)'), GeomFromEWKT('SRID=4674;POINT (-39.803767 -2.628009)'))) / (select extract(epoch from '2026-07-22 09:15:18'::timestamp) - extract(epoch from '2026-07-22 09:15:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.803682 -2.62806)', '2026-07-22 09:15:23', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803767 -2.628009)'), GeomFromEWKT('SRID=4674;POINT (-39.803682 -2.62806)'))) / (select extract(epoch from '2026-07-22 09:15:23'::timestamp) - extract(epoch from '2026-07-22 09:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803767 -2.628009)'), GeomFromEWKT('SRID=4674;POINT (-39.803682 -2.62806)'))) / (select extract(epoch from '2026-07-22 09:15:23'::timestamp) - extract(epoch from '2026-07-22 09:15:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.803597 -2.628099)', '2026-07-22 09:15:28', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803682 -2.62806)'), GeomFromEWKT('SRID=4674;POINT (-39.803597 -2.628099)'))) / (select extract(epoch from '2026-07-22 09:15:28'::timestamp) - extract(epoch from '2026-07-22 09:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803682 -2.62806)'), GeomFromEWKT('SRID=4674;POINT (-39.803597 -2.628099)'))) / (select extract(epoch from '2026-07-22 09:15:28'::timestamp) - extract(epoch from '2026-07-22 09:15:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.803488 -2.628141)', '2026-07-22 09:15:34', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803597 -2.628099)'), GeomFromEWKT('SRID=4674;POINT (-39.803488 -2.628141)'))) / (select extract(epoch from '2026-07-22 09:15:34'::timestamp) - extract(epoch from '2026-07-22 09:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803597 -2.628099)'), GeomFromEWKT('SRID=4674;POINT (-39.803488 -2.628141)'))) / (select extract(epoch from '2026-07-22 09:15:34'::timestamp) - extract(epoch from '2026-07-22 09:15: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'), 47870, 'SRID=4674;POINT (-39.803371 -2.628204)', '2026-07-22 09:15:41', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803488 -2.628141)'), GeomFromEWKT('SRID=4674;POINT (-39.803371 -2.628204)'))) / (select extract(epoch from '2026-07-22 09:15:41'::timestamp) - extract(epoch from '2026-07-22 09:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803488 -2.628141)'), GeomFromEWKT('SRID=4674;POINT (-39.803371 -2.628204)'))) / (select extract(epoch from '2026-07-22 09:15:41'::timestamp) - extract(epoch from '2026-07-22 09:15:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.803306 -2.628246)', '2026-07-22 09:15:46', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803371 -2.628204)'), GeomFromEWKT('SRID=4674;POINT (-39.803306 -2.628246)'))) / (select extract(epoch from '2026-07-22 09:15:46'::timestamp) - extract(epoch from '2026-07-22 09:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803371 -2.628204)'), GeomFromEWKT('SRID=4674;POINT (-39.803306 -2.628246)'))) / (select extract(epoch from '2026-07-22 09:15:46'::timestamp) - extract(epoch from '2026-07-22 09:15:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.803236 -2.628296)', '2026-07-22 09:15:52', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803306 -2.628246)'), GeomFromEWKT('SRID=4674;POINT (-39.803236 -2.628296)'))) / (select extract(epoch from '2026-07-22 09:15:52'::timestamp) - extract(epoch from '2026-07-22 09:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803306 -2.628246)'), GeomFromEWKT('SRID=4674;POINT (-39.803236 -2.628296)'))) / (select extract(epoch from '2026-07-22 09:15:52'::timestamp) - extract(epoch from '2026-07-22 09:15:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.803157 -2.628352)', '2026-07-22 09:15:58', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803236 -2.628296)'), GeomFromEWKT('SRID=4674;POINT (-39.803157 -2.628352)'))) / (select extract(epoch from '2026-07-22 09:15:58'::timestamp) - extract(epoch from '2026-07-22 09:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803236 -2.628296)'), GeomFromEWKT('SRID=4674;POINT (-39.803157 -2.628352)'))) / (select extract(epoch from '2026-07-22 09:15:58'::timestamp) - extract(epoch from '2026-07-22 09: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'), 47870, 'SRID=4674;POINT (-39.803078 -2.628396)', '2026-07-22 09:16:05', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803157 -2.628352)'), GeomFromEWKT('SRID=4674;POINT (-39.803078 -2.628396)'))) / (select extract(epoch from '2026-07-22 09:16:05'::timestamp) - extract(epoch from '2026-07-22 09:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803157 -2.628352)'), GeomFromEWKT('SRID=4674;POINT (-39.803078 -2.628396)'))) / (select extract(epoch from '2026-07-22 09:16:05'::timestamp) - extract(epoch from '2026-07-22 09:15:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.803044 -2.628411)', '2026-07-22 09:16:11', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803078 -2.628396)'), GeomFromEWKT('SRID=4674;POINT (-39.803044 -2.628411)'))) / (select extract(epoch from '2026-07-22 09:16:11'::timestamp) - extract(epoch from '2026-07-22 09:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803078 -2.628396)'), GeomFromEWKT('SRID=4674;POINT (-39.803044 -2.628411)'))) / (select extract(epoch from '2026-07-22 09:16:11'::timestamp) - extract(epoch from '2026-07-22 09:16:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.803035 -2.628396)', '2026-07-22 09:16:20', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803044 -2.628411)'), GeomFromEWKT('SRID=4674;POINT (-39.803035 -2.628396)'))) / (select extract(epoch from '2026-07-22 09:16:20'::timestamp) - extract(epoch from '2026-07-22 09:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803044 -2.628411)'), GeomFromEWKT('SRID=4674;POINT (-39.803035 -2.628396)'))) / (select extract(epoch from '2026-07-22 09:16:20'::timestamp) - extract(epoch from '2026-07-22 09:16:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.803062 -2.628369)', '2026-07-22 09:16:34', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803035 -2.628396)'), GeomFromEWKT('SRID=4674;POINT (-39.803062 -2.628369)'))) / (select extract(epoch from '2026-07-22 09:16:34'::timestamp) - extract(epoch from '2026-07-22 09:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803035 -2.628396)'), GeomFromEWKT('SRID=4674;POINT (-39.803062 -2.628369)'))) / (select extract(epoch from '2026-07-22 09:16:34'::timestamp) - extract(epoch from '2026-07-22 09:16: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'), 47870, 'SRID=4674;POINT (-39.803091 -2.628342)', '2026-07-22 09:16:46', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803062 -2.628369)'), GeomFromEWKT('SRID=4674;POINT (-39.803091 -2.628342)'))) / (select extract(epoch from '2026-07-22 09:16:46'::timestamp) - extract(epoch from '2026-07-22 09:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803062 -2.628369)'), GeomFromEWKT('SRID=4674;POINT (-39.803091 -2.628342)'))) / (select extract(epoch from '2026-07-22 09:16:46'::timestamp) - extract(epoch from '2026-07-22 09:16:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.803141 -2.6283)', '2026-07-22 09:16:56', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803091 -2.628342)'), GeomFromEWKT('SRID=4674;POINT (-39.803141 -2.6283)'))) / (select extract(epoch from '2026-07-22 09:16:56'::timestamp) - extract(epoch from '2026-07-22 09:16:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803091 -2.628342)'), GeomFromEWKT('SRID=4674;POINT (-39.803141 -2.6283)'))) / (select extract(epoch from '2026-07-22 09:16:56'::timestamp) - extract(epoch from '2026-07-22 09:16:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.803192 -2.628272)', '2026-07-22 09:17:05', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803141 -2.6283)'), GeomFromEWKT('SRID=4674;POINT (-39.803192 -2.628272)'))) / (select extract(epoch from '2026-07-22 09:17:05'::timestamp) - extract(epoch from '2026-07-22 09:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803141 -2.6283)'), GeomFromEWKT('SRID=4674;POINT (-39.803192 -2.628272)'))) / (select extract(epoch from '2026-07-22 09:17:05'::timestamp) - extract(epoch from '2026-07-22 09: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'), 47870, 'SRID=4674;POINT (-39.803196 -2.628271)', '2026-07-22 09:17:06', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803192 -2.628272)'), GeomFromEWKT('SRID=4674;POINT (-39.803196 -2.628271)'))) / (select extract(epoch from '2026-07-22 09:17:06'::timestamp) - extract(epoch from '2026-07-22 09:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803192 -2.628272)'), GeomFromEWKT('SRID=4674;POINT (-39.803196 -2.628271)'))) / (select extract(epoch from '2026-07-22 09:17:06'::timestamp) - extract(epoch from '2026-07-22 09:17:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.803237 -2.628235)', '2026-07-22 09:17:13', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803196 -2.628271)'), GeomFromEWKT('SRID=4674;POINT (-39.803237 -2.628235)'))) / (select extract(epoch from '2026-07-22 09:17:13'::timestamp) - extract(epoch from '2026-07-22 09:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803196 -2.628271)'), GeomFromEWKT('SRID=4674;POINT (-39.803237 -2.628235)'))) / (select extract(epoch from '2026-07-22 09:17:13'::timestamp) - extract(epoch from '2026-07-22 09: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'), 47870, 'SRID=4674;POINT (-39.803283 -2.628191)', '2026-07-22 09:17:24', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803237 -2.628235)'), GeomFromEWKT('SRID=4674;POINT (-39.803283 -2.628191)'))) / (select extract(epoch from '2026-07-22 09:17:24'::timestamp) - extract(epoch from '2026-07-22 09:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803237 -2.628235)'), GeomFromEWKT('SRID=4674;POINT (-39.803283 -2.628191)'))) / (select extract(epoch from '2026-07-22 09:17:24'::timestamp) - extract(epoch from '2026-07-22 09:17: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'), 47870, 'SRID=4674;POINT (-39.803302 -2.628152)', '2026-07-22 09:17:33', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803283 -2.628191)'), GeomFromEWKT('SRID=4674;POINT (-39.803302 -2.628152)'))) / (select extract(epoch from '2026-07-22 09:17:33'::timestamp) - extract(epoch from '2026-07-22 09:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803283 -2.628191)'), GeomFromEWKT('SRID=4674;POINT (-39.803302 -2.628152)'))) / (select extract(epoch from '2026-07-22 09:17:33'::timestamp) - extract(epoch from '2026-07-22 09:17: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'), 47870, 'SRID=4674;POINT (-39.803322 -2.628138)', '2026-07-22 09:17:42', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803302 -2.628152)'), GeomFromEWKT('SRID=4674;POINT (-39.803322 -2.628138)'))) / (select extract(epoch from '2026-07-22 09:17:42'::timestamp) - extract(epoch from '2026-07-22 09:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803302 -2.628152)'), GeomFromEWKT('SRID=4674;POINT (-39.803322 -2.628138)'))) / (select extract(epoch from '2026-07-22 09:17:42'::timestamp) - extract(epoch from '2026-07-22 09:17:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.803343 -2.628113)', '2026-07-22 09:17:53', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803322 -2.628138)'), GeomFromEWKT('SRID=4674;POINT (-39.803343 -2.628113)'))) / (select extract(epoch from '2026-07-22 09:17:53'::timestamp) - extract(epoch from '2026-07-22 09:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803322 -2.628138)'), GeomFromEWKT('SRID=4674;POINT (-39.803343 -2.628113)'))) / (select extract(epoch from '2026-07-22 09:17:53'::timestamp) - extract(epoch from '2026-07-22 09: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'), 47870, 'SRID=4674;POINT (-39.803309 -2.628109)', '2026-07-22 09:17:59', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803343 -2.628113)'), GeomFromEWKT('SRID=4674;POINT (-39.803309 -2.628109)'))) / (select extract(epoch from '2026-07-22 09:17:59'::timestamp) - extract(epoch from '2026-07-22 09:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803343 -2.628113)'), GeomFromEWKT('SRID=4674;POINT (-39.803309 -2.628109)'))) / (select extract(epoch from '2026-07-22 09:17:59'::timestamp) - extract(epoch from '2026-07-22 09: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'), 47870, 'SRID=4674;POINT (-39.803227 -2.628103)', '2026-07-22 09:18:06', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803309 -2.628109)'), GeomFromEWKT('SRID=4674;POINT (-39.803227 -2.628103)'))) / (select extract(epoch from '2026-07-22 09:18:06'::timestamp) - extract(epoch from '2026-07-22 09:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803309 -2.628109)'), GeomFromEWKT('SRID=4674;POINT (-39.803227 -2.628103)'))) / (select extract(epoch from '2026-07-22 09:18:06'::timestamp) - extract(epoch from '2026-07-22 09:17:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.803106 -2.628104)', '2026-07-22 09:18:13', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803227 -2.628103)'), GeomFromEWKT('SRID=4674;POINT (-39.803106 -2.628104)'))) / (select extract(epoch from '2026-07-22 09:18:13'::timestamp) - extract(epoch from '2026-07-22 09:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803227 -2.628103)'), GeomFromEWKT('SRID=4674;POINT (-39.803106 -2.628104)'))) / (select extract(epoch from '2026-07-22 09:18:13'::timestamp) - extract(epoch from '2026-07-22 09:18: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'), 47870, 'SRID=4674;POINT (-39.803018 -2.628127)', '2026-07-22 09:18:19', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803106 -2.628104)'), GeomFromEWKT('SRID=4674;POINT (-39.803018 -2.628127)'))) / (select extract(epoch from '2026-07-22 09:18:19'::timestamp) - extract(epoch from '2026-07-22 09:18:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803106 -2.628104)'), GeomFromEWKT('SRID=4674;POINT (-39.803018 -2.628127)'))) / (select extract(epoch from '2026-07-22 09:18:19'::timestamp) - extract(epoch from '2026-07-22 09:18:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80291 -2.628138)', '2026-07-22 09:18:26', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803018 -2.628127)'), GeomFromEWKT('SRID=4674;POINT (-39.80291 -2.628138)'))) / (select extract(epoch from '2026-07-22 09:18:26'::timestamp) - extract(epoch from '2026-07-22 09:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803018 -2.628127)'), GeomFromEWKT('SRID=4674;POINT (-39.80291 -2.628138)'))) / (select extract(epoch from '2026-07-22 09:18:26'::timestamp) - extract(epoch from '2026-07-22 09:18: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'), 47870, 'SRID=4674;POINT (-39.802808 -2.628127)', '2026-07-22 09:18:33', 26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80291 -2.628138)'), GeomFromEWKT('SRID=4674;POINT (-39.802808 -2.628127)'))) / (select extract(epoch from '2026-07-22 09:18:33'::timestamp) - extract(epoch from '2026-07-22 09:18:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80291 -2.628138)'), GeomFromEWKT('SRID=4674;POINT (-39.802808 -2.628127)'))) / (select extract(epoch from '2026-07-22 09:18:33'::timestamp) - extract(epoch from '2026-07-22 09:18:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.802736 -2.628127)', '2026-07-22 09:18:38', 27.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802808 -2.628127)'), GeomFromEWKT('SRID=4674;POINT (-39.802736 -2.628127)'))) / (select extract(epoch from '2026-07-22 09:18:38'::timestamp) - extract(epoch from '2026-07-22 09:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802808 -2.628127)'), GeomFromEWKT('SRID=4674;POINT (-39.802736 -2.628127)'))) / (select extract(epoch from '2026-07-22 09:18:38'::timestamp) - extract(epoch from '2026-07-22 09:18:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.802657 -2.628146)', '2026-07-22 09:18:44', 27.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802736 -2.628127)'), GeomFromEWKT('SRID=4674;POINT (-39.802657 -2.628146)'))) / (select extract(epoch from '2026-07-22 09:18:44'::timestamp) - extract(epoch from '2026-07-22 09:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802736 -2.628127)'), GeomFromEWKT('SRID=4674;POINT (-39.802657 -2.628146)'))) / (select extract(epoch from '2026-07-22 09:18:44'::timestamp) - extract(epoch from '2026-07-22 09:18: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'), 47870, 'SRID=4674;POINT (-39.802642 -2.628146)', '2026-07-22 09:18:45', 28, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802657 -2.628146)'), GeomFromEWKT('SRID=4674;POINT (-39.802642 -2.628146)'))) / (select extract(epoch from '2026-07-22 09:18:45'::timestamp) - extract(epoch from '2026-07-22 09:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802657 -2.628146)'), GeomFromEWKT('SRID=4674;POINT (-39.802642 -2.628146)'))) / (select extract(epoch from '2026-07-22 09:18:45'::timestamp) - extract(epoch from '2026-07-22 09:18:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.802586 -2.62815)', '2026-07-22 09:18:49', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802642 -2.628146)'), GeomFromEWKT('SRID=4674;POINT (-39.802586 -2.62815)'))) / (select extract(epoch from '2026-07-22 09:18:49'::timestamp) - extract(epoch from '2026-07-22 09:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802642 -2.628146)'), GeomFromEWKT('SRID=4674;POINT (-39.802586 -2.62815)'))) / (select extract(epoch from '2026-07-22 09:18:49'::timestamp) - extract(epoch from '2026-07-22 09:18:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.802493 -2.628154)', '2026-07-22 09:18:55', 28.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802586 -2.62815)'), GeomFromEWKT('SRID=4674;POINT (-39.802493 -2.628154)'))) / (select extract(epoch from '2026-07-22 09:18:55'::timestamp) - extract(epoch from '2026-07-22 09:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802586 -2.62815)'), GeomFromEWKT('SRID=4674;POINT (-39.802493 -2.628154)'))) / (select extract(epoch from '2026-07-22 09:18:55'::timestamp) - extract(epoch from '2026-07-22 09:18: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'), 47870, 'SRID=4674;POINT (-39.802404 -2.628153)', '2026-07-22 09:19:01', 29.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802493 -2.628154)'), GeomFromEWKT('SRID=4674;POINT (-39.802404 -2.628153)'))) / (select extract(epoch from '2026-07-22 09:19:01'::timestamp) - extract(epoch from '2026-07-22 09:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802493 -2.628154)'), GeomFromEWKT('SRID=4674;POINT (-39.802404 -2.628153)'))) / (select extract(epoch from '2026-07-22 09:19:01'::timestamp) - extract(epoch from '2026-07-22 09:18: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'), 47870, 'SRID=4674;POINT (-39.802332 -2.628162)', '2026-07-22 09:19:06', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802404 -2.628153)'), GeomFromEWKT('SRID=4674;POINT (-39.802332 -2.628162)'))) / (select extract(epoch from '2026-07-22 09:19:06'::timestamp) - extract(epoch from '2026-07-22 09:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802404 -2.628153)'), GeomFromEWKT('SRID=4674;POINT (-39.802332 -2.628162)'))) / (select extract(epoch from '2026-07-22 09:19:06'::timestamp) - extract(epoch from '2026-07-22 09:19:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.802231 -2.628171)', '2026-07-22 09:19:13', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802332 -2.628162)'), GeomFromEWKT('SRID=4674;POINT (-39.802231 -2.628171)'))) / (select extract(epoch from '2026-07-22 09:19:13'::timestamp) - extract(epoch from '2026-07-22 09:19:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802332 -2.628162)'), GeomFromEWKT('SRID=4674;POINT (-39.802231 -2.628171)'))) / (select extract(epoch from '2026-07-22 09:19:13'::timestamp) - extract(epoch from '2026-07-22 09:19:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.802133 -2.628156)', '2026-07-22 09:19:19', 27.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802231 -2.628171)'), GeomFromEWKT('SRID=4674;POINT (-39.802133 -2.628156)'))) / (select extract(epoch from '2026-07-22 09:19:19'::timestamp) - extract(epoch from '2026-07-22 09:19:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802231 -2.628171)'), GeomFromEWKT('SRID=4674;POINT (-39.802133 -2.628156)'))) / (select extract(epoch from '2026-07-22 09:19:19'::timestamp) - extract(epoch from '2026-07-22 09:19:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.802041 -2.628134)', '2026-07-22 09:19:25', 26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802133 -2.628156)'), GeomFromEWKT('SRID=4674;POINT (-39.802041 -2.628134)'))) / (select extract(epoch from '2026-07-22 09:19:25'::timestamp) - extract(epoch from '2026-07-22 09:19:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802133 -2.628156)'), GeomFromEWKT('SRID=4674;POINT (-39.802041 -2.628134)'))) / (select extract(epoch from '2026-07-22 09:19:25'::timestamp) - extract(epoch from '2026-07-22 09: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'), 47870, 'SRID=4674;POINT (-39.801985 -2.628125)', '2026-07-22 09:19:30', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802041 -2.628134)'), GeomFromEWKT('SRID=4674;POINT (-39.801985 -2.628125)'))) / (select extract(epoch from '2026-07-22 09:19:30'::timestamp) - extract(epoch from '2026-07-22 09:19:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802041 -2.628134)'), GeomFromEWKT('SRID=4674;POINT (-39.801985 -2.628125)'))) / (select extract(epoch from '2026-07-22 09:19:30'::timestamp) - extract(epoch from '2026-07-22 09:19:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.801956 -2.628111)', '2026-07-22 09:19:35', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.801985 -2.628125)'), GeomFromEWKT('SRID=4674;POINT (-39.801956 -2.628111)'))) / (select extract(epoch from '2026-07-22 09:19:35'::timestamp) - extract(epoch from '2026-07-22 09:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.801985 -2.628125)'), GeomFromEWKT('SRID=4674;POINT (-39.801956 -2.628111)'))) / (select extract(epoch from '2026-07-22 09:19:35'::timestamp) - extract(epoch from '2026-07-22 09:19:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.801955 -2.628095)', '2026-07-22 09:19:42', 23.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.801956 -2.628111)'), GeomFromEWKT('SRID=4674;POINT (-39.801955 -2.628095)'))) / (select extract(epoch from '2026-07-22 09:19:42'::timestamp) - extract(epoch from '2026-07-22 09:19:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.801956 -2.628111)'), GeomFromEWKT('SRID=4674;POINT (-39.801955 -2.628095)'))) / (select extract(epoch from '2026-07-22 09:19:42'::timestamp) - extract(epoch from '2026-07-22 09:19: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'), 47870, 'SRID=4674;POINT (-39.801963 -2.628063)', '2026-07-22 09:19:52', 23.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.801955 -2.628095)'), GeomFromEWKT('SRID=4674;POINT (-39.801963 -2.628063)'))) / (select extract(epoch from '2026-07-22 09:19:52'::timestamp) - extract(epoch from '2026-07-22 09:19:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.801955 -2.628095)'), GeomFromEWKT('SRID=4674;POINT (-39.801963 -2.628063)'))) / (select extract(epoch from '2026-07-22 09:19:52'::timestamp) - extract(epoch from '2026-07-22 09:19:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.801986 -2.628013)', '2026-07-22 09:20:01', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.801963 -2.628063)'), GeomFromEWKT('SRID=4674;POINT (-39.801986 -2.628013)'))) / (select extract(epoch from '2026-07-22 09:20:01'::timestamp) - extract(epoch from '2026-07-22 09:19:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.801963 -2.628063)'), GeomFromEWKT('SRID=4674;POINT (-39.801986 -2.628013)'))) / (select extract(epoch from '2026-07-22 09:20:01'::timestamp) - extract(epoch from '2026-07-22 09:19: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'), 47870, 'SRID=4674;POINT (-39.802021 -2.627935)', '2026-07-22 09:20:13', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.801986 -2.628013)'), GeomFromEWKT('SRID=4674;POINT (-39.802021 -2.627935)'))) / (select extract(epoch from '2026-07-22 09:20:13'::timestamp) - extract(epoch from '2026-07-22 09:20:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.801986 -2.628013)'), GeomFromEWKT('SRID=4674;POINT (-39.802021 -2.627935)'))) / (select extract(epoch from '2026-07-22 09:20:13'::timestamp) - extract(epoch from '2026-07-22 09:20: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'), 47870, 'SRID=4674;POINT (-39.802058 -2.627885)', '2026-07-22 09:20:24', 26, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802021 -2.627935)'), GeomFromEWKT('SRID=4674;POINT (-39.802058 -2.627885)'))) / (select extract(epoch from '2026-07-22 09:20:24'::timestamp) - extract(epoch from '2026-07-22 09:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802021 -2.627935)'), GeomFromEWKT('SRID=4674;POINT (-39.802058 -2.627885)'))) / (select extract(epoch from '2026-07-22 09:20:24'::timestamp) - extract(epoch from '2026-07-22 09:20:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.802092 -2.627832)', '2026-07-22 09:20:35', 26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802058 -2.627885)'), GeomFromEWKT('SRID=4674;POINT (-39.802092 -2.627832)'))) / (select extract(epoch from '2026-07-22 09:20:35'::timestamp) - extract(epoch from '2026-07-22 09:20:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802058 -2.627885)'), GeomFromEWKT('SRID=4674;POINT (-39.802092 -2.627832)'))) / (select extract(epoch from '2026-07-22 09:20:35'::timestamp) - extract(epoch from '2026-07-22 09:20: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'), 47870, 'SRID=4674;POINT (-39.802138 -2.627808)', '2026-07-22 09:20:45', 26.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802092 -2.627832)'), GeomFromEWKT('SRID=4674;POINT (-39.802138 -2.627808)'))) / (select extract(epoch from '2026-07-22 09:20:45'::timestamp) - extract(epoch from '2026-07-22 09:20:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802092 -2.627832)'), GeomFromEWKT('SRID=4674;POINT (-39.802138 -2.627808)'))) / (select extract(epoch from '2026-07-22 09:20:45'::timestamp) - extract(epoch from '2026-07-22 09:20:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80219 -2.627785)', '2026-07-22 09:20:57', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802138 -2.627808)'), GeomFromEWKT('SRID=4674;POINT (-39.80219 -2.627785)'))) / (select extract(epoch from '2026-07-22 09:20:57'::timestamp) - extract(epoch from '2026-07-22 09:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802138 -2.627808)'), GeomFromEWKT('SRID=4674;POINT (-39.80219 -2.627785)'))) / (select extract(epoch from '2026-07-22 09:20:57'::timestamp) - extract(epoch from '2026-07-22 09:20:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.802236 -2.627771)', '2026-07-22 09:21:06', 27.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80219 -2.627785)'), GeomFromEWKT('SRID=4674;POINT (-39.802236 -2.627771)'))) / (select extract(epoch from '2026-07-22 09:21:06'::timestamp) - extract(epoch from '2026-07-22 09:20:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80219 -2.627785)'), GeomFromEWKT('SRID=4674;POINT (-39.802236 -2.627771)'))) / (select extract(epoch from '2026-07-22 09:21:06'::timestamp) - extract(epoch from '2026-07-22 09:20:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.802269 -2.627779)', '2026-07-22 09:21:14', 26.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802236 -2.627771)'), GeomFromEWKT('SRID=4674;POINT (-39.802269 -2.627779)'))) / (select extract(epoch from '2026-07-22 09:21:14'::timestamp) - extract(epoch from '2026-07-22 09:21:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802236 -2.627771)'), GeomFromEWKT('SRID=4674;POINT (-39.802269 -2.627779)'))) / (select extract(epoch from '2026-07-22 09:21:14'::timestamp) - extract(epoch from '2026-07-22 09:21: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'), 47870, 'SRID=4674;POINT (-39.8023 -2.627761)', '2026-07-22 09:21:22', 26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802269 -2.627779)'), GeomFromEWKT('SRID=4674;POINT (-39.8023 -2.627761)'))) / (select extract(epoch from '2026-07-22 09:21:22'::timestamp) - extract(epoch from '2026-07-22 09:21:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802269 -2.627779)'), GeomFromEWKT('SRID=4674;POINT (-39.8023 -2.627761)'))) / (select extract(epoch from '2026-07-22 09:21:22'::timestamp) - extract(epoch from '2026-07-22 09: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'), 47870, 'SRID=4674;POINT (-39.802326 -2.627749)', '2026-07-22 09:21:28', 26.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8023 -2.627761)'), GeomFromEWKT('SRID=4674;POINT (-39.802326 -2.627749)'))) / (select extract(epoch from '2026-07-22 09:21:28'::timestamp) - extract(epoch from '2026-07-22 09:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8023 -2.627761)'), GeomFromEWKT('SRID=4674;POINT (-39.802326 -2.627749)'))) / (select extract(epoch from '2026-07-22 09:21:28'::timestamp) - extract(epoch from '2026-07-22 09:21: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'), 47870, 'SRID=4674;POINT (-39.802331 -2.627743)', '2026-07-22 09:21:33', 26, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802326 -2.627749)'), GeomFromEWKT('SRID=4674;POINT (-39.802331 -2.627743)'))) / (select extract(epoch from '2026-07-22 09:21:33'::timestamp) - extract(epoch from '2026-07-22 09:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802326 -2.627749)'), GeomFromEWKT('SRID=4674;POINT (-39.802331 -2.627743)'))) / (select extract(epoch from '2026-07-22 09:21:33'::timestamp) - extract(epoch from '2026-07-22 09:21:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
