you could

1. convert your sea to Multilinestring
2. explode that
3. convert the isles needed to Polygon again

..ede

On 10/5/2020 13:18, Rahkonen Jukka (MML) wrote:
> 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
>



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

Reply via email to