Centroid of a shape from .shp file

3 ビュー (過去 30 日間)
Durga Lal Shrestha
Durga Lal Shrestha 2015 年 3 月 18 日
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

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by