Skip to content

Commit

Permalink
geocode: we no longer need the Geonames index metadata JSON file
Browse files Browse the repository at this point in the history
  • Loading branch information
jqnatividad committed Sep 29, 2023
1 parent b5cbc8e commit 981fe85
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/cmd/geocode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1200,21 +1200,6 @@ async fn load_engine(geocode_index_file: PathBuf, progressbar: &ProgressBar) ->
None,
)
.await?;

// download index file JSON from qsv releases
let index_file_json = geocode_index_file.with_extension("json");

util::download_file(
&format!(
"https://github.com/jqnatividad/qsv/releases/download/{QSV_VERSION}/{DEFAULT_GEOCODE_INDEX_JSON_FILENAME}"
),
index_file_json,
!progressbar.is_hidden(),
None,
None,
None,
)
.await?;
}
let storage = storage::bincode::Storage::new();

Expand Down

0 comments on commit 981fe85

Please sign in to comment.