附录

A.0 详细版本历史

Yukon版本

postgis版本

postgis_sfcgal版本

postgis_raster版本

yukon_geomodel版本

yukon_geogridcoder

yukon_vector_pyramid版本

postgis_topology版本

pgrouting版本

pointcloud版本

mobilitydb版本

2.2(for PostgreSQL)

3.6

3.6

3.6

1.0.1

1.0.1

1.0

3.6

3.4.2

1.2.4

1.0.0

2.0-2.1(for openGauss)

3.2.2

3.2.2

3.2.2

1.0.1

1.0.1

1.0

–

3.4.2

1.2.4

–

2.0.2(for GaussDB)

3.2.1

3.2.1

3.2.1

1.0.1

1.0.1

–

3.2.1

–

–

–

2.0(for Agensgraph)

3.2.2

3.2.2

3.2.2

1.0.1

1.0.1

1.0

3.2.2

3.4.2

1.2.4

1.0.0

2.0(for PostgreSQL)

3.2.2

3.2.2

3.2.2

1.0.1

1.0.1

1.0

3.2.2

3.4.2

1.2.4

1.0.0

1.0.1 - 2.0(for GaussDB)

3.2.1

3.2.1

3.2.1

1.0.1

1.0.1

–

–

–

–

–

1.0.1 (for PostgreSQL)

3.2.2

3.2.2

3.2.2

1.0.1

1.0.1

–

–

–

–

–

1.0.1(for openGauss)

3.2.1

3.2.1

3.2.1

1.0.1

1.0.1

–

–

–

–

–

1.0(for PostgreSQL)

3.1.2

3.1.2

3.1.2

1.0

1.0

–

–

–

–

–

1.0(for openGauss)

3.2.0

3.2.0

3.2.0

1.0

1.0

–

–

–

–

–

A.1 Release Yukon 2.2

发布日期:2026/5/31

A.1.1 新增功能列表

1、Yukon for GaussDB:

  • 新增 pointcloud 插件,用于点云数据存储。

  • 新增 pgrouting 插件,用于路径规划。

  • 新增 yukon_vector_pyramid 插件,用于大数据量的矢量数据快速显示。

  • 新增 ST_AsMVT 函数,用于生成 MVT 格式的矢量瓦片。

  • 新增 ST_AsFlatGeobuf 函数,用于生成 FlatGeobuf 格式的矢量瓦片。

  • 新增 ST_Statistics 栅格统计函数,支持对栅格数据进行多类型统计分析,包括最大值、最小值、平均值、求和、面积、标准差、中位数、众数等。

  • 新增 ST_AsGeoGridCode 函数,支持多种网格编码存储和索引框架,目前支持 GeoSOT 和 北斗 网格编码,支持输入二维点线面、三维点、模型(GeoModel)。

  • 新增 ST_GridConvert 函数,用于支持 GeoSOT 和 北斗 网格互转。

  • 新增 ST_GeoGridCodeLevelTransform 函数,用于基于某层级 GeoSOT 网格生成不同层级的网格。

  • 新增 ST_IntersectionGrids 函数,用于判断指定网格是否存在相交。

  • 新增 ST_GridCodeFindMultiDronePath 函数,用于基于网格编码的低空路径规划。

  • 新增 ST_GeoGridCodeMixedLevel 函数,用于对生成的球面三维缓冲区生成自适应的网格,用于支撑生成网格的包络区间,目前仅支持 GeoSOT 编码。

  • 新增 ST_PointsFromGeoGridCode 函数,用于计算网格的顶点坐标。

2、Yukon for PostgreSQL:

  • 新增 ST_AsGeoGridCode 函数,支持多种网格编码存储和索引框架,目前支持 GeoSOT 和 北斗 网格编码,支持输入二维点线面、三维点、模型(GeoModel)。

  • 新增 ST_GridConvert 函数,用于支持 GeoSOT 和 北斗 网格互转。

  • 新增 ST_GeoGridCodeLevelTransform 函数,用于基于某层级 GeoSOT 网格生成不同层级的网格。

  • 新增 ST_IntersectionGrids 函数,用于判断指定网格是否存在相交。

  • 新增 ST_GridCodeFindMultiDronePath 函数,用于基于网格编码的低空路径规划。

  • 新增 ST_GeoGridCodeMixedLevel 函数,用于对生成的球面三维缓冲区生成自适应的网格,用于支撑生成网格的包络区间,目前仅支持 GeoSOT 编码。

  • 新增 ST_PointsFromGeoGridCode 函数,用于计算网格的顶点坐标。

A.1.2 版本升级

  • Yukon for GaussDB,适配 GaussDB 506 版本,如果您要使用 GaussDB 506 以下版本,请使用更早版本的 Yukon。

  • Yukon for PostgreSQL,升级 PostGIS 版本至 3.6。

A.2 Release Yukon 2.1.1

发布日期:2025/7/1

  • Yukon for openGauss 修复 ST_Transform 多线程转换问题。

  • Yukon for openGauss 添加 st_asgeojson(record feature, text geomcolumnname, integer maxdecimaldigits=9, boolean pretty_bool=false) 函数

  • Yukon for openGauss 适配支持 vastbase。

  • Yukon for openGauss / Yukon for PostgreSQL 修复导入 geomodel 数据 srid 丢失的问题。

  • Yukon for openGauss / Yukon for PostgreSQL 修复 geosotgrid 三维网格索引无法使用的问题。

  • Yukon for GaussDB 更新请查看 GaussDB 标签相关页面。

A.3 Release Yukon 2.1

发布日期:2024/7/10

A.3.1 新增功能列表

  • 适配GaussDB分布式版本:完成GaussDB 505.1分布式版本适配,通过联合测试,产品上架华为云商店。

  • 适配Gaussdb b模式。

  • 查询性能优化:单表7亿building数据,空间查询秒级响应。

  • 数据库部署方案:发布三种PG数据库部署模式下空间能力技术白皮书(单机,standby,citus)。

  • 面向鲲鹏原生环境进行优化,发布 for GaussDB 鲲鹏平台集中式版本。

A.4 Release Yukon 2.0.1

发布日期:2023/9/6

A.4.1 新增功能列表

  • 完善Geosot最小外接网格编码获取编码的类型,由仅支持输出二维网格升级为三维数据可输出三维网格。

  • 提升for gaussdb 版本的并发稳定性。

A.5 Release Yukon 2.0

发布日期:2023/6/30

A.5.1 新增功能列表

  • 新增矢量金字塔模块,提供一种大数据量快速获取数据和瓦片的模型,该功能在Yukon for PostgreSQL、Yukon for openGauss、Yukon for AgensGraph 中提供。

  • Geometry新增BEZIER3CURVE类型,支持构造贝塞尔曲线,并且支持对包含贝塞尔曲线的对象计算周长和面积,除Yukon for GaussDB外的所有版本均支持。

  • 新增聚合函数 st_makeline、st_collect、st_asmvt、st_polygonize在Yukon for openGauss版本中的支持。

  • 提供Yukon for AgensGraph2.13版本,支持图数据存储能力,实现图与空间一体化存储。

  • 新增路由(pgrouting)、点云(pointcloud)模块,除Yukon for GaussDB外的所有版本均支持。

  • 新增轨迹(mobilitydb)、拓扑(postgis_topology)模块,仅在Yukon for PostgreSQL、Yukon for AgensGraph版本中提供。

A.5.2 版本升级

  • Yukon for GaussDB版本,GaussDB版本升级为503.2.0,且yukon不支持低版本兼容,如使用低版本数据库请查找yukon 2.0之前版本。

  • Yukon for openGauss版本,openGauss版本升级为5.0.0且postgis、postgis_sfcgal、postgis_raster三个模块版本升级到3.2.2。

A.5.3 已知问题

由于 openGauss 和 PostgreSQL 的差异,openGauss5.0 的矢量和栅格功能还有以下功能不支持:

  1. postgis模块

  • st_clusterintersecting 不支持自定义的聚合函数

  • st_asflatgeobuf 不支持自定义的聚合函数

  • st_clusterwithin 不支持自定义的聚合函数

  • st_asgeojson(record feature, text geomcolumnname, integer maxdecimaldigits=9, boolean pretty_bool=false) 不支持(缺少 IsValidJsonNumber)

  • st_concavehull 不支持(调用不支持的聚合函数)

  • st_asgeobuf 不支持自定义的聚合函数

  • st_fromflatgeobuftotable 不支持(通常需要结合 ST_AsFlatGeobuf 一起使用,故不支持)

  • st_fromflatgeobuf 不支持(通常需要结合 ST_AsFlatGeobuf 一起使用,故不支持)

  • st_clusterdbscan 不支持自定义窗口函数

  • st_clusterkmeans 不支持自定义窗口函数

  • addauth 不支持长事务

  • checkauth 不支持长事务

  • disablelongtransactions 不支持长事务

  • enablelongtransactions 不支持长事务

  • lockrow 不支持长事务

  • unlockrows 不支持长事务

  • 不支持中断操作

  • 不支持 BRIN 索引

  1. postgis_raster 模块

  • ST_Nearestvalue 不支持

  • ST_Dumpvalue 不支持

  • ST_Intersection 不支持

  • ST_Clip 不支持

  1. postgis_topology模块

  • validatetopology 不支持

Yukon for GaussDB 推荐优先使用 postgis,postgis_raster, postgis_sfcgal 三个模块,可试用 yukon_geomodel 和 yukon_geogridcoder 模块。

Note

由于 openGauss 5.0 开始支持聚合函数 st_makeline、st_collect、st_asmvt、st_polygonize,5.0 以下版本不支持。GaussDB 已知问题同 1.0.1 版本,参见 A.8.2 已知问题。

A.6 Release Yukon 1.0.1

发布日期:2022/12/30

A.6.1 新增功能列表

  • 支持计算空间对象的最小外包空间网格。涉及接口:ST_GeoSOTGrid();

  • 支持一次创建指定网格层级范围内的多层级空间网格。涉及接口:ST_GeoSOTGridAgg();

  • 支持获取所有空间网格的层级范围。涉及接口:ST_GetLevelExtremum();

  • geosotgrid[] 数据类型扩展操作符 <@、@>,支持计算网格数组间的包含和被包含关系;

  • 支持通过 GIN 索引对多层级网格下的空间对象进行查询。

  • 新增 yk_tool 工具,可进行安装与卸载、查看当前版本信息。

A.6.2 缺陷修复

Yukon for openGauss:

  • 修复通过 GIST 索引查询时的崩溃问题;

  • 修复多线程下对 Geometry 解析错误的问题;

  • 修复空字符无法解析的问题。涉及接口:ST_AsX3D()、ST_AsKML()、ST_AsGML( )、ST_GeomFromGML( )、ST_GeomFromKML( )、ST_AsLatLonText( )、UpdateGeometrySRID()、DropGeometryColumn();

  • 修复 UpdateGeomodelSRID() 接口更新空间坐标参考系无效的问题;

Yukon for PostgreSQL:

  • 修复 UpdateGeomodelSRID( ) 接口更新空间坐标参考系无效的问题。

A.6.3 已知问题

同 1.0.0 Beta 版本,参见 A.8.2 已知问题, Yukon for GaussDB和Yukon for openGauss的已知问题相同。

Yukon for GaussDB 推荐优先使用 postgis,postgis_raster, postgis_sfcgal 三个模块,可试用 yukon_geomodel 和 yukon_geogridcoder 模块。

A.7 Release Yukon 1.0.0

发布日期:2022/06/30

A.7.1 功能列表

优化边缘网格划分。

A.7.2 已知问题

同 1.0.0 Beta 版本。

A.8 Release Yukon 1.0.0 Beta

发布日期:2022/05/20

A.8.1 新增功能列表

  • 适配 PostGIS 3.2 的三个模块:postgis、postgis_raster、postgis_sfcgal

  • 新增 yukon_geogridcoder 模块

A.8.2 已知问题

由于 openGauss 和 PostgreSQL 的差异,PostGIS的矢量和栅格功能还有以下功能不支持:

  1. postgis模块

  • st_clusterintersecting 不支持自定义的聚合函数

  • st_makeline 不支持自定义的聚合函数

  • st_asflatgeobuf 不支持自定义的聚合函数

  • st_collect 不支持自定义的聚合函数

  • st_polygonize 不支持自定义的聚合函数

  • st_clusterwithin 不支持自定义的聚合函数

  • st_asgeojson(record feature, text geomcolumnname, integer maxdecimaldigits=9, boolean pretty_bool=false) 不支持(缺少 IsValidJsonNumber)

  • st_concavehull 不支持(调用不支持的聚合函数)

  • st_asgeobuf 不支持自定义的聚合函数

  • st_fromflatgeobuftotable 不支持(通常需要结合 ST_AsFlatGeobuf 一起使用,故不支持)

  • st_fromflatgeobuf 不支持(通常需要结合 ST_AsFlatGeobuf 一起使用,故不支持)

  • st_asmvtgeom 不支持自定义的聚合函数

  • st_asmvt 不支持自定义的聚合函数

  • st_clusterdbscan 不支持自定义窗口函数

  • st_clusterkmeans 不支持自定义窗口函数

  • addauth 不支持长事务

  • checkauth 不支持长事务

  • disablelongtransactions 不支持长事务

  • enablelongtransactions 不支持长事务

  • lockrow 不支持长事务

  • unlockrows 不支持长事务

  • 不支持中断操作

  • 不支持 BRIN 索引

  1. postgis_raster 模块

  • ST_Intersection 不支持

A.9 Release Yukon 1.0.0 Alpha

发布日期:2021/11/30

A.9.1 功能列表

  • 适配 PostGIS 2.4 的三个模块:postgis、postgis_raster、postgis_sfcgal

  • 新增 yukon_geomodel 模块,开放 geomodel 对象的存储结构

A.9.2 已知问题

由于 openGauss 和 PostgreSQL 的差异,PostGIS的矢量和栅格功能还有以下测试未通过:

  1. postgis模块

  • loader/Latin1 : varchar 默认为字节数而不是字符数

  • loader/Latin1-implicit : varchar 默认为字节数而不是字符数

  • cluster :目前不支持 window 函数

  • long_xact :和 WEB 相关,暂未测试

  • typmod : copy 不支持 exception

  • 同时目前不支持中断操作。

  1. postgis_raster模块

  • rt_tile : 聚合函数不支持 internal 参数,导致 st_union 无法使用,待修复

  • rt_summarystats : 缺少 st_summarystatsagg 聚合函数,待修复

  • rt_histogram : 缺少聚合函数 st_summarystatsagg ,待修复

  • rt_quantile : 缺少聚合函数 st_summarystatsagg ,待修复

  • rt_createoverview : 聚合函数不支持 internal 参数,导致 st_union 无法使用,待修复

  • rt_union : 聚合函数不支持 internal 参数,导致 st_union 无法使用,待修复

  • rt_elevation_functions : 聚合函数不支持 internal 参数,导致 st_union 无法使用,待修复

  • rt_iscoveragetile : 聚合函数不支持 internal 参数,导致 st_union 无法使用,待修复

  • rt_mapalgebra : 聚合函数不支持 internal 参数,导致 st_union 无法使用,待修复

  • rt_mapalgebrafct :函数已废弃,推荐使用 ST_MapAlgebra