yeesian / ArchGDAL.jl

A high level API for GDAL - Geospatial Data Abstraction Library
https://yeesian.github.io/ArchGDAL.jl/stable/
Other
141 stars 27 forks source link

Z and M dimension support #291

Open evetion opened 2 years ago

evetion commented 2 years ago

While going through #290, I noticed some issues with geometry types, especially the non-default ones with Z and/or M dimensions.

yeesian commented 2 years ago

how do we know whether createpoint(0,0,0) should be wkbPoint25D or wkbPointM?

yeesian commented 2 years ago

My implicit understanding was that createpoint(0,0,0) would have PointZ semantics, and PointM and Point25D are not supported in this package yet.

rafaqz commented 2 years ago

@yeesian I agree, regular arguments should be spatial dimensions. M could use a keyword argument.

yeesian commented 2 years ago

Does that mean

?

rafaqz commented 2 years ago

Yeah, that would work. Otherwise just use a different function with m last.

evetion commented 2 years ago

Discussed is3d and ismeasured in #303, which are now implemented in #290. Methods to actually create/set these coordinates (especially for m) are still missing.