[Qgis-developer] more advanced editing tools

Bernhard Ströbl bernhard.stroebl at jena.de
Thu Nov 29 23:04:43 PST 2012


Hi Giovanni,

>   Hi Bernhard
>
>
>> this was requested here, too. Fill hole seems (theoretically) quite simple,
>> the other one is harder:
>> 1) which layers are defined to form the space to be filled. Any line or
>> polygon layer could do it. Maybe one would use the ones that are ticked for
>> avoid intersection.
>> 2) what happens if these layers do not form a closed boundary around the
>> point where the user clicked? how would you detect this?
>
>
> actually my suggestion wasn't that advanced:
>
> * the tool should work on just one layer

in that case the algorithm might be easier: just disoolve all polygons 
in the layer into one (spaces are thus converted into holes) and fill 
all the holes in it. Might take a while with layers with many or complex 
polygons, though.

>
> * the tool should be able to fill all holes and/or spaces (with
> polygons) in one go

that is similar but different from what I had in mind. I was thinking 
about the user clicking in a hole or space and just this one is filled. 
The algorithm however would be the same.

Bernhard


>
> or
>
> * allow the user click on a specific hole/space, fill it (with a
> polygon) and pop-up the dialog for attributes
>
>
> there is a plugin (does not seem mantained) that works in a similar
> way, so I guess that it implemets a detection code, anyway it just
> fills holes (not spaces), one at the time, and does not ask to fill
> attributes.
>
>
>
> cheers!
>
>
> __________ Information from ESET Mail Security, version of virus signature database 7746 (20121129) __________
>
> The message was checked by ESET Mail Security.
> http://www.eset.com
>
>



__________ Information from ESET Mail Security, version of virus signature database 7747 (20121129) __________

The message was checked by ESET Mail Security.
http://www.eset.com




More information about the Qgis-developer mailing list