实例介绍
使用C++并利用GDAL库实现对GIS中shp数据的读取和显示。该版本没有放缩功能,有简陋版放缩功能的版本,如有需要可以下载后评论可获取。
【实例截图】
【核心代码】
ReadShp
└── GDAL
└── ReadShp
├── Debug
│ ├── ReadShp.exe
│ ├── ReadShp.exp
│ ├── ReadShp.ilk
│ ├── ReadShp.lib
│ └── ReadShp.pdb
├── ipch
│ └── readshp-ca4c9107
│ └── readshp-41d29033.ipch
├── ReadShp
│ ├── DataAdd.cpp
│ ├── DataAdd.h
│ ├── Debug
│ │ ├── DataAdd.obj
│ │ ├── MainFrm.obj
│ │ ├── MapRender.obj
│ │ ├── ReadShp.Build.CppClean.log
│ │ ├── ReadShpDoc.obj
│ │ ├── ReadShp.log
│ │ ├── ReadShp.obj
│ │ ├── ReadShp.pch
│ │ ├── ReadShp.res
│ │ ├── ReadShp.tlog
│ │ │ ├── cl.command.1.tlog
│ │ │ ├── CL.read.1.tlog
│ │ │ ├── CL.write.1.tlog
│ │ │ ├── link.command.1.tlog
│ │ │ ├── link.read.1.tlog
│ │ │ ├── link.write.1.tlog
│ │ │ ├── rc.command.1.tlog
│ │ │ ├── rc.read.1.tlog
│ │ │ ├── rc.write.1.tlog
│ │ │ ├── ReadShp.lastbuildstate
│ │ │ ├── ReadShp.write.1u.tlog
│ │ │ └── unsuccessfulbuild
│ │ ├── ReadShpView.obj
│ │ ├── stdafx.obj
│ │ ├── vc120.idb
│ │ └── vc120.pdb
│ ├── include
│ │ ├── gdal
│ │ │ ├── cpl_atomic_ops.h
│ │ │ ├── cpl_aws.h
│ │ │ ├── cpl_config_extras.h
│ │ │ ├── cpl_config.h
│ │ │ ├── cpl_conv.h
│ │ │ ├── cpl_csv.h
│ │ │ ├── cpl_error.h
│ │ │ ├── cpl_hash_set.h
│ │ │ ├── cpl_http.h
│ │ │ ├── cplkeywordparser.h
│ │ │ ├── cpl_list.h
│ │ │ ├── cpl_minixml.h
│ │ │ ├── cpl_minizip_ioapi.h
│ │ │ ├── cpl_minizip_unzip.h
│ │ │ ├── cpl_minizip_zip.h
│ │ │ ├── cpl_multiproc.h
│ │ │ ├── cpl_odbc.h
│ │ │ ├── cpl_port.h
│ │ │ ├── cpl_progress.h
│ │ │ ├── cpl_quad_tree.h
│ │ │ ├── cpl_sha256.h
│ │ │ ├── cpl_spawn.h
│ │ │ ├── cpl_string.h
│ │ │ ├── cpl_time.h
│ │ │ ├── cpl_virtualmem.h
│ │ │ ├── cpl_vsi_error.h
│ │ │ ├── cpl_vsi.h
│ │ │ ├── cpl_vsil_curl_priv.h
│ │ │ ├── cpl_vsi_virtual.h
│ │ │ ├── cpl_win32ce_api.h
│ │ │ ├── cpl_wince.h
│ │ │ ├── cpl_worker_thread_pool.h
│ │ │ ├── gdal_alg.h
│ │ │ ├── gdal_alg_priv.h
│ │ │ ├── gdal_csv.h
│ │ │ ├── gdalexif.h
│ │ │ ├── gdal_frmts.h
│ │ │ ├── gdalgeorefpamdataset.h
│ │ │ ├── gdalgrid.h
│ │ │ ├── gdalgrid_priv.h
│ │ │ ├── gdal.h
│ │ │ ├── gdaljp2abstractdataset.h
│ │ │ ├── gdaljp2metadatagenerator.h
│ │ │ ├── gdaljp2metadata.h
│ │ │ ├── gdal_mdreader.h
│ │ │ ├── gdal_pam.h
│ │ │ ├── gdalpansharpen.h
│ │ │ ├── gdal_priv.h
│ │ │ ├── gdal_proxy.h
│ │ │ ├── gdal_rat.h
│ │ │ ├── gdal_simplesurf.h
│ │ │ ├── gdalsse_priv.h
│ │ │ ├── gdal_utils.h
│ │ │ ├── gdal_version.h
│ │ │ ├── gdal_vrt.h
│ │ │ ├── gdalwarper.h
│ │ │ ├── gdalwarpkernel_opencl.h
│ │ │ ├── gvgcpfit.h
│ │ │ ├── internal_qhull_headers.h
│ │ │ ├── memdataset.h
│ │ │ ├── ogr_api.h
│ │ │ ├── ograpispy.h
│ │ │ ├── ogr_attrind.h
│ │ │ ├── ogr_core.h
│ │ │ ├── ogr_expat.h
│ │ │ ├── ogr_feature.h
│ │ │ ├── ogr_featurestyle.h
│ │ │ ├── ogr_geocoding.h
│ │ │ ├── ogrgeomediageometry.h
│ │ │ ├── ogr_geometry.h
│ │ │ ├── ogr_geos.h
│ │ │ ├── ogrpgeogeometry.h
│ │ │ ├── ogr_p.h
│ │ │ ├── ogrsf_frmts.h
│ │ │ ├── ogr_spatialref.h
│ │ │ ├── ogr_srs_api.h
│ │ │ ├── ogr_srs_esri_names.h
│ │ │ ├── osr_cs_wkt.h
│ │ │ ├── osr_cs_wkt_parser.h
│ │ │ ├── rawdataset.h
│ │ │ ├── swq.h
│ │ │ ├── thinplatespline.h
│ │ │ └── vrtdataset.h
│ │ ├── gdal.rar
│ │ └── proj4
│ │ ├── emess.h
│ │ ├── geocent.h
│ │ ├── geodesic.h
│ │ ├── geod_interface.h
│ │ ├── nad_list.h
│ │ ├── org_proj4_PJ.h
│ │ ├── org_proj4_Projections.h
│ │ ├── pj_list.h
│ │ ├── proj_api.h
│ │ └── projects.h
│ ├── lib
│ │ ├── gdal_i.lib
│ │ ├── lib.rar
│ │ └── proj_i.lib
│ ├── MainFrm.cpp
│ ├── MainFrm.h
│ ├── MapRender.cpp
│ ├── MapRender.h
│ ├── ReadMe.txt
│ ├── ReadShp.aps
│ ├── ReadShp.cpp
│ ├── ReadShpDoc.cpp
│ ├── ReadShpDoc.h
│ ├── ReadShp.h
│ ├── ReadShp.rc
│ ├── ReadShp.vcxproj
│ ├── ReadShp.vcxproj.filters
│ ├── ReadShp.vcxproj.user
│ ├── ReadShpView.cpp
│ ├── ReadShpView.h
│ ├── res
│ │ ├── ReadShpDoc.ico
│ │ ├── ReadShp.ico
│ │ ├── ReadShp.rc2
│ │ └── Toolbar.bmp
│ ├── Resource.h
│ ├── stdafx.cpp
│ ├── stdafx.h
│ └── targetver.h
├── ReadShp.sdf
├── ReadShp.sln
└── ReadShp.v12.suo
13 directories, 157 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论