Orbit Resource Descriptor

The ORD file

Name Orbit Resource Descriptor
Acronym ORD
File Extension *.ord

ORD stands for Orbit Resource Descriptor. This is an extension file that can accompany any spatial storage format.

ORD Features

As the name says, it describes the resource and adds information to it. For example, it can add the following information:

  • Joined Tables: an extra attribute table file and link it to the resource attributes by specifying the relationship.
  • Scale Limits: it is possible to set a scale range (or only a max or min) where the layer is visible.
  • CRS: information about the coordinate system and datum
  • Naming : information about the user name, attributes containing hyperlinks, attributes containing annotations, primary fields, map tip fields.
  • Rules : information about attribute rules defined by a formula or a value list
  • Username: This is the name of the dataset as displayed in the Dataset List

Examples

Below are some ORD snippets that demonstrate how each type of information is stored.

Joined Tables

AttributeJoin=
 ModelId=1
 SourceTableName=D:\head_state.dbf
 TargetSetId=2
 TargetSetName=Head_State
 TargetSetDescription=
 JoinedField=
  AttributeSetName=Attributes
  AttributeName=NAME
  ColumnName=STATE
AttributeJoin=
 ModelId=1
 SourceTableName=D:\population.txt
 TargetSetId=3
 TargetSetName=Population
 TargetSetDescription=
 JoinedField=
  AttributeSetName=Attributes
  AttributeName=NAME
  ColumnName=STATE

Scale Limits

ScaleLimits=
 Smallest=1000.0
 Largest=50.0

DataSet CRS

DataSetCRS=4326

Naming

AttributeContentType=
 ModelId=1
  AttributeSetName=Attributes
   AttributeName=ID
    AttributeContentType=url-prefix
   AttributeName=Web
    AttributeContentType=url-prefix=http://;url;url-suffix=.com;active-hyperlink
PrimaryAttribute=
 ModelId=1
  AttributeSetName=Attributes
  AttributeName=ID
MapTipAttribute=
 ModelId=1
  AttributeSetName=Attributes
  AttributeName=NAME

Rules

AttributeConstraint=
 ModelId=1
  AttributeSetName=Attributes
   AttributeName=Type
    Rule=valuelist
    Value=CM
     Label=Constitutional monarchy
    Value=CR
     Label=Constitutional republic
    Value=AM
     Label=Absolute monarchy
   AttributeName=Area
    Rule=expression
    Expression=Area()
ShouldHaveAttributeSets=
 ModelId=1
  AttributeSetName=Attributes
   ShouldHaveAttributeSets=true

Username

DataSetUserName=World Countries
AttributeSetUserNames=
 ModelId=1
  AttributeSetName=Attributes
   AttributeSetUserName=Attributes
DataSetUserName=World Countries
ModelUserNames=
 ModelId=1
  ModelUserName=Model
  ModelUserDescription=
Copyright © Orbit GeoSpatial Technologies N.V. 2011 Terms of use Privacy Policy Powered by DokuWiki Last modified: 2012/02/26 11:55 by jeroen.vermeulen@orbitgis.com