Comments (5)
Can you recommend a change to qgis2web? or is your issue aimed at providing advice for future users?
from qgis2web.
First it was a report so anyone else getting the same problem might find the reason, and to inform the devs about it. Secondly, to trigger discussion of how (if its worth it) to fix it. It might just be something worth putting as a note in the documentation, that QGIS and the user's browser must be able to access the folder where the map is written (default /tmp) and this might be problematic if either are running in some sort of containerised or sandboxed environment (snap, docker,...).
from qgis2web.
I will consider notifying the user before exporting, perhaps in a note next to the folder choice or in a "?" icon. to click. Thank you.
from qgis2web.
An alternative (and this is a much bigger enhancement) might be for qgis2web to launch a small asynchronous web server running on high port (eg 8888), and for the map outputs to be written to be served by that, and then launching the browser at http://localhost:8888/qgis2web/map1 - this should work as long as the browser is on the same host, but it does mean complexity at the qgis2web end managing the server. But if you want to make work for yourself... :)
from qgis2web.
This approach would have other wide-ranging benefits. The current preview or export running only as browsing a local file leads to security issues.
from qgis2web.
Related Issues (20)
- qgis2web Attribute Filter not showing in preview or final export HOT 8
- Qgis2web crashes when I want to Update Preview or Export project to Web HOT 4
- In qgis2web two layers overlap hiding each other despite being seen in QGIS HOT 11
- hey
- legend for renderer invertedPolygonRenderer not supported HOT 6
- How to reduce information in Pop-up HOT 8
- File Name Too Long error when exporting to Leaflet HOT 5
- WFS based layer exports are not working in leaflet nor openlayers
- QgsEmbeddedSymbolRenderer is not supported
- Do you want some money?
- I'm unable to export REST API layers from ArcGIS Map Service; latest version HOT 1
- Export/preview map empty/blank without error HOT 3
- Relative path attachment widget not working HOT 3
- Announcement: repository transferred HOT 2
- Popup options not showing up HOT 3
- Exporting dashed or dotted line HOT 7
- Overlapping polygons do not show on web report HOT 3
- Qgis2web crashes in different computers and with different qgis versions and projects HOT 1
- FILTERS in Qgis2Web 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 qgis2web.