- AutorBeiträge
- Mai 22, 2017 um 17:22 Uhr #17302lbarrosopTeilnehmer
Hi, searching for TagTransformer tutorial I came across this site…I have an android application that use mapsforge and graphhopper, lately we are using a new feauture of mapsforge that is query for pois…we got the poi database but all tags are in english…Is there any way that we could obtain an spanish tag transformer file or any way to generate it quickly? Thanks in advance.
Mai 22, 2017 um 18:16 Uhr #17303Mai 22, 2017 um 18:59 Uhr #17306lbarrosopTeilnehmerI did create the poi database, but I want to replace all tags with its corresponding spanish translation tag. Now, I know that TagTransformer can help, but there are lots of options, so I was wondering if there is any automated process or file to do this.
Mai 23, 2017 um 07:34 Uhr #17308ChristianKAdministratorYou mean „Name“ to „Nombre“ aso??
I’m afraid there is no tool for this.If you want to do this – this means programming a script that search/replaces prior to poi-making, but I’m in doubt that this will work cause I’m pretty shure that the poi-writer need the name:tags.
The other way is to make a translation table within the app that covers most of the tags and replaces the tags bevore rendering on screen.
Mai 23, 2017 um 08:22 Uhr #17311EmuxTeilnehmerIf you mean the POI category titles, those are defined in poi-mapping.xml file.
You can use your own titles (see the guide).Mai 23, 2017 um 14:45 Uhr #17313lbarrosopTeilnehmerAs ChristianK says, I want to replace the tags not the categories. The categories are easily translated into my app because they are not a lot…My problem is with the tags that are generated into the database because they are a lot and when I show the poi info it display a lot of tags in english language that can be difficult for those who only know spanish…
Mai 23, 2017 um 15:07 Uhr #17315lbarrosopTeilnehmerfind this https://github.com/plepe/openstreetmap-tag-translations/blob/master/tags/es.json there is not all translated…but at list is a start.
- AutorBeiträge
- Sie müssen angemeldet sein, um zu diesem Thema eine Antwort verfassen zu können.