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_Multilingual: Basque & Asturian languages #1285
Comments
Yes it is possible. A new multilingual setup should be added. It does not match any existing one. The language order is fixed Is it for Euskadi as in https://www.openstreetmap.org/relation/349042 ? |
Exact
Euskadi: https://www.openstreetmap.org/relation/349042 And perhaps, Navarra should also include |
In addition to basque, the asturian lang has a similar casuistry: Asturias: https://www.openstreetmap.org/relation/6428094 |
Space around When there is only one name in If there is |
|
It would be great to keep some format consistency, but I did some overpass queries and the results are pretty similar. I'd tend to keep the spaces around.
Let me explain, since this is a big matter of controversy: Euskadi:
Navarre:
It doesn't matter. Ignore the casuistry since the subregions I mentioned before have their own rules. For instance, the city of Bilbao should be Bilbo / Bilbao, however, and officially, the name is only Bilbao. Therefore, if there's only one name.... let it go. To sum up: If the Sorry all this mess, but as I said, it's quite controversial since not all municipalities speak basque. |
For asturian language, it's pretty much easier: if there's any slash on the name, just look for |
No. The area are defined in the configuration https://github.com/osm-fr/osmose-backend/blob/master/osmose_config.py#L1494-L1515 Requered changes: +es_comm("asturias", 349033, "ES-AS", proj=32629, language=["es", "ast"], **{'multilingual-style': 'sp_eu'})
No worry, except Bruxelles, all other areas I see have complex rules. What about : "Zeharkalea 26 (Kiroldegia/Polideportivo)", "Kurtzero (Geltokia/Estación)", how to split that ? |
Since you cannot divide this, I'd suggest to avoid checking the language order.
Same behaviour as Basque country
Watch this out. Asturias speaks Asturian, it's different from basque.
These names are wrong. They're not about two names rule, they include the amenity type in the name... they should be a different osmose error 😄, when there's text (in a name) within parentheses... you bet something is wrong |
Please could you review the configuration about I think I have implement all the rules. Could you overview the result, please : |
This error contains a
Same way if it was <error class="50604" subclass="0">
<location lat="43.294141" lon="-2.3539311" />
<node id="27552539" lat="43.294141" lon="-2.3539311" version="10" user="Juan_Carlos_G_F-imports">
<tag k="ele" v="4" />
<tag k="name" v="Deba" />
<tag k="place" v="village" />
<tag k="source" v="Instituto Geográfico Nacional" />
<tag k="capital" v="8" />
<tag k="name:es" v="Deva" />
<tag k="ref:ine" v="20029000100" />
<tag k="wikidata" v="Q1611504" />
<tag k="population" v="5185" />
<tag k="source:ele" v="MDT5" />
<tag k="admin_level" v="8" />
<tag k="postal_code" v="20820" />
<tag k="source:date" v="2011-06" />
<tag k="source:file" v="http://centrodedescargas.cnig.es/CentroDescargas/equipamiento/BD_Municipios-Entidades.zip" />
<tag k="source:name" v="Nomenclátor Geográfico de Municipios y Entidades de Población" />
</node>
<fixes>
<fix>
<node id="27552539">
<tag action="modify" k="name:eu" v="Deba" />
</node>
</fix>
<fix>
<node id="27552539">
<tag action="modify" k="name:es" v="Deba" />
</node>
</fix>
<fix>
<node id="27552539">
<tag action="modify" k="name" v="Deva" />
</node>
</fix>
</fixes>
</error> |
In any case, I'd go along with this. I'll test it one in production, to see which tunings would be better |
* frodrigo/master: Add main tag telecom in TagFix_MultipleTag #1300 Allow highway=service + amenity=weighbridge in TagRemove_Incompatible #1298 Allow amenity=school + anduse=education in TagRemove_Incompatible #1295 Enable Name_Multilingual in Spain #1285 Fix test Josm_deprecated_test Update JOSM MapCSS Add mod() to mapcss lib Simplify configuration of option multilingual_style Better language config for Spain Move Website protocol issue to level 3 #1115 Support more units in Number #1283
Deployed. Update in progress |
Now we hare result in I let you check. |
Hey, the suggestions are working great! 👍 For instance, look at this village. Multilingual settings are ok, but it keeps displaying "two names" error |
Ok. |
* frodrigo/master: Disable Name_Multiple plugin in ES-NC, ES-PV, ES-AS #1285
Deployed. Manuel clean up. Stats update tomorrow. |
Since the regions were splitted these errors have come back again http://osmose.openstreetmap.fr/en/map/#item=5030&zoom=10&lat=43.019&lon=-2.442&level=1 |
Yes, we have to update the list not_for = ["ES-NC", "ES-PV", "ES-AS"] Please can you give the new list to exclude ? https://github.com/osm-fr/osmose-backend/blob/master/osmose_config.py#L1509-L1580 |
Mmmmmm, that |
* frodrigo/master: Update data source of analyser_merge_public_equipment_FR_lyon_toilets Update data source of analyser_merge_public_transport_FR_stan Update column name from datasource in analyser_merge_emergency_points_LU Update Spain subarea exclusion #1285 Only in usage road in analyser_merge_road_ES
Deployed. But manual clean up required. |
Manualy removed.
|
Looks good. |
I'm noticing an issue here that should't. The element has these tags:
I presume the issue comes up due to the order. Osmose expects Either you duplicate the following condition to deal ["es", "ast"] and ["ast", "es"], or you can check just the presence of the tags, no matter the order. Same case for Navarre, basque / spanish, or spanish / basque, both are right. Perhaps the same for Basque country |
Is it possible to append a new multilingual style for the spanish basque regions: Navarre and Basque country? Since that comment, I've seen some languages new here (Belgium, Kosovo, Morocco & Djibouti, if I'm right)
The two names validation throws multiple syntax errors in these regions, in spite of the
name
tag is right according the community. The validation should match with the multilingual names.Default separator:
/
Default languages:
eu / es
The text was updated successfully, but these errors were encountered: