[gdal-dev] ogr2ogr XLSX reporting no layers

Even Rouault even.rouault at spatialys.com
Thu Oct 26 12:29:46 PDT 2017


On jeudi 26 octobre 2017 11:26:46 CEST Langford, Robert wrote:
> All,
> 
> Using GDAL v.2.2.2 on Windows.
> 
> Trying to read this XLSX file:
> http://www.gamblingcommission.gov.uk/docs/Premises-licence-database-extract
> .xlsx
> Running:
> > ogrinfo -ro -so -al Premises-licence-database-extract.xlsx
> 
> Returns:
> >> GDAL: GDALOpen(Premises-licence-database-extract.xlsx,
> >> this=000001B35D22FF50) succeeds as XLSX.
> But:
> >> OGR: GetLayerCount() = 0
> 
> If I open the file in Excel and re-save it then works:
> >> GDAL: GDALOpen(Premises-licence-database-extract-RESAVE.xlsx,
> >> this=000001FC29A80BE0) succeeds as XLSX. OGR: GetLayerCount() = 1
> 
> Does anyone have any ideas?

Fixed per https://trac.osgeo.org/gdal/ticket/7110

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20171026/542110d4/attachment.html>


More information about the gdal-dev mailing list