Class GdalWorldWind
java.lang.Object
com.eco.bio7.geo.GdalWorldWind
GDAL and WorldWind: rasters of all formats of GDAL as image layers
(reprojected to WGS84 by GDAL, the area outside of the data transparent),
vectors as surface shapes and placemarks. GDAL must be loaded.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordThe image and its sector (WGS84) of a raster. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidAdds a raster as layer to WorldWind and moves the view to it (not in the UI thread).static intAdds the features of a vector file as layer to WorldWind (in WGS84): polygons (with holes) and lines as surface shapes, points as placemarks.static GdalWorldWind.RasterA raster as image in WGS84 (not shown): reprojected by GDAL (at most 4096 pixels), RGB(A) and palettes with their colors, one band as gray values (minimum to maximum); no data and the area outside transparent.
-
Method Details
-
raster
A raster as image in WGS84 (not shown): reprojected by GDAL (at most 4096 pixels), RGB(A) and palettes with their colors, one band as gray values (minimum to maximum); no data and the area outside transparent. -
addRaster
Adds a raster as layer to WorldWind and moves the view to it (not in the UI thread). -
addVector
Adds the features of a vector file as layer to WorldWind (in WGS84): polygons (with holes) and lines as surface shapes, points as placemarks.- Returns:
- the number of features shown
-