[OpenLayers-Users] Splitting a polygon

Dipl. Inf. Carsten Eider eider at fh-bingen.de
Tue Jul 22 01:40:13 EDT 2008


Hi Eric,

multiple:false sounds good, i will try it.
Any idea how to define the end of modification? May the user should do a 
doubleclick ?

Carsten

Eric Lemoine schrieb:
> 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
>>
>>
>>     

-- 
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 --------------
A non-text attachment was scrubbed...
Name: eider.vcf
Type: text/x-vcard
Size: 342 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/openlayers-users/attachments/20080722/1bef7847/eider.vcf


More information about the Users mailing list