substack/shp2json — pull request #2 by bvmou (2012-01-26 05:27:49+00:00)
Title: Add kmz support

In order for this pull request to make sense we have to recontextualize shp as meaning shape rather than strictly ESRI shapefile :) Other than that it is such low-hanging fruit that I'm sending for your consideration. The other thing is that true kmz support will never be possible, because it can include a bunch of random records that point to google's data store but do not contain any geometry, so this may be as close to supporting it as may ever make sense (I hear from friends at google that this is an ancient upstream licensing issue they can't change.) Ie, shape to json will take the 2 overwhelmingly most common formats and quietly try to do the right thing. (Same motivation as the lon-lat patch.) There is a live example with this patch applied here: http://gut.sfgeo.org