12.17.11 Spatial GeoJSON Functions空间GeoJSON函数

This section describes functions for converting between GeoJSON documents and spatial values. 本节介绍用于在GeoJSON文档和空间值之间进行转换的函数。GeoJSON is an open standard for encoding geometric/geographical features. GeoJSON是编码几何/地理特征的开放标准。For more information, see http://geojson.org. 有关详细信息,请参阅http://geojson.orgThe functions discussed here follow GeoJSON specification revision 1.0.这里讨论的函数遵循GeoJSON规范修订版1.0。

GeoJSON supports the same geometric/geographic data types that MySQL supports. GeoJSON支持MySQL支持的相同的几何/地理数据类型。Feature and FeatureCollection objects are not supported, except that geometry objects are extracted from them. 不支持FeatureFeatureCollection对象,除非从中提取几何体对象。CRS support is limited to values that identify an SRID.CRS支持仅限于标识SRID的值。

MySQL also supports a native JSON data type and a set of SQL functions to enable operations on JSON values. MySQL还支持一个原生JSON数据类型和一组SQL函数来支持对JSON值的操作。For more information, see Section 11.5, “The JSON Data Type”, and Section 12.18, “JSON Functions”.有关更多信息,请参阅第11.5节,“JSON数据类型”第12.18节,“JSON函数”