OpenSceneGraph (OSG)

The OSG driver facilitates the use of non-georeferenced images. It loads the actual data using OSG's ReaderWriter plugins (hence the name). As such, it supports any image format OSG supports, including jpg, png, gif, etc.

osgEarth requires that all source data have some kind of georeferencing information, so it knows where to place it on the globe. If you have a simple image (like a jpeg) that does not contain its own geodata, use this driver to load it.

Note: If your file is in a format that does include georeferencing information (like a GeoTIFF or ECW), use the GDAL driver instead. The OSG driver is only suitable for small, self-contained image files.

Specs

  • Profile: Always user-specified. This driver exists to handle imagery that doesn't have its own spatial reference information; therefor you must provide it yourself using the <profile> tag.

Options

url Location (pathname or URL) of the image file to load required
profile Geospatial profile of the image. See some examples. required

Example

<image name="some unreferenced file" driver="osg">
    <url>F:/data/cloud_layer.jpg/url>
    <profile>global-geodetic</profile>
</image>

Driver list