⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 program.cs

📁 ESRI scheme 文件投影修改
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
namespace ChangeXMLPrj
{
    class Program
    {
        static void Main(string[] args)
        {
            if( LicenseCheck.CheckLicense()==false)return ;
            //ClsOutToGDB cls = new ClsOutToGDB();
            //cls.CheckInGDB();
            //cls.CheckOutRepia();

            //Console.WriteLine("##Go");解析创建prj文件投影
            //PrjFileProp objprjProp = new PrjFileProp(All.Fprjname );


            Console.WriteLine("##GDB XML FILE:");

            EsriXmlEdit exe = new EsriXmlEdit(All.Fxmlmodelname);
            opera op = new opera();
            exe.ISpatialRef = op.getSpatialRefByPrjFile();
            exe.ESRTTypehead = All.tagAttrvaluePCS;
            exe.Duck();
            exe.Close();

           
            //XMLEditor xmledit = new XMLEditor(All.Fxmlmodelname);
            //XmlNode[] refnodes = xmledit.getNodeWithTag(All.tagSpatialRef);
            //ModelSpatialRefProp objSpatialRefProp = new ModelSpatialRefProp(xmledit);
            //opera op = new opera();
            //objSpatialRefProp.ISpatialRef = op.getSpatialRefByPrjFile();
            //objSpatialRefProp.ParseSpatialRefNodeToProp(refnodes);
            //objSpatialRefProp.PrintArgs();
            //xmledit.CloseXMLDoc(true);

            LicenseCheck.ShutDown();
        }
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -