Skip to main content

Workflow to measure radius of circle

Comments

3 comments

  • Tom Neer
    John - Can't say I have done it in a workflow, but could you just take the square root of the area and divide by pi? My only concerns would be the projection of the geometry. If is in UTM or SP, you should be okay, but if it is in Web Mercator, you will need to account for it by either projecting before the calculation or do the math 
    0
  • John Nerge
    That's really cool Rick, thanks! I updated the Assign activity for gisAreaSqFt to use

     

    Math.Sqrt(circleAaL.Areas(0)/Math.Pi)

     

    and it appears to be working!

     

    Per Tom's comment, I am using UTM (NAD_1983_UTM_Zone_15N, WKID 26915). There was a slight discrepancy between the area displayed by MeasureArea and the area reported in the alert, but it's with 0.07%, so I think that's pretty good.

     

    Thanks again!
    0
  • Richard Diaz
    John,

     

    Glad it worked.  Verify your "Tool Behavior" tab in GVH for the measurement configuration.  I had to set mine in order to report what the users were seeing in their ArcMap sessions. 

     

    User-added image
    0

Please sign in to leave a comment.