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?

Many thanks,

Rob



DISCLAIMER: The information contained in this communication/message from 
rob.langf...@salford.gov.uk sent on Thu Oct 26 12:26:48 2017 is confidential. 
It is intended solely for the addressee(s) gdal-dev@lists.osgeo.org

Access to this message by anyone else is unauthorised. If you are not the 
intended recipient, any disclosure, copying, or distribution of the message, or 
any action or omission taken by you in reliance on it, is prohibited and may be 
unlawful.
As a public body, Salford City Council may be required to disclose this email 
[or any response to it] under the Freedom of Information Act 2000, unless the 
information in it is covered by one of the exemptions in the Act.
Please immediately contact the sender, rob.langf...@salford.gov.uk if you have 
received this message in error.

For the full disclaimer please access http://www.salford.gov.uk/e-mail.  Thank 
you.
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to