xml结构
#encoding:utf-8
'''
Created on 2014-10-16
@author: shsqkj
'''
# Import system modules
import os
import sys
import arcpy
from arcpy import env
from xml.dom import minidom
from compiler.ast import Node
from platform import node
from ast import NodeVisitor
#Set workspace
sourceDir = os.path.abspath(os.path.dirname(sys.argv[0])) #source dir
env.workspace = sourceDir
def createShapefile(path,filename):
#Set local variables
outPath = path + "/output"
fileName = filename
geometryType = "POINT"
# Creating a spatial reference object
spatialReference = arcpy.SpatialReference(path+"/projected/WGS1984.prj")
#