Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #17302

    lbarrosop
    Participant

    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.

    #17303
    Emux
    Emux
    Participant

    For Mapsforge POI creation you can check also the official guide.

    Emux

    • This reply was modified 2 years, 3 months ago by Emux Emux.
    #17306

    lbarrosop
    Participant

    I 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.

    #17308
    ChristianK
    ChristianK
    Keymaster

    You 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.

    • This reply was modified 2 years, 3 months ago by ChristianK ChristianK.
    #17311
    Emux
    Emux
    Participant

    If you mean the POI category titles, those are defined in poi-mapping.xml file.
    You can use your own titles (see the guide).

    Emux

    #17313

    lbarrosop
    Participant

    As 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…

    #17315

    lbarrosop
    Participant

    find this https://github.com/plepe/openstreetmap-tag-translations/blob/master/tags/es.json there is not all translated…but at list is a start.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.