Dengan menggunakan IDLE (Python GUI) sebagai berikut:
import arcpy
from arcpy import env
# Set environment settings
env.workspace = "D:/MASTERPROGRAM/Python/esri video/data/PythonDesktop10_0/Data/Shapefiles/Streets.shp"
# Set local variables
inFeatures = "Schools"
#fc = inFeatures = "Streets"
desc = arcpy.Describe(inFeatures)
print "Shapetype", desc.shapeType
output:
Atau dengan mengunakan windows Python di ArcMap
0 comments:
Post a Comment