This object is in archive! 

KMZ file problem in Locus, while it is ok in Google Earth

Andrey Sadovykh shared this problem 7 years ago
Solved

Hello,


Thanks for the nice app. I use Free version so far, planning to move to Pro.


I have a problem with a range of KMZ files that loads perfectly in Google Earth, but Locus Free doesn't show them.


Steps:

  • Copy KMZ file to mapItems
  • Open KMZ from map items
  • Center on the map
  • Nothing shown :'(

The example file is here: https://www.dropbox.com/s/oaqowstppqbvguq/mt10mv11sd0f155054st1r020.kmz?dl=0


I obtained the file from a SID from http://www.icc.cat/vissir3/?lang=en_UK by converting it with http://converter.mygeodata.eu/


I would be great it could work in Locus.


Thanks in advance,


Andrey

Replies (9)

photo
1

  1. ...
  2. <Link>
  3. <href>0/0/0.kml</href>
  4. <viewRefreshMode>onRegion</viewRefreshMode>
  5. </Link>
  6. ...

nice format

...but also strange :)


please upload the http://www.icc.cat file

photo
1

Hi Gynta,


Thanks for the prompt reply. Here is the original SID file from http://www.icc.cat:

https://www.dropbox.com/s/3q5s7kl50ehkvqj/mt10mv11sd0f155054st1r020.sid?dl=0


Andrey

photo
1

*.sid = MrSID (Multi-resolution Seamless Image Database) - a compressed image with geo informations.

(source: http://en.wikipedia.org/wiki/MrSID)


Sorry don't know WHY Locus can't load your kmz

but I tried (just for a test) the converter (MAPC2MAPC) to create a sqlitedb format for you:

https://www.dropbox.com/sh/lzvjgf1ffzbtrky/AACAAUgwXuRpRQ0w3Y_N3gLua?dl=0


cc453e2999898ea1c7d09223f0010295

(used as overlay on satellite map)

photo
1

Hello Andrey, gynta,


quite interesting. I never saw such KMZ file. Every map tile is in separate folder together with KML file, so map really works as multi-layer map where certain tiles are visible based on zoom level.


Interesting. And for sure not working in Locus, as such feature is not implemented. And, because it looks quite complicated, it won't work in near future, sorry.


Alternative solution is probably only as gynta suggested - convert map with external program to SQLite database. Thanks for understanding.

photo
1

Hello Menion, Gynta,


Thanks for the hints. I tried to reformat and flatten the KMZ map with a simple Java program. I left only the most detailed layer.


Normally, it should be ok right now.

Here is the new kmz.

https://www.dropbox.com/s/gphjvly20afu71l/canyet-25k.kmz?dl=0


It is shown in the right way in GoogleEarth, but I didn't manage to open it in Locus Free.


Any ideas on what is missing?


Is it too large (19Mb)?

I used "draw order" 25 for all tiles.

GroundLayers don't have name.

Any problem with that?


Thanks in advance,

Andrey

photo
1

Also a crazy usage. You slow down your device with this huge 3072 tiles kmz.

Anyway - load file in GE - save it again (save place as..)

For me (Locus Pro 3.9.1.5) it works at least with zoom level 15.

(btw. same in GE)

387ce69265ce799401e49fa21223491a

photo
1

edit


now it works with all zoom levels.

unzip attached kml - and replace your kml inside your kmz.

cec1201c2be84ac33d505b629c0482e1

photo
1

Hi Gynta,


Thanks for the help. Actually, I like the first solution much more. The last one makes GoogleEarth freeze. I think GoogleEarth tries to load all the tiles at once.


In the first solution, the number of tiles to load is subjected to the visible area, which is set by <Region> box.

So, it is no problem to navigate such a map in Locus. I think it is intelligent enough to load in memory only visible area ;).

I combine it with MBT hiking map for upper zoom levels.


To recap the final solution that works for me to load topo maps of Catalonia:

  1. Download SID maps of need Catalonia region from from http://www.icc.cat/vissir3/?lang=en_UK
  2. Convert SID to KMZ with http://converter.mygeodata.eu/
  3. Extract maps for zoom level n5
  4. Flatten them.
  5. Open map with Google Earth and save it again to kmz.
  6. Copy kmz to Locus/mapItems
  7. Enjoy!

For the step 4, I have a small Java program. In case someone is interested, I may post it here.

photo
1

Hmm complicated KMZ file = complicated method to display it in Locus.


Anyway thanks a lot to gynta for your help!

Replies have been locked on this page!