I'm trying to export my QGIS (2.14.5) categorized renderer symbology to a leaflet project with qgis2web (1.19.0).

My example QGIS project looks like this:

enter image description here

The resulting (preview, respectivly) leaflet looks like shown below. Note that the legend shows categories, but not the map:

enter image description here

qgis2web help mentions only that in leaflet only the first symbol layer is displayed, but that is not the issue in this case, me thinks.

Do I miss something, or do I something wrong?

  • Can you upload your layer and project? – Tom Chadwin Nov 22 '16 at 7:16
  • @Tom Chadwin: solved this for me, i used an integer field for categorization wich fails. categorization seems to work only based on text fields, can you confirm this? I'm going to post this as an answer... – Jochen Schwarze Nov 22 '16 at 9:53
  • but beware ;-) I ran into another issue concerning categorization and svg markes, which i'm going to post in another question... – Jochen Schwarze Nov 22 '16 at 9:55
  • If you are right, it's a bug. I'll have a look. – Tom Chadwin Nov 22 '16 at 11:47
  • And categorized SVGs don't work, no (see github.com/tomchadwin/qgis2web/issues/262). I'm working on it at the moment (see github.com/tomchadwin/qgis2web/issues/332). – Tom Chadwin Nov 22 '16 at 12:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.