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

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to