随笔分类 - MapGIS
摘要:mapgis6.7二次开发vc6_demo 之六(mapgis公用函数二次封装库)///////////////////////////////////////////
//mapgis_common.cpp
//mapgis公用函数二次封装库
//vp:hsg
//create date:2012-04
//
///////////////////////////////////////////
#include "stdafx.h"
#include "resource.h"
#include <math.h>
#include &quo
阅读全文
摘要:mapgis6.7二次开发vc6_demo 之五(输出VCT函数之表属性段)//////////////////////////////////////////////
//
//输出vct属性值 version=1, topo=0 //vp:hsg
//create date:2012-04-20
//
//////////////////////////////////////////////
#include "stdafx.h"
#include "resource.h"
#include <math.h>
#include &quo
阅读全文
摘要:mapgis6.7二次开发vc6_demo 之五(输出VCT函数之面图层)//////////////////////////////////////////////
//
//输出vct面坐标 version=1, topo=0 //vp:hsg
//create date:2012-04-20
//
//////////////////////////////////////////////
#include "stdafx.h"
#include "resource.h"
#include <math.h>
#include "
阅读全文
摘要:mapgis6.7二次开发vc6_demo 之五(输出VCT函数之线图层)//////////////////////////////////////////////
//
//输出vct线坐标 version=1, topo=0 //vp:hsg
//create date:2012-04-20
//
//////////////////////////////////////////////
#include "stdafx.h"
#include "resource.h"
#include <math.h>
#include "
阅读全文
摘要:mapgis6.7二次开发vc6_demo 之五(输出VCT函数之点图层)//////////////////////////////////////////////
//
//输出vct点坐标 version=1, topo=0 //vp:hsg
//create date:2012-04-20
//
//////////////////////////////////////////////
#include "stdafx.h"
#include "resource.h"
#include <math.h>
#include "
阅读全文
摘要:mapgis6.7二次开发vc6_demo 之五(输出VCT函数 总入口)//////////////////////////////////////////////
//
//VCT 导出功能 version=1, topo=0 //vp:hsg
//create date:2012-04-20
//
//////////////////////////////////////////////
#include "stdafx.h"
#include "resource.h"
#include <math.h>
#include "
阅读全文
摘要:C/C++ 分割字符并返回字符数组实例//分割字符并返回字符数组
char **GetStrArray(char* s,const char* d)
{ char* s_s=new char[strlen(s)]; strcpy(s_s,s); //计算字符数组个数 int rows=0; char *p_str=strtok(s_s,d); while(p_str) { rows+=1; p_str=strtok(NULL,d); } //重新初始二维数据 char **strArray=new char*[rows+1...
阅读全文
摘要:mapgis6.7二次开发vc6_demo 之四(VCT导出之 version=1,topo=0)本文所述内容为国土行业的VCT版本为1,拓扑=0的结构即为2002年国家标准本文主要包括有(vct文件头段输出功能;vct要素类段输出功能;vct字段结构输出功能;vct线要素几何图形输出功能;vct属性结构输出功能;)其中vct点要素几何图形输出功能; vct面要素几何图形输出功能; vct注记几何图形输出功能;将在后续的文章中描述;//Vct_Export.cpp文件内容如下所示://////////////////////////////////////////////
//
/...
阅读全文
摘要:mapgis6.7二次开发vc6_demo 之三(文件操作通用函数)//FileOpClass.cpp文件内容如下所示://////////////////////////////////////////////////////////////////
//
//文件操作
//#include FileOpClass
//
//////////////////////////////////////////////////////////////////
#include "demo.h" char* LogFileName="AppErrorLog.log&qu
阅读全文
摘要:mapgis6.7二次开发vc6_demo 之二(主窗体回调函数)Map_cpak.cpp文件内容如下所示://添加处理鼠标消息的函数
//回调函数
//*****************************************************//
//Map_cpak.cpp
// 回调函数模块: // 集中窗口的回调函数 //*****************************************************//
#include "stdafx.h"
#include "resource.h"
#include
阅读全文
摘要:mapgis6.7二次开发vc6_demo 之一(主窗体构架)本文根据mapgis6.7 sdk开发包中实例程序和help.chm帮助文件进行的学习心得总结://stdafx.h文件内容如下所示 :#include <windows.h>//#include "demo.h"文件内容如下所示 ://#include "demo.h"
#if !defined(AFX_DEMO_H__8E07CFE6_850E_11D4_9287_444553540000__INCLUDED_) #define AFX_DEMO_H__8E07CFE6_850
阅读全文
浙公网安备 33010602011771号