AnsweredAssumed Answered

Query elevation data within python script

Question asked by walterboyd3 on May 30, 2019
Latest reply on Jun 6, 2019 by Hornbydd

Greetings, I'm new to ArcGis and this community.  Hope this isn't a dumb question.  In a python script I'm loading a polygon shapefile and creating a buffer around each polygon, writing this to a new file.  This all works great.  But the size of the buffer needs to depend on the ground elevation of the polygon. 


So here is my question:  What approach should I take to get the elevation of a polygon? 


I've tried the SummarizeElevation tool, but only works on 1000 polys at a time, and it's slow.  The AddSurfaceInformation_3d is just throwing a 999999 error for me (and yes I tried repair).


Also note, the elevation doesn't need to be super accurate.  Sampling the first point on the polygon would be sufficient.