yocontra / node-gdal-next

Node.js bindings for GDAL (Geospatial Data Abstraction Library) [Fork]
https://contra.io/node-gdal-next/
Apache License 2.0
75 stars 36 forks source link

FlattenTo2D method for geometry object #48

Closed alperdincer closed 3 years ago

alperdincer commented 3 years ago

I'm dealing with some layers that has 3d and this will cause problems with geometry columns in Oracle Database. I checked for forcing geometry to 2d but I can't find any method for it. But GDAL bindings for Python has the FlattenTo2D() method for geometry to do this job and how can we added to this library?

yocontra commented 3 years ago

@alperdincer Should be a relatively easy function to expose - let me look into it and I'll get back to you on it.