Opened 5 days ago
Closed 5 days ago
#151 closed defect (fixed)
shapefile exports should be 3d
| Reported by: | Eric C. Landgraf | Owned by: | Olly Betts |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.4.23 |
| Component: | aven | Version: | git main |
| Keywords: | gdal, survexport | Cc: |
Description
currently, survexport shapefile exports are only in X,Y coordinates. Many georeferencing applications (for example: color by depth in qgis) depend on the Z coordinate as well.
Survex should export 3d shapefiles, potentially optionally.
Some GDAL-bits from #survex chatter:
SHPT=<type>: Override the type of shapefile created. Can be one of NULL for a simple .dbf file with no .shp file, POINT, ARC, POLYGON or MULTIPOINT for 2D; POINTZ, ARCZ, POLYGONZ, MULTIPOINTZ or MULTIPATCH for 3D; POINTM, ARCM, POLYGONM or MULTIPOINTM for measured geometries; and POINTZM, ARCZM, POLYGONZM or MULTIPOINTZM for 3D measured geometries. We want POINTZ and MULTIPOINTZ I think. these are set with a pointer that is the last argument to GDALDatasetCreateLayer()
Change History (2)
comment:1 by , 5 days ago
comment:2 by , 5 days ago
| Component: | Other → aven |
|---|---|
| Milestone: | → 1.4.23 |
| Resolution: | → fixed |
| Status: | new → closed |
| Type: | enhancement → defect |
Fixed by 568c28b05b0f3196631d15b2564a855b1ee1b0d6; testcase added by 12915677fe5b173aee3c1041288fcc6712d52376.

pointer to the gdal docs: https://gdal.org/en/release-3.13/doxygen/classGDALDataset.html#a541f5a089f93299b1576f54d3b35cb76