CrunchUp2KML

CrunchUp2KML - a MapCruncher to KML superoverlay converter.
CrunchUp2KML converts layers found in MapCruncherMetadata.xml (MapLayers.crunched.xml in earlier versions of MapCruncher) to a kml superoverlay (nested regions of ground overlays with different level of details), which can be imported in Google Earth.
GE screenshot with superoverlay

Download

Version 0.0.1.1 - 2008-03-13
CrunchUp2KML.zip
Now works with MapCruncherMetadata.xml from latest MapCruncher versions.
LoD settings can be supplied on command line.
Slightly more robust parsing of command line arguments.
Version 0.0.1.0 - 2007-08-22
CrunchUp2KML.zip
First alpha release.
This requires an installed .NET 2.0 Framework.

Help

This is a command line program. You need to run it from the console/command prompt.
Output from help text:
Usage: CrunchUp2KML [OPTION]... [FILE|QUADKEY]...
Converts MapCruncher crunchup to kml superoverlay.

 Options:
   -h, --help     display this help text
   -v, --version  show version info
   -w, --wait     wait for keypress after processing
   --minlodpixels=[num]   MinLodPixels defaults to TileSize/2
   --maxlodpixels=[num]   MaxLodPixels defaults to TileSize*2
   --minfadeextent=[num]  MinFadeExtent defaults to TileSize/8
   --maxfadeextent=[num]  MaxFadeExtent defaults to TileSize/8
                          TileSize defaults to 256
 
  FILE      path to MapLayers.crunched.xml file
            (or MapLayers.crunched.xml)
            for conversion to kml superoverlay
  QUADKEY   display bounding box of QUADKEY tile

 Examples:
   CrunchUp2KML path\to\MapCruncherMetadata.xml
       converts CrunchUp to kml superoverlay
   CrunchUp2KML --minlodpixels=128 path\to\MapLayers.crunched.xml
       converts CrunchUp to kml superoverlay using the given LoD settings
   CrunchUp2KML 03230033010
       displays lat/lon coordinates of a quadkeyed tile

 This program comes with ABSOLUTELY NO WARRANTY!

See the inital announcement on Google Groups > KML Developer Support > Third Party Applications.

Bugs/ToDo

Please report bugs and suggestions to mip(├Ąt)rootcamp.net.
-----BEGIN PGP PUBLIC KEY BLOCK-----

mQGiBER8OiURBACdBnkl6fqhBkB1QdoOatYX3rFO142nBjcWhSc6AQPyZccooBF2
GL1yAEV5UBkZpPTgmMQgrnfCBYtlZFb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/EwCvqhnrBL
/SvQldlVwLjHFIbPcVaRepFyFDdLc+iMn3Fs8t91Lilvz888nHCTsJ6Q9gwtMUA8
hz4qZzXpVV8z1pJSh+FJBsFtWeAea8v9tc3vwcqsX9W7l+cWCKyqD9WuefFhPuIR
K/fHo31fN+MpOkERKwpNWDEWgL3pnOVytQp68WovNnbR7ycZaTnGoaVQeZLpbSu0
pr4ifGa97BzxOHdfj+ozwS1mSslIChhfeVd1biL38A9GSp/Jto65Yt22dT0lUR6x
vHL2+n5NrTpE7txeY5u4AT/Hgn0M4+SMRuYs/bd+hvP5JChrVYXRU2SQXpEQ2bT1
eh+Jh6XphxzUFpsMdW2hg5BUueMz9oGMm0lj9bB9+v45PMXJoffDP222rI0gszRb
pgJJhqMbDRE9iEkEGBECAAkFAkR8O78CGwwACgkQYr1EEEVlI7az2wCeJqbcMS6C
3jFq7yZS6UmL68ww29cAoNfuW2M8oYxA+ObGplqJWFxV8zMu
=0I5A
-----END PGP PUBLIC KEY BLOCK-----
This is my first C#.NET / CSharp DotNET project, and the whole stuff is a quick hack, so don't expect too much.