Comments (2)
I'm here to comment that this is an excellent plugin, and to point out this limitation. The .vrt file should be named (e.g.) Book1.xlsx.Sheet1.vrt
, and the fix is pretty simple:
--- a/widgets/SpreadsheetLayersDialog.py
+++ b/widgets/SpreadsheetLayersDialog.py
@@ -565,7 +565,7 @@
return True
def vrtPath(self):
- return u'{}.vrt'.format(self.filePath())
+ return u'{}.{}.vrt'.format(self.filePath(), self.sheet())
def samplePath(self):
filename = u'{}.tmp.vrt'.format(os.path.basename(self.filePath()))
I've tested this with QGIS 2.16.1 on Windows x64 from OSGeo4W, and it works as expected.
Is a pull request welcome? I'm not too familiar with QGIS plugins, are there any other changes elsewhere that would be needed?
from qgis-spreadsheetlayers.
PR are warmly welcome! I can comment on the technical point of view anyway.
from qgis-spreadsheetlayers.
Related Issues (20)
- Feature Request: Read WKT from spreadsheet HOT 1
- QgsMessageBar.INFO/WARNING error HOT 3
- Issue: Possible incompatibility with latest GDAL 3.1.4 release HOT 1
- [feature for consideration] Read wkt_geom in xlsx such as multipolygon(((... HOT 4
- QGIS on Mac quits when adding spreadsheet layer (LTR version ok)
- Query of spreadsheet layer not working consistently HOT 6
- Add menu to datasource manager HOT 2
- Problem with datas excel HOT 1
- Is it possible to add Japanese language? HOT 2
- Opening Browser freezes QGIs HOT 3
- Spreadsheet Layers windows closes when importing excel files HOT 10
- Edits on filtered dataset deletes records permanently HOT 5
- Some German translations are missing HOT 2
- Importing an ODS file, comment is inserted instead of the cell value HOT 1
- importing ods-file leads to phyton runtime error HOT 1
- Error launching SpreadsheetLayers HOT 3
- EXCEL file - all formatting and formulas are gone! HOT 1
- Using QgsSettings() instead of QSettings() to consider global QGIS config
- Error impossible to open VRT file HOT 4
- Using Spreadsheet layers in the graphical modeler ? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qgis-spreadsheetlayers.