[OpenLayers-Dev] projection property on Geometry?
Tim Schaub
tschaub at opengeo.org
Wed Jul 23 16:18:11 EDT 2008
Hey-
bartvde at osgis.nl wrote:
> 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.
>
I think it's good to keep talking about this. I've put a projection
property on the spatial filter somewhere.
We've got a good bit of srs related thinking to do. Would be good to
decide where things make the most sense.
Tim
> Best regards,
> Bart
>
>> On Tue, Jul 22, 2008 at 11:56:12AM +0200, bartvde at osgis.nl 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
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
>
> !DSPAM:4033,4885ced9118155219720167!
>
More information about the Dev
mailing list