[OpenLayers-Users] Splitting a polygon

Dipl. Inf. Carsten Eider eider at fh-bingen.de
Mon Jul 21 11:05:09 EDT 2008


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 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openlayers.org/pipermail/users/attachments/20080721/d8f1df6b/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eider.vcf
Type: text/x-vcard
Size: 330 bytes
Desc: not available
Url : http://openlayers.org/pipermail/users/attachments/20080721/d8f1df6b/attachment.vcf 


More information about the Users mailing list