Topological digitising in OpenLayers?

37 views
Skip to first unread message

Robert Sanson

unread,
Oct 3, 2017, 4:45:36 PM10/3/17
to openlay...@googlegroups.com
Hi

Is it possible to digitise polygon features by digitising lines that
snap together and create nodes at intersections? I have an application
that needs to create both lines and enclosed polygons simultaneously,
so that we can report the length of individual edges and the polygons.

Many thanks,

Robert Sanson

Thomas Gratier

unread,
Oct 4, 2017, 4:44:26 AM10/4/17
to OpenLayers Dev on behalf of Robert Sanson
Hi,

You may look at Topolis https://github.com/bjornharrtell/topolis
There is an OpenLayers sample to illustrate http://openlayers.org/en/latest/examples/topolis.html


Regards,

Thomas Gratier


--
You received this message because you are subscribed to the Google Groups "OpenLayers Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openlayers-dev+unsubscribe@googlegroups.com.
To post to this group, send email to openlayers-dev@googlegroups.com.
Visit this group at https://groups.google.com/group/openlayers-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlayers-dev/CANpwUM2p-W%2BHW9arm8x_QKYMYP2eq2HYHK92z93p6J7dLNt-dA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Mihkel Oviir

unread,
Oct 4, 2017, 6:20:49 AM10/4/17
to OpenLayers Dev on behalf of ThomasG77
In the early versions of ol3, there was topological editing implemented. What happened with that?

2017-10-04 11:44 GMT+03:00 OpenLayers Dev on behalf of ThomasG77 <openlay...@googlegroups.com>:
Hi,

You may look at Topolis https://github.com/bjornharrtell/topolis
There is an OpenLayers sample to illustrate http://openlayers.org/en/latest/examples/topolis.html


Regards,

Thomas Gratier
2017-10-03 22:45 GMT+02:00 OpenLayers Dev on behalf of Robert Sanson <openlayers-dev@googlegroups.com>:
Hi

Is it possible to digitise polygon features by digitising lines that
snap together and create nodes at intersections? I have an application
that needs to create both lines and enclosed polygons simultaneously,
so that we can report the length of individual edges and the polygons.

Many thanks,

Robert Sanson

--
You received this message because you are subscribed to the Google Groups "OpenLayers Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openlayers-dev+unsubscribe@googlegroups.com.
To post to this group, send email to openlay...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "OpenLayers Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openlayers-dev+unsubscribe@googlegroups.com.
To post to this group, send email to openlayers-dev@googlegroups.com.
Visit this group at https://groups.google.com/group/openlayers-dev.

Andreas Hocevar

unread,
Oct 4, 2017, 7:15:21 AM10/4/17
to OpenLayers Dev on behalf of Mihkel Oviir
Depending on what you mean exactly, it's still there. Try the
http://openlayers.org/en/latest/examples/modify-features.html
examples, select multiple countries, and edit their shared borders.
That's the only kind of topological editing that OpenLayers had and
has built in.

Andreas.

On Wed, Oct 4, 2017 at 12:20 PM, OpenLayers Dev on behalf of Mihkel
Oviir <openlay...@googlegroups.com> wrote:
> In the early versions of ol3, there was topological editing implemented.
> What happened with that?
>
> 2017-10-04 11:44 GMT+03:00 OpenLayers Dev on behalf of ThomasG77
> <openlay...@googlegroups.com>:
>>
>> Hi,
>>
>> You may look at Topolis https://github.com/bjornharrtell/topolis
>> There is an OpenLayers sample to illustrate
>> http://openlayers.org/en/latest/examples/topolis.html
>>
>>
>> Regards,
>>
>> Thomas Gratier
>>
>> 2017-10-03 22:45 GMT+02:00 OpenLayers Dev on behalf of Robert Sanson
>> <openlay...@googlegroups.com>:
>>>
>>> Hi
>>>
>>> Is it possible to digitise polygon features by digitising lines that
>>> snap together and create nodes at intersections? I have an application
>>> that needs to create both lines and enclosed polygons simultaneously,
>>> so that we can report the length of individual edges and the polygons.
>>>
>>> Many thanks,
>>>
>>> Robert Sanson
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "OpenLayers Dev" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an
>>> email to openlayers-de...@googlegroups.com.
>>> To post to this group, send email to openlay...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/openlayers-dev.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/openlayers-dev/CANpwUM2p-W%2BHW9arm8x_QKYMYP2eq2HYHK92z93p6J7dLNt-dA%40mail.gmail.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "OpenLayers Dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to openlayers-de...@googlegroups.com.
>> To post to this group, send email to openlay...@googlegroups.com.
>> Visit this group at https://groups.google.com/group/openlayers-dev.
>> To view this discussion on the web visit
> --
> You received this message because you are subscribed to the Google Groups
> "OpenLayers Dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to openlayers-de...@googlegroups.com.
> To post to this group, send email to openlay...@googlegroups.com.
> Visit this group at https://groups.google.com/group/openlayers-dev.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/openlayers-dev/CANeBs_RrOqsto156A1wW0ruJa5GGyks-rsq_Kp8EUZxkchgHgg%40mail.gmail.com.

Robert Sanson

unread,
Oct 4, 2017, 3:31:57 PM10/4/17
to OpenLayers Dev on behalf of ThomasG77
Thanks all. Topolis seems to have what I need.

Kind regards,

Robert

On Wed, Oct 4, 2017 at 9:44 PM, OpenLayers Dev on behalf of ThomasG77
<openlay...@googlegroups.com> wrote:
> Hi,
>
> You may look at Topolis https://github.com/bjornharrtell/topolis
> There is an OpenLayers sample to illustrate
> http://openlayers.org/en/latest/examples/topolis.html
>
>
> Regards,
>
> Thomas Gratier
>
> 2017-10-03 22:45 GMT+02:00 OpenLayers Dev on behalf of Robert Sanson
> <openlay...@googlegroups.com>:
>>
>> Hi
>>
>> Is it possible to digitise polygon features by digitising lines that
>> snap together and create nodes at intersections? I have an application
>> that needs to create both lines and enclosed polygons simultaneously,
>> so that we can report the length of individual edges and the polygons.
>>
>> Many thanks,
>>
>> Robert Sanson
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "OpenLayers Dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to openlayers-de...@googlegroups.com.
>> To post to this group, send email to openlay...@googlegroups.com.
> --
> You received this message because you are subscribed to the Google Groups
> "OpenLayers Dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to openlayers-de...@googlegroups.com.
> To post to this group, send email to openlay...@googlegroups.com.
> Visit this group at https://groups.google.com/group/openlayers-dev.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/openlayers-dev/CACPZzQ1ygLUOpPgaBJ5EiX%3D3PevXQRUQV6c1skADXWAgJrgXsw%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages