Skip to main content

locality_key

Function locality_key 

Source
pub fn locality_key(label: &str) -> String
Expand description

The key a locality is looked up by: what comes before “CEDEX”, upper case ASCII words, “ST” / “STE” spelled out. “Saint-Quentin-en-Yvelines Cedex 3” and “ST QUENTIN EN YVELINES” give “SAINT QUENTIN EN YVELINES”.