[OpenLayers-Users] Splitting a polygon
Eric Lemoine
eric.c2c at gmail.com
Mon Jul 21 12:12:22 EDT 2008
Hi. It is a bit hard to help you with so few details but i'll give it
a try. You can pass clickout:false to the modify feature control to
disable feature un-selection on clickout. To disable multi-selection
pass multiple:false. I'm not sure that will help... Eric
2008/7/21, Dipl. Inf. Carsten Eider <eider at fh-bingen.de>:
> hi folks,
>
> my work a an openlayers-based geoeditor goes on.
> One of my features i have to developed ist to split a polygon.
> This is my actual solution:
>
> 1. Select polygon
> 2. Select one existing point of the feature
> 3. Select second one
> 4. Split feature on server backend
>
> I would like to be able to split the feature by a variable linestring:
>
> 1. Select polygon
> 2. Select one existing point of the feature
> 3. Select second one
> 4. Modify linestring
> 5. Define end of modification:Split feature on server backend
>
> Upto 5. my solution works: I add a modifyfeature.control
> but now the trouble starts:
> How can i prevent that other features (another polygon) are selected or
> my polygon i unselected when i click outside of it
> How can i detect the end of my modification, maybe by an doubleclick ?
>
> Thx Carsten
>
> --
> Mit freundlichen Grüßen / Yours faithfully
> Carsten Eider
>
> Dipl. Inf. (FH)
>
> Kompetenzzentrum für Innovative Informationssysteme
>
> c/o Fachhochschhule Bingen / University of applied sciences Bingen
>
> Berlinstraße 109
> 55411 Bingen
>
> Tel: +49 (0) 6721 / 409-179
> Fax: +49 (0) 6721 / 409-158
> email: eider at fh-bingen.de
> Internet: iis.fh-bingen.de
>
>
More information about the Users
mailing list