[gdal-dev] OGRSFDriverRegistrar question

Mateusz Loskot mateusz at loskot.net
Thu Feb 25 13:09:03 EST 2010


Alejandro Mostovoi wrote:
> Hi All,
>    How can make OGRSFDriverRegistrar::Open fails when trying to open an 
> ESRI Shapefile and the first parameter "/pszName" has extension 
> different to "shp"/?
> 
> I know when extension is different to "shp", "dbf" and "shx" it fails, 
> but I need that also fails when extension is "dbf" or "shx".
> 
> Any idea?

Requirements and customizations of this kind are responsibility
of a client, so cope with it in your application.

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net


More information about the gdal-dev mailing list