[gdal-dev] OGR_Dr_Open deprecated

Ari Jolma ari.jolma at gmail.com
Fri Nov 13 05:48:02 PST 2015


OGR_Dr_Open became deprecated in 2.0 but it is still the main method to 
open vector datasets in the bindings.

I just realized that I would need one method to open all data sets. 
OpenEx seems to be it but I would still need to cast the object into a 
Dataset or a DataSource. Maybe OpenEx should be the preferred way to 
open any data set also with the bindings.

However, I don't seem to find good way to tell whether the data set 
object OpenEx gives me is a raster or a vector. Is there such?

Ari

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20151113/d5c09405/attachment.html>


More information about the gdal-dev mailing list