Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WKBWriter 3-dimensional output does not work with SpatiaLite #710

Open
hrstka opened this issue Apr 21, 2021 · 1 comment
Open

WKBWriter 3-dimensional output does not work with SpatiaLite #710

hrstka opened this issue Apr 21, 2021 · 1 comment

Comments

@hrstka
Copy link

hrstka commented Apr 21, 2021

Setting the high bit of the wkbType word in case of 3D geometry does not work with SpatiaLite. According to wikipedia the presence of 3D coordinates should be indicated by different geometry type code (e.g. 2D point is 1 and 3D point is 1001).

@dr-jts
Copy link
Contributor

dr-jts commented Apr 22, 2021

Yes, the WKBWriter is still outputting the old PostGIS EWKB format, rather than the current ISO/OGC standard WKB format. (Note that the WKBReader supports both formats).

It seems like the way forward is to enhance the WKBWriter to output ISO/OGC standard, with the old format left as an option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants