Package ucar.nc2.dt.grid.gis
Class GridBoundariesExtractor
- java.lang.Object
-
- ucar.nc2.dt.grid.gis.GridBoundariesExtractor
-
public final class GridBoundariesExtractor extends Object
Provides methods for extracting the grid boundaries in standard GIS text formats: WKT and GeoJSON
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDatasetBoundariesGeoJSON()
String
getDatasetBoundariesWKT()
Takes a GridDataset and returns the boundary for the first gridset in the dataset in as a polygon in WKTstatic GridBoundariesExtractor
valueOf(GridDataset gds)
-
-
-
Method Detail
-
getDatasetBoundariesWKT
public String getDatasetBoundariesWKT()
Takes a GridDataset and returns the boundary for the first gridset in the dataset in as a polygon in WKT- Returns:
- WKT
-
getDatasetBoundariesGeoJSON
public String getDatasetBoundariesGeoJSON()
-
valueOf
public static GridBoundariesExtractor valueOf(GridDataset gds)
-
-