2

In QGIS I'm using the geometry generator to visualize a point shape file as a line with the simple code:

enter image description here

And then I'm doing a graduated styling according to the burial value of those points:

enter image description here

So the end result looks like this:

enter image description here

Now I want to upload this to the GeoServer and use the same styling. But the SLD export of QGIS doesn't support the geometry generator. I can't find any documentation to write this SLD myself. I'm not even sure it's possible in a SLD file. If not, does anybody know a work-around? Maybe exporting the generated line as a line shapefile?

0

You can create a new shapefile using the same expression created for the Geometry generator in Processing toolbox > Vector geometry > Geometry by expression. This will create a line shapefile that you can export using the SLD exporter.

|improve this answer|||||
  • Thanks, precisely what i needed. – Koen Venken Feb 24 at 10:48

Your Answer

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

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