测绘通报 ›› 2017, Vol. 0 ›› Issue (4): 108-111.doi: 10.13474/j.cnki.11-2246.2017.0132

• 技术交流 • 上一篇    下一篇

基于Qt的空间数据存储格式检查软件的设计与实现

左尧1,2, 王少华1,2,3, 钟耳顺3, 钟阳1, 黄科佳1,4, 刘永轩5   

  1. 1. 北京超图软件股份有限公司, 北京 100015;
    2. 超图地理信息技术研究所, 北京 100015;
    3. 中国科学院地理科学与资源研究所, 北京 100101;
    4. 北京航空航天大学, 北京 100191;
    5. 北京市测绘设计研究院, 北京 100038
  • 收稿日期:2016-07-13 修回日期:2017-01-09 出版日期:2017-04-25 发布日期:2017-05-05
  • 作者简介:左尧(1989—),男,硕士,主要研究方向为地理信息系统软件技术.E-mail:zuoyao@supermap.com
  • 基金资助:
    国家测绘公益项目(201512015);北京市科技专项(Z151100003615012;Z141101004414011);中国科学院国防科技创新基金项目(CXJ-14-M13);中国科学院重点部署项目(KZZD-EW-07-01-001);国家科技支撑计划(2013BAC03B00);资源与环境信息系统国家重点实验室自主研究项目(088RAC00YA);北京市优秀人才项目(201500002685XG242);全国博士后国际交流计划(20150081);朝阳区博士后基金

Design and Implementation of GeoPackage Format Checking Software

ZUO Yao1,2, WANG Shaohua1,2,3, ZHONG Ershun3, ZHONG Yang1, HUANG Kejia1,4, LIU Yongxuan5   

  1. 1. SuperMap Software Co.Ltd., Beijing 100015, China;
    2. SuperMap GIS Technology Institute, Beijing 100015, China;
    3. Institute of Geographic Sciences and Nature Resources Research, CAS, Beijing 100101, China;
    4. Beihang University, Beijing 100191, China;
    5. Beijing Institute of Surveying and Mapping, Beijing 100038, China
  • Received:2016-07-13 Revised:2017-01-09 Online:2017-04-25 Published:2017-05-05

摘要: 面对日益增长的空间数据,网络环境较差的地图、地理信息应用服务系统面临着存储容量有限、地理空间数据格式不开放的挑战。而现有的许多地理空间数据存储依赖于平台,还需要克服跨平台带来的问题,亟需研究设计统一的数据存储标准来解决空间数据格式不一致、不同GIS平台数据转换过程复杂等问题。考虑到不同系统GIS平台、GIS应用程序间数据格式的差异,本研究基于GeoPackage(GPKG)数据容器存储标准,采用Qt 5.2.0+VS2010开发平台,C++编程语言,通过三层架构编程模式研发了GIS数据存储格式的检查软件,以解决数据格式不统一的问题。该软件利用批量数据库查询,快速地实现了核心功能项、可选功能项、注册扩展功能三大类等超过百项功能文件格式的检查,并输出详细的检查结果,为GIS数据格式存储标准化提供支持和帮助,可有效解决不同GIS平台、不同GIS应用程序数据共享时面临的格式不一致问题,简化了数据转换的步骤。

关键词: GIS数据存储格式检查, GeoPackage, SQLite, Qt

Abstract: Modern society is in an era of information explosion, and digital information is growing at an unprecedented rate. Under poor network environment, geographic information application service system is faced with limited storage capacity. In addition, considering that geospatial data are stored in a variety of computer platforms, it is urgent to study and design a unified data storage standard to solve the inconsistency of spatial data format among the different GIS platforms. Therefore, this study is based on the GeoPackage (GPKG) data container storage standards and Qt5.2.0+VS2010. GeoPackage format checking software was designed to check the format of GeoPackage files, which provides help and support to the standardization of GIS data format. Specifically, the software quickly realized the core functions, optional features and registration optional functions, and can be able to output details of the inspection results, which could effectively solve the problem of inconsistent data format among the different GIS platform and GIS application and simplify the steps of data conversion.

Key words: GeoPackage format checking software, GeoPackage, SQLite, Qt

中图分类号: