Comments (3)
I've run some tests with your image and actually the program fails during export. I point out that it needs to be corrected but I can't devote myself to it immediately as I'm busy with another release that will be released soon.
Problem:
In any case, even if the export problem were solved, the web map would not be usable because your tif is 350mb and to be viewed on the map it would have to be downloaded locally to the user's PC every time.
If you had more than just one image it would be even worse; keep in mind that an ideal weight for a map exported with qgis2web should be a maximum of 50mb, with this weight the user would load the map in about 20 seconds which is a long but feasible waiting time.
Solution:
The best way to represent rasters in a web map is to display them as WMS. There are several websites that allow you to upload your rasters and publish them online as WMS by providing you with a link, you can upload to QGIS like any other WMS Server.
By exporting the map when the layer is turned on, the address provided will be queried and the image will arrive in the form of a mosaic, loading will be very fast. Here are some sites that provide this service for free within a certain space limit, with a fee exceeding the threshold:
- nextgis
- mygeodata cloud
- qgis cloud
from qgis2web.
@andreaordonselli Thank you for your feedback, especially the suggestions for the solution. I have learned a lot, and I will give it a try. Thank you again.
from qgis2web.
I'm glad I was helpful.
Please consider donating a virtual coffee via the button on the home page to support the development of the software.
Thank you.
from qgis2web.
Related Issues (20)
- Nested layer groups are still not supported HOT 1
- Warning: QgsVectorFileWriter.writeAsVectorFormat() is deprecated HOT 3
- Learning how to contribute HOT 1
- UKHab Style Sets Not Working HOT 9
- The export contains malware HOT 4
- max-height of popup-content HOT 2
- Python error HOT 1
- Unable to export with openlayers HOT 12
- Blank preview and map HOT 5
- Python error HOT 4
- WMS Map from geoportale.regione.lazio.it not showed HOT 8
- Incorrect translation from Dutch names (look like English) in the Dutch language again. HOT 2
- popup join data - popup link - popup video HOT 4
- qgis2web plugin produces a webmap with an 'image' icon instead of the attached image. HOT 13
- Layer Search not working with Geopackage fid HOT 6
- Popup boxes appear vertically elongated with lots of content rather than wide enough to accommodate the information HOT 7
- Diagrams are not supported - Do not use apostrophe in fields HOT 9
- TypeError: Exporting to FTP HOT 1
- XYZ tiles exporting to overlaysTree not baseMaps HOT 4
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.