[Geojson] boundedBy?

Sean Gillies sgillies at frii.com
Fri Nov 2 07:41:22 PDT 2007


Bryan! Welcome :)

Yeah, long/lat (minx, miny, maxx, maxy) fails at the poles. But so do
ordinary long/lat lines and polygons without additional rules about how
they are to be interpreted.

Sean

Bryan Lawrence wrote:
> Not that I'm following the discussion, but one definitely needs support for 
> bounding polygons. Support for bounding boxes expressed as minx miny etc 
> cause all sorts of problems near the poles in lat/lon.
> 
> Cheers
> Bryan
> 
> On Thursday 01 November 2007 15:27:48 Sean Gillies wrote:
>> 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