GIS Features and JSON
I'm a big believer in GML, but not such a fan of XSLT. For many web applications, I want to bypass the transformation and directly get GIS features (whether by WFS or other service) as javascript objects. In PrimaGIS we are using JSON-RPC, and a data structure that is modeled after the GML simple features profile:
// feature collection [ // a feature { 'id': 'aa1', 'properties': { 'name': 'Foo', 'category': 1, ... } }, ... ]
I'm curious if there are other programmers interested in a JSON simple features profile. The representation of non-geometry properties is obvious, but what about geometries? Is it better to aim at existing Javascript drawing APIs like WZ, or look to Canvas?