Skip to main content
Question

How to get polygon centroid points?

  • September 27, 2013
  • 4 replies
  • 1337 views

sidneygis
I have a hydrants layer from CAD that identifies Hydrants with polygon geometry. I want to get the centroid of it, then output to GIS format.

 

 

Any help is appreciated, thanks.

 

 

4 replies

sidneygis
  • Author
  • September 27, 2013
I'm hot on the trail with: CenterPointReplacer....should be good.

fmelizard
Contributor
Forum|alt.badge.img+17
  • Contributor
  • September 27, 2013
Be aware the it returns the center point of the feature's bounding box.

 

Another option is the inside point replacer  and the center of gravity replacer.

 

always advisable is to check out thedocumentarion. 

takashi
Influencer
  • September 28, 2013
Hi,

 

 

"centroid" means a center of mass. If you need to follow the terminology definition strictly, you can use the CenterOfGravityReplacer transformer.

 

Similar question:

 

http://fmepedia.safe.com/AnswersQuestionDetail?id=906a0000000coeQAAQ

 

 

Takashit

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • September 30, 2013
centrepoint seems ok ....i assume hydrants have a symetrical shape...like a circle.

 

So center of gravity would be same as centerpoint..

 

 

unless u have wacky geometry to represent the hydrants.

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings