概述
#############################################################
import arcpy
import os
from arcpy import env
import math
env.overwriteOutput = True
shp_sheet = arcpy.GetParameterAsText(0)
sr = arcpy.Describe(shp_sheet).spatialReference
arcpy.AddMessage("sr.type:"+sr.type)
arcpy.AddMessage("sr.datumName:"+sr.datumName)
arcpy.AddMessage("sr.name:"+sr.name)
arcpy.AddMessage("sr.PCSCode:"+str(sr.PCSCode))
arcpy.AddMessage("sr.PCSName:"+sr.PCSName)
arcpy.AddMessage("sr.projectionName:"+sr.projectionName)
arcpy.AddMessage("sr.projectionCode:"+str(sr.projectionCode))
arcpy.AddMessage("sr.GCSCode:"+str(sr.GCSCode))
arcpy.AddMessage("sr.GCSName:"+sr.GCSName)
arcpy.AddMessage("sr.spheroidName:"+sr.spheroidName)
arcpy.AddMessage("sr.type:"+sr.type)
投影信息如下:
sr.type:Projected
sr.datumName:
sr.name:Xian_1980_3_Degree_GK_Zone_35
sr.PCSCode:2359
sr.PCSName:Xian_1980_3_Degree_GK_Zone_35
sr.projectionName:Transverse_Mercator
sr.projectionCode:43006
sr.GCSCode:0
sr.GCSName:
sr.spheroidName:
sr.type:Projected
地理坐标系如下:
消息
执行: 脚本 Export_Output_2_矩形接幅表
开始时间: Wed May 08 19:40:33 2019
正在运行脚本 脚本...
sr.type:Geographic
sr.datumName:D_Xian_1980
sr.name:GCS_Xian_1980
sr.PCSCode:0
sr.PCSName:
sr.projectionName:
sr.projectionCode:0
sr.GCSCode:4610
sr.GCSName:GCS_Xian_1980
sr.spheroidName:Xian_1980
sr.type:Geographic
Completed script 脚本...
成功 在 Wed May 08 19:40:33 2019 (经历的时间: 0.00 秒)
最后
以上就是默默糖豆为你收集整理的arcgis 点坐标python_ArcGIS Python 坐标系信息的全部内容,希望文章能够帮你解决arcgis 点坐标python_ArcGIS Python 坐标系信息所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复