-
Notifications
You must be signed in to change notification settings - Fork 2
Open Layers
AndreasWBartels edited this page Sep 30, 2016
·
7 revisions
Menu -> File -> Open or Toolbar Open
Supported Layer formats: Shapefile, flml-files, Worldfiles, MBTiles, ARCInfo ASCI Grid, Saga Grid and XYZ Grid file
Menu -> File -> Open URL
See Layer URL for URL syntax.
see Open Action for supported formats
package net.anwiba.script.groovy
import net.anwiba.scripting.api.groovy.JGISShellGroovyScript;
@groovy.transform.BaseScript JGISShellGroovyScript facade
def title = "layer name";
def url = "{url}";
facade.map()
.add( title
, facade.layerReference(url)
);
See Layer URL for URL syntax.