Gis开发
ldda123
这个作者很懒,什么都没留下…
展开
-
Mapwingis开发04(根据图层id获取数据库存储的数据)
1.先在项目中导入一个数据库连接类2.向数据库内编写数据3.winform设计4.代码编写 public partial class Form1 : Form { Shapefile sf = new Shapefile(); public Form1() { InitializeComponent(); //初始化数据库连接 SClass_OledbHelper.I原创 2021-07-01 22:02:32 · 192 阅读 · 0 评论 -
Mapwingis开发03(图层数据获取)
一.弹框显示图层数据 private ToolStripStatusLabel statusStrip1 = new ToolStripStatusLabel(); private ToolStripStatusLabel m_label = null; public Form1() { InitializeComponent(); ShowAttributes(axMap1, @"", statusStrip原创 2021-06-30 09:42:56 · 355 阅读 · 0 评论 -
Mapwingis开发02(打开图层操作)
一.打开图层操作将图层文件放入 …\bin\Debug文件夹下//设置地图投影axMap1.Projection = tkMapProjection.PROJECTION_WGS84;//打开图层Shapefile sf = new Shapefile();sf.Open(Environment.CurrentDirectory + @"\tantou5.shp", null);int handler=axMap1.AddLayer(sf, true);//定义句柄这里利用arcgis原创 2021-06-29 22:07:50 · 769 阅读 · 0 评论 -
Mapwingis开发01(基础操作)
一.准备工作1.下载安装Mapwingis下载地址:这里根据电脑情况下载64位或32位,如果64位无法引用则下载32位的原创 2021-06-29 20:50:43 · 891 阅读 · 0 评论