资源简介
本系统能够实现GIS的基本功能,系统较为基础,有SQL Server数据库数据,有登陆界面及注册功能,可修饰加工,适用于地信测绘开发入门,功能包括:添加文件,地图放大\缩小、比例放大\缩小、地图漫游、全图显示、距离量测、面积量测、移除图层、打开属性表、鹰眼等。

代码片段和文件信息
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ESRI.ArcGIS.Carto;
using ESRI.ArcGIS.Controls;
using ESRI.ArcGIS.DataSourcesFile;
using ESRI.ArcGIS.DataSourcesGDB;
using ESRI.ArcGIS.Display;
using ESRI.ArcGIS.esriSystem;
using ESRI.ArcGIS.Geodatabase;
using ESRI.ArcGIS.Geometry;
using ESRI.ArcGIS.GlobeCore;
using ESRI.ArcGIS.Output;
using ESRI.ArcGIS.SystemUI;
using WindowsFormsApplication3.command;
using MyGis.Forms;
namespace WindowsFormsApplication3
{
public partial class Form1 : DevComponents.DotNetBar.RibbonForm
{
private ilayer currentlayer;
private FrmAttributesTable FrmAttributesTable;
//构造函数
public Form1()
{
InitializeComponent();
}
private void ribbonTabItem1_Click(object sender EventArgs e)
{
}
//地图放大
private void buttonItem14_Click(object sender EventArgs e)
{
ICommand command = new ControlsMapZoomInTool();
command.OnCreate(axMapControl1.object);
axMapControl1.CurrentTool = command as ITool;
}
//地图缩小
private void buttonItem15_Click(object sender EventArgs e)
{
ICommand command = new ControlsMapZoomOutTool();
command.OnCreate(axMapControl1.object);
axMapControl1.CurrentTool = command as ITool;
}
//比例放大
private void buttonItem16_Click(object sender EventArgs e)
{
ICommand command = new ControlsMapZoomInFixedCommand();
command.OnCreate(axMapControl1.GetOcx());
command.onclick();
}
//比例缩小
private void buttonItem17_Click(object sender EventArgs e)
{
ICommand command = new ControlsMapZoomOutFixedCommand();
command.OnCreate(axMapControl1.GetOcx());
command.onclick();
}
//地图漫游
private void buttonItem18_Click(object sender EventArgs e)
{
ICommand command = new ControlsMapPanTool();
command.OnCreate(axMapControl1.object);
axMapControl1.CurrentTool = command as ITool;
}
//全图显示
private void buttonItem19_Click(object sender EventArgs e)
{
ICommand command = new ControlsMapFullExtentCommand();
command.OnCreate(axMapControl1.object);
command.onclick();
}
//添加数据
private void buttonItem20_Click(object sender EventArgs e)
{
FolderBrowserDialog folderBrowserDialog = new FolderBrowserDialog();
folderBrowserDialog.Description = “请选择数据文件“;
if (folderBrowserDialog.ShowDialog() == DialogResult.OK)
{
//若普通文件,则不操
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
..A..H. 70144 2019-06-23 18:02 校园基建管理系统\WindowsFormsApplication3\.vs\WindowsFormsApplication3\v14\.suo
文件 445 2019-06-19 17:14 校园基建管理系统\WindowsFormsApplication3\WindowsFormsApplication3\app.config
文件 1350144 2019-06-26 10:31 校园基建管理系统\WindowsFormsApplication3\WindowsFormsApplication3\bin\Debug\WindowsFormsApplication3.exe
文件 445 2019-06-19 17:14 校园基建管理系统\WindowsFormsApplication3\WindowsFormsApplication3\bin\Debug\WindowsFormsApplication3.exe.config
文件 284160 2019-06-26 10:31 校园基建管理系统\WindowsFormsApplication3\WindowsFormsApplication3\bin\Debug\WindowsFormsApplication3.pdb
文件 23168 2019-06-26 10:31 校园基建管理系统\WindowsFormsApplication3\WindowsFormsApplication3\bin\Debug\WindowsFormsApplication3.vshost.exe
文件 445 2019-06-19 17:14 校园基建管理系统\WindowsFormsApplication3\WindowsFormsApplication3\bin\Debug\WindowsFormsApplication3.vshost.exe.config
文件 490 2016-07-16 19:44 校园基建管理系统\WindowsFormsApplication3\WindowsFormsApplication3\bin\Debug\WindowsFormsApplication3.vshost.exe.manifest
文件 246 2019-06-18 09:11 校园基建管理系统\WindowsFormsApplication3\WindowsFormsApplication3\command\Area1.bmp
文件 5359 2019-06-18 09:15 校园基建管理系统\WindowsFormsApplication3\WindowsFormsApplication3\command\Area1.cs
文件 326 2019-06-18 09:11 校园基建管理系统\WindowsFormsApplication3\WindowsFormsApplication3\command\Area1.cur
文件 246 2019-06-17 15:17 校园基建管理系统\WindowsFormsApplication3\WindowsFormsApplication3\command\Measure_length.bmp
文件 5364 2019-06-17 15:19 校园基建管理系统\WindowsFormsApplication3\WindowsFormsApplication3\command\Measure_length.cs
文件 326 2019-06-17 15:17 校园基建管理系统\WindowsFormsApplication3\WindowsFormsApplication3\command\Measure_length.cur
文件 11733 2019-06-21 14:16 校园基建管理系统\WindowsFormsApplication3\WindowsFormsApplication3\Form1.cs
文件 59740 2019-06-21 14:16 校园基建管理系统\WindowsFormsApplication3\WindowsFormsApplication3\Form1.Designer.cs
文件 32254 2019-06-21 14:16 校园基建管理系统\WindowsFormsApplication3\WindowsFormsApplication3\Form1.resx
文件 3761 2019-06-20 17:32 校园基建管理系统\WindowsFormsApplication3\WindowsFormsApplication3\Form2.cs
文件 7916 2019-06-20 10:15 校园基建管理系统\WindowsFormsApplication3\WindowsFormsApplication3\Form2.Designer.cs
文件 5817 2019-06-20 10:15 校园基建管理系统\WindowsFormsApplication3\WindowsFormsApplication3\Form2.resx
文件 405 2019-06-20 14:02 校园基建管理系统\WindowsFormsApplication3\WindowsFormsApplication3\Form3.cs
文件 1184 2019-06-20 14:02 校园基建管理系统\WindowsFormsApplication3\WindowsFormsApplication3\Form3.Designer.cs
文件 5817 2019-06-20 14:02 校园基建管理系统\WindowsFormsApplication3\WindowsFormsApplication3\Form3.resx
文件 5143 2019-06-20 14:12 校园基建管理系统\WindowsFormsApplication3\WindowsFormsApplication3\FormQuery.cs
文件 6592 2019-06-20 14:12 校园基建管理系统\WindowsFormsApplication3\WindowsFormsApplication3\FormQuery.Designer.cs
文件 5817 2019-06-20 14:12 校园基建管理系统\WindowsFormsApplication3\WindowsFormsApplication3\FormQuery.resx
文件 9708 2019-06-18 13:54 校园基建管理系统\WindowsFormsApplication3\WindowsFormsApplication3\FrmAttributesTable.cs
文件 6195 2019-06-18 08:20 校园基建管理系统\WindowsFormsApplication3\WindowsFormsApplication3\FrmAttributesTable.Designer.cs
文件 5817 2019-06-18 08:20 校园基建管理系统\WindowsFormsApplication3\WindowsFormsApplication3\FrmAttributesTable.resx
文件 2880 2019-06-20 09:46 校园基建管理系统\WindowsFormsApplication3\WindowsFormsApplication3\FrmDataAdd.cs
............此处省略316个文件信息
相关资源
- 在线词典项目v1.1.zip
- php mysql经典留言本源码 代码通俗易懂
- SQLTOOLS2.0汉化版(1433连接工具)
- PHP MySQL 物流管理 数据库文件
- PHP MySQL 技术 毕业设计 物流管理系统
- 4秒100万条数据导入SQL数据库
- php mysql 在线作业管理系统
- MySql.data.dll +使用说明
- pb 酒店管理系统(代码、sql数据库)
- 图书管理系统 PHP MYSQL实现
- [PHP MySQL]图书馆管理系统前后台全部代
- sql数据库导出到txt文件
- 人事管理系统数据库文件SQL2000
- sqlserver学习ppt 全套共18个
- 门禁系统论文及数据库sqlserver2005数据
- labview中LABSQL数据库的使用
- C 开发的SQL数据库实现的公司员工信
- 企业人事管理系统【SQLServer数据库+课
- 数据字典导出工具 导出SqlServer数据库
- 通过SqlBulkCopy对象从Excel中批量导入到
- 基于PHP+MYSQL的学生成绩管理系统
- 批处理执行sql语句
- Spring+Struts2+Hibernate人力资源管理系统
- 我自己写php mysql聊天室
- mysql 数据库连接池
- sql server 2000经典范例
- 设备管理系统(SQL体验版)
- 完整的php mysql js用户注册与登陆
- MySQL数据库用户在线注册系统
- 易语言Client(客户端)源码易语言s
评论
共有 条评论