Writing 3D WKT: Z in prefix?
オープン
enhancement
good-first-issue
- 主要言語
- C++
- スター
- 517
- フォーク
- 232
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
When writing 3D objects in WKT, a "Z" is supposed to be added to the prefix, such that a 2D point and a 3D point are differentiated:
```
POINT (1,2)
POINT Z (1,2,3)
```
But as far as I tested, when writing 3D objects using the WKT writer of Boost Geometry, the "Z" prefix is never written, leading to this kind of output:
```
POINT (1,2)
POINT (1,2,3)
```
It seems to be similar for other types of primitives (`LINESTRING`, etc.).
Reading 3D objects with Boost both works with and without "Z" in the input.
Wouldn't it make more sense to add "Z" to the prefix whenever a 3D object is written?
コントリビューションガイド
評価
この issue はまだ評価されていません。