基于C#开发的迷你GIS系统


基于C#开发的迷你GIS系统,实现了GIS的常用基本功能
资源截图
代码片段和文件信息
#region Copyright and License

/****************************************************************************
**
** Copyright (C) 2008 - 2011 Winston Fletcher.
** All rights reserved.
**
** This file is part of the EGIS.Controls class library of Easy GIS .NET.
** 
** Easy GIS .NET is free software: you can redistribute it and/or modify
** it under the terms of the GNU Lesser General Public License version 3 as
** published by the Free Software Foundation and appearing in the file
** lgpl-license.txt included in the packaging of this file.
**
** Easy GIS .NET is distributed in the hope that it will be useful
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License and
** GNU Lesser General Public License along with Easy GIS .NET.
** If not see .
**
****************************************************************************/

#endregion


using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using System.xml;
using EGIS.ShapeFileLib;

[assembly: CLSCompliant(true)]
namespace EGIS.Controls
{
    public delegate void ProgressLoadStatusHandler(int totallayers int numberlayersLoaded);

    
    /// 
    /// SFMap (ShapeFile Map) is a .NET ShapeFile Control which displays shapefiles in a .NET Windows Form application
    /// 

    /// 
    /// This is the main control in the EGIS.Controls namespace
    /// 
    /// The SFMap control is a .NET ShapeFile Control which provides methods to add or remove ShapeFile layers to/from a map zoom pan
    /// and locate shapes on the map.     
    /// 

    /// 

    public partial class SFMap : UserControl
    {
        /// 
        /// EventArgs class containing data for the TooltipDisplayed event
        /// 

        public class TooltipEventArgs : EventArgs
        {
            private int shape = -1;
            private int record = -1;

            private Point mousePos;

            private PointD gisLocation;

            public TooltipEventArgs(int shapeIndex int recordIndex Point mousePt PointD gisPoint)
            {
                this.shape = shapeIndex;
                this.record = recordIndex;
                this.mousePos = mousePt;
                this.gisLocation = gisPoint;
            }

            /// 
            /// Gets / Sets the zero based index of the shapefile.
            /// 

            /// The returned value will be between zero and the number of Shapefiles in the SFMap displaying the tooltip

            /// If no tooltip is displayed ShapeFileIndex returns -1


 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2011-09-10 22:21  egis_src_3_4
     文件        3959  2011-01-20 22:22  egis_src_3_4EasyGISDesktop.sln
     文件       31608  2011-09-10 22:19  egis_src_3_4EasyGISDesktop.suo
     文件        3718  2009-09-20 21:06  egis_src_3_4EasyGISWeb.sln
     文件       26320  2011-09-10 22:21  egis_src_3_4EasyGISWeb.suo
     目录           0  2011-09-10 22:22  egis_src_3_4EGIS.Controls
     文件        5260  2010-09-08 13:39  egis_src_3_4EGIS.ControlsEGIS.Controls.csproj
     文件         596  2009-09-20 19:27  egis_src_3_4EGIS.Controlsegis.snk
     目录           0  2011-09-10 22:14  egis_src_3_4EGIS.ControlsProperties
     文件        1514  2011-09-10 20:59  egis_src_3_4EGIS.ControlsPropertiesAssemblyInfo.cs
     文件        2853  2009-09-20 19:27  egis_src_3_4EGIS.ControlsPropertiesResources.Designer.cs
     文件        5817  2009-09-20 19:27  egis_src_3_4EGIS.ControlsPropertiesResources.resx
     文件       48889  2011-05-26 22:32  egis_src_3_4EGIS.ControlsSFMap.cs
     文件        1563  2009-09-20 19:27  egis_src_3_4EGIS.ControlsSFMap.Designer.cs
     文件        5814  2009-09-20 19:27  egis_src_3_4EGIS.ControlsSFMap.resx
     文件        6677  2011-01-03 14:41  egis_src_3_4EGIS.ControlsShapeFileListControl.cs
     文件        6087  2009-09-20 19:27  egis_src_3_4EGIS.ControlsShapeFileListControl.Designer.cs
     文件       12536  2009-09-20 19:27  egis_src_3_4EGIS.ControlsShapeFileListControl.resx
     目录           0  2011-09-10 22:22  egis_src_3_4EGIS.ShapeFileLib
     目录           0  2011-09-10 22:22  egis_src_3_4EGIS.ShapeFileLibin
     目录           0  2011-09-10 22:22  egis_src_3_4EGIS.ShapeFileLibinDebug
     文件       14384  2011-09-10 21:12  egis_src_3_4EGIS.ShapeFileLibCustomRenderSettingsUtil.cs
     文件       11915  2011-07-06 22:42  egis_src_3_4EGIS.ShapeFileLibDbfWriter.cs
     文件        5099  2011-05-25 21:21  egis_src_3_4EGIS.ShapeFileLibEGIS.ShapeFileLib.csproj
     文件         596  2009-09-20 19:27  egis_src_3_4EGIS.ShapeFileLibegis.snk
     文件       31744  2010-10-24 09:55  egis_src_3_4EGIS.ShapeFileLibgdipluslib.dll
     文件        4378  2011-01-03 14:29  egis_src_3_4EGIS.ShapeFileLibICustomRenderSettings.cs
     文件        4238  2011-05-25 21:28  egis_src_3_4EGIS.ShapeFileLibMapProjectionCreator.cs
     文件       39328  2011-01-03 14:29  egis_src_3_4EGIS.ShapeFileLibNavFunctions.cs
     目录           0  2011-09-10 22:22  egis_src_3_4EGIS.ShapeFileLibobj
     目录           0  2011-09-10 22:22  egis_src_3_4EGIS.ShapeFileLibobjDebug
............此处省略222个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)