Centroid of a shape from .shp file

8 views (last 30 days)
Durga Lal Shrestha
Durga Lal Shrestha on 18 Mar 2015
How can I get centroid of a shape from Shapefile? I have used polygeom from FLEX to compute centroid from a single polygon. But my Shapefile contains many polygons, so I use polybool from mapping toolbox to join the polygons into a sinlge polygon, then use polygeom. However polybool is not always reliable to join the polygons of the shape file.
Is there any other way to get centroil?
Thank you very much. Durga

Answers (0)

Categories

Find more on Triangulation Representation in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!