Modern Apps git
git clone https://git.maproj.org/Modern-Apps.git
translate ▾

Modern-Apps.git / scripts / networklocation / geodb_build / src / extract_extra.rs

extract_extra.rs7 lines · 361 BRaw
1//! Supplemental street-geometry extractors for the geocoder build.
2//!
3//! Minimum spacing and sampling helpers shared by the street extract passes.
4
5/// Minimum spacing between samples along a street, in e7 latitude units (~250 m). Sampling
6/// runs on OSM's e7 coordinates, before rows are rounded to the stored e5.
7pub const STREET_SAMPLE_E7: i64 = 25_000;