2

My qgis2web Plugin is not working, as I receive the error as you see below:

enter image description here

Basically, it's able to display layers in Leaflet, but not correctly enough. The problem is similar to these:

As I see on Github there is a lot of issues

reading all the hints here it looks like the Plugin is no longer supported.

Is there any other counterpart, which I can use?

I would like to populate the GeoPackage layer as an interactive map (i.e. Leaflet or similar) with keeping all the colouration, labels, etc the same.

I tried to convert the GeoPackage layer into GeoJSON, but finally I got a separate layers, which in my geopackage were bounded in one group. When I uploaded it on http://geojson.io I saw everything in the greyscale.

How can I show my geopackage layer interactively?

6
  • 1
    You can Try QGisCloud
    – Luis Perez
    Oct 15, 2020 at 15:56
  • 1
    As Tom's note makes clear he has plenty of time for people to pay him to fix these problems, just no time to fix them for free just now. Or you can fix the issue yourself - it looks like max is going to 0 for some reason
    – Ian Turton
    Oct 15, 2020 at 16:07
  • QGIS server has some geopackage compatibility. See github.com/qgis/QGIS/issues/34391 I have no experience with this, so can't say it would work.
    – jgm_GIS
    Oct 15, 2020 at 16:48
  • 1
    It is most likely something weird with one of your layers. You should head over to github.com/tomchadwin/qgis2web/issues and add your issue, I usually try and help most people. I find it easier to help people over there. Does Qgis2web have a lot of issues? Well, sure but no more or less than a typical project.
    – GreyHippo
    Oct 15, 2020 at 17:57
  • 1
    It would be easier to help to see your data and project files. Can you provide samples?
    – GreyHippo
    Oct 15, 2020 at 17:58

1 Answer 1

12

There are many alternatives to qgis2web, including QGIS Cloud, Lizmap, ArcGIS online, Mapbox, CARTO, Google Maps, MapTiler, deegree, MapBender, and others (Github certainly used to present uploaded GeoJSON as a Leaflet map, though I am not sure whether this is still the case). Most paid services have low-usage free tiers.

qgis2web has never been supported. Without a third-party support contract, QGIS itself has never been supported, and never will be. The same applies to all open-source software. No money is charged to buy or to use it, so, without another contractual mechanism in place, there is by definition no support.

As Ian Turton says in his comment above, you can purchase support, development, or bug-fixing from many commercial companies. I am not one of them.

I hope you accept this answer. It is extremely important to accept that the contractual model when using open-source is completely different to commercially-licensed software.

Update

I've committed a fix for the Leaflet export error you experienced: https://github.com/tomchadwin/qgis2web/commit/3aeeb2d10c6de0d7c5d784800de1644a40d924ca

The issue will therefore be fixed in the next release of qgis2web, or you can download current master branch from the Github repo (or apply that commit's patch yourself to your local copy). Thanks for finding and reporting the bug.

If you make any changes to your local copy of a plugin, you need to reload QGIS to load the new code (or use the Plugin Reloader plugin).

7
  • I've accepted. However you posted also the payable platforms. Could you list this "many many others"? if possible?
    – MKR
    Oct 16, 2020 at 8:42
  • @MKR: Don`t panic!
    – Jürgen
    Oct 16, 2020 at 17:16
  • 2
    Tom Chadwin is doing an excellent job and with a little luck he can do it in the future!
    – Jürgen
    Oct 16, 2020 at 17:19
  • @Tom Chadwin, It still comes with the same problem - I can't create the map from OpenLayers level. \olStyleScripts.py", line 78, in exportStyles bufferColor, \olStyleScripts.py", line 193, in getLabelFormat if max != 0 - float division by 0
    – MKR
    Oct 19, 2020 at 16:28
  • 1
    My apologies - I forgot to tell you to restart QGIS, which reloads the new plugin code. I'll amend the answer. Oct 20, 2020 at 8:18

Not the answer you're looking for? Browse other questions tagged or ask your own question.