This shows you the differences between two versions of the page.
manual:advanced:data_tools:kml_conversion_offline [2015/05/15 07:00] – created mstupka | manual:advanced:data_tools:kml_conversion_offline [2015/09/02 17:48] (current) – mstupka | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
---- | ---- | ||
- | <WRAP todo round center 60%>This page is obsolete and will be reworked soon</ | + | |
===== Basic information ===== | ===== Basic information ===== | ||
**Author:** Ferretty | **Author:** Ferretty | ||
- | |||
- | **Locus version (min): | ||
- | |||
- | **Created: | ||
===== How to ===== | ===== How to ===== | ||
- | Of course you can use any KML/KMZ offline. But if it links some images (icons and pictures), those won't be available offline if they haven' | + | Of course you can use any KML/KMZ offline. But if it links some images (icons and pictures), those won't be available offline if they haven' |
- | Remark first: In my example here I use the name " | + | Remark first: In my example here I use the name " |
- Create an empty directory | - Create an empty directory | ||
- If your original file is a KML, just copy it into this directory and name it doc.kml. If it is a KMZ, unpack it into this directory (it is a ZIP file). | - If your original file is a KML, just copy it into this directory and name it doc.kml. If it is a KMZ, unpack it into this directory (it is a ZIP file). | ||
- | - If the directory does not contain a sub-directory named files, create it. Here we place all images | + | - If the directory does not contain a sub-directory named "files", create it. Here we place all images |
- | - With your favorite editor, open the doc.kml and search for all the images. Download/ | + | - Open the doc.kml |
- | - replace all links to those images you have in the files directory to point to files/< | + | - replace all links to those images you have in the "files" |
- ZIP the resulting directory and make sure the resulting file has the extension .kmz | - ZIP the resulting directory and make sure the resulting file has the extension .kmz | ||
Line 34: | Line 30: | ||
Image-example: | Image-example: | ||
- | As currently there is no cleanup mechanism in Locus, it is a good idea to include the KMZ name in all those image names. So if your resulting KMZ will be greece.kmz, you should have stored this image as greece_foo.jpg in the files folder, and thus this image tag should now read <img src=" | + | As currently there is no cleanup mechanism in Locus, it is a good idea to include the KMZ name in all those image names. So if your resulting KMZ is greece.kmz, you should have stored this image as greece_foo.jpg in the files folder, and thus this image tag should now read <img src=" |
So far, this is a general explanation. If you have complex descriptions in the KML file, you may need to reformat them as well. This won't be necessary for plain flowing text, but probably will be the case for multi-column tables. Those are fine with a large monitor, but will cause a lot of scrolling on a phone display... | So far, this is a general explanation. If you have complex descriptions in the KML file, you may need to reformat them as well. This won't be necessary for plain flowing text, but probably will be the case for multi-column tables. Those are fine with a large monitor, but will cause a lot of scrolling on a phone display... |