User Tools

Site Tools


mersea-oil-spill:kml_workaround

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).
mersea-oil-spill/kml_workaround.txt · Last modified: 2007-09-14 14:10:42 by bruceh