wiki:FeatureTypeRules

Version 2 (modified by domlowe, 13 years ago) (diff)

further edit

Rules for determining feature types programatically

First we assume that 'analysis code' is presented with one or more files containing unknown feature(s).

The code needs to determine what feature types are contained in those files. However this can't always be done by looking at a file in isolation, the code also must determine whether a feature is actually made up of data in several files.

For example in atmospheric model output one timeslice of GridSeriesFeature will look like a GridFeature, yet it would be wrong to model this feature as a collection of GridFeatures. The analysis code must therefore work out whether something that looks like a GridFeature is actually part of a larger GridSeriesFeature.

So the current* CSML feature types are:

  • Point
  • PointSeries
  • Profile
  • ProfileSeries
  • Grid
  • GridSeries
  • Trajectory

*currently under revision

So what are the defining characteristics of these features?:

Point

PointSeries

Profile

ProfileSeries

Grid

GridSeries

Trajectory

So can we make some rules that can be encoded?: