Author Topic: tar map format - search for example and/or specifications  (Read 131 times)

Offline asw28

  • Newbie
  • *
  • Posts: 4
    • View Profile
Hi everybody
I'm trying to create a tar file which I can import in Locus. Till now I didn't suceed. Does anybody have specification about the files inside the tar? I have a .map file and an image.
Does anybody have an example map in the tar format which works with Locus? Or does somebody have further specifications? The Locus docs are in this case not very helpful.
I can't use the 'easy formats' like sqlite because they don't support the projection of my map.
Thanks in advance!
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11353
  • Thanked: 293 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: tar map format - search for example and/or specifications
« Reply #1 on: July 29, 2019, 09:10:56 »
Hello,
I highly recommend not to use TAR maps. Locus Map still support them (tiles needs to be split to map tiles  + calibration "map" file). Better support is for SQLite based map that may be created by for example mapc2mapc application.

Anyway, I've attached one small TAR maps that should work, to see it's structure.

Menion
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 
The following users thanked this post: asw28

Offline asw28

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: tar map format - search for example and/or specifications
« Reply #2 on: July 29, 2019, 19:54:21 »
Hi Menion
Thanks a lot! I will try to adapt this to my case.
As far as I have seen you're in the Locus developer team? The reason I asked for tar is because SQLite and MBTiles only support Web mercator projection. My map has a "swiss grid"-projection. Which format would you suggest to import maps that don't have web mercator projection?
I know there is some support for "Swiss grid" projection in Locus, because the "Swiss Topo" Maps that are avaiable in the Locus store use this projection too. How are these maps stored when downloaded?

Marc
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11353
  • Thanked: 293 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: tar map format - search for example and/or specifications
« Reply #3 on: July 30, 2019, 17:18:47 »
Hello Marc,

this is correct, I have a luck and I'm part of Locus Map team :).
You are absolutely correct, SQLite + MBT does not by default support other map projections than base Mercator system. In this case, TAR make sense and also because of this (mainly), TAR format is still support for read-only in Locus Map.

So I'll correct my answer before: do not use TAR until you know what you do. Anyway, TAR format will be supported by Locus Map in the future as well.

As I know, mentioned Mapc2maps application is able to reproject maps from one projection to another, so we use it as a solution for some maps we offer in Locus Store as well.

And Swiss maps in application: they use WMTS server for download that already offer EPSG3857 projection, so it's safe so use SQLite as storage.

Menion
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 
The following users thanked this post: asw28