Comments (5)
you need to use the curl brackets { }
ogrinfo "/vsizip/{c:\data\myproject.qgz}/myproject.gpkg"
from sozip-spec.
/vsizip/ refuses to open the datasource, if the file extension is different than .zip.
actually, you can open a zip file with any extension. Cf https://gdal.org/user/virtual_file_systems.html#vsizip-zip-archives :
"an alternate syntax is available so as to enable chaining and not being dependent on .zip extension, e.g.: /vsizip/{/path/to/the/archive}/path/inside/the/zip/file. Note that /path/to/the/archive may also itself use this alternate syntax."
from sozip-spec.
Wow Even, I have never received such a quick response! thanx a lot 😀
from sozip-spec.
Unfortunately ogrinfo
and QGIS
refuse to open a SOZIP datasource inside a .qgz
file (Windows 10).
If I rename the file extension to .zip
everything works like expected.
ogrinfo "/vsizip/c:\data\myproject.qgz\myproject.gpkg"
QGIS ogr datasource URI:
/vsizip/c:/data/myproject.qgz/myproject.gpkg|layername=test
from sozip-spec.
Arrgg ... totally missed the brackets ... thanx again!
This is really cool ... even works with relative paths (i.e. "/vsizip/{./myproject.qgz}/myproject.gpkg|layername=test")
from sozip-spec.
Related Issues (2)
- sozip command not found HOT 7
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 sozip-spec.