Dataset properties |
|
|
Release 9.1
Last modified August 19, 2005 |
|
| Property | Returns |
| DatasetType |
|
| Extent | XMin; YMin; XMax; YMax |
| SpatialReference: Object | The spatial reference object. |
from win32com.client import Dispatch
GP = Dispatch("esriGeoprocessing.GpDispatch.1")
print GP.Describe("G:\Geoprocessing\GlobalESRI\hospitals.shp").DatasetType
print GP.Describe("G:\Geoprocessing\GlobalESRI\hospitals.shp").Extent