Re: [gdal-dev] OGRSFDriverRegistrar question

2010-02-25 Thread Mateusz Loskot
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 whe

Re: [gdal-dev] OGRSFDriverRegistrar question

2010-02-25 Thread Alejandro Mostovoi
Ok. Thanks. Alejandro. On 25 February 2010 11:57, Frank Warmerdam wrote: > 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 kn

Re: [gdal-dev] OGRSFDriverRegistrar question

2010-02-25 Thread Frank Warmerdam
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 f

[gdal-dev] OGRSFDriverRegistrar question

2010-02-25 Thread Alejandro Mostovoi
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".