My goal is to print names of feature classes and corresponding minimum latitude of centroids of geometry for all shapefiles in a folder. In total I have 5 shapefiles and I'm trying to loop through them.
import arcpy
arcpy.env.overwriteOutput = True
arcpy.env.workspace = r"C:\Users\username\dataset_folder"
for z in arcpy.ListFeatureClasses():
print(z)
I am able to print the names of these shapefiles but don't know how to get minimum latitude of centroids of geometry.
What ArcPy tool should I use to get these minimum latitude of centroids of geometries?
SHAPE@Y
to make it simpler (a double, instead of a tuple).