GeoJSON 1.0a1
2007-09-29T18:09:56Z | Comments: 2
After talking with Chris and seeing Camptocamp's plans for using JSON between the client and server sides of Cartoweb 4, I am going to get with the GeoJSON draft again. To help out, I have updated GeoJSON, tagged it as 1.0a1, and uploaded it to the Python Package Index: http://pypi.python.org/pypi/GeoJSON. It complements Shapely like this:
>>> from shapely.geometry import Point
>>> point = Point(0.0, 0.0)
>>> import geojson
>>> geojson.dumps(point)
'{"type": "Point", "coordinates": [0.0, 0.0]}'
