[Geojson] boundedBy?
Sean Gillies
sgillies at frii.com
Thu Nov 1 08:27:48 PDT 2007
Bart van den Eijnden (OSGIS) wrote:
> Hi list,
>
> one thing I am currently missing in GeoJSON is the ability to specify a
> boundedBy property, i.e. the box which encompasses the whole geometry.
>
> In GML this can be specified using a boundedBy property which contains a Box
> geometry.
>
> Ofcourse OpenLayers can also calculate the bounds for you in javascript, but
> it might be useful to have the server do this for some use cases.
>
> Has this been discussed before?
>
> Best regards,
> Bart
Bart,
I'm going to be putting bounds on my features and collections like this:
{"bounds": [minx, miny, maxx, maxy], ...}
How does that strike you?
Sean
More information about the GeoJSON
mailing list