[OpenLayers-Dev] SRS id in BBOX parameter

christopher.schmidt at nokia.com christopher.schmidt at nokia.com
Wed Jan 5 14:57:04 EST 2011


On Jan 5, 2011, at 2:42 PM, ext Tim Schaub wrote:

> Hey-
> 
> Are there people that use the HTTP protocol against services that would break if the BBOX query string parameter included the SRS identifier?
> 
> E.g.
> 
> http://example.com/features?bbox=1,2,3,4,foo
> 
> The WFS 1.1 spec allows clients to specify the SRS for a bounding box by including the SRS identifier as the fifth item in the array.  I'd like to add this functionality to the HTTP protocol if it wouldn't make existing applications break.

FeatureServer would break; "action.bbox = map(float, value.split(","))" would barf on 
it if the value were not a float-able number, I believe.

> http://trac.osgeo.org/openlayers/ticket/3006
> 
> An alternative would be to only invoke this functionality if a property were set on the protocol.

As much as I hate to introduce more properties, I think this is a better
idea.

-- Chris

> Thanks for any feedback,
> Tim
> 
> -- 
> Tim Schaub
> OpenGeo - http://opengeo.org
> Expert service straight from the developers.
> _______________________________________________
> Dev mailing list
> Dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-dev



More information about the Dev mailing list