Orbit Composite Resource

An Orbit Composite Resource (*.ocr) uses index to access a set of resources and present these to Orbit as a single read-only resource.
The set of resources can be a defined (fix list) or can be undefined (all files within a folder).

An OCR can combine multiple resources from any supported datatype.

Limitations

All combined resources should have the same coordinate system. The CRS doesn't need to be defined for each individual resource.
All combined resource files should be available in the same directory of the ocr file or any subdirectory of this “root” directory.

Structure

Every resource combined by the composite resource will appear as a different Model.

Reasons to Use

An Orbit Composite Resource :

Create

Defined OCR

A defined OCR can be assembled using an Orbit standalone.
All datasets in an opened workspace can be saved to an OCR, via the Main Toolbar > Workspace > Save Workspace as OCR…

To modify the Model-usernames of an OCR, one needs to adjust the dataset Resource Description file (*.ord).
If not present, an ORD-file may be created automatically by assigning a coordinate reference system.

Example code in text-editor

<?xml version="1.0" encoding="UTF-8"?>
<Content>
    <ResourceList>
        <Resource>
            <Location>map1.shp</Location>
            <ResourceDriver>com.eurotronics.orbitx.driver.shape.ShapeDriver</ResourceDriver>
        </Resource>
        <Resource>
            <Location>map2.ovf</Location>
            <ResourceDriver>com.eurotronics.orbitx.driver.shape.ShapeDriver</ResourceDriver>
        </Resource>
        <Resource>
            <Location>ortho.omi</Location>
            <ResourceDriver>com.eurotronics.orbitx.driver.geoimage.GeoImageDriver</ResourceDriver>
        </Resource>
    </ResourceList>
</Content>

Undefined OCR

A undefined OCR can only be assembled using a text editor, e.g. notepath. For more information contact the Orbit support team (support at orbitgis dot com).

Example code in text-editor

<?xml version="1.0" encoding="UTF-8"?>
<Content>
    <ResourceList>
        <ResourceFilter>
            <FileNameFilter>folder\*.ovf</FileNameFilter>
            <SubFolders>false</SubFolders>
        </ResourceFilter>
    </ResourceList>
</Content>

Georeference and Legend

An Orbit Composite Resource can be accompanied by a Orbit Resource Description file (*.ord) or a projection file (*.prj) having the same name to define the coordinate reference system.

The Object Composite Resource can be accompanied by an Orbit Legend file (*.olg) to define the legend or presentation of the resource in Orbit.
If no legend file is available for the composite resource, the legend files of the composing resources will be used.
When creating a legend file for a composite resource, Orbit will start from the according dataset legends.