[OpenLayers-Dev] Topology proposal

Tim Schaub tschaub at opengeo.org
Wed Jun 24 00:59:43 EDT 2009


Hey-

Björn Harrtell wrote:
> Since I made the ticket I've done some additional work available in a
> new sandbox (just for my own sake to keep track what I'm doing against
> 2.8 release)
> 
> The new stuff is topologyenforcement when adding or removing vertices,
> which means that other features intersecting vertices will be removed
> and an edge crossing a new vertex will be split so that another vertex
> intersects the new one.
> 
> OpenLayers stuff added are vertexadded and vertexremoved events to the
> Vector layer and an improvement (?) to containsPoint to give info
> about which edge is crossing (if it is crossing).
> 
> Example is at:
> http://dev.openlayers.org/sandbox/bjornharrtell/eventbasedtopology2/examples/topology.html
> 

This is really cool Björn.  It looks like you've done some really nice 
work.  I look forward to taking a closer look at the code in the near 
future (likely after July 1).

Tim

> I'd also like to say that while I'm more or less where I wanted to get
> functionally and have no current plans for further developent, new
> patches for #2125 aren't my highest priority, partially because I
> think the ticket/patch is good enough to discuss the matter of
> if/how/when to continue the work somehow.
> 
> /Björn
> 
> 2009/6/11 Björn Harrtell <bjorn.harrtell at gmail.com>:
>> I won't argue for the current name, and can see your point so.. we'll
>> see what happens :)
>>
>> Anyway, I put togheter the current code into a patch against current
>> trunk for further discussion which might help you review the source
>> (which would be highly appriciated):
>>
>> http://trac.openlayers.org/ticket/2125
>>
>> /Björn
>>
>> On Thu, Jun 11, 2009 at 09:08, Eric Lemoine<eric.lemoine at camptocamp.com> wrote:
>>> 2009/6/9 Björn Harrtell <bjorn.harrtell at gmail.com>:
>>>> Thanks Eric :)
>>>>
>>>> Details are important, though I would argue that
>>>> OpenLayers.TopologyRule is only one char shorter than
>>>> OpenLayers.Topology.Rule ;)
>>> I'm not trying to save chars here, but to avoid unnecessary deep
>>> namespaces. Just a matter of elegance... I'll try to go deeper in your
>>> code and come up with more constructive comments ;)
>>>
>>>
>>>
>>> --
>>> 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
>>>
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev


-- 
Tim Schaub
OpenGeo - http://opengeo.org
Expert service straight from the developers.



More information about the Dev mailing list