-
Notifications
You must be signed in to change notification settings - Fork 2
Scripting Scripts
Andreas W. Bartels edited this page Jul 3, 2019
·
2 revisions
see file config/script-module-configuration.xml
and schemas doc/schema/net/anwiba/schema/module/scripting/configuration.xsd
Configuration
<script:script>
<script:language>GROOVY</script:language>
<script:groovyScript>
<script:uri>LoadShapeFile.groovy</script:uri>
</script:groovyScript>
</script:script>
Example
import net.anwiba.scripting.groovy.JGISShellGroovyScript
@groovy.transform.BaseScript JGISShellGroovyScript facade
map().
add("Bundesl\u00e4nder",
layerReference(
"\$SYSTEM{jgisshell.workingpath}/data/bundeslaender.shp"
)
);