public class GridDatasetInfo
extends java.lang.Object
Constructor and Description |
---|
GridDatasetInfo(GridDataset gds,
java.lang.String path) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDatasetBoundariesWKT()
Returns a WKT polygon with the dataset boundaries
|
static void |
main(java.lang.String[] args)
debug
|
org.jdom2.Document |
makeDatasetDescription()
Create the "Dataset Description" XML document from this GridDataset
|
org.jdom2.Document |
makeGridForm()
Create the "Grid Form" XML document from this GridDataset.
|
java.lang.String |
writeXML(org.jdom2.Document doc)
Write the information as an XML document
|
void |
writeXML(org.jdom2.Document doc,
java.io.OutputStream os)
Write the information as an XML document
|
public GridDatasetInfo(GridDataset gds, java.lang.String path)
public java.lang.String writeXML(org.jdom2.Document doc)
doc
- write XML for this Documentpublic void writeXML(org.jdom2.Document doc, java.io.OutputStream os) throws java.io.IOException
doc
- write XML for this Documentos
- write to this output streamjava.io.IOException
- on write errorpublic org.jdom2.Document makeDatasetDescription()
public java.lang.String getDatasetBoundariesWKT()
public org.jdom2.Document makeGridForm()
public static void main(java.lang.String[] args) throws java.io.IOException
args
- ignoredjava.io.IOException
- on io error