Ansicht von 14 Beiträgen - 1 bis 14 (von insgesamt 14)
  • Autor
    Beiträge
  • #20088
    Emux
    Emux
    Teilnehmer

    Mapsforge POI specification will advance to version 2.

    That will provide „proper“ multiple categories per POI and more efficient storage (as had discussed with Christian and Tobias).

    – POI writer will produce only the newer v2 .poi files
    – POI readers will be compatible with both v2 and v1 .poi files

    Thanks to community work and more info is in Mapsforge forum announcement.

    Emux

    • Dieses Thema wurde geändert vor 2 Jahre, 5 Monate von Emux Emux.
    • Dieses Thema wurde geändert vor 2 Jahre, 5 Monate von Emux Emux.
    • Dieses Thema wurde geändert vor 2 Jahre, 5 Monate von Emux Emux.
    • Dieses Thema wurde geändert vor 2 Jahre, 5 Monate von Emux Emux.
    • Dieses Thema wurde geändert vor 2 Jahre, 5 Monate von Emux Emux.
    #20097
    Tobias
    Tobias
    Moderator

    Thanks Emux, great news (again). Lots of good developments at the mapsforge community at the moment, I’m looking forward to test it (when I have a bit more time at hand)…

    Developer of Elevate mapstyle

    #20167
    Emux
    Emux
    Teilnehmer

    Mapsforge POI version 2 is now available.

    You can use master poi-writer to produce poi v2 files.

    Cruiser (Android + Desktop) was also published with POI v2 (and v1) compatibility.

    Emux

    #20169
    ChristianK
    ChristianK
    Keymaster

    Hi Emux,

    If I got this right – POI_V2 files will be compatible with (eg) Oruxmaps when the Orux will implement the new Lib in the App?

    Best regards
    Christian

    #20171
    Emux
    Emux
    Teilnehmer

    Hi Christian,

    Mapsforge poi reader(s) are compatible with both v1 and v2 poi files, so you’re right!

    Emux

    #33468
    ChristianK
    ChristianK
    Keymaster

    Hi Emux,

    I tried V2 Pois – yes I know, late very late – and got an error see attached logfile.

    Pllease can you take a look at the poi-mapping.xml.
    A tag that is assigned to more than one cat is (eg.) alpine_hut
    Up to now I added one ore more blanks to the tags name to avoid this error, but that should’nt be the solution.

    thanks Christian

    #33476
    Emux
    Emux
    Teilnehmer

    Do you have in poi mapping 2 same poi categories?
    Is there some small poi mapping so can reproduce it easier?

    #33478
    Emux
    Emux
    Teilnehmer

    By the way please report such cases in Mapsforge forum so that anyone from the community can better help.

    #33482
    ChristianK
    ChristianK
    Keymaster

    Hi Emux,

    Thanks for super fast answer, here are the files with only alpine_hut in two cats.

    Best regards
    Christian

    #33490
    Emux
    Emux
    Teilnehmer

    What implemented in POI v2 is to support multiple categories per POI (see the related discussion / issue).

    That is not hosting the same sub-category many times inside different parent categories in poi mapping tree.

    1 Teilnehmer(n) gefällt dieser Beitrag
    #33499

    Juanjo
    Teilnehmer

    What implemented in POI v2 is to support multiple categories per POI (see the related discussion / issue).

    That is not hosting the same sub-category many times inside different parent categories in poi mapping tree.

    Hi Emux,

    I do think that having the same subcategory on several categories, like having ‚Alpine Huts‘ in ‚Hiking‘ and ‚Accomodation‘ categories, makes sense. This was possible on the first version of the POI spec, see below.

    [/crayon]

    So it looks to me like a regression in version 2

    Regards

    #33501
    Emux
    Emux
    Teilnehmer

    This was possible on the first version of the POI spec

    It was never designed or worked that way in any version.
    See Christian’s answer above (uses a trick):

    Up to now I added one ore more blanks to the tags name to avoid this error, but that should’nt be the solution.

    #33509

    Juanjo
    Teilnehmer

    oh shit! ;-) I see now, there are spaces added to the second and third category names.

    My understanding about the RTree stuff is that the index contains one entry for each record in poi_data table, unless I am missing something, it has nothing to do with categories.

    Thank you for your quick response.

    Regards

    1 Teilnehmer(n) gefällt dieser Beitrag
    #33515
    ChristianK
    ChristianK
    Keymaster

    :-)

    Nevertheless I will use the new POI-Writer from next update of OAM on.
    It provides smaler files…

Ansicht von 14 Beiträgen - 1 bis 14 (von insgesamt 14)

Du musst angemeldet sein, um auf dieses Thema antworten zu können.