[OpenLayers-Dev] reading WKT Format and GEOMETRYCOLLECTIONS

Eric Lemoine eric.lemoine at camptocamp.com
Thu Jul 29 02:28:43 EDT 2010


On Monday, July 26, 2010, Marc Jansen <jansen at terrestris.de> wrote:
> Hi List,
>
> When using the WKT Format and feeding it -- via read() -- a
> GEOMETRYCOLLECTION we return an array of single features having
> geometries that represent the parts of the GEOMETRYCOLLECTION . It is
> AFAIK not possible to return one feature with a geometry of type
> OpenLayers.Geometry.Collection.
>
> Shouldn't we make it configurable how to handle GEOMETRYCOLLECTIONs?

Hi Marc. I think there's an ticket with a patch for that issue. To
help move forward with this issue you could possibly test the patch
and report back in the ticket. Thanks,

>
> And BTW, shouldn't read and write be APIMethods (at least for Format.WKT
> they aren't)

Yes they should. I'll go ahead and change that.

-- 
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 Dev mailing list