DokuWiki and GoogleEarth-formatted files

Note that the DokuWiki engine used for this wiki does not allow upload of just any file. Specifically, in its default installation, DokuWiki does not accept .kml or .kmz files, which we use to display data in GoogleEarth. However, it will accept .zip files.

Now, a .kmz file is just zipped version of a .kml file; it is recognized by GoogleEarth and unpacked automatically. GoogleEarth does not recognize other file types. For example, the zipped kml file file_name.kml.zip is not recognized even though the content is exactly the same as file_name.kmz.

Workaround:

  • Data providers create each kml file named like file_name.kml and zip it to file_name.kml.zip. Upload the zipped file.
  • Data users download a file named like file_name.kml.zip and rename to file_name.kmz. Load the latter into GoogleEarth (ctrl+o).
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • mersea-oil-spill/kml_workaround.txt
  • Last modified: 2022-05-31 09:29:32
  • (external edit)