Export geography markup language (GML)

This tool can be used to export a vector shapefile file to an Geography Markup Language (GML) file. GML is a text based mark-up format related to the better-known subset Keyhole Markup Language (KML) used by Google Earth. GML is also commonly used to store geographical data, and particularly vector features. It is widely used for data exchange among GIS programs. The GML writer in Whitebox relies on the Java Topology Suite (JTS).

See Also:

Scripting:

The following is an example of a Python script using this tool:

wd = pluginHost.getWorkingDirectory()
# You may have multiple input files but they must
# be separated by semicolons in the string.
inputFiles = wd + "input1.dep" + ";" + wd + "input2.dep" + ";" + wd + "input3.dep"
args = [inputFiles]
pluginHost.runPlugin("ExportGML", args, False)

This is a Groovy script also using this tool:

def wd = pluginHost.getWorkingDirectory()
// You may have multiple input files but they must
// be separated by semicolons in the string.
def inputFiles = wd + "input1.dep" + ";" + wd + "input2.dep" + ";" + wd + "input3.dep"
String[] args = [inputFiles]
pluginHost.runPlugin("ExportGML", args, false)

Credits: