• 大小: 0.06M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签:

资源简介

根据txt坐标点,自动生成点位shp文件。

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ESRI.ArcGIS.Geodatabase;
using ESRI.ArcGIS.DataSourcesFile;
using ESRI.ArcGIS.Geometry;
using System.IO;

namespace GeneratePointUI
{
   public class GeneratePointDAL
    {
       public static void GeneratePoint(string fileNamestring outPutPathstring prjFileName List allData)
       {
           string shapName = System.IO.Path.GetFileNameWithoutExtension(fileName) + “.shp“;
           string prjName = System.IO.Path.GetFileNameWithoutExtension(fileName) + “.prj“;
           string dbfName = System.IO.Path.GetFileNameWithoutExtension(fileName) + “.dbf“;
           string shxName = System.IO.Path.GetFileNameWithoutExtension(fileName) + “.shx“;
           string 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      18432  2015-07-14 11:53  GeneratePointUI\GeneratePointUI\bin\Debug\GeneratePointUI.exe

     文件      32256  2015-07-14 11:53  GeneratePointUI\GeneratePointUI\bin\Debug\GeneratePointUI.pdb

     文件      11600  2015-07-14 11:53  GeneratePointUI\GeneratePointUI\bin\Debug\GeneratePointUI.vshost.exe

     文件        490  2010-03-17 22:39  GeneratePointUI\GeneratePointUI\bin\Debug\GeneratePointUI.vshost.exe.manifest

     文件       6684  2015-06-10 21:55  GeneratePointUI\GeneratePointUI\GeneratePointDAL.cs

     文件       6376  2015-06-10 21:56  GeneratePointUI\GeneratePointUI\GeneratePointUI.csproj

     文件       3184  2015-07-14 11:36  GeneratePointUI\GeneratePointUI\MainForm.cs

     文件       7649  2015-06-10 22:10  GeneratePointUI\GeneratePointUI\MainForm.Designer.cs

     文件       6291  2015-06-10 22:10  GeneratePointUI\GeneratePointUI\MainForm.resx

     文件     122144  2015-07-14 11:35  GeneratePointUI\GeneratePointUI\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       7485  2015-07-14 11:53  GeneratePointUI\GeneratePointUI\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件       2180  2015-07-14 11:53  GeneratePointUI\GeneratePointUI\obj\x86\Debug\GeneratePointUI.csproj.FileListAbsolute.txt

     文件      18432  2015-07-14 11:53  GeneratePointUI\GeneratePointUI\obj\x86\Debug\GeneratePointUI.exe

     文件        588  2015-07-14 11:53  GeneratePointUI\GeneratePointUI\obj\x86\Debug\GeneratePointUI.MainForm.resources

     文件      32256  2015-07-14 11:53  GeneratePointUI\GeneratePointUI\obj\x86\Debug\GeneratePointUI.pdb

     文件        180  2015-07-14 11:53  GeneratePointUI\GeneratePointUI\obj\x86\Debug\GeneratePointUI.Properties.Resources.resources

     文件        322  2015-07-14 11:53  GeneratePointUI\GeneratePointUI\obj\x86\Debug\GenerateResource.read.1.tlog

     文件        774  2015-07-14 11:53  GeneratePointUI\GeneratePointUI\obj\x86\Debug\GenerateResource.write.1.tlog

     文件        389  2015-06-29 15:01  GeneratePointUI\GeneratePointUI\PointInfoModel.cs

     文件        586  2015-06-10 21:36  GeneratePointUI\GeneratePointUI\Program.cs

     文件       1362  2015-06-10 21:30  GeneratePointUI\GeneratePointUI\Properties\AssemblyInfo.cs

     文件       2878  2015-06-10 21:30  GeneratePointUI\GeneratePointUI\Properties\Resources.Designer.cs

     文件       5612  2015-06-10 21:30  GeneratePointUI\GeneratePointUI\Properties\Resources.resx

     文件       1098  2015-06-10 21:30  GeneratePointUI\GeneratePointUI\Properties\Settings.Designer.cs

     文件        249  2015-06-10 21:30  GeneratePointUI\GeneratePointUI\Properties\Settings.settings

     文件       1689  2015-07-14 11:53  GeneratePointUI\GeneratePointUI\ReadDataClass.cs

     文件        887  2015-06-10 21:30  GeneratePointUI\GeneratePointUI.sln

    ..A..H.     29696  2015-07-14 11:53  GeneratePointUI\GeneratePointUI.suo

     目录          0  2015-06-10 21:30  GeneratePointUI\GeneratePointUI\obj\x86\Debug\TempPE

     目录          0  2015-12-31 23:24  GeneratePointUI\GeneratePointUI\obj\x86\Debug

............此处省略11个文件信息

评论

共有 条评论

相关资源