[OpenLayers-Dev] reading WKT Format and GEOMETRYCOLLECTIONS

Marc Jansen jansen at terrestris.de
Thu Jul 29 03:01:39 EDT 2010


Hi all.

Correction: the other write()-ticket is 
http://trac.openlayers.org/ticket/2240

Regards,
Marc


On 29.07.2010 08:58, Marc Jansen wrote:
> Hi Eric,
>
> thanks for the response. The only ticket I found would be
> http://trac.openlayers.org/ticket/2707, which does not include a patch.
> There are other tickets (http://trac.openlayers.org/ticket/2707 and
> http://trac.openlayers.org/ticket/2706) which address the
> write()-method, but AFAICT ignore the read()-method.
>
> If there is consensus about the suggestion in #2707 (add the
> possibillity to control the return type for GCs), I'd give it a shot.
>
> Regards,
> Marc
>
>
>
> On 29.07.2010 08:28, Eric Lemoine wrote:
>    
>> 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.
>>
>>
>>      
>
>    


-- 

   .................................................................
    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