Hi,

What if I would like to convert all the many holes in the sea polygon into 
islands? We have a tool in OJ that does something similar with inner rings by 
removing them (Remove holes and Remove small holes functions). What I am after 
is to select the inner rings of selected features and copy them into a new 
layer as outer rings. The simple tool could discard attributes but an advanced 
one could optionally copy at least the ID of the source polygon. Maybe also a 
"hole_id" could be generated for enabling unique values "main_id"+"hole_id".

I know that I can make a polygon as large as the sea and compute the difference 
but sometimes it could be more convenient for users just to select and run 
"extract holes as polygons". Also, copying the inner rings vertex by vertex 
should be a fast and robust method. If some ring would make an invalid polygon 
it could skipped with a warning. With difference it could mean that the whole 
process fails.

-Jukka Rahkonen-
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to