As a side note, I think the Chris Holmes has included JSON as an output format for Geoserver.

Yeah, I've been meaning to blog about it and make it available for download, as a plug in to GeoServer. But got swamped last month.

I drew inspiration from Sean's stuff, but wasn't sure how to handle geometry types other than points. I was going to call mine 'Simple Features for JSON', in line with Simple Features for SQL, which defined Well Known Text for representing geographic features. It was easiest for me to do the same - I just used a .toWKT() function to make my geometry.

But I'm in no way tied to doing things that way, I just wanted to start a conversation and hopefully work towards standardization.

At first pass jdil.org feels a bit more heavyweight than I was going for, doing all the namespaces. And it seems to really just focus on doing the namespaces. I'd prefer to get general consensus on namespacing json from a standards organization, I've seen a few others talk about it and do it slightly different ways.

If there's consensus on that it'd be easy to just write GML output as JSON, with namespaces and all.

But past that I'd really like to figure out some consensus on how to encode lines, polygons, and collections of geometries in to JSON. Maybe that just involves me asking Sean to add some more examples on how he wants to do that in GeoJSON, as I have no strong preference, just want to standardize on something.

Chris





chris goad wrote:
Hi,
http://jdil.org describes a simple scheme for implementing namespaced vocabularies (including RDF vocabularies) in JSON. The idea is general, but the examples (and our own applications here at Platial) are in the Geo domain. -- Chris ------------------------------------------------------------------------

_______________________________________________
Geowanking mailing list
[email protected]
http://lists.burri.to/mailman/listinfo/geowanking



--
Chris Holmes
The Open Planning Project
http://topp.openplans.org
begin:vcard
fn:Chris Holmes
n:Holmes;Chris
org:The Open Planning Project
adr:;;349 W. 12th Street, #3;New York;NY;10014;USA
email;internet:[EMAIL PROTECTED]
title:Managing Director, Strategic Development
x-mozilla-html:FALSE
url:http://topp.openplans.org
version:2.1
end:vcard

_______________________________________________
Geowanking mailing list
[email protected]
http://lists.burri.to/mailman/listinfo/geowanking

Reply via email to