-
Notifications
You must be signed in to change notification settings - Fork 25
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
3D point is spelled POINT Z
not POINTZ
#114
Comments
I thought the WKT spec allowed either |
Oh - I truly don't know. Trying to find an actual spec for WKT is making me laugh out loud. I guess we should probably just "do whatever JTS does". I found this https://loc.gov/preservation/digital/formats/fdd/fdd000548.shtml, which links to some hundred page documents, but they seem to be about WKT CRS, and doesn't include the string "POINTZ" or "POINT Z" |
Yeah I was just searching for a spec and similarly couldn't find one. I suppose the ISO one is the "official" one. But I think this GEOS definition is enough.
Yeah it is confusing that there's both WKT for geometries and for CRS. Sadly the original simple features spec only defines WKB not WKT. |
At first glance it looks like only point supports Z/M, and no other geometry types support it, so we should expand that support as well |
Ok, I'm working on making this change. |
Sorry I should've given you a heads up that I was looking into this. I put up #115 |
FWIW while I was reading through the GEOS code here, I saw that they do support both POINTZ and POINT Z. It seems strange they support both in GEOS when Shapely only supports the latter. But it looks like it produces |
Interesting. My understanding is that |
This can be closed from #115 |
I recently merged #113, but I think it contains a critical error. I do not use 3-d points, so it slipped past me.
@ariesdevil - do you have interest in fixing this?
The text was updated successfully, but these errors were encountered: