1、 目 录 摘 要 I Abstract. II 1 绪论 1 1.1 VB 的发展与优势 1 1.2 GIS 的发展与应用. 2 1.3 基于 VB 的 GIS 数据库开发研究的意义 . 3 2 GIS 的理论基础 3 2.1 GIS 的概念及组成. 3 2.2 GIS 的基本知识. 3 2.2.1 GIS 中的信息存储方式 . 3 2.2.2 数字地图的显示与输出. 4 2.2.3 GIS 的数据来源 4 2.3 GIS 的基本功能 4 3 空间数据库技术 5 3.1 空间数据库简介 6 3.1.1 数据管理模式. 6 3.1.2 空间数据库的概念. 7 3.1.3 空间数据库的设计. 8
2、3.1.4 空间数据库的实施和维护 10 3.2 GIS 数据库的建立. 12 3.2.1 关于建库前的准备 12 3.2.2 空间数据的矢量化 13 3.2.3 空间数据的处理 14 3.2.4 投影与文件转换 14 3.2.5 空间数据的整理与质量温控 14 4 基于 VB 的 GIS 数据库开发 17 4.1 数据库访问技术 . 17 4.1.1 0DBC API 17 4.1.2 DA0. 17 4.1.3 RDO. 17 4.1.4 ADO. 18 4.1.5 数据库访问技术的比较与选择 18 4.2 查询与访问技术 . 19 4.2.1 数据库系统中建立查询视图 19 4.2.2
3、动态生成查询或统计表单 19 4.2.3 显示查询或统计结果 20 5 总结. 20 致 谢. 20 参考文献. 21 基于 VB 的 GIS 数据库开发 I 基于 VB 的 GIS 数据库开发 摘 要 GIS 是融合计算机图形和数据库于一体的高新技术,它把地理位置和相关属 性有机地结合起来,满足城市建设、企业管理对空间信息的要求。虽然现有的 GIS 专业开发工具具有较好的开发平台,可靠性好,简单易学,但其存在可扩展 性差、对软硬件要求高、没有系统版权等明显缺点。研究是以 GIS 技术在国内不 同领域得到广泛应用并取得良好效果作为前提和背景。 以 VB 作为集成开发环境, 本文阐述基于 VB
4、的 GIS 数据库开发方法。 分析了基于 VB 的数据库应用开发中的 数据库访问、查询、统计等关键技术,加以讨论,并给出了相应的解决方案。 关键词:VB GIS 空间数据库 属性数据 基于 VB 的 GIS 数据库开发 II VB-based GIS database development Abstract GIS is the integration of computer graphics and database in one of the high-tech,location and attributes combine to meet urban construction,busi
5、ness management of spatial information.Although existing GIS professional development tools has good development platform,reliability,easy to learn,but its existence scalability,high hardware and software requirements,system Copyright obvious shortcomings.The study is based on GIS technology has bee
6、n widely used in different fields and achieved good results as the premise and background.VB as the integrated development environment of VB-based GIS database development.VB database application development,database access,query,statistics and other key technologies,and gives the corresponding solutions. Keywords: VB, GIS, Spatial database, Attribute data 基于 VB 的 GIS 数据库开发 1 1 绪论 1.1 VB 的发展与优势 由微软公司开发的 Visual Basic,协助开发环境的事件驱动编程语言。无论 从哪个标准来看,VB 是世界上最广泛使用的语言不仅是从称赞的 VB 开发 人员的数量还是抱怨 VB 开发人员的数量