[OpenLayers-Dev] reading WKT Format and GEOMETRYCOLLECTIONS

Marc Jansen jansen at terrestris.de
Mon Jul 26 06:39:16 EDT 2010


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?

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

Regards,
Marc

-- 

   .................................................................
    Karten im (Inter|Intra)net?

    OpenLayers - Webentwicklung mit dynamischen Karten und Geodaten
    von M. Jansen und T. Adams, OpenSourcePress, München.

    ISBN: 978-3-937514-92-5
    URL:  http://openlayers-buch.de
   .................................................................


   Dipl.-Geogr. Marc Jansen
   - Anwendungsentwickler -

   terrestris GmbH&  Co. KG
   Irmintrudisstraße 17
   53111 Bonn

   Tel:    ++49 (0)228 / 96 28 99 -53
   Fax:    ++49 (0)228 / 96 28 99 -57

   Email:  jansen at terrestris.de
   Web:    http://www.terrestris.de

   Amtsgericht Bonn, HRA 6835
   Komplementärin:  terrestris Verwaltungsgesellschaft mbH
   vertreten durch: Hinrich Paulsen, Till Adams





More information about the Dev mailing list