openlab / OGDI-DataLab

Open Government Data Initiative
http://ogdi.codeplex.com
Microsoft Public License
57 stars 17 forks source link

KMZ Support to project #36

Open mcenal opened 11 years ago

mcenal commented 11 years ago

I'm not sure if this is a decision to add to the project or not, but adding fuller support for KMZ files. I was able to modify the uploader with another project that is open source so the DataLoader can open a kml file within a KMZ file. The project that I used is SharpKML off of codeplex and it uses a Zip file framework. So far the implementation was fairly simple by adding references to the new format type, and adding a new KMZ implementation closely based upon the KML implementation for upload in the DataLoader project. I'm now working on seeing if I can get the downloader to also allow to download a KML or KMZ file afterwards from the website.

nikg commented 11 years ago

that's awesome! great addition -- particularly like the downloading on KMZ - does SharpKML handle zipping files too?

mcenal commented 11 years ago

I was working on it, but have run out of time on the download part. It should be doable however. SharpKML uses another open source project to handle the zipping called http://dotnetzip.codeplex.com/ It uses a dll for running that part.