Skip to content
Benjamin edited this page Aug 21, 2024 · 3 revisions

Welcome to the geostyler-lyrx-parser wiki!

This wiki is used for dev/internal usage.

Known differences with the legacy lyrx2sld

...and the bridge-style project (https://github.com/camptocamp/lyrx2sld):

lyrx to Geostyler

  • dasharray are now array, and not anymore strings
  • wellKnownName with zero values are represented like that 0 and not anymore like that 0.0
  • graphicFillMargin can have rounding differences, like [118, 44, -109, -36] can be [118, 45, -109, -35]

How to compare GeoStyler output

  • Take a lyrx + sql file from past lyrx2sld test data
  • Debug lyrx2sld project to get the output GeoStyler style. Save it to a json file.
  • Get the xml (sld) result of lyrx2sld.
  • clone the project https://github.com/ger-benjamin/lyrx-to-sld-tester.
  • Move the lyrx, json and xml in test/data of the project lyrx-to-sld-tester
  • Adapt the test, build and test.
  • Check the differences.
Clone this wiki locally