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

1 visualización (últimos 30 días)
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!

Respuestas (1)

Matt J
Matt J el 26 de Ag. de 2018
Use a smaller alpha radius.

Categorías

Más información sobre Bounding Regions en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by