摘要
MySQL遵从了OpenGIS联盟的规范实施了空间扩展,定义了自己的空间数据类型和相应的操作函数,从而在MySQL中允许生成、保存和分析地理要素以及用于GIS开发。本文介绍了OpenGIS空间模型、MySQL空间扩展的具体细节和MySQL C API主要函数,并将这些理论应用于实例程序的MySQL实现中,实例程序采用C+Win32 API+MySQL C API相结合的方法实现。通过实例程序简单介绍了基于C语言开发GIS程序的一般步骤。
MySQL implements spatial extension by the norm of OpenGIS.MySQL defines its own spatial data types and functions which use those types,so that,MySQL can store and analyze geographic features and be used for GIS development.This paper introduced OpenGIS spatial model,MySQL spatial extension and the main function of MySQL C API.Those theories are applied to an instance of MySQL implementation.The instance is based on C+Win32 API+MySQL C API.It's briefly introduced in this paper,the general steps of the development of GIS application based on C language.
出处
《地理信息世界》
2012年第3期62-67,共6页
Geomatics World