Giter VIP home page Giter VIP logo

Comments (3)

andreaordonselli avatar andreaordonselli commented on June 26, 2024

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.

LinsenHou avatar LinsenHou commented on June 26, 2024

@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.

andreaordonselli avatar andreaordonselli commented on June 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.