Two multipart shapes, (one with holes, one without) and a singlepart shape.
The shape itself is represented by an arcpy array of points. Since there are two parts to the shape, there are two arrays. The inner rings/holes are separated by None.
Each point carries the extra baggage of Z and M values whether they are needed or not.
Object array... an array of arrays
Shapes 2 and 3...
ndarray...ndim = 3 shape = (2, 9, 2)
ndarray...ndim = 2 shape = (4, 2)
Geo array (last 2 olumns, X, Y)
first 3 columns are for printing
This is the dissection of the first polygon down to its elemental parts and the arcpy class methods and properties that can be accessed through the standard interface.
Options for different representations of arcpy geometry arrays are there.
I will continue the development of the Geo class based on numpy's ndarray in my GitHub at...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.