Skip to main content
edited tags; edited title
Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345

Obtaining extent of each polygon in shapefile using ArcPy? with ArcMap

edited tags
Link
user2856
  • 69.5k
  • 6
  • 119
  • 203
corrected spelling
Source Link
nmtoken
  • 13.6k
  • 5
  • 38
  • 89

In arcgisArcGIS 10 and pythonPython I want to get the extent (xmax, ymax, xmin, ymin) info of each of the polygons in a shape fileshapefile.

I can get the extent of the whole shape fileshapefile using

That being said I know that we can create the X/Y, max/min using the function from http://www.ian-ko.com/free/free_arcgis.htm but it would be best if we can avoid having to add fields, especially if arcpyArcPy can get these values.

In arcgis 10 and python I want to get the extent (xmax, ymax, xmin, ymin) info of each of the polygons in a shape file.

I can get the extent of the whole shape file using

That being said I know that we can create the X/Y, max/min using the function from http://www.ian-ko.com/free/free_arcgis.htm but it would be best if we can avoid having to add fields, especially if arcpy can get these values.

In ArcGIS 10 and Python I want to get the extent (xmax, ymax, xmin, ymin) info of each of the polygons in a shapefile.

I can get the extent of the whole shapefile using

That being said I know that we can create the X/Y, max/min using the function from http://www.ian-ko.com/free/free_arcgis.htm but it would be best if we can avoid having to add fields, especially if ArcPy can get these values.

replaced http://gis.stackexchange.com/ with https://gis.stackexchange.com/
Source Link
Loading
Post Merged (destination) from gis.stackexchange.com/questions/33679/…
edited title; edited tags
Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345
Loading
deleted 9 characters in body; edited tags; edited title
Source Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345
Loading
edited tags
Link
underdark
  • 84.5k
  • 22
  • 233
  • 415
Loading
added working code for use
Source Link
GeorgeC
  • 8.3k
  • 7
  • 56
  • 143
Loading
Tweeted twitter.com/#!/StackGIS/status/132643069194543104
edited title
Link
underdark
  • 84.5k
  • 22
  • 233
  • 415
Loading
added some details
Source Link
GeorgeC
  • 8.3k
  • 7
  • 56
  • 143
Loading
Source Link
GeorgeC
  • 8.3k
  • 7
  • 56
  • 143
Loading