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

1 回表示 (過去 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 Center および File ExchangeBounding Regions についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by