mapwingis

GIS开源

你说的曾经没有我的故事 提交于 2020-04-04 16:29:43
常用开源桌面GIS软件 QGIS 始于2002年5月,算得上是开源GIS平台中的后起之秀。界面友好,分析功能可与GRASS GIS相媲美。 主页: http://www.qgis.org/ GRASS GIS 源于1982年美国军方(陆军工程兵团的一个分支——美国陆军建筑工程研究实验室)的实际应用,重量级的开源桌面GIS软件。分析功能强悍,但界面简陋,很多操作是以命令的方式运行的,喜欢命令式操作的朋友可以尽情享受。 主页: http://grass.fbk.eu/index.php MapWinGIS MapWinGIS是一个不错的开源GIS项目,开发语言是VC,基于微软的COM思想编写。其核心库是一个名字为MapWinGIS的ActiveX控件,功能上类似MapX,开发人员可以利用这个ActiveX组件在自己的系统中添加GIS的相关功能。其开发团队在MapWinGIS 的基础上,二次开发了MapWindow GIS,这是一套GIS系统,用户可以直接通过它浏览数据,并通过一系列插件来完成其他功能。还有一套MapWinX,是DOTNET平台下的一个辅助工具。 主页: http://mapwingis.codeplex.com/ & http://www.mapwindow.org/ DotSpatial DotSpatial是基于.Net 4的一个开源GIS库,它提供有一个可视化的

VC++ MapWinGis篇(创建图层)

青春壹個敷衍的年華 提交于 2020-01-25 17:06:10
MapWinGis控件的引用: #import "MapWinGIS.ocx" rename("IImage","gisIImage") rename("ImageType", "gisImageType") rename("Point", "gisPoint") using namespace MapWinGIS; 创建新图层m_pShapefilePoint,并添加图层属性: MapWinGIS::IShapefilePtr m_pShapefilePoint; m_pShapefilePoint.CreateInstance(__uuidof(MapWinGIS::Shapefile)); if (!m_pShapefilePoint->Open("./maps/GpsPoints.shp", NULL)) { CString sError = m_pShapefilePoint->GetErrorMsg(m_pShapefilePoint->GetLastErrorCode()); TRACE(sError); if (!m_pShapefilePoint->CreateNew("./maps/GpsPoints.shp", /*MapWinGIS::ShpfileType::*/SHP_POINT)) { sError.Format("%s", m

How to use embedded registration-free manifest for ActiveX component from managed code like C#?

匿名 (未验证) 提交于 2019-12-03 01:38:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I would like to use a specific version of ActiveX component that is not registered system- or user-wide. Everything works as expected if I use manifest files. However embedded manifest works only for C++ client code only. Here is dependency declaration <dependency> <dependentAssembly> <assemblyIdentity type = "win32" name = "MapWinGIS.ocx" version = "4.9.1.0" /> </dependentAssembly> </dependency> If I use SxStrace, I see the following INFO : Parsing Manifest File C : \O SGeo4W \b in \TestApplication . exe . INFO : Manifest

mfc通过MapWinGIS控件读取shp文件(不通过#import实现)

匿名 (未验证) 提交于 2019-12-03 00:38:01
1、首先注册MapWinGIS ActiveX组件, 引入MapWinGIS.ocx产生的MapWinGIS_i.h和MapWinGIS_i.c文件,利用CoCreateInstance函数来调用 演示代码: /*在工程中加入MapWinGIS_i.c文件,该文件定义了类和接口的guid值,如果不引入的话,会发生连接错误。*/ #include "MapWinGIS_i.h" CoInitialize(NULL); IShapefile* ptr = NULL; {     VARIANT_BOOL retval = 0;     m_map.addLayer(ptr, true); CoUninitialize(); 其他的类创建与之类似 原文:https://www.cnblogs.com/marblemm/p/9242629.html