Closed chekhovana closed 4 months ago
Hi @chekhovana
Unfortunately Shapely does not support M dimension (it is planned for v2.1
so after that it should work, see https://github.com/shapely/shapely/issues/1648), so it is not possible to use it to retrieve the M value. So if you don't want to use a query I'm afraid you will have to parse the WKB manually. You can find some examples on WKB parsing in https://github.com/geoalchemy/geoalchemy2/blob/master/geoalchemy2/elements.py#L163 ).
Sorry I can't give more help on this :-/
Hi @adrien-berchet
Thank you for the information, I'll try to implement wkb parsing.
Describe the problem
Hello,
I need to extract all coordinates of 4d point, preferably without sql query. I am trying to use to_shape, but it seems that 4-th coordinate is ignored during conversion.
Is it true?
Thanks in advance.
Show what you tried to do.
Describe what you expected.
actual output - to_shape returns 3 coordinates instead of 4:
expected output:
Error
No response
Additional context
No response
GeoAlchemy 2 Version in Use
0.15.1