Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Name of the rivers as boundaries #120

Open
angoca opened this issue Jan 4, 2023 · 2 comments
Open

Name of the rivers as boundaries #120

angoca opened this issue Jan 4, 2023 · 2 comments

Comments

@angoca
Copy link

angoca commented Jan 4, 2023

I see the Brazilian validator checks the river's name to see if it starts with "Rio" as in Portuguese. However, we have a similar validator in Colombia to check if the name starts with "Río" (with the accent), which is the correct spelling in Spanish.

/* https://overpass-turbo.eu/s/sZz */
way[waterway =~ /^(river|stream)$/][name][name !~ /^(?U)(Água|Arroio|Cabeceira|Córrego|Furo|Grota|Igarapé|Lajeado|Paraná|Restinga|Riacho|Ribeirão|Rio|Sanga)\b/][inside("BR")],
way[waterway =~ /^(river|stream)$/][alt_name][alt_name !~ /^(?U)(Água|Arroio|Cabeceira|Córrego|Furo|Grota|Igarapé|Lajeado|Paraná|Restinga|Riacho|Ribeirão|Rio|Sanga)\b/][inside("BR")] {
	throwWarning: tr("{0} com possível nome errado/incompleto", tag(waterway));
	group: tr("Brasil - Verificar");
}

I suppose you have this issue in all countries with rivers as boundaries.

We (LatAm) should define a name rule for rivers and adjust our validators to comply with this, preventing the changes of our rivers multiple times. I start proposing something like: Rio Apaporis - Río Apaporis (Portuguese before Spanish, because alphabetically it is P before S), with space-dash-space. What do you think?

Examples of this issue:

@angoca
Copy link
Author

angoca commented Jan 4, 2023

Another idea could be 'Río Apaporis - Rio Apaporis' because the rivers begins in Colombia, and then it goes to Brasil.

@angoca
Copy link
Author

angoca commented Jan 4, 2023

I see a similar issue in the name tag, in Switzerland: https://www.openstreetmap.org/relation/51701 It has the name in its 4 local languages (but I don't know why this order): Schweiz/Suisse/Svizzera/Svizra

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant