Better scripting module
Better scripting moduleIntroduction
IntroductionThe script execution module has been improved !
If you have basic programming skills, you can edit your maps using Javascript code. This method is very powerful ! You can implement many thematic mapping or spatial analysis algorithms.
How to use it ?
How to use it ?- Open the Running scripts module
- Load an example:
Labels,ClassificationorStamps.Labelsis the most basic example, it shows how to modify the style of a layer's geometries.Classificationshows how to change the style of a geometry based on its attributes.- Finally
Buffersshows how to load an external library (here Turf) to modify a geometry.
- Click
Runthen observe the results on theMappage. - Adapt the example that comes closest to your needs
Advice
Advice- Use a code editor for your algorithms, for example VS Code
- Test your code regularly, after each change
git:4099b730dc708339297c