Skip to content

Use a partial (non-administrative) relation for validations instead #2640

@Crashillo

Description

@Crashillo

The current config for Basque country and Navarre are the following:

es_prov('comunidad_foral_de_navarra', 6429242, 'ES-NA', proj=32630, language=['es', 'eu'], multilingual_style='sp_eu', hydro=['Ebro'])
es_prov('euskadi/alava', 349011, 'ES-VI', proj=32630, language=['eu', 'es'], multilingual_style='sp_eu', hydro=['Ebro'])
es_prov('euskadi/vizcaya', 349034, 'ES-BI', proj=32630, language=['eu', 'es'], multilingual_style='sp_eu', hydro=['Cantábrico Oriental'])
es_prov('euskadi/guipuzcoa', 349015, 'ES-SS', proj=32630, language=['eu', 'es'], multilingual_style='sp_eu', hydro=['Cantábrico Oriental'])

Since we agreed in the forum to simplify the multilingual names, the config will be:

# no multilingual at all for euskadi
es_prov('euskadi/alava', 349011, 'ES-VI', proj=32630, language=['eu', 'es'], hydro=['Ebro']) 
es_prov('euskadi/vizcaya', 349034, 'ES-BI', proj=32630, language=['eu', 'es'], hydro=['Cantábrico Oriental']) 
es_prov('euskadi/guipuzcoa', 349015, 'ES-SS', proj=32630, language=['eu', 'es'], hydro=['Cantábrico Oriental']) 

# split navarre in two regions: spanish and basque speaking areas
es_prov('comunidad_foral_de_navarra_eu', [9089335, 9089318], 'ES-NA', proj=32630, language=['es', 'eu'], hydro=['Ebro']) 
es_prov('comunidad_foral_de_navarra_es', 9089396, 'ES-NA', proj=32630, language=['eu', 'es'], hydro=['Ebro']) 

Euskadi would be easy: just like Catalonia, Balearic islands or Galicia.

But pay attention to the Navarra relation IDs: basque areas (https://osm.org/relation/9089335 and https://osm.org/relation/9089318), spanish area (https://osm.org/relation/9089396). No multilingual rule in any case.

Would it be possible to make this happen? Would it work? If not, how could we approach it in terms of coding?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions