Hi Chris, but not all geometries are necessarily tied to layers are they?
Imagine a polygon created by a handler, which is then used in Filters for a WFS Request. There is no way to tell which projection the geometry is in currently. Best regards, Bart > On Tue, Jul 22, 2008 at 11:56:12AM +0200, [EMAIL PROTECTED] wrote: >> Hi list, >> >> I am looking into ticket 1254, and this got me to wonder, isn't an >> OpenLayers.Geometry missing a projection property? > > I don't think it's 'missing' it. It doesn't have one, but I've never > felt the lack :) > > Generally, projection information lives at a higher level: Typically, in > the layer or map (which the Geometry can get to through the feature, > usually?) > > See line 456 of Format.GeoJSON. > > Regards, > -- > Christopher Schmidt > MetaCarta > _______________________________________________ Dev mailing list [email protected] http://openlayers.org/mailman/listinfo/dev
