Betrachte 7 Beiträge - 1 bis 7 (von insgesamt 7)
  • Autor
    Beiträge
  • #17302
    lbarrosop
    Teilnehmer

    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
    Avatar-FotoEmux
    Teilnehmer

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

    Emux

    #17306
    lbarrosop
    Teilnehmer

    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
    Avatar-FotoChristianK
    Administrator

    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.

    #17311
    Avatar-FotoEmux
    Teilnehmer

    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
    Teilnehmer

    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
    Teilnehmer

    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.

Betrachte 7 Beiträge - 1 bis 7 (von insgesamt 7)
  • Sie müssen angemeldet sein, um zu diesem Thema eine Antwort verfassen zu können.