Opened 17 years ago

Closed 8 years ago

#1612 closed enhancement (wontfix)

additional capability test: Supports3D

Reported by: Kosta Owned by: warmerdam
Priority: normal Milestone:
Component: OGR_SF Version: unspecified
Severity: normal Keywords: capabilities geometry 3d
Cc:

Description

I would like to see an additional capability test added to OGRSFDriver::TestCapability(): Supports3D or Supports25D

The MySQL-driver does not support 3D coordinates, whereas the SQLite- & Shapefile-drivers do. I think, there are other drivers, that cannot handle 3D/2.5D data as well, so this should be queriable...

Change History (5)

comment:1 by warmerdam, 17 years ago

Keywords: capabilities geometry 3d added

Kosta,

I would agree, but I think the solution is some sort of description of the geometry types supported for creation, not just a 2d/3d flag. Something more in keeping with the pixel data types supported metadata we have in GDAL.

I'm going to leave this open, but it is unlikely to be addressed for some time.

comment:2 by Jukka Rahkonen, 9 years ago

Is such Supports3D test somehow possible to do nowadays, developers?

comment:3 by Even Rouault, 9 years ago

That API doesn't exist. Frank's idea would be better, although the practical problem is that we have a ton of drivers that should be updated. I should note that for http://trac.osgeo.org/gdal/wiki/rfc49_curve_geometries I've applied a close solution by introducing a dataset level ODsCCurveGeometries AND layer level OLCCurveGeometries capabilities in the updated drivers (I wasn't aware of that ticket)

I'm not sure of the interest of keeping that ticket open. But perhaps a wiki page "Wish list", with a bit of structure, would be a better way of organizing ideas than tickets.

comment:4 by Jukka Rahkonen, 8 years ago

I'm making a test if anybody has interest in keeping this ticket open by closing it.

comment:5 by Jukka Rahkonen, 8 years ago

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.