public static class ThreddsMetadata.GeospatialCoverage
extends java.lang.Object
Constructor and Description |
---|
GeospatialCoverage() |
GeospatialCoverage(ThreddsMetadata.Range eastwest,
ThreddsMetadata.Range northsouth,
ThreddsMetadata.Range updown,
java.util.List<ThreddsMetadata.Vocab> names,
java.lang.String zpositive) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
void |
extend(ThreddsMetadata.GeospatialCoverage gc) |
LatLonRect |
getBoundingBox() |
ThreddsMetadata.Range |
getEastWestRange() |
double |
getHeightExtent() |
double |
getHeightResolution() |
double |
getHeightStart() |
java.lang.String |
getHeightUnits() |
double |
getLatExtent() |
double |
getLatNorth() |
double |
getLatResolution() |
double |
getLatSouth() |
double |
getLatStart() |
java.lang.String |
getLatUnits() |
double |
getLonEast() |
double |
getLonExtent() |
double |
getLonResolution() |
double |
getLonStart() |
java.lang.String |
getLonUnits() |
double |
getLonWest() |
java.util.List<ThreddsMetadata.Vocab> |
getNames() |
ThreddsMetadata.Range |
getNorthSouthRange() |
ThreddsMetadata.Range |
getUpDownRange() |
java.lang.String |
getZPositive() |
boolean |
getZPositiveUp() |
int |
hashCode()
Override Object.hashCode() to implement equals.
|
boolean |
isEmpty() |
boolean |
isGlobal() |
boolean |
isValid() |
void |
setBoundingBox(LatLonRect bb) |
void |
setGlobal(boolean isGlobal)
Set isGlobal
|
void |
setHeightExtent(double size)
Set height extent
|
void |
setHeightResolution(double resolution)
Set height resolution
|
void |
setHeightStart(double start)
Set starting height
|
void |
setHeightUnits(java.lang.String units)
Set height units
|
void |
setLatExtent(double size)
Set latitude extent
|
void |
setLatResolution(double resolution)
Set latitude resolution
|
void |
setLatStart(double start)
Set starting latitude
|
void |
setLatUnits(java.lang.String units)
Set latitude units
|
void |
setLonExtent(double size)
Set longitude extent
|
void |
setLonResolution(double resolution)
Set longitude resolution
|
void |
setLonStart(double start)
Set starting longitude
|
void |
setLonUnits(java.lang.String units)
Set longitude units
|
void |
setVertical(CoordinateAxis1D vaxis) |
void |
setVertical(double start,
double end,
double resolution,
java.lang.String units,
boolean isPositiveUp) |
void |
setZPositive(java.lang.String positive) |
void |
setZPositiveUp(boolean positive) |
void |
toXML(java.io.OutputStream out) |
public GeospatialCoverage()
public GeospatialCoverage(ThreddsMetadata.Range eastwest, ThreddsMetadata.Range northsouth, ThreddsMetadata.Range updown, java.util.List<ThreddsMetadata.Vocab> names, java.lang.String zpositive)
public void extend(ThreddsMetadata.GeospatialCoverage gc)
public boolean isEmpty()
public ThreddsMetadata.Range getEastWestRange()
public ThreddsMetadata.Range getNorthSouthRange()
public ThreddsMetadata.Range getUpDownRange()
public java.util.List<ThreddsMetadata.Vocab> getNames()
public java.lang.String getZPositive()
public void setZPositive(java.lang.String positive)
public boolean getZPositiveUp()
public void setZPositiveUp(boolean positive)
public boolean isValid()
public boolean isGlobal()
public void setGlobal(boolean isGlobal)
isGlobal
- true if global coveragepublic double getLatStart()
public void setLatStart(double start)
start
- starting latitude, decimal degrees northpublic double getLatExtent()
public void setLatExtent(double size)
size
- latitude extent, decimal degrees northpublic double getLatResolution()
public void setLatResolution(double resolution)
resolution
- latitude resolution, decimal degrees northpublic java.lang.String getLatUnits()
public void setLatUnits(java.lang.String units)
units
- set unitspublic double getLatNorth()
public double getLatSouth()
public double getLonStart()
public void setLonStart(double start)
start
- starting longitudepublic double getLonExtent()
public void setLonExtent(double size)
size
- longitude extentpublic double getLonResolution()
public void setLonResolution(double resolution)
resolution
- longitude resolutionpublic java.lang.String getLonUnits()
public void setLonUnits(java.lang.String units)
units
- longitude unitspublic double getLonEast()
public double getLonWest()
public double getHeightStart()
public void setHeightStart(double start)
start
- starting heightpublic double getHeightExtent()
public void setHeightExtent(double size)
size
- height extentpublic double getHeightResolution()
public void setHeightResolution(double resolution)
resolution
- height resolutionpublic java.lang.String getHeightUnits()
public void setHeightUnits(java.lang.String units)
units
- height unitspublic LatLonRect getBoundingBox()
public void setBoundingBox(LatLonRect bb)
public void setVertical(CoordinateAxis1D vaxis)
public void setVertical(double start, double end, double resolution, java.lang.String units, boolean isPositiveUp)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void toXML(java.io.OutputStream out) throws java.io.IOException
java.io.IOException