[OpenLayers-Dev] comment wrt latest GML update

Tim Schaub tschaub at opengeo.org
Wed Feb 4 11:55:52 EST 2009


Eric Lemoine wrote:
> Hi devs
> The recent GML update Tim committed in trunk makes the GML format
> reads BoundedBy into feature.geometry.bounds.
> Chris and I discussed this over the IRC a while back, we came to the
> conclusion that the geometry.bounds value should always be calculated
> by OpenLayers, and should therefore not be set to an external,
> unreliable value. This provides some guarantee to the programmer on
> the value of this property.

Sorry I missed the discussion.  I don't get this at all.  Unreliable?

The point is to make use of what the server has already calculated and 
ease the burden for the client.

> After this discussion I wrote and committed a GeoJSON patch, where
> GeoJSON "box" properties are read as feature.bounds, a new feature
> property dedicated to storing BoundedBy values read from the outside
> world.

Who would ever make use of the BoundedBy property?

> What do you think? Should the GML format be changed to address that?
> At least I think we need some consistenry here.
> Cheers,
> Eric
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev

Tim Schaub
OpenGeo - http://opengeo.org
Expert service straight from the developers.

More information about the Dev mailing list