How can I make several polygons with alphaShape from a shapefile that contains multiple line objects?

2 次查看(过去 30 天)
I downloaded a shapefile with the coastline of New Zealand. I would like to check several coordinates to see if they are within the land of New Zealand. (I found out that I should use the inShape function.) Since the shapefile contains several islands/polygons, when I use alphaShape it makes one huge polygon which is a mess. How can I separate the different islands/polygons? Thank you for your help and answers!

回答(1 个)

Matt J
Matt J 2018-8-26
Use a smaller alpha radius.

类别

Help CenterFile Exchange 中查找有关 Bounding Regions 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by