[GeoJSON] A first implementation
cholmes at openplans.org
Mon Mar 19 17:29:14 PDT 2007
Ok, I threw together a quick implementation. It's easy to change the
details, and I probably haven't really captured discussion up to this
point, but I thought it'd be easier to throw something up that clients
could try to his.
now has 'json' as an output format, so you can request any layer there
with 'outputformat=json' If anyone has a GeoServer and wants to try it
locally I wrote it as a plug-in, I can email you the jar and you just
drop it in.
The output can probably be summed up by:
I left out SRS stuff (or I'm assuming a 4326 default).
Here are a few sample requests. On the ones I include a maxfeature you
probably want to use it or you'll get 6000 features. If anyone wants to
hit against more than 6000 features let me know, and I can raise it.
The road layer has millions of features, if anyone wants to test seriously.
The Open Planning Project
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 282 bytes
Desc: not available
More information about the GeoJSON