[OpenLayers-Users] Can't get WKT from
OpenLayers.Geometry.Collection?
Tobias Sauerwein
tobias.sauerwein at camptocamp.com
Wed Apr 28 06:00:07 EDT 2010
Hi Eric,
I uploaded the patch: http://trac.openlayers.org/ticket/2240
The API changed in a way, that for GEOMETRYCOLLECTION WKT strings no
array is returned anymore, but an object of OpenLayers.Feature.Vector
which contains an OpenLayers.Geometry.Collection geometry.
Thanks for reviewing!
Tobias
On Tue, Apr 27, 2010 at 10:08 PM, Eric Lemoine
<eric.lemoine at camptocamp.com> wrote:
> On Thu, Apr 22, 2010 at 1:30 PM, Tobias Sauerwein
> <tobias.sauerwein at camptocamp.com> wrote:
>> Hi!
>>
>> I am trying to get a WKT string from a OpenLayers.Geometry.Collection,
>> but only null is returned. I found this ticket [1], but which is 8
>> months old. Is this method still not implemented yet for collections?
>
> Indeed, our wkt format does not support GeometryCollection when
> writing. I'll review patches for this. Thanks Tobias.
>
> --
> Eric Lemoine
>
> Camptocamp France SAS
> Savoie Technolac, BP 352
> 73377 Le Bourget du Lac, Cedex
>
> Tel : 00 33 4 79 44 44 96
> Mail : eric.lemoine at camptocamp.com
> http://www.camptocamp.com
>
More information about the Users
mailing list